/* Team board: phone first (390 px), desktop is the wide version. Neutral navy and cream for a
   two-company board; each company's own mark sits only on its section. Design pass: ui-ux-pro-max
   (data-dense dashboard, SVG icons, 44 px targets, 4.5:1 contrast, reduced motion respected). */
:root{
  --navy:#1f2a3a;--navy-2:#2c3a50;--ink:#1f2a3a;--muted:#5b6474;--faint:#5f6878;
  --cream:#faf7f0;--card:#ffffff;--line:#e8e2d6;--soft:#f3eee4;
  --green:#17703f;--green-bg:#e3f3ea;--red:#b3261e;--red-bg:#fbe7e5;--amber:#8a5a00;--amber-bg:#fdf1d8;
  --radius:14px;--tap:44px;
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --safe-b:env(safe-area-inset-bottom,0px);
}
/* your theme and colour (preferences) */
:root[data-accent="teal"]{--navy:#0f5e63;--navy-2:#16747a}
:root[data-accent="plum"]{--navy:#4a2a52;--navy-2:#5e3a68}
:root[data-accent="forest"]{--navy:#23432f;--navy-2:#2f5a40}
:root[data-theme="dark"]{--ink:#e8edf4;--muted:#a7b1bf;--faint:#8f99a8;--cream:#11151b;--card:#1a2029;--line:#2c3441;--soft:#232a35;
  --green:#5fd394;--green-bg:#163526;--red:#ff8f85;--red-bg:#3b1e1c;--amber:#ffd27a;--amber-bg:#3a2e14;--link:#9fc1ff;color-scheme:dark}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]):not([data-theme="dark"]){--ink:#e8edf4;--muted:#a7b1bf;--faint:#8f99a8;--cream:#11151b;--card:#1a2029;--line:#2c3441;--soft:#232a35;
  --green:#5fd394;--green-bg:#163526;--red:#ff8f85;--red-bg:#3b1e1c;--amber:#ffd27a;--amber-bg:#3a2e14;--link:#9fc1ff;color-scheme:dark}}
:root{
  /* style tokens (25 Nov token pass): each holds EXACTLY the literal it replaced; a direction changes values here. */
  --line-blue-400:#4a7bd0;
  --ink-white-50:#fff;
  --icon-btn-bg:rgba(255,255,255,.1);
  --goal-line-fill:#b9b0a0;
  --ink-blue-200:#c9d2e0;
  --thermo-bg:rgba(255,255,255,.14);
  --bg-blue-200:#7fb2ff;
  --ink-orange-200:#ffd27a;
  --g-ink:#8ee0ae;
  --ink-red-100:#ffb4ab;
  --open-shadow:rgba(31,42,58,.08);
  --a-fill:#c98a00;
  --bar-g-fill:#7cc59a;
  --bar-r-fill:#e8958e;
  --bar-p-fill:#c9c1b2;
  --bar-x-fill:#d9d2c4;
  --line-white-50-a25:rgba(255,255,255,.25);
  --co-switch-ink:#dfe6f0;
  --ink-blue-300:#9fb0c8;
  --bar-a-fill:#e6b85c;
  --rv-notes-line:#ccc;
  --sheet-x-shadow:rgba(20,26,36,.18);
  --bg-blue-800-a45:rgba(20,26,36,.45);
  --ua-bg:rgba(127,178,255,.7);
  --ua-bg-2:rgba(127,178,255,.22);
  --ua-bg-3:rgba(31,42,58,.45);
  --ua-bg-4:rgba(31,42,58,.12);
  --k3-bg:rgba(127,178,255,.8);
  --k3-bg-2:rgba(127,178,255,.25);
  --b-legend-shadow:rgba(0,0,0,.25);
  --line-red-500:#c0392b;
  --bg-blue-700:#1b2a41;
  --b-prop-shadow:rgba(0,0,0,.3);
  --gtxt-ink:#1f7a45;
  --shadow-black-900-a35:rgba(0,0,0,.35);
  --line-green-600:#1f8a4c;
  --ink-gray-600:#59606b;
  --b-hl-bg:rgba(47,93,138,.12);
  --b-card-line:#dcd6ca;
  --pk-bar-shadow:rgba(0,0,0,.18);
  --bg-white-50-a12:rgba(255,255,255,.12);
  --f-bg:#2c5fd0;
  --u-bg:rgba(127,178,255,.38);
  --sch-ghost-shadow:rgba(20,26,36,.28);
  --cj0-bg:#dbe8f6;
  --cj0-ink:#1d3a5c;
  --cj1-bg:#f3e6cf;
  --cj1-ink:#5a3f0f;
  --cj2-bg:#dcefe3;
  --cj2-ink:#1d4a30;
  --cj3-bg:#ece0f3;
  --cj3-ink:#46265a;
  --cj4-bg:#f6dcdc;
  --cj4-ink:#5c1f1f;
  --cj5-bg:#d9eef0;
  --cj5-ink:#174a50;
  --cj6-bg:#ede9d6;
  --cj6-ink:#4a4320;
  --cj7-bg:#e2e4f6;
  --cj7-ink:#2a2f63;
  --g-hit-bg:rgba(17,21,27,.45);
  --g-hit-in-shadow:rgba(31,42,58,.25);
  --eb-shadow:rgba(20,26,36,.12);
  --lift-shadow:rgba(20,26,36,.22);
  --adm-bg:#e6ecf7;
  --adm-ink:#2a4a86;
  --hb-t-bg:#2f63d6;
  --ds-one-line:rgba(255,255,255,.22);
  --gk-wk-bg:#9fc1ff;
  --db-na-ink:#999;
  --dc-emd-color:#d08a1e;
  --dc-inspection-color:#6b5bd2;
  --dc-close-color:#1f8a55;
  --bg-blue-300:#4a7dff;
  --v2-strip-shadow:rgba(0,0,0,.08);
  --db-ed-bg:rgba(127,168,216,.12);
  --db-rm-ink:#e07a6a;
  --db-tint-red-color:rgba(217,83,79,.20);
  --db-tint-red-color-2:#d9534f;
  --db-tint-yellow-color:rgba(226,185,59,.22);
  --db-tint-yellow-color-2:#e2b93b;
  --db-tint-blue-color:rgba(74,134,232,.20);
  --db-tint-blue-color-2:#4a86e8;
  --db-filt-bg:#3b3020;
  --ink-red-500:#b3261e;
  --ink-orange-700:#8a5a00;
  --bg-amber-100:#fdf1d8;
  --dd-flag-line:#f0c674;
  --dd-flag-bg:rgba(240,198,116,.12);
  --bm-st-bg:#64748b;
  --bm-pop-l-line:#e5e7eb;
  --ink-blue-700:#1f2a3a;
  --bm-c-line:#cbd5e1;
  --bpl-suggested-ink:#b7791f;
  --mc-elevate-color:#2f5d9e;
  --mc-bc-color:#7b3fa0;
  --mc-hmck-color:#0f6f6a;
  --mc-acr-color:#2e6b31;
  --color-red-500:#b0174f;
  --mc-sms-color:#b23a0b;
  --mc-dot-bg:#5b6474;
  --ink-green-700:#17703f;
  --mc-n-ink:#11151b;
  --mc-personal_ig-color:#7a1f7a;
  --line-amber-500:#d4a017;
  --sm-g-bg:#e3f3ea;
  --sm-r-bg:#fbe7e5;
  --line-amber-200:#d9d4c7;
  --ink-gray-500:#667;
  --dt-cty-line:#eee;
  /* drawn by the JS (map pins, the 15/25-mile BANDS: meaning, keep these values in every direction; the deal-board dots; the accent
     swatch previews; chart series and the tile picker; the level-badge SVG). board.js / layout.js / players.js read them with tokC(). */
  --map-pin-top:#1f8a4c;
  --map-pin-active:#2563eb;
  --map-pin-backup:#b7791f;
  --map-pin-app:#7c3aed;
  --map-pin-prop:#1b2a41;
  --map-pin-target:#c0392b;
  --band-within-15:#1f8a4c;
  --band-15-25:#d4a017;
  --band-over-25:#c0392b;
  --map-buy-complete:#1f8a4c;
  --map-buy-incomplete:#b7791f;
  --map-property:#1b2a41;
  --map-statewide:#64748b;
  --deal-dot-yellow:#e2b93b;
  --deal-dot-blue:#4a86e8;
  --deal-dot-red:#d9534f;
  --accent-navy:#1f2a3a;
  --accent-teal:#0f5e63;
  --accent-plum:#4a2a52;
  --accent-forest:#23432f;
  --chart-1:#2f63d6;
  --chart-2:#7fb0ff;
  --chart-3:#d58a1e;
  --chart-4:#2f9e6a;
  --chart-5:#9b59b6;
  --chart-6:#c0392b;
  --chart-bar-muted:#b8c0cc;
  --chart-dot-fill:#fff;
  --chart-icon-1:#2f63d6;
  --chart-icon-2:#7fb0ff;
  --chart-icon-track:#e8e2d6;
  --chart-icon-fill:#9aa3af;
  --chart-icon-mark:#8a5a00;
  --pl-tier-gold-fill:#e3c374;
  --pl-tier-blue-fill:#97c0e6;
  --pl-tier-gold-line:#7a5a17;
  --pl-tier-line:#1f2a3a;
  --pl-gem-fill:#6291c1;
  --pl-gem-shine:#dbe9f6;
  --pl-sprig-fill:#c39a3e;
  /* radius, shadow and font, as found */
  --font-display:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,Helvetica,Arial,sans-serif;   /* headings (h1–h3); today the same stack as --font */
  --radius-10:10px;
  --radius-12:12px;
  --radius-6:6px;
  --radius-pill:999px;
  --radius-pill-2:50%;
  --radius-8:8px;
  --radius-7:7px;
  --radius-5:5px;
  --radius-x:0 999px 999px 0;
  --radius-2:2px;
  --radius-x-2:18px 18px 0 0;
  --radius-18:18px;
  --radius-3:3px;
  --radius-14:14px;
  --radius-x-3:999px 0 0 999px;
  --radius-4:4px;
  --radius-x-4:3px 3px 0 0;
  --radius-x-5:4px 4px 0 0;
}

.tick,.step,.entry input,.sheet input,.sheet select,.sheet textarea,.auth input{background:var(--card)!important;color:var(--ink)}
dialog.sheet{background:var(--card)}
:root.compact main{padding-top:8px}
:root.compact .tile,:root.compact .card,:root.compact .mb{padding-top:8px;padding-bottom:8px}
:root.compact .m{padding:6px 0}
:root.compact .fold{margin-top:8px}
:root.compact .tiles,:root.compact .mbs,:root.compact .goals{gap:8px}
.seg-r{display:flex;gap:6px;flex-wrap:wrap}
.seg-r label{display:flex;align-items:center;min-height:40px;padding:0 12px;border:1px solid var(--line);border-radius:var(--radius-10);font-size:14px;color:var(--ink);cursor:pointer}
.seg-r input,.sw input{position:absolute;opacity:0;pointer-events:none}
.seg-r label:has(input:checked){border-color:var(--ink);box-shadow:0 0 0 2px var(--ink) inset;font-weight:700}
.seg-r label:has(input:focus-visible){outline:3px solid var(--line-blue-400);outline-offset:2px}
.tabs button[aria-current="page"]{color:var(--link,var(--navy))!important}
.swatches{display:flex;gap:10px;flex-wrap:wrap}
.sw{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:12px;color:var(--muted);cursor:pointer;position:relative}
.sw i{width:40px;height:40px;border-radius:var(--radius-12);display:block;border:3px solid transparent}
.sw:has(input:checked) i{border-color:var(--ink)}
.sw:has(input:focus-visible) i{outline:3px solid var(--line-blue-400);outline-offset:2px}
.checks{display:grid;gap:6px}
.checks label{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;color:var(--ink)!important;font-size:14px!important}
.ord li{align-items:center}
.pinl{display:flex!important;flex-direction:row!important;align-items:center;gap:4px;font-size:12px!important}
.pin{color:var(--navy);font-size:10px;vertical-align:middle}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
:where(h1,h2,h3){font-family:var(--font-display)}
body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.45 var(--font);font-variant-numeric:tabular-nums}
a{color:var(--navy)}
button{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--line-blue-400);outline-offset:2px;border-radius:var(--radius-6)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
svg.i{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* top bar */
.bar{position:sticky;top:0;z-index:5;background:var(--navy);color:var(--ink-white-50);padding:calc(env(safe-area-inset-top,0px) + 10px) 14px 10px;display:flex;align-items:center;gap:8px}
.bar h1{font-size:17px;margin:0;font-weight:700;letter-spacing:.01em;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wk{display:flex;align-items:center;gap:2px;font-size:14px;white-space:nowrap}
.icon-btn{min-width:var(--tap);min-height:var(--tap);display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:inherit;border-radius:var(--radius-10);cursor:pointer}
.icon-btn:hover{background:var(--icon-btn-bg)}
.desk-nav{display:none}
.offline{background:var(--amber-bg);color:var(--amber);font-size:13px;padding:6px 14px;text-align:center}

main{max-width:1240px;margin:0 auto;padding:14px 14px calc(96px + var(--safe-b))}
.section-h{display:flex;align-items:baseline;justify-content:space-between;margin:18px 2px 10px}
.section-h h2{font-size:13px;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);margin:0}
.banner{background:var(--soft);border:1px solid var(--line);border-radius:var(--radius-12);padding:10px 14px;margin:0 0 12px;font-size:14px}
.install{display:flex;gap:10px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:var(--radius-12);padding:10px 12px;margin:0 0 12px;font-size:14px}
.install p{margin:0;flex:1}

/* company goals */
.goals{display:grid;gap:12px}
.co{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:14px}
.co-h{display:flex;align-items:center;gap:10px;margin:0 0 6px}
.co-h img{height:24px;width:auto}
.co-h h3{margin:0;font-size:14px;letter-spacing:.08em;text-transform:uppercase}
.goal{padding:10px 0;border-top:1px solid var(--soft)}
.goal:first-of-type{border-top:0}
.goal-top{display:flex;justify-content:space-between;gap:10px;align-items:baseline}
.goal-name{font-weight:600;font-size:15px}
.goal-v{font-weight:700;white-space:nowrap}
.goal-v small{color:var(--muted);font-weight:500}
.thermo{height:10px;background:var(--soft);border-radius:var(--radius-pill);margin:8px 0 6px;overflow:hidden;position:relative}
.thermo i{display:block;height:100%;background:var(--navy);border-radius:var(--radius-pill);transition:width .4s ease}
.thermo b{position:absolute;top:-2px;width:2px;height:14px;background:var(--amber)}
.pace{font-size:13px;color:var(--muted)}
.pace.r{color:var(--red)}.pace.g{color:var(--green)}.pace.stale{color:var(--amber)}

/* cards */
.cards{display:grid;gap:12px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:14px}
.card-h{display:flex;gap:12px;align-items:center}
.av{width:42px;height:42px;border-radius:var(--radius-pill-2);background:var(--navy);color:var(--ink-white-50);display:flex;align-items:center;justify-content:center;font-weight:700;flex:none}
.card-h .who{flex:1;min-width:0}
.card-h h3{margin:0;font-size:18px}
.role{color:var(--muted);font-size:13px}
.chip{font-size:12px;border:1px solid var(--line);border-radius:var(--radius-pill);padding:2px 9px;color:var(--muted);white-space:nowrap}
.insight{margin:10px 0 4px;font-size:14px;color:var(--ink);background:var(--soft);border-radius:var(--radius-10);padding:8px 10px}
.score{font-weight:700}
.m{display:grid;grid-template-columns:1fr auto;gap:2px 10px;align-items:center;padding:10px 0;border-top:1px solid var(--soft);cursor:pointer;min-height:var(--tap)}
.m:first-of-type{border-top:0}
.m-name{font-size:15px;font-weight:500}
.m-src{grid-column:1/-1;font-size:12px;color:var(--faint)}
.m-right{display:flex;align-items:center;gap:8px;justify-content:flex-end}
.val{min-width:58px;text-align:right;font-weight:700;border-radius:var(--radius-8);padding:3px 8px}
.val.g{background:var(--green-bg);color:var(--green)}.val.r{background:var(--red-bg);color:var(--red)}.val.x{color:var(--faint);font-weight:500}
.m-meta{grid-column:1/-1;display:flex;gap:12px;align-items:center;font-size:12px;color:var(--muted)}
.delta.up{color:var(--green)}.delta.dn{color:var(--red)}
.spark{width:72px;height:22px}
.prop{color:var(--amber);background:var(--amber-bg);border-radius:var(--radius-6);padding:0 6px}
.sub{font-size:12px;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);margin:14px 0 6px;display:flex;justify-content:space-between;align-items:center}
ul.list{list-style:none;margin:0;padding:0}
ul.list li{display:flex;gap:10px;align-items:flex-start;padding:7px 0;border-top:1px solid var(--soft);font-size:15px}
ul.list li:first-child{border-top:0}
ul.list.card{padding:6px 14px}   /* the Monday lists: card padding, not the bare list's zero */
.empty{color:var(--faint);font-size:14px;padding:4px 0}
.tick{width:24px;height:24px;border:2px solid var(--line);border-radius:var(--radius-7);display:inline-flex;align-items:center;justify-content:center;flex:none;cursor:pointer;background:var(--ink-white-50)}
.tick.on{background:var(--green);border-color:var(--green);color:var(--ink-white-50)}
.cad{font-size:11px;color:var(--faint);text-transform:uppercase;letter-spacing:.06em;margin-left:auto;white-space:nowrap}
.link-btn{border:0;background:none;color:var(--navy);font-weight:600;font-size:14px;cursor:pointer;min-height:var(--tap);padding:0 4px}
.x-btn{border:0;background:none;color:var(--faint);cursor:pointer;min-width:32px;min-height:32px;margin-left:auto}

/* Monday */
.mon-red{display:flex;gap:10px;align-items:center;padding:10px 12px;background:var(--card);border:1px solid var(--line);border-left:4px solid var(--red);border-radius:var(--radius-10);margin:0 0 8px}
.mon-red .who{font-weight:700;min-width:64px}
.mon-red .what{flex:1}
.changed li{font-size:14px}

/* ---- dashboard (2 Nov redesign): hero band, tiles, ring, charts, the Mine page ---- */
.val.p{background:var(--soft);color:var(--muted);font-weight:600}
.mark{height:18px;width:auto;flex:none}
.goal-line{stroke:var(--goal-line-fill);stroke-dasharray:3 3;stroke-width:1}
.spark-l{fill:none;stroke:var(--navy);stroke-width:1.6}
.dot-g{fill:var(--green)}.dot-r{fill:var(--red)}.dot-p,.dot-x{fill:var(--faint)}
.section-h .sum{font-size:13px;color:var(--muted)}
.wk-note{font-size:13px;color:var(--muted);margin:-4px 2px 10px}
.me-hero + .wk-note{margin-top:10px}
.wk-note .val{font-size:12px;padding:1px 6px;white-space:nowrap;min-width:0}

.hero{background:var(--navy);color:var(--ink-white-50);border-radius:var(--radius);padding:14px 0 14px 14px;margin:0 0 6px}
.hero-h{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding-right:14px;margin-bottom:10px}
.hero-h h2{font-size:13px;letter-spacing:.09em;text-transform:uppercase;margin:0;color:var(--ink-blue-200)}
.hero-row{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 14px 4px 0;scrollbar-width:none}
.hero-row::-webkit-scrollbar{display:none}
.hero .gt{flex:0 0 78%;max-width:300px;scroll-snap-align:start;background:var(--navy-2);border-radius:var(--radius-12);padding:12px}
.gt{display:flex;flex-direction:column;gap:4px;cursor:default}
.gt[role=button]{cursor:pointer}
.gt-name{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600}
.gt-name .mark{height:20px;width:20px;object-fit:contain;background:var(--ink-white-50);border-radius:var(--radius-5);padding:2px}
.gt-v{font-size:24px;font-weight:800;letter-spacing:-.01em;line-height:1.15}
.gt-v small{font-size:13px;font-weight:500;opacity:.75}
.gt-src{font-size:11px;opacity:.7;line-height:1.35}
.hero .thermo{background:var(--thermo-bg)}
.hero .thermo i{background:var(--bg-blue-200)}
.hero .thermo b{background:var(--ink-orange-200)}
.hero .pace{color:var(--ink-blue-200)}.hero .pace.g{color:var(--g-ink)}.hero .pace.r{color:var(--ink-red-100)}
.co-goals{display:grid;gap:4px}
.co .gt{padding:10px 0;border-top:1px solid var(--soft)}
.co .gt:first-child{border-top:0}
.co .gt-name .mark{display:none}
.co .gt-src{color:var(--faint);opacity:1}
.fresh{font-size:12px;color:var(--ink-blue-200)}
.fresh summary{cursor:pointer;list-style:none;white-space:nowrap}
.fresh summary::-webkit-details-marker{display:none}
.fresh[open] span{display:block;margin-top:4px}
.fresh.stale summary{color:var(--ink-orange-200)}
main > .fresh,.goals + div .fresh{color:var(--muted)}
main .fresh.stale summary{color:var(--amber)}

.tiles{display:grid;gap:12px;grid-template-columns:minmax(0,1fr)}
.tiles > *{min-width:0}
.tile{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:4px 14px 12px;transition:box-shadow .2s ease}
.tile.open{box-shadow:0 6px 24px var(--open-shadow)}
.tile-h{display:flex;align-items:center;gap:12px;width:100%;border:0;background:none;padding:10px 0;text-align:left;cursor:pointer;min-height:var(--tap)}
.tile-h .who{flex:1;min-width:0;display:flex;flex-direction:column}
.tile-h .name{font-size:17px;font-weight:700}
.tile-h .role{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.badge{background:var(--red-bg);color:var(--red);font-size:12px;font-weight:700;border-radius:var(--radius-pill);padding:2px 8px;white-space:nowrap}
.ring{flex:none}
.ring-bg{fill:none;stroke:var(--soft);stroke-width:5}
.ring-fg{fill:none;stroke-width:5;stroke-linecap:round;transition:stroke-dasharray .5s ease}
.ring-fg.g{stroke:var(--green)}.ring-fg.a{stroke:var(--a-fill)}.ring-fg.r{stroke:var(--red)}
.ring-t{font-size:12px;font-weight:700;fill:var(--ink)}
.tile-top{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:8px 10px;background:var(--cream);border-radius:var(--radius-10);cursor:pointer;min-height:var(--tap)}
.tt-name{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tile-ins{font-size:13px;color:var(--muted);margin:8px 2px 0;line-height:1.4}
.tile-b{margin-top:8px;border-top:1px solid var(--soft);padding-top:4px}
.co-group{margin-top:6px}
.co-label{display:flex;align-items:center;gap:6px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:10px 0 2px}
.seg{display:flex;gap:2px}
details.over{margin-top:6px}
details.over summary{color:var(--red);font-weight:600;font-size:14px;cursor:pointer;min-height:36px;display:flex;align-items:center}
.cad-h{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;font-size:13px;font-weight:600;margin:10px 0 2px}
.prog{height:6px;background:var(--soft);border-radius:var(--radius-pill);overflow:hidden}
.prog i{display:block;height:100%;background:var(--green)}

.me-hero{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:16px}
.me-top{display:flex;align-items:center;gap:14px}
.me-top .who{flex:1;min-width:0}
.me-top h2{margin:0;font-size:22px}
.av.lg{width:56px;height:56px;font-size:20px}
.me-ins{margin:12px 0 8px;font-size:15px}
.me-counts{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;color:var(--muted)}
.me-counts b{color:var(--ink);font-size:15px}
.gtxt{color:var(--green)!important}.rtxt{color:var(--red)!important}
.hist{display:grid;grid-template-columns:repeat(8,1fr);gap:4px;margin-top:14px}
.hw{display:flex;flex-direction:column;align-items:center;gap:3px}
.hw-s{width:100%;text-align:center;font-size:12px;font-weight:700;border-radius:var(--radius-8);padding:6px 0}
.hw-s.g{background:var(--green-bg);color:var(--green)}.hw-s.a{background:var(--amber-bg);color:var(--amber)}.hw-s.r{background:var(--red-bg);color:var(--red)}.hw-s.x{background:var(--soft);color:var(--faint)}
.hw.run .hw-s{outline:2px dashed var(--line);outline-offset:-2px}
.hw-w{font-size:10px;color:var(--faint);display:flex;align-items:center;gap:2px;white-space:nowrap}
.hw-w svg.i{width:10px;height:10px}
.mbs{display:grid;gap:12px}
.mb{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:14px}
.mb-h{display:flex;justify-content:space-between;align-items:center;gap:10px}
.mb-h h3{margin:0;font-size:16px}
.val.big{font-size:20px;padding:4px 10px}
.mb-stats{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:12px;color:var(--muted);margin:6px 0 4px}
.mb-stats b{color:var(--ink)}
.chart{width:100%;height:auto;display:block;margin:6px 0}
.chart-empty{font-size:13px;color:var(--faint);padding:14px 0}
.bar-g{fill:var(--bar-g-fill)}.bar-r{fill:var(--bar-r-fill)}.bar-p{fill:var(--bar-p-fill)}.bar-x{fill:var(--bar-x-fill)}
.bar-now{stroke:var(--navy);stroke-width:1.5}
.goal-t{font-size:10px;fill:var(--muted)}
.wk-t{font-size:10px;fill:var(--faint)}
.entry{display:flex;gap:8px;margin:6px 0}
.entry input{flex:1;font:16px var(--font);padding:10px 12px;border:1px solid var(--line);border-radius:var(--radius-10);min-width:0}
.link-btn.sm{font-size:12px;min-height:28px}
.mine-lists{display:grid;gap:12px;margin-top:12px}
.mine-lists .card{padding:6px 14px 12px}
.mbs .co-group{display:grid;gap:12px}

/* company tabs */
.hero-h.solo{justify-content:flex-end;margin-bottom:6px;min-height:22px}
.hero-h h2{display:flex;align-items:center;gap:8px}
.hero-h h2 .mark{height:20px;width:20px;object-fit:contain;background:var(--ink-white-50);border-radius:var(--radius-5);padding:2px}
.hero-add{margin:0 0 8px;text-align:right}
.funnel{margin-top:12px}
.fn{display:grid;grid-template-columns:minmax(0,9.5em) 1fr auto 64px;gap:10px;align-items:center;padding:5px 0;font-size:14px}
.fn-k{color:var(--muted)}
.fn-bar{height:12px;background:var(--soft);border-radius:var(--radius-pill);overflow:hidden}
.fn-bar i{display:block;height:100%;background:var(--navy);border-radius:var(--radius-pill)}
.fn-v{font-weight:700;text-align:right;min-width:3ch}
.fn-sp{width:64px}
.fn-gap{border-top:1px dashed var(--line);margin:6px 0}
.sort .link-btn{min-height:36px;color:var(--muted)}
.sort .link-btn.on{color:var(--navy);text-decoration:underline;text-underline-offset:4px}
.deal-cols{display:grid;gap:12px}
.deals{padding:12px 14px}
.deals-h{display:flex;align-items:baseline;gap:10px}
.deals-h h3{margin:0;font-size:16px;flex:1}
.deals-n{font-size:13px;color:var(--muted)}
.deals-t{font-size:20px;font-weight:800}
ul.dl{list-style:none;margin:8px 0 0;padding:0}
.dl li{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"a v" "m m";gap:2px 10px;padding:9px 0;border-top:1px solid var(--soft);cursor:pointer;min-height:var(--tap)}
.dl-a{grid-area:a;display:flex;flex-direction:column;min-width:0}
.dl-a b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dl-a small,.dl-m small{font-size:12px;color:var(--muted)}
.dl-m{grid-area:m;display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.dl-v{grid-area:v;font-weight:700;text-align:right}
.flag{font-size:11px;border-radius:var(--radius-6);padding:1px 6px;background:var(--soft);color:var(--muted);white-space:nowrap}
.flag.g{background:var(--green-bg);color:var(--green)}.flag.n{background:var(--amber-bg);color:var(--amber)}
label.chk{display:flex;gap:8px;align-items:center;font-weight:600;margin:10px 0}label.chk input{width:22px;height:22px}
.viewas-bar{position:sticky;top:0;z-index:50;display:flex;gap:10px;align-items:center;justify-content:space-between;padding:8px 14px;background:var(--amber-bg);color:var(--ink);border-bottom:2px solid var(--amber);font-size:14px}
.lst-pf{color:var(--amber)}
.lst-grid{list-style:none;margin:0;padding:0;display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.lst-c{background:var(--card);border:1px solid var(--line);border-radius:var(--radius-12);overflow:hidden;cursor:pointer;display:flex;flex-direction:column}.lst-c img,.lst-nophoto{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;background:var(--soft)}.lst-nophoto{display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:13px}.lst-b{padding:10px;display:flex;flex-direction:column;gap:3px}.lst-b small{color:var(--muted)}.lst-st{margin-top:4px}.lst-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px;margin:8px 0}.lst-photos figure{margin:0}.lst-photos img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius-8);display:block}.lst-photos figcaption{font-size:12px}
.win-row{align-items:flex-start}.win-row .who{min-width:72px}.win{display:block;margin:0 0 4px}.wins .cin{width:100%;margin-top:4px}.red-act{margin-top:6px}.red-todo{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}.red-todo .cin{min-height:36px}.mon-red .what{min-width:0}.mon-red{align-items:flex-start;flex-wrap:wrap}
.mtg-sec{padding:8px 0;border-top:1px solid var(--soft)}.mtg-sec:first-child{border-top:0}.mtg-pts{margin:4px 0 0;padding-left:18px}.mtg-pts li{margin:0 0 8px}.mtg-note{field-sizing:content;display:block;width:100%;box-sizing:border-box;margin-top:4px;font:inherit;font-size:16px;min-height:40px;padding:6px 8px;border:1px solid var(--line);border-radius:var(--radius-8);background:var(--card);color:var(--ink);resize:vertical}.mtg-note-ro{margin:4px 0;padding:6px 8px;background:var(--soft);border-radius:var(--radius-8)}
.tmr-top{display:flex;gap:12px;align-items:center}.tmr-t{margin:2px 0;font-size:18px}.tmr-clock{font-variant-numeric:tabular-nums;font-weight:800;font-size:44px;line-height:1;color:var(--ink)}.tmr-clock.rtxt{color:var(--red)}.tmr-btns{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 6px}
fieldset.mtg-todo{border:1px solid var(--line);border-radius:var(--radius-10);padding:8px 12px;margin:10px 0}fieldset.mtg-todo legend{font-size:13px;color:var(--muted);padding:0 4px}
.kpis{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;margin:8px 0}
.kpis div{background:var(--cream);border-radius:var(--radius-10);padding:10px;display:flex;flex-direction:column;gap:2px}
.kpis small{font-size:11px;color:var(--muted)}
.kpis b{font-size:19px}
.trend{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;font-size:12px;color:var(--muted);margin:4px 0 8px}
.tbl-wrap{overflow-x:auto;margin:0 -14px;padding:0 14px}
.dtbl-w{overflow-x:auto}
.dtbl{width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}
@media (max-width:420px){.dtbl{font-size:12px}.dtbl th,.dtbl td{padding-left:2px;padding-right:2px}.dtbl th{font-size:10px;white-space:normal;vertical-align:bottom}}
.dtbl th{font-size:11px;font-weight:600;color:var(--muted);text-align:right;padding:4px 3px;border-bottom:1px solid var(--line);white-space:nowrap}
.dtbl td{text-align:right;padding:6px 3px;border-bottom:1px solid var(--soft);white-space:nowrap}
.dtbl th:first-child,.dtbl td:first-child{text-align:left}
.dtbl td small{display:block;font-size:10px;color:var(--muted)}
.dtbl tr.rsd td,.dtbl td.rs{color:var(--muted)}
.dtbl-k{margin:6px 0 0;font-size:12px}
.rep-h{font-size:15px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:22px 4px 8px}.fu .steps{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
.dtbl.pipe td small{display:inline;margin-left:3px;font-size:11px;color:var(--muted)}.dtbl.pipe td:first-child{white-space:normal}
.ct-key{margin:0 0 10px}.ct-key summary{cursor:pointer;font-weight:600;font-size:13px;color:var(--muted)}.ct-key dl{margin-top:8px;font-size:13px}.ct-key dd{font-weight:400}
.slk{margin:4px 0 8px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}.slk small{color:var(--muted);font-size:12px;flex-basis:100%}
.rm{padding:8px 0;border-bottom:1px solid var(--soft)}.rm:last-child{border:0}.rm b{margin-right:8px}.rm .note{margin:4px 0 0}
.tbl{width:100%;border-collapse:collapse;font-size:13px;min-width:560px}
.tbl th{text-align:right;font-weight:600;color:var(--muted);font-size:11px;padding:6px 6px;border-bottom:1px solid var(--line);white-space:nowrap}
.tbl th:first-child,.tbl td:first-child{text-align:left}
.tbl td{text-align:right;padding:8px 6px;border-bottom:1px solid var(--soft);white-space:nowrap;vertical-align:top}
.tbl td small{display:block;font-size:11px;color:var(--faint)}
.tbl tr.st-ENDED td,.tbl tr.st-PAUSED td{color:var(--faint)}
.ads{margin-top:12px}
.tr-i{display:inline-flex;align-items:center;gap:6px}
@media (max-width:600px){
  .tbl-wrap{margin:0;padding:0;overflow:visible}
  .tbl{min-width:0}
  .tbl thead tr{display:block}.tbl thead th{display:none}.tbl thead th:first-child{display:block;padding:6px 0;border:0}
  .tbl tr{display:grid;grid-template-columns:repeat(3,1fr);gap:4px 8px;padding:10px 0;border-bottom:1px solid var(--soft)}
  .tbl td{border:0;padding:0;text-align:left;font-size:14px}
  .tbl td:first-child{grid-column:1/-1}
  .tbl td[data-l]::before{content:attr(data-l);display:block;font-size:11px;color:var(--faint)}
}
dl.kv{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin:0;font-size:14px}
dl.kv dt{color:var(--muted)}dl.kv dd{margin:0;font-weight:600}

/* the company switch, the ⓘ, and numbers as the hero of every block (her word 2 Nov 11:3x) */
.co-switch{position:sticky;top:calc(env(safe-area-inset-top,0px) + 64px);z-index:4;display:flex;gap:4px;background:var(--navy);padding:0 14px 10px}
.co-switch button{flex:1;min-height:40px;border:1px solid var(--line-white-50-a25);background:transparent;color:var(--co-switch-ink);border-radius:var(--radius-10);font-weight:600;cursor:pointer}
.co-switch button[aria-pressed="true"]{background:var(--ink-white-50);color:var(--navy);border-color:var(--ink-white-50)}
.info{flex:none;width:22px;height:22px;min-width:22px;border-radius:var(--radius-pill-2);border:1px solid currentColor;background:none;color:var(--faint);font:italic 600 12px/1 Georgia,serif;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0;opacity:.8;position:relative}
.info::after{content:"";position:absolute;inset:-11px}
.hero .info{color:var(--ink-blue-300)}
.sync{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--ink-blue-200)}
.sync.stale{color:var(--ink-orange-200)}
.gt-name{justify-content:flex-start}.gt-name span{flex:1}
.hero .gt-v{font-size:40px;letter-spacing:-.02em}
.co .gt-v{font-size:34px;letter-spacing:-.02em}
.gt-v small{font-size:14px}
.tile-top{grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center}
.tt-v{font-size:34px;font-weight:800;letter-spacing:-.02em;line-height:1;min-width:1.5ch}
.tt-v.g{color:var(--green)}.tt-v.r{color:var(--red)}.tt-v.p,.tt-v.x{color:var(--ink)}
.tt-name{font-size:12px!important;font-weight:500!important;color:var(--muted);white-space:normal!important;line-height:1.3}
.m-right .info{margin-left:2px}
.mb-h{align-items:flex-start}
.mb-big{display:flex;align-items:baseline;gap:12px;margin:2px 0 2px}
.big-v{font-size:44px;font-weight:800;letter-spacing:-.02em;line-height:1.05}
.big-v.g{color:var(--green)}.big-v.r{color:var(--red)}.big-v.a{color:var(--amber)}.atxt{color:var(--amber)}.bar-a{fill:var(--bar-a-fill)}.pace-t{color:var(--muted)}
.big-d .delta{font-size:17px;font-weight:700}
.val{font-size:17px}
.deals-t{font-size:28px}
.kpis b{font-size:26px}
.fn-v{font-size:18px}
.sub .info{margin-left:6px;vertical-align:middle}

.thermo i.c{position:absolute;top:0;background:var(--bg-blue-200);opacity:.45;border-radius:var(--radius-x)}
.co .thermo i.c{background:var(--navy);opacity:.3}
.gt-split{display:flex;gap:12px;font-size:12px;opacity:.85}
.gt-split .k1::before,.gt-split .k2::before{content:"";display:inline-block;width:8px;height:8px;border-radius:var(--radius-2);margin-right:4px;background:var(--bg-blue-200)}
.gt-split .k2::before{opacity:.45}
.co .gt-split .k1::before{background:var(--navy)}.co .gt-split .k2::before{background:var(--navy);opacity:.3}

/* condense: every section folds to its headline numbers */
.fold{margin:14px 0 0}
.fold-h{display:flex;align-items:center;gap:8px;margin:0 2px 8px}
.fold-btn{flex:1;display:flex;align-items:center;gap:10px;flex-wrap:wrap;border:0;background:none;padding:6px 0;text-align:left;cursor:pointer;min-height:var(--tap);color:var(--ink)}
.fold-t{font-size:13px;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);font-weight:700}
.fold-t h3{margin:0;font-size:16px;letter-spacing:0;text-transform:none;color:var(--ink)}
.fold-s{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline;flex-basis:100%;font-size:14px;color:var(--muted)}
.fold-s b{font-size:26px;font-weight:800;color:var(--ink);letter-spacing:-.01em}
.fold-s small{font-size:12px;color:var(--faint)}
.fs-i{white-space:nowrap}
.fold-btn{position:relative;padding-right:30px}
.chev{position:absolute;right:0;top:12px;color:var(--faint);transform:rotate(-90deg);transition:transform .2s ease}
.is-folded .chev{transform:rotate(0)}
.is-folded > .fold-h{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:4px 14px;margin:0}
.fold-all{display:flex;justify-content:flex-end;gap:6px;margin:-4px 0 -6px}
.fold-all .link-btn{font-size:13px;color:var(--muted);min-height:36px}
.mb.is-folded{padding:4px 14px}
.mb-fold{padding:0}
.mb-h .mb-fold{min-height:0}
.tile.cond{padding-bottom:4px}
.note.total b{color:var(--ink);font-size:16px}

/* Elevate: WV and Tampa apart */
.mk-switch{display:flex;gap:4px;margin:8px 0 0}
.mk-switch button{flex:1;min-height:40px;border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:var(--radius-10);font-weight:700;cursor:pointer}
.mk-switch button[aria-pressed="true"]{background:var(--navy);border-color:var(--navy);color:var(--ink-white-50)}
.hero-row.two .gt{flex-basis:86%}
.el-total{margin:10px 0 0;color:var(--ink-blue-200);font-size:14px}.el-total b{color:var(--ink-white-50);font-size:18px}
.halves{display:grid;gap:4px}
.half{border-left:3px solid var(--line);padding-left:10px}
.tile-mk{font-size:13px;margin:6px 2px 0;color:var(--muted)}.tile-mk b{color:var(--ink)}
@media (min-width:1100px){ .halves.both{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:24px;align-items:start} .halves.both > *{min-width:0} .hero-row.two{grid-template-columns:1fr 1fr!important} }

/* one-on-one */
.oo-pick{align-items:center}.oo-pick select{flex:1.4;min-height:40px;font-weight:700}
.oo-t{min-width:0}.oo-t td small{display:block}

/* contracts table */
.cin{font:13px var(--font);width:100%;min-width:84px;padding:6px 8px;border:1px solid var(--line);border-radius:var(--radius-8);background:var(--card);color:var(--ink);min-height:36px}
.ctbl{min-width:880px}.ctbl td b[role=button]{cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.ctbl tfoot td{font-weight:700;border-top:2px solid var(--line)}
@media (max-width:600px){ .ctbl{min-width:0} .ctbl tr{grid-template-columns:repeat(2,1fr)} .ctbl tfoot td:empty{display:none} .ctbl td[data-l="Status"]{grid-column:1/-1} }

/* Level 10 columns */
.dscore{margin-top:8px;border-top:1px solid var(--line);padding-top:6px}
.today-btn{border:1px solid var(--line);background:var(--card);color:var(--muted);border-radius:var(--radius-8);font-size:11px;font-weight:700;padding:4px 8px;min-height:30px;cursor:pointer}
.today-btn.on{background:var(--red-bg);border-color:var(--red);color:var(--red)}
.today-card{border-left:4px solid var(--red)}.today-h{color:var(--red)!important}

/* the TC checklist */
.tc{margin-top:8px;border-top:1px solid var(--line);padding-top:6px}
.tc-now{margin:2px 0 8px;font-size:14px}.tc-now code{font-size:12px;background:var(--soft);padding:1px 6px;border-radius:var(--radius-6)}
.tc-anch{display:grid;grid-template-columns:repeat(2,1fr);gap:4px 12px;font-size:13px;color:var(--muted);margin-bottom:6px}.tc-anch b{color:var(--ink)}
.tc-edit summary,.tcp-ph summary{cursor:pointer;min-height:40px;display:flex;align-items:center;gap:8px;font-size:14px}
.tcp-ph{border-top:1px solid var(--soft)}.tcp-ph summary b{flex:1}
.tcl{margin-bottom:6px}
.tcs{display:flex;flex-direction:column;gap:6px;padding:8px 0}
.tcs-t span{font-size:14px;line-height:1.35}.tcs-t small{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.tcs.done .tcs-t span,.tcs.na .tcs-t span{color:var(--muted)}
.tcs.late{border-left:3px solid var(--red);padding-left:8px}
.tcs-b{display:flex;flex-wrap:wrap;gap:4px;align-items:center}
.tcs-b .tcd{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:var(--muted)}.tcs-b .tcd input{margin:0}
.sheet .tcdue{width:auto!important;max-width:150px;font:13px var(--font);padding:6px 8px;border:1px solid var(--line);border-radius:var(--radius-8);min-height:36px}
.tcs-b .step.on[data-tcv="not_started"]{background:var(--soft);border-color:var(--line);color:var(--ink)}
.tcs-b .step.on[data-tcv="in_progress"]{background:var(--amber-bg);border-color:var(--amber);color:var(--amber)}
.tcs-b .step.on[data-tcv="na"]{background:var(--soft);border-color:var(--muted);color:var(--muted)}
.tcp-ph .link-btn.sm{display:block;margin:2px 0 4px}
.tc-quick{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0}
.tc-note{display:grid;gap:6px;margin:6px 0}
.tcp{display:block;width:70px;height:6px}
dialog.sheet{overflow-y:auto}

/* needs attention */
.attn{border-left:4px solid var(--red)}

/* reviews */
ul.rvl{list-style:none;margin:6px 0 0;padding:0}
.rv{padding:12px 0;border-top:1px solid var(--soft)}
.rv-h{display:flex;gap:10px;align-items:flex-start;justify-content:space-between}
.steps{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;align-items:center}
.step{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 12px;border:1px solid var(--line);border-radius:var(--radius-10);background:var(--ink-white-50);font-size:13px;font-weight:600;cursor:pointer;color:var(--ink)}
.step svg.i{width:16px;height:16px}
.step.on{background:var(--green-bg);border-color:var(--green);color:var(--green)}
.step.on.no{background:var(--red-bg);border-color:var(--red);color:var(--red)}
.step:disabled{opacity:.4;cursor:not-allowed}
.step.sm{min-height:36px;padding:0 10px}
.seg5{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}
.copies{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:4px}
.rv-by{display:block;font-size:11px;color:var(--faint);margin-top:4px}
.rv-notes{display:block;font-size:12px;color:var(--faint);margin-top:6px}.rv-notes textarea{display:block;width:100%;box-sizing:border-box;margin-top:3px;font:inherit;font-size:16px;min-height:44px;padding:8px;border:1px solid var(--line, var(--rv-notes-line));border-radius:var(--radius-8);background:var(--card, var(--ink-white-50));color:inherit}
.sheet textarea[readonly]{font-size:14px}
/* tries (her ruling 11 Nov) */
.rv-tries b{color:var(--ink)}
.rv.rv-wrong{box-shadow:inset 3px 0 0 var(--red);padding-left:10px}
.rv.rv-cb{box-shadow:inset 3px 0 0 var(--amber);padding-left:10px}
.rv-wrongline{font-weight:600}
.try-menu{display:grid;gap:8px;margin:8px 0 12px}
.btn.try-b{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;padding:8px 14px;min-height:52px}
.btn.try-b small{font-weight:400;font-size:12px;color:var(--muted);margin-top:2px}
.btn.try-wrong{color:var(--red)}
.tx-pick{display:grid;gap:8px;margin:8px 0}
.btn.tx-a.on{outline:3px solid var(--green);outline-offset:1px}
.tx-sub{display:grid;gap:6px;margin:8px 0 12px}
.tx-sub .note{margin:0}
.tx-prev{display:block;font-size:12px;line-height:1.35;color:var(--muted);padding:6px 8px;border-left:3px solid var(--line);margin-bottom:6px;overflow-wrap:anywhere}

/* profiles and birthdays */
img.av{object-fit:cover;background:var(--soft)}
.av.sm{width:30px;height:30px;font-size:12px}
.bday{display:flex;align-items:center;gap:10px;background:var(--amber-bg);color:var(--ink);border-radius:var(--radius-12);padding:10px 14px;margin:0 0 10px;font-size:15px}
.bday.fam{background:var(--soft)}
.bday small{color:var(--muted)}
.ph-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ph-btn{display:inline-flex!important;align-items:center;min-height:var(--tap);cursor:pointer;color:var(--ink)!important;font-size:14px!important}
.md{display:flex;gap:6px}.md select{flex:1.3}.md input{flex:1}
.famrow{display:flex;gap:6px;align-items:center}.famrow > input{flex:1.4;min-width:0}

/* the ARV tab */
.arv iframe{width:100%;height:calc(100dvh - 230px);min-height:560px;border:1px solid var(--line);border-radius:var(--radius);background:var(--ink-white-50);display:block}
@media (min-width:860px){ .arv iframe{height:calc(100dvh - 190px)} }

/* payments */
.qb-note{background:var(--amber-bg);color:var(--ink);border-radius:var(--radius-10);padding:10px 12px;margin:0 0 8px;font-size:14px}
.pay{padding:12px 0;border-top:1px solid var(--soft)}
.pay-v{display:flex;flex-direction:column;align-items:flex-end}
.pay-v b{font-size:22px}.pay-v small{font-size:12px;color:var(--muted)}
.pay-note{color:var(--red);font-size:14px;margin:6px 0 0}

/* Crown jobs */
.kpis.big b{font-size:28px}
.stage-tabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:0 -14px;padding:2px 14px 8px}
.stage-tabs::-webkit-scrollbar{display:none}
.stage-tabs button{flex:none;display:flex;flex-direction:column;align-items:flex-start;gap:0;border:1px solid var(--line);background:var(--cream);border-radius:var(--radius-12);padding:8px 12px;font-size:12px;color:var(--muted);cursor:pointer;min-height:var(--tap)}
.stage-tabs button b{font-size:24px;color:var(--ink);line-height:1.1}
.stage-tabs button[aria-selected="true"]{background:var(--navy);border-color:var(--navy);color:var(--ink-blue-200)}
.stage-tabs button[aria-selected="true"] b{color:var(--ink-white-50)}
ul.jl{list-style:none;margin:6px 0 0;padding:0}
.job{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"a v" "m m";gap:4px 10px;padding:10px 0;border-top:1px solid var(--soft);cursor:pointer;min-height:var(--tap)}
.job-a{grid-area:a;display:flex;flex-direction:column;min-width:0}
.job-a b{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.job-a small,.job-m small{font-size:12px;color:var(--muted)}
.job-v{grid-area:v;font-size:20px;font-weight:800;text-align:right}
.job-m{grid-area:m;display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.flag.r{background:var(--red-bg);color:var(--red)}
.mline{display:block;font-size:12px;color:var(--muted)}
.profit{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;margin:0}
.profit b{font-size:32px}.profit small{flex-basis:100%;color:var(--muted);font-size:12px}
.sheet .sub{margin-top:6px}
@media (min-width:860px){ ul.jl{display:grid;grid-template-columns:repeat(2,1fr);column-gap:24px} }

/* bottom nav (phone) */
.tabs{position:fixed;left:0;right:0;bottom:0;z-index:6;background:var(--card);border-top:1px solid var(--line);display:flex;padding:0 0 var(--safe-b)}
.tabs button{flex:1;border:0;background:none;padding:8px 0 6px;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11px;color:var(--muted);cursor:pointer;min-height:56px}
.tabs button[aria-current="page"]{color:var(--navy);font-weight:700}

/* sheets */
dialog.sheet{border:0;padding:0;margin:auto auto 0;width:100%;max-width:560px;border-radius:var(--radius-x-2);background:var(--card);color:var(--ink);max-height:88vh}
@supports (height:1dvh){dialog.sheet{max-height:88dvh}}
dialog.sheet{overscroll-behavior:contain}
.sheet-x{position:sticky;top:0;z-index:3;justify-self:end;width:44px;height:44px;margin:-8px -8px -56px 0;border:0;border-radius:var(--radius-pill-2);background:var(--soft);color:var(--ink);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;box-shadow:0 1px 4px var(--sheet-x-shadow)}
.sheet-x .i{width:20px;height:20px}
.sheet h2{padding-right:44px}
dialog.sheet::backdrop{background:var(--bg-blue-800-a45)}
.sheet form{padding:18px 18px calc(18px + var(--safe-b));display:grid;gap:12px}
.sheet h2{margin:0;font-size:18px}
.sheet label{display:grid;gap:4px;font-size:13px;color:var(--muted)}
.sheet input,.sheet select,.sheet textarea{font:16px var(--font);padding:11px 12px;border:1px solid var(--line);border-radius:var(--radius-10);background:var(--ink-white-50);color:var(--ink);width:100%}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.actions{display:flex;gap:10px;flex-wrap:wrap}
.btn{min-height:var(--tap);border:0;border-radius:var(--radius-10);padding:0 16px;font-weight:700;cursor:pointer;background:var(--navy);color:var(--ink-white-50)}
.btn.ghost{background:var(--soft);color:var(--ink)}
.btn.danger{background:var(--red-bg);color:var(--red)}
.btn:disabled{opacity:.5}
.note{font-size:13px;color:var(--muted);margin:0}
.toast{position:fixed;left:50%;bottom:calc(76px + var(--safe-b));transform:translateX(-50%);background:var(--navy);color:var(--ink-white-50);padding:10px 16px;border-radius:var(--radius-pill);font-size:14px;z-index:20}

/* auth pages */
.auth{max-width:400px;margin:10vh auto;background:var(--card);border:1px solid var(--line);border-radius:var(--radius-18);padding:28px 24px}
.auth h1{font-size:24px;margin:0 0 4px}
.auth .sub-t{color:var(--muted);font-size:14px;margin:0 0 6px}
.auth label{display:block;font-size:13px;color:var(--muted);margin:16px 0 4px}
.auth input{width:100%;font:16px var(--font);padding:12px;border:1px solid var(--line);border-radius:var(--radius-10)}
.auth button{margin-top:20px;width:100%;min-height:48px;font-weight:700;font-size:16px;background:var(--navy);color:var(--ink-white-50);border:0;border-radius:var(--radius-10);cursor:pointer}
.err{color:var(--red);font-size:14px;min-height:20px;margin-top:10px}
.auth .hint{color:var(--muted);font-size:13px}

/* desktop: the wide version */
@media (min-width:860px){
  .tabs{display:none}
  .desk-nav{display:flex;gap:4px}
  .desk-nav button{border:1px solid var(--line-white-50-a25);background:transparent;color:var(--ink-white-50);border-radius:var(--radius-8);padding:6px 12px;cursor:pointer;min-height:36px}
  .desk-nav button[aria-current="page"]{background:var(--ink-white-50);color:var(--navy)}
  .co-switch{top:64px;justify-content:center}
  .co-switch button{flex:0 0 140px}
  main{padding-bottom:40px}
  .goals{grid-template-columns:repeat(3,1fr)}
  .goals.goals-full{grid-template-columns:1fr}.goals-full .co-goals{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
  .cards{grid-template-columns:repeat(auto-fill,minmax(360px,1fr))}
  .hero{padding:18px}
  .hero-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));overflow:visible;padding:0}
  .hero .gt{max-width:none}
  .tiles{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));align-items:start}
  .tile.open{grid-column:1/-1}
  .tile.open .tile-b{columns:2;column-gap:28px}
  .tile.open .tile-b > *{break-inside:avoid}
  .mbs{grid-template-columns:repeat(2,1fr)}
  .mb .chart{max-width:420px}
  .mbs .co-group{grid-column:1/-1;grid-template-columns:repeat(2,1fr)}
  .mbs .co-label{grid-column:1/-1}
  .mine-lists{grid-template-columns:repeat(2,1fr)}
  .deal-cols{grid-template-columns:repeat(2,1fr);align-items:start}
  .me-hero{display:grid;grid-template-columns:1fr 1fr;gap:6px 24px;align-items:center}
  .me-hero .hist{margin-top:0;grid-row:1/4;grid-column:2}
  dialog.sheet{margin:auto;border-radius:var(--radius-18)}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* Links and small text buttons follow the theme: navy (or your colour) on light, a light blue on dark.
   Last in the file and scoped to :root so no earlier a{} or .link-btn{} rule can paint them dark on dark
   (her report 2 Nov 12:3x: rocks and to-dos unreadable). The test suite measures this. */
/* Her list 3 Nov, item 2: one market's view (or a lone bar) spans the whole width, at every size. */
.hero-row.one,.hero-row.one:not(#x){display:block;overflow:visible;padding:0}.hero .hero-row.one .gt{max-width:none;width:100%;flex:none;margin-top:10px}
/* A class that sets display beats the UA's [hidden]; the rep view hides tabs and the company switch with it. */
[hidden]{display:none!important}
.v-acts{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 8px}
.v-row{display:flex;gap:10px;align-items:flex-start;width:100%;background:none;border:0;padding:0;color:inherit;font:inherit;text-align:left;cursor:pointer;min-height:var(--tap)}
.v-gate{margin:12px 0;border-left:4px solid var(--navy)}
.v-deal{margin:14px 0}
.b-acts{display:flex;flex-direction:column;align-items:flex-end;gap:6px;margin-left:8px}
.btn.sm{min-height:36px;padding:0 12px;font-size:14px}
.b-addr{display:flex;gap:8px;align-items:flex-end;margin-top:12px}.b-addr label{flex:1;margin:0}
.b-head{margin:4px 0 12px}.b-head h2{margin:0 0 2px;font-size:22px}
.b-old{margin-top:12px}.b-old summary{cursor:pointer;font-weight:600;min-height:var(--tap);display:flex;align-items:center}
@media (max-width:600px){ .b-near li,.card li:has(.b-acts){flex-wrap:wrap} .b-acts{flex-direction:row;flex-wrap:wrap;align-items:center;width:100%;margin:8px 0 0;gap:12px} }
.v-pend{color:var(--amber)}
.thermo i.ua{position:absolute;top:0;background:repeating-linear-gradient(135deg,var(--ua-bg) 0 3px,var(--ua-bg-2) 3px 6px);border-radius:var(--radius-x)}
.co .thermo i.ua{background:repeating-linear-gradient(135deg,var(--ua-bg-3) 0 3px,var(--ua-bg-4) 3px 6px)}
.thermo i.ua-new{position:absolute;top:0;width:6px;height:100%;background:transparent;border:1.5px solid var(--ink-orange-200);border-radius:var(--radius-3);box-sizing:border-box}
.co .thermo i.ua-new{border-color:var(--amber)}
.gt-ua{display:flex;flex-wrap:wrap;gap:12px;background:none;border:0;padding:4px 0;margin:0;color:inherit;font:inherit;font-size:12px;opacity:.9;cursor:pointer;text-align:left;min-height:32px;align-items:center}
.gt-ua span{text-decoration:underline;text-underline-offset:3px}
.gt-ua .k3::before{content:"";display:inline-block;width:8px;height:8px;border-radius:var(--radius-2);margin-right:4px;background:repeating-linear-gradient(135deg,var(--k3-bg) 0 2px,var(--k3-bg-2) 2px 4px)}
.gt-ua .k4::before{content:"";display:inline-block;width:6px;height:8px;border:1.5px solid var(--ink-orange-200);border-radius:var(--radius-2);margin-right:4px}
.co .gt-ua .k4::before{border-color:var(--amber)}
.step.xs{min-height:32px;padding:0 10px;font-size:12px}
.tc-x{margin:14px 0;padding-top:4px;border-top:1px solid var(--soft)}
.tc-x .kv{margin:4px 0 8px}
.att{margin:4px 0 8px;font-size:14px}
:root a,:root .link-btn{color:var(--link,var(--navy))}
:root .tabs button[aria-current="page"]{color:var(--link,var(--navy))}

/* the logo in the bar */
.bar h1{display:flex;align-items:center;min-width:0;overflow:visible;flex:1 1 auto}
.brand{display:flex;align-items:center;gap:10px;flex:none}
.brand img,.lg-sep{flex:none}
.brand img{display:block;width:auto;height:28px}
.brand .lg-c{height:32px}
.lg-sep{width:1px;height:24px;background:var(--line-white-50-a25)}
@media (max-width:420px){ .brand img{height:21px} .brand .lg-c{height:25px} .brand{gap:6px} .lg-sep{height:20px} }
@media (min-width:860px){ .brand img{height:34px} .brand .lg-c{height:40px} }
@media (max-width:380px){ .bar{gap:4px;padding-left:10px;padding-right:8px} .bar .icon-btn{min-width:38px} .lg-sep{display:none} .wk{font-size:13px} }

/* Buyers List (5 Nov) */
.bl-t{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums;margin:2px 0 10px}
.bl-t th,.bl-t td{padding:5px 4px;text-align:center;border-top:1px solid var(--soft)}
.bl-t thead th{font-size:12px;color:var(--muted);font-weight:600;border-top:0}
.bl-t tbody th{text-align:left;font-weight:600;white-space:nowrap}
.bl-via{font-size:13px;color:var(--muted);line-height:1.7;margin:0 0 6px}
details.bl-r{width:100%}
details.bl-r summary{display:flex;gap:10px;align-items:flex-start;cursor:pointer;list-style:none;min-height:44px}
details.bl-r summary::-webkit-details-marker{display:none}
details.bl-r summary a{min-height:44px;display:inline-flex;align-items:center}
dl.bl-c{display:grid;grid-template-columns:1fr;gap:4px 14px;margin:6px 0 4px;font-size:14px}
@media (min-width:640px){dl.bl-c{grid-template-columns:1fr 1fr}}
dl.bl-c div{display:flex;gap:8px}
dl.bl-c dt{color:var(--muted);min-width:118px;flex:none}
dl.bl-c dd{margin:0;overflow-wrap:anywhere}
.b-ups{margin:4px 0 0;font-size:14px;display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline}

/* Applicant detail + call (5 Nov) */
details.a-r dl.bl-c{margin-top:8px}
.a-call{margin:8px 0 6px;font-size:14px}
.a-call.empty{color:var(--muted)}
details.a-r .v-acts{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:4px 0 6px}

/* Property Scouts map (5 Nov) */
.b-map{height:300px;border-radius:var(--radius-12);overflow:hidden;background:var(--soft);z-index:0}
@media (min-width:760px){.b-map{height:420px}}
.b-legend{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:12.5px;color:var(--muted);margin:8px 0 0}
.b-legend span{display:inline-flex;align-items:center;gap:5px}
.b-legend i{width:11px;height:11px;border-radius:var(--radius-pill-2);border:2px solid var(--ink-white-50);box-shadow:0 0 0 1px var(--b-legend-shadow);display:inline-block}
.b-legend i.sq{border-radius:var(--radius-2)}
.b-legend i.ring{background:transparent;border:2px solid var(--line-red-500);box-shadow:none}
.b-legend i.ring.dash{border-style:dashed}
.b-prop{background:var(--bg-blue-700);border:2px solid var(--ink-white-50);border-radius:var(--radius-2);box-shadow:0 0 0 1px var(--b-prop-shadow)}
.b-prop.on{background:var(--line-red-500);transform:scale(1.35)}
.b-pop{font:14px/1.45 inherit;min-width:180px}
.b-pop-a{display:flex;gap:8px;align-items:center;margin-top:8px;flex-wrap:wrap}
.b-ring{color:var(--text)}
.gtxt{color:var(--gtxt-ink)}
.leaflet-container{font:inherit}

/* Map pins as tap targets, clusters, cards (her feedback 5 Nov 11:3x) */
.b-dot{display:flex;align-items:center;justify-content:center;background:transparent;border:0}
.b-dot i{width:16px;height:16px;border-radius:var(--radius-pill-2);border:2px solid var(--ink-white-50);box-shadow:0 0 0 1px var(--shadow-black-900-a35);display:block}
.b-clus{display:flex;align-items:center;justify-content:center;background:transparent}
.b-clus span{width:30px;height:30px;border-radius:var(--radius-pill-2);background:var(--line-green-600);color:var(--ink-white-50);border:2px solid var(--ink-white-50);box-shadow:0 0 0 1px var(--shadow-black-900-a35);display:flex;align-items:center;justify-content:center;font:700 13px/1 system-ui,sans-serif}
.b-pop dl{margin:6px 0 0;font-size:13.5px}.b-pop dl div{display:flex;gap:8px}.b-pop dt{color:var(--ink-gray-600);min-width:70px}.b-pop dd{margin:0}
.b-pop-s{font-size:12px;color:var(--ink-gray-600)}
.b-pop-n{font-size:13px;color:var(--ink-gray-600)}
.b-pop .btn.sm{min-height:36px}
.leaflet-popup-content{margin:12px 14px}
.b-tip{font:13px/1.35 system-ui,sans-serif;padding:6px 8px}
li.b-hl{background:var(--b-hl-bg);transition:background .4s}

.b-copy{display:inline-flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:4px}

.b-linkbox{background:var(--soft);border-radius:var(--radius-10);padding:10px 12px;font-size:14px;overflow-wrap:anywhere;user-select:all}
/* A scout's name opens their card (5 Nov): reads as the name, underlined so it looks tappable; the row keeps its height. */
.link-btn.b-sname{font:inherit;font-weight:700;color:inherit;padding:0;min-height:0;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-align:left}
.b-card{border:1px solid var(--line,var(--b-card-line));border-radius:var(--radius-12);padding:12px}.b-card dl{font-size:15px}.b-card dl div{padding:3px 0}.b-card .b-pop-a{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}
/* "Use Face ID next time?" (5 Nov): a bar above the bottom nav, once per phone. */
.pk-bar{position:fixed;left:12px;right:12px;bottom:calc(76px + var(--safe-b,0px));z-index:40;display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;justify-content:space-between;background:var(--card,var(--ink-white-50));color:var(--ink);border:1px solid var(--line);border-radius:var(--radius-14);padding:12px 14px;box-shadow:0 6px 24px var(--pk-bar-shadow);max-width:560px;margin:0 auto;font-size:15px}
.pk-bar .pk-acts{display:flex;gap:8px;align-items:center}
/* Source age on a panel (5 Nov): grey when fresh, red when late. */
.age{font-size:12px;font-weight:600;color:var(--muted);margin-left:6px;white-space:nowrap}.age.late{color:var(--red)}
/* 6 Nov: the summary rides in every header; while a section is open it is a quiet line, not the big numbers. */
.fold:not(.is-folded) > .fold-h .fold-s b{font-size:15px;font-weight:700}
.fold-s .age{margin-left:auto}
/* 12 Nov: "Checked <time>" and "changed <time>" side by side, pushed right; they wrap under the numbers on a phone. */
.fold-s .age-w{margin-left:auto;display:inline-flex;flex-wrap:wrap;gap:2px 8px;justify-content:flex-end}.fold-s .age-w .age{margin-left:0}.age.chg{font-weight:500;color:var(--faint)}
/* Matt, Jarad and Isla near the top of the Elevate tab. */
.rs-grid{display:grid;grid-template-columns:1fr;gap:10px;margin:0 0 12px}
@media (min-width:760px){.rs-grid{grid-template-columns:repeat(3,1fr)}}
.rs-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:12px 14px}
.rs-h{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.rs-h .b-sname{font-size:17px}.rs-h small{color:var(--muted);font-size:12px}
.rs-row{display:flex;flex-wrap:wrap;gap:6px 10px;margin:8px 0 4px}
.rs-c{display:flex;flex-direction:column;min-width:46px}.rs-c b{font-size:22px;font-weight:800;line-height:1.1}.rs-c small{font-size:11px;color:var(--faint)}.rs-c span{font-size:12px;color:var(--muted)}
.rs-f{margin:4px 0 0;font-size:13px;color:var(--muted)}
.rs-card .tile-mk{margin:4px 0 0;font-size:13px}
/* The market goal bar (her word 6 Nov 10:1x): funded darkest, dispo'd the main blue, under agreement lighter. */
.hero .gt.mt{flex-basis:86%;max-width:420px}
.hero-row.one .gt.mt{flex-basis:100%;max-width:none}
.mt-bar{position:relative;height:16px;border-radius:var(--radius-pill);background:var(--bg-white-50-a12);margin:10px 0 8px;overflow:hidden}
.mt-bar i{position:absolute;top:0;bottom:0;display:block}
.mt-bar i.f,.mt-key i.f{background:var(--f-bg)}
.mt-bar i.f{left:0;border-right:2px solid var(--ink-white-50)}
.mt-bar i.a,.mt-key i.a{background:var(--bg-blue-200)}
.mt-bar i.u,.mt-key i.u{background:var(--u-bg)}
.mt-key{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:12.5px;color:var(--ink-blue-200)}
.mt-key span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.mt-key b{color:var(--ink-white-50)}
.mt-key i{display:inline-block;width:12px;height:12px;border-radius:var(--radius-3)}
.mt .gt-v small{font-size:13px;font-weight:600;color:var(--ink-blue-200)}
@media (min-width:760px){.hero .gt.mt{flex:1 1 0;max-width:none}}
.mt-goal{font-size:13px;color:var(--ink-blue-200);margin-top:2px}
@media (min-width:760px){.hero-row.mt-row{grid-template-columns:repeat(auto-fit,minmax(0,1fr))}}
/* Goal and pace on the market bar (her word 6 Nov 10:2x: "Where is the line that shows the goal amount and how close"). */
.mt-bar{overflow:visible}
.mt-bar i.f{border-radius:var(--radius-x-3)}
.mt-bar b.pace-l{position:absolute;top:-4px;bottom:-4px;width:3px;margin-left:-1.5px;background:var(--ink-orange-200);border-radius:var(--radius-2)}
.mt-bar b.goal-l{position:absolute;top:-6px;bottom:-6px;right:0;width:3px;background:var(--ink-white-50);border-radius:var(--radius-2)}
.mt-scale{position:relative;height:18px;font-size:11.5px;color:var(--ink-blue-200);margin:-2px 0 8px}
.mt-scale .pace-t{position:absolute;transform:translateX(-50%);white-space:nowrap;color:var(--ink-orange-200)}
.mt-scale .goal-t{position:absolute;right:0;white-space:nowrap;font-weight:700;color:var(--ink-white-50)}
.mt-pct{margin-left:10px;font-size:15px;font-weight:800;padding:2px 8px;border-radius:var(--radius-pill);vertical-align:middle;background:var(--bg-white-50-a12)}
.mt-pct.g{color:var(--g-ink)}.mt-pct.r{color:var(--ink-red-100)}
.mt-top{display:flex;justify-content:flex-end;font-size:11.5px;margin:8px 0 -6px}.mt-top .goal-t{position:static;font-weight:700;color:var(--ink-white-50)}
.mt-pct{margin-left:0;margin-right:4px;white-space:nowrap;display:inline-block;font-size:14px}
.mt-goal{line-height:1.7}
/* A rep's full card in a sheet (6 Nov): the tile at full width, its header not a toggle. */
.rep-sheet .tile{margin:0;box-shadow:none}.rep-sheet .tile-h{cursor:default}
.rs-go{cursor:pointer}.rs-go u{text-underline-offset:3px}
/* Phone: nothing in a rep's card wider than the screen (her word 6 Nov 11:0x). Font sizes unchanged. */
.dstack{display:none}
@media (max-width:640px){
  .dstack{display:grid;gap:8px;margin:4px 0 10px}
  .dstack + .dtbl-w{display:none}
  .ds-day{border:1px solid var(--line);border-radius:var(--radius-10);padding:8px 10px}
  .ds-day.rsd{color:var(--muted)}
  .ds-h{font-weight:700;margin-bottom:4px}.ds-h small{font-weight:400;color:var(--muted);margin-left:4px}
  .ds-v{display:flex;flex-wrap:wrap;gap:4px 14px}.ds-v span{white-space:nowrap}
  .m{grid-template-columns:minmax(0,1fr) auto}
  .m-name{min-width:0;overflow-wrap:anywhere}
  .dtbl.pipe{width:100%;table-layout:fixed}
  .dtbl.pipe td,.dtbl.pipe th{overflow-wrap:anywhere}
  #sheet .tile, #sheet .tile *{max-width:100%}
  #sheet li, #sheet p, #sheet .mline{overflow-wrap:anywhere}
}
.info{padding:0;justify-content:center;align-items:center}

/* Level 10 (6 Nov): cards on every width, never a wide grid, so a phone never scrolls sideways */
.l10-top h2{margin:6px 0 4px;font-size:22px}
.l10-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px}
.l10-n{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:12px;min-width:0}
.l10-n.miss{border-left:4px solid var(--red)}
.l10-nh{display:flex;gap:6px;align-items:flex-start;justify-content:space-between}
.l10-nh b{font-size:15px;line-height:1.3;overflow-wrap:anywhere}
.l10-ng{display:block;color:var(--muted);font-size:13px;margin:2px 0 8px}
.l10-row{display:flex;align-items:center;gap:12px}
.l10-row .l10-wk{flex:1;min-width:0}
.l10-big{font-size:26px;font-weight:700;line-height:1.1;min-width:52px}
.l10-rt small{color:var(--muted);font-size:13px}
.l10-wk{display:flex;flex-wrap:wrap;gap:6px}
.l10-wk span{display:flex;flex-direction:column;align-items:center;min-width:44px;padding:4px 6px;border:1px solid var(--line);border-radius:var(--radius-8);font-weight:600;font-size:14px}
.l10-wk span small{font-weight:500;font-size:11px;color:var(--muted)}
.l10-wk span.cur{border-color:var(--link,var(--navy));border-width:2px}
.l10-done{color:var(--link,var(--navy))!important}
.l10-list{display:flex;flex-direction:column;gap:8px}
.l10-r{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:12px;display:flex;flex-direction:column;gap:8px;min-width:0}
.l10-rt{display:flex;flex-direction:column;gap:2px;overflow-wrap:anywhere}
.l10-rt b{font-size:15px;line-height:1.3}
.l10-dm{font-size:13px!important}
.l10-tl{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.l10-dec{margin:4px 0 8px;padding-left:22px;line-height:1.45}.l10-dec li{margin:0 0 4px}
.l10-t{display:flex;gap:10px;align-items:flex-start;background:var(--card);border:1px solid var(--line);border-radius:var(--radius-10);padding:10px 12px;overflow-wrap:anywhere;font-size:15px;line-height:1.35}
.l10-t small{color:var(--muted)}
.l10-ts{flex:0 0 auto;font-size:12px;font-weight:700;border-radius:var(--radius-pill);padding:2px 8px;border:1px solid var(--line);color:var(--muted);margin-top:1px}
.l10-t.done .l10-ts{background:var(--green-bg);color:var(--green);border-color:transparent}
.l10-t.notdone .l10-ts{background:var(--red-bg);color:var(--red);border-color:transparent}
.l10-t.done>span:last-child,.l10-t.dropped>span:last-child{color:var(--muted)}
.l10-t.dropped>span:last-child{text-decoration:line-through}
.l10-i{background:var(--card);border:1px solid var(--line);border-radius:var(--radius-10);padding:0 12px;overflow-wrap:anywhere}
.l10-i summary{cursor:pointer;min-height:44px;display:block;padding:11px 0;font-size:15px;line-height:1.35}
.l10-i summary small{color:var(--muted)}
.l10-i p{margin:0 0 12px;font-size:14px;line-height:1.45}
.l10-m{margin-bottom:10px}
.l10-m li{font-size:15px;line-height:1.4}

/* Level 10 editing (phase 2): the tappable number, rock box and to-do status keep their look and get a 44px target */
button.l10-ed{border:0;background:none;padding:0;cursor:pointer;font:inherit;font-size:26px;font-weight:700;line-height:1.1;min-height:44px;min-width:52px;text-align:left;color:inherit;text-decoration:underline dotted 2px;text-underline-offset:4px}
button.l10-ed.rtxt{color:var(--red)}button.l10-ed.gtxt{color:var(--green)}
button.l10-chip{display:flex;flex-direction:column;align-items:center;min-width:44px;min-height:44px;padding:4px 6px;border:2px solid var(--link,var(--navy));border-radius:var(--radius-8);font:inherit;font-weight:600;font-size:14px;background:var(--card);cursor:pointer;color:inherit}
button.l10-chip small{font-weight:500;font-size:11px;color:var(--muted)}
button.l10-ts{cursor:pointer;font:inherit;font-size:12px;font-weight:700;background:none;min-height:32px}
.l10-t .l10-ts{position:relative}.l10-t .l10-ts::after{content:'';position:absolute;inset:-6px}

/* The scout's face photo beside their name (10 Nov; admins only — the data never reaches anyone else) */
.b-face{width:40px;height:40px;flex:0 0 40px;border-radius:var(--radius-pill-2);object-fit:cover;border:1px solid var(--line);margin:0;align-self:flex-start;background:var(--card)}
.b-face.big{width:96px;height:96px;flex-basis:96px;margin:0 0 6px}
.b-faceh{display:flex;justify-content:flex-start}
.b-facerow{display:flex;align-items:center;gap:10px}

/* Crown: weekly schedule + projected draws (11 Nov, PREVIEW). Phone first: the grid scrolls inside its own box (the
   crew column stays put) with a "swipe" hint; on a wide screen the draws sit beside it, on a phone below. */
.sch{padding:12px}
.sch-cols{display:grid;gap:18px;grid-template-columns:minmax(0,1fr)}
@media (min-width:1100px){.sch-cols{grid-template-columns:minmax(0,1fr) 340px;align-items:start}}
.sch-wk{display:flex;align-items:center;gap:4px;flex-wrap:wrap;margin:-4px 0 8px}
.sch-wk b{font-size:15px}
.sch-arrow{color:var(--ink)}
.sch-arrow:hover{background:var(--soft)}
.sch-sat{display:inline-flex;align-items:center;gap:6px;min-height:var(--tap);margin-left:auto;font-size:14px;color:var(--muted);cursor:pointer}
.sch-sat input{width:20px;height:20px;accent-color:var(--navy)}
.sch-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:var(--radius-10);overscroll-behavior-x:contain}
.sch-grid{border-collapse:separate;border-spacing:0;width:100%;min-width:640px;font-size:14px}
.sch-grid th,.sch-grid td{border-bottom:1px solid var(--line);border-right:1px solid var(--line);vertical-align:top;text-align:left}
.sch-grid tr:last-child > *{border-bottom:0}
.sch-grid tr > :last-child{border-right:0}
.sch-grid thead th{font-size:12px;font-weight:700;color:var(--muted);padding:8px;background:var(--soft);white-space:nowrap}
.sch-grid thead th.today{color:var(--ink);box-shadow:inset 0 -3px 0 var(--navy)}
.sch-crew{position:sticky;left:0;z-index:2;background:var(--card);width:118px;min-width:118px;max-width:118px}
thead .sch-crew{background:var(--soft);z-index:3}
.sch-name{display:flex;flex-direction:column;align-items:flex-start;width:100%;min-height:56px;border:0;background:none;padding:8px;text-align:left;font-weight:700;font-size:14px;line-height:1.25;color:var(--ink);cursor:pointer}
.sch-rate{font-weight:500;font-size:12px;color:var(--muted);margin-top:2px}
.sch-c{position:relative;padding:6px;min-width:104px;height:56px}
.sch-c.past{background:var(--soft)}
.sch-c.today{background:color-mix(in srgb,var(--navy) 6%,var(--card))}
.sch-c.drop{outline:3px dashed var(--navy);outline-offset:-3px}
.sch-tap{position:absolute;inset:0;width:100%;border:0;background:transparent;cursor:pointer;z-index:0;padding:0}
.sch-tap:focus-visible{outline-offset:-3px}
.sch-chip{position:relative;z-index:1;display:flex;align-items:center;min-height:44px;padding:4px 8px;border-radius:var(--radius-8);font-weight:700;font-size:13px;line-height:1.2;cursor:grab;
  -webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:pan-x pan-y}
.sch-c.split .sch-chip{min-height:22px;padding:3px 8px}
.sch-c.split .sch-chip + .sch-chip{margin-top:4px}
.sch-chip.sch-lift{opacity:.35}
.sch-ghost{position:fixed;z-index:50;pointer-events:none;transform:translate(-50%,-60%) scale(1.06);box-shadow:0 8px 24px var(--sch-ghost-shadow);cursor:grabbing}
.sch-none{position:relative;z-index:0;pointer-events:none;display:flex;align-items:center;justify-content:center;min-height:44px;color:var(--faint);font-size:13px}
.sch-plan,.sch-note{position:relative;z-index:1;pointer-events:none;display:block;font-size:11px;color:var(--muted);margin-top:3px;line-height:1.25}
.sch-c.moved .sch-chip{box-shadow:0 0 0 2px var(--amber) inset}
.sch-plan s{text-decoration-thickness:1px}
.cj0{background:var(--cj0-bg);color:var(--cj0-ink)}.cj1{background:var(--cj1-bg);color:var(--cj1-ink)}.cj2{background:var(--cj2-bg);color:var(--cj2-ink)}.cj3{background:var(--cj3-bg);color:var(--cj3-ink)}
.cj4{background:var(--cj4-bg);color:var(--cj4-ink)}.cj5{background:var(--cj5-bg);color:var(--cj5-ink)}.cj6{background:var(--cj6-bg);color:var(--cj6-ink)}.cj7{background:var(--cj7-bg);color:var(--cj7-ink)}
:root[data-theme="dark"] .sch-chip{filter:brightness(.82) saturate(1.1)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .sch-chip{filter:brightness(.82) saturate(1.1)}}
.sch-hint{font-size:13px;color:var(--muted);margin:8px 2px 10px}
.sch-swipe{display:block;font-weight:700;color:var(--ink)}
@media (min-width:860px){.sch-swipe{display:none}}
.sch .btn.sm{min-height:var(--tap);font-size:14px;padding:0 14px}
.sch-h{margin:0 0 8px;font-size:15px}
.sch-draws{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums;margin-bottom:10px}
.sch-draws th,.sch-draws td{padding:4px;border-bottom:1px solid var(--line);text-align:right;vertical-align:middle}
.sch-draws th:first-child,.sch-draws td:first-child{text-align:left}
.sch-draws thead th{font-size:12px;color:var(--muted);font-weight:700}
.sch-draws td small{display:block;font-size:11px;color:var(--muted)}
.sch-draws td:nth-child(2){white-space:nowrap}
.sch-draws tfoot th,.sch-draws tfoot td{border-bottom:0;border-top:2px solid var(--ink);padding-top:8px}
.sch-draws tfoot th{font-size:14px}
.sch-dname{border:0;background:none;padding:0;min-height:var(--tap);text-align:left;font-size:14px;color:var(--ink);cursor:pointer;width:100%}
.sch-log{margin-top:14px;font-size:13px}
.sch-log summary{min-height:var(--tap);display:flex;align-items:center;cursor:pointer;font-weight:700;color:var(--muted)}
.sch-log ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.sch-log li{display:flex;flex-direction:column;border-bottom:1px solid var(--soft);padding-bottom:6px}
.sch-log small{color:var(--faint)}
.sch-also{border:0;padding:0;margin:0}
.sch-also legend{font-size:13px;color:var(--muted);margin-bottom:6px;padding:0}
.sch-also .seg-r label{display:flex;flex-direction:row;align-items:center;gap:6px;min-height:var(--tap);font-size:14px;color:var(--ink)}
.sch-jobs{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.sch-jobs li{display:flex;gap:8px;align-items:center}
.sch-pastnote{background:var(--amber-bg);color:var(--amber);padding:8px 10px;border-radius:var(--radius-8)}
.sch-jobs .btn.sm{min-height:var(--tap)}
/* "Sold and appointments": the month line's "0 sold · $0 · appointments not typed  Add appointments" was nowrap and pushed a
   390 px phone's page to 474 px wide (found measuring the schedule render, 11 Nov); it wraps now. */
.sub > .cad{white-space:normal}
.sch-copyq{font-size:16px;line-height:1.45;margin:6px 0 10px}
/* Crown money collected (QuickBooks, typed) and the folded Contractor+ figures (11 Nov) */
.qb{margin:0 0 12px}.qb-h{font-size:16px;margin:0 0 8px}.qb-h small{font-weight:400;color:var(--muted)}
.qb-k>div{min-width:0}.qb-k b{font-size:28px}.qb-k .qb-from{display:block;color:var(--muted);font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.cplus-fold{border-top:1px solid var(--line);padding-top:6px}.cplus-fold>summary{min-height:var(--tap);display:flex;align-items:center;cursor:pointer;color:var(--muted);font-size:14px}
/* Chad's lead tracker (11 Nov) */
.ldl{list-style:none;margin:0 0 6px;padding:0}
.ld{display:flex;gap:10px;align-items:flex-start;justify-content:space-between;padding:10px 4px;border-bottom:1px solid var(--line);cursor:pointer;min-height:var(--tap)}
.ld-a{min-width:0;flex:1}.ld-a b{display:block;font-size:15px;overflow-wrap:anywhere}.ld-a small{display:block;color:var(--muted);font-size:12px;overflow-wrap:anywhere}
.ld-appt{display:flex!important;gap:4px;align-items:center;color:var(--ink)!important;font-weight:600}.ld-appt .i{width:14px;height:14px}
.ld-m{display:flex;flex-direction:column;align-items:flex-end;gap:3px;max-width:46%;text-align:right}.ld-m small{color:var(--muted);font-size:11px;overflow-wrap:anywhere}
.noname{font-style:italic;color:var(--muted)}
.ld-ph{margin:4px 0 8px}.ld-call{font-size:17px;font-weight:700}
.ld-want{margin:6px 0}.ld-want small{display:block;color:var(--muted);font-size:12px}
.ld-tries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:6px 0 8px}
.ld-t{min-height:44px;justify-content:center;width:100%}
.ld-tl li{font-size:13px}
.ld-est{background:var(--cream);border-radius:var(--radius-10);padding:10px;margin:4px 0 8px;overflow-wrap:anywhere}.ld-est small{display:block;color:var(--muted);font-size:12px}
.empty.sm{font-size:13px;margin:2px 0 8px}
.ld-call{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;text-decoration:none}
.ld-last{margin:0 0 6px}
.qb .link-btn{min-height:44px;align-self:flex-start}
.cplus-fold>summary::before{content:'▸';margin-right:8px}.cplus-fold[open]>summary::before{content:'▾'}

/* Meters (BG session 12 Nov): one row of tappable meters, two bars each; values in ink, the bar carries no meaning alone. */
:root{--mt-now:var(--navy);--mt-prev:#a9b4c4;--mt-track:var(--soft);--mt-none:#9aa3b0}
:root[data-theme="dark"]{--mt-now:#8fb3e8;--mt-prev:#566377;--mt-none:#7d8897}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]):not([data-theme="dark"]){--mt-now:#8fb3e8;--mt-prev:#566377;--mt-none:#7d8897}}
.mper{max-width:320px;margin:0 0 10px}
.mtrs{display:grid;grid-template-columns:1fr;gap:10px}
@media (min-width:720px){.mtrs{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}}
.mtr{display:flex;flex-direction:column;align-items:stretch;gap:2px;text-align:left;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:12px 14px;cursor:pointer;min-height:var(--tap);color:var(--ink)}
.mtr:hover{border-color:var(--muted)}
.mtr-h{display:flex;align-items:center;gap:8px}
.mtr-t{font-size:14px;font-weight:700;flex:1}
.mtr-tag{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);border:1px solid var(--line);border-radius:var(--radius-pill);padding:1px 8px}
.mtr-big{font-size:28px;font-weight:800;line-height:1.15}
.mtr-big small{font-size:16px;font-weight:600;color:var(--muted)}
.mtr-bs{font-size:13px;color:var(--muted)}
.mtr-svg{width:100%;height:auto;display:block;margin:8px 0 4px;overflow:visible}
.mt-l{font-size:12px;fill:var(--muted)}
.mt-v{font-size:12.5px;font-weight:700;fill:var(--ink)}
.mt-track{fill:var(--mt-track)}
.mt-now{fill:var(--mt-now)}
.mt-prev{fill:var(--mt-prev)}
.mt-none{fill:none;stroke:var(--mt-none);stroke-width:1;stroke-dasharray:4 3}
.mt-nt{font-size:10.5px;fill:var(--muted);font-style:italic}
.mtr-note{font-size:12px;color:var(--muted)}
.mtr-src{font-size:11.5px;color:var(--faint)}
.mtr-go{font-size:13px;font-weight:700;color:var(--link,var(--navy));display:flex;align-items:center;gap:2px;margin-top:4px}
.mtr-go svg.i{width:16px;height:16px}
.mtr-key{display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.mk-sw{display:inline-block;width:14px;height:10px;border-radius:var(--radius-3);vertical-align:middle}
.mt-prev-k{background:var(--mt-prev)}.mt-now-k{background:var(--mt-now);margin-left:8px}
section.fold.mtr-hit{outline:3px solid var(--line-blue-400);outline-offset:3px;border-radius:var(--radius)}
/* Chad's snapshot */
.snap-h{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
.snap-h h3{margin:0;font-size:16px}
.snap-h .mper{margin:0;flex:0 0 200px}
.sn-fun{display:flex;align-items:stretch;gap:6px;margin:12px 0}
.sn-fun>div{flex:1;background:var(--cream);border-radius:var(--radius-10);padding:8px 10px;display:flex;flex-direction:column;gap:1px;min-width:0}
.sn-fun>span{align-self:center;color:var(--muted)}
.sn-fun small{font-size:11px;color:var(--muted)}
.sn-fun b{font-size:22px}
.sn-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.sn-t{width:100%;border-collapse:collapse;font-size:13.5px}
.sn-t abbr{text-decoration:none}
.sn-t th,.sn-t td{padding:7px 6px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}
.sn-t th[scope="row"],.sn-t thead th:first-child{text-align:left;font-weight:600}
.sn-t thead th{font-size:11.5px;color:var(--muted);font-weight:600}
.sn-t tfoot th,.sn-t tfoot td{border-bottom:0;font-weight:700}
.sn-bar{display:flex;align-items:center;justify-content:flex-end;gap:6px}
.sn-b{display:inline-block;width:56px;height:8px;background:var(--mt-track);border-radius:var(--radius-pill);overflow:hidden}
.sn-b i{display:block;height:100%;background:var(--mt-now);border-radius:var(--radius-pill)}
.sn-money{display:grid;grid-template-columns:1fr;gap:8px;margin:12px 0 4px}
@media (min-width:720px){.sn-money{grid-template-columns:repeat(3,1fr)}}
.sn-money>div{background:var(--cream);border-radius:var(--radius-10);padding:10px;display:flex;flex-direction:column;gap:1px}
.sn-money small{font-size:11.5px;color:var(--muted)}
.sn-money b{font-size:22px}
.sn-warn{color:var(--amber)}
.mt-proj{fill:var(--mt-now);fill-opacity:.28;stroke:var(--mt-now);stroke-width:1.2}
.mt-proj-k{background:color-mix(in srgb,var(--mt-now) 28%,transparent);border:1.2px solid var(--mt-now);margin-left:8px}
.mtr-key .nw{white-space:nowrap}
@media (max-width:479px){.sn-b{display:none}.sn-t{font-size:12.5px}.sn-t th,.sn-t td{padding:7px 3px}.sn-t thead th{font-size:11px}}

/* Points and Levels, rebuilt 13 Nov (her card "Match the board, for everyone"): the board's own white cards on cream,
   its type and colour tokens (dark mode follows the theme), inside the page's normal content width like every other
   section. One compact card per person: level, points bar, streak, this week's goal, wins. Targets 44 px; nothing moves
   under prefers-reduced-motion; a miss is never red; no purple, no full-bleed fill. */
.gm{display:grid;gap:12px}
.gm-grid{display:grid;gap:12px;grid-template-columns:minmax(0,1fr);align-items:start}
.gm-reps{display:grid;gap:8px}.gm-reps > .gc-k{margin:2px 2px 0}
.gc-fold{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);min-width:0}
.gc-sum{display:flex;align-items:center;gap:10px;min-height:var(--tap);padding:8px 14px;cursor:pointer;list-style:none}
.gc-sum::-webkit-details-marker{display:none}
.gc-sum .av{width:34px;height:34px;font-size:14px}
.gc-sn{flex:1;min-width:0;display:flex;flex-direction:column}.gc-sn b{font-size:16px}.gc-sn small{font-size:12.5px;color:var(--muted)}
.gc-sg{display:flex;flex-direction:column;align-items:flex-end;font-size:14px;color:var(--muted);white-space:nowrap}.gc-sg b{font-size:18px;color:var(--ink)}.gc-sg small{font-size:12px}
.gc-sum::after{content:"";width:8px;height:8px;border-right:2px solid var(--faint);border-bottom:2px solid var(--faint);transform:rotate(45deg);transition:transform .2s ease;flex:none;margin-left:4px}
.gc-fold[open] .gc-sum::after{transform:rotate(-135deg)}
.gc-fold > .gc{border:0;border-top:1px solid var(--soft);border-radius:0 0 var(--radius) var(--radius);padding-top:10px}
.gc-fold > .gc > .gc-top{display:none}
.gm-team{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:10px 14px 12px}
.gm-team .gc-row{margin-bottom:6px}
.gm-team b{font-size:17px}
.gc{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:12px 14px;display:grid;gap:10px;min-width:0;align-content:start}
.gc-top{display:flex;align-items:center;gap:10px;min-width:0}
.gc-who{flex:1;min-width:0;display:flex;flex-direction:column}
.gc-who b{font-size:17px;font-weight:700}
.gc-who small{font-size:12.5px;color:var(--muted);line-height:1.3}
.gc-lv small{font-size:12.5px;color:var(--muted)}
.gc-you{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);background:var(--soft);border-radius:var(--radius-pill);padding:1px 7px;vertical-align:2px}
.gc-lv{display:flex;flex-direction:column;align-items:flex-end;text-align:right;min-width:0;max-width:48%}
.gc-lv b{font-size:22px;font-weight:800;letter-spacing:-.01em;line-height:1.1}
.gc-row{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap;font-size:14px;color:var(--muted)}
.gc-row b{color:var(--ink);font-size:16px}
.gc-wk{color:var(--green);font-weight:700;white-space:nowrap}
.gc-bar{height:8px;margin-top:6px}
.gc-bar i{background:var(--ink)}
.gc-bar.ok i{background:var(--green)}
.gc-sub{display:block;font-size:12.5px;color:var(--muted);margin-top:4px}
.gc-k{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:700}
.gc-cells{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
.gc-c{background:var(--cream);border-radius:var(--radius-10);padding:8px 10px;display:flex;flex-direction:column;gap:1px;min-width:0}
.gc-v{font-size:19px;font-weight:800;color:var(--ink)}
.gc-c small{font-size:12.5px;color:var(--muted);line-height:1.35}
.gc-c .gc-bar{height:6px}
.gc-wins ul{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.gc-wins li{background:var(--soft);border-radius:var(--radius-pill);padding:4px 10px;font-size:13px;line-height:1.3;max-width:100%}
.gc-wins li b{font-weight:700}
.gc-wins li small{color:var(--muted);font-size:12px}
.gc-wins > small{display:block;font-size:12px;color:var(--muted);margin-top:4px}
.gc-none{margin:4px 0 0;font-size:13px;color:var(--muted)}
.gc-zero{margin:0;font-size:13.5px;background:var(--cream);border:1px dashed var(--line);border-radius:var(--radius-10);padding:8px 10px;color:var(--ink)}
.gc-more,.gc-how{border-top:1px solid var(--soft);padding-top:2px}
.gc-more summary,.gc-how summary{min-height:var(--tap);display:flex;align-items:center;cursor:pointer;font-size:14px;font-weight:600;color:var(--ink);list-style:none}
.gc-more summary::-webkit-details-marker,.gc-how summary::-webkit-details-marker{display:none}
.gc-more summary::after,.gc-how summary::after{content:"";margin-left:auto;width:8px;height:8px;border-right:2px solid var(--faint);border-bottom:2px solid var(--faint);transform:rotate(45deg);transition:transform .2s ease}
.gc-more[open] summary::after,.gc-how[open] summary::after{transform:rotate(-135deg)}
.gc-pts{list-style:none;margin:0;padding:0;font-size:13.5px}
.gc-pts li{display:flex;justify-content:space-between;gap:10px;padding:5px 0;border-bottom:1px solid var(--soft)}
.gc-pts li span{color:var(--muted);min-width:0}
.gc-today span{font-style:italic}
.gc-how{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:2px 14px}
.gc-how-b{font-size:13.5px;color:var(--muted);padding-bottom:6px}
.gc-how-b b{color:var(--ink)}
.gc-foot{margin:0 2px;font-size:12px;color:var(--faint)}
@media (min-width:760px){.gm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1100px){.gm-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* One card alone (a rep's own page, or a boss with no reps to see): the five parts side by side on a computer, so the
   section stays a short card at the normal width instead of a tall column. */
@media (min-width:760px){.gm-one .gm-grid{grid-template-columns:minmax(0,1fr)}
  .gm-one .gc{grid-template-columns:minmax(0,1.15fr) minmax(0,1.3fr) minmax(0,1fr);column-gap:22px;align-items:start}
  .gm-one .gc-top,.gm-one .gc-xp{grid-column:1}.gm-one .gc-xp{grid-row:2}
  .gm-one .gc-cells{grid-column:2;grid-row:1/3}.gm-one .gc-wins{grid-column:3;grid-row:1/3}
  .gm-one .gc-zero,.gm-one .gc-more{grid-column:1/-1}}
/* The goal-met moment: a board card over the page. */
.g-hit{position:fixed;inset:0;z-index:50;background:var(--g-hit-bg);display:flex;align-items:center;justify-content:center;padding:16px}
.g-hit-in{background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:var(--radius);padding:18px;max-width:420px;width:100%;display:grid;gap:8px;box-shadow:0 12px 40px var(--g-hit-in-shadow);animation:g-in .25s ease-out}
.g-hit-in h2{margin:0;font-size:22px}
.gh-big{margin:0;font-size:15px;color:var(--muted)}.gh-big b{font-size:28px;color:var(--green)}
.gh-up{margin:0;font-size:15px}
.g-claim{min-height:var(--tap);justify-self:end;min-width:120px}
@keyframes g-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.g-hit-in{animation:none}}

/* Go-live 12 Nov: a long lead source in a fold's summary ("Facebook Lead Ad — Crown lead form (Nov 2026) 10", 346px, nowrap)
   pushed the fold button past its row and the page 2px wider than a 390px phone. The button may shrink and a summary item
   that cannot fit is cut with an ellipsis (the full name is in the fold). */
.fold-btn{min-width:0}
.fold-s > .fs-i{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis}
/* ---------- The customizable board (public/layout.js, her ruling 12 Nov). Drawn only with CUSTOM_BOARD_LIVE or its
   preview; every rule below is scoped to classes nothing else uses. Touch targets 44 px; nothing wider than a 390 phone. ---------- */
.edit-me{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin:-4px 0 6px}
.edit-me .btn{display:inline-flex;align-items:center;gap:6px;min-height:44px}
.edit-me .i,.eb .i,.ed-foot .i{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vertical-align:-3px;margin-right:4px}
.cb-trytag{font-size:11.5px;font-weight:700;color:var(--amber);background:var(--amber-bg);border-radius:var(--radius-pill);padding:3px 10px}
.eb{position:sticky;top:118px;z-index:4;background:var(--card);border:2px solid var(--navy);border-radius:var(--radius);padding:10px 12px;margin:0 0 12px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;box-shadow:0 4px 14px var(--eb-shadow)}
.eb-t{flex:1 1 180px;min-width:0}
.eb-t b{display:block;font-size:16px}
.eb-t small{display:block;font-size:12.5px;color:var(--muted);line-height:1.35}
.eb-t small.eb-try{color:var(--amber);font-weight:600;margin-top:2px}
.eb .btn{min-height:44px;display:inline-flex;align-items:center}
.cb-editing .fold-all{display:none}
.edl{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.edr{display:flex;align-items:stretch;gap:4px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:4px 4px 4px 0;min-height:56px;min-width:0;touch-action:pan-y}
.edr.lift{border:2px dashed var(--navy);box-shadow:0 10px 24px var(--lift-shadow);opacity:.96}
.edr.slot{border:2px dashed var(--line);background:transparent;justify-content:center;align-items:center;color:var(--faint);font-size:13px}
.edr.off{background:var(--soft)}
.edr.off .ed-b{opacity:.6}
.edr.new{border:2px solid var(--amber);box-shadow:0 0 0 3px var(--amber-bg)}
.ed-h,.ed-eye{flex:none;width:44px;min-height:44px;border:0;background:none;color:var(--muted);display:flex;align-items:center;justify-content:center;border-radius:var(--radius-10);padding:0}
.ed-h{cursor:grab;touch-action:none}
.ed-h:active{cursor:grabbing}
.ed-eye{cursor:pointer}
.ed-lk{cursor:default}
.ed-h svg,.ed-eye svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ed-h svg circle{fill:currentColor;stroke:none}
.ed-b{flex:1;min-width:0;padding:8px 4px;display:flex;flex-direction:column;gap:3px;justify-content:center;overflow:hidden}
.ed-b .fold-t{font-size:12.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}
.ed-b .fold-s{font-size:13px;display:flex;flex-wrap:wrap;gap:2px 12px}
.ed-b .fold-s b{font-size:17px}
.ed-b .fs-i{white-space:normal;overflow-wrap:anywhere}
.ed-b .fold-s .info,.ed-b .fold-s .chev{display:none}
.ed-sub{font-size:12px;color:var(--muted)}
.ed-new{font-size:12px;font-weight:700;color:var(--amber)}
.ed-mv{position:absolute;left:52px;bottom:4px;font-size:12px;color:var(--muted)}
.ed-lock{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:700;color:var(--amber);background:var(--amber-bg);border-radius:var(--radius-6);padding:3px 8px;align-self:flex-start;line-height:1.3}
.ed-lock svg{width:13px;height:13px;flex:none;fill:none;stroke:currentColor;stroke-width:2.2}
.ed-goals{margin:6px 0 2px;min-width:0}
.ed-goals .hero{margin:0}
.ed-goals .hero .gt{flex-basis:84%}
.gt-lock{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;color:var(--ink-orange-200);font-weight:700;margin-top:4px}
.gt-lock svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.2}
.ed-foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin:14px 0 0}
.ed-foot .btn{display:inline-flex;align-items:center}
.ed-foot .cb-reset{color:var(--red);margin-left:auto}
.cb-off{color:var(--amber);font-weight:600}
/* the picker */
.cb-pk-open{overflow:hidden}
#cb-pk .scrim{position:fixed;inset:0;background:var(--bg-blue-800-a45);z-index:60}
.pk{position:fixed;left:0;right:0;bottom:0;z-index:61;background:var(--card);color:var(--ink);border-radius:var(--radius-x-2);max-height:88vh;overflow:hidden;display:flex;flex-direction:column;max-width:560px;margin:0 auto}
@media (min-width:860px){.pk{top:50%;bottom:auto;transform:translateY(-50%);border-radius:var(--radius-18);max-height:88vh}}
.pk-h{padding:16px 18px 8px;border-bottom:1px solid var(--line);position:relative}
.pk-h h2{margin:0;font-size:18px;padding-right:48px}
.pk-x{position:absolute;right:12px;top:10px;width:44px;height:44px;border:0;border-radius:var(--radius-pill-2);background:var(--soft);color:var(--ink);font-size:22px;cursor:pointer}
.pk-steps{display:flex;gap:4px;margin:8px 0 2px}
.pk-steps i{flex:1;height:4px;border-radius:var(--radius-2);background:var(--line)}
.pk-steps i.on{background:var(--navy)}
.pk-stepl{font-size:12px;color:var(--muted)}
.pk-b{padding:6px 18px 12px;overflow:auto;-webkit-overflow-scrolling:touch}
.pk-g{font-size:12px;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);margin:14px 0 6px;display:flex;align-items:center;gap:6px}
.pk-g img{width:18px;height:18px;object-fit:contain;background:var(--ink-white-50);border-radius:var(--radius-4)}
.pk-l{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:var(--radius-12);overflow:hidden}
.pk-i{display:flex;align-items:center;gap:10px;min-height:56px;padding:8px 12px;border-bottom:1px solid var(--line);background:var(--card);cursor:pointer}
.pk-i:last-child{border-bottom:0}
.pk-i.dis{background:var(--soft);cursor:default}
.pk-i.dis .pk-n{color:var(--faint)}
.pk-i.sel{box-shadow:inset 4px 0 0 var(--navy)}
.pk-a{flex:1;min-width:0}
.pk-n{display:block;font-weight:700;font-size:15px}
.pk-d{display:block;font-size:12.5px;color:var(--muted);line-height:1.35;overflow-wrap:anywhere}
.who{flex:none;font-size:11px;font-weight:700;border-radius:var(--radius-pill);padding:2px 8px;white-space:nowrap;max-width:46%;overflow:hidden;text-overflow:ellipsis}
.who.all{background:var(--green-bg);color:var(--green)}
.who.adm{background:var(--adm-bg);color:var(--adm-ink)}
.who.few{background:var(--amber-bg);color:var(--amber)}
.who.no{background:var(--soft);color:var(--faint);border:1px dashed var(--line)}
.pk-never{font-size:12.5px;color:var(--muted);margin:12px 0 0;padding:10px 12px;border-radius:var(--radius-10);background:var(--cream)}
.pk-sum{font-size:14px;color:var(--muted);margin:10px 0 0}
.pk-sum b{color:var(--ink)}
.pk-which{display:block;margin:10px 0 0;font-size:13px;color:var(--muted)}
.pk-which select{display:block;width:100%;min-height:44px;margin-top:4px}
.pk-f{display:flex;gap:8px;justify-content:flex-end;padding:12px 18px calc(12px + var(--safe-b));border-top:1px solid var(--line)}
.pk-f .btn[disabled]{opacity:.45}
.dc{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
@media (min-width:860px){.dc{grid-template-columns:repeat(3,minmax(0,1fr))}}
.dc-o{display:flex;flex-direction:column;gap:4px;min-height:96px;border:1px solid var(--line);border-radius:var(--radius-12);padding:10px;background:var(--card);color:var(--ink);text-align:left;cursor:pointer;font:inherit}
.dc-o svg{width:44px;height:28px}
.dc-o b{font-size:15px}
.dc-o small{font-size:12px;color:var(--muted);line-height:1.3}
.dc-o.on{border:2px solid var(--navy);box-shadow:0 0 0 2px var(--navy) inset}
.dc-o.dis{background:var(--soft);border-style:dashed;cursor:default}
.dc-o.dis b{color:var(--faint)}
.dc-o.dis small{color:var(--red)}
.pr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.pr button{min-height:44px;border:1px solid var(--line);border-radius:var(--radius-10);background:var(--card);font-weight:700;color:var(--ink);font-size:14px;cursor:pointer}
.pr button.on{background:var(--navy);border-color:var(--navy);color:var(--ink-white-50)}
.pr button.dis{background:var(--soft);color:var(--faint);border-style:dashed;cursor:default}
.pr-why{font-size:12px;color:var(--muted);margin:6px 0 0;line-height:1.4}
.pr-why b{color:var(--red);font-weight:700}
/* tiles */
.ct-head{display:flex;flex-direction:column;gap:2px;margin:14px 2px 0}
.ct-head .fold-t{font-size:12.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}
.ct-head .fold-s{font-size:14px}
.cts{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:8px 0 12px}
@media (min-width:720px){.cts{grid-template-columns:repeat(3,minmax(0,1fr))}}
.ct{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:12px 14px;display:flex;flex-direction:column;gap:4px;min-width:0;overflow:hidden}
.ct-h{display:flex;align-items:center;gap:8px}
.ct-t{font-size:14px;font-weight:700;flex:1;min-width:0}
.ct-p{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);border:1px solid var(--line);border-radius:var(--radius-pill);padding:1px 8px;white-space:nowrap}
.ct-big{font-size:28px;font-weight:800;line-height:1.15;overflow-wrap:anywhere}
.ct-sub{font-size:13px;color:var(--muted)}
.ct-none{color:var(--amber)}
.ct svg.ch{width:100%;height:auto;display:block;margin:6px 0 2px;overflow:visible}
.ct-src{font-size:11.5px;color:var(--faint);line-height:1.4}
.ct-src .age{margin-left:0;font-size:11.5px}
.ct-mine{font-size:11px;color:var(--muted)}
.hb{display:grid;gap:6px;margin:6px 0 2px}
.hb-r{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"k v" "t t";gap:2px 8px;font-size:12.5px;align-items:center}
.hb-k{grid-area:k;color:var(--muted);overflow-wrap:anywhere}
.hb-r b{grid-area:v}
.hb-t{grid-area:t;height:10px;background:var(--soft);border-radius:var(--radius-5);overflow:hidden}
.hb-t i{display:block;height:100%;background:var(--hb-t-bg);border-radius:var(--radius-5)}
.pc-t{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-top:4px}
.pc-b{height:12px;background:var(--soft);border-radius:var(--radius-6);overflow:hidden}
.pc-b i{display:block;height:100%;background:var(--navy);border-radius:var(--radius-6)}
.lg{list-style:none;margin:4px 0 0;padding:0;display:grid;gap:3px;font-size:12.5px;min-width:0}
.lg li{display:flex;align-items:center;gap:6px;min-width:0}
.lg i{width:10px;height:10px;border-radius:var(--radius-3);flex:none}
.lg span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}
.lg b{font-weight:700}
.lg small{flex:none;color:var(--faint)}
.pie-w{display:flex;gap:12px;align-items:center;min-width:0}
.pie-w svg{width:118px;flex:none}
.pie-w .lg{flex:1;min-width:0}
.pie-c{font-size:18px;font-weight:800;fill:var(--ink)}
.c-lbl{font-size:11px;fill:var(--muted)}
.c-val{font-size:12px;font-weight:700;fill:var(--ink)}
/* Drew's sections */
.x-per .x-off{background:var(--soft);border:1px dashed var(--line)}
.x-per .x-off b{color:var(--faint)}
.x-per .x-off small:last-child{color:var(--red)}
.x-off-row{font-size:13px;color:var(--muted);background:var(--soft);border:1px dashed var(--line);border-radius:var(--radius-10);padding:8px 10px;margin:8px 0}
.x-off-row b{color:var(--red)}
.x-src{margin:6px 0 0}
/* conflicts.md #15 (seen in the 390 render of this build, and on live): a long lead-source name in the folded "Leads by source"
   summary was wider than a phone. That one summary may wrap; every other summary keeps its one line. */
section.fold[data-fid="sources"] .fold-s .fs-i{white-space:normal;overflow-wrap:anywhere}
.fold-s{min-width:0;max-width:100%}
@media (min-width:860px){.eb{position:static}}
.edl{-webkit-user-select:none;user-select:none}
.ct-src .age-w{display:inline-flex;flex-wrap:wrap;gap:0 8px}
/* The test copy (preview alias "custom"): where a button would reach someone outside the board. */
.tc-off{margin:0 0 8px;padding:6px 10px;border-radius:var(--radius-8);background:var(--amber-bg);color:var(--amber);font-size:12.5px;font-weight:600;line-height:1.35}

/* The new-job alert radius on the offer sheet (13 Nov, src/scout-radius.js). */
.rad-line{margin:4px 0 10px}
.rad-head{margin:6px 0;font-size:15px}
.rad-warn{background:var(--amber-bg);color:var(--ink);border-left:4px solid var(--amber);border-radius:var(--radius-8);padding:10px 12px;margin:8px 0;font-size:14px}
.rad-warn small{display:block;margin-top:6px;color:var(--muted)}
.rad-widen{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 2px}
.rad-list li{padding:6px 0}
.rad-list .amb{color:var(--amber)}

/* Drew's sources (Team board 7, 13 Nov; src/drew-sources.js): each tile names its sheet and its "as of". */
.ds{margin:14px 0}
.ds-h{font-size:18px;margin:0 0 4px;color:var(--ink)}
.ds-h small{font-size:13px;font-weight:400;color:var(--muted)}
.ds-g{font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin:14px 0 6px;font-weight:700}
.ds-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px}
.ds-t{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:12px 14px;min-width:0;display:flex;flex-direction:column;gap:6px}
.ds-t.ds-w{grid-column:1/-1}
.ds-t.ds-off{border-style:dashed}
.ds-t h3{font-size:15px;margin:0;color:var(--ink)}
.ds-v{font-size:26px;font-weight:800;color:var(--ink);line-height:1.15;font-variant-numeric:tabular-nums}
.ds-v small{font-size:13px;font-weight:500;color:var(--muted)}
.ds-l{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.ds-l li{display:grid;grid-template-columns:1fr auto;column-gap:10px;align-items:baseline;font-size:14px;padding:3px 0;border-top:1px solid var(--soft)}
.ds-l li span{color:var(--muted)}
.ds-l li b{font-variant-numeric:tabular-nums;color:var(--ink)}
.ds-l li small{grid-column:1/-1;color:var(--faint);font-size:12px}
.ds-l.ds-s li{font-size:13px}
.ds-note,.ds-src,.ds-wait,.ds-bad{margin:0;font-size:12.5px;color:var(--muted);line-height:1.4}
.ds-src{margin-top:auto;padding-top:6px;border-top:1px solid var(--soft);color:var(--faint)}
.ds-src b{color:var(--muted);font-weight:600}
/* The hub (step A): the Hub_Status line under each tile, and the per-source strip at the top of the hub block. */
.ds-hub{display:inline-block;margin-top:2px;font-size:11.5px;overflow-wrap:anywhere}
.hub-st{margin:0 0 14px;padding:10px 12px;border:1px solid var(--soft);border-radius:var(--radius-10);background:var(--card,transparent)}
.hub-st .ds-l li small{overflow-wrap:anywhere}
.ds-wait{color:var(--amber);background:var(--amber-bg);padding:6px 8px;border-radius:var(--radius-8)}
.ds-bad{color:var(--red);background:var(--red-bg);padding:6px 8px;border-radius:var(--radius-8)}
.ds-blank{color:var(--faint)}
.ds-bar{height:8px;background:var(--soft);border-radius:var(--radius-4);overflow:hidden}
.ds-bar i{display:block;height:100%;background:var(--navy-2)}
.ds-x{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}
.ds-tb{border-collapse:collapse;width:100%;font-size:13px;font-variant-numeric:tabular-nums}
.ds-tb th,.ds-tb td{padding:5px 8px;text-align:right;border-bottom:1px solid var(--soft);white-space:nowrap}
.ds-tb thead th{color:var(--muted);font-weight:600;font-size:12px}
.ds-tb th[scope="row"],.ds-tb .ds-lt,.ds-tb thead th:first-child{text-align:left}
.ds-tb thead th[scope="colgroup"]{text-align:center;border-bottom:1px solid var(--line)}
.ds-tb th[scope="row"]{position:sticky;left:0;background:var(--card);color:var(--ink);font-weight:600}
.ds-tb tr.ds-tot th,.ds-tb tr.ds-tot td{font-weight:700;border-top:1px solid var(--line)}
.ds-more summary{cursor:pointer;font-size:13px;color:var(--link,var(--navy));min-height:var(--tap);display:flex;align-items:center}
.ds-t.ds-w>.ds-t{border:0;padding:0;border-radius:0}
.ds-t.ds-w>.ds-t+.ds-t{border-top:1px solid var(--line);padding-top:12px;margin-top:6px}
.ds-nt{color:var(--amber);font-size:12px;font-weight:600;white-space:nowrap}
.ds-diff{display:inline-block;margin-left:5px;padding:0 5px;border-radius:var(--radius-6);background:var(--red-bg);color:var(--red);font-size:11.5px;font-weight:700}
.ds-same{margin-left:5px;color:var(--green);font-size:12px;font-weight:700}
.ds-sd{display:block;color:var(--faint);font-size:11px;font-weight:400}
.ds-side td{vertical-align:top}
.ds-two{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:2px 0 4px}
.ds-one{display:flex;flex-direction:column;gap:1px;padding:8px 10px;border:1px solid var(--line);border-radius:var(--radius-10);min-width:0}
.ds-one-l{font-size:12px;font-weight:700;color:var(--muted);text-transform:none}
.ds-one-v{font-size:24px;font-weight:800;color:var(--ink);font-variant-numeric:tabular-nums;line-height:1.15}
.ds-one-p{font-size:13px;color:var(--ink)}
.ds-one small{font-size:11px;color:var(--faint);line-height:1.3}
.ds-two.in-goal{margin:6px 0 8px}
.hero .ds-two.in-goal .ds-one{border-color:var(--ds-one-line)}
.hero .ds-two.in-goal .ds-one-l{color:var(--ink-blue-200)}
.hero .ds-two.in-goal .ds-one-v{color:var(--ink-white-50);font-size:28px}
.hero .ds-two.in-goal .ds-one-p{color:var(--ink-white-50)}
.hero .ds-two.in-goal small{color:var(--ink-blue-300)}
.hero .ds-two.in-goal .rtxt{color:var(--ink-red-100)!important}

/* Monday typing (src/monday-typed.js): name + source on the left, the number, then the input; wraps under on a phone. */
.mt-p+.mt-p{margin-top:10px}
.mt-list li.mt-row{display:grid;grid-template-columns:1fr auto 84px;gap:8px;align-items:center}
.mt-name{min-width:0;overflow-wrap:anywhere}
.mt-val{text-align:right;white-space:nowrap}
.mt-in{width:84px;min-height:var(--tap);text-align:right;font-variant-numeric:tabular-nums}
.mt-none{display:block}
@media (max-width:420px){.mt-list li.mt-row{grid-template-columns:1fr auto 72px}.mt-in{width:72px}}
.mon-red .red-in{margin-left:6px;vertical-align:middle}
@media (max-width:420px){.mon-red .red-in{width:64px}}

/* Bars in Drew's sources (squares only, 16 Nov): name, bar, value. */
.ds-bars{display:grid;gap:4px;margin:4px 0}
.dsb{display:grid;grid-template-columns:minmax(64px,34%) 1fr auto;gap:8px;align-items:center;font-size:12.5px}
.dsb-l{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dsb-t{height:10px;background:var(--soft);border-radius:var(--radius-5);overflow:hidden}
.dsb-t i{display:block;height:100%;background:var(--navy-2);border-radius:var(--radius-5)}
.dsb-v{font-variant-numeric:tabular-nums;color:var(--ink)}
.gq-per{display:flex;align-items:center;gap:8px;margin:0 0 8px}.gq-per small{color:var(--muted)}
.gq-ds{margin:0}.gq-ds .ds-t{border:0;padding:0;background:none}
.gq-fixed{display:inline-block;width:20px}
.gq-num .mb{border:0;padding:0;margin:0;background:none;box-shadow:none}
.gq-num .mb .entry{display:none}
.gq .ds-two.in-goal{gap:6px;margin:4px 0}.gq .ds-two.in-goal .ds-one{padding:6px 8px}.gq .ds-two.in-goal .ds-one-v{font-size:21px}.gq .ds-two.in-goal small{font-size:10.5px}
.gq-num .mb-h h3{font-size:15px}.gq-num .mb-big{margin:2px 0}.gq-num .big-v{font-size:30px}.gq-num .mb-stats{font-size:11.5px;gap:8px}
.gq-num .chart{max-height:64px;margin:4px 0 0}

/* Kaitlin's Mine game (16 Nov preview): three cards in a row, wrapping on a phone; the board's own card look. */
.gk-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}
.gk{display:flex;flex-direction:column;gap:6px}
.gk-big{font-size:28px;font-weight:800;color:var(--ink);line-height:1.1}
.gk-wk{display:flex;align-items:flex-end;gap:4px;height:44px;margin-top:4px}
.gk-wk i{flex:1;background:var(--navy-2);border-radius:var(--radius-x-4);min-width:6px}
.gk-wk i.run{opacity:.45}
:root[data-theme="dark"] .gk-wk i{background:var(--gk-wk-bg)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .gk-wk i{background:var(--gk-wk-bg)}}
.gm-mine .gc-wins,.gm-mine .gc-more,.gm-mine .gc-how{margin-top:10px}
/* 16 Nov: "Edit this number" / "Change goal" are in the › sheet (the full section); a number square shows the number only. */
.gq-num [data-define],.gq-num [data-mgoal]{display:none}
/* A review that came in (16 Nov): the row reads as finished. */
.rv.rv-done{opacity:.85}.rv.rv-done .rv-h b{color:var(--muted)}
.rv-got a{color:inherit;text-decoration:underline}
/* 17 Nov (her go, release/rep-kpi-scroll): no sideways page scroll on a phone. A wide table scrolls inside its own tile:
   the market halves' grid track and Drew's sources tiles never grow to a table's width (a grid item's min-width is its
   content unless told otherwise). Desktop's two halves side by side are untouched (that rule is ≥1100 px). */
@media (max-width:1099px){ .halves{grid-template-columns:minmax(0,1fr)} .halves > *{min-width:0} }
.ds-grid{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))}
.ds-grid > *,.ds-t{min-width:0;max-width:100%}
/* Pass-offs with the hub on (Drew 18 Nov): the system's column and the typed column side by side in one table, each headed by its label. */
.ds-tb.ds-pair{table-layout:fixed;width:100%;min-width:0}.ds-pair th,.ds-pair td{text-align:left;white-space:normal;overflow-wrap:anywhere;vertical-align:top}
.ds-pair td small{display:block}.ds-pair th[scope="row"]{width:16%}
.ds-x{max-width:100%;overflow-x:auto}

.ev-top{margin-bottom:8px}.ev-t{font-size:28px;margin-right:4px}.ev-l{border-top:1px solid var(--line);padding:6px 0}.ev-l summary{display:flex;justify-content:space-between;gap:8px;cursor:pointer;list-style:none}.ev-l summary::-webkit-details-marker{display:none}.ev-i{margin:4px 0 2px 16px;padding:0}.ev-i li{margin:2px 0}.ev-n{display:block;color:var(--muted);font-size:12px}
/* The two deal tables (17 Nov): one deal per row; the table scrolls sideways inside its card on a phone, never the page. */
/* the deal-board market switch (18 Nov): its own line, filled when chosen, 44px tap height; three pills, not full width at desktop */
.db-mk{margin:0 0 10px}.db-mk button{min-height:var(--tap)}
/* Department tabs (DEPT_TABS_LIVE): the deal board's pills, one row, 44px tall; four fit a 390 phone. */
.dept-tabs{margin:10px 0 12px}.dept-tabs button{min-height:var(--tap);min-width:0;padding:0 6px;white-space:nowrap}
@media(max-width:420px){.dept-tabs button{font-size:13px;padding:0 2px}}
@media(min-width:900px){.dept-tabs button{flex:0 0 150px}}
.dept-cal{margin:0 0 12px}
@media(min-width:900px){.db-mk button{flex:0 0 120px}}
.db-top{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin-bottom:6px}
.db-leg{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:13px}.db-leg span{display:inline-flex;align-items:center;gap:5px}
.db-dot{display:inline-block;width:11px;height:11px;border-radius:var(--radius-pill-2);vertical-align:middle;margin-right:4px}
.db-h{margin:14px 0 6px;font-size:16px}.db-h small{font-weight:400;color:var(--muted)}
.db-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%;border:1px solid var(--line);border-radius:var(--radius-10)}
.db-t{min-width:980px;width:100%;font-size:13px}.db-t th,.db-t td{white-space:nowrap;vertical-align:top}
.db-t td small{display:block;color:var(--muted)}.db-t .num{text-align:right}.db-t .db-notes{white-space:normal;min-width:240px;width:32%}
.db-t .db-f{width:1%;white-space:normal;min-width:20px}.db-t .db-c{white-space:normal;min-width:150px}
.db-ctl{display:flex;flex-direction:column;gap:2px;align-items:flex-start}
.db-pri td:first-child{box-shadow:inset 3px 0 0 var(--red)}.db-star{color:var(--red)}
.db-rn td{color:var(--red);font-style:italic;white-space:normal;padding-top:0}
.db-t tfoot td{font-weight:700;border-top:2px solid var(--line)}.db-na{color:var(--faint,var(--db-na-ink))}
.db-t th,.db-t td{text-align:left}.db-t th.num,.db-t td.num{text-align:right}
.db-cn{font-size:12px;font-weight:600;margin-left:8px;color:var(--muted)}
.db-tf{display:inline-block;font-weight:800;font-size:11px;border:1px solid currentColor;border-radius:var(--radius-3);padding:0 3px;margin-right:4px;text-decoration:none;cursor:help}
/* The deal tables are NOT .tbl (which stacks rows into cards on a phone): a real table that scrolls sideways in its card. */
.db-t{border-collapse:collapse}.db-t th{font-size:12px;color:var(--muted);font-weight:600;padding:8px;border-bottom:1px solid var(--line)}
.db-t td{padding:8px;border-bottom:1px solid var(--line)}.db-t tfoot td{border-bottom:0}
/* 18 Nov, tighter rows at desktop: one line per deal (town beside the street, the buttons side by side). The old
   four-column board's .db-c card rule (display:flex, border, padding 10px) was dropped above: it boxed every table's control cell. */
@media(min-width:900px){.db-t th,.db-t td{padding:4px 8px}.db-t td small.db-town{display:inline;margin-left:6px}
.db-t .db-c{min-width:0}.db-ctl{flex-direction:row;flex-wrap:nowrap;gap:10px;white-space:nowrap}.db-t td,.db-t th{line-height:1.3;vertical-align:middle}}
/* a mouse only: the row's buttons drop the 28-44px tap height; a touch screen keeps it */
@media(min-width:900px) and (hover:hover) and (pointer:fine){.db-ctl .link-btn.sm{min-height:22px;margin:0;align-self:center}}

/* Deal calendar (17 Nov) */
.dc-top{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}.dc-top h2{margin:0;flex:1 1 auto}
.dc-leg{display:flex;flex-wrap:wrap;gap:6px 16px;margin:10px 0 4px;font-size:13px}.dc-leg span{display:inline-flex;align-items:center;gap:6px}
.dc-dot{display:inline-block;width:10px;height:10px;border-radius:var(--radius-3);flex:none}.dc-emd{--dc:var(--dc-emd-color)}.dc-inspection{--dc:var(--dc-inspection-color)}.dc-close{--dc:var(--dc-close-color)}.dc-dot{background:var(--dc)}
.dc-sum{font-size:13px;color:var(--muted);margin:4px 0 10px}
.dc-mh{display:flex;align-items:center;gap:10px;margin-bottom:6px}.dc-mh h3{margin:0;font-size:16px;min-width:9em;text-align:center}
.dc-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.dc-h{font-size:11px;color:var(--muted);text-align:center;padding:2px 0}
.dc-c{min-height:84px;border:1px solid var(--line);border-radius:var(--radius-8);padding:4px;display:flex;flex-direction:column;gap:3px;min-width:0}.dc-out{border:0}
.dc-today{outline:2px solid var(--link,var(--bg-blue-300));outline-offset:-1px}.dc-n{font-size:11px;color:var(--muted)}
.dc-ev{display:block;font-size:11px;line-height:1.25;padding:2px 4px;border-radius:var(--radius-4);background:color-mix(in srgb,var(--dc) 22%,transparent);border-left:3px solid var(--dc);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:600px){.dc-c{min-height:56px;padding:2px}.dc-ev{font-size:0;height:6px;padding:0;border-left:0;background:var(--dc)}.dc-n{font-size:10px}}
.dc-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}@media(min-width:900px){.dc-list{grid-template-columns:repeat(2,1fr)}}
.dc-deal{border:1px solid var(--line);border-radius:var(--radius-10);padding:10px;display:flex;flex-direction:column;gap:2px}.dc-deal small{color:var(--muted)}
.dc-evs{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:4px;font-size:13px}.dc-evs li{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}.dc-evs li>span:first-of-type{min-width:8.5em}
.dc-none{color:var(--muted);font-style:italic}
.card.dc{display:block}.dc-grid{margin-bottom:8px}@media(max-width:600px){.dc-mh h3{min-width:0;flex:1}}
.dc-phone{display:none}@media(max-width:600px){.dc-phone{display:block}}
.dc-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin-bottom:8px}
.dc-wd{border:1px solid var(--line);border-radius:var(--radius-8);padding:6px;min-height:120px;display:flex;flex-direction:column;gap:5px;min-width:0}.dc-wh{font-size:12px;color:var(--muted)}.dc-wh b{color:var(--text,inherit)}
.dc-wev{border-left:3px solid var(--dc);background:color-mix(in srgb,var(--dc) 18%,transparent);border-radius:var(--radius-5);padding:4px 6px;display:flex;flex-direction:column;font-size:12px;min-width:0}
.dc-wev span{font-size:11px;color:var(--muted)}.dc-wev b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dc-wev small{color:var(--muted)}
@media(max-width:600px){.dc-week{grid-template-columns:1fr}.dc-wd{min-height:0;flex-direction:row;flex-wrap:wrap;align-items:flex-start}.dc-wh{flex:0 0 100%}.dc-wev{flex:1 1 140px}}
/* Hub on (Drew 18 Nov): the deal list total's "projected (Deal Database)" label, small under the figure. */
.deals-t small.deals-pj{display:block;font-size:12px;font-weight:500;color:var(--muted);line-height:1.3;text-align:right}
/* The Level 10 run from the board (release/l10-v2, 19 Nov): only drawn with the switch on. Board colours; the clock turns the
   board's usual red once a section runs over (her 9 Nov ruling for the meeting timer). */
