/* LifeStar UI 2 — one design system (24 Oct 2026).
   Alex, 23 Oct 5:02 pm: "by the end of the weekend lifestar is going to be completely operational with an improved UI".
   Loaded last (index.html, end of <body>), so it sits on top of every page module's own <style> without editing them.
   Rules here are looks only: no data, no business logic. Locked UI rules in CLAUDE.md (Inbox layout + View menu, Fill this
   req pager and Fit order, profile folds by click, Worlds on Home, speed) are untouched; tests/locked_test.py checks this file.
   Tokens: --u-* (new). The old names (--bg, --panel, --line, --ink, --muted, --accent, --r …) are re-pointed at them so every
   module that already uses var(--…) picks up the system for free. */

/* ---------- fonts: IBM Plex Sans self-hosted (it was only on Google Fonts; blocked networks fell back to system-ui) ---------- */
@font-face{font-family:'IBM Plex Sans';font-weight:400;font-display:swap;src:url(/fonts/plex-400.woff2) format('woff2')}
@font-face{font-family:'IBM Plex Sans';font-weight:500;font-display:swap;src:url(/fonts/plex-500.woff2) format('woff2')}
@font-face{font-family:'IBM Plex Sans';font-weight:600;font-display:swap;src:url(/fonts/plex-600.woff2) format('woff2')}
@font-face{font-family:'IBM Plex Sans';font-weight:700;font-display:swap;src:url(/fonts/plex-700.woff2) format('woff2')}

/* ---------- tokens: blue space cowboy (25 Oct 2026), the default look ----------
   Alex, 25 Oct: "i log in and it still looks like 2019" / "button features. blue space cowboy like nothing anyone's experienced
   before." Deep midnight to electric blue space, brass for the frontier. Every text colour below passes WCAG AA (4.5:1) on
   --u-panel and --u-page; the checks are in tests/locked_test.py ("look:"). data-theme="dark" gets the same values.
   Two looks, the viewer's choice (Alex, 25 Oct 6:57 pm: "can you give users the choice of white or dark blue for the
   experience"): this block is "Dark blue", the default; <html data-look="white"> switches to the White look at the end of
   this file. The choice is set before first paint by index.html's head script and flipped by ui2.js (kyLook.setLook). */
