:root{--cream-050:#fdfbf6;--cream-100:#f2ece1;--cream-200:#ebe3d2;--sand-300:#d6cdba;--sand-400:#c3b48f;--ink-600:#635e50;--ink-900:#23281f;--clay-500:#b6602f;--clay-600:#a8551f;--clay-700:#8e461a;--olive-500:#6b7a4a;--olive-700:#5b6a3c;--slate-600:#3f6470;--red-600:#b23a2b;--red-050:#f8e6e1;--ink-950:#191b16;--ink-850:#23261e;--ink-975:#131510;--ink-800:#1a1610;--sand-050:#f0ece1;--sand-200:#a8a291;--ink-700:#3a3d33;--ink-500:#5c604f;--clay-200:#e8a771;--clay-300:#d98a4e;--olive-300:#a3b573;--slate-300:#7fb0bd;--red-400:#e8735c;--red-950:#3a221d;--face-display:"Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;--face-body:"Instrument Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;--face-mono:"DM Mono", ui-monospace, "SF Mono", "Roboto Mono", Consolas, monospace;--size-display:30px;--size-title:22px;--size-section:18px;--size-eyebrow:12px;--size-body:15px;--size-small:13px;--size-micro:11px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:48px;--space-8:64px;--radius-sm:2px;--radius-md:2px;--shadow-raised:0 1px 2px #23281f0f;--shadow-overlay:0 8px 24px #23281f24;--dur:.16s;--ease:cubic-bezier(.2, 0, 0, 1);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--surface:var(--cream-100);--surface-raised:var(--cream-050);--surface-sunk:var(--cream-200);--text:var(--ink-900);--text-muted:var(--ink-600);--border:var(--sand-300);--border-strong:var(--sand-400);--accent:var(--clay-600);--accent-ink:var(--cream-050);--accent-hover:var(--clay-700);--alert:var(--red-600);--alert-soft:var(--red-050);--ok:var(--olive-700);--focus:var(--clay-600);--seg-1:var(--clay-600);--seg-2:var(--olive-500);--seg-3:var(--slate-600)}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--surface:var(--ink-950);--surface-raised:var(--ink-850);--surface-sunk:var(--ink-975);--text:var(--sand-050);--text-muted:var(--sand-200);--border:var(--ink-700);--border-strong:var(--ink-500);--accent:var(--clay-300);--accent-ink:var(--ink-800);--accent-hover:var(--clay-200);--alert:var(--red-400);--alert-soft:var(--red-950);--ok:var(--olive-300);--focus:var(--clay-300);--seg-1:var(--clay-300);--seg-2:var(--olive-300);--seg-3:var(--slate-300)}@media (prefers-color-scheme:dark){:root:not([data-theme]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--surface:var(--ink-950);--surface-raised:var(--ink-850);--surface-sunk:var(--ink-975);--text:var(--sand-050);--text-muted:var(--sand-200);--border:var(--ink-700);--border-strong:var(--ink-500);--accent:var(--clay-300);--accent-ink:var(--ink-800);--accent-hover:var(--clay-200);--alert:var(--red-400);--alert-soft:var(--red-950);--ok:var(--olive-300);--focus:var(--clay-300);--seg-1:var(--clay-300);--seg-2:var(--olive-300);--seg-3:var(--slate-300)}}*{box-sizing:border-box}html{overflow-x:clip}body{background:var(--surface);color:var(--text);font-family:var(--face-body);font-size:var(--size-body);-webkit-font-smoothing:antialiased;margin:0;line-height:1.55}.app{flex-direction:column;min-height:100dvh;display:flex}.page{width:100%;max-width:1180px;padding:0 var(--space-5);margin:0 auto}[id]{scroll-margin-top:76px}input,output,table,.stat-value,.rail-seg,.amount{font-variant-numeric:tabular-nums}h1,h2,h3{font-weight:600}h1{margin:0 0 var(--space-2);font-family:var(--face-display);font-size:var(--size-display);letter-spacing:-.02em;line-height:1.1}h2{margin:0 0 var(--space-1);font-family:var(--face-display);font-size:var(--size-section);letter-spacing:-.01em;line-height:1.25}h3{margin:var(--space-5) 0 var(--space-2);font-family:var(--face-body);font-size:var(--size-eyebrow);letter-spacing:.12em;text-transform:uppercase;color:var(--text-muted);line-height:1.3}.result h2{font-size:var(--size-title);letter-spacing:-.015em;line-height:1.2}.lede{margin:0 0 var(--space-3);color:var(--text-muted);text-wrap:pretty;max-width:68ch}.hint{font-size:var(--size-small);color:var(--text-muted);line-height:1.5}.note{margin:var(--space-1) 0 0;font-size:var(--size-small);color:var(--text-muted);text-wrap:pretty;max-width:68ch;line-height:1.5}.units-origin{font-size:var(--size-micro);letter-spacing:.02em;color:var(--text-muted);font-weight:500;display:block}.lockup{font-family:var(--face-display);font-size:var(--size-section);letter-spacing:-.01em;color:var(--text);flex:none;align-items:center;gap:11px;font-weight:600;text-decoration:none;display:flex}.lockup .symbol{flex:none}.topbar{z-index:20;background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0}.topbar-inner{align-items:center;gap:var(--space-4);min-height:60px;display:flex}.steps-nav{align-items:center;gap:var(--space-1);scrollbar-width:none;margin-left:auto;display:flex;overflow-x:auto}.steps-nav::-webkit-scrollbar{display:none}.step-chip{align-items:center;gap:var(--space-2);padding:var(--space-1) var(--space-3);border-radius:var(--radius-sm);min-height:34px;color:var(--text-muted);font-size:var(--size-small);white-space:nowrap;transition:background-color var(--dur) var(--ease), color var(--dur) var(--ease);border:1px solid #0000;flex:none;text-decoration:none;display:flex}.step-chip:hover{background:var(--surface-sunk);color:var(--text)}.step-chip:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.step-chip.done{color:var(--text)}.step-tick{font-family:var(--face-mono);font-size:var(--size-eyebrow);color:var(--border-strong)}.step-chip.done .step-tick{color:var(--ok)}.hero{background:var(--surface-sunk);border-bottom:1px solid var(--border);padding:var(--space-8) 0}.hero-inner{gap:var(--space-7);grid-template-columns:minmax(0,1fr);align-items:center;display:grid}.hero-copy{max-width:54ch}.eyebrow{margin:0 0 var(--space-3);font-family:var(--face-mono);font-size:var(--size-micro);letter-spacing:.14em;text-transform:uppercase;color:var(--text-muted);font-weight:500}.hero h1{max-width:16ch;margin-bottom:var(--space-4)}.hero-lede{margin:0 0 var(--space-5);color:var(--text-muted);text-wrap:pretty;max-width:56ch}.hero-actions{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.hero-facts{gap:var(--space-2) var(--space-4);margin:var(--space-5) 0 0;font-size:var(--size-small);color:var(--text-muted);flex-wrap:wrap;padding:0;list-style:none;display:flex}.hero-facts li{align-items:baseline;gap:var(--space-2);display:flex}.hero-facts li:before{content:"—";color:var(--border-strong)}.specimen{padding:var(--space-5);background:var(--surface-raised);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-overlay);margin:0}.specimen-head{justify-content:space-between;align-items:baseline;gap:var(--space-3);display:flex}.specimen-head .eyebrow{margin:0}.specimen-total{font-family:var(--face-mono);font-size:var(--size-title);font-weight:500}.specimen .rail{margin:var(--space-3) 0 var(--space-4)}.specimen-rows{margin:0;padding:0;list-style:none}.specimen-rows li{gap:var(--space-3);padding:var(--space-2) 0 var(--space-2) var(--space-3);border-top:1px solid var(--border);border-left:3px solid var(--seg-1);grid-template-columns:minmax(0,1fr) auto auto;align-items:baseline;display:grid}.specimen-rows li[data-seg="2"]{border-left-color:var(--seg-2)}.specimen-rows li[data-seg="3"]{border-left-color:var(--seg-3)}.specimen-name{font-weight:600}.specimen-units{font-family:var(--face-mono);font-size:var(--size-small);color:var(--text-muted)}.specimen-amount{font-family:var(--face-mono);font-size:var(--size-title);font-weight:500}.specimen-foot{margin:var(--space-4) 0 0;font-size:var(--size-small);color:var(--text-muted)}.shell{gap:var(--space-5);padding-top:var(--space-6);grid-template-columns:minmax(0,1fr);align-items:start;display:grid}.shell-form{min-width:0}.shell-wide{padding-bottom:var(--space-7)}.shell .card:first-child,.shell-wide .card:first-child{margin-top:0}.card.panel{margin:0}.panel-head{justify-content:space-between;align-items:baseline;gap:var(--space-3);margin-bottom:var(--space-3);display:flex}.panel-head h2{font-size:var(--size-title);letter-spacing:-.015em;margin:0}.panel-month{font-family:var(--face-mono);font-size:var(--size-small);color:var(--text-muted)}.panel .shares{margin:var(--space-3) 0;grid-template-columns:minmax(0,1fr)}.panel-total{justify-content:space-between;align-items:baseline;gap:var(--space-3);padding-top:var(--space-2);border-top:2px solid var(--text);font-size:var(--size-small);margin:0;font-weight:600;display:flex}.panel-total-value{font-family:var(--face-mono);font-size:var(--size-title);font-weight:500}.panel-actions{gap:var(--space-2);margin-top:var(--space-4);padding-top:var(--space-4);border-top:1px solid var(--border);flex-direction:column;display:flex}.panel-actions button{width:100%}.panel-actions-split{gap:var(--space-2);display:flex}.panel-actions .hint{margin:0}.panel-waiting h3{margin-top:0}.todo{font-size:var(--size-small);margin:0;padding:0;list-style:none}.todo li{gap:var(--space-3);padding:var(--space-2) 0;border-top:1px solid var(--border);display:flex}.todo li:before{content:"○";font-family:var(--face-mono);color:var(--border-strong);flex:none}.mobilebar{z-index:30;justify-content:space-between;align-items:center;gap:var(--space-4);padding:var(--space-2) var(--space-4) calc(var(--space-2) + env(safe-area-inset-bottom));background:var(--surface-raised);border-top:1px solid var(--border-strong);box-shadow:var(--shadow-overlay);display:flex;position:fixed;inset:auto 0 0}.mobilebar-figure{flex-direction:column;min-width:0;display:flex}.mobilebar-label{font-size:var(--size-micro);letter-spacing:.02em;color:var(--text-muted)}.mobilebar-value{font-family:var(--face-mono);font-size:var(--size-title);font-weight:500;line-height:1.2}.print-only{display:none}.site-footer{padding:var(--space-6) 0 var(--space-7);background:var(--surface-sunk);border-top:1px solid var(--border);margin-top:auto}.footer-inner{gap:var(--space-5);grid-template-columns:repeat(auto-fit,minmax(220px,1fr));display:grid}.footer-inner p{margin:0 0 var(--space-2)}.footer-name{font-family:var(--face-display);font-size:var(--size-section);font-weight:600}.footer-heading{font-size:var(--size-eyebrow);letter-spacing:.12em;text-transform:uppercase;color:var(--text-muted);font-weight:600}.theme-toggle{border:1px solid var(--border-strong);border-radius:var(--radius-sm);flex:none;display:flex;overflow:hidden}.theme-toggle .segment{min-height:34px;padding:var(--space-1) var(--space-3);color:var(--text-muted);font-size:var(--size-small);background:0 0;border:none;border-radius:0;font-weight:400}.theme-toggle .segment+.segment{border-left:1px solid var(--border)}.theme-toggle .segment:hover:not([aria-pressed=true]){background:var(--surface-sunk);color:var(--text)}.theme-toggle .segment[aria-pressed=true]{background:var(--surface-sunk);color:var(--text);cursor:default;font-weight:600}.theme-toggle .segment:active:not(:disabled){transform:none}.theme-toggle .segment:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.card{background:var(--surface-raised);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-raised);padding:var(--space-5);margin:var(--space-4) 0}.card-head{justify-content:space-between;align-items:flex-start;gap:var(--space-4);margin-bottom:var(--space-4);display:flex}.card-headings{min-width:0}.card-head .lede{margin-bottom:0}.card-head .card-actions .row-actions,.card-head .card-actions.row-actions{margin-top:0}.step{margin:0 0 var(--space-1);font-family:var(--face-mono);font-size:var(--size-micro);letter-spacing:.14em;text-transform:uppercase;color:var(--text-muted);font-weight:500}.disclosure{border-top:1px solid var(--border);margin-top:var(--space-3)}.disclosure>summary{align-items:baseline;gap:var(--space-3);padding:var(--space-3) var(--space-2);margin:0 calc(var(--space-2) * -1);cursor:pointer;min-height:44px;transition:background-color var(--dur) var(--ease);list-style:none;display:flex}.disclosure>summary::-webkit-details-marker{display:none}.disclosure>summary:hover{background:var(--surface-sunk)}.disclosure>summary:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.disclosure>summary:before{content:"+";width:1ch;font-family:var(--face-mono);color:var(--text);flex:none;font-weight:500}.disclosure[open]>summary:before{content:"−"}.disclosure-title{font-size:var(--size-small);font-weight:600}.disclosure-detail{font-family:var(--face-mono);font-size:var(--size-small);color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;margin-left:auto;overflow:hidden}.disclosure-body{padding:var(--space-1) 0 var(--space-4)}.disclosure-body>h3:first-child{margin-top:0}.grid{gap:var(--space-3) var(--space-4);grid-template-columns:repeat(auto-fit,minmax(200px,1fr));display:grid}.field{gap:var(--space-1);flex-direction:column;min-width:0;display:flex}.field-label{font-size:var(--size-small);font-weight:600}.field.wide{grid-column:span 2}.unit{color:var(--text-muted);font-weight:400}.req{color:var(--accent);cursor:help;margin-left:2px;font-weight:600}.req-legend{margin:0 0 var(--space-4)}input[type=text],input[type=number],input[type=date],select,.name{font-family:var(--face-mono);font-size:var(--size-body);border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-sunk);width:100%;min-height:44px;color:var(--text);transition:border-color var(--dur) var(--ease);padding:11px 12px;line-height:1.4}select{font-family:var(--face-body);cursor:pointer}input::placeholder{color:var(--text-muted)}input:focus-visible,select:focus-visible,input:focus,select:focus{outline:2px solid var(--focus);outline-offset:2px;border-color:var(--focus)}input:invalid{border-color:var(--alert);background:var(--alert-soft)}input:disabled,select:disabled{color:var(--text-muted);background:var(--surface);cursor:not-allowed;border-style:dashed}.computed output{min-height:44px;font-family:var(--face-mono);font-size:var(--size-body);color:var(--text-muted);background:var(--surface-sunk);border:1px dashed var(--border-strong);border-radius:var(--radius-sm);padding:11px 12px;display:block}.toggle,.radios label{align-items:center;gap:var(--space-2);min-height:44px;font-size:var(--size-small);cursor:pointer;flex-wrap:wrap;display:flex}.toggle{white-space:nowrap}input[type=checkbox],input[type=radio]{width:20px;height:20px;min-height:0;accent-color:var(--accent);cursor:pointer;flex:none;margin:0;padding:0}input[type=checkbox]:focus-visible,input[type=radio]:focus-visible{outline:2px solid var(--focus);outline-offset:2px}input[type=checkbox]:disabled,input[type=radio]:disabled{cursor:not-allowed}button{font-family:var(--face-body);font-size:var(--size-body);border:1px solid var(--accent);border-radius:var(--radius-sm);background:var(--accent);min-height:44px;color:var(--accent-ink);cursor:pointer;transition:background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);padding:12px 18px;font-weight:500;line-height:1.2}button:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}button:focus-visible{outline:2px solid var(--focus);outline-offset:2px}button:active:not(:disabled){transform:translateY(1px)}button:disabled{opacity:.55;cursor:not-allowed}a.button{border:1px solid var(--accent);border-radius:var(--radius-sm);background:var(--accent);min-height:44px;color:var(--accent-ink);font-size:var(--size-body);transition:background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);justify-content:center;align-items:center;padding:12px 18px;font-weight:500;line-height:1.2;text-decoration:none;display:inline-flex}a.button:hover{background:var(--accent-hover);border-color:var(--accent-hover)}a.button:focus-visible{outline:2px solid var(--focus);outline-offset:2px}a.button.ghost{color:var(--text);border-color:var(--border-strong);background:0 0}a.button.ghost:hover{background:var(--surface-sunk);border-color:var(--border-strong)}button.ghost{color:var(--text);border-color:var(--border-strong);background:0 0}button.ghost:hover:not(:disabled){background:var(--surface-sunk);border-color:var(--border-strong)}button.danger{color:var(--alert);border-color:var(--border-strong);background:0 0}button.danger:hover:not(:disabled){background:var(--alert-soft);border-color:var(--alert)}.row-actions{gap:var(--space-2);margin-top:var(--space-3);flex-wrap:wrap;align-items:center;display:flex}.row-hint{margin:var(--space-2) 0 0;display:block}button.link{min-height:0;color:var(--text);font-size:var(--size-small);text-underline-offset:3px;background:0 0;border:none;padding:0;font-weight:400;text-decoration:underline}button.link:hover:not(:disabled){color:var(--accent);background:0 0}.households{gap:var(--space-3);flex-direction:column;display:flex}.household{border:1px solid var(--border);border-left:3px solid var(--border-strong);border-radius:var(--radius-md);padding:var(--space-4)}.household.metered{border-left-color:var(--accent)}.household.unmetered{border-left-color:var(--border-strong)}.household-head{gap:var(--space-3);flex-wrap:wrap;align-items:center;display:flex}.household-head .name{font-family:var(--face-body);flex:200px;font-weight:600}.readings{margin-top:var(--space-3)}.prior-note{grid-column:1/-1;margin:0}.policy{margin-top:var(--space-5);border-top:1px solid var(--border);padding-top:var(--space-3)}.radios{gap:var(--space-1);flex-direction:column;display:flex}.radios select{width:auto;min-width:min(180px,100%);max-width:100%}.provenance{margin:var(--space-3) 0 0;padding-left:var(--space-3);font-size:var(--size-micro);letter-spacing:.02em;color:var(--text-muted);border-left:3px solid var(--border-strong);max-width:78ch;font-weight:500}.provenance.verified{border-left-color:var(--ok)}.provenance.indicative{border-left-color:var(--alert);color:var(--text)}.notes{margin:var(--space-2) 0 0;padding-left:var(--space-5);font-size:var(--size-small);color:var(--text-muted);max-width:78ch}.notes li{margin:var(--space-1) 0}.shares{gap:var(--space-3);margin:var(--space-4) 0;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));display:grid}.share{gap:var(--space-1);padding:var(--space-3) var(--space-4);background:var(--surface-sunk);border:1px solid var(--border);border-left:3px solid var(--seg-1);border-radius:var(--radius-md);flex-direction:column;display:flex}.share[data-seg="2"]{border-left-color:var(--seg-2)}.share[data-seg="3"]{border-left-color:var(--seg-3)}.share-name{font-size:var(--size-small);font-weight:600}.share-amount{font-family:var(--face-mono);font-size:var(--size-display);letter-spacing:-.01em;font-weight:500;line-height:1.1}.share-meta{font-family:var(--face-mono);font-size:var(--size-small);color:var(--text-muted)}.totals{gap:var(--space-2);margin:var(--space-4) 0;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.stat{background:var(--surface-sunk);border:1px solid var(--border);border-radius:var(--radius-md);padding:var(--space-2) var(--space-3)}.stat-label{font-size:var(--size-small);color:var(--text-muted);display:block}.stat-value{font-family:var(--face-mono);font-size:var(--size-title);font-weight:500;line-height:1.2;display:block}.stat.strong{border-color:var(--accent);border-left-width:3px}.stat.warn{border-color:var(--alert);background:var(--alert-soft)}.stat.warn .stat-value,.stat.warn .stat-label{color:var(--text)}.rail{height:34px;margin:var(--space-4) 0;transform-origin:0;animation:rail-grow var(--dur) var(--ease);gap:3px;display:flex}@keyframes rail-grow{0%{transform:scaleX(0)}to{transform:scaleX(1)}}.rail-seg{justify-content:space-between;align-items:center;gap:var(--space-2);background:var(--seg-1);min-width:0;color:var(--accent-ink);font-family:var(--face-mono);font-size:var(--size-eyebrow);white-space:nowrap;flex-basis:0;padding:0 11px;display:flex;overflow:hidden}.rail-seg>*{min-width:0}.rail-seg:nth-child(3n+2){background:var(--seg-2)}.rail-seg:nth-child(3n+3){background:var(--seg-3)}.rail-name{text-overflow:ellipsis;font-family:var(--face-body);font-weight:500;overflow:hidden}.rail.compact{height:10px;margin:0}.table-scroll{overscroll-behavior-x:contain;margin:var(--space-2) calc(var(--space-1) * -1);padding:0 var(--space-1);overflow-x:auto}.table-hint{margin:0 0 var(--space-1);display:none}table{border-collapse:collapse;width:100%;font-family:var(--face-mono);font-size:var(--size-small)}th,td{padding:var(--space-2) var(--space-3);text-align:left;border-bottom:1px solid var(--border);white-space:nowrap}th.num,td.num{text-align:right}.breakdown th+th,.breakdown td+td{border-left:1px solid var(--border-strong)}thead th{font-family:var(--face-body);font-size:var(--size-small);font-weight:600}thead tr:last-child th{border-bottom:1px solid var(--text)}thead .subhead th{font-family:var(--face-mono);font-weight:400;font-size:var(--size-eyebrow);color:var(--text-muted)}tbody tr:nth-child(2n){background:var(--surface)}.pct{color:var(--text-muted);font-weight:400}tbody .account-level td{color:var(--text-muted)}tfoot th{border-top:2px solid var(--text);font-family:var(--face-mono);font-size:var(--size-body);padding-top:var(--space-3);padding-bottom:var(--space-3);border-bottom:none;font-weight:500}tfoot th:first-child{font-family:var(--face-display);font-size:var(--size-section);letter-spacing:-.01em;font-weight:600}.warnings{margin:var(--space-3) 0;padding:var(--space-3);background:var(--alert-soft);border-left:3px solid var(--alert);border-radius:var(--radius-sm);color:var(--text);font-size:var(--size-small);list-style:none}.warnings li{gap:var(--space-3);display:flex}.warnings li+li{margin-top:var(--space-2)}.warnings li:before{content:"!";font-family:var(--face-mono);color:var(--alert);flex:none;font-weight:500}.check{margin:var(--space-3) 0 0;font-size:var(--size-small);font-weight:500}.check.ok{color:var(--ok)}.check.bad{color:var(--alert)}.from-bill{margin-left:var(--space-2);border:1px solid var(--accent);border-radius:var(--radius-sm);color:var(--accent);font-size:var(--size-micro);letter-spacing:.02em;text-transform:lowercase;white-space:nowrap;padding:1px 6px;font-weight:500}.field-read>input{border-color:var(--accent);background:var(--surface-raised)}.uploads{margin:var(--space-3) 0;padding:0;list-style:none}.uploads li{align-items:baseline;gap:var(--space-3);padding:var(--space-3) 0;border-bottom:1px solid var(--line);flex-wrap:wrap;display:flex}.upload-name{font-weight:500}.uploads li .hint{flex:auto;margin:0}.uploads li button{flex:none}.crosscheck{align-items:baseline;gap:var(--space-2) var(--space-3);margin:var(--space-4) 0;padding:var(--space-3);border-left:3px solid var(--ok);border-radius:var(--radius-sm);font-size:var(--size-small);flex-wrap:wrap;display:flex}.crosscheck.ok{border-left-color:var(--ok);color:var(--ok)}.crosscheck.bad{border-left-color:var(--alert);background:var(--alert-soft);color:var(--text)}.crosscheck-figure{color:var(--alert);font-size:var(--size-title);font-variant-numeric:tabular-nums;flex:none;font-weight:600}.crosscheck-line{flex:14ch;font-weight:500}.crosscheck .hint{flex:100%;margin:0}.confirm{border-left:3px solid var(--accent)}.confirm .from-bill{margin-left:0}.history .hint{font-weight:400}.history td .row-actions{margin-top:0}@media (pointer:coarse){input[type=text],input[type=number],input[type=date],select,.name,.computed output{font-size:16px}.step-chip{min-height:44px}.theme-toggle .segment{min-height:40px}button.link{padding:10px 0}}@media (width<=1023px){.app{padding-bottom:calc(76px + env(safe-area-inset-bottom))}.breakdown th:first-child,.breakdown td:first-child{z-index:1;background:var(--surface-raised);white-space:normal;max-width:min(45vw,22ch);position:sticky;left:0}.breakdown tbody tr:nth-child(2n) td:first-child{background:var(--surface)}.breakdown thead .subhead th{white-space:normal}.table-hint{display:block}}@media (width<=700px){.steps-nav{display:none}.topbar-inner{justify-content:space-between}}@media (width<=600px){.page{padding:0 var(--space-4)}.card{padding:var(--space-4)}.hero{padding:var(--space-6) 0}.hero h1{font-size:24px}.result h2{font-size:19px}.field.wide{grid-column:auto}.hero-actions{align-items:stretch;gap:var(--space-2);flex-direction:column}.hero-actions button:not(.link),.hero-actions a.button{flex:none;width:100%}.hero-actions button.link{margin-top:var(--space-1);align-self:flex-start}.panel-actions-split{flex-direction:column}.hero .rail{height:10px}.hero .rail-seg>*{display:none}.specimen-rows li{grid-template-columns:minmax(0,1fr) auto}.specimen-name{grid-area:1/1}.specimen-amount{grid-area:1/2}.specimen-units{grid-area:2/1/auto/span 2}.card-head{flex-wrap:wrap}.card-head .card-actions{width:100%}.disclosure>summary{flex-wrap:wrap}.disclosure-detail{width:100%;padding-left:calc(1ch + var(--space-3));white-space:normal;margin-left:0}.history thead{display:none}.history,.history tbody,.history tr,.history td{width:100%;display:block}.history tbody tr{padding:var(--space-3) 0;border-bottom:1px solid var(--border-strong)}.history tbody tr:nth-child(2n){background:0 0}.history td{padding:var(--space-1) 0;white-space:normal;text-align:left;border:none}.history td[data-label]:before{content:attr(data-label);font-family:var(--face-body);font-size:var(--size-micro);letter-spacing:.02em;color:var(--text-muted);display:block}.history td.num{text-align:left}.history td.row-actions{margin-top:var(--space-2);display:flex}.history td .row-actions button{flex:auto}.history-scroll .table-hint{display:none}}@media (width<=380px){.topbar-inner{gap:var(--space-2)}.theme-toggle .segment{padding-left:var(--space-2);padding-right:var(--space-2);font-size:var(--size-micro)}.mobilebar{gap:var(--space-2);padding-left:var(--space-3);padding-right:var(--space-3)}.mobilebar .button{padding:12px var(--space-3)}.mobilebar-value{font-size:var(--size-section)}}@media (width>=900px){.hero-inner{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}}@media (width>=1024px){.card{padding:var(--space-5) var(--space-6)}.shell{grid-template-columns:minmax(0,1fr) 360px}.shell-aside{position:sticky;top:76px}.shell-aside .card{padding:var(--space-5);max-height:calc(100vh - 92px);overflow-y:auto}.mobilebar{display:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important}}@media print{:root,:root[data-theme]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--surface:var(--cream-050);--surface-raised:var(--cream-050);--surface-sunk:var(--cream-050);--text:var(--ink-900);--text-muted:var(--ink-600);--border:var(--sand-300);--border-strong:var(--sand-400);--accent:var(--clay-600);--accent-ink:var(--cream-050);--accent-hover:var(--clay-700);--alert:var(--red-600);--alert-soft:var(--cream-050);--ok:var(--olive-700);--focus:var(--clay-600);--seg-1:var(--cream-050);--seg-2:var(--cream-050);--seg-3:var(--cream-050)}.print-hide{display:none!important}.app{display:block}.shell,.shell-wide{padding:0}.shell{display:block}.shell-form{display:none}.print-only{display:block}.print-head{margin-bottom:var(--space-4);padding-bottom:var(--space-2);border-bottom:2px solid var(--text);font-family:var(--face-display);font-size:var(--size-title);font-weight:600}.shell-aside,.shell-aside .card{max-height:none;position:static;overflow:visible}.disclosure>summary{display:none!important}.disclosure-body{display:block!important}.disclosure::details-content{content-visibility:visible;block-size:auto}body{background:var(--surface-raised)}.page{max-width:none;padding:0}.card{box-shadow:none;margin:0 0 var(--space-4);break-inside:avoid;border:none;padding:0}.table-scroll{overflow:visible}.table-hint{display:none!important}.breakdown th:first-child,.breakdown td:first-child{background:0 0;position:static}th,td{white-space:normal}.rail{animation:none}.rail-seg{color:var(--text);border:1px solid var(--text)}}