.v2-strip{margin:0 0 12px;box-shadow:0 4px 14px var(--v2-strip-shadow)}
@media (min-width:700px){.v2-strip{position:sticky;top:118px;z-index:4}}
.v2-steps{display:flex;gap:4px;flex-wrap:wrap;margin:10px 0 0}
.v2-steps button{flex:1 1 auto;min-height:36px;border:1px solid var(--line);background:var(--card);color:var(--muted);border-radius:var(--radius-8);font:600 13px var(--font);padding:0 8px;cursor:pointer}
.v2-steps button.past{color:var(--ink)}
.v2-steps button[aria-pressed="true"]{background:var(--navy);border-color:var(--navy);color:var(--ink-white-50)}
.v2-h{margin:16px 0 2px;font-size:24px}.v2-how{margin:0 0 12px;font-size:15px}
.v2-add{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin:6px 0}
.v2-add input.cin{flex:1 1 220px;min-height:var(--tap);font-size:15px}
.v2-add select.cin{flex:0 0 auto;width:auto;min-height:var(--tap);font-size:15px}
.v2-add .btn{min-height:var(--tap)}
input.v2-in{width:96px;min-width:72px;flex:0 0 auto;font-size:22px;font-weight:700;min-height:var(--tap);padding:4px 8px}
input.v2-in.rtxt{color:var(--red);border-color:var(--red)}input.v2-in.gtxt{color:var(--green)}
.v2-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.chip.v2-on{background:var(--green-bg);color:var(--green);border-color:transparent;font-weight:700;cursor:pointer;min-height:32px;font-size:13px}
.btn.v2-to{min-height:36px}
select.v2-ts{width:auto;min-width:0;flex:0 0 auto;font-size:13px;font-weight:700;min-height:36px}
.l10-t.done select.v2-ts{background:var(--green-bg);color:var(--green)}.l10-t.notdone select.v2-ts{background:var(--red-bg);color:var(--red)}
.l10-t > span{flex:1;min-width:0}
.v2-pa{display:flex;gap:6px;flex:0 0 auto!important;flex-wrap:wrap}
.v2-lab{display:block;font-size:13px;color:var(--muted);margin:8px 0}.v2-lab textarea{display:block;margin-top:4px;font-size:15px;min-height:64px}
.v2-open{padding:10px 12px}.v2-ih{margin:0 0 6px;font-size:15px;font-weight:600}
.v2-pk{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:var(--radius-pill-2);background:var(--navy);color:var(--ink-white-50);font-size:13px}
.v2-iacts{margin-top:6px}
.v2-more{margin:8px 0}.v2-more summary{cursor:pointer;min-height:var(--tap);display:flex;align-items:center;font-size:14px;color:var(--muted)}
.v2-chips{flex-wrap:wrap}.v2-chips button{flex:1 1 90px}
.v2-mine{margin-top:10px}.v2-mine h3{margin:0 0 2px}
.v2-here{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 10px}
.v2-chk{display:inline-flex;align-items:center;gap:8px;min-height:var(--tap);padding:0 14px;border:1px solid var(--line);border-radius:var(--radius-10);background:var(--card);font-weight:600;cursor:pointer}
.v2-chk input{width:20px;height:20px}
.v2-att{overflow-x:auto;margin:8px 0}.v2-att table{border-collapse:collapse;font-size:13px}.v2-att th,.v2-att td{padding:4px 8px;border-bottom:1px solid var(--line);text-align:left}
.v2-order{margin:0;font-weight:600}
.v2-rates{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.v2-rate{display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius-10);padding:6px 10px;font-weight:600}
.v2-rate select{width:auto;min-width:64px;min-height:40px;font-size:15px}
.v2-pre{white-space:pre-wrap;margin:0 0 8px;font-size:14px;line-height:1.45}
.v2-pend{border:2px solid var(--navy);margin:0 0 12px}.v2-pend h3{margin:0 0 4px}
.v2-pi{flex-wrap:wrap}
.v2-next{margin-top:18px}
.v2-wait{margin:0 0 10px}
.v2-n{font-weight:400;color:var(--muted);font-size:14px;margin-left:6px}
@media (max-width:599px){.v2-pi .v2-pa{width:100%}.v2-pi{flex-direction:column}}
.v2-try{background:var(--amber-bg);color:var(--ink);border-radius:var(--radius-10);padding:8px 12px;margin:0 0 12px}
/* 20 Nov, her whiteboards: on Dispo the two deal boards hang side by side like the office wall; stacked when the screen is narrow. */
.db-wall{display:grid;grid-template-columns:repeat(auto-fit,minmax(560px,1fr));gap:16px;align-items:start;margin-top:8px}
.db-board{border:2px solid var(--line);border-radius:var(--radius-14);padding:6px 12px 12px;background:var(--card,var(--ink-white-50));min-width:0}
.db-board .db-h{margin-top:8px}
.db-wall .db-t{min-width:0;font-size:12.5px}
.db-wall .db-t th,.db-wall .db-t td{white-space:normal}
.db-wall .db-t .db-notes{min-width:120px;width:auto}
.db-wall .db-t .db-c{min-width:96px}
@media (max-width:620px){.db-wall{grid-template-columns:1fr}.db-wall .db-t{min-width:760px}}
.db-wallnote{margin:4px 0 2px}
/* 20 Nov preview: the Monday tab's last three weeks (mtgNums3) — a name column and three dated week columns, newest first. */
.m3-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.m3{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.m3 th,.m3 td{padding:8px 6px;border-bottom:1px solid var(--line);vertical-align:top}
.m3 th{font-size:12px;font-weight:600;color:var(--muted);text-align:right;white-space:nowrap}
.m3 th small{display:block;font-weight:400}
.m3 .m3-n{text-align:left;min-width:120px}
.m3 td.m3-v{text-align:right;white-space:nowrap;width:22%}
.m3 .m3-in{display:block;margin:4px 0 0 auto;width:72px}
@media (max-width:420px){.m3{table-layout:fixed}.m3 th,.m3 td{padding:7px 3px}.m3 th.m3-n,.m3 td.m3-n{width:34%;min-width:0;font-size:14px;overflow-wrap:anywhere}.m3 td.m3-v,.m3 th.m3-v{width:22%;white-space:normal}.m3 th{font-size:11px}.m3 .m3-in{width:100%;max-width:64px;min-width:0;padding-left:4px;padding-right:4px}}
.db-ahead{white-space:normal}
/* 20 Nov preview: the Assigned board has 15 columns; side by side it hid most of them behind a scroll at 1280. Stacked, full
   width, until the screen is wide enough for both. */
@media (max-width:1699px){.db-wall.db-wall-v2{display:block}.db-wall.db-wall-v2 .db-board+.db-board{margin-top:18px}}

.m3-speed{margin:0 0 14px}.m3-sp{display:inline-block;margin:4px 14px 4px 0;font-variant-numeric:tabular-nums}.m3-sp b{font-size:18px}
/* 20 Nov: Crown's pipeline. Phone first: the columns swipe sideways, one and a bit on screen; a card is a big tap target. */
.cpl-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 10px}
.cpl-board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(78%,1fr);gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding-bottom:8px}
@media (min-width:760px){.cpl-board{grid-auto-columns:minmax(210px,1fr)}}
.cpl-col{scroll-snap-align:start;background:var(--soft);border:1px solid var(--line);border-radius:var(--radius-12);padding:10px;min-height:120px}
.cpl-col.cpl-over{outline:2px dashed var(--navy-2);outline-offset:-4px}
.cpl-h{font-size:13px;font-weight:700;margin:0 0 8px;display:flex;justify-content:space-between;align-items:center}
.cpl-n{background:var(--card);border:1px solid var(--line);border-radius:var(--radius-pill);padding:1px 8px;font-size:12px}
.cpl-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.cpl-c{background:var(--card);border:1px solid var(--line);border-radius:var(--radius-10);padding:9px 12px;min-height:48px;cursor:pointer;display:grid;gap:2px}
.cpl-c:focus-visible{outline:2px solid var(--navy-2);outline-offset:2px}
.cpl-c.cpl-dragging{opacity:.5}
.cpl-c b{font-size:15px;line-height:1.25}
.cpl-c small{color:var(--muted);font-size:12.5px}
.cpl-m{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-variant-numeric:tabular-nums}
.cpl-amt{font-weight:700}
.cpl-age{margin-left:auto;font-size:12px;color:var(--muted)}
.cpl-empty{color:var(--muted);font-size:13px;padding:6px 2px}
.cpl-lost{margin-top:10px}.cpl-lost summary{cursor:pointer;font-weight:600;min-height:44px;display:flex;align-items:center}
.cpl-move{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 12px}.cpl-move .btn{min-height:44px}
.cpl-hist li{display:flex;gap:8px}
.cpl-why{border:0;padding:0;margin:0 0 10px;display:grid;gap:6px}.cpl-why legend{font-weight:600;margin-bottom:4px}
.cpl-rb{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:var(--radius-10);background:var(--card)}
/* 20 Nov, her review of the whiteboards: cells edited in place, a one-tap colour dot, columns she picks, and boards that never
   hide a column behind a sideways scroll (narrow → each deal becomes a card, label beside value). */
