.atc-wrap{display:flex;flex-direction:column;gap:.75rem;min-width:0;min-height:0}.atc-start{display:flex;flex-direction:column;gap:.6rem;min-width:0}.atc-label-row,.atc-control{display:flex;align-items:center;gap:.3rem;min-width:0}.atc-options{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem}.atc-results{display:flex;flex:1 1 0;flex-direction:column;gap:.75rem;min-width:0;min-height:260px;overflow:auto}.atc-results>*{flex:none}.atc-wrap:has(#atc-input:placeholder-shown) .atc-start{flex:1;min-height:0}.atc-wrap:has(#atc-input:placeholder-shown) .atc-input{flex:1 1 0;min-height:180px}.atc-wrap:has(#atc-input:placeholder-shown) .atc-results{display:none}.atc-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.atc-input-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap}.atc-input-label{margin:0}.atc-toolbar{display:flex;flex-wrap:wrap;gap:.35rem}.atc-open{position:relative;cursor:pointer}.atc-open:focus-within{outline:2px solid var(--color-primary);outline-offset:2px}.atc-input{height:100px;min-height:100px;resize:none}.atc-stats{display:flex;flex-wrap:wrap;gap:.25rem 1rem;font-size:.85rem;color:var(--color-text-muted)}.atc-stats strong{font-family:var(--font-mono);color:var(--color-text);font-weight:600}.atc-stat-main{display:inline-flex;align-items:center;gap:.25rem;color:var(--color-text)}.atc-stat-main strong{font-size:1.05rem;font-weight:700}.atc-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem}.atc-card{background:var(--color-bg-secondary);border-radius:var(--radius-md);box-shadow:inset 0 0 0 1px var(--color-border-soft);padding:.7rem .8rem;display:flex;flex-direction:column;gap:.3rem;min-width:0}.atc-card-head{display:flex;align-items:center;justify-content:space-between;gap:.4rem;flex-wrap:wrap}.atc-card-title{margin:0;font-family:var(--font-mono);font-size:.9rem;font-weight:700;color:var(--color-text)}.atc-card--other .atc-card-title{font-family:var(--font-sans)}.atc-tag{font-size:.7rem;font-weight:700;padding:.15rem .45rem;border-radius:var(--radius-pill);line-height:1.2}.atc-tag--exact{background:color-mix(in oklch,var(--color-success) 16%,transparent);color:var(--color-text)}.atc-tag--other{background:var(--color-surface-muted);color:var(--color-text-muted);box-shadow:inset 0 0 0 1px var(--color-border-soft)}.atc-card-count{margin:0;display:flex;align-items:baseline;gap:.3rem;flex-wrap:wrap}.atc-num{font-family:var(--font-mono);font-size:1.5rem;font-weight:700;color:var(--color-text);line-height:1.1;overflow-wrap:anywhere}.atc-unit{font-size:.8rem;color:var(--color-text-muted)}.atc-card-ratio{margin:0;font-size:.78rem;color:var(--color-text-muted);min-height:1em}.atc-card-models{margin:0;font-size:.78rem;color:var(--color-text-muted);line-height:1.45}.atc-load{align-self:flex-start}.atc-load[hidden]{display:none}.atc-status{display:flex;align-items:center;margin:0;min-height:40px;font-size:.82rem;color:var(--color-text-muted);overflow-wrap:anywhere}.atc-status[data-kind=error]{color:var(--color-error)}.atc-h2{margin:0;font-family:var(--font-display);font-size:1.05rem;color:var(--color-text)}.atc-cost,.atc-viz{display:flex;flex-direction:column;gap:.5rem;margin-top:.5rem}.atc-cost-head,.atc-viz-head{display:flex;align-items:flex-end;justify-content:space-between;gap:.5rem 1rem;flex-wrap:wrap}.atc-out,.atc-viz-opt{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:var(--color-text-muted)}.atc-out-input{width:8.5rem}.atc-viz-select{width:auto}.atc-viz-check input{margin:0}.atc-table-wrap{overflow-x:auto}.atc-table{width:100%;border-collapse:collapse;font-size:.85rem}.atc-table th,.atc-table td{padding:.4rem .5rem;border-bottom:1px solid var(--color-border-soft);text-align:left;vertical-align:top}.atc-table thead th{font-size:.75rem;color:var(--color-text-muted);font-weight:600;white-space:nowrap}.atc-table .atc-r{text-align:right;font-family:var(--font-mono);white-space:nowrap}.atc-table thead .atc-r{font-family:var(--font-sans)}.atc-model{display:block;font-family:var(--font-mono);font-weight:600;color:var(--color-text)}.atc-prov{display:block;font-size:.72rem;color:var(--color-text-muted);font-weight:400}.atc-sub{display:block;font-size:.72rem;color:var(--color-text-muted)}.atc-muted{color:var(--color-text-muted);font-family:var(--font-sans)!important}.atc-warn{color:var(--color-error)}.atc-note{margin:0;font-size:.78rem;color:var(--color-text-muted);line-height:1.5}.atc-note a{color:var(--color-primary)}.atc-viz-body{display:flex;flex-wrap:wrap;gap:.2rem;max-height:22rem;overflow:auto;font-family:var(--font-mono);font-size:.82rem;line-height:1.5;background:var(--color-bg-secondary);border-radius:var(--radius-md);box-shadow:inset 0 0 0 1px var(--color-border-soft);padding:.6rem}.atc-viz-body:empty{display:none}.atc-chip{--atc-h: 200;background:oklch(90% .05 var(--atc-h));color:oklch(25% .04 var(--atc-h));border:1px solid oklch(75% .07 var(--atc-h));padding:0 .3rem;border-radius:4px;white-space:pre}.atc-chip--partial{border-style:dashed}@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .atc-chip{background:oklch(33% .05 var(--atc-h));color:oklch(94% .03 var(--atc-h));border-color:oklch(48% .06 var(--atc-h))}}[data-theme=dark] .atc-chip{background:oklch(33% .05 var(--atc-h));color:oklch(94% .03 var(--atc-h));border-color:oklch(48% .06 var(--atc-h))}@media(max-width:860px){.atc-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.atc-wrap:has(#atc-input:placeholder-shown) .atc-start{flex:none}.atc-wrap:has(#atc-input:placeholder-shown) .atc-input{flex:none;min-height:140px;height:140px}.atc-results{flex:none;min-height:0;height:560px}}@media(max-width:640px){.atc-input,.atc-wrap:has(#atc-input:placeholder-shown) .atc-input{min-height:96px;height:96px}.atc-input-head{align-items:flex-start}.atc-input-head>.atc-label-row{width:100%}.atc-status{min-height:44px}.atc-toolbar>button,.atc-open,.atc-out-input,.atc-viz-select{min-height:44px}.atc-load{min-height:24px}.atc-toolbar .btn-ghost{padding-inline:.6rem}.atc-cards{gap:.45rem}.atc-card{padding:.55rem .6rem}.atc-num{font-size:1.25rem}.atc-card--other{grid-column:1 / -1}.atc-viz-check{min-height:44px}.atc-table{font-size:.8rem}}
