@layer components{.price-hero{display:grid;gap:2.5rem;grid-template-areas:"copy" "bench" "readout"}.price-hero-copy{grid-area:copy}.price-bench{grid-area:bench}.price-readout{grid-area:readout}@media(min-width:1024px){.price-hero{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-template-areas:"copy readout" "bench readout";column-gap:3.5rem;align-items:start}.price-readout{position:sticky;top:6rem}}.price-bench{min-width:0;border:1px solid var(--tool-trace);background:hsl(var(--card));text-align:left}.price-bench-head{padding:1.25rem 1.25rem 1rem}.price-bench-hint{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-top:.5rem}.price-bench-clear{flex:none;margin:-.75rem -.5rem -.75rem 0;padding:.75rem .5rem;font-size:.875rem;font-weight:600;color:hsl(var(--primary))}.price-bench-clear:hover{text-decoration:underline}.price-bench-clear:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:-2px}.price-sheet{max-height:24rem;overflow:auto;overscroll-behavior:contain;scroll-padding-top:4.5rem;border-top:1px solid var(--tool-rule)}.price-sheet-table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0}.price-sheet-table th,.price-sheet-table td{padding:0;border-bottom:1px solid var(--tool-rule);border-left:1px solid var(--tool-rule)}.price-sheet-table tr>:first-child{width:2.75rem;border-left:0}@media(min-width:640px){.price-sheet-table tr>:first-child{width:3.25rem}}.price-sheet-table thead th{position:sticky;top:0;z-index:1;padding:.625rem .5rem .5rem;background:hsl(var(--background));font-size:.75rem;font-weight:600;line-height:1.25;text-align:left;vertical-align:top;color:hsl(var(--foreground))}@media(min-width:640px){.price-sheet-table thead th{padding-inline:.625rem;font-size:.8125rem}}.price-sheet-q{display:flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;margin-bottom:.375rem;border:1.5px solid hsl(var(--accent));color:hsl(var(--foreground));font-weight:700;font-size:.6875rem}.price-sheet-table tbody th{padding:0 .25rem 0 .625rem;font-family:var(--font-mono);font-size:.75rem;font-weight:400;text-align:left;white-space:nowrap;color:hsl(var(--muted-foreground))}.price-sheet-node{display:inline-block;width:8px;height:8px;margin-right:.5rem;border:1.5px solid hsl(var(--foreground) / .3);vertical-align:.05em}.price-sheet-table tr[data-state=partial] .price-sheet-node{border-color:hsl(var(--accent))}.price-sheet-table tr[data-state=ok] .price-sheet-node{border-color:hsl(var(--accent));background:hsl(var(--accent))}.price-sheet-table tr[data-state=invalid] .price-sheet-node,.price-sheet-table tr[data-state=order] .price-sheet-node{border-color:hsl(var(--destructive));background:hsl(var(--destructive))}.price-sheet-table input{display:block;width:100%;height:2.75rem;padding:0 .5rem;background:transparent;color:hsl(var(--foreground));font-family:var(--font-mono);font-size:1rem;font-variant-numeric:tabular-nums;outline:none}.price-sheet-table td:focus-within{background:hsl(var(--primary) / .06);box-shadow:inset 0 0 0 2px hsl(var(--primary))}.price-sheet-table input::placeholder{color:hsl(var(--muted-foreground) / .55)}@media(min-width:640px){.price-sheet-table input{padding-inline:.625rem}}.price-sheet-table td:has(input[aria-invalid]){background:hsl(var(--destructive) / .06);box-shadow:inset 0 -2px hsl(var(--destructive))}.price-sheet-flags,.price-sheet-notice:not(:empty){position:relative;padding:.75rem 1.25rem 0 2.25rem;font-size:.8125rem;line-height:1.5;color:hsl(var(--foreground))}.price-sheet-flags:before,.price-sheet-notice:not(:empty):before{content:"";position:absolute;left:1.25rem;top:calc(.75rem + .4em);width:8px;height:8px;background:hsl(var(--destructive))}.price-sheet-notice:not(:empty):before{background:hsl(var(--accent))}.price-bench-gauge{display:grid;gap:.625rem;padding:1rem 1.25rem 1.125rem}.price-gauge{display:grid;grid-template-columns:repeat(30,minmax(0,1fr));gap:2px}.price-gauge>span{height:.5rem;border:1px solid hsl(var(--foreground) / .25)}.price-gauge>span[data-lit]{border-color:hsl(var(--accent));background:hsl(var(--accent))}.price-bench-settings{display:grid;gap:1px;border-top:1px solid var(--tool-rule);background:var(--tool-rule)}@media(min-width:640px){.price-bench-settings{grid-template-columns:repeat(2,minmax(0,1fr))}}.price-bench-settings>*{display:flex;flex-direction:column;gap:.75rem;min-width:0;margin:0;padding:1.125rem 1.25rem 1.25rem;border:0;background:hsl(var(--card))}.price-bench-settings legend{float:left;width:100%;margin-bottom:.75rem}.price-kind{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;border:1px solid var(--tool-trace);background:var(--tool-trace)}.price-kind span{display:flex;align-items:center;justify-content:center;height:3rem;padding:0 1rem;background:hsl(var(--card));font-size:.875rem;font-weight:600;color:hsl(var(--muted-foreground));cursor:pointer}.price-kind span:hover{color:hsl(var(--foreground))}.price-kind input:checked+span{background:hsl(var(--primary));color:hsl(var(--primary-foreground))}.price-kind input:focus-visible+span{outline:2px solid hsl(var(--primary));outline-offset:2px}.price-cost{display:flex;align-items:center;height:3rem;border:1px solid var(--tool-trace);background:hsl(var(--card))}.price-cost:focus-within{border-color:hsl(var(--primary));box-shadow:0 0 0 3px hsl(var(--primary) / .15)}.price-cost span{padding:0 .25rem 0 .75rem;font-family:var(--font-mono);color:hsl(var(--muted-foreground))}.price-cost input{min-width:0;flex:1;height:100%;padding-right:.75rem;background:transparent;font-family:var(--font-mono);outline:none}.price-cost input::placeholder{color:hsl(var(--muted-foreground) / .7)}.price-bench-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;padding:1.25rem;border-top:1px solid var(--tool-rule)}@media(min-width:640px){.price-bench-actions{display:flex;flex-wrap:wrap;align-items:center}}.price-bench-status:not(:empty){position:relative;margin-top:-.25rem;padding:0 1.25rem 1.25rem 2.25rem;font-size:.875rem;color:hsl(var(--foreground))}.price-bench-status:not(:empty):before{content:"";position:absolute;left:1.25rem;top:.4em;width:8px;height:8px;background:hsl(var(--destructive))}.price-bench-foot{padding:.875rem 1.25rem;border-top:1px solid var(--tool-rule);background:hsl(var(--background));font-family:var(--font-mono);font-size:.75rem;line-height:1.6;color:hsl(var(--muted-foreground))}.price-result-stale{position:relative;padding-left:1rem;color:hsl(var(--foreground))}.price-result-stale:before{content:"";position:absolute;left:0;top:.45em;width:8px;height:8px;background:hsl(var(--accent))}.price-margin{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.375rem 1rem;padding:1rem 1.25rem}.price-margin+.price-margin{border-top:1px solid var(--tool-rule)}.price-margin-bar{grid-column:1 / -1;height:6px;background:hsl(var(--foreground) / .08)}.price-margin-bar span{display:block;height:100%;background:hsl(var(--primary))}.price-margin[data-loss] .price-margin-bar span{background:hsl(var(--destructive))}}
