.estimate-page{display:flex;flex-direction:column;gap:20px}.estimate-page .ph,.estimate-page .co-tabs{margin:0}.estimate-readiness{display:flex;align-items:flex-start;gap:12px;padding:16px 20px;border:1px solid #d3dfff;border-radius:12px;background:#eef3ff;color:#435879}.estimate-readiness>svg,.estimate-privacy>svg{flex:0 0 auto}.estimate-readiness p{margin:5px 0 0;font-size:13px;line-height:1.7}.estimate-upload h2{margin:8px 0 10px;font-size:23px}.estimate-upload p{color:var(--text-2,#677080);line-height:1.65;max-width:880px}.estimate-upload-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 12px}.estimate-file{position:relative;overflow:hidden;cursor:pointer}.estimate-file:focus-within{outline:2px solid #2457dc;outline-offset:3px}.estimate-file input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.estimate-privacy{display:flex;gap:8px;align-items:flex-start;font-size:13px}.estimate-paste{margin-top:20px}.estimate-paste summary{cursor:pointer;font-weight:600}.estimate-paste form{display:grid;gap:10px;margin-top:16px}.estimate-paste label,.estimate-mapping label,.estimate-edit label{display:grid;gap:8px;font-size:13px;font-weight:500}.estimate-paste textarea,.estimate-mapping select,.estimate-edit input{padding:10px 12px;border:1px solid #ced5e2;border-radius:7px;font:inherit;color:inherit;background:white;min-width:0}.estimate-paste textarea{width:100%;resize:vertical;font-family:ui-monospace,monospace;font-size:13px}.estimate-paste button{justify-self:start}.estimate-mapping form{display:grid;grid-template-columns:1.2fr 1fr 1fr auto;gap:14px;align-items:end}.estimate-mapping select{max-width:100%}.estimate-mapping p{color:var(--text-2,#677080);line-height:1.65}.estimate-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid #d9ddea;border-radius:12px;overflow:hidden;background:#fff}.estimate-kpis>div{padding:18px;border-right:1px solid #d9ddea}.estimate-kpis>div:last-child{border:0}.estimate-kpis span{display:block;text-transform:uppercase;font-size:10px;font-weight:700;letter-spacing:.65px;color:#6f7888}.estimate-kpis b{display:block;margin-top:6px;font-size:22px}.estimate-help{font-size:13px;color:var(--text-2,#677080);line-height:1.7;margin:15px 0}.estimate-table{margin-bottom:18px;overflow-x:auto}.estimate-table table{min-width:850px}.estimate-table th:first-child{width:85px}.estimate-table small{display:block;margin-top:5px;color:#727d90}.estimate-row-actions{display:flex;gap:6px}.estimate-row-actions .btn{font-size:12px;padding:5px 10px;white-space:nowrap}.estimate-pagination{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin:14px 0}.estimate-edit{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin-bottom:18px}.estimate-edit h3,.estimate-edit p{flex-basis:100%;margin:0}.estimate-edit label{flex:1;min-width:200px}@media(max-width:1100px){.estimate-mapping form{grid-template-columns:1fr 1fr}.estimate-kpis>div{padding:12px}.estimate-kpis span{font-size:9px}}@media(max-width:650px){.estimate-kpis{grid-template-columns:1fr 1fr}.estimate-kpis>div{border-bottom:1px solid #d9ddea}.estimate-mapping form{grid-template-columns:1fr}}

/* Estimate desk · #/estimate. Every rule here is prefixed .ed- so it cannot reach another screen,
   and every colour is one of the shared tokens rather than a new hex. The screen has one visual
   idea: a measurement renders as a figure, and everything else renders as a sentence — never as a
   zero, never as an empty slot. So the withheld treatment (.ed-withheld) is the most-used block on
   the page and is styled to be readable at length, not to be hidden in a corner. */
.ed-page{display:flex;flex-direction:column}
/* The line under the title. The count leads in the page's own ink and what became of those
   estimates stays muted behind it, which is the split Madison asked for on 2026-09-22. Same
   treatment the cycle overview already gives its own headline. */
.ed-page .ph .sub strong{color:var(--co-night,#0D1318);font-weight:650}
.ed-cycle{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:20px}
.ed-withheld{margin:6px 0 0}
.ed-reason{margin:0;font-size:12.5px;line-height:1.7;color:var(--co-text-2);max-width:96ch}
.ed-closes{margin:6px 0 0;font-size:11.5px;line-height:1.6;color:var(--co-text-muted);max-width:96ch}
.ed-closes b{color:var(--co-text-2);font-weight:650}
.ed-withheld-tight .ed-reason{font-size:11.5px;line-height:1.6}
.ed-withheld-tight .ed-closes{font-size:11px}
.ed-dash{color:var(--co-line-strong);font-weight:500}
/* The four KPI tiles. A withheld tile keeps its name and its place in the strip: the reader learns
   which measurement is missing, which is the part they can act on. */
.ed-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--co-line);border:1px solid var(--co-line);border-radius:12px;overflow:hidden;margin:0 0 14px}
.ed-tile{background:#fff;padding:16px 18px;display:flex;flex-direction:column;gap:6px;min-width:0}
.ed-tile>span{font-size:9.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--co-text-muted);line-height:1.35}
.ed-tile>b{font-size:26px;letter-spacing:-.02em;line-height:1.15;font-variant-numeric:tabular-nums}
.ed-handoff .ed-handoff-figs{display:flex;flex-wrap:wrap;gap:22px;margin:12px 0 4px}
.ed-handoff-figs span{font-size:12.5px;color:var(--co-text-2)}
.ed-handoff-figs b{font-size:22px;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--co-night,#0D1318);margin-right:6px}
.ed-stage-list{display:grid;gap:1px;background:var(--co-line);border:1px solid var(--co-line);border-radius:10px;overflow:hidden;margin:12px 0}
.ed-stage{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(120px,auto);gap:14px;align-items:baseline;background:#fff;padding:10px 14px;font-size:12.5px}
.ed-stage b{font-variant-numeric:tabular-nums;text-align:right}
.ed-stage small{color:var(--co-text-muted);font-size:11px;text-align:right}
.ed-flag-line{margin:12px 0 0;font-size:12px;line-height:1.7;color:var(--co-amber-deep);max-width:96ch}
.ed-flag-line b{color:var(--co-amber-deep)}
/* The decision, stated rather than engineered around. */
.ed-decision{border-color:#D8C79A;background:#FFFCF4}
.ed-decision h2{margin:8px 0 10px;max-width:80ch}
.ed-decision-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:16px;padding-top:14px;border-top:1px solid var(--co-line)}
.ed-decision-cols ul{margin:8px 0 0;padding-left:18px}
.ed-decision-cols li{font-size:12.5px;line-height:1.85;color:var(--co-text-2)}
.ed-tabs{flex-wrap:wrap;gap:6px;margin:6px 0 14px}
.ed-tabs .tabbtn{border:1px solid var(--co-line);border-radius:30px;padding:9px 15px;white-space:nowrap}
.ed-tabs .tabbtn.on{background:var(--co-night,#0D1318);color:#fff;border-color:var(--co-night,#0D1318)}
.ed-tab-off{border-style:dashed}
.ed-gate{border-color:#D8C79A;background:#FFFCF4}
.ed-gate .ed-reason{font-size:13px}
/* The FRAME tab: the rail on the left, everything the model would print on the right. */
/* .ed-frame used to BE the two-column grid. It now holds two things stacked — the mode row, then
   the rail and the figures beside each other — so the grid was placing those two in the two
   columns: the mode row squeezed into 320px on the left, the whole layout crammed into the rest.
   Splitting the tab into a row plus a layout meant this had to stop being a grid, and it did not. */
.ed-frame{display:flex;flex-direction:column}
.ed-frame-main{min-width:0;display:flex;flex-direction:column}
.ed-source-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.ed-source{border:1px solid var(--co-line);border-radius:30px;background:#fff;padding:8px 14px;font:inherit;font-size:12px;color:var(--co-text-2);cursor:pointer}
.ed-source.on{background:var(--co-night,#0D1318);border-color:var(--co-night,#0D1318);color:#fff}
.ed-source:disabled{opacity:.5;cursor:not-allowed;border-style:dashed}
.ed-insured,.ed-prospect{font:inherit;font-size:12px;color:var(--co-text-2);padding:8px 10px;border:1px solid var(--co-line);border-radius:8px;background:#fff;max-width:100%}
.ed-insured:disabled,.ed-prospect:disabled{opacity:.6;border-style:dashed}
.ed-rail-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 6px;padding-top:14px;border-top:1px solid var(--co-line)}
.ed-rail-group{margin-top:14px}
.ed-rail-group>.co-eyebrow{display:block;margin-bottom:8px}
.ed-control{padding:8px 0;border-bottom:1px solid var(--co-line)}
.ed-control:last-child{border-bottom:0}
.ed-control label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12.5px;color:var(--co-text-2);line-height:1.5}
.ed-control input[type=text]{width:110px;flex:0 0 auto;text-align:right;font:inherit;font-size:12.5px;font-variant-numeric:tabular-nums;padding:6px 9px;border:1px solid var(--co-line);border-radius:7px;background:var(--co-surface-3);color:var(--co-text-2)}
.ed-control input:disabled{cursor:not-allowed}
.ed-control small{display:block;margin-top:5px;font-size:11px;line-height:1.6;color:var(--co-text-muted)}
.ed-control .ed-flag{color:var(--co-amber-deep)}
.ed-control-off{display:flex;flex-direction:column;gap:4px}
.ed-control-label{font-size:12.5px;color:var(--co-text-2)}
/* The four outcome tiles are named and empty. The marker rides on each one, because if these tiles
   ever ship it ships with them, every tile, every time. */
.ed-outcomes .ed-banner{display:flex;align-items:flex-start;gap:10px;margin:12px 0 16px;padding:12px 14px;border:1px solid #E7D3A6;border-radius:10px;background:#FFF8EA;font-size:12.5px;line-height:1.6;color:var(--co-amber-deep)}
.ed-outcome-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--co-line);border:1px solid var(--co-line);border-radius:10px;overflow:hidden}
.ed-outcome{background:#fff;padding:14px 16px;display:flex;flex-direction:column;gap:6px;min-width:0}
.ed-outcome>span{font-size:9.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--co-text-muted);line-height:1.35}
.ed-outcome>b{font-size:23px;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.ed-mark{align-self:flex-start;font-style:normal;font-size:10px;font-weight:650;letter-spacing:.04em;padding:2px 8px;border-radius:20px;background:#FFF3DA;color:var(--co-amber-deep)}
.ed-caveat{margin:16px 0 0;font-size:13px;line-height:1.8;color:var(--co-text-2);max-width:88ch}
.ed-caveat small{display:block;margin-top:6px;font-size:11px;line-height:1.6;color:var(--co-text-muted)}
.ed-held .ed-sub,.ed-attach .ed-sub,.ed-runs .ed-sub,.ed-evidence .ed-sub{margin-top:14px;padding-top:12px;border-top:1px solid var(--co-line)}
.ed-sub-title{display:block;margin-bottom:6px;font-size:11.5px;font-weight:650;color:var(--co-text-2)}
/* A table that cannot be filled still shows its columns, as chips rather than as an empty header
   row: an empty header row reads as a table that failed to load. */
.ed-columns{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 4px}
.ed-columns span{padding:3px 10px;border:1px dashed var(--co-line-strong);border-radius:20px;font-size:10.5px;font-weight:650;letter-spacing:.06em;text-transform:uppercase;color:var(--co-text-muted);background:#fff}
.ed-attach-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:8px}
.ed-prospect{min-width:260px;max-width:100%}
.ed-evidence{margin-top:14px;padding:14px 16px;border:1px solid var(--co-line);border-radius:10px;background:var(--co-surface-3)}
.ed-evidence>.co-eyebrow{display:block;margin-bottom:8px}
.ed-evidence .ed-sub:first-of-type{margin-top:0;padding-top:0;border-top:0}
.ed-file-rows{display:flex;flex-wrap:wrap;gap:20px;margin:8px 0}
.ed-file-rows span{font-size:12.5px;color:var(--co-text-2)}
.ed-file-rows b{font-size:18px;font-variant-numeric:tabular-nums;color:var(--co-night,#0D1318);margin-right:6px}
.ed-file-rows small{display:block;font-size:11px;color:var(--co-text-muted);margin-top:2px}
/* The constants block: the one part of this page that asserts nothing about a client and can ship
   before the decision lands. It is an audit list, so it is dense and it is complete. */
.ed-reference{margin:16px 0 0!important;font-size:11px;color:var(--co-text-muted)}
.ed-runs-table{overflow-x:auto}
.ed-runs-table table{width:100%}
.ed-runs-table td.ed-wrap{white-space:normal;min-width:120px;max-width:240px;line-height:1.45}
.ed-runs .wf-meta{margin:2px 0 12px}
.ed-runs-table td.r,.ed-runs-table th.r{text-align:right;white-space:nowrap}
.ed-runs-table td{font-variant-numeric:tabular-nums}
.ed-foot-note{display:block;margin:12px 0 0;max-width:96ch}
@media(max-width:1180px){.ed-frame{grid-template-columns:270px minmax(0,1fr)}.ed-outcome-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.ed-frame{grid-template-columns:1fr}.ed-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.ed-decision-cols{grid-template-columns:1fr}}
@media(max-width:640px){.ed-tiles,.ed-outcome-grid{grid-template-columns:1fr}.ed-cycle{flex-direction:column;align-items:flex-start}.ed-stage{grid-template-columns:1fr auto}.ed-stage small{grid-column:1/-1;text-align:left}.ed-prospect{min-width:0;width:100%}}
.ed-same{margin:8px 0 0;font-size:11.5px;line-height:1.6;color:var(--co-text-muted);font-style:italic}
/* The qualify step keeps its own rules; it only needs the spacing the old page wrapper used to give
   it, now that it sits inside a tab rather than being the whole screen. */
.ed-page .estimate-readiness{margin-bottom:14px}
.ed-page .business-section-title{margin-top:20px}

/* THE FRAME TAB, matching the supplied prototype.

   Most of the prototype's vocabulary — profile-strip, btbl, tabbtn, eyebrow, mailf, kv, note
   amber, pill — already exists on this page and is used as-is. Four of its classes came from the
   engine's own stylesheet, which the agent page does not load, so they are defined here: panel,
   its head and body, and the checkbox row. Scoped under .ed-page so nothing leaks into screens
   that have their own idea of what a panel is. */
.ed-page .panel{border:1px solid var(--line,#E2E7EF);border-radius:10px;background:#fff;overflow:hidden}
.ed-page .panel-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line,#E2E7EF)}
.ed-page .panel-h h3{margin:0;font-size:14px}
.ed-page .panel-b{padding:14px 16px}
.ed-page .chk{display:flex;align-items:center;gap:8px;font-size:13px;cursor:pointer}

/* The rail beside the figures: fixed at the prototype's 320px, and the first thing to go when
   there is no room for both. */
.ed-frame-layout{display:flex;gap:14px;align-items:flex-start}
.ed-frame-layout>.ed-rail{width:320px;flex:0 0 320px}
.ed-frame-layout>.grow{min-width:0}
@media (max-width:1100px){.ed-frame-layout{flex-direction:column}.ed-frame-layout>.ed-rail{width:100%;flex:1 1 auto}}

/* A number and a slider for the same value. The number is the one you type into and the slider is
   the one you explore with; both write the same state, so neither can drift from the other. */
.ed-page .ed-control{display:block;margin-bottom:2px}
.ed-page .ed-control .ed-num{width:104px;text-align:right}
.ed-page .ed-control input[type=range]{width:100%;margin-top:4px;accent-color:var(--blue,#4F63D2)}

.ed-chart{width:100%;height:auto;display:block}
.ed-table{margin-top:12px}
.ed-detail-tabs{gap:6px;margin:14px 0 10px;flex-wrap:wrap}
/* Money reads right-aligned or it cannot be compared down a column. */
.ed-page .btbl th.r,.ed-page .btbl td.r{text-align:right}

/* The cycle selector sits beside Ask Madison rather than on a line of its own. Both are controls
   on the same header row, so they are given the same height explicitly — a pill button and a
   select agree on almost nothing about vertical size otherwise. */
.ed-head-controls{gap:8px;align-items:center;flex-wrap:wrap}
.ed-head-controls>.btn,.ed-head-controls .co-cycle-select,.ed-head-controls select{height:34px;line-height:1;box-sizing:border-box}
.ed-head-controls>.btn{display:inline-flex;align-items:center}

/* THE OUTCOME STRIP IS FOUR CELLS, not six. .profile-strip is a six-column grid because the screens
   it was written for carry six figures; four cells in it sit in the left two-thirds with a third of
   the card empty beside them. The count is declared here rather than left to the number of children,
   and the breakpoint follows it down. */
.ed-outcome-strip{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:900px){
 .ed-outcome-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ed-outcome-strip .ps-cell:nth-child(odd){border-left:0}
}
/* The rail sits beside all of this and ends where its controls end, rather than stretching to meet
   a column that is ten times its height. */
.ed-frame-layout>.ed-rail{align-self:flex-start}

/* A SELECT IN A ROW OF CONTROLS IS NOT THE WHOLE ROW. .mailf carries width:100% because it was
   written for stacked form fields; dropped into a flex row that wraps, it claims the full width and
   pushes every button either side of it onto its own line. Both rows on this tab put a select
   beside buttons, so both bound it: it may shrink, it may not grow, and it stops at the prototype's
   300px. */
.ed-source-row>.mailf,.ed-attach-row>.mailf{width:auto;flex:0 1 300px;min-width:0;max-width:300px}
.ed-attach-row{flex-wrap:wrap;gap:8px;align-items:center}

/* The mode row is one line: two buttons and the select they qualify, in that order, reading as a
   single choice. It does NOT wrap — wrapping turns one control into three stacked ones and loses
   that they belong together. The select is the only part that gives, shrinking as far as it must,
   because the two buttons carry the words. Below the phone breakpoint there is no width left to
   shrink into and wrapping is the lesser of the two. */
.ed-source-row{display:flex;flex-wrap:nowrap;gap:6px;align-items:center;margin-bottom:12px}
.ed-source-row>.tabbtn{flex:0 0 auto;white-space:nowrap}
@media (max-width:760px){.ed-source-row{flex-wrap:wrap}}

/* THE NEW ESTIMATE. The prototype's two columns: the form at 360px beside the result. The form's
   controls stack with the label above, as the prototype has them; the revenue row keeps its number
   beside the label and the slider under both, like the FRAME rail. One column below 900px, where
   360px of form beside a table of ranges leaves the ranges no room to be read. */
.ed-new-layout{display:grid;grid-template-columns:360px minmax(0,1fr);gap:14px;align-items:start}
.ed-new-form .col{gap:10px}
.ed-new-form label.sm{display:flex;flex-direction:column;gap:4px}
.ed-new-form label.sm.ed-control{display:block;padding:0;border-bottom:0}
.ed-new-form .ed-control .row{gap:8px}
.ed-new-form .ed-control .ed-num{width:130px}
.ed-chips{margin-top:6px;gap:6px}
.ed-chips .chip{cursor:pointer;font:inherit;font-size:11.5px}
.ed-chips .chip[aria-pressed=true]{border-color:rgba(34,103,234,.35)}
.ed-new-form .reasoning-link{margin-top:6px}
.ed-new-form .btn.p{justify-content:center}
.ed-new-form .btn.p:disabled{opacity:.5;cursor:not-allowed}
.ed-new-empty{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;line-height:1.6;color:var(--text-2)}
.ed-new-empty svg{flex:0 0 auto;margin-top:3px}
.ed-estimate-title{font-size:15px;font-weight:600;margin-top:4px}
.ed-estimate-table{margin-top:12px}
.ed-estimate-table td.ed-amount{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.ed-estimate-table .ed-line{gap:7px;flex-wrap:wrap}
.ed-estimate .ed-floor{margin-top:10px;display:flex;align-items:center;gap:6px}
.ed-floor-clears svg{color:var(--green-deep)}
.ed-floor-below{color:var(--red-deep)}
.ed-floor-straddles{color:var(--amber-deep)}
.ed-estimate .ed-funding,.ed-estimate .ed-basis,.ed-estimate .ed-current,.ed-estimate .ed-projection,.ed-estimate .ed-flag{margin-top:6px}
.ed-estimate .ed-flag{color:var(--amber-deep)}
.ed-disclaimer{font-size:13.5px;line-height:1.6;color:var(--text-2);margin:12px 0 8px}
.ed-estimate .ed-unused,.ed-estimate .ed-reference{margin-top:10px}
.ed-estimate-actions{gap:8px;margin-top:12px;flex-wrap:wrap}
.ed-estimate-actions .btn:disabled{opacity:.55;cursor:not-allowed}
.ed-evidence{margin-top:12px}
.ed-evidence .btbl td,.ed-evidence .btbl th{white-space:nowrap}
.ed-stale-note{margin-bottom:10px}
.ed-stale .ed-estimate-table,.ed-stale .ed-funding,.ed-stale .ed-projection{opacity:.55}
@media (max-width:900px){.ed-new-layout{grid-template-columns:1fr}}

/* QUALIFY A BOOK. The prototype's drop card, its read and its result, in this desk's tokens. The
   file input lives inside its label so the label is the button; the input itself is never shown. */
.ed-qualify .ed-advisor{display:flex;align-items:center;gap:8px;margin-bottom:12px;font-size:13px}
.ed-qualify .ed-advisor .mailf{width:300px;max-width:100%}
.ed-drop{min-height:320px;border-style:solid}
.ed-drop.is-drag{border-style:dashed;border-color:var(--blue)}
.ed-drop-body{display:grid;place-items:center;padding:40px;text-align:center}
.ed-drop .verb{margin-top:8px}
.ed-drop .body{max-width:420px;margin:8px auto 0}
.ed-drop-actions{gap:10px;justify-content:center;margin-top:18px;flex-wrap:wrap}
.ed-file{cursor:pointer}
.ed-file input{display:none}
.ed-read h2,.ed-result h2{margin-top:3px;font-size:17px;line-height:1.45;font-weight:600}
.ed-read .btbl-wrap{margin-top:4px}
.ed-read-table td,.ed-result-table td{vertical-align:middle}
.ed-said{display:block;font-size:11px;color:var(--text-muted);margin-bottom:3px}
.ed-sector-note{display:block;font-size:11px;color:var(--text-muted);margin-top:2px}
.ed-sector{width:auto;max-width:280px}
.ed-revenue-fix{width:auto;max-width:160px}
.ed-distinct{margin-left:8px;font-size:11.5px}
.ed-read-actions{gap:8px;margin-top:14px;flex-wrap:wrap}
.ed-result-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px;align-items:start}
.ed-result-table td.ed-amount{white-space:nowrap;font-variant-numeric:tabular-nums}
.ed-firm .kv.ed-firm-kv{grid-template-columns:1fr;margin-top:8px;gap:12px}
.ed-firm-kv .v b{display:block;font-size:12px;font-weight:600;color:var(--text-2);margin-bottom:2px}
.ed-firm .dbar .btn:disabled{opacity:.55;cursor:not-allowed}
@media (max-width:900px){.ed-result-layout{grid-template-columns:1fr}}

.ed-reference-line{margin-top:14px}
/* A sector name is long ("Professional, Scientific, and Technical Services") and every other cell
   in these tables is short: the industry column wraps so the outcome and range stay in view. */
.ed-read-table td:nth-child(2),.ed-result-table td:nth-child(2){white-space:normal;min-width:160px;max-width:240px}

/* The line under the FRAME figures that says what they were computed on: a premium below the
   program minimum, or why nothing could be projected. */
.ed-frame-status{margin:12px 0 0;font-size:12.5px;line-height:1.7;color:var(--co-text-2);max-width:96ch}
.ed-frame-status-off{color:var(--co-amber-deep)}
.ed-logged{margin-top:6px}

/* The four tables under the FRAME calculation, behind their tabs, with Madison's line items and
   labels: a year per row, the line items across, the total as the last column (Kevin and the
   operator, 2026-09-27). */
.ed-sections{display:flex;flex-direction:column;gap:18px;margin-top:18px}
.ed-sections-note{margin:0;font-size:12.5px;line-height:1.5;color:var(--text-muted);max-width:78ch}
.ed-section h3{margin:0;font-size:15px;font-weight:700}
.ed-section-sub{margin:2px 0 8px;font-size:12px;color:var(--text-muted)}
.ed-section-scroll{overflow-x:auto}
.ed-section-table{font-variant-numeric:tabular-nums}
.ed-section-table.ed-section-wide{min-width:1400px}
.ed-section-table th.r{white-space:normal;min-width:96px;vertical-align:bottom}
.ed-section-table td.r{white-space:nowrap}
.ed-section-table .ed-result-col{font-weight:700;background:var(--tint-blue)}
/* Select all and Clear beside the coverages; Show in FRAME under the estimate. */
.ed-chip-actions{display:inline-flex;gap:12px;align-items:center;margin-left:10px}
.ed-show-frame{gap:10px;align-items:center;flex-wrap:wrap;margin-top:6px}
/* Under the prospect picker: what the prospect filled in, and what it could not. */
.ed-fill-missing{color:var(--amber-deep,#b54708)}
.ed-control-hint{display:block;margin-top:4px;font-size:12px;line-height:1.45;color:var(--co-text-3,var(--co-text-2))}
/* The export preview (estimate-export-v1, session 37): who it is for, then the PDF itself, with the
   downloads held at the foot of the drawer. It replaced the qualified book's print-only summary. */
.ed-frame-head{gap:12px;align-items:center}
.ed-export-for{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;padding:14px 20px 10px}
.ed-export-for label{display:flex;flex-direction:column;gap:4px;min-width:200px}
.ed-export-frame{display:block;width:calc(100% - 40px);margin:0 20px;height:calc(100vh - 270px);min-height:420px;border:1px solid var(--line);border-radius:8px;background:#fff}
.ed-export-note{margin:8px 20px}
.ed-export-foot{gap:8px;align-items:center}