.db-board{container-type:inline-size}
.db-tools{display:flex;justify-content:flex-end;margin:-4px 0 6px}
.db-t2 td.db-ed{cursor:pointer;position:relative}
.db-t2 td.db-ed:hover,.db-t2 td.db-ed:focus-visible{background:var(--db-ed-bg);outline:1px dashed var(--navy-2);outline-offset:-3px}
.db-add{color:var(--muted);font-style:italic;font-size:12px;border-bottom:1px dashed currentColor}
.db-t2 td.db-ed::after{content:'✎';font-size:11px;color:var(--muted);margin-left:4px;opacity:.55}
.db-in{width:100%;min-width:90px;min-height:36px}
.db-addr b{white-space:nowrap}
.db-dotbtn{background:none;border:0;padding:6px;margin:-6px 0 -6px -6px;min-width:36px;min-height:36px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.db-dot-none{background:transparent!important;border:2px dashed var(--muted)}
.db-pal{position:absolute;z-index:30;display:flex;gap:4px;padding:6px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius-12);box-shadow:0 6px 24px var(--shadow-black-900-a35)}
.db-pal button{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:56px;min-height:48px;padding:6px;border:1px solid var(--line);border-radius:var(--radius-10);background:var(--soft);color:var(--ink);cursor:pointer}
.db-pal small{font-size:11px;color:var(--muted)}
.db-f{position:relative}
.db-tot2{font-size:13px;color:var(--muted);margin:6px 2px 0}
@container (max-width: 1140px){
  .db-v2{overflow:visible}
  .db-t2,.db-t2 tbody,.db-t2 tr,.db-t2 td{display:block;width:100%;min-width:0!important;max-width:100%}
  .db-t2 thead{display:none}
  .db-t2 tr{border:1px solid var(--line);border-radius:var(--radius-12);padding:8px 10px;margin:0 0 10px;background:var(--card)}
  .db-t2 tr.db-rn{border:0;padding:0 10px;margin-top:-8px;background:none}
  .db-t2 td{display:flex;gap:10px;justify-content:space-between;align-items:baseline;border:0;padding:5px 0;text-align:right;min-height:32px}
  .db-t2 td[data-label]::before{content:attr(data-label);color:var(--muted);font-size:12.5px;text-align:left;flex:none}
  .db-t2 td[data-label=""]::before{content:none}
  .db-t2 td.db-addr{justify-content:flex-start;font-size:16px}
  .db-t2 td.db-f{justify-content:flex-start}
  .db-t2 td.db-c{justify-content:flex-start;border-top:1px solid var(--line);margin-top:4px;padding-top:8px}
  .db-t2 td.db-notes{text-align:right}
}
@container (max-width: 1140px){.db-t2 td.db-c .db-ctl{display:flex;flex-wrap:wrap;gap:18px}.db-t2 td.db-c .link-btn{min-height:40px}}
@container (max-width: 1140px){.db-add{white-space:nowrap}}
.db-est{display:inline-block;margin-top:2px;font-size:12px;color:var(--muted)}
.db-removed{margin:6px 0 10px}.db-removed small{color:var(--muted);margin-left:6px}.db-rm{color:var(--r,var(--db-rm-ink))}
@container (max-width: 1140px){.db-t2 td.db-c .db-ctl{display:flex!important;flex-direction:row;flex-wrap:wrap;gap:6px 22px;align-items:center}.db-t2 td.db-c .db-ctl .link-btn{min-height:44px;padding:0;margin:0}}
.sheet .cpl-rb,.cpl-rb{display:flex!important;flex-direction:row!important;align-items:center;gap:12px}.sheet .cpl-rb input[type="radio"],.cpl-rb input[type="radio"]{width:22px!important;height:22px;min-height:0;flex:none;margin:0;padding:0}
/* 20 Nov: with Remove added, three actions side by side pushed the Assigned board 32 px past its frame at 1280. In the table view
   the actions stack (Edit / Move / Remove), so the column is as wide as its widest single action. Cards keep them on one row. */
