/* Career' screens over the shared shell. Plain, tappable, and honest about what
   was read by the model and what a person decided. The bar, tabs, footer and
   identity chip come from the shell. */
:root{--ink:var(--px-fg,#1E2126);--muted:var(--px-muted,#6B7079);--line:var(--px-rule,#DDD5C5);
  --bg:var(--px-bg,#F5F0E6);--accent:var(--px-accent,#2450B8);--accent-fg:var(--px-accent-fg,#F5F0E6);
  --bad:#B3261E;--wash:var(--px-tint,#DCE6FA);--card:var(--px-card,#FFFFFF);--r:calc(var(--px-radius,10px) * .6)}
/* Career's own theme (20 Oct 2026 visual pass): cards are the shell's (they carry the section wash), and the wash
   behind forms and soft chips is cognac, not the shell's cobalt tint -- the cobalt read as a stray blue panel in dark. */
:root[data-px-section]:not([data-px-skin]){--wash:color-mix(in srgb,var(--sx,#C98A4B) 11%,var(--px-card,#FFFFFF))}
/* Dark (Career's own pages only; the Mark Spain skin pins light): the soft status chips were light-mode pastels,
   bright blocks on the night page. Same meaning, dark grounds. */
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]):not([data-px-skin]){--bad:#F2877F;
  --chip-ok-bg:rgba(76,203,148,.12);--chip-ok:#8FDDB0;--chip-ok-line:rgba(76,203,148,.35);
  --chip-due-bg:rgba(242,196,67,.12);--chip-due:#F2D27A;--chip-due-line:rgba(242,196,67,.35);
  --chip-bad-bg:rgba(242,135,127,.12);--chip-bad-line:rgba(242,135,127,.38)}}
:root[data-theme="dark"]:not([data-px-skin]){--bad:#F2877F;
  --chip-ok-bg:rgba(76,203,148,.12);--chip-ok:#8FDDB0;--chip-ok-line:rgba(76,203,148,.35);
  --chip-due-bg:rgba(242,196,67,.12);--chip-due:#F2D27A;--chip-due-line:rgba(242,196,67,.35);
  --chip-bad-bg:rgba(242,135,127,.12);--chip-bad-line:rgba(242,135,127,.38)}
*{box-sizing:border-box}
[hidden]{display:none !important}
/* The page is the shell's (19 Oct 2026): main.px-page, .px-head, .px-panel, .px-cols -- so The Poindex's
   section theme reaches Career. Forms keep the narrow column; Today, the pipeline and a deal go wide. */
main.px-page{box-sizing:border-box;max-width:792px;margin:0 auto;padding:20px 32px 72px}
@media (max-width:640px){main.px-page{padding:16px 16px 72px}}
h1{font-size:22px;margin:0 0 4px}
h2{font-size:13px;margin:0;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.sub{color:var(--muted);font-size:14px;margin:0 0 20px}
.sub.small{font-size:13px;margin:8px 0 0}
main>section[data-tab]{display:none}
main>section[data-tab].on{display:block}
/* A panel's heading with something on its right (Edit, a count, a link) */
.px-panel>.px-label.head-label{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.head-label a,.head-label button,.head-label .sub{font:500 13px var(--px-font-ui,system-ui);letter-spacing:0;text-transform:none;margin:0;padding:0}
.head-label .sub{color:var(--muted)}
.px-panel>.empty:last-child,.px-panel>div>.empty:only-child{padding-bottom:0}
.head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}
.head.next{margin-top:24px}
ul{list-style:none;margin:0;padding:0}
button{font:inherit;font-weight:600;padding:7px 12px;border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:var(--r);cursor:pointer}
button:hover{border-color:var(--accent)}
button.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-fg)}
button.link{border:0;background:none;padding:4px 6px;font-weight:500;font-size:13px;color:var(--muted);text-decoration:underline}
button.link.danger:hover{color:var(--bad)}
button.comp-open{border:0;background:none;padding:0;font:inherit;color:inherit;cursor:pointer;text-align:left}
button.comp-open b{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
button.comp-open:hover b{color:var(--accent,#1a5fb4)}
button[disabled]{opacity:.5;cursor:default}
form.row{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end;padding:12px;margin-top:10px;background:var(--wash);border:1px solid var(--line);border-radius:var(--r)}
label{display:flex;flex-direction:column;gap:3px;font-size:12px;font-weight:600;color:var(--muted);flex:1;min-width:9rem}
label.wide{flex:1 0 100%}
label.grow{flex:2 1 12rem}
input,select,textarea{font:15px/1.4 inherit;padding:8px 9px;border:1px solid var(--line);border-radius:var(--r);background:var(--card);color:var(--ink);width:100%}
input[type=checkbox],input[type=radio]{width:auto;accent-color:var(--accent)}
input[type=file]{padding:6px}
.msg{padding:9px 11px;margin:10px 0 0;border-left:3px solid var(--line);background:var(--wash);font-size:14px}
.msg.bad{background:var(--hot,var(--wash))}
.msg.bad{border-left-color:var(--bad);color:var(--bad)}
.empty{color:var(--muted);font-size:14px;padding:10px 0}
.gate{max-width:34rem;margin:48px auto;padding:0 16px}
/* A link or a file picker that looks like a button. Plain .btn is the quiet one; .btn.primary is the page's main act
   (20 Oct 2026: every .btn was filled, so a deal page showed five red buttons side by side). */
body.px .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 14px;background:var(--card);color:var(--ink);
  border:1px solid var(--line);border-radius:var(--r);text-decoration:none;font-weight:600;font-size:15px;line-height:1.3;cursor:pointer}
body.px .btn:hover{border-color:var(--accent)}
body.px .btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-fg)}
body.px label.btn,body.px label.chip{flex:none;min-width:0;width:auto}
.acts{align-items:center}
a.link.small{font-size:14px}

/* A document: what it is, what the verdict says, what you can do. */
.doc{padding:14px 0;border-bottom:1px solid var(--line)}
.doc:last-child{border-bottom:0}
.doc .top{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px}
.doc .title{font-weight:600;font-size:16px;overflow-wrap:anywhere}
.doc .title a{color:inherit;text-decoration:none}
.doc .title a:hover{text-decoration:underline}
.doc .sender{color:var(--muted);font-size:13px}
.chip{flex:none;font:600 11px/1.5 var(--px-font-mono,monospace);letter-spacing:.04em;text-transform:uppercase;padding:2px 7px;border:1px solid var(--line);border-radius:calc(var(--r) / 2);background:var(--wash);color:var(--accent)}
a.chip,button.chip,label.chip,.acts .chip,.acts button.chip{display:inline-flex;align-items:center;font:600 11px/1.5 var(--px-font-mono,monospace);padding:2px 7px;cursor:pointer}
a.chip:hover,button.chip:hover,label.chip:hover{border-color:var(--accent)}
.chip.action{background:var(--chip-bad-bg,#FDF3F2);color:var(--bad);border-color:var(--chip-bad-line,#E9C2BE)}
.chip.person{background:var(--chip-ok-bg,#EFF6EE);color:var(--chip-ok,#2F6B37);border-color:var(--chip-ok-line,#CFE3D0)}
.chip.junk{background:var(--chip-due-bg,#F4EFE6);color:var(--chip-due,#7A5A20);border-color:var(--chip-due-line,#E2D6BF)}
.verdict{margin:6px 0 0;font-size:14px}
.verdict b{font-weight:600}
.why{margin:4px 0 0;font-size:13px;color:var(--muted);line-height:1.45}
.route{margin:4px 0 0;font-size:12px;color:var(--muted)}
.acts{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.acts button,body.px .acts .btn{padding:7px 13px;font-size:14px;min-height:38px}
form.edit{margin-top:10px;width:100%}
form.edit label{min-width:8rem}
.conf{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}
.conf .bar{width:46px;height:6px;background:#D5DBE2}
.conf .bar i{display:block;height:100%;background:var(--accent)}

/* Career additions */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:0 0 18px}
.card{border:1px solid var(--line);background:var(--card);padding:12px 14px;border-radius:var(--px-radius,10px)}
.card .n{font:600 24px/1.1 var(--px-font-display,serif)}
.card .l{font-size:12px;color:var(--muted);margin-top:4px}
.card.warn{border-color:#E2B84B}.card.danger,.card.out{border-color:var(--bad)}
.row-item{padding:12px 0;border-bottom:1px solid var(--line);display:flex;flex-wrap:wrap;gap:6px 12px;align-items:baseline}
.row-item .grow{flex:1 1 14rem;min-width:0}
.row-item .t{font-weight:600}
.row-item .m{display:block;color:var(--muted);font-size:13px;overflow-wrap:anywhere}
#dueList>.row-item:last-child,#upcoming>.row-item:last-child{border-bottom:0;padding-bottom:0}
.chip.ok{background:var(--chip-ok-bg,#EFF6EE);color:var(--chip-ok,#2F6B37);border-color:var(--chip-ok-line,#CFE3D0)}
.chip.due{background:var(--chip-due-bg,#FFF6E0);color:var(--chip-due,#7A5A20);border-color:var(--chip-due-line,#E2D6BF)}
.chip.expired{background:var(--chip-bad-bg,#FDF3F2);color:var(--bad);border-color:var(--chip-bad-line,#E9C2BE)}
.chip.unknown{background:var(--wash);color:var(--muted)}
fieldset{border:1px solid var(--line);padding:10px 12px;margin:12px 0}
legend{font:600 12px var(--px-font-mono,monospace);text-transform:uppercase;letter-spacing:.06em;color:var(--muted);padding:0 4px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px}
.grid label{min-width:0}
/* On a phone the appointment sheet is ~70 short fields: two to a row, not one (it ran to 7,600px). Notes-sized boxes
   keep the whole row. */
@media (max-width:640px){#apptDetail fieldset .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px}
  #apptDetail fieldset .grid>label:has(textarea),#apptDetail fieldset .grid>button{grid-column:1/-1}}
textarea{font:15px/1.4 inherit;padding:8px 9px;border:1px solid var(--line);background:var(--card);color:var(--ink);width:100%;min-height:3.2em}
label.check{flex-direction:row;align-items:center;gap:8px;font-size:14px;font-weight:500;color:var(--ink)}
label.check input{width:auto}
.saved{font-size:12px;color:var(--muted);margin-left:8px}
details.add{margin-top:14px}
details.add summary{cursor:pointer;font-weight:600}

/* Playbook (#330) */
.subnav{display:flex;flex-wrap:wrap;gap:4px 14px;margin:0 0 16px;font-size:14px}
.subnav a{color:var(--muted);text-decoration:none;padding:4px 0;border-bottom:2px solid transparent}
.subnav a[aria-current=page]{color:var(--ink);border-bottom-color:var(--accent);font-weight:600}
a.card.link{color:inherit;text-decoration:none;display:block}
a.card.link:hover{border-color:var(--accent)}
a.chip{text-decoration:none}
.bar{display:block;position:relative;height:6px;background:#E6E0D3;margin-top:6px;max-width:320px}
.bar i,.bar b{position:absolute;left:0;top:0;height:100%}
.bar i{background:#B9C9EE}.bar b{background:var(--accent)}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 10px}
.front{font:600 20px/1.35 var(--px-font-display,serif);margin:6px 0 14px;overflow-wrap:anywhere;white-space:pre-line}
.back{font-size:17px;line-height:1.5;padding:12px 14px;background:var(--card);border:1px solid var(--line);white-space:pre-line;overflow-wrap:anywhere}
.back.script{border-left:4px solid var(--accent);font-style:italic}
.review .answer{margin:14px 0}
.grades{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:12px}
.grades button{display:flex;flex-direction:column;align-items:center;padding:10px 4px}
.grades small{font-weight:400;font-size:11px;opacity:.8}
@media (max-width:420px){.grades{grid-template-columns:repeat(2,1fr)}}
.cite{font-size:13px;color:var(--muted);margin:8px 0 0;overflow-wrap:anywhere}
.md{font-size:15px;line-height:1.55;overflow-wrap:anywhere}
.md h2,.md h3,.md h4,.md h5{text-transform:none;letter-spacing:0;color:var(--ink);margin:22px 0 8px}
.md h2{font:600 20px/1.3 var(--px-font-display,serif)}.md h3{font-size:17px}.md h4,.md h5{font-size:15px}
.md ul,.md ol{margin:6px 0 10px;padding-left:1.2em}.md ul{list-style:disc}.md li{margin:3px 0}
.md blockquote{margin:8px 0;padding:6px 12px;border-left:3px solid var(--accent);background:var(--wash)}
.md code{font:13px var(--px-font-mono,monospace);background:var(--wash);padding:0 3px}
.md hr{border:0;border-top:1px solid var(--line);margin:18px 0}
.md .tbl{overflow-x:auto;margin:10px 0}
.md table{border-collapse:collapse;font-size:14px;min-width:100%}
.md th,.md td{border:1px solid var(--line);padding:6px 8px;text-align:left;vertical-align:top}
.md th{background:var(--wash)}
.md li.d1{margin-left:1.1em}.md li.d2{margin-left:2.2em}.md li.d3{margin-left:3.3em}

/* The hub (#332). Mark Spain skin: black and MSRE red (#D11242, brand guide 2021). */
body.px.msre{--accent:#D11242;--accent-fg:#FFFFFF;--wash:#FBEFF2}
body.px.msre h1{letter-spacing:-.01em}
.band{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;margin:0 0 16px;background:#FFFFFF;border:1px solid var(--line);border-top:4px solid var(--accent)}
.band .logo{height:54px;width:auto}
.band .who{font-size:13px;color:var(--muted);text-align:right}
.apps{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:8px;margin-bottom:6px}
.app{display:flex;align-items:center;justify-content:center;text-align:center;min-height:48px;padding:8px;border:1px solid var(--line);background:var(--card);color:var(--ink);font-weight:600;font-size:14px;text-decoration:none}
.app:hover{border-color:var(--accent);color:var(--accent)}
.app.missing{color:var(--muted);border-style:dashed;font-weight:500}
.app-edit{display:flex;flex-direction:column;gap:4px;padding:8px;border:1px solid var(--line);background:var(--card)}
.app-edit small{color:var(--muted);font-size:11px}
.apps form.row{grid-column:1/-1}
.flow{display:grid;grid-template-columns:repeat(5,1fr);gap:0;border:1px solid var(--line);background:var(--card)}
.flow .step{position:relative;display:flex;flex-direction:column;align-items:center;padding:10px 2px;text-decoration:none;color:var(--ink);border-left:1px solid var(--line)}
.flow .step:first-child{border-left:0}
.flow .step .n{font:600 22px/1 var(--px-font-display,serif)}
.flow .step .l{font-size:11px;color:var(--muted);margin-top:4px}
.flow .step .conv{position:absolute;left:-14px;top:50%;transform:translateY(-50%);font:600 10px var(--px-font-mono,monospace);background:var(--accent);color:var(--accent-fg);padding:1px 3px;z-index:1}
.goals{margin-top:12px;display:grid;gap:8px}
.goal{padding:10px 12px;border:1px solid var(--line);background:var(--card)}
.goal .t{font-weight:600;font-size:14px}.goal .m{font-size:12px;color:var(--muted)}
.goal progress{width:100%;height:8px;accent-color:var(--accent)}
.guide-btns{display:flex;flex-wrap:wrap;gap:6px}
.guide-btns button{font-size:14px}
.seg{display:flex;border:1px solid var(--line);margin:0 0 14px;width:max-content;max-width:100%}
.seg a{padding:6px 12px;font-size:13px;text-decoration:none;color:var(--muted);border-left:1px solid var(--line)}
.seg a:first-child{border-left:0}.seg a.on{background:var(--accent);color:var(--accent-fg);font-weight:600}
.funnel{display:flex;flex-direction:column;gap:2px}
.fstage{display:grid;grid-template-columns:8.5rem 1fr 2.2rem;grid-template-rows:auto auto;align-items:center;gap:2px 8px;padding:8px 10px;border:1px solid var(--line);background:var(--card);text-decoration:none;color:var(--ink)}
.fstage.on{border-color:var(--accent);box-shadow:inset 3px 0 0 var(--accent)}
.fstage .name{font-weight:600;font-size:14px}
.fstage .track{height:12px;background:#EEE8DC}.fstage .fill{display:block;height:100%;background:var(--accent)}
.fstage .n{font:600 18px var(--px-font-display,serif);text-align:right}
.fstage .now{grid-column:1/-1;font-size:12px;color:var(--muted)}
.funnel .arrow{font-size:12px;color:var(--muted);padding:2px 0 2px 14px}
.goal-line{font-size:14px;margin:6px 0 0}
a.deal-row{text-decoration:none;color:inherit}
a.deal-row:hover .t{color:var(--accent)}
.stepper{display:grid;grid-template-columns:repeat(5,1fr);list-style:none;margin:10px 0;padding:0;counter-reset:s}
.stepper li{position:relative;text-align:center;font-size:12px;color:var(--muted);padding-top:22px}
.stepper li::before{counter-increment:s;content:counter(s);position:absolute;top:0;left:50%;transform:translateX(-50%);width:18px;height:18px;line-height:18px;border:1px solid var(--line);background:var(--card);font-size:11px}
.stepper li.done::before{content:"✓";background:var(--accent);color:var(--accent-fg);border-color:var(--accent)}
.stepper li.on{color:var(--ink);font-weight:600}.stepper li.on::before{border:2px solid var(--accent)}
.stepper li.lost::before{content:"✕";background:var(--bad);color:#fff;border-color:var(--bad)}
.stepper small{display:block;font-weight:400;font-size:10px}
.check-item{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 10px;padding:8px 0;border-bottom:1px solid var(--line)}
.check-item:last-child{border-bottom:0}
.check-item label.check{flex:1 1 16rem;min-width:0}
.check-item.ticked label span{color:var(--muted);text-decoration:line-through}
.item-acts{display:flex;align-items:center;gap:6px}
.item-acts .chip{cursor:pointer;text-decoration:none}
.guide-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.guide-card{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;padding:14px;min-height:78px;border-top:3px solid var(--accent)}
.guide-card small{font-weight:400;color:var(--muted)}
.guide-card.missing{opacity:.6}
body.px.msre .guide-card{border-top-color:var(--ink)}
.drawer{position:fixed;top:0;right:0;bottom:0;width:min(520px,100vw);background:var(--bg);border-left:1px solid var(--line);box-shadow:-8px 0 24px rgba(0,0,0,.12);z-index:50;display:flex;flex-direction:column}
.drawer-head{display:flex;align-items:center;gap:10px;padding:12px 16px;border-bottom:3px solid var(--accent);background:var(--card)}
.drawer-title{flex:1;font-size:16px}
.drawer-full{font-size:13px}
.drawer-toc{display:flex;gap:6px;overflow-x:auto;padding:8px 16px;border-bottom:1px solid var(--line);flex:none}
.drawer-toc .chip{white-space:nowrap;cursor:pointer}
.drawer-body{overflow-y:auto;padding:4px 16px 40px;flex:1}
.drawer-body .md h3,.drawer-body .md h4{scroll-margin-top:8px}
/* In the Mark Spain skin, links are red and the big tap targets are black. */
body.px.msre main a,body.px.msre .drawer a{color:var(--accent)}
body.px.msre main a.app,body.px.msre main a.fstage,body.px.msre main .flow a.step,body.px.msre main a.deal-row{color:var(--ink)}
body.px.msre main a.app:hover{color:var(--accent)}
body.px.msre main a.btn,body.px.msre main .seg a.on{color:var(--accent-fg)}
body.px.msre .fstage .name{color:var(--ink)}
.deal-title{font:600 22px/1.25 var(--px-font-display,serif);margin:4px 0 2px;overflow-wrap:anywhere}
.deal-title{text-transform:none;letter-spacing:0;color:var(--ink)}
/* A deal's CMA & NONL prep */
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:6px 16px;margin:4px 0 8px}
.fact{display:flex;flex-direction:column;min-width:0}
.fact .k{font-size:12px;color:var(--muted)}
.fact .v{overflow-wrap:anywhere}
.check-item input.short{width:7rem;margin-left:8px}
.check-item .grow{flex:1 1 16rem;min-width:0}
ul.rules{margin:4px 0 0;padding-left:18px;font-size:13px;color:var(--muted)}
ul.msg{padding-left:24px}
/* The CMA, built in order */
h3.steps-head{margin:18px 0 6px}
details.step{border:1px solid var(--line);border-radius:8px;padding:0 12px;margin:8px 0;background:var(--card,transparent)}
details.step[open]{padding-bottom:12px}
details.step.next{border-color:#E2B84B}
details.step summary{display:flex;align-items:center;gap:8px;padding:10px 0;cursor:pointer;list-style:none}
details.step summary::-webkit-details-marker{display:none}
details.step .num{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--wash);font-weight:700;flex:none}
details.step.done .num{background:#EFF6EE;color:#2F6B37}
details.step .name{font-weight:600;flex:1}
.slot{border-top:1px dashed var(--line);margin-top:10px;padding-top:8px}
.slot-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.slot-head .upload{cursor:pointer;margin-left:auto}
.slot .file{padding:4px 0;overflow-wrap:anywhere}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
p.missing{margin:10px 0 0;font-size:13px;color:#7A5A20}
.fits{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}
p.counts{display:flex;flex-wrap:wrap;gap:4px}
details.record summary{font-weight:600}
.cites{margin:4px 0 8px;padding-left:18px;font-size:13px}.cites li{margin:2px 0}.restrictions h3{margin:12px 0 4px;font-size:14px}

/* One deal's bar (8 Oct 2026): appointment, deal and CMA & NONL are tabs of the same deal */
.dealbar{position:sticky;top:0;z-index:5;background:var(--bg);padding:6px 0 0;margin:0 0 14px;border-bottom:1px solid var(--line)}
.dealbar-top{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px}
.dealbar-top select{max-width:60%;font-size:13px}
.dealbar .sub{margin:2px 0 6px}
.dtabs{display:flex;gap:4px 18px;flex-wrap:wrap;font-size:15px}
/* The tabs themselves only (2 Nov 2026): as `.dtabs span` this padded and bordered EVERY span inside a tab, which stretched
   the 6px "now" dot into a 6x15 oval and made each badge 19px tall. */
.dtabs>a,.dtabs>span{padding:6px 0;border-bottom:3px solid transparent;color:var(--muted);text-decoration:none}
.dtabs a[aria-current=page]{color:var(--ink);border-bottom-color:var(--accent);font-weight:600}
.dtabs span.off{opacity:.45}
.group-head{font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin:18px 0 0}
.deal-row .item-acts{flex-wrap:wrap}

/* Reports (8 Oct 2026): each one prints on its own pages; Print marks it, the rest is hidden */
.report{background:var(--card);border:1px solid var(--line);padding:16px;margin:0 0 16px}
.report-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.report h3{margin:0;font-size:19px}
.report h4{margin:16px 0 6px;font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.report .big{font:600 26px/1.2 var(--px-font-display,serif);margin:4px 0}
.facts-table,.report-table{border-collapse:collapse;width:100%;font-size:14px}
.facts-table th{text-align:left;font-weight:500;color:var(--muted);padding:4px 12px 4px 0;width:38%;vertical-align:top}
.facts-table td{padding:4px 0;overflow-wrap:anywhere}
.report-table{font-size:12px;display:block;overflow-x:auto}
.report-table th,.report-table td{text-align:left;padding:4px 6px;border-bottom:1px solid var(--line);white-space:nowrap}
.doc-list{padding-left:18px}
@media print{
  body.printing>*:not(main),body.printing main>*:not(section.on),body.printing section.on>*:not(#pipeView),
  body.printing #pipeView>*:not(.report),body.printing .report:not(.print-me),body.printing .no-print{display:none!important}
  body.printing{background:#fff}
  body.printing .report{border:0;padding:0;margin:0;break-after:page}
  body.printing .report:last-of-type{break-after:auto}
  body.printing .report-table{display:table;font-size:10px}
  body.printing .report-table th,body.printing .report-table td{white-space:normal}
  body.printing a{color:inherit;text-decoration:none}
}
.story-box .story{background:var(--card);border:2px solid var(--accent);padding:14px 16px;margin:0 0 16px}
.story .conflicts{padding-left:0;list-style:none}
.story .conflicts li{padding:6px 0;border-bottom:1px solid var(--line)}
.story-box{scroll-margin-top:150px}
/* A landing that scrolls a tall box to its top keeps it clear of the sticky header (5 Nov 2026). */
.fill-here,details.step{scroll-margin-top:84px}
/* The valuation on the comps step (16 Oct 2026) */
.valuation{border-top:1px solid var(--line,#e6e1d8);margin-top:12px;padding-top:8px}
.valuation .big{font:600 28px/1.2 var(--px-font-display,serif);margin:2px 0}
.value-levels tr.here td{background:#EFF6EE}
.value-levels td,.adj td{padding:4px 6px;vertical-align:top}
.adj td.num{text-align:right;white-space:nowrap}
details.feat summary{cursor:pointer}
details.feat ul{margin:4px 0 4px 18px;font-size:13px;color:var(--muted)}
ul.cautions{padding-left:18px}
select.mini{font-size:13px;padding:2px 4px;margin-right:4px}
.report .lede{font-size:15px;line-height:1.5}
.fits select.mini{width:auto;max-width:32%;display:inline-block;flex:1 1 0}
.report-table{display:block;overflow-x:auto;white-space:nowrap}
.report-table td{white-space:normal;min-width:4em}
/* On paper a report's table wraps and shrinks to the page whichever way it is printed: the app's Print button (body.printing)
   or the browser's own menu (31 Oct 2026: the CMA's comps table ran past the edge from the menu). */
@media print{.report-table{display:table;white-space:normal;font-size:10px}.report-table th,.report-table td{white-space:normal}}
/* Uploads read in (16 Oct 2026): the questions, and the folder drop */
div.asks{border:1px solid #E2D6BF;background:#FFF9EC;border-radius:10px;padding:10px 12px;margin:10px 0}
div.asks h3{margin:0 0 6px;font-size:16px}
.ask{display:flex;gap:8px;align-items:flex-start;padding:6px 0;border-top:1px solid #EFE6D3}
.ask:first-of-type{border-top:0}
.drop-zone{border:2px dashed var(--line,#d9d3c7);border-radius:12px;padding:12px;margin:10px 0;background:var(--wash,#faf8f4)}
.drop-zone.over{border-color:var(--accent,#D11242);background:#FDF3F5}
.drop-log{margin:6px 0 0 18px;font-size:13px}
.ask .item-acts{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex:none}

/* The redesign (16 Oct 2026, "build it"; mock-up: claude.ai/artifact/NvPymw6eY9bhouam5VZGTt).
   Today, the pipeline and a deal are wider than the forms; the Mark Spain skin goes bolder:
   Libre Franklin, white panels on warm grey, square corners, red only for what's urgent or the main act. */
@font-face{font-family:"Libre Franklin";font-style:normal;font-weight:400 800;font-display:swap;src:url(/career/fonts/libre-franklin-latin.woff2) format("woff2")} /* OFL 1.1, self-hosted: the CSP allows no font host but the shell's */
main.px-page.wide{max-width:var(--px-max,1320px)}
/* The tab row sits outside <main>, so "Today" was on the window's edge (#392, 17 Oct 2026, "literally on the edge
   of the page"). The rule still runs the full width; the tabs start where main's text starts, wide or narrow. */
.area-tabs{--col:792px;--gut:32px;padding:8px max(var(--gut),calc((100% - var(--col)) / 2 + var(--gut))) 0}
@media (max-width:640px){.area-tabs{--gut:16px}}
.area-tabs.wide{--col:1320px}
/* Mark Spain, its own area inside Career (19 Oct 2026): ONE way in on Career's tab row, set apart from the tabs,
   and "← Career" leading the area's own row. */
.area-tabs{display:flex;align-items:center;flex-wrap:wrap}
/* A way out of the row, not a tab: a small pill sitting on the row (20 Oct 2026: it was a square box whose bottom
   edge sat on the rule, and on a phone it hung alone at the right of a second line). */
body.px .area-tabs a.area-link{margin:0 0 6px auto;align-self:center;padding:5px 12px;border:1px solid var(--line);border-radius:999px;
  background:var(--card);color:var(--ink);font-weight:700;font-size:13px;line-height:1.2;text-decoration:none;white-space:nowrap}
body.px .area-tabs a.area-link.is-msre{border-color:color-mix(in srgb,#D11242 45%,var(--line));color:#C0103D;font-family:"Libre Franklin",var(--px-font-ui,system-ui),sans-serif}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) body.px .area-tabs a.area-link.is-msre{color:#FF8FA9;border-color:rgba(255,143,169,.45)}}
:root[data-theme="dark"] body.px .area-tabs a.area-link.is-msre{color:#FF8FA9;border-color:rgba(255,143,169,.45)}
.area-tabs a.area-link:hover{background:var(--wash)}
body.px .area-tabs a.area-back{color:var(--muted);font-weight:600;margin-right:4px;padding:6px 16px 8px 0;border-right:1px solid var(--line);text-decoration:none}
@media (max-width:640px){#msreTabs{flex-wrap:nowrap;overflow-x:auto}#tabs{row-gap:0}body.px #tabs a.area-link{margin:4px 0 8px;order:9}#tabs::after{content:"";order:8;flex-basis:100%}}
/* Career's Today: one line for the listing job, into its area */
a.job-line{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;color:var(--ink);text-decoration:none}
a.job-line:hover{border-color:var(--accent)}
a.job-line.is-msre:hover{border-color:#D11242}
a.job-line.is-urgent{border-left:3px solid var(--px-warm, #b5522e)}
.job-lines{display:flex;flex-direction:column;gap:0}
.pay-form{margin:4px 0 12px;padding:10px 12px;background:var(--wash);border-radius:var(--px-radius,10px)}
.job-who{display:flex;align-items:center;gap:12px;flex:none}
.job-who img.mark{height:30px}
.job-role{font-size:13px;color:var(--muted)}
.job-what{display:flex;flex-direction:column;gap:2px;flex:1 1 16rem;min-width:0;font-size:14px}
.job-what span{color:var(--muted);overflow-wrap:anywhere}
.job-go{font-weight:700;font-size:14px;color:var(--accent)}
a.job-line.is-msre .job-go{color:#D11242}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) a.job-line.is-msre .job-go{color:#FF8FA9}}
body.px.msre{--line:#E2DFD8;--muted:#5F646C;--card:#FFFFFF;--deep:#8A0B2C;background:#F4F3F0}
/* The skin is light only (#388, 17 Oct 2026, "What is with the color on the phone"): a phone in dark mode
   remapped the shell's tokens, so --ink went cream on these white panels. Pin the shell's light tokens back. */
body.px.msre{color-scheme:light;--px-bg:#F5F0E6;--px-fg:#1E2126;--px-muted:#6B7079;--px-rule:#DDD5C5;--px-accent:#2450B8;
  --px-accent-fg:#F5F0E6;--px-tint:#DCE6FA;--px-warm:#C96A3B;--px-card:#FFFFFF;--px-radius:0;--ink:#1E2126;color:#1E2126}
:root[data-px-skin="msre"]{color-scheme:light}
/* The skin is the Mark Spain pages' only (19 Oct 2026): the pipeline, a deal, appointments, guides, the playbook.
   Their title wears the mark; Today, Jobs and Licenses & dues are Career's own, light or dark. */
.px-head .msre-mark{display:none}
body.px.msre .px-head{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;align-items:center}
body.px.msre .px-head>:not(.msre-mark){grid-column:1}
body.px.msre .px-head .msre-mark{display:block;grid-column:2;grid-row:1 / span 2;height:52px;width:auto}
@media (max-width:640px){body.px.msre .px-head .msre-mark{height:38px}}
body.px.msre .px-panel{border-color:var(--line)}
/* The skin's red, kept for what's urgent and the main act (20 Oct 2026 visual pass). The wash behind forms and drop
   boxes is warm grey; pink (--hot) is only for what's late or wrong. Square corners everywhere, as the panels are. */
body.px.msre{--wash:#F4F3F0;--hot:#FBEFF2;--r:0}
body.px.msre .chip{background:#F4F3F0;color:var(--ink);border-color:var(--line)}
body.px.msre main a.chip,body.px.msre main button.chip,body.px.msre main label.chip{color:var(--ink);background:var(--card)}
body.px.msre main a.chip:hover,body.px.msre main button.chip:hover,body.px.msre main label.chip:hover{color:var(--accent);border-color:var(--accent)}
body.px.msre .chip.action,body.px.msre .chip.expired{background:var(--hot);color:var(--deep);border-color:#EBC3CD}
body.px.msre .chip.ok,body.px.msre .chip.person{background:#EFF6EE;color:#2F6B37;border-color:#CFE3D0}
body.px.msre .chip.due,body.px.msre .chip.junk{background:#FFF6E0;color:#6B4E14;border-color:#E2D6BF}
body.px.msre .pill.late,body.px.msre .dcard .next.late,body.px.msre .nextstep.late,body.px.msre .ai-usage.stop{background:var(--hot)}
body.px.msre .drop-zone{background:var(--card);border-color:#CFCBC2}
body.px.msre .drop-zone.over{border-color:var(--accent);background:var(--hot)}
body.px.msre .listing-talk{background:#F4F3F0;border-left-color:var(--ink)}
body.px.msre .listing textarea{background:var(--card)}
body.px.msre .sb-hero,body.px.msre .sb-card,body.px.msre .offers-box .offer-card,body.px.msre .go-check,body.px.msre .snap-tile,
body.px.msre .comp-card,body.px.msre .review-box,body.px.msre details.step,body.px.msre div.asks,body.px.msre .drop-zone,
body.px.msre .report .offer-print,body.px.msre .sb-path,body.px.msre .card{border-radius:0}
/* Links that are whole cards or rows read as ink; the red is the hover. */
body.px.msre main a.card.link,body.px.msre main a.sb-strip,body.px.msre main .nextstep a.t,body.px.msre main a.job-line,
body.px.msre main .subnav a{color:var(--ink)}
body.px.msre main .subnav a{color:var(--muted)}
body.px.msre main .subnav a[aria-current=page]{color:var(--ink)}
body.px.msre main .nextstep.late a.t{color:var(--deep)}
body.px.msre main a.card.link:hover{border-color:var(--ink)}
body.px.msre main .row-item a.t{color:var(--ink);text-decoration:none}
body.px.msre main .row-item a.t:hover{color:var(--accent);text-decoration:underline}
body.px.msre main a.btn:not(.primary){color:var(--ink)}
body.px.msre main a.btn:not(.primary):hover{border-color:var(--ink)}
/* Panels drawn as fieldsets: the legend sits inside the box as the shell's .px-label does, not notched into the border. */
body.px.msre main fieldset{background:var(--card);padding:14px 18px 16px;margin:0 0 16px}
body.px.msre main fieldset>legend{float:left;width:100%;margin:0 0 10px;padding:0 0 10px;border-bottom:1px solid var(--line);
  font:600 12px/1.3 var(--px-font-mono,monospace);letter-spacing:.08em;color:var(--muted)}
body.px.msre main fieldset>legend+*{clear:both}
body.px.msre main fieldset fieldset{padding:10px 12px;background:transparent}
/* Career's Today, where the job is Mark Spain's: a small mark on the next appointment and on the job's apps */
.next-kick{display:flex;justify-content:space-between;align-items:center;gap:10px}
img.mark{display:block;height:28px;width:auto;background:#FFFFFF;padding:3px 6px;box-sizing:content-box}
.with-mark{display:inline-flex;align-items:center;gap:10px}
.apps-panel img.mark{height:18px;padding:2px 5px}
.apps-panel.is-msre{--accent:#D11242}
/* Inside the area: its tab row in the skin's red, the title in Libre Franklin, the dark card's kicker readable */
body.px.msre #msreTabs{--px-accent:#D11242}
body.px.msre main .px-head h1{font-family:"Libre Franklin",var(--px-font-ui,system-ui),sans-serif;font-weight:800;letter-spacing:-.02em}
body.px.msre .next-appt .kicker{color:#F2A7B9}
body.px.msre main{font-family:"Libre Franklin",var(--px-font-ui,system-ui),sans-serif;--px-font-display:"Libre Franklin",var(--px-font-ui,system-ui),sans-serif}
body.px.msre main h1{font-weight:800;letter-spacing:-.02em}
body.px.msre main button.primary,body.px.msre main a.btn{font-weight:700}
body.px.msre main section{border-top:0}
.kicker{margin:0;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
body.px.msre .kicker{color:var(--deep,#8A0B2C)}
/* Today */
.today-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 16px;margin:8px 0 18px}
h2.today-title{font-size:clamp(26px,4vw,38px);font-weight:800;letter-spacing:-.02em;text-transform:none;color:var(--ink);margin:2px 0 0;line-height:1.1}
.pills{display:flex;flex-wrap:wrap;gap:6px}
.pill{padding:5px 11px;font-size:13px;font-weight:700;background:var(--card);border:1px solid var(--line)}
.pill.late{background:var(--wash);color:var(--deep,var(--bad));border-color:transparent}
.today-cols{margin-bottom:16px}
.today-main{min-width:0}
.today-side{display:flex;flex-direction:column;gap:14px;min-width:0}
.today-side>.px-panel{margin:0}
.needs-pile.late .px-label{color:var(--deep,var(--bad))}
body.px.msre .px-need.is-urgent{border-left-color:var(--accent)}
body.px.msre main a.px-need-title{color:var(--ink)}
body.px.msre main .px-need.is-urgent a.px-need-title{color:var(--deep)}
.next-appt{background:#1E2126;color:#FFFFFF;padding:20px;display:flex;flex-direction:column;gap:4px}
.next-appt .kicker{color:#F2A7B9}
.next-appt .when{margin:6px 0 0;font-size:24px;font-weight:800}
.next-appt .where{margin:0;font-size:16px;font-weight:600;overflow-wrap:anywhere}
.next-appt .who{margin:0;font-size:14px;color:#C9CCD1}
body.px .next-appt a.btn,body.px.msre main .next-appt a.btn{margin-top:14px;text-align:center;background:#FFFFFF;color:#1E2126;padding:12px}
.stage-counts .counts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:10px}
.stage-counts a{display:flex;flex-direction:column;text-decoration:none;color:var(--ink)}
body.px.msre main .stage-counts a{color:var(--ink)}
.stage-counts b{font-size:24px;font-weight:800}
.stage-counts span{font-size:11px;color:var(--muted);font-weight:600;overflow-wrap:anywhere}
/* A CMA meter: on a card, in the next-appointment box, on the deal's tab */
.meter{display:flex;flex-direction:column;gap:4px;margin-top:8px;width:100%}
.meter-l{display:flex;justify-content:space-between;font-size:12px;font-weight:600;color:var(--muted)}
.meter-l b{color:var(--ink)}
.meter .track{height:6px;background:var(--line);display:block}
body.px.msre .meter .track{background:#ECEAE5}
.meter .fill{display:block;height:100%;background:var(--accent)}
.meter.full .fill{background:var(--ink)}
.meter.dark .meter-l,.meter.dark .meter-l b{color:#FFFFFF}
.meter.dark .track{background:#3A3E45}
.band{padding:10px 14px;margin:0 0 8px}
.band .logo{height:40px}
/* The pipeline board */
.board-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin:0 0 12px}
.stage-chips{display:flex;gap:6px;overflow-x:auto;max-width:100%;padding-bottom:2px}
.stage-chips a{flex:none;padding:8px 12px;min-height:40px;display:flex;align-items:center;border:1px solid var(--line);background:var(--card);color:var(--ink);font-weight:700;font-size:14px;text-decoration:none;white-space:nowrap}
body.px.msre main .stage-chips a{color:var(--ink)}
.stage-chips a.on,body.px.msre main .stage-chips a.on{background:var(--ink);color:#FFFFFF;border-color:var(--ink)}
/* Every stage in one row (20 Oct 2026: the sixth column, ISA rebooking, pushed Closed onto a row of its own); the row
   scrolls sideways before a card gets narrower than 188px. Heads bottom-aligned so a two-line one keeps the rules level. */
.board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(188px,1fr);gap:12px;overflow-x:auto;padding-bottom:6px}
.board.one{grid-auto-flow:row;grid-template-columns:minmax(0,560px)}
.col{background:#ECEAE5;padding:10px;display:flex;flex-direction:column;gap:8px;min-height:240px}
.col.over{outline:2px dashed var(--accent);outline-offset:-2px}
.col-head{display:flex;justify-content:space-between;align-items:flex-end;gap:8px;padding:2px 2px 8px;border-bottom:3px solid var(--ink);min-height:calc(2.6em + 10px)}
.col-head a{line-height:1.3}
.col-head a{font-weight:800;font-size:14px;text-transform:uppercase;letter-spacing:.06em;color:var(--ink);text-decoration:none}
body.px.msre main .col-head a{color:var(--ink)}
.col-head b{color:var(--muted)}
.col-empty{margin:4px 2px;font-size:13px;color:var(--muted)}
.col-more{font-size:13px;font-weight:600;padding:4px 2px}
a.dcard{display:flex;flex-direction:column;gap:5px;background:var(--card);border:1px solid var(--line);padding:12px;color:var(--ink);text-decoration:none;cursor:grab}
body.px.msre main a.dcard{color:var(--ink)}
a.dcard:hover{border-color:var(--ink)}
a.dcard.dragging{opacity:.5}
.dcard .addr{font-weight:800;font-size:15px;line-height:1.25;overflow-wrap:anywhere}
.dcard .meta,.dcard .days{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.dcard .when{font-size:13px;font-weight:700}
.dcard .next{font-size:13px;font-weight:600;padding:7px 9px;background:#F4F3F0;line-height:1.3}
.dcard .next.late{background:var(--wash);color:var(--deep,var(--bad))}
.dcard .asks-n{align-self:flex-start;font-size:12px;font-weight:700;padding:2px 8px;background:var(--accent);color:var(--accent-fg)}
.dcard .meter{margin-top:2px}
details.conversion{margin-top:24px}
@media (max-width:720px){
  .board{grid-auto-flow:row;grid-template-columns:minmax(0,1fr);overflow:visible}
  .col-head{min-height:0}
  .col{min-height:0;background:transparent;padding:0}
  .col-empty{display:none}
  .board:not(.one) .col:has(.col-empty){display:none}
}
/* One deal, one header (16 Oct 2026): stage bar, the move forward, five tabs -- along the bottom on a phone */
.dealbar{background:var(--card);border:1px solid var(--line);border-top:0;padding:10px 16px 0;margin:0 0 18px}
body.px.msre .dealbar{border-top:4px solid var(--accent)}
.dealbar-main{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:10px 16px;margin-top:4px}
.dealbar .deal-title{font:800 clamp(22px,3vw,30px)/1.15 "Libre Franklin",var(--px-font-ui,system-ui),sans-serif;letter-spacing:-.02em;margin:2px 0}
body.px:not(.msre) .dealbar .deal-title{font-family:var(--px-font-display,serif);font-weight:600}
.dealbar .sub{margin:2px 0 0;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.dealbar-go .btn,.dealbar-go button{min-height:44px;padding:10px 18px}
.stagebar{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
.stagebar li{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;color:var(--muted)}
.stagebar .sb{display:block;height:6px;background:var(--line)}
.stagebar li.done{color:var(--ink)}.stagebar li.done .sb{background:var(--ink)}
.stagebar li.on{color:var(--ink);font-weight:800}.stagebar li.on .sb{background:var(--accent)}
.stagebar li.lost{color:var(--bad);font-weight:800}.stagebar li.lost .sb{background:var(--bad)}
.dealbar .dtabs{display:flex;gap:2px;flex-wrap:nowrap;overflow-x:auto;margin-top:10px;font-size:15px}
.dealbar .dtabs a,.dealbar .dtabs span.off{display:flex;align-items:center;gap:6px;min-height:46px;padding:0 14px;border-bottom:3px solid transparent;color:var(--muted);text-decoration:none;font-weight:700;white-space:nowrap}
body.px.msre main .dealbar .dtabs a{color:var(--muted)}
.dealbar .dtabs a[aria-current=page],body.px.msre main .dealbar .dtabs a[aria-current=page]{color:var(--ink);border-bottom-color:var(--accent)}
.dtabs .b{font-size:11px;font-weight:700;padding:2px 6px;background:#F4F3F0;color:var(--ink)}
.dtabs .b.ask{background:var(--accent);color:var(--accent-fg)}
/* The five steps (31 Oct 2026): a long label on a wide screen, a short one on a phone's bottom row; the deal's step marked. */
.dtabs .t .short{display:none}
.dtabs .t{display:inline-flex;align-items:center}
.dtabs .now-dot{display:inline-block;flex:none;width:7px;height:7px;border-radius:50%;background:var(--accent);margin-left:6px;vertical-align:middle}
.deal-grid{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}
.deal-main{flex:999 1 520px;min-width:0}
.deal-side{flex:1 1 300px;min-width:0}
.deal-main>fieldset,.deal-side>fieldset{background:var(--card);margin-top:0}
body.px.msre main fieldset{border-color:var(--line)}
@media (max-width:720px){
  .dealbar{position:static}
  .dealbar .dtabs{position:fixed;left:0;right:0;bottom:0;z-index:40;margin:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:var(--card);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom);overflow:visible}
  .dealbar .dtabs a,.dealbar .dtabs span.off{flex-direction:column;justify-content:center;gap:2px;min-height:58px;padding:4px 2px;font-size:11px;border-bottom:0;border-top:3px solid transparent;position:relative}
  .dealbar .dtabs a[aria-current=page],body.px.msre main .dealbar .dtabs a[aria-current=page]{border-top-color:var(--accent)}
  .dtabs .b{position:absolute;top:3px;right:2px;font-size:9px;padding:1px 4px}
  .dtabs .b.ask{right:auto;left:2px}
  .dtabs .t .long{display:none}.dtabs .t .short{display:inline}
  .dealbar .dtabs a,.dealbar .dtabs span.off{font-size:10.5px}
  .dtabs .now-dot{position:absolute;top:5px;left:5px;margin:0;width:6px;height:6px}
  /* The row's height for the shell (2 Nov 2026, the owner on his phone: Feedback sat on Home and Prep, Poindexter on Live,
     Closing and Reports). --px-dock lifts the shell's two buttons above it (shell.css); 1px rule + 58px tabs + the inset.
     The page's end clears the row AND the buttons over it: the dock, 16px, a 44px button, 16px. */
  body.in-deal{--px-dock:calc(59px + env(safe-area-inset-bottom))}
  body.in-deal main{padding-bottom:calc(var(--px-dock) + 76px)}
  body.in-deal .px-foot,body.in-deal footer{padding-bottom:calc(var(--px-dock) + 76px)}
  .stagebar li span:last-child{font-size:10px}
}
body.in-deal main>.px-head{display:none!important}
.dealbar-top select{max-width:min(340px,60%)}
.stagebar .short{display:none}
@media (max-width:720px){.stagebar .long{display:none}.stagebar .short{display:inline}}
/* Reports (16 Oct 2026): the reports down the side, the one picked as the page it prints as */
.reports-layout{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start;margin-top:14px}
.reports-menu{flex:1 1 220px;display:flex;flex-direction:column;gap:6px}
.reports-menu button,.reports-menu .off-item{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;padding:12px 14px;border:1px solid var(--line);background:var(--card);min-height:56px}
.reports-menu .t{font-weight:800;font-size:15px}.reports-menu .m{font-size:12px;font-weight:500;color:var(--muted)}
.reports-menu button[aria-current]{border-color:var(--ink);box-shadow:inset 4px 0 0 var(--accent)}
.reports-menu .off-item{opacity:.55}
.reports-paper{flex:999 1 560px;min-width:0;max-width:920px}
.reports-paper .report.off{display:none}
.reports-paper .report{padding:28px 32px 32px;box-shadow:0 10px 28px rgba(30,33,38,.06)}
body.px.msre .report .report-head{border-bottom:4px solid var(--accent);padding-bottom:14px;margin-bottom:6px}
body.px.msre .report h3{font-size:26px;font-weight:800;letter-spacing:-.02em}
.report-acts{display:flex;align-items:center;gap:12px}
.report-logo{height:44px;width:auto}
body.px.msre .report h4{color:var(--ink);font-weight:800;letter-spacing:.08em}
/* The scoreboard in the skin (20 Oct 2026 visual pass): a card's badge drops under its title rather than running past the
   card's edge, and the money card (a table with a badge per deal) gets two columns, as Going Pro does. */
.sb-top{flex-wrap:wrap}
.sb-top h3{flex:1 1 10rem;min-width:0}
@media (min-width:701px){.sb-card:not(.sb-wide):has(.sb-table){grid-column:span 2}}
@media (max-width:720px){.reports-menu{flex-direction:row;overflow-x:auto;flex-basis:100%}.reports-menu button,.reports-menu .off-item{flex:none;min-width:150px}.reports-paper .report{padding:18px 16px}.report-logo{height:30px}}
@media print{
  body.printing #pipeView>.reports-layout{display:block!important}
  body.printing .reports-menu{display:none!important}
  body.printing .reports-paper .report.print-me{display:block!important;box-shadow:none}
  body.printing #pipeView>*:not(.reports-layout){display:none!important}
}
/* A deal's deeds, newest recording first (16 Oct 2026) */
.chain{margin-top:10px;padding-top:8px;border-top:1px dashed var(--line)}
.chain ol{margin:6px 0 0;padding-left:20px;font-size:14px}
.chain li{padding:4px 0;color:var(--muted)}
.chain li.latest{color:var(--ink)}
.chain .when{font-weight:700;color:var(--ink)}
/* Who prepared the deed (5 Nov 2026): a small fact list, two columns on a wide screen, stacked on a phone. */
.preparer{margin-top:10px;padding-top:8px;border-top:1px dashed var(--line);font-size:14px}
.preparer dl.facts{display:grid;grid-template-columns:max-content 1fr;gap:2px 10px;margin:6px 0 0}
.preparer dt{color:var(--muted)}
.preparer dd{margin:0;overflow-wrap:anywhere}
@media (max-width:520px){.preparer dl.facts{grid-template-columns:1fr}.preparer dd{margin-bottom:4px}}
/* An admin's AI usage line (16 Oct 2026): a warning past $10 a day, a stop at the check until he says keep going */
.ai-usage{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:10px 14px;margin:0 0 14px;background:#FFF6E0;border:1px solid #E2D6BF;color:#1E2126;font-size:14px}
.ai-usage.stop{background:var(--wash);border-color:var(--accent)}
.ai-usage button{margin-left:auto}
/* Price against time (16 Oct 2026): sell quickly, market value, pie in the sky */
.strategy{background:var(--card);border:1px solid var(--line);padding:16px;margin:14px 0}
.strategy .head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin-bottom:12px}
.strategy h3{margin:0;font-size:18px;font-weight:800}
.tiers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tier{border:1px solid var(--line);border-top:4px solid var(--muted);padding:12px 14px;display:flex;flex-direction:column;gap:4px}
.tier p{margin:0}
.tier.quick{border-top-color:#1E2126}.tier.market{border-top-color:var(--accent)}.tier.sky{border-top-color:#B9B4AA}
.tier .range{font-size:24px;font-weight:800;letter-spacing:-.01em}
.tier .vs{font-size:13px;font-weight:600;color:var(--muted)}
.tier .days{font-size:14px;margin-top:4px}
.tier .days small{color:var(--muted)}
.report .strategy{border:0;padding:0}
@media (max-width:720px){.tiers{grid-template-columns:minmax(0,1fr)}}
@media print{.tiers{grid-template-columns:repeat(3,1fr)}.tier .range{font-size:18px}}
/* What the documents say about an HOA (16 Oct 2026) */
.hoa-suggest{border:1px solid var(--line);border-left:4px solid var(--muted);background:var(--card);padding:10px 12px;margin:10px 0}
.hoa-suggest.likely{border-left-color:var(--accent)}.hoa-suggest.mixed{border-left-color:#E2B84B}
.hoa-suggest p{margin:0 0 6px}
/* The MLS listing (17 Oct 2026): remarks, directions, and talking them over with Poindexter. */
.listing textarea{width:100%;box-sizing:border-box;font:inherit;padding:8px 10px;border:1px solid var(--line);background:var(--bg,#fff);color:inherit}
.listing textarea.remarks{line-height:1.5}
.listing h4{margin:16px 0 6px;font-size:15px}
.listing .acts.between{justify-content:space-between;align-items:center}
.listing .count.over{color:var(--bad);font-weight:600}
.listing .lint{list-style:none;padding:0;margin:6px 0 0;font-size:13px}
.listing .lint li{margin:4px 0}
.listing .lint q{color:var(--muted)}
.listing input[type=text]{flex:1 1 220px;min-width:0;padding:6px 8px;border:1px solid var(--line);font:inherit}
.listing label.stack{display:flex;flex-direction:column;gap:4px;margin-top:8px}
.listing-talk{border-left:3px solid var(--accent);background:var(--wash);padding:10px 12px;margin:6px 0 10px}
.listing-talk .reply{margin:0 0 8px;font-size:15px}
.listing-talk .reply:empty{display:none}
.listing-talk .asks-list{margin:0 0 8px;padding-left:18px;font-size:14px}
.listing-talk .talk-row .acts{margin-top:6px}
.listing-talk .voice-opts{font-size:13px}
/* Selling points (3 Nov 2026): lifestyle first, then updates, then features; the photo notes and the plan follow. */
.listing .sp h5,.listing .sp-panel h5{margin:12px 0 4px;font-size:14px}
.listing .sp-list{list-style:none;padding:0;margin:0}
.listing .sp-row{border:1px solid var(--line);background:var(--card);padding:8px 10px;margin:0 0 8px;display:flex;flex-direction:column;gap:6px;min-width:0}
.listing .sp-row.dropped{opacity:.65}
.listing .sp-row.dropped .sp-point{text-decoration:line-through}
.listing .sp-lifestyle .sp-row{border-left:3px solid var(--chip-ok,#2F6B37)}
.listing .sp-top{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.listing .sp-top .sp-move{margin-left:auto;display:inline-flex;gap:4px}
.listing .sp-top .sp-move button{min-width:36px}
.listing .sp-row input.sp-point{width:100%;box-sizing:border-box;font-weight:600;flex:none}
.listing .sp-row textarea{font-size:14px}
.listing select.sp-tier-pick{width:auto;max-width:100%;flex:none;font:inherit;padding:4px 6px}
.listing .sp-add{flex-wrap:wrap}
.listing .sp-stale{border-left:3px solid #E2B84B;background:var(--wash);padding:6px 10px;margin:6px 0;font-size:14px}
.listing .sp-stale button{margin-left:4px}
.listing .sp-panel{border-top:1px solid var(--line);margin-top:16px;padding-top:4px}
.listing .sp-shots{padding-left:20px;margin:6px 0}
.listing .sp-shots li{margin:0 0 10px;overflow-wrap:anywhere}
.listing .sp-shots li.hero{background:var(--wash);padding:6px 8px}
.listing .sp-pt{display:block}
.listing .sp-shots dl{display:grid;grid-template-columns:68px minmax(0,1fr);gap:2px 8px;margin:4px 0 0;font-size:14px}
.listing .sp-shots dt{color:var(--muted)}.listing .sp-shots dd{margin:0}
.listing .sp-prep,.listing .sp-hooks,.listing .sp-plan{padding-left:20px;margin:4px 0 8px;font-size:14px}
.listing .sp-prep li,.listing .sp-hooks li,.listing .sp-plan li{margin:3px 0;overflow-wrap:anywhere}
.listing .sp-headline{font-size:17px;font-weight:700;margin:6px 0}
.listing .sp-caption p{margin:4px 0}
.listen-state{margin:6px 0 0;font-size:13px;color:var(--muted)}
.listen-state:empty{display:none}
button.talk{display:inline-flex;align-items:center;gap:6px}
button.talk.live{background:var(--bad);color:#fff;border-color:transparent}
button.talk .dot{width:8px;height:8px;border-radius:50%;background:currentColor}
button.talk.live .dot{animation:talkpulse 1s ease-in-out infinite}
@keyframes talkpulse{50%{opacity:.3}}
/* The NONL paperwork read (17 Oct 2026): the package review, the signing guide, the final check. */
.paper .paper-step{margin:4px 0 10px}
.paper h4{margin:14px 0 6px;font-size:15px}
.paper .paper-summary{margin:8px 0;font-size:15px}
.paper ul.issues{list-style:none;padding:0;margin:8px 0}
.paper ul.issues li{padding:8px 0;border-top:1px solid var(--line);font-size:14px}
.paper ul.issues li.dismissed{opacity:.6}
.paper .says{margin:3px 0;font-size:13px}
.paper .missing{border-left:3px solid var(--bad);background:#FDF3F2;padding:8px 10px;margin:8px 0;font-size:14px}
.paper .missing ul{margin:4px 0 0;padding-left:18px}
.paper .guide-pages{padding-left:0;list-style:none;margin:6px 0;font-size:14px}
.paper .guide-pages li{padding:6px 0;border-top:1px solid var(--line)}
.paper .guide-pages .who{margin:2px 0 0 12px}
.paper .guide-pages .who.seller b{color:var(--bad)}
.paper .verdict{font-size:15px;margin:10px 0}
.paper ul.signed-files{margin:6px 0;padding-left:18px;font-size:14px}
@media print{
  body.print-guide *{visibility:hidden}
  body.print-guide #paper details.signing,body.print-guide #paper details.signing *{visibility:visible}
  body.print-guide #paper details.signing{position:absolute;left:0;top:0;width:100%}
  body.print-guide #paper details.signing .acts{display:none}
}

/* Offers on a deal (19 Oct 2026, public/career/offers.js) */
.offers-box .offer-card { border: 1px solid var(--line, #ddd); border-radius: 8px; padding: 10px 12px; margin: 10px 0; background: var(--card, #fff); }
.offers-box .offer-card.unchecked { border-color: #e0a800; }
.offers-box .offer-head { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.offers-box .offer-figs { margin: 6px 0; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: baseline; }
.offers-box .offer-figs b { font-size: 1.1em; }
/* Offerpad: preliminary until it inspects (3 Nov 2026, src/offerpad.js) */
.offers-box .offerpad-box { margin: 6px 0; padding: 6px 10px; border-left: 4px solid #2e7d32; background: rgba(0, 0, 0, 0.03); border-radius: 4px; }
.offers-box .offerpad-box.prelim { border-left-color: #e0a800; }
.offers-box .offerpad-box .row { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.offers-box .offerpad-box input { max-width: 10em; }
.prelim { color: #8a5a00; font-weight: 600; }
/* What to weigh with each kind of offer, and what the seller is after (3 Nov 2026, src/weigh.js) */
.weigh { margin: 8px 0 4px; border-top: 1px solid rgba(0, 0, 0, 0.12); padding-top: 6px; }
/* Plain bold words, as the seller's sheets set them (3 Nov 2026: "not all caps"). */
.weigh .wh, .seller-after .wh { margin: 0 0 3px; font-weight: 700; }
.weigh ul { margin: 0; padding-left: 1.1em; overflow-wrap: anywhere; }
.weigh li { margin: 0 0 3px; line-height: 1.35; }
.offers-box .weigh li[title] { cursor: help; }
.seller-after { margin: 6px 0 10px; padding: 8px 10px; border-left: 4px solid #5f6368; background: rgba(0, 0, 0, 0.03); border-radius: 4px; }
.seller-after dl { margin: 0; display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: 3px 10px; }
.seller-after dt { font-weight: 600; }
.seller-after dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .seller-after dl { grid-template-columns: minmax(0, 1fr); } .seller-after dd { margin-bottom: 4px; } }
.offerpad-steps .sub { margin-left: 4px; }
.go-check { padding: 8px 10px; border-radius: 6px; margin-bottom: 8px; border-left: 4px solid #999; background: rgba(0, 0, 0, 0.03); }
.go-check.go-clears { border-left-color: #2e7d32; }
.go-check.go-conditional { border-left-color: #e0a800; }
.go-check.go-short { border-left-color: #c62828; }
.report .basis { background: #fff8e1; color: #3d3000; padding: 8px 10px; border-left: 4px solid #e0a800; font-size: 0.9em; }
.report .foot { margin-top: 16px; }
/* The Offer comparison and Net sheet are the one PDF's pages (public/career/offersheet.css, 3 Nov 2026): their head on screen is
   only the buttons; the sheet carries its own heading, logo and rule, and prints landscape on its own pages. */
.report-sheet .report-head-bare{justify-content:flex-end;border:0!important;padding:0!important;margin:0 0 10px!important}
@media print{
  body.printing .report-sheet{padding:0;border:0;background:#fff;box-shadow:none}
  /* A sheet is a landscape page of its own, 10.2in wide inside its margins: nothing around it pads or tints it. */
  body.printing:has(.report-sheet.print-me),body.printing:has(.report-sheet.print-me) main,body.printing:has(.report-sheet.print-me) section.on,
  body.printing:has(.report-sheet.print-me) #pipeView,body.printing:has(.report-sheet.print-me) .reports-layout,body.printing:has(.report-sheet.print-me) .reports-paper{
    background:#fff!important;padding:0!important;margin:0!important;max-width:none!important;border:0!important;box-shadow:none!important}
}
/* A deal's one next step (src/nextstep.js): at the top of every deal page, and on its Pipeline card. */
.nextstep{display:flex;align-items:flex-start;gap:10px;margin:8px 0 10px;padding:9px 11px;background:#F4F3F0;border-left:4px solid var(--ink)}
.nextstep .k{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding-top:3px;flex:none}
.nextstep .grow{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.nextstep .t{font-size:16px;font-weight:700;color:var(--ink);overflow-wrap:anywhere}
.nextstep a.t{text-decoration:none}
.nextstep a.t:hover{text-decoration:underline}
.nextstep .m{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.nextstep.late{border-left-color:var(--bad);background:var(--wash)}
.nextstep.wait{border-left-color:var(--line)}
.nextstep button.link{flex:none}
.nextstep-edit{margin:0 0 10px}
@media (max-width:640px){.nextstep{flex-wrap:wrap}.nextstep .grow{flex-basis:calc(100% - 64px)}.nextstep button.link{margin-left:auto;padding-right:0}}
.dcard .next.wait{background:transparent;color:var(--muted);font-weight:500;padding-left:0}

/* The comps at a glance (19 Oct 2026): a tile per kind, then that kind's comps */
/* Pick the comps (2 Nov 2026): the analysis's picks highlighted, Bring / Also / Leave out per comp */
.pick-box { margin: 0 0 14px; } .pick-box > summary { font-weight: 600; cursor: pointer; }
.pick-kind { margin: 10px 0; } .pick-kind h4 { margin: 0 0 2px; }
.pick-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 6px 8px; border-bottom: 1px solid var(--line, #ddd); }
.pick-row.rec { background: rgba(255, 214, 0, 0.18); }
.pick-row.out { opacity: 0.6; }
.pick-row .seg .chip.on { background: var(--ink, #222); color: var(--bg, #fff); border-color: var(--ink, #222); }
/* Good · better · best from the brought comps (5 Nov 2026): the rung on each Bring row, and one read-out per kind on top */
.pick-cond { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 4px; } .pick-cond select { width: auto; max-width: 100%; }
/* the comp review's "what's attached" chips wrap too: "search criteria: attach below, ..." pushed a phone 180px sideways */
.review-ready .chip { display: inline-block; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
/* the "Condition?" ask wraps on a phone instead of pushing the page sideways (.chip is flex:none everywhere else) */
.pick-cond .chip { flex: 0 1 auto; min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.rung-chip { font-weight: 700; border-left: 4px solid var(--muted, #888); }
.rung-chip.good { border-left-color: #B9B4AA; } .rung-chip.better { border-left-color: #6B6F76; } .rung-chip.best { border-left-color: #1E2126; }
.gbb-readout { margin: 6px 0 12px; padding: 10px 12px; border: 1px solid var(--line, #ddd); background: var(--card, #fff); }
.gbb-readout h4 { margin: 0 0 6px; }
.gbb-table { display: table; width: 100%; table-layout: fixed; font-size: 13px; } .gbb-table td, .gbb-table th { vertical-align: top; overflow-wrap: anywhere; white-space: normal; }
.gbb-table thead th:first-child { width: 8em; } .gbb-table tbody th { overflow-wrap: normal; } .gbb-unset { display: block; font-weight: 400; }
.gbb-table .chip.ok { margin-left: 6px; } .gbb-worth { display: block; font-weight: 600; }
.gbb-empty .chip { margin-top: 2px; }
.gbb-lab { display: none; }
/* a phone stacks each kind's three rungs, each one labelled */
@media (max-width: 640px) { .gbb-table, .gbb-table tbody, .gbb-table tr, .gbb-table th, .gbb-table td { display: block; width: auto; }
  .gbb-table thead { display: none; } .gbb-table tr { padding: 4px 0; border-bottom: 1px solid var(--line, #ddd); }
  .gbb-table tbody th { border: 0; padding-bottom: 0; } .gbb-table td { border: 0; padding: 2px 6px; } .gbb-lab { display: inline; font-weight: 700; } }
.snap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 8px 0 14px; }
.snap-tile { text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid var(--line, #ddd); border-radius: 10px; background: var(--card, #fff); color: inherit; font: inherit; cursor: pointer; }
.snap-tile.on { border: 2px solid #D11242; box-shadow: 0 1px 6px rgba(209, 18, 66, 0.15); }
.snap-head { display: flex; align-items: center; gap: 6px; font-size: 1.05em; }
.snap-n { font-size: 1.8em; line-height: 1; }
.snap-lines { display: grid; gap: 2px; }
.snap-line { display: flex; justify-content: space-between; gap: 8px; font-size: 0.9em; border-bottom: 1px dotted rgba(0, 0, 0, 0.08); padding: 1px 0; }
.snap-line .l { color: var(--muted, #666); }
.snap-line .v { text-align: right; font-weight: 600; }
.snap-line .yours { font-weight: 400; color: var(--muted, #777); }
.snap-list-head { margin: 6px 0; }
.comp-card { border: 1px solid var(--line, #ddd); border-radius: 8px; margin: 6px 0; background: var(--card, #fff); }
.comp-card.aside { opacity: 0.6; }
.comp-card > summary { cursor: pointer; padding: 10px 12px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; list-style: none; }
.comp-card > summary::-webkit-details-marker { display: none; }
.comp-card > summary .addr { font-weight: 700; }
.comp-card > summary .figs { flex-basis: 100%; font-size: 0.9em; color: var(--muted, #555); }
.comp-card[open] > summary { border-bottom: 1px solid var(--line, #eee); }
.comp-card > :not(summary) { margin: 8px 12px; }
.adj-table td:last-child { text-align: right; white-space: nowrap; font-weight: 600; }
.adj-table tr.total th, .adj-table tr.total td { font-weight: 800; border-top: 1px solid #ccc; }
.comp-card .comp-acts { margin-left: auto; display: inline-flex; gap: 8px; align-items: center; }
.comp-viewer { width: min(1200px, 96vw); height: 92vh; max-height: 92vh; padding: 0; border: 0; border-radius: 10px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35); }
.comp-viewer::backdrop { background: rgba(0, 0, 0, 0.5); }
.comp-viewer[open] { display: flex; flex-direction: column; }
.cv-head { display: flex; flex-wrap: wrap; gap: 8px 12px; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid #ddd; }
.cv-body { flex: 1; display: grid; grid-template-columns: 260px 1fr; min-height: 0; }
.cv-side { padding: 10px 12px; overflow: auto; border-right: 1px solid #eee; }
.cv-pdf { width: 100%; height: 100%; border: 0; }
.cv-none { padding: 20px; }
@media (max-width: 700px) {
  .comp-viewer { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .cv-body { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .cv-side { border-right: 0; border-bottom: 1px solid #eee; max-height: 30vh; }
}
.cv-pdf { overflow: auto; padding: 8px; background: #e9e9e9; }
.cv-canvas { width: 100%; height: auto; display: block; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); }
.cv-canvas + .cv-canvas { margin-top: 8px; }
.cv-pages { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 0 0 8px; }
.cv-frame { width: 100%; height: 100%; border: 0; }
.review-box { border: 1px solid var(--line, #ddd); border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; background: var(--card, #fff); }
.review-ready { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.review-headline { font-weight: 700; font-size: 1.05em; }
.review-why { flex-basis: 100%; font-size: 0.88em; color: var(--muted, #444); font-style: italic; }
.review-prior { background: #fff8e1; padding: 6px 8px; border-left: 3px solid #e0a800; }

/* The scoreboard (19 Oct 2026, loop #236) */
.sb-hero { padding: 14px 16px; border-radius: 12px; background: var(--card, #fff); border: 1px solid var(--line, #ddd); margin-bottom: 14px; }
.sb-headline { font-size: 1.15em; font-weight: 700; margin: 4px 0 14px; }
.sb-headline.small { font-size: 0.98em; margin: 2px 0; }
.sb-timeline { position: relative; height: 8px; background: #eee; border-radius: 4px; margin: 26px 8px 20px; }
.sb-tl-done { position: absolute; left: 0; top: 0; bottom: 0; background: #D11242; border-radius: 4px; }
.sb-tl-mark, .sb-tl-now { position: absolute; top: -4px; width: 2px; height: 16px; background: #333; }
.sb-tl-now { background: #D11242; width: 3px; }
.sb-tl-mark small, .sb-tl-now small { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 0.72em; color: #555; }
.sb-tl-now small { top: -18px; color: #D11242; font-weight: 700; }
.sb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; margin-bottom: 18px; }
.sb-card { background: var(--card, #fff); border: 1px solid var(--line, #ddd); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 6px; border-top: 4px solid #bbb; color: var(--ink, #1E2126); }
/* A goal card wears its status (31 Oct 2026, the owner on the Scoreboard: the DONE card was solid red, its words nearly
   invisible): the status colour on its top rule and its bar, a LIGHT wash of it behind the words, the words in the page's
   own ink. Green = done / on track, amber = behind / only if the fastest land, grey = out of reach / missed. Never red. */
.sb-card.sb-st-done, .sb-card.sb-st-on_track { --sb-tone: #2E7D32; }
.sb-card.sb-st-behind, .sb-card.sb-st-close { --sb-tone: #C28A00; }
.sb-card.sb-st-out_of_reach, .sb-card.sb-st-missed { --sb-tone: #8A8F98; }
.sb-card:is(.sb-st-done, .sb-st-on_track, .sb-st-behind, .sb-st-close, .sb-st-out_of_reach, .sb-st-missed) { border-top-color: var(--sb-tone); background: color-mix(in srgb, var(--sb-tone) 9%, var(--card, #fff)); }
.sb-card .sub, .sb-card .sb-mark small { color: var(--muted, #5F646C); }
.sb-card.sb-wide { grid-column: span 2; }
@media (max-width: 700px) { .sb-card.sb-wide { grid-column: auto; } }
.sb-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.sb-top h3 { margin: 0; font-size: 1em; }
.sb-count { margin: 0; } .sb-count b { font-size: 2em; line-height: 1; }
.sb-bar { position: relative; display: flex; height: 12px; background: #eee; border-radius: 6px; overflow: visible; margin: 4px 0 14px; }
/* The fill stays inside its own track, in the card's tone (the job's red where a card has no status). */
.sb-bar > .sb-fill { background: var(--sb-tone, #D11242); border-radius: 6px 0 0 6px; max-width: 100%; }
.sb-bar > .sb-fill-way { --sb-way: var(--sb-tone, #D11242); background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--sb-way) 40%, #fff), color-mix(in srgb, var(--sb-way) 40%, #fff) 4px, color-mix(in srgb, var(--sb-way) 18%, #fff) 4px, color-mix(in srgb, var(--sb-way) 18%, #fff) 8px); }
.sb-bar > .sb-fill[style*="width: 100%"] { border-radius: 6px; }
.sb-mark { position: absolute; top: -3px; width: 2px; height: 18px; background: #333; }
.sb-mark small { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 0.7em; color: var(--muted, #555); }
.sb-path { background: #fff8e1; border-left: 3px solid #e0a800; padding: 6px 10px; border-radius: 4px; }
.sb-path p { margin: 2px 0; }
.sb-pay b { font-size: 1.2em; color: #2e7d32; }
.sb-card .cite { font-size: 0.72em; color: var(--muted, #5F646C); margin-top: auto; }
.sb-table { width: 100%; border-collapse: collapse; font-size: 0.88em; }
.sb-table th, .sb-table td { text-align: left; padding: 4px 6px; border-bottom: 1px solid #eee; vertical-align: top; }
.sb-table td:last-child { text-align: right; }
.sb-table tr.total td { font-weight: 800; border-top: 1px solid #ccc; }
.sb-dots { display: inline-flex; gap: 4px; vertical-align: middle; } .sb-dots span { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #999; } .sb-dots span.on { background: #c62828; border-color: #c62828; }
.sb-bonus { margin: 4px 0; padding-left: 0; list-style: none; font-size: 0.9em; } .sb-bonus li { margin: 4px 0; }
.sb-strip { display: grid; gap: 8px; text-decoration: none; color: inherit; margin-bottom: 12px; border-left: 4px solid #D11242; }
.sb-strip-goals { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.sb-mini { display: flex; flex-direction: column; gap: 2px; } .sb-mini b { font-size: 1.3em; } .sb-mini .sb-bar { margin: 2px 0 0; height: 8px; } .sb-mini .sb-mark small { display: none; }
.sb-mark.end small, .sb-tl-mark.end small { left: auto; right: 0; transform: none; }
.sb-tl-legend { display: none; margin: 0; }
@media (max-width: 700px) { .sb-tl-mark small, .sb-tl-now small { display: none; } .sb-timeline { margin: 10px 4px 8px; } .sb-tl-legend { display: block; } }
.sb-standards { margin: 0; padding-left: 18px; font-size: 0.92em; } .sb-standards li { margin: 3px 0; }
.sb-table .chip { white-space: nowrap; }

/* What the ISA learned (loop 402): the motivation reads first and largest. */
.isa-heard .fact.lead{grid-column:1/-1}
.isa-heard .fact.lead .v{font-size:17px;font-weight:700}

/* Good / better / best (loop 401) and the close-out. */
.ladder{background:var(--card);border:1px solid var(--line);padding:16px;margin:14px 0}
.ladder .head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin-bottom:12px}
.ladder h3{margin:0;font-size:18px;font-weight:800}
.rungs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.rung{border:1px solid var(--line);border-top:4px solid var(--muted);padding:12px 14px;display:flex;flex-direction:column;gap:4px;min-width:0}
.rung p{margin:0}
.rung.good{border-top-color:#B9B4AA}.rung.better{border-top-color:#6B6F76}.rung.best{border-top-color:#1E2126}
.rung.here{outline:2px solid var(--accent);outline-offset:-1px}
.rung.empty{opacity:.75}
.rung .kicker{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:4px 8px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;font-size:13px}
.rung .yours{background:var(--accent);color:#fff;padding:1px 8px;white-space:nowrap;font-size:12px;letter-spacing:0;text-transform:none}
.rung .words{font-weight:600}
.rung .range{font-size:24px;font-weight:800;letter-spacing:-.01em}
.rung .addr{overflow-wrap:anywhere}
.rung .like{font-size:14px;margin-top:4px}
.report .ladder{border:0;padding:0}
/* The seller's copy (6 Nov 2026): each rung's spread, the outside-the-rules mark, the bridge to the home; James's backwards line.
   The shell's floating Ask Poindexter never sits over a seller's report, and never prints. */
.rung .bridge{margin-top:4px;font-size:14px}
.rung .anyway,.ladder-kinds .anyway{font-style:italic}
.ladder .backwards{margin:0 0 10px}
body.seller-copy .px-pdx-fab,body.seller-copy .px-pdx-panel{display:none!important}
@media print{.px-pdx-fab,.px-pdx-panel{display:none!important}}
/* the shell's Feedback button has no print rule of its own: it printed in the corner of a seller's page (review, 6 Nov 2026) */
@media print{.px-fb,.px-fb-sheet{display:none!important}}
@media (max-width:720px){.rungs{grid-template-columns:minmax(0,1fr)}}
/* the by-kind row on a phone (6 Nov 2026 review): the three columns ran off a 390 screen, the Good column's dashes filling it;
   stacked, each sale says its rung, and an empty rung or kind folds away. Screen only: paper keeps the table. */
@media screen and (max-width:720px){.ladder-kinds,.ladder-kinds tbody,.ladder-kinds tr,.ladder-kinds th,.ladder-kinds td{display:block;white-space:normal;min-width:0}
  .ladder-kinds thead,.ladder-kinds td.none,.ladder-kinds tr.kind-none{display:none}
  .ladder-kinds tbody th{padding-top:12px;border-bottom:0;font-size:13px}
  .ladder-kinds td::before{content:attr(data-rung);display:block;font-weight:700;font-size:11px;letter-spacing:.02em}}
@media print{.rungs{grid-template-columns:repeat(3,1fr)}.rung .range{font-size:18px}}
.close-out{border:1px solid var(--line);border-left:4px solid var(--accent);padding:12px 14px;margin:8px 0 12px}
.close-out h4{margin:0 0 4px}
.close-out.is-done{border-left-color:#2F6B37}
.close-out .says{margin:6px 0}
.close-out .says small{color:var(--muted)}
.isa-heard .chip.upload{display:inline-flex;width:auto}
/* Money on the table (loop #407): the area's Today panel and the scoreboard's section. */
.sb-today { display: grid; gap: 0; }
.inc-panel { margin-bottom: 12px; border-left: 4px solid #2e7d32; }
.inc-totals { margin: 2px 0 10px; font-size: 0.95em; } .inc-totals b { font-size: 1.15em; color: #2e7d32; }
.inc-lines { display: grid; gap: 2px; }
.inc-line { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(80px, 1fr) auto; gap: 12px; align-items: center; padding: 8px 4px; border-top: 1px solid var(--line, #eee); text-decoration: none; color: inherit; }
.inc-line:hover { background: var(--wash, #faf8f4); }
.inc-what { display: flex; flex-direction: column; min-width: 0; } .inc-what b { font-size: 0.95em; } .inc-what small { color: var(--muted, #666); font-size: 0.8em; }
.inc-line .inc-bar { margin: 0; height: 8px; }
.inc-pay { text-align: right; display: flex; flex-direction: column; align-items: flex-end; } .inc-pay b { white-space: nowrap; }
.inc-q { color: #7A5A20; font-size: 0.75em; font-weight: 600; }
.inc-line.inc-done .inc-pay b, .inc-line.inc-paid .inc-pay b { color: #2e7d32; }
@media (max-width: 600px) { .inc-line { grid-template-columns: 1fr auto; } .inc-line .inc-bar { grid-column: 1 / -1; grid-row: 2; } }
.inc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.inc-head .px-label { margin: 0; }
.inc-section { margin-bottom: 8px; }
.inc-card .sb-top { flex-wrap: wrap; } .inc-card .sb-top h3 { flex: 1 1 60%; }
.inc-money { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 8px 10px; background: #f3f8f3; border-radius: 6px; }
.inc-money span { display: flex; flex-direction: column; } .inc-money small { font-size: 0.72em; color: #556; text-transform: uppercase; letter-spacing: 0.04em; }
.inc-money b { font-size: 1.05em; color: #1b5e20; }
.inc-asks { background: #fff8e1; border-left: 3px solid #e0a800; padding: 6px 10px; border-radius: 4px; font-size: 0.9em; }
.inc-asks ul { margin: 4px 0 0; padding-left: 18px; }
.inc-acts { display: flex; gap: 4px; flex-wrap: wrap; border-top: 1px solid var(--line, #eee); padding-top: 4px; }
.inc-add { margin: 10px 0 14px; }
.inc-add-cols { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
@media (max-width: 700px) { .inc-add-cols { grid-template-columns: 1fr; } }
.inc-form-acts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; width: 100%; }
.inc-form-acts input[type=file] { flex: 1 1 200px; width: auto; }
.inc-form label.wide { flex: 1 0 100%; }
.demand { margin: 6px 0 12px; } .demand-scroll { overflow-x: auto; }
.demand-table td, .demand-table th { vertical-align: top; min-width: 120px; }
.demand-table .dm-low { color: #c62828; } .demand-table .dm-mid { color: #b07d00; } .demand-table .dm-high { color: #2e7d32; }
.cert { border-top: 1px dashed #ddd; margin-top: 6px; padding-top: 6px; }
.cert-totals { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.cert-total { flex: 1; min-width: 90px; padding: 6px 8px; border-radius: 6px; background: #f5f5f5; display: flex; flex-direction: column; }
.cert-total.cert-certain { background: #e8f5e9; } .cert-total.cert-likely { background: #fff8e1; } .cert-total.cert-uncertain { background: #fdecea; }
.cert-list { margin: 4px 0; padding-left: 0; list-style: none; } .cert-list li { margin: 6px 0; }
.offer-card .cert-list { padding-left: 16px; list-style: disc; }
.seller-qs { margin: 0 0 10px; display: grid; gap: 6px; }
.seller-q { padding: 6px 10px; border-left: 4px solid #ccc; background: #fafafa; border-radius: 4px; }
.seller-q.sq-certain { border-left-color: #2e7d32; } .seller-q.sq-likely { border-left-color: #e0a800; } .seller-q.sq-uncertain { border-left-color: #c62828; }
.say summary { cursor: pointer; color: #D11242; } .say-script { font-style: italic; margin: 4px 0 0; padding: 6px 10px; background: #fff; border-left: 3px solid #D11242; }
.ds-sec { margin: 10px 0; padding-top: 6px; border-top: 1px solid #eee; } .ds-sec h4 { margin: 4px 0; }
.ds-card { margin: 4px 0 6px; } .ds-q { margin: 0; font-size: 0.82em; color: #777; } .ds-a { margin: 0; white-space: pre-wrap; }
.ds-fill { width: 100%; box-sizing: border-box; font: inherit; border: 1px solid #ccc; border-radius: 4px; padding: 6px 8px; resize: vertical; background: #fff; }
.ds-fillbox .print-only, .print-only { display: none; } .ds-standing { margin: 6px 0; } .ds-asks { margin: 4px 0 8px 18px; padding: 0; }
@media print { .ds-fill { border: 0; padding: 0; resize: none; } .ds-fillbox.empty .ds-fill { display: none; } .ds-fillbox.empty .print-only { display: block; } .ds-fillbox:not(.empty) .print-only { display: none; } .ds-standing select { border: 0; appearance: none; } }
.ds-head { display: flex; align-items: baseline; gap: 12px; } .ds-head h4 { margin-right: auto; }
.ds-hunch { margin: 10px 0 12px; } .ds-ask { margin: 0; font-weight: 600; font-size: 1.05em; } .ds-why { margin: 2px 0 0; font-size: 0.88em; color: #555; }
.ds-found { background: #e8f5e9; padding: 4px 8px; border-radius: 4px; }
.ds-lines span { display: block; border-bottom: 1px solid #ccc; height: 22px; }
.talk-panel { border: 1px solid var(--line, #ddd); border-radius: 10px; padding: 10px; margin-top: 8px; background: var(--card, #fff); }
.talk-head { display: flex; justify-content: space-between; align-items: center; }
.talk-log { max-height: 50vh; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
.talk-b { max-width: 85%; padding: 6px 10px; border-radius: 10px; } .talk-b p { margin: 2px 0 0; white-space: pre-wrap; } .talk-b small { color: #888; font-size: 0.72em; }
.talk-b.poindexter { background: #f3f3f3; align-self: flex-start; } .talk-b.him { background: #fde7ec; align-self: flex-end; }
.talk-btn.on { background: #c62828; } .talk-input { width: 100%; box-sizing: border-box; }
.talk-saved { background: #e8f5e9; padding: 8px 10px; border-radius: 8px; }

/* Utility providers (paperwork.js, 20 Oct 2026) */
.utilities input[type=text] { width: 100%; box-sizing: border-box; } .chip-btn { border: 1px solid #ccc; background: #fff; border-radius: 12px; padding: 1px 8px; margin: 2px 4px 0 0; font: inherit; font-size: 0.9em; cursor: pointer; }

/* Kevin's Pre & Post sheet (23 Oct 2026) */
.ps-sec { margin: 10px 0 14px; } .ps-sec h4 { margin: 6px 0 4px; } .ps-sec h5 { margin: 10px 0 3px; font-size: .95em; }
.ps-list { margin: 2px 0 4px 18px; padding: 0; } .ps-list li { margin: 1px 0; }
.ps-write { border-bottom: 1px solid #999; margin: 2px 0 6px; }
.ps-line { display: flex; gap: 8px; align-items: baseline; margin: 2px 0; } .ps-label { min-width: 14em; font-weight: 600; } .ps-value { flex: 1; } .ps-line .ps-write { flex: 1; height: 1.4em; }
.ps-grid { margin: 2px 0 4px; } .ps-disc { margin: 2px 0; }
.ps-sheet { page-break-after: always; margin-bottom: 24px; }
@media print { .ps-sheet { break-after: page; } }

/* A workplace that isn't Mark Spain's (0030, 24 Oct 2026): its colour, set on body as --wp-colour by the router, is the
   accent of its whole area; its logo (if any) sits where the Mark Spain mark does. */
.wp-mark{display:none}
body.px.wp{--accent:var(--wp-colour,#2450B8);--accent-fg:#FFFFFF;--wash:color-mix(in srgb,var(--wp-colour,#2450B8) 8%,var(--px-card,#FFFFFF));--hot:color-mix(in srgb,var(--wp-colour,#2450B8) 14%,var(--px-card,#FFFFFF));--deep:color-mix(in srgb,var(--wp-colour,#2450B8) 72%,#000)}
body.px.wp main a{color:var(--accent)}
body.px.wp #msreTabs{--px-accent:var(--wp-colour,#2450B8)}
body.px.wp main .px-head h1{font-weight:800;letter-spacing:-.02em}
body.px.wp .px-head{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;align-items:center}
body.px.wp .px-head>:not(.wp-mark):not(.msre-mark){grid-column:1}
body.px.wp .px-head .wp-mark{display:block;grid-column:2;grid-row:1 / span 2;height:52px;width:auto;max-width:200px;object-fit:contain}
@media (max-width:640px){body.px.wp .px-head .wp-mark{height:38px}}
body.px.wp .kicker{color:var(--deep)}
body.px .area-tabs a.area-link.is-wp{border-color:color-mix(in srgb,var(--wp-colour,#2450B8) 45%,var(--line));color:var(--wp-colour,#2450B8)}
.wp-apps .apps{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.wp-apps .app,.wp-apps .app.ask{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border:1px solid var(--line);border-radius:8px;background:var(--wash);color:var(--ink);font-weight:600;font-size:14px;text-decoration:none;cursor:pointer;font-family:inherit}
.wp-apps .app.ask{border-style:dashed;color:var(--muted);background:var(--card)}
.wp-apps .app:hover{border-color:var(--accent);color:var(--accent)}
.wp-apps .app-edit{display:flex;flex-wrap:wrap;gap:6px;flex-basis:100%;align-items:center}
.wp-apps .app-edit input{flex:1 1 12rem;min-width:0}
.wp-settings .tabs-on{display:flex;flex-wrap:wrap;gap:6px 16px;border:1px solid var(--line);border-radius:var(--px-radius,10px);padding:8px 12px 10px}
.wp-logo-preview{display:block;max-height:80px;max-width:260px;object-fit:contain;margin:8px 0}

/* Teaching a report by drop (0032). */
.teach-form{border:2px dashed var(--line);border-radius:var(--px-radius,10px)}
.teach-form.over{border-color:var(--accent);background:var(--hot,var(--wash))}
.report-row.is-draft{background:color-mix(in srgb,var(--wash) 60%,transparent)}
.report-row .t .chip{margin-left:8px;vertical-align:1px}
.report-files{margin:0 0 10px;padding-left:18px;font-size:13px;color:var(--muted)}
.report-files a{font-weight:600}
.told ul{margin:4px 0 8px;padding-left:18px;font-size:14px}

/* The filled forms in Reports (25 Oct 2026), and the utilities dropdowns */
.form-pages { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.form-page { width: 100%; max-width: 900px; height: auto; border: 1px solid var(--px-rule); box-shadow: 0 1px 3px rgba(0,0,0,.06); background: #fff; }
.utilities select { max-width: 100%; }
.utilities td input[type="text"] { margin-top: 4px; width: 100%; }
.util-onoff { min-width: 5.5em; }
@media print { .form-pages { display: none; } }
/* The net sheet builder's steps (26 Oct 2026). */
.offers-box .builder-step { margin: 16px 0 6px; font-size: 1rem; border-top: 1px solid var(--line, #ddd); padding-top: 10px; }
.offers-box .builder-step:first-of-type { border-top: 0; }
.offers-box .builder-part > .builder-step:first-of-type { border-top: 1px solid var(--line, #ddd); } /* the payoff step sits in its part (data-builder-part) */
.offers-box textarea { width: 100%; }
.report .go-verdict { font-size: 1.15rem; font-weight: 700; padding: 8px 12px; border-left: 5px solid #999; background: rgba(0, 0, 0, 0.03); }
.report .go-verdict.go-clears { border-left-color: #2e7d32; }
.report .go-verdict.go-conditional { border-left-color: #e0a800; }
.report .go-verdict.go-short { border-left-color: #c62828; }
/* A link that landed here (26 Oct 2026, links that land): the box it was sent to, outlined for a few seconds. */
.fill-here { outline: 3px solid #D11242; outline-offset: 4px; border-radius: 4px; animation: fillPulse 1.2s ease-out 2; }
@keyframes fillPulse { from { outline-color: rgba(209, 18, 66, 1); } to { outline-color: rgba(209, 18, 66, 0.25); } }
.check-item .fill-chip { background: #fde7ec; border-color: #D11242; color: #8a1030; }
.missing .need-item .link { font-weight: 600; }
/* A worksheet box that repeats a fact kept elsewhere (26 Oct 2026, one home per fact). */
label.mirrored { display: flex; flex-direction: column; gap: 4px; }
label.mirrored .mirror-val { padding: 7px 0; font-weight: 600; }
/* What's missing on this deal (26 Oct 2026). */
.missing-box { border-left: 4px solid #D11242; }
.missing-box .missing-group h4 { margin: 10px 0 4px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted, #5f646c); }
.missing-box ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.missing-box a { font-weight: 600; }

/* The appointment sheet (loop 454): the verdict, then dated vs updated side by side; the brief, then the table. */
.as-verdict { font-weight: 700; font-size: 1.05em; margin: 2px 0 8px; }
.as-scenarios { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 6px 0 10px; }
.as-scenario { border: 1px solid var(--px-line, #ddd); border-radius: 8px; padding: 8px 10px; }
.as-scenario .big { margin: 0; }
.as-sc-title { margin: 0; }
@media print { .as-scenarios { grid-template-columns: 1fr 1fr; } .as-table { break-before: page; } }
/* If it's ... then (28 Oct 2026): the tiers at each condition */
.scenarios { margin: 14px 0; }
.scenarios .head { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; justify-content: space-between; }
.scenario-table th small, .scenario-table td small { font-weight: normal; }
.scenario-table tr.yours { background: rgba(46, 125, 50, 0.08); }
.scenario-table tr.yours th .chip { margin-left: 6px; }
@media (max-width: 640px) { .scenario-table { font-size: 0.85em; } .scenarios { max-width: 100%; overflow-x: auto; } } /* five columns scroll in their own box on a phone, never the page (5 Nov 2026) */
/* Good · better · best by kind (28 Oct 2026) */
.ladder-kinds { margin-top: 12px; }
.ladder-kinds td { vertical-align: top; }
@media (max-width: 640px) { .ladder-kinds { font-size: 0.85em; } }
/* Discovery: the seven (28 Oct 2026) -- questions to tick, the seller's side, label / mirror / deeper, a box to write in */
.dp-rules { margin: 4px 0 10px; line-height: 1.45; }
.dp-item { border-top: 1px solid var(--px-line, #ddd); padding: 8px 0 4px; break-inside: avoid; }
.dp-item h5 { margin: 0 0 4px; }
.dp-side { font-weight: normal; font-style: italic; color: var(--px-sub, #666); }
.dp-qs { list-style: none; margin: 2px 0 4px; padding: 0; }
.dp-qs li { margin: 2px 0; padding-left: 1.4em; text-indent: -1.4em; }
.dp-box { color: var(--px-sub, #666); }
.dp-tools { display: flex; flex-direction: column; gap: 1px; margin: 2px 0 6px; color: var(--px-sub, #555); }
.dp-tools b { color: var(--px-ink, #222); font-weight: 600; }
.dp-close { border-top: 1px solid var(--px-line, #ddd); padding-top: 8px; }
@media print { .dp-item { padding: 5px 0 2px; } .dp-rules, .dp-tools, .dp-qs { font-size: 10pt; } }
/* What the ISA heard, bulleted (30 Oct 2026). */
.isa-list > li { margin: 2px 0; }
.isa-list ul { margin: 2px 0 4px; padding-left: 18px; list-style: circle; }
.isa-list ul li { margin: 1px 0; }
/* The box beside a next step (30 Oct 2026): a button drawn as a checkbox, so it works inside a card's link. */
.step-tick{flex:none;width:18px;height:18px;padding:0;margin:0 8px 0 0;border:2px solid currentColor;border-radius:4px;background:#fff;cursor:pointer;vertical-align:-3px;opacity:.8}
.step-tick:hover{opacity:1;box-shadow:0 0 0 3px rgb(0 0 0 / .08)}
.step-tick.ticked,.step-tick:disabled{background:currentColor}
.dcard .next{display:flex;align-items:flex-start}
.px-need.has-tick{grid-template-columns:auto 1fr auto}
.px-need.has-tick>.step-tick{margin:2px 0 0;align-self:start}
.px-need.has-tick>.px-need-meta{grid-column:2/-1}
.step-dialog{border:1px solid #ddd;border-radius:10px;padding:18px 20px;max-width:340px}
.step-dialog::backdrop{background:rgb(0 0 0 / .3)}
.step-dialog label{display:block;margin:10px 0}
/* Talk's asks at their boxes (31 Oct 2026, src/asks.js): what Poindexter left asked, inside the box it belongs in. */
.ask-strip { display: block; margin: 6px 0 8px; padding: 8px 10px; border-left: 3px solid var(--accent, #1f5fa8); background: var(--card-2, rgba(127, 127, 127, 0.08)); border-radius: 6px; font-weight: 400; }
.ask-strip .ask-q { margin: 0 0 6px; }
.ask-strip textarea { width: 100%; box-sizing: border-box; }
.ask-strip .acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 6px 0 0; }
.ask-strip .ask-msg:empty { display: none; }
/* The appointment debrief (31 Oct 2026, src/debrief.js): a line per change, each his to accept or skip. */
.debrief-box textarea.debrief-text { width: 100%; box-sizing: border-box; }
.debrief-lines { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 10px; }
.debrief-line .acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 4px 0 0; }
.debrief-line.accepted, .debrief-line.skipped { opacity: 0.7; }
.debrief-line s { text-decoration: line-through; }
.debrief-msg.bad { color: var(--warn, #b5522e); }

/* The picture before the table (2 Nov 2026): every piece, satisfied / partly / not yet, how to get each */
details.picture summary .pic-count{margin-left:auto;font:600 12px/1.4 var(--px-font-mono,monospace);color:var(--muted)}
.pic-folder{font-size:13px;color:var(--muted);margin:0 0 8px}
.pic-folder code{font-family:var(--px-font-mono,monospace);font-size:12px;background:var(--wash);padding:1px 5px;border-radius:4px}
.pic-group{margin:10px 0 4px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.piece{display:grid;grid-template-columns:22px 1fr;gap:2px 8px;padding:7px 0;border-top:1px solid var(--line)}
.piece .st{font-weight:700;line-height:1.4}
.piece.done .st{color:var(--chip-ok,#2F6B37)}
.piece.partial .st{color:#C28A00}
.piece.missing .st{color:var(--bad)}
.piece.later .st,.piece.optional.missing .st{color:var(--muted)}
.piece .lbl{font-weight:600}
.piece .lbl small{font-weight:400;color:var(--muted)}
.piece .says{grid-column:2;overflow-wrap:anywhere}
.piece .how{grid-column:2;font-size:13px;color:var(--muted)}
.piece .acts{grid-column:2;display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 0}
/* Matrix Speed Bar lines (5 Nov 2026): one per status, each with its own Copy; on the Mark Spain area's light skin too */
.speedbar{grid-column:2;margin:6px 0 2px;padding:8px 10px;border:1px solid var(--line);border-radius:var(--r,6px);background:var(--card);min-width:0}
details.step > .speedbar{margin:8px 0}
.speedbar .sb-head{display:block;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0 0 4px}
.speedbar .sb-line{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;padding:3px 0}
.speedbar .sb-kind{font-size:13px;font-weight:600;min-width:58px}
.speedbar code{font:600 13px/1.4 var(--px-font-mono,monospace);background:var(--wash);padding:2px 6px;border-radius:4px;overflow-wrap:anywhere;user-select:all}
.speedbar .sb-missing{margin:4px 0 0;font-size:13px;color:var(--bad)}
.speedbar .sb-note{margin:6px 0 0;font-size:12px;color:var(--muted)}
.pic-strip button.link{font-size:inherit}
.speedbar .chip.on,main .speedbar button.chip.on{background:var(--chip-ok-bg,#E3F1E6);color:var(--chip-ok,#2F6B37);border-color:var(--chip-ok-line,#2F6B37)}
body.px.msre main .speedbar button.chip.on,body.px.msre main .speedbar button.chip.on:hover{background:#EFF6EE;color:#2F6B37;border-color:#CFE3D0}
@media (max-width:560px){.speedbar .sb-line{grid-template-columns:minmax(0,1fr) auto}.speedbar .sb-kind{grid-column:1 / -1}}
.people .person{border-top:1px solid var(--line);padding:10px 0 4px}
.people .person:first-of-type{border-top:0}
/* Anything marked for the screen stays off paper however the page is printed (2 Nov 2026: ⌘P printed "No document: attach it"). */
@media print { .no-print { display: none !important; } }
/* Pay and policy rules (2 Nov 2026) */
.wp-rules h4 { margin: 14px 0 6px; }
.wp-rules .rules-wrap { overflow-x: auto; }
.rules-table { width: 100%; border-collapse: collapse; font-size: 0.92em; }
.rules-table th, .rules-table td { text-align: left; vertical-align: top; padding: 5px 8px; border-bottom: 1px solid var(--line, #e3e3e8); }
.rules-table tbody th { font-weight: 600; width: 34%; }
.rules-table.num td { text-align: right; font-variant-numeric: tabular-nums; }
.rules-table.num thead th:not(:first-child) { text-align: right; }

/* The scoreboard's pay breakdown (2 Nov 2026): a deal's figure opens how it adds up */
.sb-cash .sb-open { font-weight: 700; text-decoration: underline dotted; cursor: pointer; padding: 0; }
.sb-why td { background: rgba(0, 0, 0, 0.03); }
.sb-lines { list-style: none; margin: 4px 0; padding: 0; }
.sb-line { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; font-size: 0.92em; }
.sb-line b { white-space: nowrap; }
.sb-line-bonus b { color: #2E7D32; }
.sb-line-bonus.if, .sb-line-late, .sb-line-basis { color: #666; }
.sb-line-progress { color: #444; font-style: italic; }
.sb-why td, .sb-why td * { text-align: left; }
.sb-why .sb-line b { text-align: right; }
/* The weekly market update (public/career/sellerreport.js, 4 Nov 2026) */
.mu-tools{background:var(--panel,#f6f5f2);border-radius:8px;padding:12px;margin-bottom:16px}
.mu-note{width:100%;box-sizing:border-box;margin:6px 0;font:inherit}
.mu-mls{margin:6px 0}
.mu-hi{font-weight:600;margin-top:0}
.mu-note-p{white-space:pre-wrap}
.mu-lean{font-size:1.1em;font-weight:600;margin:12px 0 6px}
.mu-area{margin:14px 0;overflow-x:auto}
.mu-area h4{margin:0 0 6px}
.mu-table th:first-child{text-align:left;font-weight:500}
.mu-table td,.mu-table thead th{text-align:right;white-space:nowrap}
.mu-table tr.mu-buyers td:nth-child(2){color:#9a5b00}
.mu-table tr.mu-sellers td:nth-child(2){color:#2e7d32}
.mu-sources{margin-top:16px}
@media (max-width:600px){.mu-table th:nth-child(4),.mu-table td:nth-child(4){display:none}.mu-table{font-size:13px}.mu-table td,.mu-table thead th{padding-left:6px}}
@media print{.mu-tools{display:none}}

/* The Today grades' boxes (5 Nov 2026): his value on the CMA tab, the list-price survey on the deal. */
.grades-box { margin-bottom: 12px; }
.grades-box:empty { display: none; }
.grades-spot:empty { display: none; }
.assess-box { margin-bottom: 12px; }
.assess { align-items: flex-end; flex-wrap: wrap; gap: 10px; }
.assess label { display: grid; gap: 4px; }
.assess input { width: 11rem; max-width: 100%; }
.price-read { display: grid; gap: 10px; }
.price-read fieldset { display: flex; flex-wrap: wrap; gap: 6px 14px; border: 0; padding: 0; margin: 0; }
.price-read legend { font-weight: 600; padding: 0 0 4px; }
.price-read label.check { display: inline-flex; gap: 6px; align-items: center; min-height: 32px; }
.price-read .wide { display: grid; gap: 4px; }
.price-read button { justify-self: start; }
#wp-grades small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 400; line-height: 1.3; }

/* The loan picture (5 Nov 2026, src/loans.js): each loan the reports print, about what's left, his rate / term. */
details.loans summary .pic-count{margin-left:auto;font:600 12px/1.4 var(--px-font-mono,monospace);color:var(--muted);text-align:right}
.loan-words{margin:4px 0 6px}
.loan{border-top:1px solid var(--line);padding:8px 0;display:grid;gap:4px}
.loan .loan-head{overflow-wrap:anywhere}
.loan .loan-status{font-size:13px}
.loan.standing .loan-status{color:var(--chip-ok,#2F6B37);font-weight:600}
.loan .loan-est{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:13px}
.loan .loan-rough{color:#8A5A00}
.loan .loan-mine{display:flex;flex-wrap:wrap;align-items:flex-end;gap:6px 12px}
.loan .loan-mine label{display:grid;gap:2px;font-size:12px;color:var(--muted)}
.loan .loan-mine input{width:8em;max-width:100%}
.loan .loan-saved{justify-self:start;padding:3px 9px;border-radius:999px;background:#1E7B45;color:#fff;font-weight:600;font-size:12px}
.loan-assume{margin:6px 0;padding-left:18px;font-size:13px;color:var(--muted)}

/* Rent comps (5 Nov 2026, rentcomps.js): the table scrolls in its own box; the address wraps with why under it, the
   actions sit in one line so a row stays one row tall on a phone. */
.rent-table th, .rent-table td { vertical-align: middle; white-space: nowrap; }
.rent-table tbody th { white-space: normal; min-width: 11em; max-width: 18em; }
.rent-table tbody th small { display: block; font-weight: normal; }
.rent-table input.mini { width: 6.5em; }
.rent-comps .says b { overflow-wrap: anywhere; }
/* Answer an email (5 Nov 2026, reply.js): one folded box, full-width boxes, buttons wrap on a phone. */
.reply-box textarea{width:100%;box-sizing:border-box;font:inherit}
.reply-box .reply-draft{min-height:12em}
.reply-box .acts{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.reply-asks{margin:4px 0 8px;padding-left:20px}
.reply-asks li{padding:3px 0;overflow-wrap:anywhere}
.reply-asks li.missing{color:#7A5A20}
.reply-box .saved{color:#2E7D32;font-weight:600}
.reply-box .bad{color:var(--bad,#B3261E)}
.reply-head{margin:12px 0 4px;overflow-wrap:anywhere}
/* The people and mail on a deal, and a follow-up drafted (9 Nov 2026, followup.js). */
.mail-box summary{cursor:pointer;font-weight:600}
.mail-box h4{margin:16px 0 6px;font:600 13px/1.3 var(--px-font-ui)}
.mail-row{display:grid;grid-template-columns:1fr auto;gap:4px 12px;padding:9px 0;border-top:1px solid var(--px-rule);align-items:start}
.mail-row>*{min-width:0}
.mail-box,.draft-box{min-width:0;max-width:100%;box-sizing:border-box}
.mail-row .who{font-size:13px;color:var(--px-muted);overflow-wrap:anywhere}
.mail-row .title{font-weight:600;overflow-wrap:anywhere}
.mail-row .acts{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.turn{display:inline-block;font:600 11px/1.5 var(--px-font-mono);padding:0 7px;border-radius:999px;border:1px solid var(--px-rule);white-space:nowrap}
.turn.you{border-color:#c0392b;color:#a32d22}.turn.them{color:var(--px-muted)}.turn.late{background:#c0392b;border-color:#c0392b;color:#fff}
.draft-box{margin-top:12px;padding:12px;border:1px solid var(--px-rule);border-radius:8px}
.draft-box textarea,.draft-box input[type=text]{width:100%;box-sizing:border-box;font:inherit}
.draft-box textarea.body{min-height:9em}
.tone-row{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}
.draft-box .tone-row button.chip[aria-pressed="true"]{background:#1f2328;color:#fff;border-color:#1f2328}
.draft-box .pick-row{display:flex;flex-wrap:wrap;gap:6px 16px;margin:6px 0;padding:0;border:0}
.draft-box .pick-row label{display:inline-flex;flex-direction:row;gap:6px;align-items:center;flex:0 1 auto;width:auto;max-width:100%;min-width:0;margin:0;font:500 14px/1.3 var(--px-font-ui);text-align:left;color:inherit;overflow-wrap:anywhere}
/* Each name at its own width, wrapping to the next line (the base label rule's flex:1 shared one row out 23 ways, 12 Nov 2026). */
.draft-box .to-row .link{font-size:13px}
.draft-box .pick-row input{width:auto;margin:0}
.mail-box .mail-row select,.mail-box .mail-row input[type=text]{width:auto;max-width:150px;font-size:13px;padding:4px 6px}
.draft-box .acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;align-items:center}
.draft-box .notes{margin:6px 0 0;padding-left:18px;font-size:13px;color:#8a5a00}
@media (max-width:640px){.mail-row{grid-template-columns:minmax(0,1fr)}.mail-row .acts{justify-content:flex-start}.mail-box .mail-row select,.mail-box .mail-row input[type=text]{max-width:100%}}
/* Follow-ups, the list you go down (9 Nov 2026). */
.fu-progress{display:flex;align-items:center;gap:12px;margin:0 0 12px;font-weight:600}
.fu-progress .bar{flex:1;max-width:260px;height:6px;border-radius:3px;background:var(--px-rule);overflow:hidden}
.fu-progress .bar i{display:block;height:100%;background:#2e7d32}
.fu-row{border-top:1px solid var(--px-rule)}
.fu-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;width:100%;padding:11px 4px;background:none;border:0;text-align:left;cursor:pointer;color:inherit;font:inherit}
.fu-head:hover{background:rgba(0,0,0,.03)}
.fu-name{font-weight:600}.fu-why{grid-column:1;font-size:13px;color:var(--px-muted);overflow-wrap:anywhere}
.fu-count{grid-row:1/3;grid-column:2;align-self:center;white-space:nowrap}
.fu-body{padding:4px 4px 16px}
.fu-body h4{margin:14px 0 4px;font:600 13px/1.3 var(--px-font-ui)}
.fu-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;padding:7px 0;border-top:1px solid var(--px-rule);font-size:14px;align-items:center}
.fu-item select,.fu-all select{font-size:13px;padding:3px 6px;width:auto;max-width:100%}
.fu-all{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px;font-size:13px}
.fu-plan{padding:8px 0}.fu-plan p{margin:0 0 6px}
.fu-chips{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}
.fu-say{display:flex;gap:6px;margin-top:6px}.fu-say input{flex:1;min-width:0;width:auto;font:inherit}
.fu-heard{font-size:13px;color:#2e7d32;margin:4px 0 0}
.fu-morning{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0 0 10px;font-size:14px}
.fu-morning details{font-size:13px}.fu-morning ul{margin:4px 0 0}
/* The Salesforce bridge (17 Nov 2026): the tag on every view of the list, a day count on each seller, the pile names, a card's three status lines. */
.fu-top{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;margin:0 0 10px}
.fu-top>.fu-sf,.fu-top>.fu-morning{margin:0}
.fu-sf{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:13px}
.fu-sf-tag{font:600 12px/1.5 var(--px-font-mono);padding:1px 8px;border:1px solid var(--px-rule);border-radius:999px;white-space:nowrap}
.fu-sf.stale .fu-sf-tag{border-color:var(--bad);color:var(--bad)}
.fu-sf details{font-size:13px}.fu-sf ul{margin:4px 0 0}
.fu-bucket{margin:6px 4px 1px;font:700 11px/1.3 var(--px-font-mono);letter-spacing:.02em;color:var(--px-muted)}
.fu-bucket:first-child{margin-top:2px}
.fu-pending{color:#8a5200;background:#fff6e5;font-weight:600;padding:0 6px;border-radius:4px}
@media (max-width:640px){.fu-sf-check{display:none}.fu-sf-tag{font-family:var(--px-font-ui);font-size:12px}}
.turn.clock{margin-right:6px}
.turn.clock.ok{border-color:#2e7d32;color:#1b5e20;background:#e8f5e9}
.turn.clock.floor{border-color:#b26a00;color:#8a5200;background:#fff6e5}
.turn.clock.flag{border-color:#c0392b;color:#a32d22;background:#fdecea}
.turn.clock.sf{background:#c0392b;border-color:#c0392b;color:#fff}
.turn.bucket{margin-right:6px;border-color:var(--ink);color:var(--ink)}
.turn.bucket.court{background:var(--ink);color:var(--card)}
.fu-clock{margin:2px 0 6px;font-size:14px}
.fu-clock .line{display:flex;flex-wrap:wrap;align-items:center;gap:2px 6px;padding:1px 0;overflow-wrap:anywhere}
.fu-clock .line.small{font-size:13px}
.fu-clock .line .chip{padding:1px 8px;margin-left:auto}
.fu-break{color:var(--bad);font-weight:600}
.fu-logask{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:10px;border:1px solid #b26a00;border-radius:6px;background:#fff6e5;color:#3d2a00}
.fu-logask .sub{color:#5c4300}
.fu-logsubj{font:600 12px/1.4 var(--px-font-mono);overflow-wrap:anywhere}
/* Log in Salesforce (loop 581): the entries not yet logged, a seller a row; open one to change its words. */
.sf-log .sf-top{margin:0 0 8px}
.sf-g{border-top:1px solid var(--px-rule);padding:6px 0}
.sf-g>summary{cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sf-subj{font:12px/1.4 var(--px-font-mono)}
.sf-g .acts{margin:6px 0}
.sf-e{display:grid;gap:6px;margin:0 0 8px}
.sf-row{display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:8px;align-items:start}
.sf-row input,.sf-row textarea{width:100%;min-width:0;font-size:13px}
@media (max-width:640px){.sf-row{grid-template-columns:minmax(0,1fr) auto}.sf-row>span.small{grid-column:1/-1}}
.fu-last{margin:8px 0;padding:8px 10px;border-left:3px solid var(--px-rule);background:rgba(0,0,0,.03);border-radius:4px}
.fu-last p{margin:2px 0 0;font-size:14px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.fu-rest{margin-top:10px}.fu-rest>summary{cursor:pointer;font-size:14px;font-weight:600}
.fu-sendas{display:flex;align-items:center;gap:6px;margin:0 0 8px}
.fu-sendas button.chip[aria-pressed="true"]{background:#1f2328;color:#fff;border-color:#1f2328}
.turn.ready{background:#e8f5e9;color:#1b5e20;margin-right:6px}
.fu-why{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fu-brings .bring{display:flex;flex-direction:row;gap:8px;padding:5px 0;align-items:flex-start;font:400 14px/1.35 var(--px-font-ui);width:auto;margin:0;text-align:left;color:inherit}
.fu-brings .bring input{width:auto;margin:3px 0 0;flex:none}
.fu-brings .where{margin:0 0 6px 24px;display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:13px}
.fu-get{padding:6px 0;border-top:1px dashed var(--px-rule);font-size:14px;overflow-wrap:anywhere}
.fu-get .where{margin:4px 0 0;display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:13px}
.fu-get .how{flex-basis:100%;color:var(--px-muted)}
.fu-body .where a.chip,.fu-body .where button.chip{white-space:normal;max-width:100%;text-align:left;height:auto;overflow-wrap:anywhere}
.fu-body,.fu-row,.fu-brings,.fu-get,.fu-get .where{min-width:0;max-width:100%}
/* A "Read: <a long subject>" chip wraps inside its row; it ran 18px past a phone's edge (17 Nov 2026). */
.fu-brings .where .chip,.fu-get .where .chip{max-width:100%;white-space:normal;overflow-wrap:anywhere;height:auto;text-align:left}
.fu-typed{width:100%;box-sizing:border-box;font:inherit;margin-top:6px}
.fu-need{color:#a32d22;font-size:13px;margin:6px 0 0}
.fu-done{padding:7px 4px;border-top:1px solid var(--px-rule);color:var(--px-muted);text-decoration:line-through}
.fu-week{margin:14px 0 4px;font:600 13px/1.3 var(--px-font-ui)}
.fu-coming{display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:2px 10px;padding:6px 0;border-top:1px solid var(--px-rule);font-size:14px;align-items:baseline}
.fu-coming .chip{white-space:nowrap}
@media (max-width:640px){.fu-coming{grid-template-columns:minmax(0,1fr) auto}.fu-coming .day{grid-column:1/-1;font-weight:600}.fu-item{grid-template-columns:minmax(0,1fr)}}
.fu-row{scroll-margin-top:120px}
.fu-reach{margin:2px 0 8px;font-size:14px}
.fu-reach .line{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center;padding:3px 0;overflow-wrap:anywhere}
.fu-reach input{width:auto;min-width:0;flex:0 1 180px;font:inherit;font-size:13px;padding:3px 6px}
.fu-coming .acts{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.act-bad{margin-left:6px;font-size:13px}
.fu-addfold{margin:0 0 12px}.fu-addfold summary{cursor:pointer;font-weight:600}
.fu-add{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:8px 0}
.fu-add input[type=text],.fu-add select{width:auto;max-width:100%;flex:0 1 180px;min-width:0;font-size:14px;padding:4px 6px}
.fu-noneed{display:flex;flex-direction:column;gap:6px;align-items:flex-end;min-width:0}
.fu-why-box{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;min-width:0;max-width:340px}
.fu-why-box input,.fu-why-box select{width:auto;flex:1 1 150px;min-width:0;max-width:100%;font-size:13px;padding:3px 6px}
@media (max-width:640px){.fu-noneed{align-items:stretch}.fu-why-box{justify-content:flex-start;max-width:none}}

/* Your year plan (0049, public/career/yearplan.js): the month grid scrolls sideways on a phone, the current month shaded,
   a past month short of its goal in amber, a met one in green. */
.yp .sb-card { margin-bottom: 14px; }
.yp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.yp-grid { min-width: 640px; }
.yp-grid th, .yp-grid td { text-align: center; white-space: nowrap; }
.yp-grid th:first-child { text-align: left; }
.yp-grid tr.yp-goal td { color: var(--muted, #5F646C); }
.yp-grid tr.yp-actual { border-bottom: 2px solid var(--line, #ddd); }
.yp-grid .yp-now { background: color-mix(in srgb, #2E7D32 8%, transparent); }
.yp-grid td.yp-met { color: #2E7D32; font-weight: 600; }
.yp-grid td.yp-short { color: #8A5A00; font-weight: 600; }
.yp-grid td.yp-total { font-weight: 600; }
.yp-tot { display: inline-block; margin-right: 14px; }
.yp-runway { border-left: 3px solid var(--line, #ddd); padding-left: 10px; }
.yp-runway h4, .yp h4 { margin: 6px 0 2px; }
.yp-edit { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.yp-edit fieldset { display: flex; flex-wrap: wrap; gap: 8px; }
.yp-edit fieldset label { display: flex; flex-direction: column; width: 96px; font-size: 0.85em; }
.yp-edit textarea { width: 100%; }

/* The Offers box as one short table, and the offer pop-up (James, 11 Nov 2026, 508 S Dixie's ten offers: "I don't know how many
   fucking times I have to talk about these endless loops of scrolls"). One line of counts, one row per offer, everything else
   in a pop-up; the page never grows past one screen (npm run shot:offers measures it at 1280x900 and 390x844). */
.offers-box .ob-head{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;justify-content:space-between;margin:0 0 6px}
.offers-box .ob-counts{font-size:14px;font-weight:600}
.offers-box .ob-counts button.link{font-size:14px;padding:0 2px;color:var(--chip-due,#7A5A20)}
.offers-box .ob-acts{display:inline-flex;flex-wrap:wrap;gap:6px;align-items:center}
body.px .btn.small,body.px .ob-acts .btn{padding:4px 10px;font-size:13px;min-height:30px}
.ob-go{cursor:pointer}
.offers-box .ob-short{display:none}
@media (max-width:640px){.offers-box .ob-long{display:none}.offers-box .ob-short{display:inline}.offers-box .ob-go{display:none}.offers-box .ob-head{gap:4px 8px}}
.ob-go.go-clears{color:var(--chip-ok,#2F6B37)}
.ob-go.go-short{color:var(--bad)}
.ob-table{width:100%;border-collapse:collapse;font-size:14px;table-layout:fixed}
.ob-table th{font-weight:500;color:var(--muted);text-align:left;font-size:12px;padding:2px 6px;border-bottom:1px solid var(--line)}
.ob-table td{padding:5px 6px;border-bottom:1px solid var(--line);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.ob-table .ob-buyer{width:20%}
.ob-table td.ob-buyer{font-weight:600}
.ob-table .ob-offer{width:21%}
.ob-table .ob-in{width:6%}
.ob-table .ob-exp{width:14%}
.ob-table .ob-chk{width:64px;text-align:center}
.ob-table td.ob-stand{white-space:normal;line-height:1.3} /* a laptop has the room: the whole line, never "they s…" */
.ob-table td.ob-exp.due,.ob-table td.ob-stand.due{color:var(--bad)}
/* Loop 580: on an offer's pop-up, whether its net is after the listing commission, and when Salesforce shows a newer bid. */
.offer-comm{margin:4px 0}.offer-comm.comm-out b,.offer-comm.comm-unknown b{color:var(--bad)}
.offer-stale{margin:4px 0;padding:6px 8px;border:1px solid var(--bad);border-radius:6px;color:var(--bad)}
.ob-row{cursor:pointer}
.ob-row:hover td,.ob-row:focus-visible td{background:var(--wash)}
.ob-row.unchecked td.ob-buyer{box-shadow:inset 3px 0 0 #e0a800}
.ob-row.shut td{color:var(--muted)}
.ob-ok{color:var(--chip-ok,#2F6B37);font-weight:700}
.ob-table .chip{cursor:pointer}
.ob-folds{margin:4px 0 0;font-size:13px}
.ob-folds button.link{padding:2px 0;font-size:13px}
@media (max-width:640px){
  /* two lines a row: buyer and offer; where it stands (and its date) and the check */
  .ob-table thead{display:none}
  .ob-table,.ob-table tbody{display:block}
  /* the expiry its own cell beside the check, so the line keeps its width and its own date (11 Nov 2026 review) */
  .ob-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto auto;column-gap:8px;padding:4px 2px;border-bottom:1px solid var(--line);line-height:1.25}
  .ob-table td{border:0;padding:0}
  .ob-table td.ob-buyer{grid-column:1 / 3;grid-row:1;width:auto}
  .ob-table td.ob-offer{grid-column:3;grid-row:1;width:auto;text-align:right}
  .ob-table td.ob-stand{grid-column:1;grid-row:2;font-size:12.5px;color:var(--muted);white-space:nowrap;line-height:1.25}
  .ob-table td.ob-exp{grid-column:2;grid-row:2;width:auto;font-size:12.5px;color:var(--muted);text-align:right}
  .ob-table td.ob-exp.due,.ob-table td.ob-stand.due{color:var(--bad)}
  .ob-table td.ob-stand.due{white-space:normal} /* a stale offer's line is never the part cut off */
  .ob-table td.ob-chk{grid-column:3;grid-row:2;width:auto;text-align:right}
  .ob-table td.ob-chk .chip{padding:0 6px;font-size:11px;line-height:18px}
  .ob-table td.ob-in{display:none}
}
/* The pop-ups: the pop-up scrolls, the page never does. */
.ob-dialog{width:min(640px,96vw);max-height:90vh;padding:0;border:0;border-radius:10px;box-shadow:0 10px 40px rgba(0,0,0,.35);background:var(--card);color:var(--ink)}
.ob-dialog.wide{width:min(860px,96vw);height:90vh} /* one size whatever it holds: a save never re-centres it under him */
.ob-dialog::backdrop{background:rgba(0,0,0,.5)}
.ob-dialog[open]{display:flex;flex-direction:column}
.ob-dialog-body{overflow:auto;padding:10px 14px 14px}
.ob-dialog-body .builder-step{margin:14px 0 6px;font-size:1rem;border-top:1px solid var(--line);padding-top:8px}
.ob-dialog-body textarea{width:100%}
.offer-viewer{background:var(--card);color:var(--ink)}
.offer-viewer .cv-body.ov-body{grid-template-columns:minmax(0,1fr) minmax(320px,420px)}
.offer-viewer .ov-doc{order:1;min-height:0}
.offer-viewer .ov-side{order:2;border-right:0;border-left:1px solid var(--line)}
.offer-viewer .ov-title{min-width:0;flex:1}
.offer-viewer .ov-title .chip{margin-left:4px}
.offer-viewer .ov-fields{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin:6px 0}
.offer-viewer .ov-check{margin:6px 0}
.offer-viewer .ov-hist{margin:10px 0;border-top:1px solid var(--line);padding-top:6px}
.offer-viewer .ov-hist h4{margin:0 0 4px}
.offer-viewer .ov-hist-table{display:table;font-size:13px}
.offer-viewer .ov-hist-table td{white-space:normal}
.offer-viewer .ov-hist-table td.ov-hist-note{color:var(--muted)}
.offer-viewer .ov-hist .acts{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}
.offer-viewer .ov-hist-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.offer-viewer .ov-hist-row input[type=number]{width:9em}
.offer-viewer .ov-hist-row input[type=text]{flex:1;min-width:10em}
.offer-viewer .ov-notes{white-space:pre-wrap}
.offer-viewer .ov-foot{margin-top:12px}
.cv-img{max-width:100%;height:auto;display:block;margin:0 auto;background:#fff}
@media (max-width:700px){
  .offer-viewer{max-width:100vw}
  .offer-viewer .cv-body.ov-body{grid-template-columns:1fr;grid-template-rows:38vh minmax(0,1fr)}
  .offer-viewer .ov-side{border-left:0;border-top:1px solid var(--line);max-height:none}
}
/* A confirmation that floats (app.js careerToast). */
.career-toast{position:fixed;left:50%;bottom:calc(16px + env(safe-area-inset-bottom, 0px));transform:translateX(-50%);z-index:2147483000;max-width:min(560px,92vw);
  padding:9px 14px;border-radius:8px;background:#1E2126;color:#fff;font-size:14px;box-shadow:0 6px 24px rgba(0,0,0,.3);transition:opacity .4s}
.career-toast.bad{background:#B3261E}
.career-toast.out{opacity:0}
/* Listing activity: where each offer stands, and a log that shows what fits (the rest in "N more"; all rows print). */
.stand-table{table-layout:fixed;display:table}
.stand-table td{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stand-table th:nth-child(1){width:26%}.stand-table th:nth-child(2){width:12%}.stand-table th:nth-child(3){width:12%}.stand-table th:nth-child(4){width:19%}.stand-table th:nth-child(5){width:19%}.stand-table th:nth-child(6){width:12%}
/* The full list in its pop-up has room to wrap: every word shows (12 Nov 2026: "Countered at $17..."). */
.ob-dialog .stand-table td{white-space:normal;overflow:visible}
@media print{.stand-table td{white-space:normal}}
.facts-line{display:flex;flex-wrap:wrap;gap:4px 16px;margin:4px 0 10px;font-size:14px}
.facts-line .fl{color:var(--muted)}.facts-line .fl b{color:var(--ink)}
@media screen{.report tr.fold-row{display:none}}
@media screen and (max-width:640px){
  #report-activity .stand-table{display:block}
  #report-activity .stand-table thead{display:none}
  #report-activity .stand-table tbody{display:block}
  #report-activity .stand-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:4px 0;border-bottom:1px solid var(--line)}
  #report-activity .stand-table td{border:0;padding:0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
  #report-activity .stand-table td:nth-child(1){font-weight:600}
  #report-activity .stand-table td:nth-child(2){grid-column:2;grid-row:1;text-align:right}
  #report-activity .stand-table td:nth-child(3){grid-column:1;grid-row:2;font-size:12px;color:var(--muted)}
  #report-activity .stand-table td:nth-child(5){grid-column:2;grid-row:2;font-size:12px;text-align:right}
  #report-activity .stand-table td:nth-child(4){grid-column:1 / -1;grid-row:3;font-size:12px;color:var(--muted)}
  #report-activity .stand-table td:nth-child(4):empty{display:none}
  #report-activity .stand-table tr{padding:3px 0;line-height:1.3;font-size:13px}
  #report-activity h4{margin:10px 0 4px}
  #report-activity .stand-table td.st-open{display:none}
  #report-activity .report-table:not(.stand-table){display:table;table-layout:fixed;width:100%}
  #report-activity .report-table:not(.stand-table) td,#report-activity .report-table:not(.stand-table) th{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:3px 4px}
  #report-activity .report-table:not(.stand-table) th:first-child{width:4.2em}
}
.offer-viewer .ov-hist-table td:nth-child(-n+3){white-space:nowrap}
@media (max-width:700px){
  .offer-viewer .cv-head{padding:8px 10px;gap:6px}
  .offer-viewer .ov-title b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .offer-viewer .ov-title .sub{font-size:12px}
}
.ob-dialog-body .payoff-line{min-height:38px;display:flex;align-items:center;margin:6px 0}
.ob-dialog-body .print-row{min-height:40px;align-items:center}
/* Reports' side (11 Nov 2026 review): the menu, then the print buttons under it, so the report starts where the menu does; on a
   phone the menu is one select and the buttons go under the report. A table folded to nothing shows only its "See all" line. */
.reports-side{flex:1 1 220px;display:flex;flex-direction:column;gap:10px;min-width:0}
.reports-side .reports-menu{flex:none}
.reports-side .reports-acts{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin:0}
.reports-side .reports-acts>*{text-align:left}
.reports-pick{display:none}
@media screen{.report table.fold-all{display:none}}
@media (max-width:720px){
  .reports-side{display:contents}
  .reports-side .reports-menu{display:none}
  .reports-pick{display:block;order:0;flex:1 1 100%;width:100%;font-size:15px;min-height:40px}
  .reports-paper{order:1}
  .reports-side .reports-acts{order:2;flex:1 1 100%;flex-direction:row;flex-wrap:wrap}
  .reports-layout{gap:10px;margin-top:8px}
}
/* Listing activity on screen (11 Nov 2026 review): a section folded to nothing is one link beside the next, and the report's own
   head is smaller on screen (print keeps the full head). */
@media screen{
  .report h4.fold-head{display:none}
  .report .fold-box.folded{display:inline-block;margin:10px 18px 0 0}
  .reports-paper #report-activity{padding:18px 24px 20px}
  #report-activity .report-logo{height:30px}
  body.px.msre #report-activity .report-head{padding-bottom:8px}
  body.px.msre #report-activity h3{font-size:22px}
  #report-activity h4{margin:12px 0 4px}
  #report-activity .facts-line{margin:2px 0 6px}
}
/* The deal's header on a phone (11 Nov 2026 review: it took 480 of the 785px above the tab row, so the Offers box began past
   half the screen): a smaller title and move button, the next step tighter, its "presumed from" line on one line. */
@media (max-width:640px){
  .dealbar .deal-title{font-size:20px;line-height:1.15}
  .dealbar .sub{margin:0 0 4px}
  .dealbar-main{gap:6px 10px;margin-top:0}
  .dealbar-go .btn,.dealbar-go button{min-height:36px;padding:6px 12px;font-size:14px}
  .dealbar .nextstep{margin:6px 0;padding:6px 9px;gap:8px;flex-wrap:wrap}
  .dealbar .nextstep .t{font-size:14.5px}
  .dealbar .nextstep .m{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .dealbar .stagebar{margin-top:8px}
}
@media screen and (max-width:640px){
  /* the move forward beside the seller's name, not a line of its own */
  .dealbar-main{position:relative}
  .dealbar-main .sub{min-height:36px;padding-right:150px}
  .dealbar-main .dealbar-go{position:absolute;right:0;bottom:0}
  /* Listing activity's head in one short block: the deal's own header above already names the home; paper keeps it all */
  .reports-paper #report-activity{padding:12px 14px 14px}
  #report-activity .report-logo{display:none}
  #report-activity .report-head{align-items:center}
  #report-activity .report-head .sub{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:62vw;margin:0}
  body.px.msre #report-activity h3{font-size:19px}
  #report-activity .report-acts button{min-height:32px;padding:4px 12px}
  #report-activity .facts-line{font-size:12.5px;gap:2px 10px}
}
/* folded rows stay folded under the phone's grid rows (an id rule had put them back) */
@media screen{.report tr.fold-row,.report table.fold-all{display:none!important}}
.facts-line .fl-short{display:none}
@media screen and (max-width:640px){
  #report-activity .facts-line{flex-wrap:nowrap;white-space:nowrap;overflow:hidden}
  #report-activity .facts-line .fl-long{display:none}
  #report-activity .facts-line .fl-short{display:inline}
  #report-activity h4{margin:8px 0 2px}
  .reports-layout{gap:8px;margin-top:4px}
  .reports-paper #report-activity{padding:10px 12px 12px}
  body.px.msre #report-activity .report-head{padding-bottom:6px;margin-bottom:4px}
}

/* The weekly seller updates (12 Nov 2026, public/career/updates.js): one line on Follow-ups, one pop-up per seller. */
.su-strip{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:6px 0 10px;font-size:.92rem}
.su-strip .su-label{font-weight:600;margin-right:4px}
.su-chip .su-st{opacity:.7;font-size:.85em}
.su-chip.su-due{border-color:var(--accent,#D11242)}
.su-chip.su-sent{opacity:.65}
.su-all{display:flex;flex-wrap:wrap;gap:6px}
.su-dialog .ob-dialog-body{display:grid;gap:10px}
.su-headline{font-weight:600;margin:0}
.su-field{display:grid;grid-template-columns:5.5rem 1fr;align-items:center;gap:8px}
.su-field textarea{grid-column:1/-1}
.su-mail,.su-nudge{border:1px solid var(--line,#ddd);border-radius:8px;padding:8px 10px;display:grid;gap:6px;margin:0}
.su-mail legend,.su-nudge legend{font-size:.85rem;font-weight:600;padding:0 4px}
.su-mail textarea,.su-nudge textarea,.su-dialog textarea{width:100%;box-sizing:border-box}
.su-go{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.su-status{font-weight:600;margin:0}
.su-status.su-sent{color:#2E7D32}
.su-after{border-top:1px solid var(--line,#ddd);padding-top:8px;display:grid;gap:6px}
.su-nudge-text{background:var(--panel,#f6f5f2);border-radius:8px;padding:8px 10px;margin:0;white-space:pre-wrap}
.su-done{display:grid;gap:10px}
.act-headline{font-weight:600;border-left:3px solid var(--accent,#D11242);padding:6px 10px;background:var(--panel,#f6f5f2);margin:0 0 8px}
.act-invite{font-weight:600;border:1px solid var(--accent,#D11242);border-radius:6px;padding:8px 10px}
.act-note{font-style:italic}
.fl-week{color:var(--accent,#D11242);font-weight:600}
.fl-sub{opacity:.7;font-size:.9em}
@media (max-width:640px){.su-field{grid-template-columns:1fr}}
/* The figures line on a phone: the best offer's buyer goes, so each figure keeps to its line (12 Nov 2026, shot:updates). */
@media (max-width:640px){.facts-line .fl-sub{display:none}#report-activity .facts-line .fl-week{display:none}}
@media (max-width:640px){.report-head{flex-wrap:wrap}.report-head .report-acts{flex-wrap:wrap;gap:6px;max-width:100%}}
.su-dates,.report-acts .su-dates{display:inline-flex!important;flex-direction:row;align-items:center;gap:6px;font-size:.9rem;white-space:nowrap}
.su-dates input{margin:0;width:auto}
.est-note .est-short{display:none}
@media screen and (max-width:640px){.est-note .est-long{display:none}.est-note .est-short{display:inline}#report-activity .facts-line .fl-opt{display:none}#report-activity .act-invite{margin:6px 0;padding:6px 10px}}

/* The one Ask button (12 Nov 2026, loop 539, public/career/talk-adapter.js): opens the shell's talk panel, Career first. It sits on a
   line that is already there -- the page head's first line, a deal's top line, the deal box's buttons -- so it never adds a line. */
.career-ask{font:inherit;font-size:.875rem;font-weight:600;line-height:1.2;padding:5px 12px;border-radius:999px;border:1px solid var(--px-rule,#ccc);
  background:var(--px-card,#fff);color:var(--px-fg,inherit);cursor:pointer;white-space:nowrap;min-height:30px}
.career-ask::before{content:"";display:inline-block;width:.5em;height:.5em;border-radius:50%;background:var(--px-accent,currentColor);margin-right:.4em;vertical-align:.1em}
.career-ask:hover{border-color:var(--px-accent,currentColor)}
.career-ask{display:inline-flex;align-items:center;gap:0}
.career-ask .who{margin-left:.3em}
main .px-head{position:relative}
main .px-head>.career-ask{position:absolute;right:0;top:8px}
body.px.msre .px-head>.career-ask,body.px.wp .px-head>.career-ask{position:static;grid-column:1;grid-row:1;justify-self:end}
.dealbar-top .career-ask{margin-left:auto;padding:3px 11px;min-height:28px}
.dealbar-top .career-ask+select{margin-left:0}
.dealbar-top>a{white-space:nowrap}
.dealbar-top select{min-width:0;flex:0 1 auto}
/* On a phone the deal box's Ask is just "Ask", so it shares the Debrief button's row. */
@media (max-width:640px){.talk-box .career-ask .who{display:none}}
body.px.msre .px-head>h1,body.px.wp .px-head>h1{grid-row:1}
/* The weekly market check (16 Nov 2026, loop 523, public/career/hotsheet.js): one line on Follow-ups, one pop-up per seller.
   The pop-up is a fixed size and scrolls inside itself; the page under it never grows. */
.mc-strip{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px;font-size:.92rem}
.mc-strip .mc-label{font-weight:600;margin-right:4px}
.mc-chip{border-color:var(--accent,#D11242)}
.mc-all{display:flex;flex-wrap:wrap;gap:6px}
.mc-all .chip{max-width:100%;white-space:normal;text-align:left}
.mc-dialog .ob-dialog-body{display:grid;gap:10px;align-content:start}
.mc-steps ol{margin:0;padding-left:1.25rem;display:grid;gap:3px;font-size:.92rem}
.mc-steps li b{font-weight:700}
.mc-steps li b.nb{white-space:nowrap}
.mc-links{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:6px 0 0}
.mc-new{flex-basis:100%}
.mc-new summary{cursor:pointer}
.mc-new p{margin:4px 0 0}
.mc-paste{width:100%;box-sizing:border-box;min-height:7.5rem;font:12px/1.4 var(--px-font-mono,ui-monospace,monospace);white-space:pre;overflow:auto}
.mc-paste.over{outline:2px dashed var(--accent,#D11242);outline-offset:2px}
.mc-form{display:grid;gap:8px}
.mc-go{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.mc-preview{border:1px solid var(--line,#ddd);border-radius:8px;padding:8px 10px;display:grid;gap:4px}
.mc-preview p{margin:0}
.mc-preview h4,.mc-dialog h4{margin:6px 0 0;font-size:.9rem}
.mc-count{margin-left:4px}
.mc-line{margin:0;background:var(--panel,#f6f5f2);border-radius:8px;padding:6px 10px}
.mc-lines{display:grid;gap:6px;justify-items:start}
.mc-lines .mc-line{justify-self:stretch}
.mc-saved{font-weight:600;color:#2E7D32;margin:0}
.mc-history summary{cursor:pointer;font-size:.9rem}
.mc-history p{margin:2px 0 0}
@media (max-width:640px){.mc-steps ol{font-size:.88rem}.mc-paste{min-height:6rem}}

/* The deal on one screen (16 Nov 2026, public/career/rooms.js): twelve tiles, one per subject; Home's own boxes one at a time. */
.cockpit{display:flex;flex-direction:column;gap:10px}
.rooms{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.room{position:relative;display:flex;flex-direction:column;gap:3px;min-width:0;min-height:92px;padding:10px 12px;background:var(--card);border:1px solid var(--line);border-radius:var(--r)}
.room:hover,.room:focus-within{border-color:var(--ink)}
.room-open{position:absolute;inset:0;z-index:1;background:none;border:0;padding:0;cursor:pointer;border-radius:inherit}
.room-top{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:22px}
.room-name{font:600 11px/1.3 var(--px-font-mono,ui-monospace,monospace);letter-spacing:.09em;text-transform:uppercase;color:var(--ink)}
.room-chip{position:relative;z-index:2;font:600 10.5px/1 var(--px-font-mono,ui-monospace,monospace);letter-spacing:.04em;text-transform:uppercase;padding:4px 6px;white-space:nowrap;text-decoration:none;border:1px solid transparent}
.room-chip.bad{background:var(--hot,var(--wash));color:var(--deep,var(--bad));border-color:color-mix(in srgb,var(--accent) 30%,transparent)}
.room-chip.later{background:var(--bg);color:var(--muted);border-color:var(--line)}
.room-line{font-size:15px;line-height:1.25;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.room-also{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.room.is-ok .room-line,.room.is-later .room-line{font-weight:500;color:var(--muted);font-size:14px}
.room.is-later{background:color-mix(in srgb,var(--card) 55%,var(--bg))}
.room-back{display:none;cursor:pointer;font:inherit;font-weight:700;text-align:left}
.room-more{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.room-more .chip[aria-pressed="true"],.room-open[aria-pressed="true"]~.room-top .room-name{text-decoration:underline}
.room-more .chip[aria-pressed="true"]{background:var(--ink);color:var(--card);border-color:var(--ink);text-decoration:none}
.room-panel>fieldset,.room-panel>details,.room-panel>aside>fieldset{background:var(--card);margin-top:0}
.room-panel>*+*{margin-top:12px}
.room-panel .deal-side{flex:none}
/* A box is open: the tiles fold to one row of names so the box starts near the top. */
.cockpit.has-open .rooms{display:flex;flex-wrap:wrap;gap:5px}
.cockpit.has-open .room{min-height:0;padding:5px 9px;flex-direction:row;align-items:center}
.cockpit.has-open .room-back{display:block}
.cockpit.has-open .room-line,.cockpit.has-open .room-also,.cockpit.has-open .room-chip.later{display:none}
.cockpit.has-open .room-top{min-height:0}
.cockpit.has-open .room-chip.bad{padding:2px 4px}
.cockpit.has-open .room:has(.room-open[aria-pressed="true"]){background:var(--ink)}
.cockpit.has-open .room:has(.room-open[aria-pressed="true"]) .room-name{color:var(--card)}
.find-btn{margin-left:auto}
.find-dialog{width:min(560px,96vw)}
.find-q{width:100%;font-size:17px;font-weight:600;padding:9px 4px;border:0;border-bottom:2px solid var(--ink);background:none;color:var(--ink);outline:none}
.find-list{display:flex;flex-direction:column;margin-top:4px}
.find-hit{display:flex;justify-content:space-between;gap:10px;padding:8px 2px;border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink)}
.find-hit:hover,.find-hit:focus{background:var(--wash)}
.find-hit small{font:500 11px var(--px-font-mono,ui-monospace,monospace);text-transform:uppercase;letter-spacing:.06em;color:var(--muted);white-space:nowrap}
/* A phone: the header takes half the screen, so a tile is its name and how many are missing; a tap opens it. */
@media (max-width:700px){
  .cockpit{gap:8px}
  .rooms{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
  .room{min-height:0;padding:3px 9px}
  .room-line,.room-also,.room-chip.later,.room-chip .w{display:none}
  .room-name{font-size:10.5px;letter-spacing:.06em}
  .room-more{flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px}
  .room-more .chip{white-space:nowrap;flex:none}
}
.room-panel>details.panel,.room-panel>details.add{padding:8px 14px 12px;border:1px solid var(--line)}

/* Follow-ups on one screen (16 Nov 2026): rows on the left, the open person's card beside them, the rest one tap away. */
.fu-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,460px);gap:16px;align-items:start}
.fu-side{position:sticky;top:8px;max-height:calc(100vh - 16px);overflow:auto;background:var(--card);border:1px solid var(--line);border-top:4px solid var(--accent);padding:10px 14px}
.fu-side-head{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:17px}
.fu-seg{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:0 0 6px}
.fu-seg button[aria-pressed="true"]{background:var(--ink);color:var(--card);border-color:var(--ink)}
.fu-row.on .fu-head{background:var(--hot,var(--wash))}
/* The row carries its message (loop 576): the words where the reason was, the way to send them and Copy at its end; none yet = Write it. */
.fu-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
.fu-row[hidden]{display:none}
.fu-acts{display:flex;gap:4px;align-items:center;padding:0 2px 0 6px;white-space:nowrap}
.fu-acts:empty{display:none}
.fu-acts .chip{font-size:11px;padding:2px 8px}
.fu-why.fu-msg{color:var(--ink)}
.fu-quick{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0 0 8px;padding:8px 10px;border:1px dashed var(--px-rule);border-radius:6px}
@media (max-width:900px){.fu-acts{flex-direction:column;align-items:stretch;gap:3px}.fu-acts .chip{text-align:center}}
.fu-more{display:block;margin:8px 4px}
.fu-done-line{margin:8px 4px 0}
@media (min-width:901px){
  .fu-head{grid-template-columns:minmax(140px,28%) minmax(0,1fr) auto;padding:4px 4px;align-items:center}
  .fu-name{grid-column:1;grid-row:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .fu-why{grid-column:2;grid-row:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
  .fu-count{grid-column:3;grid-row:1}
}
@media (max-width:900px){
  .fu-two{grid-template-columns:minmax(0,1fr)}
  .fu-head{padding:7px 4px}
}
.fu-dialog{padding:0}
.fu-side.in-dialog{position:static;max-height:none;border:0;flex:1;min-height:0}

/* Today on one screen (16 Nov 2026): three columns; one pile of needs at a time, one line each; the rest one tap away. */
.today-three{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start;margin-bottom:10px}
.today-third{display:flex;flex-direction:column;gap:12px;min-width:0}
.today-third>.px-panel,.today-third>.grades-box{margin:0}
.today-head{margin:4px 0 10px}
.today-head .pills button.pill{cursor:pointer;font:inherit;font-size:13px}
.today-head .pills button.pill[aria-pressed="true"]{outline:2px solid var(--ink);outline-offset:1px}
.today-main .px-need-meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.today-more-btn{display:block;margin:6px 2px}
.today-fold{margin:0 0 8px}
@media (max-width:900px){ .today-three{grid-template-columns:minmax(0,1fr);gap:10px} }
/* The third column's dials: three across, the letter and the name; the detail is in the dial's own pop-up. */
.today-third .px-grades{margin:0;padding:10px 12px}
.today-third .px-grades-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.today-third button.px-grade{min-height:0;padding:5px 6px;gap:6px}
.today-third .px-dial-wrap{transform:scale(.72);transform-origin:left center;margin-right:-14px}
.today-third .px-grade-label{font-size:.74rem;line-height:1.15}
.today-third .px-grade-short{display:none}
.today-third .apps-panel,.today-third>.px-panel{padding:10px 12px}
.today-third .apps .app{padding:5px 9px;font-size:13px}
.today-third .guide-btns button{font-size:12.5px;padding:3px 8px}
.today-side .next-appt{padding-top:12px;padding-bottom:12px}
.today-third .apps{display:flex;flex-wrap:wrap;gap:5px}
.today-third .apps .app{min-height:0;height:auto;width:auto;flex:none;padding:4px 8px;font-size:12.5px}
@media (max-width:900px){
  .today-side .stage-counts{display:none}
  .today-side .next-appt{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1px 10px;padding:9px 12px}
  .today-side .next-appt .next-kick,.today-side .next-appt .who,.today-side .next-appt .meter{display:none}
  .today-side .next-appt .when{font-size:16px;margin:0;grid-column:1}
  .today-side .next-appt .where{font-size:13px;margin:0;grid-column:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .today-side .next-appt .btn{grid-column:2;grid-row:1/3;align-self:center;margin:0;padding:6px 10px}
  .today-head{gap:6px 10px}
  .today-head .today-title{font-size:22px}
}
.today-folds{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:flex-start}
.today-folds>details{flex:1 1 30%;min-width:0;margin:0}
.today-folds>details[open]{flex-basis:100%}
.today-three{margin-bottom:8px}
@media (max-width:900px){
  .today-main .px-need-meta{display:none}
  .today-folds>details{flex:1 1 45%}
}
@media (max-width:900px){ .today-head .kicker{display:none} .today-head{margin:0 0 6px} }

/* The board on one screen (16 Nov 2026): compact cards, an empty column is a thin rail, the rest behind "n more". */
.board:not(.one){display:flex;gap:10px;overflow-x:auto;align-items:flex-start}
.board:not(.one) .col{flex:1 1 180px;min-width:168px}
.board:not(.one) .col.is-empty{flex:0 0 44px;min-width:44px}
.board:not(.one) .col.is-empty .col-head{writing-mode:vertical-rl;min-height:0;border-bottom:0;border-left:3px solid var(--ink);padding:2px 6px;align-items:center;gap:10px}
.board:not(.one) .col.is-empty .col-empty{display:none}
.board:not(.one) .col-head{min-height:0;padding-bottom:5px}
.board:not(.one) a.dcard{padding:7px 9px;gap:2px}
.board:not(.one) .dcard .addr,.board:not(.one) .dcard .meta,.board:not(.one) .dcard .when{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.board:not(.one) .dcard .next{max-height:2.9em;overflow:hidden;padding:3px 6px;font-size:13px;line-height:1.35}
.board:not(.one) .dcard .meter,.board:not(.one) .dcard .days{display:none}
.col-more.fit{display:block;font-size:13px;padding:2px 2px 0}
@media (max-width:700px){ .board:not(.one){flex-direction:column;gap:6px} .board:not(.one) .col{flex:none;width:100%;min-width:0} .board:not(.one) .col.is-empty{display:none} .board-top{margin-bottom:6px} }
/* A phone: the page's one-line explanation gives its room to the work (16 Nov 2026). */
@media (max-width:700px){ body.px.msre main .px-head p{display:none} }
.tilepanels .rooms{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.tilepanels .room-panel>.px-panel{margin:0}
.today-side{gap:8px}
.today-three{margin-bottom:4px}
.today-side .stage-counts{padding-top:10px;padding-bottom:10px}

/* A room's own page (16 Nov 2026): a row of the twelve, the room's parts, then only that room's boxes. */
.roombar{margin:0 0 12px}
.roombar-rooms{display:flex;flex-wrap:wrap;gap:5px}
.roombar .room{min-height:0;padding:5px 9px;flex-direction:row;align-items:center;text-decoration:none;color:var(--ink)}
.roombar .room.room-back{display:block;font-weight:700}
.roombar .room.on{background:var(--ink)}
.roombar .room.on .room-name{color:var(--card)}
.roombar-parts{display:flex;flex-wrap:wrap;gap:6px 8px;align-items:center;margin-top:8px;font-size:15px}
.roombar-parts .chip.on{background:var(--ink);color:var(--card);border-color:var(--ink)}
.room-n{margin-left:auto;min-width:17px;padding:1px 5px;border-radius:8px;background:var(--accent);color:var(--accent-fg,#fff);font-family:inherit;font-weight:700;font-size:10.5px;line-height:1.3;letter-spacing:0;text-align:center}
.roombar .room.on .room-n{background:var(--card);color:var(--ink)}
/* On a wide screen the twelve run DOWN THE SIDE of a room's page, and stay put while the room scrolls (16 Nov 2026: the
   mock-up's rail; the first cut laid them across the top). The room's boxes keep their own section: the section becomes
   a two-column grid, nothing is re-parented. A phone keeps the row. */
@media (min-width:901px){
  [data-roomside]{display:grid;grid-template-columns:176px minmax(0,1fr);column-gap:16px;align-items:start}
  [data-roomside]>*{grid-column:2;min-width:0}
  [data-roomside]>header.dealbar{grid-column:1/-1;margin-bottom:10px}
  [data-roomside]>.roombar{display:contents}
  [data-roomside] .roombar-rooms{grid-column:1;grid-row:2/span 300;flex-direction:column;flex-wrap:nowrap;gap:0;position:sticky;top:calc(var(--bar-h,120px) + 10px);padding:5px;background:var(--card);border:1px solid var(--line);border-radius:var(--r)}
  [data-roomside] .roombar-rooms .room{border:0;border-radius:0;background:none;padding:0 9px;gap:8px;min-height:25px;height:25px}
  [data-roomside] .roombar-rooms .room:hover{background:var(--bg)}
  [data-roomside] .roombar-rooms .room.room-back{border-bottom:1px solid var(--line);margin-bottom:3px;height:28px;line-height:27px}
  [data-roomside] .roombar-rooms .room.on,[data-roomside] .roombar-rooms .room.on:hover{background:var(--ink)}
  [data-roomside] .roombar-parts{grid-column:2;margin:0 0 12px}
  /* Home with a box open (Follow-up, Offers, The table ...): the tiles fold to the SAME list down the side, the box beside
     it (18 Nov 2026: "why do the twelve not always live on the side? inconsistent"; they had folded to a row across the top). */
  .cockpit.has-open{display:grid;grid-template-columns:176px minmax(0,1fr);column-gap:16px;align-items:start}
  .cockpit.has-open>.rooms{grid-column:1;grid-row:1/span 2;display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;position:sticky;top:calc(var(--bar-h,120px) + 10px);padding:5px;background:var(--card);border:1px solid var(--line);border-radius:var(--r)}
  .cockpit.has-open>.room-more,.cockpit.has-open>.room-panels{grid-column:2;min-width:0}
  .cockpit.has-open>.room-more{margin-bottom:10px}
  .cockpit.has-open>.room-more:empty{display:none}
  .cockpit.has-open .room{border:0;border-radius:0;background:none;padding:0 9px;gap:8px;min-height:25px;height:25px;justify-content:space-between}
  .cockpit.has-open .room:hover{background:var(--bg)}
  .cockpit.has-open .room-top{width:100%}
  .cockpit.has-open .room-back{border-bottom:1px solid var(--line);margin-bottom:3px;height:28px;line-height:27px;background:none;padding:0 9px}
  .cockpit.has-open .room-chip.bad{min-width:17px;padding:1px 5px;border-radius:8px;background:var(--accent);color:var(--accent-fg,#fff);border:0;font-size:10.5px;line-height:1.3;text-align:center}
  .cockpit.has-open .room-chip.bad .w{display:none}
}
/* A phone keeps Home's row; the step tabs' list (no room picked) would only push the page down, so it stays a wide-screen thing. */
@media (max-width:900px){.roombar.rail-only{display:none}}
body.in-deal .back-to-board{display:none}
.print-btn{margin-left:auto;text-decoration:none}
.print-btn+.find-btn{margin-left:0}
.runbar .room.done{background:color-mix(in srgb,var(--ink) 12%,var(--card))}
.room-more .run-door{text-decoration:none;background:var(--accent);color:var(--accent-fg,#fff);border-color:var(--accent)}
/* Loop 586 (17 Nov 2026): every pipeline card moves without dragging; "n more" opens its column in place. */
.dcard .move-to{align-self:flex-start;max-width:100%;font:inherit;font-size:12px;padding:2px 4px;margin-top:2px;cursor:pointer;color:var(--muted);background:transparent;border:1px solid var(--line)}
.dcard .move-to:focus,.dcard .move-to:hover{color:var(--ink);border-color:var(--ink)}
button.col-more.fit{background:none;border:0;text-align:left;cursor:pointer;color:var(--accent,inherit);text-decoration:underline}
/* Loop 520: what a comp's listing says was done (roof, A/C, pool ...). */
.comp-items{display:inline-flex;flex-wrap:wrap;gap:4px;align-items:center}
.comp-items:empty{display:none}
.chip.comp-item{font-size:11px;padding:1px 6px;height:auto;background:var(--wash,#F4F3F0);border-color:transparent}
/* Loop 521: the electric provider, map only or checked on its own site. */
.util-check{margin-top:4px;display:flex;flex-wrap:wrap;gap:4px;align-items:center}
.util-check.ok{color:var(--ok,#2E7D32)}
/* The buyer's monthly payment, worked out (18 Nov 2026, src/buyerpay.js): the whole row under the money boxes. */
.buyer-pay-cell{grid-column:1/-1}
.buyer-pay .says{margin:6px 0 2px}
.buyer-pay-set{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;margin:4px 0 0}
.buyer-pay-set label.inline{display:inline-flex;align-items:center;gap:6px;font-weight:500}
.buyer-pay-set input.mini{width:88px}