@font-face{font-family:'Big Shoulders Display';font-weight:700;font-display:swap;src:url(/fonts/bigshoulders-700.woff2) format('woff2')}
@font-face{font-family:'Big Shoulders Display';font-weight:800;font-display:swap;src:url(/fonts/bigshoulders-800.woff2) format('woff2')}
:root,:root[data-theme],:root[data-theme="dark"]{
  /* space */
  --u-void:#04081A; --u-page:#070D24; --u-panel:#0E1838; --u-sunk:#0A1230; --u-hover:#16234D; --u-sel:#1C2D62;
  --u-glass:rgba(17,28,66,.78); --u-line:#2A3B70; --u-line-2:#1C2A55;
  /* type on space */
  --u-ink:#EEF3FF; --u-ink-2:#CCD6F5; --u-muted:#A9B6DE; --u-faint:#909DCB;
  /* electric blue: --u-brand is for text and lines on space (7.3:1), --u-fill is behind white text (5.5:1) */
  --u-brand:#7DA6FF; --u-brand-2:#A4C0FF; --u-fill:#2F5BEA; --u-fill-2:#3D6BFF; --u-brand-tint:#16245A;
  /* brass: the frontier, the sheriff star, the one gold button */
  --u-brass:#E8B04B; --u-brass-2:#F5C979; --u-brass-ink:#1A1405; --u-brass-tint:rgba(232,176,75,.14);
  --u-red:#FF6B6B; --u-teal:#2DD4BF;
  --u-good:#4ADE9B; --u-good-tint:rgba(74,222,155,.14);
  --u-bad:#FF8A80;  --u-bad-tint:rgba(255,138,128,.14);
  --u-warn:#F5C451; --u-warn-tint:rgba(245,196,81,.14);
  --u-info-tint:rgba(125,166,255,.14);
  /* the sky: a still star field and two nebula glows, CSS only, painted once (no animation, nothing on long lists) */
  --u-sky:
    radial-gradient(1px 1px at 20px 30px,rgba(255,255,255,.55),transparent 1.5px),
    radial-gradient(1px 1px at 140px 90px,rgba(190,210,255,.45),transparent 1.5px),
    radial-gradient(1.5px 1.5px at 260px 170px,rgba(255,236,200,.5),transparent 2px),
    radial-gradient(1px 1px at 90px 220px,rgba(255,255,255,.35),transparent 1.5px),
    radial-gradient(1px 1px at 330px 40px,rgba(180,200,255,.4),transparent 1.5px);
  --u-nebula:
    radial-gradient(1100px 620px at 88% -12%,rgba(47,91,234,.30),transparent 62%),
    radial-gradient(900px 560px at -10% 110%,rgba(91,61,214,.22),transparent 60%),
    radial-gradient(700px 400px at 50% 120%,rgba(232,176,75,.07),transparent 70%),
    linear-gradient(180deg,#070D24 0%,#04081A 100%);
  /* type: six steps, no half pixels; Big Shoulders Display (self-hosted, OFL) for the frontier headlines and big numbers */
  --u-t-xs:12px; --u-t-sm:13px; --u-t-md:14px; --u-t-lg:16px; --u-t-xl:20px; --u-t-2xl:28px; --u-t-num:32px;
  --u-lh:1.45;
  --u-frontier:'Big Shoulders Display','IBM Plex Sans',system-ui,sans-serif;
  /* spacing (4-point) */
  --u-s1:4px; --u-s2:8px; --u-s3:12px; --u-s4:16px; --u-s5:24px; --u-s6:32px;
  /* radius */
  --u-r-sm:8px; --u-r-md:10px; --u-r-lg:16px; --u-r-pill:999px;
  /* elevation: glow, not grey shadow */
  --u-e1:0 1px 0 rgba(255,255,255,.04) inset,0 1px 2px rgba(0,0,0,.5);
  --u-e2:0 12px 32px rgba(0,0,0,.55),0 0 0 1px rgba(125,166,255,.08);
  --u-e3:0 28px 70px rgba(0,0,0,.7),0 0 0 1px rgba(125,166,255,.12);
  --u-glow:0 0 0 1px rgba(125,166,255,.35),0 8px 26px rgba(47,91,234,.35);
  --u-focus:0 0 0 3px rgba(125,166,255,.45);
  /* control heights: 40 desk, 44 phone (Apple and WCAG 2.5.8 targets) */
  --u-h:38px; --u-h-sm:32px;

  /* the old names, re-pointed (every module already reads these) */
  --bg:var(--u-page); --panel:var(--u-panel); --line:var(--u-line); --line2:var(--u-line-2);
  --ink:var(--u-ink); --muted:var(--u-muted); --faint:var(--u-faint);
  --accent:var(--u-brand); --accent2:var(--u-brand-2); --chip:var(--u-brand-tint); --deep:var(--u-sel);
  --good:var(--u-good); --warm:var(--u-red); --amber:var(--u-brass); --pink:var(--u-red);
  --sunset:linear-gradient(90deg,var(--u-fill) 0%,var(--u-brass) 100%);
  --display:'IBM Plex Sans',system-ui,sans-serif; --wordmark:var(--u-frontier);
  --r:var(--u-r-lg); --glow:var(--u-e1);
  /* the score colours, lifted so they read on space */
  --c-like:#2DD4BF; --c-does:#A5B4FC; --c-exp:#F5C451; --c-contract:#C4B5FD; --c-pay:#4ADE80;
  --s-new:#A9B6DE; --s-reached:#7DA6FF; --s-talking:#2DD4BF; --s-submitted:#C4B5FD; --s-interview:#F5C451; --s-offer:#F9A8D4; --s-placed:#4ADE80; --s-no:#FF8A80;
  --s-due:#FF8A80; --s-ok:#4ADE9B; --s-wait:#F5C451;
  color-scheme:dark;
}
@media (max-width:900px){:root{--u-h:44px;--u-h-sm:40px}}

/* ---------- base: every page sits in the same sky ---------- */
html,body{color-scheme:dark}
html{background-color:#04081A}
body{background:var(--u-sky),var(--u-nebula);background-size:360px 260px,360px 260px,360px 260px,360px 260px,360px 260px,auto,auto,auto,auto;background-attachment:fixed;
  color:var(--u-ink);font-size:var(--u-t-md);line-height:var(--u-lh)}
body::before{background:none!important}
h1,h2,h3{color:var(--u-ink)}
:focus-visible{outline:2px solid var(--u-brass);outline-offset:2px}
::selection{background:rgba(125,166,255,.35);color:#fff}

/* ---------- buttons: big, satisfying, one primary per card (Alex, 25 Oct: "button features.") ----------
   Ghost buttons are glass with a blue rim; the primary is an electric blue slab that lifts and glows on hover and presses
   down on click. .btn.gold (brass) is the frontier call to action: one per screen at most. Keyboard: a brass focus ring. */
.btn{min-height:var(--u-h);padding:8px 16px;border:1px solid var(--u-line);border-radius:var(--u-r-md);font-size:var(--u-t-md);font-weight:600;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.015)),var(--u-panel);color:var(--u-ink);box-shadow:var(--u-e1);line-height:1.2;
  transition:transform .12s ease,box-shadow .15s ease,border-color .15s ease,background-color .15s ease,color .15s ease}
.btn:hover{border-color:var(--u-brand);color:#fff;background:linear-gradient(180deg,rgba(125,166,255,.16),rgba(125,166,255,.05)),var(--u-panel);box-shadow:0 0 0 1px rgba(125,166,255,.25),0 6px 18px rgba(0,0,0,.4)}
.btn:active{transform:translateY(1px) scale(.985);box-shadow:var(--u-e1)}
.btn:focus-visible{outline:2px solid var(--u-brass);outline-offset:2px}
.btn.p{background:linear-gradient(180deg,#3D6BFF 0%,#2F5BEA 55%,#2449C9 100%);border-color:#4F7DFF;color:#fff;box-shadow:0 1px 0 rgba(255,255,255,.22) inset,0 8px 22px rgba(47,91,234,.38);font-weight:700}
.btn.p:hover{background:linear-gradient(180deg,#4A78FF 0%,#3463F0 55%,#2A55E0 100%);border-color:#7DA6FF;color:#fff;box-shadow:0 1px 0 rgba(255,255,255,.28) inset,0 10px 30px rgba(61,107,255,.55);transform:translateY(-1px)}
.btn.p:active{transform:translateY(1px) scale(.985)}
.btn.gold{background:linear-gradient(180deg,#F5C979,#E8B04B 60%,#D69A32);border-color:#F5C979;color:var(--u-brass-ink);font-weight:700;box-shadow:0 1px 0 rgba(255,255,255,.4) inset,0 8px 22px rgba(232,176,75,.3)}
.btn.gold:hover{color:var(--u-brass-ink);border-color:#FFE3A8;box-shadow:0 1px 0 rgba(255,255,255,.5) inset,0 10px 28px rgba(232,176,75,.45);transform:translateY(-1px)}
.btn.sm{min-height:var(--u-h-sm);padding:5px 11px;font-size:var(--u-t-sm);border-radius:var(--u-r-sm)}
.btn:disabled,.btn[disabled]{opacity:.45;box-shadow:none;transform:none;cursor:not-allowed}
button{color:inherit}

/* ---------- fields: dark glass, blue focus ---------- */
input[type=search],input[type=text],input[type=email],input[type=number],input[type=date],input[type=tel],input[type=url],input[type=password],input:not([type]),select,textarea{
  border-radius:var(--u-r-md);border:1px solid var(--u-line);min-height:var(--u-h);padding:7px 10px;background:var(--u-sunk)!important;color:var(--u-ink)!important}
select option,select optgroup{background:var(--u-panel)!important;color:var(--u-ink)!important}
input::placeholder,textarea::placeholder{color:var(--u-faint)}
input:focus,select:focus,textarea:focus{border-color:var(--u-brand);box-shadow:var(--u-focus);outline:none}
input[type=checkbox],input[type=radio],input[type=range]{accent-color:var(--u-fill-2)}

/* ---------- surfaces: glass cards in the sky ---------- */
.card{border-radius:var(--u-r-lg);border:1px solid var(--u-line);background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,0)),var(--u-panel);box-shadow:var(--u-e1);padding:var(--u-s4)}
.empty{border-radius:var(--u-r-lg);background:var(--u-panel)!important;color:var(--u-muted);border-color:var(--u-line)}
.ok{background:var(--u-good-tint)!important}
.err{background:var(--u-bad-tint)!important;color:var(--u-bad)}
.tw,.board,.ws .side,.copybox{border-radius:var(--u-r-lg)}
.stage>div{border-radius:var(--u-r-lg)}
thead th{font-size:var(--u-t-xs);letter-spacing:.04em;color:var(--u-muted);background:var(--u-sunk)!important}
tbody td{padding:9px 12px;border-bottom-color:var(--u-line-2)}
tbody tr:hover{background:var(--u-hover)}
a{color:var(--u-brand)}
hr{border-color:var(--u-line-2)}
code,kbd,pre{background:var(--u-sunk);color:var(--u-ink-2)}
/* rope line: the frontier divider (a twisted brass rope), used for the section breaks the modules already draw */
.u-rope,#rf .wl{position:relative}
.u-rope::before,#rf .wl::before{content:'';display:block;height:4px;border-radius:2px;opacity:.75;
  background:repeating-linear-gradient(135deg,var(--u-brass) 0 3px,#8C6420 3px 5px,var(--u-brass-2) 5px 7px)}

/* ---------- chips and status text ---------- */
.chip{font-size:var(--u-t-xs);padding:2px 8px;background:var(--u-brand-tint);color:var(--u-ink-2)}
.chip.g{background:var(--u-good-tint);color:var(--u-good)}
.chip.r{background:var(--u-bad-tint);color:var(--u-bad)}
.chip.w{background:var(--u-warn-tint);color:var(--u-warn)}
.chip.a{background:var(--u-info-tint);color:var(--u-brand)}
.kyMN.y{background:var(--u-good-tint);color:var(--u-good)}
.kyMN.n{background:var(--u-bad-tint);color:var(--u-bad)}
.ok{color:var(--u-good);border-color:var(--u-good)}
.err{border-color:var(--u-bad)}

/* ---------- top bar: a cockpit strip, glass over space, a brass horizon line ---------- */
#kyTop{background:rgba(7,13,36,.97)!important;/* solid, no blur: see CLAUDE.md Top bar (25 Oct: Recruiting from Inbox did nothing) */box-shadow:none;border-bottom:1px solid var(--u-line)!important;color:var(--u-ink)!important}
#kyTop::after{height:1px!important;bottom:-1px;opacity:1;background:linear-gradient(90deg,transparent,var(--u-fill-2) 20%,var(--u-brass) 50%,var(--u-fill-2) 80%,transparent)!important}
#kyTop button{border-radius:var(--u-r-md);color:var(--u-ink-2)!important}
#kyTop button:hover{background:var(--u-hover)!important;color:#fff!important}
#kyTop .home b{border-color:var(--u-line)!important;background:#fff}
#kyTop .sep,#kyTop .tabs .g{background:var(--u-line)!important;border-color:var(--u-line)!important}
#kyTop .grp .menu{border-radius:var(--u-r-lg);box-shadow:var(--u-e3);padding:var(--u-s1);background:#0C1533!important;border:1px solid var(--u-line)!important}
#kyTop .grp .menu button{border-radius:var(--u-r-sm);color:var(--u-ink)!important}
#kyTop .grp .menu .u2h{display:block;padding:8px 12px 2px;font:600 11px/1.2 var(--body);letter-spacing:.06em;text-transform:uppercase;color:var(--u-faint)}
#kyTop .grp .menu{max-height:calc(100vh - 64px);overflow-y:auto}
#kyTop .grp .menu button[data-help]::after{content:attr(data-help);display:block;max-width:min(280px,100%);overflow-wrap:anywhere;margin-top:2px;font:400 11.5px/1.35 var(--body);white-space:normal;color:var(--u-muted)}
/* 9 Nov 2026 (Jay's walkthrough: in the Sales menu a description ran over the item below, so a click landed on the wrong item): a menu
   item is always as tall as its name plus its line, never a fixed height, and its line never leaves its own box. */
#kyTop .grp .menu button{height:auto!important;min-height:40px;max-height:none!important;overflow:hidden;position:relative;box-sizing:border-box}
#kyTop .grp .menu button.on[data-help]::after{color:rgba(255,255,255,.85)}
#kyTop .grp .menu hr{border:0;border-top:1px solid var(--u-line-2);margin:4px 6px}
#kyTop .tabs button.on,#kyTop .grp.on .gb,#kyTop .grp .menu button.on,#kyTabs [data-u2tab].on{background:linear-gradient(180deg,#3D6BFF,#2F5BEA)!important;color:#fff!important;box-shadow:0 0 0 1px #4F7DFF inset,0 0 18px rgba(61,107,255,.45)!important}
#kyTop .grp.on[data-grp="sales"] .gb,#kyTop .tabs button.on[data-g="sales"]{background:linear-gradient(180deg,#D9443F,#B8322E)!important;box-shadow:0 0 0 1px #FF6B6B inset,0 0 18px rgba(255,107,107,.35)!important}
#kyTabs [data-u2tab]{font-weight:600}
#kyTabs [data-u2tab] .u2n:not(:empty){margin-left:5px;display:inline-block;min-width:18px;padding:0 5px;border-radius:99px;background:var(--u-brass);color:var(--u-brass-ink);font:700 11px/16px var(--body);text-align:center}
#kyTabs [data-u2tab].on .u2n:not(:empty){background:#fff;color:#1F45C7}
/* 10 Nov 2026: each section menu's own Tasks item carries its due-today / overdue count */
#kyTabs .menu [data-tsec] .u2n:not(:empty){margin-left:6px;display:inline-block;min-width:18px;padding:0 5px;border-radius:99px;background:var(--u-brass);color:var(--u-brass-ink);font:700 11px/16px var(--body);text-align:center}
#kyGo{border-radius:var(--u-r-lg);border-color:var(--u-line);box-shadow:var(--u-e3);background:#0C1533!important;color:var(--u-ink)}
#kyGo .hint kbd{font:600 11px var(--mono);padding:1px 5px;border:1px solid var(--u-line);border-radius:4px;background:var(--u-sunk)}
#kyGoBtn{background:var(--u-sunk)!important;color:var(--u-muted)!important;border:1px solid var(--u-line)!important}
#kyGoBtn *{color:var(--u-muted)!important}
#kyGoBtn kbd{background:var(--u-panel)!important;border-color:var(--u-line)!important}

/* ---------- floating buttons: smaller, so they stop covering the work ---------- */
@media (min-width:901px){
  #pfFind,#pfUp{min-height:34px!important;height:34px;padding:0 12px!important;font-size:13px!important;border-radius:var(--u-r-md)!important;bottom:12px!important;box-shadow:var(--u-e2)!important}
  #pfFind{right:12px!important} #pfUp{right:92px!important}
}
/* phone: one round Find button; People and Résumé live in ☰ Menu (Find someone · Browse people · Add résumés) */
@media (max-width:900px){
  #pplBtn#pplBtn,#pfUp#pfUp{display:none!important}
  #pfFind#pfFind{width:44px;height:44px;min-height:44px;bottom:calc(76px + env(safe-area-inset-bottom))!important;box-shadow:var(--u-e2)}
  /* Coach and Order sat on top of Find, and Order was hidden under the tab bar (a dead button): one tidy column */
  body #ckFab#ckFab,body #kybFab#kybFab{width:40px!important;height:40px!important;min-height:40px!important;right:14px!important;left:auto!important;box-shadow:var(--u-e2)!important}
  body #ckFab#ckFab{bottom:calc(128px + env(safe-area-inset-bottom))!important}
  body #kybFab#kybFab{bottom:calc(176px + env(safe-area-inset-bottom))!important}
}

/* ---------- Home: big readable numbers, quieter cards ---------- */
#hm .wrap{max-width:1240px}
#hm .hi .hello{font-size:var(--u-t-xl)!important;letter-spacing:-.2px}
#hm .meter span{border-radius:var(--u-r-lg)!important}
#hm .meter span b{font-family:var(--display);font-size:var(--u-t-2xl);line-height:1;font-variant-numeric:tabular-nums}
#hm .trk{border-radius:var(--u-r-lg)!important;box-shadow:var(--u-e1)!important}
#hm .trk h2{font-size:var(--u-t-lg)!important}
#kyScore b,#kyTrack .t b,#kyTrack .tile b{font-size:var(--u-t-2xl)!important;line-height:1.05}
@media (max-width:900px){
  #hm .hi .acts{flex-wrap:wrap;gap:8px}
  #hm .pill{transform:none!important;flex:0 0 auto}
  #hm .pill button{padding:0 14px!important;font-size:13px!important}
}

/* ---------- Today (ui2.js): what to do now, in order ---------- */
/* Today and the greeting come first however other Home modules insert their cards (futures.js re-inserts itself first) */
#hm #hmW>.hi{order:-20}
#hm #hmW>#u2Today{order:-10}
#u2Today{border:1px solid var(--u-line);border-radius:var(--u-r-lg);background:var(--u-panel);box-shadow:var(--u-e1);margin:0 0 var(--u-s4);overflow:hidden}
#u2Today .u2hd{display:flex;align-items:baseline;gap:var(--u-s2);padding:var(--u-s3) var(--u-s4);border-bottom:1px solid var(--u-line-2)}
#u2Today .u2hd h2{margin:0;font:700 var(--u-t-lg)/1.2 var(--display)}
#u2Today .u2hd span{font-size:var(--u-t-sm);color:var(--u-muted)}
#u2Today .u2hd button{margin-left:auto}
#u2Today .u2g{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
#u2Today .u2c{padding:var(--u-s4);border-right:1px solid var(--u-line-2);display:flex;flex-direction:column;gap:var(--u-s2);min-width:0}
#u2Today .u2c:last-child{border-right:0}
#u2Today .u2k{display:flex;align-items:center;gap:6px;font:600 var(--u-t-xs)/1.2 var(--body);letter-spacing:.06em;text-transform:uppercase;color:var(--u-muted)}
#u2Today .u2k i{font-style:normal;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:5px;background:var(--u-ink);color:#fff;font-size:11px;letter-spacing:0}
#u2Today .u2n{font:700 var(--u-t-num)/1 var(--display);font-variant-numeric:tabular-nums;color:var(--u-ink)}
#u2Today .u2n.hot{color:var(--u-bad)}
#u2Today .u2n small{font:500 var(--u-t-sm)/1 var(--body);color:var(--u-muted);margin-left:4px}
#u2Today .u2s{font-size:var(--u-t-sm);color:var(--u-muted);min-height:2.6em}
#u2Today .u2s b{color:var(--u-ink);font-weight:600}
#u2Today .u2c .btn{margin-top:auto;align-self:flex-start}
#u2Today ul{list-style:none;margin:0;padding:0;font-size:var(--u-t-sm)}
#u2Today li{display:flex;gap:6px;align-items:center;padding:3px 0;min-width:0}
#u2Today li a{color:var(--u-ink);text-decoration:none;cursor:pointer;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#u2Today li a:hover{color:var(--u-brand);text-decoration:underline}
#u2Today li b{margin-left:auto;font-variant-numeric:tabular-nums}
#u2Today .bar{display:block;height:6px;border-radius:99px;background:var(--u-line-2);overflow:hidden;flex:0 0 56px;padding:0;border:0}
#u2Today .bar i{display:block;height:100%;background:var(--u-brand)}
#u2Today .bar.full i{background:var(--u-warn)} #u2Today .bar.paused i{background:var(--u-faint)}
#u2Today .mbx{font-family:var(--mono);font-size:12px;color:var(--u-ink-2);flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#u2Today .mbn{font-family:var(--mono);font-size:12px;color:var(--u-muted);flex:0 0 auto}
#u2Today .wait{color:var(--u-muted);font-size:var(--u-t-xs)}
@media (max-width:1100px){#u2Today .u2g{grid-template-columns:repeat(2,minmax(0,1fr))}#u2Today .u2c:nth-child(2){border-right:0}#u2Today .u2c:nth-child(-n+2){border-bottom:1px solid var(--u-line-2)}}
/* phone: four tiles, two by two — the number and one button each; the detail lists live on the desktop */
@media (max-width:560px){#u2Today .u2g{grid-template-columns:1fr 1fr}#u2Today .u2c{padding:12px;gap:6px}#u2Today .u2c:nth-child(odd){border-right:1px solid var(--u-line-2)}
  #u2Today .u2c:nth-child(-n+2){border-bottom:1px solid var(--u-line-2)}#u2Today .u2s,#u2Today ul{display:none}#u2Today .u2n{font-size:28px}
  #u2Today .u2k{font-size:11px;letter-spacing:.03em}#u2Today .u2c .btn{align-self:stretch;min-height:40px;font-size:13px;padding:6px 8px}}

/* ---------- Fill this req: the MATCH chip sat on top of the name (score column is nowrap + overflow visible) ---------- */
#rf .c .sc .kyMN{display:block;width:max-content;margin-top:4px}

/* ---------- profile panel on a phone: the tool row ran 230px off the right edge ---------- */
@media (max-width:900px){
  #pfPane .pfHead{flex-wrap:wrap}
  #pfPane #pfTools{flex-wrap:wrap;max-width:100%;row-gap:6px}
  #pfPane .kyTagRow,#pfPane .pfTags{flex-wrap:wrap;max-width:100%}
}

/* ---------- wide tables on a phone scroll inside their box, never the page (Settings → Mailboxes was cut off) ---------- */
@media (max-width:900px){
  #stg table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  #stg .tw,#stg .card{max-width:100%;overflow-x:auto}
}

/* ---------- phone tab bar (phone.js #kyDock + apphome.js ☰ Menu): slim, iOS-style ---------- */
@media (max-width:900px){
  #kyDock{padding:4px 6px calc(4px + env(safe-area-inset-bottom))!important;gap:2px!important;box-shadow:0 -1px 0 var(--u-line)!important;background:color-mix(in srgb,var(--u-panel) 94%,transparent)!important;backdrop-filter:blur(10px)}
  #kyDock button{min-height:52px!important;border-radius:var(--u-r-md)!important;background:transparent!important;color:var(--u-muted)!important;font-size:11px!important;font-weight:600!important;gap:2px!important;box-shadow:none!important;position:relative}
  #kyDock button .ic{font-size:20px!important}
  #kyDock button.on{color:var(--u-brand)!important;background:var(--u-brand-tint)!important}
  #kyDock button .n:not(:empty){position:absolute;top:4px;left:calc(50% + 6px);background:var(--u-red);color:#fff!important;border-radius:99px;padding:0 5px;font-size:10px;line-height:15px}
  body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
}

/* ---------- Inbox: the open conversation's header was 20px tall, name hidden (inbox spec F1). health.js's global
   .kyHd (an 11px status dot) also matched ibhead.js's header class. Scope fix: the header gets its own box back. ---------- */
#ibMid .who.kyHd{display:flex;width:auto;height:auto;min-height:56px;border-radius:0;flex:0 0 auto}
/* Inbox spec F5: below 1500px wide the details panel is an overlay (inboxfix.js), but the View grid still kept a 300px
   third column for it, so 300px of empty space sat right of the email at 1366. One breakpoint: no column, the email gets it. */
@media (min-width:901px) and (max-width:1499px){
  #ib.kyV-right .wrap,#ib.kyV-right.kyNoDet .wrap{grid-template-columns:minmax(300px,360px) minmax(0,1fr)!important}
  #ib.kyV-bottom .wrap{grid-template-columns:minmax(0,1fr)!important}
  #ib.kyV-full.kySel .wrap{grid-template-columns:minmax(0,1fr)!important}
}
/* Inbox spec F7: the conversation action bar wrapped to two lines at 1366; it stays one line and scrolls sideways inside itself */
@media (min-width:901px){#ib .ibbar{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:thin}#ib .ibbar>*{flex:0 0 auto}}
/* Inbox toolbar at laptop widths: the lane tabs (All · Recruiting · New business · Loop clients) were squeezed to
   "Recruitin". Lanes keep their room; Mailboxes today and Conversations shrink to their names (details still drop down). */
@media (min-width:901px) and (max-width:1599px){
  #ib>.hd #ibLanes{flex:0 0 auto;min-width:max-content}
  #ib>.hd .kyMbxBox.hdr summary .d,#ib>.hd .kyMbxBox.hdr summary .more{display:none}
  #ib>.hd .kyThr.hdr summary b,#ib>.hd .kyThr.hdr summary>span:first-child{display:none}
  #ib>.hd .kyPW{white-space:nowrap}
}

/* ---------- top bar targets: the world switch and small icon buttons were 23-24px tall (WCAG 2.5.8 wants 24+, aim 28+) ---------- */
@media (min-width:901px){
  #kyTop .ws button{min-height:28px}
  #kyTop>button,#kyTop .tabs>button,#kyTop .grp .gb{min-height:30px}
  #kyTop #kyNew,#kyTop #kyClose{min-width:30px}
}
/* 4 Nov 2026, Alex: "buttons hidden" (screenshot: View ▾ sat on "Loop clients", "Mailboxes today" cut off). Locked rule
   "No words hidden by buttons, ever": on a laptop or desktop the Inbox toolbar never squeezes, clips or overlaps a button.
   Every item keeps its full width and the row wraps to a second line when it runs out of room. */
@media (min-width:901px){
  #ib>.hd{flex-wrap:wrap!important;row-gap:8px;overflow:visible}
  #ib>.hd>*{flex:0 0 auto!important;max-width:100%}
  #ib>.hd #ibLanes{min-width:max-content;overflow:visible!important}
}
/* the top bar: the tabs never slide under Go to / Music / Dialer (seen at 1024 wide). The tabs keep their width; the tools
   drop their words (the icon and its tooltip stay) when the window is narrower than everything with words. */
@media (min-width:901px){
  #kyTop .tabs{flex:0 0 auto!important;min-width:max-content}
  #kyTop .go{flex:0 1 auto;min-width:0!important;overflow:hidden}
}
@media (min-width:901px) and (max-width:1440px){
  #kyTop .go .gt,#kyTop .go kbd{display:none!important}
  #kyTop #kyMusicTop .lbl,#kyTop #kyDialTop .lbl,#kyTop #kyBack .lbl,#kyTop #kyOut .lbl,#kyTop #kyLookBtn .lbl{display:none!important}
}
@media (min-width:901px) and (max-width:1180px){
  #kyTop .ws .wl{display:none!important}#kyTop .ws .ws1{display:inline!important}
}
/* phone Inbox toolbar: "1 reply to answer · Next" ran off the right edge; the row scrolls sideways inside itself */
@media (max-width:900px){#ib>.hd{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none}#ib>.hd::-webkit-scrollbar{display:none}#ib>.hd>*{flex:0 0 auto!important}}

/* ---------- blue space cowboy: inline light boxes some modules write into their HTML ---------- */
[style*="background:#fff"],[style*="background: #fff"],[style*="background:#FFF"],[style*="background:white"],[style*="background:#ffffff"],[style*="background-color:#fff"]{background:var(--u-panel)!important}
[style*="background:#f4f7fb"],[style*="background:#F7FAFE"],[style*="background:#f6f8fb"],[style*="background:#F3F7FC"]{background:var(--u-sunk)!important}
[style*="background:#fff4d6"],[style*="background:#FFF4D6"],[style*="background:#fff3e6"]{background:var(--u-warn-tint)!important;color:var(--u-warn)!important}
[style*="color:#12233A"],[style*="color:#111"],[style*="color:#333"]{color:var(--u-ink)!important}

/* ---------- Fill this req: people as profile cards (Alex, 25 Oct: "dating apps will envy us.") ----------
   Same list, same Fit order, same pager, 50 a page. The face: an initials avatar, the Fit total as a glowing meter, a sheriff
   star on the top three of page one, and the quick actions as pills. No blur and no animation on the cards (50 of them). */
#rf,#hm{background:var(--u-sky),var(--u-nebula)!important;background-size:360px 260px,360px 260px,360px 260px,360px 260px,360px 260px,auto,auto,auto,auto!important;background-attachment:fixed!important}
#rf .bar{background:rgba(7,13,36,.92)!important;border-bottom:1px solid var(--u-line-2)}
#rf .c{border-radius:18px!important;border:1px solid var(--u-line)!important;background:linear-gradient(160deg,rgba(125,166,255,.07),rgba(125,166,255,0) 45%),var(--u-panel)!important;box-shadow:0 1px 0 rgba(255,255,255,.05) inset,0 10px 26px rgba(0,0,0,.35);transition:border-color .15s,box-shadow .15s}
#rf .c:hover{border-color:#3E57A8!important;box-shadow:0 1px 0 rgba(255,255,255,.06) inset,0 14px 34px rgba(0,0,0,.45),0 0 0 1px rgba(125,166,255,.18)}
#rf .c.weak{background:rgba(14,24,56,.55)!important;border-style:dashed!important;box-shadow:none}
#rf .c .hd{align-items:center!important;gap:4px 8px!important}
#rf .rfAv{position:relative;flex:none;width:44px;height:44px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;margin-right:4px;
  font:800 17px/1 var(--u-frontier);letter-spacing:.5px;color:#fff;
  background:radial-gradient(circle at 30% 25%,hsl(var(--avh) 70% 46%),hsl(calc(var(--avh) + 40) 70% 30%) 70%);text-shadow:0 1px 1px rgba(0,0,0,.35); /* 25 Oct sweep: initials readable (the light centre was 3:1 under white text) */
  box-shadow:0 0 0 2px var(--u-panel),0 0 0 3px hsla(var(--avh),80%,65%,.6)}
#rf .rfStar{position:absolute;right:-8px;bottom:-6px;width:22px;height:22px;display:flex;align-items:center;justify-content:center;font:800 11px/1 var(--u-frontier);font-style:normal;color:var(--u-brass-ink);
  background:var(--u-brass);clip-path:polygon(50% 0,61% 32%,95% 35%,68% 56%,79% 91%,50% 71%,21% 91%,32% 56%,5% 35%,39% 32%);filter:drop-shadow(0 0 4px rgba(232,176,75,.7))}
#rf .c b.nm{font:700 17px/1.2 var(--body)!important;color:#fff!important;text-decoration:none!important}
#rf .c b.nm:hover{color:var(--u-brand-2)!important;text-decoration:underline!important}
#rf .c .sc .tot{font:800 34px/1 var(--u-frontier)!important;color:#fff!important;letter-spacing:0!important;text-shadow:0 0 18px rgba(125,166,255,.55)}
#rf .c .sc .tb{height:7px!important;border-radius:99px!important;background:#1A2650!important;box-shadow:0 0 0 1px rgba(125,166,255,.15) inset}
#rf .c .sc .tb u{border-radius:99px;background:linear-gradient(90deg,#2F5BEA,#7DA6FF 60%,#E8B04B)!important;box-shadow:0 0 10px rgba(125,166,255,.75),0 0 2px #fff}
#rf .c .acts .btn{border-radius:99px!important}
#rf .c .acts .btn.ch.go{background:linear-gradient(180deg,#3D6BFF,#2F5BEA)!important;border-color:#4F7DFF!important;color:#fff!important;box-shadow:0 6px 16px rgba(47,91,234,.35)}
#rf .c .acts .btn.ch.go:hover{box-shadow:0 8px 22px rgba(61,107,255,.55);transform:translateY(-1px)}
#rf .c .acts .btn.rfNo{border-color:rgba(255,138,128,.45)!important;color:var(--u-bad)!important}
#rf .c .acts .btn.rfNo:hover{background:var(--u-bad-tint)!important}
#rf .wl{color:var(--u-brass-2)!important}
#rf .wl::before{flex:1;height:4px!important;border-radius:2px;background:repeating-linear-gradient(135deg,var(--u-brass) 0 3px,#8C6420 3px 5px,var(--u-brass-2) 5px 7px)!important;opacity:.8}
#rf .wl::after{background:repeating-linear-gradient(90deg,var(--u-line) 0 8px,transparent 8px 13px)!important}
#rf .chip.crux{background:rgba(74,222,155,.18)!important;color:var(--u-good)!important;border-color:transparent!important}
#rf .chip.cruxq{background:var(--u-warn-tint)!important;color:var(--u-warn)!important;border-color:transparent!important}
.kyPager button{background:var(--u-panel)!important;color:var(--u-ink)!important;border-color:var(--u-line)!important;border-radius:99px!important}
.kyPager button.on{background:linear-gradient(180deg,#3D6BFF,#2F5BEA)!important;border-color:#4F7DFF!important;color:#fff!important;box-shadow:0 0 14px rgba(61,107,255,.45)}
@media (max-width:900px){#rf .rfAv{width:38px;height:38px;font-size:15px}#rf .c .sc .tot{font-size:28px!important}}

/* ---------- Home: the greeting in frontier type, numbers that glow ---------- */
#hm .hi .hello{font:800 34px/1.05 var(--u-frontier)!important;letter-spacing:.2px!important;color:#fff!important;text-wrap:balance;max-width:28ch}
#u2Today{border:1px solid #33478A!important;background:linear-gradient(160deg,rgba(47,91,234,.16),rgba(14,24,56,0) 55%),var(--u-panel)!important;box-shadow:0 0 0 1px rgba(125,166,255,.08),0 18px 44px rgba(0,0,0,.45)!important}
#u2Today .u2hd h2{font:800 22px/1 var(--u-frontier)!important;letter-spacing:.4px;color:#fff}
#u2Today .u2k i{background:var(--u-brass)!important;color:var(--u-brass-ink)!important;border-radius:50%!important}
#u2Today .u2n{font:800 44px/1 var(--u-frontier)!important;color:#fff!important;text-shadow:0 0 22px rgba(125,166,255,.45)}
#u2Today .u2n.hot{color:var(--u-brass-2)!important;text-shadow:0 0 22px rgba(232,176,75,.5)}
#u2Today .u2c{border-color:var(--u-line-2)!important}
#u2Today .bar{background:#1A2650!important}
#u2Today .bar i{background:linear-gradient(90deg,#2F5BEA,#7DA6FF)!important;box-shadow:0 0 6px rgba(125,166,255,.7)}
#hm .meter span b,#kyScore b,#kyTrack .t b,#kyTrack .tile b{font-family:var(--u-frontier)!important;font-weight:800!important}
@media (max-width:900px){#hm .hi .hello{font-size:26px!important}#u2Today .u2n{font-size:34px!important}}

/* ---------- reduced motion: no lifts, no glows that move ---------- */
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}.btn:hover,.btn.p:hover,.btn.gold:hover{transform:none!important}}

/* ---------- blue space cowboy: the last few spots the repaint cannot read ---------- */
#kyWs button.on,#kyWs button.on *{background:linear-gradient(180deg,#3D6BFF,#2F5BEA)!important;color:#fff!important}
#kyWs button.on.jacobs,#kyWs button.on.jacobs *{background:linear-gradient(180deg,#E8B04B,#D69A32)!important;color:var(--u-brass-ink)!important}
#md .btn.sm.on,.btn.on{background:var(--u-fill)!important;border-color:#4F7DFF!important;color:#fff!important}
#ibMid .ibbig{color:var(--u-faint)!important}
#hm .pill button[data-m="recruiting"]{background:#15803D!important}
#hm .pill button[data-m="sales"]{background:#C81E36!important}

/* ---------- the look switch (25 Oct 2026): top bar pill and Settings → Me ----------
   Alex, 25 Oct 6:57 pm: "can you give users the choice of white or dark blue for the experience". The pill shows both looks
   side by side, the knob sits on the one in use; the label names it. Settings → Me shows the same choice as two tiles. */
#kyLookBtn{display:inline-flex;align-items:center;gap:7px}
#kyLookBtn .lk{position:relative;flex:none;width:34px;height:18px;border-radius:99px;border:1px solid var(--u-line);
  background:linear-gradient(90deg,#0E1838 0 50%,#FFFFFF 50% 100%);box-shadow:0 0 0 1px rgba(255,255,255,.04) inset}
#kyLookBtn .lk::after{content:'';position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:#E8B04B;
  box-shadow:0 0 0 2px rgba(232,176,75,.35);transition:left .15s ease}
:root[data-look="white"] #kyLookBtn .lk::after{left:18px}
.kyLookPick{display:grid;grid-template-columns:repeat(2,minmax(0,220px));gap:12px;margin:8px 0 4px}
.kyLookPick button{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:8px;padding:10px;border-radius:var(--u-r-lg);
  border:1px solid var(--u-line);background:var(--u-panel);color:var(--u-ink);font:600 var(--u-t-md)/1.25 var(--body)}
.kyLookPick button:hover{border-color:var(--u-brand)}
.kyLookPick button:focus-visible{outline:2px solid var(--u-brass);outline-offset:2px}
.kyLookPick button[aria-pressed="true"]{border-color:var(--u-fill);box-shadow:0 0 0 2px var(--u-fill)}
.kyLookPick small{font:400 var(--u-t-sm)/1.3 var(--body);color:var(--u-muted)}
.kyLookPick .pv{display:block;height:64px;border-radius:var(--u-r-md);overflow:hidden;border:1px solid var(--u-line-2);position:relative}
.kyLookPick .pv i{position:absolute;left:0;right:0;top:0;height:12px}
.kyLookPick .pv b{position:absolute;left:10px;top:20px;width:46%;height:34px;border-radius:6px}
.kyLookPick .pv u{position:absolute;right:10px;top:26px;width:28%;height:14px;border-radius:5px;background:linear-gradient(180deg,#3D6BFF,#2F5BEA)}
.kyLookPick .pv.d{background:linear-gradient(180deg,#0B1433,#04081A)} .kyLookPick .pv.d i{background:#070D24;border-bottom:1px solid #E8B04B} .kyLookPick .pv.d b{background:#0E1838;border:1px solid #2A3B70}
.kyLookPick .pv.w{background:#F3F6FB} .kyLookPick .pv.w i{background:#FFFFFF;border-bottom:1px solid #E8B04B} .kyLookPick .pv.w b{background:#FFFFFF;border:1px solid #D2DBE8}
@media (max-width:560px){.kyLookPick{grid-template-columns:1fr 1fr}}

/* ---------- White: the daylight look (25 Oct 2026) ----------
   The same desk in daylight: white panels on a cool mist page, deep navy ink, the two-tone Kyro blue for the primary and
   the lit tab, brass kept small (the sheriff star, the horizon line under the top bar, the focus ring). Every text token
   passes AA (4.5:1) on panel, page and sunk ("look:" checks). In White, ui2.js does not repaint the page modules: their
   own light colours are the right ones here. The top bar stays a solid bar with no blur or layering effects (Top bar rule). */
:root[data-look="white"]{
  --u-void:#E9EEF6; --u-page:#F3F6FB; --u-panel:#FFFFFF; --u-sunk:#EDF1F7; --u-hover:#E8EEF8; --u-sel:#DCE6FA;
  --u-glass:rgba(255,255,255,.94); --u-line:#D2DBE8; --u-line-2:#E3E9F2;
  --u-ink:#0B1A33; --u-ink-2:#24344F; --u-muted:#4A5973; --u-faint:#56657F;
  --u-brand:#1F4FD1; --u-brand-2:#173FA8; --u-fill:#2F5BEA; --u-fill-2:#3D6BFF; --u-brand-tint:#E7EEFD;
  --u-brass:#8C5D00; --u-brass-2:#7E5300; --u-brass-ink:#FFFFFF; --u-brass-tint:rgba(232,176,75,.16);
  --u-red:#C4261D; --u-teal:#0F766E;
  --u-good:#13774B; --u-good-tint:#E3F4EC;
  --u-bad:#B42318;  --u-bad-tint:#FDECEA;
  --u-warn:#8A5300; --u-warn-tint:#FDF3DC;
  --u-info-tint:#E7EEFD;
  --u-e1:0 1px 2px rgba(15,35,80,.07);
  --u-e2:0 10px 28px rgba(15,35,80,.12),0 0 0 1px rgba(15,35,80,.04);
  --u-e3:0 22px 54px rgba(15,35,80,.16),0 0 0 1px rgba(15,35,80,.05);
  --u-glow:0 0 0 1px rgba(47,91,234,.25),0 8px 22px rgba(47,91,234,.18);
  --u-focus:0 0 0 3px rgba(47,91,234,.22);
  --c-like:#0B7375; --c-does:#4F46E5; --c-exp:#B45309; --c-contract:#7C3AED; --c-pay:#15803D;
  --s-new:#4A5973; --s-reached:#1F4FD1; --s-talking:#0F766E; --s-submitted:#6D28D9; --s-interview:#B45309; --s-offer:#BE185D; --s-placed:#15803D; --s-no:#B42318;
  --s-due:#C4261D; --s-ok:#13774B; --s-wait:#8A5300;
  color-scheme:light;
}
:root[data-look="white"],:root[data-look="white"] body{color-scheme:light}
:root[data-look="white"]{background-color:#EEF2F8}
:root[data-look="white"] body,:root[data-look="white"] #rf,:root[data-look="white"] #hm{
  background:radial-gradient(1200px 520px at 86% -14%,rgba(47,91,234,.07),transparent 62%),linear-gradient(180deg,#F6F8FC 0%,#EEF2F8 100%)!important;
  background-size:auto!important;background-attachment:fixed!important}
:root[data-look="white"] ::selection{background:rgba(47,91,234,.2);color:var(--u-ink)}
/* buttons: white with a crisp rim; the primary keeps the Kyro blue slab */
:root[data-look="white"] .btn{background:linear-gradient(180deg,#FFFFFF,#F5F8FC);border-color:var(--u-line);color:var(--u-ink);box-shadow:0 1px 2px rgba(15,35,80,.07)}
:root[data-look="white"] .btn:hover{background:#F1F5FE;border-color:var(--u-brand);color:var(--u-brand-2);box-shadow:0 0 0 1px rgba(47,91,234,.16),0 4px 12px rgba(15,35,80,.08)}
:root[data-look="white"] .btn.p{background:linear-gradient(180deg,#3D6BFF 0%,#2F5BEA 55%,#2449C9 100%);border-color:#2F5BEA;color:#fff;box-shadow:0 1px 0 rgba(255,255,255,.25) inset,0 6px 16px rgba(47,91,234,.26)}
:root[data-look="white"] .btn.p:hover{color:#fff;border-color:#1F4FD1;box-shadow:0 1px 0 rgba(255,255,255,.3) inset,0 8px 22px rgba(47,91,234,.34)}
:root[data-look="white"] .btn.gold,:root[data-look="white"] .btn.gold:hover{color:#1A1405;border-color:#D69A32;box-shadow:0 1px 0 rgba(255,255,255,.5) inset,0 6px 16px rgba(214,154,50,.25)}
:root[data-look="white"] .btn.on,:root[data-look="white"] #md .btn.sm.on{background:var(--u-fill)!important;border-color:var(--u-fill)!important;color:#fff!important}
:root[data-look="white"] input[type=search],:root[data-look="white"] input[type=text],:root[data-look="white"] input[type=email],:root[data-look="white"] input[type=number],
:root[data-look="white"] input[type=date],:root[data-look="white"] input[type=tel],:root[data-look="white"] input[type=url],:root[data-look="white"] input[type=password],
:root[data-look="white"] input:not([type]),:root[data-look="white"] select,:root[data-look="white"] textarea{background:#FFFFFF!important}
:root[data-look="white"] .card{background:#FFFFFF}
/* top bar: a solid white bar, the brass and blue horizon line kept as the one thread between the two looks */
:root[data-look="white"] #kyTop{background:#FFFFFF!important;border-bottom:1px solid var(--u-line)!important;color:var(--u-ink)!important}
:root[data-look="white"] #kyTop::after{background:linear-gradient(90deg,transparent,#3D6BFF 20%,#E8B04B 50%,#3D6BFF 80%,transparent)!important}
:root[data-look="white"] #kyTop button:hover{background:var(--u-hover)!important;color:var(--u-brand-2)!important}
:root[data-look="white"] #kyTop .grp .menu,:root[data-look="white"] #kyGo{background:#FFFFFF!important}
:root[data-look="white"] #kyTop .tabs button.on,:root[data-look="white"] #kyTop .grp.on .gb,:root[data-look="white"] #kyTop .grp .menu button.on,:root[data-look="white"] #kyTabs [data-u2tab].on{
  box-shadow:0 0 0 1px #2F5BEA inset,0 4px 12px rgba(47,91,234,.25)!important;color:#fff!important}
:root[data-look="white"] #kyWs button.on.jacobs,:root[data-look="white"] #kyWs button.on.jacobs *{color:#1A1405!important}
:root[data-look="white"] #kyTabs [data-u2tab] .u2n:not(:empty){background:#E8B04B;color:#1A1405}
/* Fill this req: the same profile cards, on white */
:root[data-look="white"] #rf .bar{background:rgba(255,255,255,.97)!important;border-bottom:1px solid var(--u-line)}
:root[data-look="white"] #rf .c{background:#FFFFFF!important;border-color:var(--u-line)!important;box-shadow:0 1px 2px rgba(15,35,80,.06),0 6px 18px rgba(15,35,80,.06)}
:root[data-look="white"] #rf .c:hover{border-color:#9DB5F2!important;box-shadow:0 10px 26px rgba(15,35,80,.10),0 0 0 1px rgba(47,91,234,.12)}
:root[data-look="white"] #rf .c.weak{background:#F7F9FC!important}
:root[data-look="white"] #rf .rfStar{background:#E8B04B;color:#1A1405;filter:drop-shadow(0 1px 2px rgba(140,93,0,.45))}
:root[data-look="white"] #rf .c b.nm{color:var(--u-ink)!important}
:root[data-look="white"] #rf .c b.nm:hover{color:var(--u-brand)!important}
:root[data-look="white"] #rf .c .sc .tot{color:var(--u-ink)!important;text-shadow:none}
:root[data-look="white"] #rf .c .sc .tb{background:#E3E9F4!important;box-shadow:none}
:root[data-look="white"] #rf .c .sc .tb u{background:linear-gradient(90deg,#2449C9,#3D6BFF 60%,#E8B04B)!important;box-shadow:none}
:root[data-look="white"] #rf .c .acts .btn.ch.go{color:#fff!important;box-shadow:0 4px 12px rgba(47,91,234,.25)}
:root[data-look="white"] #rf .c .acts .btn.rfNo{border-color:rgba(180,35,24,.35)!important}
:root[data-look="white"] #rf .chip.crux{background:var(--u-good-tint)!important}
/* Home: navy headlines, numbers without the glow */
:root[data-look="white"] #hm .hi .hello{color:var(--u-ink)!important}
:root[data-look="white"] #u2Today{border:1px solid var(--u-line)!important;background:linear-gradient(160deg,rgba(47,91,234,.06),rgba(255,255,255,0) 55%),#FFFFFF!important;box-shadow:0 1px 2px rgba(15,35,80,.05),0 12px 32px rgba(15,35,80,.08)!important}
:root[data-look="white"] #u2Today .u2hd h2{color:var(--u-ink)}
:root[data-look="white"] #u2Today .u2n{color:var(--u-ink)!important;text-shadow:none}
:root[data-look="white"] #u2Today .u2n.hot{color:var(--u-brass)!important;text-shadow:none}
:root[data-look="white"] #u2Today .bar{background:#E3E9F4!important}
:root[data-look="white"] #u2Today .bar i{background:linear-gradient(90deg,#2449C9,#3D6BFF)!important;box-shadow:none}
/* 25 Oct sweep: White keeps the dark-look chip colours readable (they were light-on-white, 1.7 to 2.4:1). The profile's
   opt-in, "said yes", "no phone yet" and payroll chips, the company scorecard tags, the score mix labels and the Settings tabs. */
:root[data-look="white"] .pfChip.g{color:var(--u-good)!important;border-color:#1f9d62!important}
:root[data-look="white"] .pfChip.a{color:var(--u-warn)!important;border-color:#d9a21b!important}
:root[data-look="white"] .pfChip.r{color:var(--u-bad)!important;border-color:#d4493e!important}
:root[data-look="white"] .pfChip.b{color:var(--u-brand)!important;border-color:#2b6cff!important}
:root[data-look="white"] .scV.t{color:var(--u-good)!important}
:root[data-look="white"] .scV.s{color:var(--u-brand)!important}
:root[data-look="white"] #pfTools #pfOptin[data-state=opted_in],:root[data-look="white"] #pfTools #pfOptinYes{color:var(--u-good)!important}
:root[data-look="white"] #pfTools #pfOptin[data-state=none]{color:var(--u-warn)!important}
:root[data-look="white"] #pfTools #pfOptin[data-state=invited]{color:#0B5C73!important}
:root[data-look="white"] #pfTools #pfOptin[data-state=opted_out]{color:var(--u-bad)!important}
:root[data-look="white"] #stg .tabs button.on,:root[data-look="white"] #stg .tabs button:hover{color:var(--u-ink)!important}

/* ---------- page headers on a phone: small enough to see the page (4 Nov 2026) ----------
   Alex, 4 Nov 2026: "there are sections wehre the header is huge and info can't be seen very well." On a 390 wide phone the AI
   Caller header took 260 px and Activity 212 px of an 844 px screen. The words all stay; they get a smaller size, the buttons a
   tighter row, and the follow-ups / Next strip (the bottom tab bar already has Next) leaves the header. Inbox's header row wraps
   instead of sliding sideways with no scrollbar, so no button sits past the edge. Check: tests/format_audit.py. */
@media (max-width:900px){
  body .hd h1,body .hd h2{font-size:18px!important;line-height:1.2!important;margin:0!important}
  body .hd .sub,body .hd>p,body .hd .hint{font-size:12px!important;line-height:1.35!important;margin:2px 0 0!important}
  body .hd .btn.sm,body .hd>.btn{min-height:36px!important;padding:5px 10px!important;font-size:12.5px!important}
  body .hd{gap:6px!important;padding-top:8px!important;padding-bottom:8px!important}
  body .hd .kyPW{display:none!important}
  #ib>.hd{flex-wrap:wrap!important;overflow-x:visible!important}
}
/* the top bar's ⌕ Go to keeps room for its icon (it shrank to 14 px at 1024 wide once 🔍 Find joined the bar) */
@media (min-width:901px){#kyTop .go{min-width:36px!important;flex-shrink:0!important}}
@media (min-width:901px) and (max-width:1180px){#kyTop>button,#kyTop .tabs button,#kyTop .grp .gb{padding-left:6px!important;padding-right:6px!important}#kyTop{gap:1px!important}}
/* 6 Nov 2026: the week's real submittals, one line on Today (ui2.js weekLine) */
#u2Today .u2wk{padding:6px var(--u-s4);font-size:var(--u-t-sm);color:var(--u-muted);border-bottom:1px solid var(--u-line-2);display:flex;flex-wrap:wrap;gap:4px 8px}
#u2Today .u2wk b{color:var(--u-ink)}#u2Today .u2wk a{cursor:pointer;white-space:nowrap}

/* 12 Nov 2026: Home leads with Today; the numbers fold under it (Alex: simplify, subtract before adding) */
.hNums{margin:18px 0;border:1px solid var(--u-line,#2a3a5c);border-radius:14px;padding:6px 14px;background:var(--u-panel,transparent)}
.hNums>summary{cursor:pointer;padding:10px 2px;font-weight:600;color:var(--u-ink2,inherit);list-style:none}
.hNums>summary::before{content:"▸ "}.hNums[open]>summary::before{content:"▾ "}
.hNums[open]>summary{border-bottom:1px solid var(--u-line,#2a3a5c);margin-bottom:10px}

/* Inbox layout, rebuilt (Alex, 16 Nov 2026, 12:53 am: "Make the whole set up better it's horrible"). Measured on a 1366 x 543 window:
   the header, filters and person card took about 330px and left about 140px for the email. Now: one header row, filters in about 110px,
   the person on one line, the email gets the rest, and the writer opens full height. Looks only: no data, no logic. */
body:has(#ib.on) #kyWorldTag{display:none!important}
#ib>.hd{padding:5px 12px!important;gap:6px!important;align-items:center!important;flex-wrap:wrap}
#ib>.hd button,#ib>.hd summary,#ib>.hd .btn{min-height:30px!important;height:30px!important;padding:0 11px!important;font-size:13px!important}
#ib>.hd .lanes{gap:5px!important}
#ib>.hd .lanes button{height:30px!important;padding:0 10px!important}
#ib>.hd>div:not(.lanes){margin-left:auto;display:flex;gap:6px;align-items:center}
#ib>.hd .kyPW{margin:0!important;display:inline-flex;gap:6px;align-items:center;font-size:12px}
#ib>.hd .kyThr{margin:0!important}
#ib>.hd details.kyMbxBox{height:auto!important;padding:0!important}
#ib>.hd details.kyMbxBox>summary{display:inline-flex;align-items:center}
#ib .ls .f{padding:8px 10px 6px!important;gap:6px!important}
#ib #ibQ{height:32px!important;min-height:0!important}
#ib #ibF{display:flex;flex-wrap:wrap;gap:4px!important;margin:0!important;padding:0!important;border:0!important;background:none!important}
#ib #ibF>*{margin:0!important}
#ib #ibF select{height:30px!important;min-height:0!important;flex:1 1 100%}
#ib #ibF .seg{display:flex;flex-wrap:nowrap;gap:3px;width:100%}
#ib #ibF .seg button{height:26px!important;min-height:0!important;padding:0 7px!important;font-size:11.5px!important;white-space:nowrap;flex:0 0 auto}
#ib #ibF .seg2{display:flex;gap:10px;align-items:center;width:100%;padding:0 2px!important;border:0!important;background:none!important;font-size:12px}
#ib #ibF .seg2 button,#ib #ibF .seg2 a{height:22px!important;min-height:0!important;padding:0!important;background:none!important;border:0!important}
#ib #ibF .kyMbx{display:flex;flex-wrap:wrap;gap:2px 8px;width:100%;align-items:center}
#ib #ibF .kyMbx>*:not(select){margin:0!important;font-size:11px!important}
#ib #ibF .kyMbx select{order:1}
/* 16 Nov 2026 2:59 am, Alex: "Make it perfect". One row for the mailbox pick: no MAILBOX label, the picker takes the width, Monitor beside it. Looks only. */
#ib #ibF .kyMbx{flex-wrap:nowrap!important;gap:6px!important}
#ib #ibF .kyMbx>label,#ib #ibF .kyMbx>.lbl,#ib #ibF .kyMbx>span:first-child:not(:only-child){display:none!important}
#ib #ibF .kyMbx select{flex:1 1 auto!important;min-width:0;height:28px!important;order:0}
#ib #ibF .kyMbx button{order:2;flex:0 0 auto;height:28px!important;white-space:nowrap}
#ib #ibMid{height:100%;min-height:0;overflow:hidden}
#ib #ibMid .who{padding:4px 14px!important;gap:8px!important;min-height:0!important;flex:0 0 auto}
#ib #ibMid .who .ibav.lg{width:30px!important;height:30px!important;font-size:12px!important}
#ib #ibMid .who h2{font-size:15px!important;margin:0!important}
#ib #ibMid .who .wm{display:flex;flex-direction:row!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:baseline!important;gap:2px 12px!important;text-align:left!important;min-height:0!important}
#ib #ibMid .who .wm>*{margin:0!important}
#ib #ibMid .who .kyHdLine{flex:1 1 300px;text-align:left!important;font-size:12px!important;opacity:.85}
#ib #ibMid .who #ibActs{height:22px!important;min-height:0!important;width:auto!important;padding:0!important;margin:0!important;overflow:hidden}
#ib #ibMid .ibbar{flex:0 0 auto;padding:3px 14px!important;gap:5px!important}
#ib #ibMid .ibbar button,#ib #ibMid .ibbar summary{height:30px!important;min-height:0!important;padding:0 11px!important;font-size:13px!important}
#ib #ibMid .pin,#ib #ibMid .reach,#ib #ibMid #ibNextBox{flex:0 0 auto;padding:4px 14px;font-size:12px}
#ib #ibMid .tl{flex:1 1 0!important;min-height:120px!important;overflow:auto}
#ib #ibMid .cmp{flex:0 0 auto;display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:5px 12px 6px!important;border-top:2px solid var(--u-brand,#4f8cff)}
#ib #ibMid .cmp .r1{display:none!important}
#ib #ibMid .cmp:focus-within .r1{display:flex!important}
#ib #ibMid .cmp input.subj{order:2;flex:1 1 240px;width:auto;margin:0;height:30px!important}
#ib #ibMid .cmp .r2{display:contents}
#ib #ibMid .cmp #ibSend{order:3;height:30px!important;min-width:96px;font-weight:700}
#ib #ibMid .cmp textarea{order:4;flex:1 1 100%;min-height:34px!important;height:34px!important;max-height:none!important;font-size:17px;line-height:1.55;color:var(--u-ink,#f4f7ff);transition:height .12s}
#ib #ibMid .cmp:focus-within textarea{height:42vh!important}
#ib .tl .b,#ib .tl .bd{font-size:15.5px!important;line-height:1.6!important}
#ib #ibMid .cmp #ibSave,#ib #ibMid .cmp #ibFu,#ib #ibMid .cmp #ibMsg{order:5}

/* 17 Nov 2026, Alex, verbatim: "where I type, i can't read, i can't read what is sent, the information being sent isn't easily accessable, i dont want to have to scroll in small boxes, i need smaller buttons and non read / write sections to have more space to read and write".
   Desktop only (phones keep 44 px targets). Looks only: no data, no logic. One scale: smaller controls, and every read / write area takes the room. */
@media (min-width:901px){
  :root{--u-h:30px;--u-h-sm:24px}
  .btn{padding:4px 11px;font-size:13px}
  .btn.sm{padding:3px 9px;font-size:12px}
  /* Inbox chrome: header, filters and person row shrink so the email gets the screen */
  body #ib>.hd{padding-top:4px!important;padding-bottom:4px!important;gap:6px!important}
  body #ib>.hd button,body #ib>.hd summary,body #ib>.hd .btn,body #ib>.hd .chip,body #ib>.hd select{min-height:26px!important;height:26px!important;padding:0 9px!important;font-size:12.5px!important}
  body #ib #ibMid .who{padding-top:6px!important;padding-bottom:4px!important}
  body #ib #ibMid .btn,body #ib #ibMid .who button,body #ib #ibMid summary{min-height:26px!important;height:26px!important;padding:0 10px!important;font-size:12.5px!important}
  body #ib #ibList .btn,body #ib #ibList button,body #ib #ibList select{min-height:26px!important;font-size:12.5px!important}
  /* what was sent is read in full, in the page, never in a small scrolling or clipped box */
  #ib .b .x.clip{max-height:none!important;overflow:visible!important}
  #ib .ibtr,#ib .ibnotes{max-height:none!important;overflow:visible!important}
  .kyThr ul{max-height:none!important;overflow:visible!important}
  #ib #ibMid .tl{font-size:15.5px}
  /* where you write */
  #ib .cmp textarea{min-height:150px!important;max-height:55vh!important;font-size:16px!important;line-height:1.5}
  #iw textarea{font-size:17px!important}
}

/* 17 Nov 2026, Alex, verbatim (the same ask, the screens not done in the block above): "where I type, i can't read, i can't read what is sent,
   the information being sent isn't easily accessable, i dont want to have to scroll in small boxes, i need smaller buttons and non read / write
   sections to have more space to read and write". Later: "the email tool is badly designed." Measured on his laptop size, 1366 x 600
   (tests/layout_shots_17nov.py, shots and numbers in docs/layout-17nov/). Desktop only (phones keep their 44 px targets). Looks only: no
   data, no logic; no control removed, no order changed, nothing put behind a new click. Check: locked_test.py "read write space:". */
@media (min-width:901px){
  /* ---- 1) Fill this req: the rows above the list are one tight strip each, so the people start sooner ---- */
  body #rf .wrap{padding-top:6px!important}
  body #rf .top{gap:8px!important;align-items:center!important}
  body #rf .top>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 12px}
  body #rf h1{font-size:17px!important;line-height:1.2!important}
  body #rf .meta{margin-top:0!important;font-size:12px!important}
  body #rf #rfIntel{margin:4px 0 0!important}
  body #rf #rfIntel>summary{padding:3px 0!important;min-height:0!important;font-size:12.5px!important}
  body #rf .btn,body #rf .btn.sm2,body #rf .mix .btn,body #rf .mix .btn.sm2,body #rf .rfltB{min-height:24px!important;padding:2px 9px!important;font-size:12px!important;line-height:1.25!important}
  body #rf .rfJdTab{min-height:120px!important;padding:10px 0!important}
  body #rf .bar{margin:4px 0 2px!important;padding:3px 0!important;gap:3px 8px!important}
  body #rf .bar .sum,body #rf .bar label,body #rf .bar .sub{font-size:12px!important}
  body #rf .bar>.sub:empty,body #rf .bar>div.sub:empty{display:none}
  body #rf .bar .kyCn{margin-left:0}
  body #rf .lanes{margin:3px 0!important;gap:4px!important}
  body #rf .lanes .ln{padding:1px 9px!important;font-size:12px!important;min-height:22px!important}
  body #rf .mix{margin:3px 0 4px!important;padding:3px 10px!important;gap:3px 10px!important;border-radius:10px!important}
  body #rf .mix .vw select{min-height:24px!important;padding:1px 6px!important;font-size:12.5px!important}
  body #rf .mix .rfQuick{padding-top:3px!important;gap:4px!important}
  body #rf .mix .rfQ{min-height:22px!important;padding:1px 10px!important;font-size:12px!important}
  body #rf .rfBench{margin:3px 0!important;display:flex;flex-wrap:wrap;align-items:center;gap:3px 8px;font-size:12.5px}
  body #rf .rfBench input{flex:1 1 220px;min-height:24px!important;height:24px;padding:1px 8px!important;font-size:12.5px!important;margin:0!important}
  body #rf .rfPageAct{margin:3px 0!important;gap:4px 8px!important}
  body #rf .rfPageAct input{min-height:24px!important;height:24px;padding:1px 6px!important;font-size:12.5px!important}
  body #rf .rfFwrap{margin:3px 0!important}
  body #rf .rfFwrap>summary{font-size:12.5px!important;padding:1px 0!important}
  body #rf .rfF{margin:3px 0 4px!important;padding:5px 8px!important}
  body #rf #rfFq{min-height:26px!important;height:26px;padding:2px 10px!important;font-size:13px!important}
  body #rf .rfFgs{gap:4px!important;margin-top:5px!important}
  body #rf .rfFg summary,body #rf .rfFg.off{min-height:22px!important;padding:2px 9px!important;font-size:12px!important;line-height:1.35!important}
  body #rf .rfTabs{margin:4px 0 3px!important;gap:0 2px!important}
  body #rf .rfTabs button{padding:3px 7px!important;font-size:12.5px!important;min-height:24px!important}
  body #rf .rfGrp{margin:6px 0 4px!important;padding:2px!important;font-size:13.5px!important}
  /* the cards: the same facts on fewer lines, so more of each person and more people fit a short screen */
  body #rf .c{padding:8px 12px!important;margin-bottom:6px!important;gap:8px!important;border-radius:12px!important}
  body #rf .rfAv{width:30px!important;height:30px!important;font-size:12px!important}
  body #rf .c b.nm{font-size:15.5px!important}
  body #rf .c .sc .tot{font-size:24px!important}
  body #rf .c .hd .rfEdu{flex-basis:auto!important;margin-top:0!important}
  body #rf .c .hd .rfEdu+.rfEdu::before{content:'·';margin-right:8px;opacity:.5}
  body #rf .whyl{margin:3px 0 1px!important;padding:3px 9px!important}
  body #rf .wcBox{margin:3px 0 1px!important}
  body #rf .c ul{margin:2px 0 0!important}
  body #rf .c li{padding:0!important}
  body #rf .lt{margin-top:2px!important}
  body #rf .acts{gap:3px!important}
  body #rf .acts .miss{padding:3px 7px!important}
  body #rf .acts .sm{gap:3px!important}
  body #rf .c{grid-template-columns:22px 78px minmax(0,1fr) 292px!important;contain-intrinsic-size:auto 220px!important}
  body #rf .acts{min-width:0!important;max-width:none!important}
  body #rf .c .bd>.lead,body #rf .c .bd>.sub,body #rf .c .bd>.lts,body #rf .c .bd>.cr,body #rf .c .bd>.pr,body #rf .c .bd>.wtd{display:inline-block;margin:1px 16px 0 0!important;vertical-align:baseline}
  body #rf .c .bd>ul>li{display:inline-block;margin-right:16px}
  body #rf .c .hd>.sub{flex-basis:auto!important}
  body #rf .c .bd>.wcBox:not([open]){display:inline-block;vertical-align:middle;margin:2px 16px 0 0!important}
  /* ---- 2) Reach out: the pop-up is the height of the screen, the email body takes every px the fields above it leave, Send stays in view ---- */
  body #kyReach{padding:6px 16px!important;align-items:stretch!important}
  body #kyReach .box{max-height:none!important;height:100%;box-sizing:border-box;display:flex;flex-direction:column;padding:8px 16px 10px!important;border-radius:14px!important}
  body #kyReach .box>*{flex:0 0 auto}
  body #kyReach .box>div:first-child>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 12px}
  body #kyReach h2{font-size:16px!important}
  body #kyReach .sub{margin:0!important;font-size:12px!important}
  body #kyReach .ppl{margin:2px 0!important}
  body #kyReach .ch{margin:4px 0!important;gap:4px!important}
  body #kyReach .ch button{padding:2px 11px!important;min-height:24px!important;font-size:12.5px!important}
  body #kyReach .btn{min-height:26px!important}
  body #kyReach label.f{margin:3px 0!important}
  body #kyReach label.f:has(>input){flex-direction:row!important;align-items:center;gap:8px}
  body #kyReach label.f:has(>input)>input{flex:1 1 auto;width:auto!important;min-height:28px!important;height:28px;padding:2px 10px!important}
  body #kyReach #krSub{font-weight:600}
  body #kyReach label.f:has(>textarea){flex:1 1 auto!important;min-height:200px}
  body #kyReach label.f>textarea{flex:1 1 auto;min-height:0!important;height:auto;resize:none;font-size:15.5px!important;line-height:1.55!important;padding:10px 14px!important}
  body #kyReach .row{margin-top:5px!important;gap:6px!important}
  body #kyReach .note{margin-top:3px!important}
  body #kyReach .note:empty{display:none}
  /* ---- 3) Profile: a thinner header (same parts, same order, nothing folded for you), so the why, the notes and the timeline start sooner ---- */
  body #pfPane .pfTop{padding:8px 16px 6px!important}
  body #pfPane .pfHead{row-gap:2px!important;gap:8px!important}
  body #pfPane .pfHead>.pfAv{width:26px!important;height:26px!important;font-size:11px!important}
  body #pfPane .pfHead #pfSize,body #pfPane .pfHead #pfClose,body #pfPane .pfHead #pfBack{min-height:24px!important;padding:2px 9px!important}
  body #pfPane .pfNameBox>.pfSub{margin-top:1px!important}
  body #pfPane .pfNameBox>.pfEdu,body #pfPane .pfNameBox>.pfKow{display:inline-block;margin-right:16px}
  body #pfPane .pfNameBox>#uniPfLi,body #pfPane .pfNameBox>.kySwRow{display:inline-flex!important;align-items:center;gap:8px;margin:2px 14px 0 0!important;vertical-align:middle}
  body #pfPane .pfTop .btn,body #pfPane .pfTop .kyStepBtn,body #pfPane .kySwRow button{min-height:26px!important;padding:2px 10px!important;font-size:12.5px!important}
  body #pfPane .pfTagBox{margin-top:4px!important}
  body #pfPane .pfTagBox.kyF .kySgRow .lb{white-space:nowrap;flex:0 0 auto}
  body #pfPane .pfWhy{margin-top:5px!important;padding:5px 10px!important}
  body #pfPane .pwHl{margin-top:3px!important}
  body #pfPane .pwRows{margin-top:3px!important}
  body #pfPane .pfContactLine,body #pfPane .pfStepBar{margin-top:5px!important}
  body #pfPane .pfDD{margin-top:5px!important;gap:5px!important}
  body #pfPane .kyPc{margin:5px 0!important;padding:4px 10px!important;font-size:13px!important;display:flex;flex-wrap:wrap;gap:0 18px}
  body #pfPane .kyPc .r{margin:1px 0!important}
  body #pfPane .kyFoldBar{margin:4px 0 -2px!important}
  body #pfPane .kyFoldBar button{line-height:1.35!important}
  body #pfPane .pfTabs{margin-top:4px!important}
  body #pfPane .pfTabs button{padding:4px 11px!important;font-size:13px!important}
  body #pfPane .kyFAll{margin:4px 0 -2px!important}
  body #pfPane .pfBody{padding:10px 16px 32px!important;gap:12px!important}
  body #pfPane .pfCard{padding:10px 12px!important;margin-bottom:8px!important}
  body #pfPane .pfCard h3{margin-bottom:6px!important}
  body #pfPane .pfRow{padding:4px 0!important}
  /* reading and writing on the profile: notes and the timeline in full size type, the note box big enough to write in, nothing in a small scroll box */
  body #pfPane .pfEv .n{font-size:14.5px!important;line-height:1.55!important}
  body #pfPane .pfEv .t{font-size:12.5px!important}
  body #pfPane .pfNote{min-height:200px!important;font-size:15.5px!important;line-height:1.55!important;padding:10px 12px!important}
  body #pfPane #pfResTx,body #pfPane #pfPmN,body #pfPane #pfBNotes{min-height:200px!important;font-size:15px!important;line-height:1.5!important}
  body #pfPane .pfRes{font-size:14.5px;line-height:1.55}
  /* ---- 4) Outreach: the email is read whole. Words approval takes the screen, the preview is as tall as the email; Today's rows say the whole subject and reply ---- */
  body #apBox{padding:48px 12px 8px!important}
  body #apBox .apP{max-height:calc(100vh - 56px)!important;width:min(1100px,100%)!important}
  body #apBox .apH{padding:6px 14px!important;gap:4px 10px!important}
  body #apBox .apH h2{font-size:15px!important}
  body #apBox .apT{padding:5px 14px 0!important}
  body #apBox .btn{min-height:26px!important}
  body #apBox .apB{padding:4px 14px 10px!important}
  body #apBox .apC{margin:6px 0!important;padding:8px 12px!important}
  body #apBox .apC pre{max-height:none!important;overflow:visible!important;font-size:15.5px!important;line-height:1.55!important;margin-top:5px!important}
  body #apBox .apC textarea{min-height:max(260px,calc(100vh - 290px))!important;font-size:15.5px!important;line-height:1.55!important}
  body #apBox .apC input[type=text]{font-size:15px!important;font-weight:600;margin-bottom:4px}
  body #apBox .apF{padding:6px 14px!important}
  body #obWrap .obRow .s,body #obWrap .obRow .t b{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere}
  body #obWrap .obRow .q{display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important;font-size:14px;line-height:1.5}
  body #obWrap .obRow{padding:6px 10px!important;margin-top:4px!important;font-size:13px!important}
  body #obWrap .obRow .a{margin-top:5px!important}
  body #obWrap .obRow .a .btn,body #obWrap .btn{min-height:26px!important}
  body #obWrap .obSide{margin-bottom:6px!important}
  body #obWrap .obSide .btn{min-height:26px!important}
  body #obWrap .obCard{padding:8px 12px!important}
  body #obWrap .obHero{gap:10px!important}
  body #obWrap .obHero .st .sub{margin-top:1px!important;line-height:1.35!important}
  body #obWrap .obGo{min-height:30px!important;padding:0 14px!important;font-size:13px!important}
  body #obWrap .obNums{margin-top:6px!important;gap:6px!important}
  body #obWrap .obNums div{padding:3px 10px!important;display:flex;align-items:baseline;gap:8px}
  body #obWrap .obNums b{display:inline!important;font-size:18px!important}
  body #obWrap #obWords{margin:5px 0!important}
  body #obWrap #obWords+*>.obCard,body #obWrap .obCard[style*="margin:10px 0"]{margin:5px 0!important}
  body #obWrap h3.obH{margin:6px 0 4px!important}
  body #obWrap .obCols{margin-top:8px!important}
  body #obWrap .obCol .lede,body #obWrap .lede{margin:0 0 4px!important}
  /* ---- 5) Inbox header: one row at 1366 with every box in it (lanes with counts, View, Mailboxes today, need a reply, Mine / Team, warm, LinkedIn,
     New message, Refresh, replies to answer, Next). Every word and control stays; only padding and type shrink. It still wraps before anything overlaps. ---- */
  body #ib>.hd{gap:4px!important;padding-left:8px!important;padding-right:8px!important}
  body #ib>.hd .lanes{gap:3px!important}
  body #ib>.hd .lanes button{padding:0 7px!important;min-width:0!important}
  body #ib>.hd .lanes button b{font-size:12.5px!important}
  body #ib>.hd .lanes button i{margin-left:5px!important;font-size:11.5px!important}
  body #ib>.hd .kyThr.hdr,body #ib>.hd .kyMbxBox.hdr{margin:0!important;padding:0 2px!important}
  body #ib>.hd .kyThr.hdr summary{gap:5px!important;padding:0 5px!important}
  body #ib>.hd .kyThr.hdr .need{font-size:12px!important}
  body #ib>.hd .kyMbxBox.hdr summary b{font-size:12.5px!important}
  body #ib>.hd>div:not(.lanes){gap:4px!important}
  body #ib>.hd .kyPW{gap:4px!important;font-size:12px!important}
  body #ib>.hd .kyPW .q b{margin-right:3px}
}
/* 17 Nov 2026, the same ask ("i can't read what is sent"): on the words approval screen the email preview, the note line and the "Waiting for" chip
   were light text on a near-white box in the Dark blue look (their colour names had no value there). They read the look's own tokens now, in both looks. */
#apBox .apC pre,#apBox .apN,#apBox .apC .w{background:var(--u-sunk)!important;color:var(--u-ink)!important}
#apBox .apC pre{border:1px solid var(--u-line)}

/* ===== 17 Nov 2026 Inbox messages (ibmsg.js) =====
   Alex, 17 Nov 2026, verbatim: "where I type, i can't read, i can't read what is sent, the information being sent isn't easily accessable, i dont want to
   have to scroll in small boxes, i need smaller buttons and non read / write sections to have more space to read and write"; on a chat picture: "text
   should be this"; "and have it be automatic, no glitching. solid."
   What is INSIDE an open conversation only: texts as bubbles, each email one document card, calls / notes / stage moves as quiet cards, the composer one
   card with tabs. The person header, the list and the View menu are not styled here. Looks only; every colour is a --u-* token, so both looks pass AA. */
body #ib.im #ibMid #ibNextBox:empty{display:none!important}
body #ib.im #ibMid .tl{padding:12px 18px 18px!important;gap:10px!important;min-height:60px!important;background:var(--u-page)!important;scroll-behavior:auto;container-type:inline-size}
body #ib.im .tl>*{max-width:860px}
body #ib.im .tl .ibday{margin:6px auto 0;font-size:11.5px;font-weight:600;letter-spacing:.02em;text-transform:none;color:var(--u-faint);gap:12px}
body #ib.im .tl .ibday::before,body #ib.im .tl .ibday::after{background:var(--u-line-2)}
body #ib.im .tl .imBar{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:var(--u-faint);min-height:24px}
body #ib.im .tl .imBar .imAll,body #ib.im .tl .ibq{border:0!important;background:none!important;color:var(--u-brand)!important;font:inherit;font-size:12.5px!important;font-weight:600;min-height:24px!important;height:auto!important;padding:2px 6px!important;border-radius:6px;cursor:pointer}
body #ib.im .tl .imBar .imAll:hover,body #ib.im .tl .ibq:hover{background:var(--u-hover)!important}
body #ib.im .tl .imBar .imAll:focus-visible,body #ib.im .tl .ibq:focus-visible,body #ib.im .tl .kyMailBar button:focus-visible,body #ib.im #ibMid .imTabs button:focus-visible{outline:2px solid var(--u-brass);outline-offset:1px}
/* --- one email, one document card: who, when and the quiet actions on one line; the subject a title; the whole body in the page */
body #ib.im .tl article.ibc.msg{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:start;background:var(--u-panel)!important;border:1px solid var(--u-line-2)!important;border-radius:12px;box-shadow:none!important;overflow:visible;color:var(--u-ink)}
body #ib.im .tl article.ibc.msg.in{border-left:3px solid var(--u-good)!important}
body #ib.im .tl article.ibc.msg.needs{border-color:var(--u-brand)!important;border-left-color:var(--u-good)!important}
body #ib.im .tl article.ibc.msg.draft{border-style:dashed!important}
/* the header's own parts sit straight on the card's grid: the name and the buttons on line one, when / to / status on line two */
body #ib.im .tl article.ibc.msg>.mh,body #ib.im .tl article.ibc.msg>.mh .mw,body #ib.im .tl article.ibc.msg>.mh .pills{display:contents}
body #ib.im .tl article.ibc.msg>.mh .ibav{grid-column:1;grid-row:1/span 2;width:32px;height:32px;font-size:12px;margin:10px 0 0 14px}
body #ib.im .tl article.ibc.msg>.mh .fr{grid-column:2;grid-row:1;min-width:0;min-height:34px;box-sizing:border-box;padding:10px 12px 0 10px;font-size:14.5px;line-height:1.3;color:var(--u-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body #ib.im .tl article.ibc.msg>.mh .fr .ad{color:var(--u-faint);font-size:12.5px;font-weight:400}
body #ib.im .tl article.ibc.msg>.mh .md{grid-column:2/-1;grid-row:2;display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;min-width:0;max-width:none!important;margin:0;padding:0 14px 6px 10px;text-align:left;font-size:12.5px;color:var(--u-faint);order:0;flex:none}
body #ib.im .tl article.ibc.msg>.mh .md time{flex:0 0 auto;font-size:12.5px;line-height:1.5;color:var(--u-faint);white-space:nowrap}
body #ib.im .tl article.ibc.msg>.mh .md .to{flex:0 1 auto;min-width:0;margin:0;font-size:12.5px;line-height:1.5;color:var(--u-faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body #ib.im .tl article.ibc.msg>.mh .md .to::before{content:"· "}
body #ib.im .tl article.ibc.msg>.mh .pill,body #ib.im .tl article.ibc.msg>.mh .tag{flex:0 1 auto;min-width:0;margin:0;font-size:11.5px;font-weight:600;padding:1px 8px;border-radius:99px;white-space:normal;overflow-wrap:anywhere;line-height:1.45}
body #ib.im .tl .pill.imPlain{display:none!important}
body #ib.im .tl .pill.warn{background:var(--u-bad-tint)!important;color:var(--u-bad)!important}
body #ib.im .tl .pill.amb{background:var(--u-warn-tint)!important;color:var(--u-warn)!important}
body #ib.im .tl .pill.out{background:var(--u-info-tint)!important;color:var(--u-brand)!important}
body #ib.im .tl article.ibc.msg>.mh .snip{grid-column:2/-1;grid-row:3;display:none;min-width:0;margin:0;padding:0 14px 9px 10px;font-size:13.5px;color:var(--u-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body #ib.im .tl article.ibc.msg>.bd{grid-column:1/-1;grid-row:5;padding:2px 20px 16px 56px!important;min-width:0}
body #ib.im .tl article.ibc.msg>.bd .sj{margin:0 0 8px;font-size:18px;font-weight:700;line-height:1.3;letter-spacing:-.005em;color:var(--u-ink)}
body #ib.im .tl article.ibc.msg>.bd .sj.sm{font-size:15px}
body #ib.im .tl article.ibc.msg>.bd .x{font-size:16px!important;line-height:1.65!important;max-width:40em;color:var(--u-ink);max-height:none!important;overflow:visible!important}
body #ib.im .tl article.ibc.msg>.bd .x.qt{margin-top:8px;padding-left:12px;border-left:2px solid var(--u-line);font-size:14.5px!important;line-height:1.55!important;color:var(--u-muted)}
body #ib.im .tl article.ibc.msg>.bd .x a{color:var(--u-brand)}
body #ib.im .tl .imSig{display:block;margin-top:14px;font-size:13.5px;line-height:1.5;color:var(--u-faint)}
body #ib.im .tl .ibq{margin:8px 0 0 -6px}
/* the per-email buttons are ibmail.js's own bar, placed on the header line and drawn quiet */
body #ib.im .tl article.ibc>.kyMailBar{grid-column:3;grid-row:1;display:flex;flex-wrap:nowrap;align-items:center;gap:0;margin:0;padding:6px 10px 0 0;border:0}
body #ib.im .tl article.ibc>.kyMailBar button{min-height:28px;height:28px;padding:0 7px;border:0;border-radius:6px;background:none;color:var(--u-muted);font:inherit;font-size:12.5px;font-weight:600;white-space:nowrap;cursor:pointer}
body #ib.im .tl article.ibc>.kyMailBar button:hover{background:var(--u-hover);color:var(--u-brand)}
body #ib.im .tl article.ibc>.kyMailBar button.del{color:var(--u-bad)}
body #ib.im .tl article.ibc>.kyMailBar button.del:hover{background:var(--u-bad-tint);color:var(--u-bad)}
body #ib.im .tl article.ibc>.kyMailBar .sp{flex:0 0 1px;width:1px;height:14px;margin:0 5px;background:var(--u-line)}
body #ib.im .tl article.ibc>.kyMailBar .sp:first-child,body #ib.im .tl article.ibc>.kyMailBar .sp:last-child{display:none}
/* an older email folded: a header and its first line; a click on the header opens it */
body #ib.im #ibTl article.ibc.msg.col{background:transparent!important}
body #ib.im #ibTl article.ibc.msg.col>.mh .md{grid-column:3;grid-row:1;flex-wrap:nowrap;justify-content:flex-end;padding:10px 14px 0 0}
body #ib.im #ibTl article.ibc.msg.col>.mh .md .to,body #ib.im #ibTl article.ibc.msg.col>.bd,body #ib.im #ibTl article.ibc.msg.col>.kyMailBar{display:none!important}
body #ib.im #ibTl article.ibc.msg.col>.mh .snip{display:block;grid-row:2}
@container (max-width:700px){
  body #ib.im .tl article.ibc>.kyMailBar{grid-column:1/-1;grid-row:4;padding:0 10px 2px 50px;flex-wrap:wrap}
}
/* --- texts: chat bubbles, theirs left, ours right and tinted; one quiet line under: who, the number, the time, the status */
body #ib.im .tl .ibsms{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
body #ib.im .tl .ibsms.out,body #ib.im .tl .ibsms.draft{align-items:flex-end}
body #ib.im .tl .ibsms .bub{max-width:min(72%,540px);padding:8px 13px;border-radius:16px 16px 16px 5px;background:var(--u-panel)!important;border:1px solid var(--u-line-2)!important;color:var(--u-ink)!important;font-size:15.5px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
body #ib.im .tl .ibsms.out .bub{border-radius:16px 16px 5px 16px;background:var(--u-brand-tint)!important;border-color:transparent!important}
body #ib.im .tl .ibsms.draft .bub{border-style:dashed!important;border-color:var(--u-line)!important;background:transparent!important}
body #ib.im .tl .ibsms .bub a{color:var(--u-brand)!important}
body #ib.im .tl .ibsms .mt{margin:1px 6px 0;font-size:11.5px;line-height:1.4;color:var(--u-faint)}
body #ib.im .tl .ibsms.imGrp{margin-top:-7px}
body #ib.im .tl .ibsms.imLead .mt{display:none}
body #ib.im .tl .ibsms.in.imLead .bub{border-bottom-left-radius:16px}
body #ib.im .tl .ibsms.out.imLead .bub{border-bottom-right-radius:16px}
body #ib.im .tl .imSt.bad{color:var(--u-bad);font-weight:600}
body #ib.im .tl .imSt.wait{color:var(--u-warn);font-weight:600}
/* --- calls, notes, stage moves: quiet cards between the messages */
body #ib.im .tl .ibsys{padding:7px 12px;border:1px solid var(--u-line-2)!important;border-radius:10px;background:transparent!important;font-size:12.5px;color:var(--u-muted);align-items:center}
body #ib.im .tl .ibsys .ic{width:22px;height:22px;font-size:12px;background:var(--u-sunk)!important;color:var(--u-muted)!important}
body #ib.im .tl .ibsys .st b{color:var(--u-ink)}
body #ib.im .tl .ibsys .x{margin-top:3px;font-size:14.5px;line-height:1.55;color:var(--u-ink)}
body #ib.im .tl .ibc.call{background:transparent!important;border:1px solid var(--u-line-2)!important;border-radius:10px;box-shadow:none!important;overflow:visible}
body #ib.im .tl .ibc.call .ch{padding:9px 14px 6px;align-items:center}
body #ib.im .tl .ibc.call .cic{width:28px;height:28px;font-size:13px;background:var(--u-warn-tint)!important;color:var(--u-warn)!important}
body #ib.im .tl .ibc.call .fr{font-size:13.5px;color:var(--u-ink)}
body #ib.im .tl .ibc.call .to,body #ib.im .tl .ibc.call .md{font-size:12.5px;color:var(--u-faint)}
body #ib.im .tl .ibc.call .facts{padding:0 14px 8px 52px;gap:6px 18px}
body #ib.im .tl .ibc.call .facts dt{color:var(--u-faint)}
body #ib.im .tl .ibc.call .facts dd{color:var(--u-ink)}
body #ib.im .tl .ibc.call .sum{padding:0 18px 12px 52px;font-size:15.5px!important;line-height:1.6!important;max-width:calc(40em + 70px);color:var(--u-ink);max-height:none!important;overflow:visible!important}
body #ib.im .tl .ibc.call .acts{padding:0 14px 10px 52px}
body #ib.im .tl .ibtr,body #ib.im .tl .ibnotes{margin-left:52px;max-height:none!important;overflow:visible!important;background:var(--u-sunk)!important;border-color:var(--u-line-2)!important;color:var(--u-ink);font-size:14.5px;line-height:1.55}

/* --- the composer: one card; the channel choice as tabs; the same fields and the same Send */
body #ib.im #ibMid .cmp{display:block!important;flex:0 0 auto;padding:4px 18px 8px!important;border-top:1px solid var(--u-line-2)!important;background:var(--u-page)!important;box-shadow:none!important}
body #ib.im #ibMid .cmp.ibcol>.imCard{display:flex!important}
body #ib.im #ibMid .cmp .imCard{display:flex;flex-direction:column;gap:5px;max-width:860px;margin:0 auto;padding:4px 8px 6px;border:1px solid var(--u-line);border-radius:14px;background:var(--u-panel);box-sizing:border-box}
body #ib.im #ibMid .cmp:not(.ibcol) .imCard:focus-within{border-color:var(--u-brand)}
body #ib.im #ibMid .cmp .imTop{display:flex;align-items:center;gap:6px;min-width:0;min-height:30px}
body #ib.im #ibMid .cmp .imTabs{display:flex;align-items:center;gap:2px;flex:0 0 auto}
body #ib.im #ibMid .cmp .imTabs button{height:30px!important;min-height:30px!important;padding:0 11px!important;border:0!important;border-radius:8px;background:none!important;color:var(--u-muted)!important;font:inherit;font-size:13px!important;font-weight:600;white-space:nowrap;cursor:pointer;box-shadow:none!important}
body #ib.im #ibMid .cmp .imTabs button:hover:not(:disabled){background:var(--u-hover)!important;color:var(--u-ink)!important}
body #ib.im #ibMid .cmp .imTabs button[aria-selected="true"]{background:var(--u-brand-tint)!important;color:var(--u-ink)!important}
body #ib.im #ibMid .cmp .imTabs button:disabled{color:var(--u-faint)!important;cursor:not-allowed;font-weight:500}
body #ib.im #ibMid .cmp .r1{display:flex!important;align-items:center;justify-content:flex-end;gap:6px;flex:1 1 auto;min-width:0;margin:0!important}
body #ib.im #ibMid .cmp .r1 #ibCh{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:-1px!important;border:0!important;overflow:hidden;clip-path:inset(50%);opacity:0;pointer-events:none}
body #ib.im #ibMid .cmp .r1 select{flex:0 1 150px;min-width:0;max-width:190px;height:28px!important;min-height:28px!important;font-size:12.5px!important;padding:0 8px!important;margin:0!important}
body #ib.im #ibMid .cmp .r1 .btn{flex:0 0 auto;height:28px!important;min-height:28px!important;margin:0!important}
body #ib.im #ibMid .cmp.ibcol .r1,body #ib.im #ibMid .cmp.ibcol .imHead,body #ib.im #ibMid .cmp.ibcol .imBody,body #ib.im #ibMid .cmp.ibcol .imFoot{display:none!important}
body #ib.im #ibMid .cmp .ibstub{display:none}
body #ib.im #ibMid .cmp.ibcol .imCard{padding-top:4px;padding-bottom:4px}
body #ib.im #ibMid .cmp.ibcol{padding-top:6px!important}
body #ib.im #ibMid .cmp.ibcol .ibstub{display:flex!important;flex:1 1 auto;width:auto;max-width:none;min-width:0;min-height:30px!important;height:30px!important;margin:0;padding:0 10px!important;border:0!important;border-left:1px solid var(--u-line-2)!important;border-radius:0;background:none!important;color:var(--u-muted)!important;font-size:14.5px!important;text-align:left;cursor:text;box-shadow:none!important}
body #ib.im #ibMid .cmp.ibcol .ibstub .ibstubic,body #ib.im #ibMid .cmp.ibcol .ibstub .ibstubk{display:none}
body #ib.im #ibMid .cmp .imHead{display:flex;align-items:center;gap:8px;min-width:0;border-top:1px solid var(--u-line-2);padding-top:5px}
body #ib.im #ibMid .cmp[data-ch]:not([data-ch="email"]) .imHead{display:none}
body #ib.im #ibMid .cmp .imHead .r2{display:flex!important;flex:0 1 330px;min-width:0;margin:0!important}
body #ib.im #ibMid .cmp .imHead #ibFrom{display:flex;align-items:center;gap:6px;min-width:0;width:100%;margin:0!important;font-size:12.5px;color:var(--u-faint);white-space:nowrap;order:0}
body #ib.im #ibMid .cmp .imHead #ibMb{flex:1 1 auto;min-width:0;max-width:none!important;height:30px!important;min-height:30px!important;font-size:13px!important;padding:0 8px!important}
body #ib.im #ibMid .cmp .imHead input.subj{order:0;flex:1 1 0;min-width:0;width:auto;height:30px!important;min-height:30px!important;margin:0!important;padding:0 10px!important;font-size:14.5px!important;font-weight:600}
body #ib.im #ibMid .cmp .imBody{display:flex;align-items:flex-end;gap:8px;min-width:0}
body #ib.im #ibMid .cmp .imBody textarea{order:0;flex:1 1 auto;display:block;width:100%;min-width:0;box-sizing:border-box;height:var(--im-h,228px)!important;min-height:0!important;max-height:none!important;margin:0;padding:8px 10px!important;border:1px solid transparent!important;border-radius:10px;background:var(--u-sunk)!important;color:var(--u-ink)!important;font-size:17px!important;line-height:1.6!important;resize:none;transition:none!important;box-shadow:none!important;outline:0}
body #ib.im #ibMid .cmp .imBody textarea:focus{border-color:var(--u-line)!important}
body #ib.im #ibMid .cmp[data-ch="call"] .imBody textarea,body #ib.im #ibMid .cmp[data-ch="note"] .imBody textarea{height:var(--im-h,120px)!important}
body #ib.im #ibMid .cmp .imCount{display:none}
body #ib.im #ibMid .cmp .imFoot{display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:wrap}
body #ib.im #ibMid .cmp #ibSend{order:0;flex:0 0 auto;height:32px!important;min-height:32px!important;min-width:104px;padding:0 20px!important;font-size:14px!important;font-weight:700;margin:0!important}
body #ib.im #ibMid .cmp .imFoot #ibSave,body #ib.im #ibMid .cmp .imFoot #ibFu,body #ib.im #ibMid .cmp .imFoot .ibmin{order:0;flex:0 0 auto;height:30px!important;min-height:30px!important;margin:0!important;font-size:12.5px!important}
body #ib.im #ibMid .cmp .imFoot #ibFu{flex:0 1 170px;min-width:0;padding:0 8px!important}
body #ib.im #ibMid .cmp .imFoot #ibMsg{order:0;flex:1 1 120px;min-width:0;font-size:12.5px;line-height:1.35}
body #ib.im #ibMid .cmp .imFoot .ibmin{margin-left:auto!important}
/* Text: one line that grows to a few, its count, and a round send button beside it */
body #ib.im #ibMid .cmp[data-ch="sms"] .imBody textarea{height:var(--im-h,42px)!important;padding:8px 14px!important;border-radius:21px;border-color:var(--u-line)!important;font-size:16px!important;line-height:1.5!important}
body #ib.im #ibMid .cmp[data-ch="sms"] .imCount{display:block;flex:0 0 auto;align-self:center;min-width:54px;text-align:right;font-size:11.5px;color:var(--u-faint);font-variant-numeric:tabular-nums}
body #ib.im #ibMid .cmp[data-ch="sms"] .imCount.over{color:var(--u-bad);font-weight:600}
body #ib.im #ibMid .cmp[data-ch="sms"] .imBody #ibSend{width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;border-radius:50%!important;font-size:0!important;line-height:0;display:inline-flex;align-items:center;justify-content:center}
body #ib.im #ibMid .cmp[data-ch="sms"] .imBody #ibSend::after{content:"↑";font-size:20px;line-height:1;font-weight:700}
/* the full-height Reply writer reads and writes at the same sizes; a copy of the thread there is read only, so it shows every email whole and no dead button */
body #ib.im #iw .iwt.tl{padding:14px 18px;gap:10px;background:var(--u-page)}
body #ib.im #iw .iwt .ibc.msg.col>.bd{display:block!important}
body #ib.im #iw .iwt .ibc.msg.col>.mh .snip,body #ib.im #iw .iwt .kyMailBar,body #ib.im #iw .iwt .imBar,body #ib.im #iw .iwt .ibq,body #ib.im #iw .iwt .ibc.call .acts{display:none!important}
body #ib.im #iw .iwt .ibc.msg>.mh{cursor:default}
body #ib.im #iw textarea{font-size:17px!important;line-height:1.6!important}
@media (max-width:900px){
  body #ib.im #ibMid .tl{padding:10px 10px 14px!important}
  body #ib.im .tl article.ibc>.kyMailBar{grid-column:1/-1;grid-row:4;padding:0 8px 2px 8px;flex-wrap:wrap}
  body #ib.im .tl article.ibc.msg>.mh .fr{white-space:normal}
  body #ib.im .tl article.ibc.msg>.mh .md .to{white-space:normal}
  body #ib.im .tl article.ibc>.kyMailBar button{min-height:44px;height:44px;padding:0 10px;font-size:14px}
  body #ib.im .tl article.ibc.msg>.bd{padding:4px 14px 16px!important}
  body #ib.im .tl .ibsms .bub{max-width:86%;font-size:16px}
  body #ib.im .tl .imBar .imAll,body #ib.im .tl .ibq{min-height:44px!important;padding:0 10px!important;font-size:14px!important}
  body #ib.im .tl .ibc.call .facts,body #ib.im .tl .ibc.call .sum,body #ib.im .tl .ibc.call .acts{padding-left:14px}
  body #ib.im .tl .ibtr,body #ib.im .tl .ibnotes{margin-left:14px}
  /* the bottom tab bar is fixed over the Inbox on a phone: the composer ends above it, so Send is never under it */
  body #ib.im #ibMid .cmp{padding:6px 8px calc(74px + env(safe-area-inset-bottom,0px))!important;max-height:calc(100% - 150px);overflow-y:auto;-webkit-overflow-scrolling:touch}
  body #ib.im #ibMid .cmp .imTop{flex-wrap:wrap}
  body #ib.im #ibMid .cmp .imTabs{flex:1 1 100%;overflow-x:auto;scrollbar-width:none}
  body #ib.im #ibMid .cmp .imTabs button,body #ib.im #ibMid .cmp.ibcol .ibstub{height:44px!important;min-height:44px!important;font-size:15px!important;flex:0 0 auto}
  body #ib.im #ibMid .cmp.ibcol .ibstub{flex:1 1 100%;border-left:0!important;border-top:1px solid var(--u-line-2)!important}
  body #ib.im #ibMid .cmp .r1{flex:1 1 100%;justify-content:flex-start;flex-wrap:nowrap}
  body #ib.im #ibMid .cmp .r1 select{flex:1 1 0!important;min-width:0!important;max-width:none!important}
  body #ib.im #ibMid .cmp .r1 .btn{flex:0 0 auto!important}
  body #ib.im #ibMid .cmp .imFoot #ibSend{flex:1 1 100%}
  body #ib.im #ibMid .cmp .imFoot #ibFu{flex:1 1 0;min-width:0}
  body #ib.im #ibMid .cmp .imFoot .ibmin{margin-left:0!important}
  body #ib.im #ibMid .cmp .imFoot #ibMsg{order:6;flex:1 1 100%}
  body #ib.im #ibMid .cmp .imFoot #ibMsg:empty{display:none}
  body #ib.im #ibMid .cmp .r1 select,body #ib.im #ibMid .cmp .r1 .btn,body #ib.im #ibMid .cmp .imHead #ibMb,body #ib.im #ibMid .cmp .imHead input.subj,body #ib.im #ibMid .cmp .imFoot #ibSave,body #ib.im #ibMid .cmp .imFoot #ibFu,body #ib.im #ibMid .cmp .imFoot .ibmin,body #ib.im #ibMid .cmp #ibSend{height:44px!important;min-height:44px!important;font-size:16px!important}
  body #ib.im #ibMid .cmp .imHead{flex-wrap:wrap}
  body #ib.im #ibMid .cmp .imHead .r2,body #ib.im #ibMid .cmp .imHead input.subj{flex:1 1 100%}
  body #ib.im #ibMid .cmp .imBody textarea{font-size:16px!important}
  body #ib.im #ibMid .cmp[data-ch="sms"] .imBody textarea{height:var(--im-h,46px)!important;padding:10px 14px!important}
  body #ib.im #ibMid .cmp[data-ch="sms"] .imBody #ibSend{width:46px!important;min-width:46px!important;height:46px!important;min-height:46px!important}
}
@media (prefers-reduced-motion:reduce){body #ib.im #ibMid .cmp *{transition:none!important}}
/* ===== 18 Nov 2026 T44: the plain-language reason on a message that is not sending (waitwhy.js). Looks only, --u-* tokens, both looks. ===== */
.kyWw{display:inline;font-size:var(--u-t-xs);color:var(--u-muted);line-height:1.4;overflow-wrap:anywhere}
.kyWw:empty::before{content:"Checking why…"}
.kyWw[data-kind="paused"],.kyWw[data-kind="box_down"],.kyWw[data-kind="held"],.kyWw[data-kind="words"],.kyWw[data-kind="unreached"],.kyWw[data-kind="failed"],.kyWw[data-kind="bounced"]{color:var(--u-warn)}
.kyWw[data-kind="ready"],.kyWw[data-kind="sent"],.kyWw[data-kind="replied"],.kyWw[data-kind="sending"]{color:var(--u-muted)}
/* ===== end 18 Nov 2026 T44 ===== */
/* 24 Nov 2026 Sales home: Start here checklist (looks only, --u-* tokens) */
#u2Today .u2how{margin:var(--u-s3) var(--u-s4);border:1px solid var(--u-line-2);border-radius:var(--u-r);background:var(--u-sunk)}
#u2Today .u2how>summary{cursor:pointer;padding:var(--u-s2) var(--u-s3)}
#u2Today .u2hb{padding:0 var(--u-s3) var(--u-s3);max-width:78ch;line-height:1.5}
#u2Today .u2hb ol{margin:6px 0;padding-left:20px;display:block}#u2Today .u2hb li{margin:4px 0;display:list-item!important;list-style:decimal}#u2Today .u2hb li *{display:inline!important}#u2Today .u2hb p{margin:8px 0}
#u2Today .u2goal{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:var(--u-s3);margin:0 var(--u-s4) var(--u-s3)}
#u2Today .u2gc{display:flex;flex-direction:column;gap:6px;align-items:flex-start;padding:var(--u-s3);border:1px solid var(--u-line);border-radius:var(--u-r);min-width:0}
#u2Today .u2cnt{display:flex;flex-wrap:wrap;gap:var(--u-s3);align-items:center;margin:0 var(--u-s4) var(--u-s2)}
#u2Today .u2chips{display:flex;gap:6px;flex-wrap:wrap}
#u2Today .u2chip{border:1px solid var(--u-line);border-radius:999px;padding:1px 9px;font-size:var(--u-t-sm);color:var(--u-ink)}
#u2Today .u2chip.z{color:var(--u-muted);opacity:.7}
#u2Today .u2wk{margin:0 var(--u-s4) var(--u-s3)}
#u2Today .u2ml{list-style:none;margin:0;padding:0 var(--u-s4) var(--u-s3);display:grid}
#u2Today .u2mg{display:flex;gap:var(--u-s3);align-items:center;flex-wrap:wrap;padding:var(--u-s2) 0;border-top:1px solid var(--u-line-2);min-width:0}
#u2Today .u2mg>span{min-width:0;overflow-wrap:anywhere}
#u2Today .u2mg .n{flex:1 1 240px}
#u2Today .u2mg .s{color:var(--u-muted);font-size:var(--u-t-sm)}
#u2Today .u2mgb{display:flex;gap:var(--u-s2);align-items:center;margin-left:auto}
#u2Today .u2mg .u2fx{flex:1 1 100%;order:2}
#u2Today .u2mg .u2done{color:var(--u-good)}
#u2Today .u2more{padding:0 var(--u-s4) var(--u-s3)}
/* 2 Dec 2026, Alex: "seperate by 1. state 2. company type 3. size". Group headers on the Sales home; folds remembered (ui2.js salesGroups). */
#u2Today .u2grp>summary{cursor:pointer;padding:6px var(--u-s4);border-top:1px solid var(--u-line);color:var(--u-ink)}
#u2Today .u2g1>summary{font-size:15px;background:var(--u-sunk)}
#u2Today .u2g2>summary{padding-left:calc(var(--u-s4) + 14px);font-size:13.5px}
#u2Today .u2g3>summary{padding-left:calc(var(--u-s4) + 28px);font-size:13px}
#u2Today .u2need>summary .btn{margin-left:8px}
/* 2 Dec 2026, Alex: "a check box next to each empty record ... and a drop down or something so we can pick it" (contactnow.js, Reach out and the Sales home) */
.kcn{margin:6px 0 10px}
/* 3 Dec 2026, Alex: "pick which one it uses credits for ... and if it doesn't have it we use the nxt one": numbered finder buttons, a chain */
.kcnBar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:4px 0 6px}
.kcnFs{display:inline-flex;gap:6px;flex-wrap:wrap}
.kcnF{opacity:.75}
.kcnF.on{opacity:1;border-color:var(--u-brand);color:var(--u-ink);background:var(--u-sunk)}
.kcnF[disabled]{opacity:.45;cursor:not-allowed}
.kcnN{display:inline-block;min-width:16px;border-radius:8px;background:var(--u-fill);color:#fff;font-size:11px;text-align:center;margin-right:2px}
.kcnStrip{margin:6px 0;padding:6px 8px;border:1px solid var(--u-line);border-radius:var(--u-r);background:var(--u-panel)}
.kcn .kcnRow{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;padding:3px 2px;cursor:pointer}
.kcn .kcnSt{color:var(--u-ink-2)}


#u2Today .u2news{margin:0 var(--u-s4) var(--u-s3);padding:var(--u-s3);border:1px solid var(--u-line-2);border-radius:var(--u-r);background:var(--u-sunk)}
#u2Today .u2news ul{margin:6px 0 0;padding-left:18px}
#u2Today .u2news li{margin:3px 0}
/* ===== 24 Nov 2026 Home is each person's own: the owner strip and the sales login's own work (tokens only, both looks) ===== */
#u2Today .u2own{display:grid;gap:6px;margin:0 0 12px;padding:10px 14px;border:1px solid var(--u-line);border-radius:12px;background:var(--u-sunk)}
#u2Today .u2ownr{display:flex;flex-wrap:wrap;gap:6px 18px;align-items:baseline;font-size:13px;color:var(--u-ink)}
#u2Today .u2ownr b{font-weight:600}
#u2Today .u2os a{font-weight:600}
#u2Today .u2my{margin:0 0 12px;padding:10px 14px;border:1px solid var(--u-line);border-left:3px solid var(--u-brass);border-radius:12px;background:var(--u-sunk);font-size:14px;color:var(--u-ink)}
#u2Today .u2my ul{margin:6px 0 0;padding-left:18px}
@media (max-width:640px){#u2Today .u2ownr{gap:4px 12px}}
/* ===== end 24 Nov 2026 Home is each person's own ===== */
#u2Today .u2mg .u2sg{display:block;font-size:12px;color:var(--u-ink-2);margin-top:2px}#u2Today .u2mg .u2sg b{color:var(--u-brass,var(--u-ink))}#u2Today .u2mg .u2sg.near{opacity:.8}
/* 3 Dec 2026: 📱 Get cell / ✉ Get email as the primary button (#pfTelNone) is a solid fill, so white words pass AA in both looks
   (the primary gradient's top stop is 4.43:1 in White). contactnow.js oneBtn. */
.kcnOne.btn.p { background: var(--u-fill) !important; background-image: none !important; color: #fff !important; }

/* ===== 17 Nov 2026 Inbox redesign (the shell only: rail, top row, tabs, list rows and tags, the three views, the person header with
   the chain line, the details column). Alex, 17 Nov 2026, 8:53 pm ET, verbatim: "add another agent to re design the inbox like this
   but have all our functions we need a great UI for this" and "but the buttons / choices should be ours not these"; then "those 3
   choices for us for now" and "and have it be automatic, no glitching. solid."
   Looks only. ibshell.js moves the real elements into the rail and the top row (901 px and wider); a phone keeps today's layout, so
   every rule below sits inside the media query and needs #ib.ibsOn. The view is html[data-ibview] = list | conversation | mail, set
   before first paint (index.html). The message thread (#ibTl) and the composer (.cmp) are plain slots here: sized, never styled
   (their looks are the "17 Nov 2026 Inbox messages" block). Colours are --u-* tokens only, so Dark blue and White both pass AA. */
@media (min-width:901px){
  /* --- frame: rail | (top row over the panes) */
  #ib#ib.ibsOn.on{display:grid!important;grid-template-columns:204px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);background:var(--u-page)}
  #ib#ib.ibsOn>#ibsRail{grid-column:1;grid-row:1 / -1}
  #ib#ib.ibsOn>.hd{grid-column:2;grid-row:1}
  #ib#ib.ibsOn>.wrap{grid-column:2;grid-row:2;min-height:0;min-width:0;background:var(--u-page)}

  /* --- the rail: New message, lanes, folders, mailbox */
  #ib#ib.ibsOn #ibsRail{display:flex;flex-direction:column;gap:6px;min-height:0;overflow-y:auto;overflow-x:hidden;padding:10px 10px 10px;box-sizing:border-box;background:var(--u-sunk);border-right:1px solid var(--u-line-2);scrollbar-width:thin}
  #ib#ib.ibsOn #ibsRail #ibNew{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:100%;height:36px!important;min-height:36px!important;padding:0 12px!important;border-radius:10px!important;font-size:13.5px!important;font-weight:700!important;background:var(--u-fill)!important;border:1px solid var(--u-fill)!important;color:#fff!important;box-shadow:var(--u-e1)!important;white-space:nowrap}
  #ib#ib.ibsOn #ibsRail #ibNew:hover{background:var(--u-fill-2)!important;border-color:var(--u-fill-2)!important}
  #ib#ib.ibsOn #ibsRail #ibLanes,#ib#ib.ibsOn #ibsRail #ibF,#ib#ib.ibsOn #ibsRail #ibF .seg,#ib#ib.ibsOn #ibsRail #ibF .seg2{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:1px!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;background:none!important;overflow:visible!important}
  #ib#ib.ibsOn #ibsRail #ibLanes{flex:0 0 auto}
  #ib#ib.ibsOn #ibsRail #ibF{flex:1 1 auto;min-height:0}
  #ib#ib.ibsOn #ibsRail #ibF .seg,#ib#ib.ibsOn #ibsRail #ibF .seg2{flex:0 0 auto}
  #ib#ib.ibsOn #ibsRail #ibLanes::before,#ib#ib.ibsOn #ibsRail #ibF::before{display:block;padding:4px 10px 2px;font-size:10.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--u-faint)}
  #ib#ib.ibsOn #ibsRail #ibLanes::before{content:"Lanes"}
  #ib#ib.ibsOn #ibsRail #ibF::before{content:"Show"}
  #ib#ib.ibsOn #ibsRail #ibF .seg2>span{display:none!important}
  #ib#ib.ibsOn #ibsRail #ibLanes button,#ib#ib.ibsOn #ibsRail #ibF .seg button,#ib#ib.ibsOn #ibsRail #ibF .seg2 button{display:flex!important;align-items:center;gap:8px;flex:0 0 auto!important;width:100%!important;min-width:0!important;height:26px!important;min-height:26px!important;padding:0 10px!important;margin:0!important;border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;color:var(--u-ink-2)!important;font:inherit;font-size:13px!important;font-weight:500!important;text-align:left;white-space:nowrap;cursor:pointer;float:none}
  #ib#ib.ibsOn #ibsRail #ibLanes button:hover,#ib#ib.ibsOn #ibsRail #ibF .seg button:hover,#ib#ib.ibsOn #ibsRail #ibF .seg2 button:hover{background:var(--u-hover)!important;color:var(--u-ink)!important}
  #ib#ib.ibsOn #ibsRail #ibLanes button.on,#ib#ib.ibsOn #ibsRail #ibF .seg button.on,#ib#ib.ibsOn #ibsRail #ibF .seg2 button.on{background:var(--u-sel)!important;color:var(--u-ink)!important;font-weight:700!important;box-shadow:inset 3px 0 0 var(--u-brand)!important}
  #ib#ib.ibsOn #ibsRail #ibLanes button b{order:1;flex:1 1 auto;min-width:0;display:block;font:inherit!important;color:inherit!important;overflow:hidden;text-overflow:ellipsis}
  #ib#ib.ibsOn #ibsRail #ibLanes button i{order:2;float:none!important;flex:0 0 auto;margin:0!important;min-width:20px;height:18px;padding:0 6px;box-sizing:border-box;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;font-style:normal;font-family:inherit!important;font-size:11.5px!important;font-weight:700!important;background:var(--u-brand-tint)!important;color:var(--u-brand)!important}
  #ib#ib.ibsOn #ibsRail #ibLanes button span{display:none!important}
  #ib#ib.ibsOn #ibsRail #ibF .kyMbx{flex:0 0 auto;margin:auto 0 0!important;padding:8px 0 0!important;border-top:1px solid var(--u-line-2);display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:5px!important;width:100%!important}
  #ib#ib.ibsOn #ibsRail #ibF .kyMbx>label{display:block!important;order:-1;padding:0 10px!important;font-size:10.5px!important;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--u-faint)!important}
  #ib#ib.ibsOn #ibsRail #ibF .kyMbx select{order:0!important;flex:0 0 auto!important;width:100%!important;height:30px!important;min-height:30px!important;font-size:12.5px!important;border-radius:8px!important}
  #ib#ib.ibsOn #ibsRail #ibF .kyMbx .n{order:-1;margin-top:-22px!important;align-self:flex-end;padding:0 10px;line-height:17px;font-size:11.5px!important;color:var(--u-muted)}
  #ib#ib.ibsOn #ibsRail #ibF .kyMbx .n:empty{display:none}
  #ib#ib.ibsOn #ibsRail #ibF .kyMbx button{order:2!important;flex:0 0 auto!important;width:100%!important;height:28px!important;min-height:28px!important;padding:0 10px!important;border:1px solid var(--u-line)!important;border-radius:8px!important;background:transparent!important;color:var(--u-ink-2)!important;font-size:12.5px!important;font-weight:600!important;text-align:center;box-shadow:none!important}
  #ib#ib.ibsOn #ibsRail #ibF .kyMbx button:hover{background:var(--u-hover)!important;color:var(--u-ink)!important}

  /* --- the top row: search, the quiet tools, and "N replies to answer · Next" as the one call to action */
  #ib#ib.ibsOn>.hd{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:4px!important;row-gap:6px!important;height:auto;min-height:46px;box-sizing:border-box;padding:7px 14px!important;background:var(--u-panel)!important;border-bottom:1px solid var(--u-line-2)!important;overflow:visible!important}
  #ib#ib.ibsOn>.hd>*{flex:0 0 auto!important;margin-top:0!important;margin-bottom:0!important}
  #ib#ib.ibsOn>.hd>#ibQ{order:-10;flex:1 1 200px!important;min-width:200px;max-width:560px;width:auto!important;height:32px!important;min-height:32px!important;margin:0 8px 0 0!important;padding-top:0!important;padding-bottom:0!important;border:1px solid var(--u-line-2)!important;border-radius:10px!important;background-color:var(--u-sunk)!important;color:var(--u-ink)!important;font-size:13.5px!important;box-shadow:none!important}
  #ib#ib.ibsOn>.hd>#ibQ:focus{border-color:var(--u-brand)!important;box-shadow:var(--u-focus)!important;outline:0}
  #ib#ib.ibsOn>.hd>div:not(.lanes){order:1;display:flex!important;gap:2px!important;align-items:center;margin-left:0!important;margin-right:0!important}
  #ib#ib.ibsOn>.hd>.kyView{order:2}
  #ib#ib.ibsOn>.hd>.kyMbxBox{order:3}
  #ib#ib.ibsOn>.hd>.kyThr{order:4;margin-left:4px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
  #ib#ib.ibsOn>.hd>.kyThr>summary{gap:8px;padding:0 6px!important}
  #ib#ib.ibsOn>.hd>.kyThr>summary .tabs button{height:24px!important;min-height:24px!important;padding:0 10px!important;font-size:12px!important}
  #ib#ib.ibsOn>.hd>.kyPW{order:50;margin:0 0 0 auto!important;padding-left:10px}
  #ib#ib.ibsOn>.hd .btn,#ib#ib.ibsOn>.hd>details>summary{height:30px!important;min-height:30px!important;padding:0 9px!important;border:1px solid transparent!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;color:var(--u-ink-2)!important;font-size:12.5px!important;font-weight:600!important;white-space:nowrap;transform:none!important}
  #ib#ib.ibsOn>.hd .btn:hover,#ib#ib.ibsOn>.hd>details>summary:hover,#ib#ib.ibsOn>.hd>details[open]>summary{background:var(--u-hover)!important;border-color:var(--u-line-2)!important;color:var(--u-ink)!important}
  #ib#ib.ibsOn>.hd>details.kyMbxBox{border:0!important;background:transparent!important;box-shadow:none!important}
  #ib#ib.ibsOn>.hd>details.kyMbxBox>summary{display:inline-flex;align-items:center}
  #ib#ib.ibsOn>.hd #ibRef::before{content:"↻";margin-right:5px;font-weight:700}
  #ib#ib.ibsOn>.hd #ibWarm .ibw,#ib#ib.ibsOn>.hd #ibLi10 .ibw{display:none!important}
  #ib#ib.ibsOn>.hd #ibWarm::after{content:"Warm";margin-left:5px}
  #ib#ib.ibsOn>.hd #ibLi10::after{content:"LinkedIn";margin-left:5px}

  /* --- the panes. One set of widths for all three views (ibpro.js: --ibls / --ibrp, dragged, remembered) */
  #ib#ib.ibsOn .wrap{display:grid!important;grid-template-columns:var(--ibls,340px) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important}
  #ib#ib.ibsOn.kyNoDet .wrap>.rp{display:none!important}
  #ib#ib.ibsOn .wrap>.ls{grid-column:1!important;grid-row:1!important}
  #ib#ib.ibsOn .wrap>.mid{grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:column;min-width:0;min-height:0;height:100%;overflow:hidden;background:var(--u-page)}
  #ib#ib.ibsOn .wrap>.rp{grid-column:3!important;grid-row:1!important}
  /* List: nothing open = the list alone, full width; a conversation open = list left, reading pane right */
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) .wrap{grid-template-columns:minmax(0,1fr)!important}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) .wrap>.mid,html[data-ibview="list"] #ib#ib.ibsOn:not(.person) .wrap>.rp,html[data-ibview="list"] #ib#ib.ibsOn:not(.person) .wrap>.kyGrip{display:none!important}

  /* --- the list column: one tab row (two when the column is narrow), then the rows. The tab rows keep their height whether or
     not their bars have arrived, so the rows under them never move. */
  #ib#ib.ibsOn .wrap>.ls{display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:34px 32px auto minmax(0,1fr);min-width:0;min-height:0;background:var(--u-panel) linear-gradient(var(--u-line-2),var(--u-line-2)) 0 65px / 100% 1px no-repeat!important;border-right:1px solid var(--u-line-2)!important;border-bottom:0!important}
  #ib#ib.ibsOn .wrap>.ls>*{grid-column:1 / -1;min-width:0}
  #ib#ib.ibsOn .wrap>.ls>.f{display:none!important}
  #ib#ib.ibsOn .wrap>.ls>#rsBar{grid-row:1}
  #ib#ib.ibsOn .wrap>.ls>.kySortBar{grid-row:2}
  #ib#ib.ibsOn .wrap>.ls>#ibBulk{grid-row:3}
  #ib#ib.ibsOn .wrap>.ls>#ibRows{grid-row:4;min-height:0;overflow:auto}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) .wrap>.ls{grid-template-rows:40px auto minmax(0,1fr);background-position:0 39px!important;border-right:0!important}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) .wrap>.ls>#rsBar{grid-column:1;grid-row:1}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) .wrap>.ls>.kySortBar{grid-column:2;grid-row:1}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) .wrap>.ls>#ibBulk{grid-row:2}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) .wrap>.ls>#ibRows{grid-row:3}
  /* tabs: All · Candidates · Clients · Vendor pitches · Other, with their counts */
  #ib#ib.ibsOn #rsBar{display:flex!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:0!important;padding:0 8px!important;margin:0!important;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;font-size:12px!important}
  #ib#ib.ibsOn #rsBar::-webkit-scrollbar{display:none}
  #ib#ib.ibsOn #rsBar .l{display:none!important}
  #ib#ib.ibsOn #rsBar button[data-rs]{flex:0 0 auto;height:auto!important;min-height:0!important;padding:0 5px!important;margin:0!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--u-muted)!important;font-size:11.5px!important;font-weight:600!important;white-space:nowrap;letter-spacing:-.005em}
  #ib#ib.ibsOn #rsBar button[data-rs]:hover{color:var(--u-ink)!important}
  #ib#ib.ibsOn #rsBar button[data-rs].on{color:var(--u-ink)!important;font-weight:700!important;border-bottom-color:var(--u-brand)!important}
  #ib#ib.ibsOn #rsBar button.rsArch{align-self:center;height:24px!important;min-height:0!important;margin-left:8px!important;padding:0 9px!important;border-radius:999px!important;font-size:11.5px!important;white-space:nowrap;background:transparent!important;color:var(--u-warn)!important}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) #rsBar{padding:0 14px!important;font-size:13px!important}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) #rsBar button[data-rs]{padding:0 10px!important;font-size:13px!important}
  /* Sort and Unread */
  #ib#ib.ibsOn .kySortBar{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:6px!important;padding:0 10px!important;margin:0!important}
  #ib#ib.ibsOn .kySortBar summary,#ib#ib.ibsOn .kySortBar .kyUn{height:24px!important;min-height:0!important;padding:0 9px!important;border:1px solid var(--u-line-2)!important;border-radius:8px!important;background:transparent;color:var(--u-ink-2)!important;font-size:11.5px!important;font-weight:600!important;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
  #ib#ib.ibsOn .kySortBar .kyUn[aria-pressed=true]{background:var(--u-fill)!important;border-color:var(--u-fill)!important;color:#fff!important}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) .kySortBar{padding:0 16px 0 8px!important}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) .kySortBar .kySortPop{left:auto;right:0}
  /* picked conversations */
  #ib#ib.ibsOn #ibBulk.on{padding:6px 14px!important;gap:6px!important;border:0!important;border-bottom:1px solid var(--u-line-2)!important;background:var(--u-brand-tint)!important;color:var(--u-ink)!important;font-size:12.5px!important}

  /* --- conversation rows (the narrow column): avatar · name and time · role · one line of preview · our tags */
  #ib#ib.ibsOn #ibRows{background:var(--u-panel)}
  #ib#ib.ibsOn #ibRows>.grp,#ib#ib.ibsOn #ibRows>.ibsDay{padding:12px 14px 4px!important;margin:0!important;border:0!important;background:transparent!important;font-size:10.5px!important;font-weight:700!important;letter-spacing:.09em!important;text-transform:uppercase;color:var(--u-faint)!important}
  #ib#ib.ibsOn #ibRows>.row{display:grid!important;grid-template-columns:32px minmax(0,1fr) 20px!important;column-gap:10px;align-items:start;min-height:0!important;margin:0;padding:10px 12px!important;border:0!important;border-bottom:1px solid var(--u-line-2)!important;border-radius:0;background:transparent!important;box-shadow:none!important;cursor:pointer}
  /* a row another rule hid stays hidden: the Sort chips (replysort.js .rsHide), the mailbox picker (ibplus.js .kyMbxOut), Unread only (ibpro.js, inline) and [hidden].
     The display:grid above outranked all four, so the Vendor pitches filter, a picked mailbox and Unread only stopped hiding rows (found 17 Nov, tests/jay_features_test.py E4) */
  #ib#ib.ibsOn #ibRows>.row.rsHide,#ib#ib.ibsOn #ibRows>.row.kyMbxOut,#ib#ib.ibsOn #ibRows>.row[hidden],#ib#ib.ibsOn #ibRows>.row[style*="display: none"],#ib#ib.ibsOn #ibRows>.row[style*="display:none"]{display:none!important}
  #ib#ib.ibsOn.kyCompact #ibRows>.row{padding-top:7px!important;padding-bottom:7px!important}
  #ib#ib.ibsOn #ibRows>.row:hover{background:var(--u-hover)!important}
  #ib#ib.ibsOn #ibRows>.row.on{background:var(--u-sel)!important;box-shadow:inset 3px 0 0 var(--u-brand)!important}
  #ib#ib.ibsOn #ibRows>.row .ibavw{position:relative;width:32px;height:32px}
  #ib#ib.ibsOn #ibRows>.row .ibav{width:32px!important;height:32px!important;font-size:12px!important}
  #ib#ib.ibsOn #ibRows>.row .mn{min-width:0;display:block}
  #ib#ib.ibsOn #ibRows>.row .l1{display:flex;align-items:baseline;gap:6px;min-width:0}
  #ib#ib.ibsOn #ibRows>.row .nm{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13.5px!important;font-weight:500!important;color:var(--u-ink)!important}
  #ib#ib.ibsOn #ibRows>.row .t{flex:0 0 auto;margin-left:auto;font-size:11.5px!important;font-weight:500!important;color:var(--u-faint)!important;white-space:nowrap;text-align:right}
  #ib#ib.ibsOn #ibRows>.row .co{margin:1px 0 0!important;font-size:12.5px!important;font-weight:500!important;color:var(--u-ink-2)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #ib#ib.ibsOn #ibRows>.row .sn{display:block!important;margin:1px 0 0!important;font-size:12.5px!important;line-height:1.4!important;color:var(--u-muted)!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:unset;max-height:none}
  #ib#ib.ibsOn #ibRows>.row .sn .ci{margin-right:5px;color:var(--u-faint)}
  #ib#ib.ibsOn #ibRows>.row.unread .nm,#ib#ib.ibsOn #ibRows>.row.unread .co{font-weight:700!important;color:var(--u-ink)!important}
  #ib#ib.ibsOn #ibRows>.row.unread .sn{color:var(--u-ink-2)!important}
  #ib#ib.ibsOn #ibRows>.row.unread .t{color:var(--u-brand)!important;font-weight:700!important}
  #ib#ib.ibsOn #ibRows>.row .tg{display:flex!important;flex-wrap:wrap;gap:4px;margin:5px 0 0!important}
  #ib#ib.ibsOn #ibRows>.row .tag,#ib#ib.ibsOn #ibRows>.row .rsChip{display:inline-flex;align-items:center;height:18px;margin:0!important;padding:0 7px!important;border-radius:5px!important;border:0!important;font-size:10.5px!important;font-weight:600!important;line-height:1!important;white-space:nowrap;background:var(--u-sunk);color:var(--u-muted)}
  #ib#ib.ibsOn #ibRows>.row .rsChip{flex:0 0 auto;background:transparent!important;border:1px solid var(--u-line)!important;color:var(--u-muted)!important}
  #ib#ib.ibsOn #ibRows>.row .tag.g{background:var(--u-good-tint)!important;color:var(--u-good)!important}
  #ib#ib.ibsOn #ibRows>.row .tag.w{background:var(--u-warn-tint)!important;color:var(--u-warn)!important}
  #ib#ib.ibsOn #ibRows>.row .tag.a{background:var(--u-info-tint)!important;color:var(--u-brand)!important}
  #ib#ib.ibsOn #ibRows>.row label.pk{grid-column:3;grid-row:1;align-self:start;justify-self:end;margin:0!important;padding:0!important;width:20px;height:20px;display:flex;align-items:center;justify-content:center}
  #ib#ib.ibsOn #ibRows>.row label.pk input{width:15px;height:15px;margin:0}
  /* a person's mail (the mailbox picker's KyStaff group): those rows carry no avatar and no checkbox, so they take the whole row */
  #ib#ib.ibsOn #ibRows>.row.kyPm{grid-template-columns:minmax(0,1fr)!important;padding-left:14px!important}

  /* --- List, nothing open: the full-width row. checkbox · avatar · name with the time under it · bold role line with one line of
     preview under it · our tags at the right end */
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) #ibRows>.row{grid-template-columns:20px 34px minmax(150px,230px) minmax(0,1fr) auto minmax(0,auto)!important;grid-template-rows:auto auto;column-gap:14px;row-gap:1px;align-items:center;padding:9px 20px!important}
  html[data-ibview="list"] #ib#ib.ibsOn.kyCompact:not(.person) #ibRows>.row{padding-top:6px!important;padding-bottom:6px!important}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) #ibRows>.row .mn,html[data-ibview="list"] #ib#ib.ibsOn:not(.person) #ibRows>.row .l1{display:contents!important}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) #ibRows>.row label.pk{grid-column:1;grid-row:1 / 3;align-self:center;justify-self:start}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) #ibRows>.row .ibavw{grid-column:2;grid-row:1 / 3;width:34px;height:34px}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) #ibRows>.row .ibav{width:34px!important;height:34px!important}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) #ibRows>.row .nm{grid-column:3;grid-row:1;align-self:end}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) #ibRows>.row .t{grid-column:3;grid-row:2;align-self:start;margin:0!important;text-align:left}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) #ibRows>.row .co{grid-column:4;grid-row:1;align-self:end;margin:0!important;font-size:13.5px!important;font-weight:600!important;color:var(--u-ink)!important}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) #ibRows>.row.unread .co{font-weight:700!important}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) #ibRows>.row .sn{grid-column:4;grid-row:2;align-self:start;margin:0!important;font-size:13px!important}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) #ibRows>.row .rsChip{grid-column:5;grid-row:1 / 3;align-self:center}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) #ibRows>.row .tg{grid-column:6;grid-row:1 / 3;align-self:center;justify-content:flex-end;flex-wrap:wrap;margin:0!important;max-width:38vw}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) #ibRows>.row .tag,html[data-ibview="list"] #ib#ib.ibsOn:not(.person) #ibRows>.row .rsChip{height:20px;font-size:11px!important;padding:0 8px!important}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) #ibRows>.grp{padding:12px 20px 4px!important}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) #ibRows>.row.kyPm{grid-template-columns:minmax(150px,230px) minmax(0,1fr) auto minmax(0,auto)!important;padding-left:20px!important}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) #ibRows>.row.kyPm .nm,html[data-ibview="list"] #ib#ib.ibsOn:not(.person) #ibRows>.row.kyPm .t{grid-column:1}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) #ibRows>.row.kyPm .co,html[data-ibview="list"] #ib#ib.ibsOn:not(.person) #ibRows>.row.kyPm .sn{grid-column:2}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) #ibRows>.row.kyPm .rsChip{grid-column:3}
  html[data-ibview="list"] #ib#ib.ibsOn:not(.person) #ibRows>.row.kyPm .tg{grid-column:4}

  /* --- Conversation: the open row is a lifted card on a quiet column */
  html[data-ibview="conversation"] #ib#ib.ibsOn .wrap>.ls,html[data-ibview="conversation"] #ib#ib.ibsOn #ibRows{background-color:var(--u-sunk)!important}
  html[data-ibview="conversation"] #ib#ib.ibsOn #ibRows>.row{border-bottom-color:transparent!important;margin:0 6px;border-radius:10px;padding-left:8px!important;padding-right:8px!important}
  html[data-ibview="conversation"] #ib#ib.ibsOn #ibRows>.row.on{background:var(--u-panel)!important;box-shadow:var(--u-e2)!important}

  /* --- Mail: conversation cards under small headers (dates while the list runs newest first, our own groups otherwise) */
  html[data-ibview="mail"] #ib#ib.ibsOn .wrap>.ls,html[data-ibview="mail"] #ib#ib.ibsOn #ibRows{background-color:var(--u-sunk)!important}
  html[data-ibview="mail"] #ib#ib.ibsOn #ibRows{padding:0 8px 14px;box-sizing:border-box}
  html[data-ibview="mail"] #ib#ib.ibsOn #ibRows>.row{margin:6px 0!important;border:1px solid var(--u-line-2)!important;border-radius:12px!important;background:var(--u-panel)!important;box-shadow:var(--u-e1)!important}
  html[data-ibview="mail"] #ib#ib.ibsOn #ibRows>.row:hover{border-color:var(--u-line)!important;background:var(--u-panel)!important}
  html[data-ibview="mail"] #ib#ib.ibsOn #ibRows>.row.on{border-color:var(--u-brand)!important;box-shadow:0 0 0 1px var(--u-brand)!important;background:var(--u-panel)!important}
  html[data-ibview="mail"] #ib#ib.ibsOn #ibRows>.grp,html[data-ibview="mail"] #ib#ib.ibsOn #ibRows>.ibsDay{padding:12px 6px 2px!important}
  html:not([data-ibview="mail"]) #ib #ibRows>.ibsDay{display:none!important}

  /* --- the open conversation: a calm header (name as the title, lane / pool / stage as pills, one line of who they are), the chain
     line as pills, one row of actions. Fixed heights, so the thread under them starts at the same place on every frame. */
  #ib#ib.ibsOn #ibMid>.who{position:relative;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:10px!important;flex:0 0 48px!important;height:48px!important;min-height:48px!important;box-sizing:border-box;padding:0 16px!important;margin:0;overflow:hidden;border:0!important;border-radius:0!important;background:var(--u-panel)!important}
  #ib#ib.ibsOn #ibMid>.who .ibav.lg{flex:0 0 auto;width:32px!important;height:32px!important;font-size:12.5px!important}
  #ib#ib.ibsOn #ibMid>.who .wm{flex:1 1 auto;min-width:0;display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;justify-content:center!important;align-items:stretch!important;gap:1px!important;text-align:left!important}
  #ib#ib.ibsOn #ibMid>.who .wm>*{margin:0!important}
  #ib#ib.ibsOn #ibMid>.who h2{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:8px;min-width:0;margin:0!important;font-size:17px!important;line-height:1.2!important;font-weight:700!important;color:var(--u-ink)!important;white-space:nowrap}
  #ib#ib.ibsOn #ibMid>.who h2 .ibtags,#ib#ib.ibsOn #ibMid>.who .wm>.ibtags{display:inline-flex!important;flex-wrap:nowrap;gap:5px}
  #ib#ib.ibsOn #ibMid>.who .tag{display:inline-flex;align-items:center;height:19px;margin:0!important;padding:0 8px!important;border-radius:999px!important;font-size:11px!important;font-weight:600!important;line-height:1!important;white-space:nowrap}
  #ib#ib.ibsOn #ibMid>.who .kyHdLine,#ib#ib.ibsOn #ibMid>.who .wm>div:not([class]):not([id]){flex:0 0 auto!important;font-size:12.5px!important;line-height:1.3!important;color:var(--u-muted)!important;opacity:1!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left!important}
  #ib#ib.ibsOn #ibMid>.who .wm:has(>.kyHdLine)>div:not([class]):not([id]),#ib#ib.ibsOn #ibMid>.who .wm>.ibct,#ib#ib.ibsOn #ibMid>.who .wm>.kfBtn,#ib#ib.ibsOn #ibMid>.who>.kyFoldBtn,#ib#ib.ibsOn #ibMid>.who>.wa{display:none!important}
  #ib#ib.ibsOn #ibMid>.who #ibActs{position:absolute!important;left:0;top:0;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
  #ib#ib.ibsOn #ibMid>.ibfChain{flex:0 0 auto;display:flex;align-items:center;min-height:26px;box-sizing:border-box;margin:0!important;padding:0 16px 4px 58px!important;border:0!important;background:var(--u-panel)!important}
  #ib#ib.ibsOn #ibMid>.ibfChain[hidden]{display:none!important}
  #ib#ib.ibsOn #ibMid.ibsCand:not(:has(>.ibfChain:not([hidden])))>.who{margin-bottom:26px!important;box-shadow:0 26px 0 var(--u-panel)}
  #ib#ib.ibsOn #ibMid>.ibfChain .kyChain{display:flex;flex-wrap:wrap;align-items:center;gap:4px 5px;margin:0!important;font-size:11.5px!important;line-height:1.2!important;color:var(--u-ink-2)!important}
  #ib#ib.ibsOn #ibMid>.ibfChain .kyChain .sep{display:none!important}
  #ib#ib.ibsOn #ibMid>.ibfChain .kyChain .cp{display:inline-flex;align-items:center;height:20px;padding:0 9px;border-radius:999px;border:1px solid var(--u-line-2);background:var(--u-sunk);color:var(--u-ink-2)!important;font-size:11.5px!important;font-weight:600!important;font-style:normal;white-space:nowrap}
  #ib#ib.ibsOn #ibMid>.ibfChain .kyChain .cp.ok{background:var(--u-good-tint);border-color:transparent;color:var(--u-good)!important}
  #ib#ib.ibsOn #ibMid>.ibfChain .kyChain .cp.warn{background:var(--u-warn-tint);border-color:transparent;color:var(--u-warn)!important}
  #ib#ib.ibsOn #ibMid>.ibfChain .kyChain .cp.off{color:var(--u-muted)!important}
  #ib#ib.ibsOn #ibMid>.ibfChain .kyChainNote{margin:0!important;padding:0!important;border:0!important;font-size:11.5px!important;color:var(--u-muted)!important}
  #ib#ib.ibsOn #ibMid>.ibbar{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:4px!important;flex:0 0 auto!important;min-height:40px;box-sizing:border-box;margin:0!important;padding:5px 16px!important;overflow:visible!important;border:0!important;border-bottom:1px solid var(--u-line-2)!important;background:var(--u-panel)!important}
  #ib#ib.ibsOn #ibMid>.ibbar>*{flex:0 0 auto!important}
  #ib#ib.ibsOn #ibMid>.ibbar>.ibsp{flex:1 1 auto!important}
  #ib#ib.ibsOn #ibMid>.ibbar .btn,#ib#ib.ibsOn #ibMid>.ibbar .kyHm>summary{height:28px!important;min-height:28px!important;padding:0 10px!important;border:1px solid var(--u-line-2)!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;color:var(--u-ink-2)!important;font-size:12.5px!important;font-weight:600!important;white-space:nowrap;transform:none!important}
  #ib#ib.ibsOn #ibMid>.ibbar .btn:hover:not(:disabled),#ib#ib.ibsOn #ibMid>.ibbar .kyHm>summary:hover,#ib#ib.ibsOn #ibMid>.ibbar .kyHm[open]>summary{background:var(--u-hover)!important;border-color:var(--u-line)!important;color:var(--u-ink)!important}
  #ib#ib.ibsOn #ibMid>.ibbar .btn:disabled{color:var(--u-muted)!important;border-style:dashed!important;cursor:not-allowed}
  #ib#ib.ibsOn #ibMid>.ibbar #ibvReply{background:var(--u-fill)!important;border-color:var(--u-fill)!important;color:#fff!important}
  #ib#ib.ibsOn #ibMid>.ibbar #ibvReply:hover{background:var(--u-fill-2)!important;border-color:var(--u-fill-2)!important;color:#fff!important}
  #ib#ib.ibsOn #ibMid>.ibbar #ibClose{border-color:transparent!important;padding:0 8px!important}
  /* the two slots: the thread takes the room that is left, the composer keeps its own height */
  #ib#ib.ibsOn #ibMid>#ibTl{flex:1 1 0!important;min-height:0!important}
  #ib#ib.ibsOn #ibMid>.cmp{flex:0 0 auto}

  /* --- the details column (View: details on) */
  #ib#ib.ibsOn .wrap>.rp{min-width:0;overflow:auto;padding:14px 16px 28px!important;border-left:1px solid var(--u-line-2)!important;background:var(--u-panel)!important;font-size:13px;line-height:1.5;color:var(--u-ink-2)}
  #ib#ib.ibsOn .wrap>.rp h4{margin:16px 0 6px!important;padding:0;font-size:10.5px!important;font-weight:700!important;letter-spacing:.09em!important;text-transform:uppercase;color:var(--u-faint)!important}
  #ib#ib.ibsOn .wrap>.rp h4:first-child{margin-top:0!important}
  #ib#ib.ibsOn .wrap>.rp .kv{grid-template-columns:64px minmax(0,1fr);gap:5px 10px}
  #ib#ib.ibsOn .wrap>.rp .kv span{color:var(--u-muted)}
}
/* a narrow laptop window: the rail slims (the top row wraps instead of clipping at any width where its tools do not fit) */
@media (min-width:901px) and (max-width:1199px){
  #ib#ib.ibsOn.on{grid-template-columns:176px minmax(0,1fr)}
}
/* the details column is a real third column from 1500 px (below that it opens over the page from Details, as it did) */
@media (min-width:1500px){
  #ib#ib.ibsOn:not(.kyNoDet) .wrap{grid-template-columns:var(--ibls,340px) minmax(0,1fr) var(--ibrp,300px)!important}
}
@media (min-width:1800px){
  #ib#ib.ibsOn>.hd #ibWarm .ibw,#ib#ib.ibsOn>.hd #ibLi10 .ibw{display:inline!important}
  #ib#ib.ibsOn>.hd #ibWarm::after,#ib#ib.ibsOn>.hd #ibLi10::after{content:none}
}
/* 18 Nov 2026 Inbox on a laptop: the seven "stuff in the wrong place" problems (docs/HANDOVER-17nov.md, "Inbox on the live site,
   17 Nov 11:17 pm"). Alex, 17 Nov 2026, 11:18 pm, verbatim: "and this is fucked up too, stuff in the wrong place." Looks only, --u-* tokens. */
/* 4. What is filtered, said once over the list, with what the open conversation shows (inboxfix.js listNote). */
#ib #ibFilt{display:flex;align-items:center;gap:8px;flex:0 0 auto;margin:0;padding:6px 12px;border-bottom:1px solid var(--u-line-2);background:var(--u-sunk);font-size:12.5px;line-height:1.4;color:var(--u-ink-2)}
#ib #ibFilt>span{flex:1 1 auto;min-width:0;font-weight:600}
#ib #ibFilt>button{flex:0 0 auto;min-height:28px;padding:0 10px;border:1px solid var(--u-line);border-radius:8px;background:transparent;color:var(--u-ink);font:inherit;font-weight:600;cursor:pointer}
#ib #ibFilt>button:hover{background:var(--u-hover)}
@media (min-width:901px){
  /* 4. One lit item in the rail: the folder (Show) is the lit one. A picked lane is a filter, drawn as bold words with a tick, never a
     second filled row; "All" lanes is the plain default. */
  #ib#ib.ibsOn #ibsRail #ibLanes button.on{background:transparent!important;box-shadow:none!important;font-weight:inherit!important;color:var(--u-ink-2)!important}
  #ib#ib.ibsOn #ibsRail #ibLanes button.on:hover{background:var(--u-hover)!important}
  #ib#ib.ibsOn #ibsRail #ibLanes button.on:not([data-l=all]){color:var(--u-ink)!important;font-weight:700!important}
  #ib#ib.ibsOn #ibsRail #ibLanes button.on:not([data-l=all]) b::before{content:"\2713\00a0"}
  /* 5. "+ New message" never scrolls out of sight. */
  #ib#ib.ibsOn #ibsRail #ibNew{position:sticky;top:0;z-index:1}
}
@media (min-width:901px) and (max-height:640px){
  /* 5. The rail fits a 540 px tall window without a scroll bar. */
  #ib#ib.ibsOn #ibsRail{gap:3px;padding:8px 10px}
  #ib#ib.ibsOn #ibsRail #ibNew{height:34px!important;min-height:34px!important}
  #ib#ib.ibsOn #ibsRail #ibLanes button,#ib#ib.ibsOn #ibsRail #ibF .seg button,#ib#ib.ibsOn #ibsRail #ibF .seg2 button{height:23px!important;min-height:23px!important}
  #ib#ib.ibsOn #ibsRail #ibLanes::before,#ib#ib.ibsOn #ibsRail #ibF::before{padding:3px 10px 1px}
  #ib#ib.ibsOn #ibsRail #ibF .kyMbx{padding-top:6px!important;gap:4px!important}
  #ib#ib.ibsOn #ibsRail #ibF .kyMbx select{height:28px!important;min-height:28px!important}
  #ib#ib.ibsOn #ibsRail #ibF .kyMbx button{height:26px!important;min-height:26px!important}
  /* 6. The chain chips ride on the name row (inboxfix.js chainLine puts them in the h2), so the message keeps the height. */
  #ib#ib#ib.ibsOn #ibMid.ibsCand>.who{margin-bottom:0!important;box-shadow:none!important}
  #ib#ib.ibsOn #ibMid>.who h2>.ibfChain{display:flex;flex:1 1 auto;min-width:0;overflow:hidden;margin:0;padding:0;border:0;background:none;font-size:11.5px;font-weight:400}
  #ib#ib.ibsOn #ibMid>.who h2>.ibfChain[hidden]{display:none!important}
  #ib#ib.ibsOn #ibMid>.who h2>.ibfChain .kyChain{display:flex;flex-wrap:nowrap;align-items:center;gap:5px;min-width:0;overflow:hidden;margin:0!important;line-height:1.2!important}
  #ib#ib.ibsOn #ibMid>.who h2>.ibfChain .kyChain .sep{display:none!important}
  #ib#ib.ibsOn #ibMid>.who h2>.ibfChain .kyChain .cp{display:inline-flex;align-items:center;flex:0 0 auto;height:20px;padding:0 9px;border-radius:999px;border:1px solid var(--u-line-2);background:var(--u-sunk);color:var(--u-ink-2)!important;font-size:11.5px!important;font-weight:600!important;font-style:normal;white-space:nowrap}
  #ib#ib.ibsOn #ibMid>.who h2>.ibfChain .kyChain .cp.ok{background:var(--u-good-tint);border-color:transparent;color:var(--u-good)!important}
  #ib#ib.ibsOn #ibMid>.who h2>.ibfChain .kyChain .cp.warn{background:var(--u-warn-tint);border-color:transparent;color:var(--u-warn)!important}
  #ib#ib.ibsOn #ibMid>.who h2>.ibfChain .kyChain .cp.off{color:var(--u-muted)!important}
  #ib#ib.ibsOn #ibMid>.who h2>.ibfChain .kyChainNote{margin:0!important;padding:0!important;border:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11.5px!important;color:var(--u-muted)!important}
}
/* 27 Nov 2026 (Alex, 12:16 pm ET, verbatim: "inbox, sent, archived...etc. like a regular email and just pick for each user not the mailboxes here, it's too complicated to figure out.... and we need to know if emails were opened or not yet.... so in sent have something which shows which email box it got sent from with the email and if it was opened or not."):
   the rail is folders (Inbox, Needs reply, Sent, Drafts, Archived, Trash, then More) and one "Mail of" person; the lanes are not shown. Looks only; every lane control stays in the page, hidden. */
#ib#ib.ibsOn #ibsRail #ibLanes,#ib #ibLanes{display:none!important} /* 28 Nov: the first selector matches the rail rule above (line ~991) so this one wins; "#ib #ibLanes" alone lost and the lanes showed live */
#ib .kyMbx.kyMbxOne{display:none!important}
#ib .ibxsf{margin-left:auto;display:inline-flex;gap:4px;flex-wrap:wrap}
#ib .ibxsf button{border:1px solid var(--u-line,var(--line));background:none;color:var(--u-ink-2,var(--muted));border-radius:99px;font-size:11.5px;height:24px;padding:0 9px;cursor:pointer}
#ib .ibxsf button.on{background:var(--u-sel,var(--accent));color:var(--u-ink,var(--panel));font-weight:600}
#ib .ibxbox{color:var(--u-ink-2,var(--muted))}
/* ===== end 17 Nov 2026 Inbox redesign ===== */