@container (min-width: 1141px){.db-t2 td.db-c .db-ctl{display:flex;flex-direction:column;align-items:flex-start;gap:2px;white-space:nowrap}.db-t2 td.db-c .link-btn{min-height:24px}}
/* 23 Nov: a coloured deal stays in its place and the whole row (or phone card) takes the colour; filter says so; Lost / dropped. */
.db-t2 tr.db-tint>td{background:var(--db-tint)}
.db-t2 tr.db-tint>td:first-child{box-shadow:inset 4px 0 0 var(--db-edge)}
.db-t2 tr.db-tint-red{--db-tint:var(--db-tint-red-color);--db-edge:var(--db-tint-red-color-2)}
.db-t2 tr.db-tint-yellow{--db-tint:var(--db-tint-yellow-color);--db-edge:var(--db-tint-yellow-color-2)}
.db-t2 tr.db-tint-blue{--db-tint:var(--db-tint-blue-color);--db-edge:var(--db-tint-blue-color-2)}
@container (max-width: 1140px){.db-t2 tr.db-tint{background:linear-gradient(var(--db-tint),var(--db-tint)),var(--card);box-shadow:inset 5px 0 0 var(--db-edge)}.db-t2 tr.db-tint>td{background:transparent}.db-t2 tr.db-tint>td:first-child{box-shadow:none}}
.db-colf{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}.db-colf>small{color:var(--muted)}
.db-filt{margin:8px 0;padding:8px 12px;border-radius:var(--radius-10);background:var(--amber-bg,var(--db-filt-bg));color:var(--ink);border:1px solid var(--line)}
.db-filt .link-btn{font-weight:700;min-height:32px}
.db-quick{display:none;margin:4px 0 8px;gap:6px;flex-wrap:wrap;align-items:center}.db-quick>small{color:var(--muted);width:100%}
.db-quick .chip{cursor:pointer;min-height:36px;font-size:13px;background:transparent;color:var(--ink)}
form:has(.db-kind input[value=lost]:checked) .db-quick-lost,form:has(.db-kind input[value=dropped]:checked) .db-quick-dropped{display:flex}
form:has(.db-kind input[value=closed]:checked) .db-req{display:none}
.db-kind .cpl-rb small{color:var(--muted)}
/* Her Buyers calling list (23 Nov). */
.buy-h{margin:12px 0 6px;font-size:16px}.buy-h small{font-weight:400;color:var(--muted)}
.buy-list{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:8px}@media(min-width:900px){.buy-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
.buy-c{border:1px solid var(--line);border-radius:var(--radius-12);padding:10px 12px;display:flex;flex-direction:column;gap:4px;min-width:0}
.buy-over{box-shadow:inset 4px 0 0 var(--red)}
.buy-top{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}.buy-top small{color:var(--muted)}.buy-due{margin-left:auto;font-size:13px}
.buy-bb{font-size:13px;overflow-wrap:anywhere}.buy-ct{font-size:14px;overflow-wrap:anywhere}.buy-ct a{min-height:32px;display:inline-flex;align-items:center}
.buy-ok{color:var(--muted)}.buy-ft{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;justify-content:space-between}.buy-ft small{color:var(--muted);flex:1 1 200px}
.buy-ft .btn{min-height:var(--tap,44px)}
.buy-t .buy-bbc{min-width:220px;white-space:normal}.buy-off td{opacity:.6}

/* Scouts' week (23 Nov) */
.sw{text-align:left;margin:4px 0 12px}.sw .ds-tb{margin:4px 0}

/* Her Buyers page (24 Nov). */
.buy-h2{margin:0 0 10px;font-size:20px}.bks{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:8px;margin-bottom:12px}
.bk{border:1px solid var(--line);border-radius:var(--radius-10);padding:8px 10px}.bk b{display:block;font-size:22px}.bk small{color:var(--muted)}
.bgrid{display:grid;gap:14px}@media(min-width:900px){.bgrid{grid-template-columns:1fr 1fr 1.4fr}}
.bwk{display:flex;align-items:flex-end;gap:6px;height:96px}.bwc{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:3px;min-width:0}
.bwb{width:100%;max-width:28px;background:var(--link,var(--bg-blue-300));border-radius:var(--radius-x-5);min-height:2px}.bwv{font-size:12px;font-weight:700}.bwl{font-size:11px;color:var(--muted)}
.bfl{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:10px 0}.bfl .seg{flex-wrap:wrap}.bchk{display:inline-flex;align-items:center;gap:8px;min-height:44px}
.bincl li{gap:10px;flex-wrap:wrap}.bbf{display:block;font-size:13px}.bbf small{color:var(--muted)}.buy-work{margin:10px 0}

/* Her buyer card (24 Nov). */
.buy-nm{background:none;border:0;padding:0;font:inherit;font-weight:700;color:var(--ink);text-decoration:none;text-underline-offset:3px;cursor:pointer;text-align:left;min-height:32px}.buy-nm:hover,.buy-nm:focus-visible{text-decoration:underline}
.bk-jump{text-align:left;cursor:pointer;background:transparent;color:inherit;font:inherit;border-color:var(--red,var(--ink-red-500))}.bk-jump small{color:var(--red,var(--ink-red-500))}
.bmiss-sum{font-size:13px;margin:4px 0 8px}
.bbox{margin:6px 0}.bbx{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:8px 0;border-bottom:1px solid var(--line)}
.bbx-l{flex:0 0 140px;color:var(--muted);font-size:13px}.bbx-v{flex:1 1 160px;overflow-wrap:anywhere}
.bbx-fill{flex:1 1 160px;text-align:left;min-height:44px;border:1px dashed var(--line);border-radius:var(--radius-10);background:transparent;color:inherit;font:inherit;padding:6px 10px;cursor:pointer}
.bbx-miss .bbx-fill{border-color:var(--red,var(--ink-red-500))}.bbx-miss .bbx-fill b{color:var(--red,var(--ink-red-500))}
.bbx-form{flex:1 1 100%;display:flex;gap:8px;align-items:center}.bbx-form .cin{flex:1;min-height:44px}
.bcd-ct{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:6px 0}.bcd-due{font-size:14px}

/* Buyers page (her word 24 Nov): names, phones and emails in the board's ink, not link blue or a dark button; underline on hover/focus only.
   Scoped to :root so the earlier a{} colour never wins in either theme. */
:root .buy-ph,:root .buy-em{color:var(--ink);font-weight:600;text-decoration:none;overflow-wrap:anywhere}
:root .buy-ph:hover,:root .buy-ph:focus-visible,:root .buy-em:hover,:root .buy-em:focus-visible{text-decoration:underline;text-underline-offset:3px}
:root .bcd-ct .buy-ph{font-size:18px;min-height:44px;display:inline-flex;align-items:center}
:root .bcd-ct .buy-em{font-size:15px;min-height:44px;display:inline-flex;align-items:center}
.bcd-k{color:var(--muted);font-size:13px}.bcd-ct .bcd-k+*{margin-right:10px}
.ds-mat{font-size:10px;color:var(--muted);font-weight:400;margin-left:4px}

/* Drew's board doc (23 Nov): the cross-check / typed-vs-REsimpli marker, small and never in place of a number. */
.dd-flag{display:inline-block;font-size:11px;font-weight:600;line-height:1.3;padding:1px 6px;border-radius:var(--radius-pill);border:1px solid var(--amber,var(--ink-orange-700));color:var(--amber,var(--ink-orange-700));background:var(--amber-bg,var(--bg-amber-100));vertical-align:middle;white-space:normal}
:root[data-theme="dark"] .dd-flag{color:var(--dd-flag-line);background:var(--dd-flag-bg);border-color:var(--dd-flag-line)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]):not([data-theme="dark"]) .dd-flag{color:var(--dd-flag-line);background:var(--dd-flag-bg);border-color:var(--dd-flag-line)}}
.dd-reg th{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:var(--muted);padding-top:10px}

