/* Shared presentation for every sheet. Geometry remains in takeoff-fit.css. */
body[data-workspace="takeoff"] .sheet-symbol-counts{display:grid;gap:4px}
body[data-workspace="takeoff"] .sheet-header-nav{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:nowrap}
body[data-workspace="takeoff"] .sheet-header-nav .sheet-nav-button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 14px;border:1px solid #4a5b64;border-radius:6px;background:#182329;color:#edf5f6;font:700 14px/1 var(--sheet-font);text-decoration:none;white-space:nowrap;box-shadow:0 1px 0 #0006}
body[data-workspace="takeoff"] .sheet-header-nav .sheet-nav-button:hover,body[data-workspace="takeoff"] .sheet-header-nav .sheet-nav-button:focus-visible{border-color:var(--sheet-accent);background:#103137;color:var(--sheet-accent);outline:2px solid var(--sheet-accent);outline-offset:2px}
body[data-workspace="takeoff"] .sheet-header-nav .all-sheets{border-color:#9a7734;background:#2a2418;color:#f5cf7b}
body[data-workspace="takeoff"] .sheet-header-nav .is-disabled{opacity:.38;cursor:not-allowed;box-shadow:none}
@media(max-width:900px){body[data-workspace="takeoff"] .sheet-header-nav{width:100%;order:3}body[data-workspace="takeoff"] .sheet-header-nav .sheet-nav-button{flex:1;min-width:0;padding-inline:8px}}
body[data-workspace="takeoff"] .sheet-symbol-counts .fixture-count{width:100%;text-align:left;gap:8px}
body[data-workspace="takeoff"] .sheet-symbol-counts .fixture-count strong{white-space:nowrap}
body[data-workspace="takeoff"] .sheet-symbol-counts .all-fixtures{margin:0 0 3px}
:root{--sheet-font:Arial,sans-serif;--sheet-text:14px;--sheet-heading:12px;--sheet-muted:#aab8bf;--sheet-accent:#43d7df;--sheet-important:#f1c779}
body[data-workspace="takeoff"] .integrated-side{font-family:var(--sheet-font);color:#e9eff1}
body[data-workspace="takeoff"] .integrated-side :is(h2,h3,.panel-title){font-family:var(--sheet-font);font-size:var(--sheet-heading)!important;font-weight:700;line-height:1.35;letter-spacing:.3px;margin:0 0 5px;color:var(--sheet-accent)}
body[data-workspace="takeoff"] .integrated-side .panel-title{color:#e9eff1;padding:5px 6px;margin:0}
body[data-workspace="takeoff"] .integrated-side :is(p,label,summary,button,a,.fixture-count,.scope-row,.callout-entry){font-family:var(--sheet-font);font-size:var(--sheet-text)!important;line-height:1.35}
body[data-workspace="takeoff"] .integrated-side :is(summary,.scope-row){padding:4px 0}
body[data-workspace="takeoff"] .integrated-side summary{color:var(--sheet-accent)}
body[data-workspace="takeoff"] .integrated-side p{margin:4px 0}
body[data-workspace="takeoff"] .integrated-side :is(.muted,.hint,.row-head,small){font-size:12px!important;color:var(--sheet-muted);line-height:1.35}
body[data-workspace="takeoff"] .integrated-side :is(.sheet-issues h3,.priority summary,.saved-sheet-notes h3,.wiring-register h3){color:var(--sheet-important)!important}
body[data-workspace="takeoff"] .integrated-side .sheet-issues{padding:6px;background:#151c20;border-top:1px solid var(--line)}
body[data-workspace="takeoff"] .integrated-side .issue-register{display:block}
body[data-workspace="takeoff"] .integrated-side .issue-register .sheet-issue-row{margin:0;padding:6px 0;border-bottom:1px solid var(--line);color:var(--sheet-muted);font-size:14px!important;line-height:1.35}
body[data-workspace="takeoff"] .integrated-side .sheet-issue-id{font-weight:400;color:inherit}
body[data-workspace="takeoff"] .integrated-side .issue-register button{display:block;padding:3px 5px;margin-top:4px;color:var(--sheet-accent)}
body[data-workspace="takeoff"] .integrated-side :is(.scope-row strong,.quantity strong){font-size:14px!important;line-height:1.35;font-variant-numeric:tabular-nums}
body[data-workspace="takeoff"] .integrated-side .open-quantity{color:var(--sheet-important)}
body[data-workspace="takeoff"] .integrated-side>.sheet-scale-list{flex-shrink:0;padding:4px 6px;margin:0;border-bottom:1px solid var(--line);color:var(--sheet-accent);font-size:14px;line-height:1.35;flex-wrap:wrap}
body[data-workspace="takeoff"] .important-hvac-notes{background:#171d20;border-block:1px solid #48545a}
body[data-workspace="takeoff"] .important-note-register{display:grid;gap:5px}
body[data-workspace="takeoff"] .important-note{display:grid;width:100%;gap:2px;padding:7px 8px;text-align:left;border:1px solid #59646a;border-left:5px solid var(--note-priority,#f1c779);background:#20282c;color:#eef4f5;cursor:pointer}
body[data-workspace="takeoff"] .important-note:hover,body[data-workspace="takeoff"] .important-note:focus-visible{background:#293338;border-color:var(--note-priority,#f1c779);outline:2px solid var(--note-priority,#f1c779);outline-offset:1px}
body[data-workspace="takeoff"] .important-note span{display:grid;gap:2px}
body[data-workspace="takeoff"] .important-note b{font-size:11px;line-height:1.2;letter-spacing:.35px;color:var(--note-priority,#f1c779)}
body[data-workspace="takeoff"] .important-note small{font-size:12px!important;line-height:1.35;color:#c9d2d6}
body[data-workspace="takeoff"] .important-note.critical{--note-priority:#ff7d73}
body[data-workspace="takeoff"] .important-note.cost{--note-priority:#f1c779}
body[data-workspace="takeoff"] .important-note.quality{--note-priority:#65cfe4}
body[data-workspace="takeoff"] .important-source-highlights rect{vector-effect:non-scaling-stroke;stroke-width:2;fill-opacity:.08;pointer-events:none}
body[data-workspace="takeoff"] .important-source-highlights .critical{stroke:#d9322b;fill:#ff5a50}
body[data-workspace="takeoff"] .important-source-highlights .cost{stroke:#ad7600;fill:#ffc84d}
body[data-workspace="takeoff"] .important-source-highlights .quality{stroke:#008aaa;fill:#39c6e8}