/* Her buyer card, contact rows (24 Nov): edited on the board, the sheet's value one tap away. Bigger name targets (a tap needing two tries). */
.bcon{margin:4px 0 10px}.bcx .bbx-v .buy-ph{font-size:18px}
.bwas{font-size:12px;color:var(--muted);margin-top:2px}.bwas summary{cursor:pointer;min-height:32px;display:inline-flex;align-items:center}.bwas b{color:var(--ink)}
.bbx-hint{flex:1 1 100%;color:var(--muted);font-size:12px}
.buy-nm{min-height:44px}
/* Marketing by channel: the cross-check tag on its own line under the channel name; on a phone, one stacked block per channel. */
.dd-ch .dd-chn{display:block}.dd-ch .dd-flag{display:block;width:max-content;max-width:100%;margin-top:3px}
.dd-narrow{display:none}
@media (max-width:600px){.dd-wide{display:none}.dd-narrow{display:block}}
.dd-ml{list-style:none;margin:0 0 8px;padding:0}.dd-ml .dd-reg{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:var(--muted);padding:10px 0 2px}
.dd-mi{border-bottom:1px solid var(--line);padding:8px 0}.dd-mh{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-bottom:4px}.dd-mh .dd-flag{display:inline-block}
.dd-g{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 8px}.dd-g2{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:4px}
.dd-kv{display:flex;flex-direction:column;min-width:0;overflow-wrap:anywhere}.dd-kv small{color:var(--muted);font-size:11px}

/* Her Buyers map and place translation (24 Nov). */
.bm-map{height:340px}@media(min-width:900px){.bm-map{height:420px}}
.bm-st{display:flex;align-items:center;justify-content:center;background:transparent}.bm-st span{width:34px;height:34px;border-radius:var(--radius-pill-2);background:var(--bm-st-bg);color:var(--ink-white-50);border:2px solid var(--ink-white-50);box-shadow:0 0 0 1px var(--shadow-black-900-a35);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px}
.bm-pl,.bm-bl{list-style:none;margin:6px 0;padding:0}.bm-p summary{display:flex;gap:8px;align-items:flex-start;cursor:pointer;min-height:44px;padding:6px 0}.bm-n{min-width:28px;text-align:right}
.bm-bl li{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:flex-start;padding:8px 0;border-top:1px solid var(--line)}
.bm-cs{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.bm-c{font-size:12px;border:1px solid var(--line);border-radius:var(--radius-pill);padding:1px 8px;color:var(--ink)}
.bm-ok{border-color:var(--line-green-600)}.bm-miss{border-color:var(--red,var(--ink-red-500));color:var(--red,var(--ink-red-500))}.bm-ask{color:var(--muted)}.bm-info{color:var(--muted)}
.bm-pop-l{list-style:none;margin:6px 0 0;padding:0;font-size:13px}.bm-pop-l li{padding:5px 0;border-top:1px solid var(--bm-pop-l-line)}.bm-pop-l .bm-c{color:var(--ink-blue-700);border-color:var(--bm-c-line)}.bm-pop-l .bm-miss{color:var(--ink-red-500);border-color:var(--ink-red-500)}.b-pop .buy-ph{color:var(--ink-blue-700)}
.bm-sug{margin:8px 0;padding:8px 12px;border:1px solid var(--line);border-radius:var(--radius-10)}.bm-sug p{margin:4px 0}
.bpl{flex:1 1 100%;display:flex;flex-direction:column;gap:3px;font-size:13px;margin:2px 0 4px 150px}@media(max-width:600px){.bpl{margin-left:0}}
.bpl-tag{color:var(--muted)}.bpl-suggested{color:var(--bpl-suggested-ink)}.bpl-pending{color:var(--red,var(--ink-red-500))}.bpl-unk{color:var(--red,var(--ink-red-500))}.bpl-ask .link-btn{margin:0 4px}
/* Crown, typed by hand (24 Nov). */
.ct-list .ct-row{display:flex;align-items:center;gap:6px 12px}.ct-l{flex:1 1 auto;min-width:0}.ct-r{display:flex;align-items:center;gap:6px;flex:none;margin-left:auto}
.ct-per{color:var(--muted);font-weight:400}.ct-v{font-size:18px;white-space:nowrap;text-align:right}.ct-v small{display:block;font-size:12px;font-weight:400;color:var(--muted)}
.ct-pv{color:var(--muted);font-weight:600}.ct-btn{min-height:44px}
.gt-name .flag{flex:none;align-self:center;width:auto}
.bm-pl .bm-p > summary{display:flex!important;list-style:none}.bm-pl .bm-p > summary::-webkit-details-marker{display:none}
.bm-pl > li > details{flex:1 1 100%;width:100%;min-width:0}

/* Buyers portal panel (25 Nov). */
.bp{margin-top:14px}.bp-l li{gap:10px;flex-wrap:wrap}.bp-pre{white-space:pre-wrap;font:inherit;font-size:14px;background:var(--soft);border-radius:var(--radius-10);padding:10px 12px;margin:6px 0 10px;overflow-wrap:anywhere}
.bp-inv summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.bp-msg{margin:8px 0}
.bp-so{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:4px 0 10px}.bp-so small{color:var(--muted)}.bp-so select{min-height:44px}
.bcd-pv{margin:2px 0 8px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}.bcd-pv small{color:var(--muted)}
/* The marketing calendar (her words 25 Nov). Brand colours carry white text at 4.5:1 or better in both themes. */
.mc-elevate{--mc:var(--mc-elevate-color)}.mc-crown{--mc:var(--ink-orange-700)}.mc-bc{--mc:var(--mc-bc-color)}.mc-hmck{--mc:var(--mc-hmck-color)}.mc-acr{--mc:var(--mc-acr-color)}.mc-personal{--mc:var(--color-red-500)}.mc-sms{--mc:var(--mc-sms-color)}
.mc-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.mc-nav{display:flex;align-items:center;gap:4px}.mc-nav .link-btn{min-height:44px;min-width:44px;font-size:18px}.mc-nav .link-btn.sm{font-size:14px;min-width:0}
.mc-lbl{min-width:9em;text-align:center}
.mc-acc{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.mc-f{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:4px 10px;border:1px solid var(--line);border-radius:var(--radius-pill);background:transparent;color:var(--ink);font:inherit;font-size:13px;cursor:pointer;opacity:.55}
.mc-f.on{opacity:1;border-color:var(--ink)}
.mc-dot,.mc-chip{display:inline-flex;align-items:center;justify-content:center;background:var(--mc,var(--mc-dot-bg));color:var(--ink-white-50);font-weight:700;border-radius:var(--radius-5);flex:none}
.mc-dot{min-width:16px;height:16px;font-size:10px;padding:0 2px}
.mc-chip{width:26px;height:26px;font-size:13px}
.mc-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
.mc-wd{font-size:11px;color:var(--muted);text-align:center;padding:2px 0}
.mc-d{min-height:58px;border:1px solid var(--line);border-radius:var(--radius-8);background:transparent;color:var(--ink);font:inherit;padding:3px;display:flex;flex-direction:column;align-items:stretch;gap:2px;cursor:pointer;min-width:0}
.mc-d.out{opacity:.45}.mc-d.today .mc-n{background:var(--ink);color:var(--card);border-radius:var(--radius-pill);padding:0 6px}
.mc-d.sel{outline:2px solid var(--ink);outline-offset:-1px}.mc-d.od{border-color:var(--red,var(--ink-red-500))}
.mc-n{font-size:12px;font-weight:700;align-self:flex-start}
.mc-dots{display:flex;flex-wrap:wrap;gap:2px}.mc-more{font-size:10px;color:var(--muted)}
.mc-dayl{margin-top:10px}
.mc-list{list-style:none;margin:6px 0 0;padding:0}
.mc-li{display:flex;align-items:flex-start;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}
.mc-b{flex:1;min-width:0;overflow-wrap:anywhere}.mc-act{flex:none}
.mc-st{font-size:12px;font-weight:600;color:var(--muted);margin-left:4px}.mc-st.ok{color:var(--green,var(--ink-green-700))}.mc-st.od{color:var(--red,var(--ink-red-500))}
.mc-who{color:var(--muted)}.mc-none{color:var(--muted);font-size:13px;margin:4px 0}
.mc-week{list-style:none;margin:0;padding:0}.mc-wday{padding:6px 0;border-bottom:1px solid var(--line)}.mc-wday.today .mc-wh{color:var(--ink);text-decoration:underline}
.mc-wh{font-size:13px;font-weight:700;color:var(--muted)}
.mc-adds{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.mc-adds .btn{min-height:44px}
.mc-key{margin-top:8px}
@media (max-width:420px){.mc-d{min-height:48px}.mc-dot{min-width:13px;height:13px;font-size:9px}}
:root[data-theme="dark"] .mc-d.today .mc-n{background:var(--ink);color:var(--mc-n-ink)}
.mc-chip.mc-sms{width:auto;min-width:26px;padding:0 5px;font-size:11px}
.sheet .mc-chk,.mc-chk{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;min-height:44px}
.sheet .mc-chk input[type="checkbox"],.mc-chk input[type="checkbox"]{width:22px!important;height:22px;min-height:0;margin:0;flex:none}
.mc-personal_fb{--mc:var(--color-red-500)}.mc-personal_ig{--mc:var(--mc-personal_ig-color)}.mc-empty{color:var(--muted);font-weight:400}
.mc-past{min-height:44px;margin:2px 0 6px}
.mc-od{margin:0 0 10px;border:1px solid var(--line);border-radius:var(--radius-10);padding:8px 10px}.mc-od summary{cursor:pointer;min-height:32px;line-height:1.4}
.mc-odg{margin-top:8px}.mc-odl{list-style:none;margin:2px 0 0;padding:0}.mc-odl li{padding:2px 0}.mc-go{text-align:left;min-height:32px;font-weight:600}
.mc-blk{color:var(--muted)}

/* Scouts tab: a REsimpli Under Contract lead not on the tracker yet (25 Nov). */
.list li.b-rs,li.b-rs{box-shadow:inset 3px 0 0 var(--amber,var(--ink-orange-700));padding-left:12px}

/* REsimpli prospects on the Buyers page (25 Nov): call-only rows. */
.bpr-list{margin:6px 0 10px}.bpr{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center}.bpr-none .buy-nm,.bpr-none b{font-style:italic}
.bpr .b-acts{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.bpr .buy-ph{min-height:44px;display:inline-flex;align-items:center}
/* Scouts tab "Came from" (25 Nov) */
.sc-srcf{display:flex;flex-wrap:wrap;gap:4px 10px;margin:4px 0 10px}.sc-src{color:var(--muted)}
/* Buyers: remove, keep a record (25 Nov) */
.brm-note{color:var(--amber);font-weight:600}
.brm-was{margin:4px 0 10px;padding:6px 10px;border-radius:var(--radius-8);background:var(--amber-bg)}
.brm-was .brm-note{display:inline;margin:0}
.actions .brm-btn{margin-left:auto}
.brm-q{font-size:16px;line-height:1.45;margin:6px 0 10px}
.brm-pr{color:var(--red)}
.brm-list li{align-items:center}

/* Scouts map bands + mileage (25 Nov, src/scout-miles.js; only drawn when D.scout_miles). Text label beside every colour. */
.sm-b{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:var(--radius-pill);font-size:12px;font-weight:700;line-height:1.5;vertical-align:1px;white-space:nowrap}
.sm-b.sm-g{background:var(--green-bg);color:var(--green)}.sm-b.sm-y{background:var(--amber-bg);color:var(--amber)}.sm-b.sm-r{background:var(--red-bg);color:var(--red)}
.sm-m.sm-g{color:var(--green)}.sm-m.sm-y{color:var(--amber)}.sm-m.sm-r{color:var(--red)}
.sm-row{border-left:4px solid transparent;padding-left:8px}.sm-row.sm-g{border-left-color:var(--line-green-600)}.sm-row.sm-y{border-left-color:var(--line-amber-500)}.sm-row.sm-r{border-left-color:var(--line-red-500)}
.sm-pay{color:var(--ink)}.sm-pay b{font-weight:650}
.sm-leg{display:inline-flex;flex-wrap:wrap;gap:4px 12px;align-items:center}
.b-legend i.ring.sm-r15{border-color:var(--line-green-600);border-width:3px}.b-legend i.ring.sm-r25{border-color:var(--line-amber-500);border-width:3px}
/* Leaflet popups stay white in dark mode, so the band chip, miles and mileage line keep the light palette inside a map card. */
.leaflet-popup .sm-pay{color:var(--bg-blue-700)}.leaflet-popup .sm-b.sm-g{background:var(--sm-g-bg);color:var(--ink-green-700)}.leaflet-popup .sm-b.sm-y{background:var(--bg-amber-100);color:var(--ink-orange-700)}.leaflet-popup .sm-b.sm-r{background:var(--sm-r-bg);color:var(--ink-red-500)}
.leaflet-popup .sm-m.sm-g{color:var(--ink-green-700)}.leaflet-popup .sm-m.sm-y{color:var(--ink-orange-700)}.leaflet-popup .sm-m.sm-r{color:var(--ink-red-500)}
/* Dispo "Schedule photos" cards (25 Nov, src/dispo-cards.js): drawn only when D.dispo_cards is present. */
.dpc-card .dpc{align-items:flex-start}
.dpc-acts{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end;margin-top:8px}
.dpc-acts .btn{min-height:40px}
.dpc-date{display:flex;flex-direction:column;font-size:13px;gap:2px;margin:0}
.dpc-date input{min-height:40px}
.dpc-tel{font-weight:600}

/* 25 Nov: the listing detail fields (LISTING_DETAIL_LIVE) */
fieldset.ld{border:1px solid var(--line,var(--line-amber-200));border-radius:var(--radius-12);padding:10px 12px 12px;margin:14px 0}
fieldset.ld legend{font-weight:700;padding:0 6px}
.ld-srcs{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
.ld-chk{align-self:end;margin-bottom:10px}
.ld-list{margin-top:14px}.ld-list>b{display:inline-block;margin-bottom:6px}
.ld-row{display:flex;gap:8px;align-items:center;margin:6px 0}.ld-row input{flex:1;min-width:0}.ld-row select{flex:0 0 150px}
.ld-comp{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:8px;border:1px dashed var(--line,var(--line-amber-200));border-radius:var(--radius-10)}
.ld-comp input[data-k="area_line"]{grid-column:1/-1}.ld-comp .link-btn{grid-column:1/-1;justify-self:start}
@media(max-width:480px){.ld-row:not(.ld-comp){flex-wrap:wrap}.ld-row select{flex:1 1 100%}}
/* Deal timing (25 Nov, src/deal-timing.js) */
.dt-big{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin:4px 0 10px}.dt-big b{font-size:2rem;line-height:1}.dt-big span{font-weight:600}.dt-big small{flex-basis:100%;color:var(--muted,var(--ink-gray-500));font-size:.8rem}
.dt-tile .ds-sub{margin-top:12px}.dt-src{display:block;font-size:.68rem;color:var(--muted,var(--ink-gray-500));font-weight:400}

/* 25 Nov (Agent measured live ffe38e38: the listing editor's form column computed to 1196 px in a 560 px sheet, every label cut
   off). A sheet's form is ONE column that may never grow past the sheet: tracks are minmax(0,1fr), children and fieldsets may
   shrink (a fieldset's default min-width is min-content), fields cap at 100%. Measured by test/listing-editor-render.mjs. */
.sheet form{grid-template-columns:minmax(0,1fr)}
.sheet form>*{min-width:0;max-width:100%}
.sheet fieldset{min-width:0}
.sheet .row2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.sheet input,.sheet select,.sheet textarea{min-width:0;max-width:100%;box-sizing:border-box}
.sheet .ld-srcs{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.sheet .ld-comp{grid-template-columns:repeat(3,minmax(0,1fr))}
.sheet .lst-photos{max-width:100%;overflow-x:auto}
.sheet .lst-pf,.sheet .mline{overflow-wrap:anywhere}
/* The lead list's generic .ld row (line 865: display:flex, a row per lead) also matched the listing editor's fieldset.ld and laid
   its blocks side by side. The editor's fieldset is a block. */
fieldset.ld{display:block;cursor:auto;min-height:0;justify-content:normal;align-items:normal;padding:10px 12px 12px;border-bottom:1px solid var(--line,var(--line-amber-200))}
.sheet .row2{align-items:start}.sheet .row2>label{display:flex;flex-direction:column;justify-content:flex-start}
/* 25 Nov: the county roll-up inside Deal timing */
.dt-cty{border-top:1px solid var(--soft,var(--dt-cty-line));padding:6px 0}.dt-cty summary{cursor:pointer;min-height:32px;display:flex;align-items:center;gap:4px}
.dt-cty .ds-tb{margin-top:6px}
/* 25 Nov: "Mine" is now "Dashboard" (her words). The longer label touched its neighbours in the phone bar at 320-390: the
   buttons stay equal (flex 1 1 0) except that none is narrower than its own label (min-width min-content), so only
   "Dashboard" takes a little more and no other button gets narrower to tap than its equal share; on narrow phones the label is a size smaller with a hair less spacing.
   Measured by test/nav-label-render.mjs: at least 4 px between adjacent labels, nothing clipped, at 320 / 360 / 390. */
.tabs button{flex:1 1 0;min-width:min-content;padding-left:3px;padding-right:3px}
@media (max-width:400px){.tabs button{font-size:10px;letter-spacing:-.01em}}

/* Holiday greeting (25 Nov): the holiday's own colours, read from the seasonal badge sets' tokens (badge.css). */
.hol{display:flex;align-items:center;gap:10px;border-radius:var(--radius-12);padding:10px 14px;margin:0 0 10px;font-size:16px;font-weight:700;background:var(--hol-bg);color:var(--hol-ink);border:1px solid var(--hol-line,transparent)}
.hol .hol-t{flex:1}
.hol .hol-x{color:inherit}
.hol-ny{--hol-bg:var(--badge-pb-s-ny-color);--hol-ink:#ffffff}
.hol-val{--hol-bg:var(--badge-pb-s-val-color);--hol-ink:var(--badge-pb-s-val-color-3);--hol-line:var(--badge-pb-s-val-color-2)}
.hol-stpat{--hol-bg:var(--badge-pb-s-stpat-color);--hol-ink:var(--badge-pb-s-stpat-color-4)}
.hol-spring{--hol-bg:var(--badge-pb-s-spring-color);--hol-ink:var(--badge-pb-s-spring-color-3);--hol-line:var(--badge-pb-s-spring-color-2)}
.hol-fourth{--hol-bg:var(--badge-pb-s-fourth-color);--hol-ink:var(--badge-pb-s-fourth-color-2);--hol-line:var(--badge-pb-s-fourth-color-3)}
.hol-hallow{--hol-bg:var(--badge-pb-s-hallow-color);--hol-ink:var(--badge-pb-s-hallow-color-5)}
.hol-thanks{--hol-bg:var(--badge-pb-s-thanks-color);--hol-ink:var(--badge-pb-s-thanks-color-3);--hol-line:var(--badge-pb-s-thanks-color-2)}
.hol-xmas{--hol-bg:var(--badge-pb-s-xmas-color);--hol-ink:var(--badge-pb-s-xmas-color-3)}

/* 25 Nov, her card "Team Board + My Dashboard" (Agent's option a): full names on the desktop bar from 1440 px; below that the same short forms
   as the phone bar (aria-label keeps the full names), so no label wraps at 1280. No type shrinking. Measured by test/nav-label-render.mjs. */
.desk-nav .lbl-s{display:none}
@media (max-width:1439px){.desk-nav .lbl-l{display:none}.desk-nav .lbl-s{display:inline}}

/* 25 Nov: the board's ONE quiet Checked line (her words: okay "for the entire board"): its own line at the top of the content on the
   Team Board and My Dashboard, ALWAYS there when the board has a sync run, in list and squares mode alike (the Condense/Expand row
   it first sat in is hidden in squares mode and while editing). */
.board-stamp{margin:0 0 8px;font-size:12px;line-height:1.4;color:var(--muted);text-align:right}
.board-stamp.late{color:var(--red);font-weight:600}

/* Photos pending (28 Nov): an overdue row is marked, a change request reads as a note with its two answers. */
.ps-row.ps-late{box-shadow:inset 3px 0 0 var(--bad,#c0392b)}
.ps-chg{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;margin-top:4px;padding:6px 8px;border-radius:8px;background:var(--warn-bg,rgba(196,140,0,.12))}
.ps-f{border:1px solid var(--line,#d8dde5);border-radius:10px;padding:8px 12px;margin:8px 0}
.ps-f legend{font-weight:700;padding:0 4px}

/* Photo days on the Deal calendar (28 Nov): outlined = scheduled, solid = confirmed, dashed amber = change requested, muted = done. */
.dc-photos{--ph:var(--ok,#1f7a4d)}
.dc-wev.dc-photos,.dc-ev.dc-photos{border:2px solid var(--ph);background:transparent;color:inherit}
.dc-wev.dc-ph-confirmed,.dc-ev.dc-ph-confirmed{background:var(--ph);color:#fff}
.dc-wev.dc-ph-confirmed small,.dc-wev.dc-ph-confirmed b,.dc-wev.dc-ph-confirmed span{color:#fff}
.dc-wev.dc-ph-change,.dc-ev.dc-ph-change{border-style:dashed;--ph:var(--warn,#a86b00)}
.dc-wev.dc-ph-done,.dc-ev.dc-ph-done{opacity:.55;border-style:dotted}
.dc-dot.dc-photos{background:transparent;border:2px solid var(--ph);box-sizing:border-box}
.dc-dot.dc-ph-confirmed{background:var(--ph)}
.dc-dot.dc-ph-done{opacity:.55;border-style:dotted}
.dc-ph-h{margin:14px 0 6px;font-size:15px}
.dc-photos{--dc:var(--ph)}
