/* Newsreader (c) Production Type, SIL Open Font License 1.1. Latin subset, variable weight 400-600. */
@font-face{font-family:Newsreader;font-style:normal;font-weight:400 600;font-display:swap;src:url(/portal/agenthub/assets/hub-newsreader.woff2) format("woff2")}
@font-face{font-family:Newsreader;font-style:italic;font-weight:400 600;font-display:swap;src:url(/portal/agenthub/assets/hub-newsreader-italic.woff2) format("woff2")}
:root{--h-display:"Newsreader","Iowan Old Style","Sitka Display","Palatino Linotype",Georgia,serif;--h-ui:Manrope,"Segoe UI",Arial,sans-serif}
/* Agent Hub design system. Loaded after every other Hub stylesheet.
   One token set (--h-*) per theme drives every screen; the older per-file
   palettes (--ht-*, --hx-*, --hpg-*, ...) are pointed at these tokens.
   Look only: no content, order or behaviour lives here. */

/* ---------- Theme tokens ---------- */
html[data-hub-theme]{
 --h-display:"Newsreader","Iowan Old Style","Sitka Display","Palatino Linotype",Georgia,serif;
 --h-ui:Manrope,"Segoe UI",Arial,sans-serif;
 --h-bg:#f8f5ef;--h-surface:#fffdf9;--h-side:#f2ede3;--h-ink:#1f1a1c;--h-muted:#625a57;--h-line:#e3dbcd;
 --h-accent:#7a1f2b;--h-on-accent:#fffaf6;--h-soft:#f4e7e3;--h-gold:#7a5a1f;--h-focus:#a7843e;
 --h-hero:#3b1219;--h-hero-ink:#fbf1ea;--h-hero-kick:#dcb871;
 --h-ok:#2f6b4a;--h-warn:#8a5a12;--h-danger:#a3202d;
 --h-r1:10px;--h-r2:14px;--h-r3:20px;
 --h-shadow:0 1px 2px rgba(40,20,20,.05),0 10px 26px -16px rgba(40,20,20,.22);
 --h-shadow-lg:0 30px 80px -24px rgba(30,12,16,.38),0 2px 6px rgba(30,12,16,.06);
 --h-ease:cubic-bezier(.2,.7,.2,1);
 color-scheme:light;
}
html[data-hub-theme=pearl]{--h-bg:#f5f6f9;--h-surface:#fff;--h-side:#eceff4;--h-ink:#232a36;--h-muted:#5a6375;--h-line:#dde2ea;--h-accent:#46536f;--h-on-accent:#fff;--h-soft:#e8ebf2;--h-gold:#5f6b85;--h-focus:#596b96;--h-hero:#26304a;--h-hero-ink:#f2f4f8;--h-hero-kick:#c3cde3;--h-shadow:0 1px 2px rgba(20,30,50,.05),0 10px 26px -16px rgba(20,30,50,.22)}
html[data-hub-theme=midnight]{--h-bg:#10151f;--h-surface:#171e2b;--h-side:#131a26;--h-ink:#e9eef6;--h-muted:#a6b2c4;--h-line:#2a3446;--h-accent:#b9c8f0;--h-on-accent:#142038;--h-soft:#1f2a3d;--h-gold:#e0b66d;--h-focus:#e0b66d;--h-hero:linear-gradient(135deg,#25345a,#141d31);--h-hero-ink:#eef2fa;--h-hero-kick:#e0b66d;--h-ok:#86c9a1;--h-warn:#e6bd73;--h-danger:#ff9aa5;color-scheme:dark}
html[data-hub-theme=ocean]{--h-bg:#eff6f9;--h-surface:#fbfeff;--h-side:#e3eef3;--h-ink:#15364a;--h-muted:#466274;--h-line:#cadce5;--h-accent:#1b5f7d;--h-on-accent:#fff;--h-soft:#dbebf3;--h-gold:#8a5d1f;--h-focus:#187390;--h-hero:linear-gradient(135deg,#145673,#0c3346);--h-hero-ink:#eef7fb;--h-hero-kick:#9fd3e6}
html[data-hub-theme=sage]{--h-bg:#f3f5ef;--h-surface:#fdfefa;--h-side:#e8ede1;--h-ink:#26392d;--h-muted:#56675a;--h-line:#d3dccc;--h-accent:#46634c;--h-on-accent:#fff;--h-soft:#e2eada;--h-gold:#7a6430;--h-focus:#456749;--h-hero:#2c4232;--h-hero-ink:#f1f5ec;--h-hero-kick:#cfe0bf}
html[data-hub-theme=rosewood]{--h-bg:#170f11;--h-surface:#211618;--h-side:#1b1214;--h-ink:#f4e9e6;--h-muted:#c3aeab;--h-line:#3a2a2d;--h-accent:#e7a3ae;--h-on-accent:#2a0d13;--h-soft:#2f1c20;--h-gold:#d9b46a;--h-focus:#d9b46a;--h-hero:linear-gradient(135deg,#4a1520,#25090f);--h-hero-ink:#fbefe9;--h-hero-kick:#d9b46a;--h-ok:#8fcaa6;--h-warn:#e2bd76;--h-danger:#ff9aa5;color-scheme:dark}
html[data-hub-theme=champagne]{--h-bg:#fbf7ef;--h-surface:#fffdf8;--h-side:#f3ecdd;--h-ink:#2a241a;--h-muted:#675e4c;--h-line:#e7dcc6;--h-accent:#7a5c1f;--h-on-accent:#fffaf0;--h-soft:#f3e8d0;--h-gold:#86621d;--h-focus:#b08a3a;--h-hero:linear-gradient(135deg,#4a3a1a,#2c2210);--h-hero-ink:#fbf5e8;--h-hero-kick:#e2c27a}
html[data-hub-theme=graphite]{--h-bg:#131416;--h-surface:#1b1d20;--h-side:#16181a;--h-ink:#ecebe8;--h-muted:#a9a8a3;--h-line:#2e3135;--h-accent:#e8d3b0;--h-on-accent:#1d1a14;--h-soft:#26292d;--h-gold:#e8d3b0;--h-focus:#e8d3b0;--h-hero:linear-gradient(135deg,#2a2d31,#18191b);--h-hero-ink:#f2f1ee;--h-hero-kick:#e8d3b0;--h-ok:#9fd0b0;--h-warn:#e6c27f;--h-danger:#ff9aa5;color-scheme:dark}
html[data-hub-theme=dusk]{--h-bg:#f6f4f9;--h-surface:#fefdff;--h-side:#ece8f2;--h-ink:#2b2436;--h-muted:#615870;--h-line:#e0d9ea;--h-accent:#5d3f7a;--h-on-accent:#fff;--h-soft:#ece4f4;--h-gold:#7d5a1f;--h-focus:#7a58a0;--h-hero:linear-gradient(135deg,#43305c,#251a33);--h-hero-ink:#f6f1fb;--h-hero-kick:#d6c0ee}
html[data-hub-theme=clay]{--h-bg:#faf5f0;--h-surface:#fffcf9;--h-side:#f2e9e0;--h-ink:#2e211b;--h-muted:#69584f;--h-line:#e8dbcf;--h-accent:#953f22;--h-on-accent:#fff;--h-soft:#f5e3d9;--h-gold:#86621d;--h-focus:#b5893f;--h-hero:linear-gradient(135deg,#5a2e1f,#36190f);--h-hero-ink:#fbf1ea;--h-hero-kick:#f0b893}
html[data-hub-theme=blush]{--h-bg:#fdf6f7;--h-surface:#fffdfd;--h-side:#f7e9ec;--h-ink:#2e2226;--h-muted:#67555b;--h-line:#efdde2;--h-accent:#b03a5b;--h-on-accent:#fff;--h-soft:#f9e4ea;--h-gold:#8c5d2c;--h-focus:#b03a5b;--h-hero:linear-gradient(135deg,#6e2a40,#4a1a2b);--h-hero-ink:#fff4f6;--h-hero-kick:#ffc6d6}
html[data-hub-theme=peony]{--h-bg:#fff5f8;--h-surface:#fff;--h-side:#ffe6ef;--h-ink:#2b1020;--h-muted:#684356;--h-line:#f6cfdd;--h-accent:#c2185b;--h-on-accent:#fff;--h-soft:#ffe1ec;--h-gold:#9c2a62;--h-focus:#7a1fa2;--h-hero:linear-gradient(130deg,#d81b60,#8e1a5a 70%,#5e1747);--h-hero-ink:#fff;--h-hero-kick:#fff}
html[data-hub-theme=flamingo]{--h-bg:#1a0e15;--h-surface:#24131d;--h-side:#1e1018;--h-ink:#fbeaf2;--h-muted:#d1aec0;--h-line:#3f2433;--h-accent:#ff8fbf;--h-on-accent:#3a0a20;--h-soft:#341a29;--h-gold:#ffc37a;--h-focus:#ffc37a;--h-hero:linear-gradient(135deg,#8a1a52,#2c0f22);--h-hero-ink:#fff2f8;--h-hero-kick:#ffa8cf;--h-ok:#8fd6ad;--h-warn:#ffc37a;--h-danger:#ff9aa5;color-scheme:dark}
html[data-hub-theme=tangerine]{--h-bg:#fff8f2;--h-surface:#fff;--h-side:#ffeedd;--h-ink:#2a1708;--h-muted:#674d3c;--h-line:#f6dcc4;--h-accent:#ad3809;--h-on-accent:#fff;--h-soft:#ffe7d1;--h-gold:#984306;--h-focus:#1d4ed8;--h-hero:linear-gradient(130deg,#c2410c,#9a3412 60%,#7c2d12);--h-hero-ink:#fff;--h-hero-kick:#fff}
html[data-hub-theme=lagoon]{--h-bg:#f0fbf9;--h-surface:#fff;--h-side:#dff5f1;--h-ink:#0f2f2c;--h-muted:#405f59;--h-line:#c5e8e1;--h-accent:#0f766e;--h-on-accent:#fff;--h-soft:#d5f3ec;--h-gold:#8e4a0a;--h-focus:#c2410c;--h-hero:linear-gradient(130deg,#0f766e,#115e59 55%,#134e4a);--h-hero-ink:#fff;--h-hero-kick:#fff}
html[data-hub-theme=electric]{--h-bg:#f6f5ff;--h-surface:#fff;--h-side:#ebe8ff;--h-ink:#1e1838;--h-muted:#575274;--h-line:#dcd7f5;--h-accent:#5b21b6;--h-on-accent:#fff;--h-soft:#ebe5ff;--h-gold:#9d1aa8;--h-focus:#db2777;--h-hero:linear-gradient(130deg,#6d28d9,#4338ca 55%,#1d4ed8);--h-hero-ink:#fff;--h-hero-kick:#f5c2ff}
html[data-hub-theme=contrast]{--h-bg:#fff;--h-surface:#fff;--h-side:#f1f1f1;--h-ink:#000;--h-muted:#262626;--h-line:#3b3b3b;--h-accent:#7a0016;--h-on-accent:#fff;--h-soft:#f6e3e7;--h-gold:#5c3f00;--h-focus:#0047ff;--h-hero:#000;--h-hero-ink:#fff;--h-hero-kick:#ffd27a;--h-ok:#0b5a2a;--h-warn:#6b4500;--h-shadow:none;--h-shadow-lg:0 0 0 2px #000}
/* Match my device: Momentum Classic by day, Rosewood in dark mode. */
@media (prefers-color-scheme:dark){html[data-hub-theme=auto]{--h-bg:#170f11;--h-surface:#211618;--h-side:#1b1214;--h-ink:#f4e9e6;--h-muted:#c3aeab;--h-line:#3a2a2d;--h-accent:#e7a3ae;--h-on-accent:#2a0d13;--h-soft:#2f1c20;--h-gold:#d9b46a;--h-focus:#d9b46a;--h-hero:linear-gradient(135deg,#4a1520,#25090f);--h-hero-ink:#fbefe9;--h-hero-kick:#d9b46a;--h-ok:#8fcaa6;--h-warn:#e2bd76;--h-danger:#ff9aa5;color-scheme:dark}}
html:is([data-hub-theme=midnight],[data-hub-theme=rosewood],[data-hub-theme=graphite],[data-hub-theme=flamingo]){--h-shadow:0 1px 2px rgba(0,0,0,.35),0 12px 30px -16px rgba(0,0,0,.7);--h-shadow-lg:0 30px 80px -20px rgba(0,0,0,.75),0 0 0 1px rgba(255,255,255,.04)}
@media (prefers-color-scheme:dark){html[data-hub-theme=auto]{--h-shadow:0 1px 2px rgba(0,0,0,.35),0 12px 30px -16px rgba(0,0,0,.7);--h-shadow-lg:0 30px 80px -20px rgba(0,0,0,.75)}}

/* ---------- Older palettes follow the tokens ---------- */
html[data-hub-theme]{--ht-bg:var(--h-bg);--ht-surface:var(--h-surface);--ht-raised:var(--h-side);--ht-ink:var(--h-ink);--ht-muted:var(--h-muted);--ht-line:var(--h-line);--ht-accent:var(--h-accent);--ht-on-accent:var(--h-on-accent);--ht-soft:var(--h-soft);--ht-focus:var(--h-focus);--ht-on-soft:var(--h-ink);--ht-shadow:transparent;
 --ct-ink:var(--h-ink);--ct-muted:var(--h-muted);--ct-line:var(--h-line);--ct-surface:var(--h-surface);--ct-bg:var(--h-bg);--ct-blue:var(--h-accent);--ct-tint:var(--h-soft);--ct-gold:var(--h-gold);--ct-danger:var(--h-danger);--ct-radius:var(--h-r2);
 --lu-ink:var(--h-ink);--lu-muted:var(--h-muted);--lu-blue:var(--h-accent);--lu-line:var(--h-line)}
html[data-hub-theme] body.hub-workspace{--ink:var(--h-ink);--muted:var(--h-muted);--text:var(--h-ink);--rule:var(--h-line);--paper:var(--h-surface);--burgundy:var(--h-accent);--gold:var(--h-gold);--green:var(--h-ink)}
html[data-hub-theme] .hx-workspace{--hx-ink:var(--h-ink);--hx-muted:var(--h-muted);--hx-paper:var(--h-surface);--hx-rule:var(--h-line);--hx-wine:var(--h-accent);--hx-gold:var(--h-gold)}
html[data-hub-theme] .hm-app{--hm-blue:var(--h-accent);--hm-ink:var(--h-ink);--hm-muted:var(--h-muted)}
html[data-hub-theme] .ho{--ho-ink:var(--h-ink);--ho-muted:var(--h-muted);--ho-rule:var(--h-line);--ho-paper:var(--h-surface);--ho-burgundy:var(--h-accent);--ho-gold:var(--h-gold)}
html[data-hub-theme] .hs{--hs-ink:var(--h-ink);--hs-muted:var(--h-muted);--hs-red:var(--h-accent);--hs-gold:var(--h-gold);--hs-cream:var(--h-bg);--hs-line:var(--h-line)}
html[data-hub-theme] .hpg{--hpg-ink:var(--h-ink);--hpg-muted:var(--h-muted);--hpg-rule:var(--h-line);--hpg-paper:var(--h-surface);--hpg-accent:var(--h-accent);--hpg-gold:var(--h-gold)}
html[data-hub-theme] :is(.hap-dialog,.hap-staff){--hap-ink:var(--h-ink);--hap-muted:var(--h-muted);--hap-surface:var(--h-surface);--hap-paper:var(--h-bg);--hap-line:var(--h-line);--hap-accent:var(--h-accent);--hap-ok:var(--h-ok);--hap-error:var(--h-danger)}
html[data-hub-theme] .company-structure{--cs-ink:var(--h-ink);--cs-muted:var(--h-muted);--cs-line:var(--h-line);--cs-surface:var(--h-surface);--cs-accent:var(--h-accent);--cs-burgundy:var(--h-accent);--cs-burgundy-soft:var(--h-soft);--cs-gold:var(--h-gold);--cs-connector:var(--h-line);--cs-focus:var(--h-focus)}
html[data-hub-theme] .hub-workspace .ct-dialog{--ct-primary:var(--h-accent);--ct-accent:var(--h-accent);--ct-blue:var(--h-accent);--ct-ink:var(--h-ink);--ct-muted:var(--h-muted);--ct-line:var(--h-line);--ct-surface:var(--h-surface);--ct-tint:var(--h-soft)}
html[data-hub-theme] .pap{--pap-ink:var(--h-ink);--pap-muted:var(--h-muted);--pap-line:var(--h-line);--pap-blue:var(--h-accent);--pap-tint:var(--h-soft)}
html[data-hub-theme] .pan{--pan-ink:var(--h-ink);--pan-muted:var(--h-muted);--pan-line:var(--h-line);--pan-blue:var(--h-accent)}
html[data-hub-theme] :is(.hp,.hp-dialog,.hi){--hp-ink:var(--h-ink);--hp-muted:var(--h-muted);--hp-surface:var(--h-surface);--hp-paper:var(--h-bg);--hp-line:var(--h-line);--hp-accent:var(--h-accent);--hp-gold:var(--h-gold)}

/* ---------- Foundations ---------- */
html[data-hub-theme] body.hub-workspace{background:var(--h-bg);color:var(--h-ink);font-family:var(--h-ui);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;scrollbar-color:color-mix(in srgb,var(--h-muted) 45%,transparent) transparent}
html[data-hub-theme] body.hub-workspace ::selection{background:color-mix(in srgb,var(--h-accent) 24%,transparent);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--h-focus)!important;outline-offset:2px;border-radius:8px}
html[data-hub-theme] body.hub-workspace :is(h1,h2,h3){text-wrap:balance}
html[data-hub-theme] body.hub-workspace :is(.workspace,main){background:transparent}

/* ---------- Sidebar ---------- */
html[data-hub-theme] body.hub-workspace .sidebar{background:var(--h-side);border-right:1px solid var(--h-line);padding:22px 14px 16px}
html[data-hub-theme] body.hub-workspace .sidebar .tmbrand{display:grid;gap:6px;padding:4px 12px 20px!important;margin:0 0 14px;border-bottom:1px solid var(--h-line);background:none}
html[data-hub-theme] body.hub-workspace .sidebar .tmbrand strong{font-family:var(--h-display);font-weight:500;font-size:25px;line-height:1.08;letter-spacing:-.01em;color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .sidebar .hn-tagline{font:800 11px/1.4 var(--h-ui);letter-spacing:.16em;text-transform:uppercase;color:var(--h-gold)}
html[data-hub-theme] body.hub-workspace .sidebar .hub-approved-logo{display:block;width:100%;max-width:190px;height:auto;border-radius:8px}
html[data-hub-theme] body.hub-workspace .sidebar nav{display:grid;gap:2px;align-content:start;padding-left:2px}
html[data-hub-theme] body.hub-workspace .sidebar .nav-link{position:relative;display:flex;align-items:center;gap:12px;min-height:44px;padding:9px 12px;border-radius:var(--h-r1);color:var(--h-muted);font-weight:600;background:transparent;transition:background .18s var(--h-ease),color .18s var(--h-ease),box-shadow .18s var(--h-ease)}
html[data-hub-theme] body.hub-workspace .sidebar .nav-link svg{color:currentColor;flex:none;transition:color .18s}
html[data-hub-theme] body.hub-workspace .sidebar .nav-link:hover{background:color-mix(in srgb,var(--h-surface) 70%,transparent);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .sidebar .nav-link.active{background:var(--h-surface);color:var(--h-ink);box-shadow:var(--h-shadow);font-weight:700}
html[data-hub-theme] body.hub-workspace .sidebar .nav-link.active::before{content:"";position:absolute;left:0;top:11px;bottom:11px;width:3px;border-radius:0 3px 3px 0;background:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .sidebar .nav-link.active svg{color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .sidebar .hn-nav-contracting{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hm-nav-badge{background:var(--h-accent);color:var(--h-on-accent);border-radius:999px;font-weight:800}
html[data-hub-theme] body.hub-workspace .side-foot{display:grid;gap:2px;border-top:1px solid var(--h-line);padding-top:14px!important}
html[data-hub-theme] body.hub-workspace .hn-crm-link{display:flex;align-items:center;gap:10px;min-height:46px;padding:10px 14px;border-radius:var(--h-r1);background:var(--h-accent);color:var(--h-on-accent);border:0;font-weight:750;box-shadow:var(--h-shadow);transition:transform .18s var(--h-ease),filter .18s}
html[data-hub-theme] body.hub-workspace .hn-crm-link:hover{transform:translateY(-1px);filter:brightness(1.06)}
html[data-hub-theme] body.hub-workspace .hn-crm-link span{flex:1}
html[data-hub-theme] body.hub-workspace .hn-staff-link{color:var(--h-muted);opacity:1;background:none}
html[data-hub-theme] body.hub-workspace .hn-staff-link:hover{color:var(--h-ink);background:none}
html[data-hub-theme] body.hub-workspace .powered{display:flex;align-items:center;gap:8px;white-space:nowrap;color:var(--h-muted);padding:10px 14px 0;letter-spacing:.14em}
html[data-hub-theme] body.hub-workspace .powered .wordmark{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .wordmark>span{color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .lp-plan-badge *{background:transparent!important;color:inherit!important}

/* ---------- Top bar ---------- */
html[data-hub-theme] body.hub-workspace .topbar{background:color-mix(in srgb,var(--h-surface) 88%,transparent);backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid var(--h-line)}
html[data-hub-theme] body.hub-workspace .crumb{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .crumb strong{color:var(--h-ink);font-weight:750}
html[data-hub-theme] body.hub-workspace .search{background:var(--h-bg);border:1px solid var(--h-line);border-radius:var(--h-r1);transition:border-color .18s,box-shadow .18s}
html[data-hub-theme] body.hub-workspace .search:focus-within{border-color:var(--h-accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--h-accent) 14%,transparent)}
html[data-hub-theme] body.hub-workspace .search input{background:transparent;color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .search kbd{background:var(--h-surface);border:1px solid var(--h-line);color:var(--h-muted);border-radius:6px}
html[data-hub-theme] body.hub-workspace .iconbtn{color:var(--h-muted);border-radius:var(--h-r1);transition:background .18s,color .18s}
html[data-hub-theme] body.hub-workspace .iconbtn:hover{background:var(--h-soft);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .profile{color:var(--h-ink);border-radius:999px;padding:4px 10px 4px 4px;transition:background .18s}
html[data-hub-theme] body.hub-workspace .profile:hover{background:var(--h-soft)}
html[data-hub-theme] body.hub-workspace .avatar{background:var(--h-soft);color:var(--h-accent);font-weight:800;box-shadow:0 0 0 2px var(--h-surface),0 0 0 3px var(--h-line)}
html[data-hub-theme] body.hub-workspace .profile small{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .lp-plan-badge{background:var(--h-soft);color:var(--h-accent);border:1px solid color-mix(in srgb,var(--h-accent) 25%,transparent);border-radius:999px;font-weight:800}

/* ---------- Page headings and type ---------- */
html[data-hub-theme] body.hub-workspace :is(.pagehead,.hx-pagehead){gap:24px;margin-bottom:30px;padding-bottom:0;border:0}
html[data-hub-theme] body.hub-workspace :is(.pagehead h1,.hx-pagehead h1,.article-layout h1){font-family:var(--h-display);font-weight:500;font-size:clamp(34px,3.3vw,46px);line-height:1.06;letter-spacing:-.018em;color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.pagehead h1,.hx-pagehead h1) em{color:var(--h-accent);font-style:italic}
html[data-hub-theme] body.hub-workspace :is(.pagehead p,.hx-pagehead p){color:var(--h-muted);max-width:64ch}
html[data-hub-theme] body.hub-workspace :is(.eyebrow,.hx-eyebrow,.hga-eyebrow){color:var(--h-gold);font-weight:800;letter-spacing:.16em}
html[data-hub-theme] body.hub-workspace :is(.section-head h2,.hx-section-title h2,.toolbar h2,.empty h2,.dialog-head h2,.hub-more-carriers h2,.hub-contracting-intro h2){font-family:var(--h-display);font-weight:500;letter-spacing:-.01em;color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.section-head h2,.hx-section-title h2){font-size:24px;line-height:1.2}
html[data-hub-theme] body.hub-workspace :is(.section-head,.hx-section-title){border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace :is(.pagehint,.calendar-footnote,.footer-note){color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .footer-note{border-top:1px solid var(--h-line);margin-top:48px}
html[data-hub-theme] body.hub-workspace .footer-note a{color:var(--h-muted)}

/* ---------- Buttons and links ---------- */
html[data-hub-theme] body.hub-workspace :is(.button,.hx-button,.hc-primary,.hpg .button){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:var(--h-r1);font-weight:750;letter-spacing:.005em;text-decoration:none;cursor:pointer;transition:transform .16s var(--h-ease),box-shadow .16s var(--h-ease),background .16s,filter .16s}
html[data-hub-theme] body.hub-workspace :is(.button,.hx-button,.hc-primary):not(.secondary):not(.light):not(.ghost){background:var(--h-accent);border:1px solid var(--h-accent);color:var(--h-on-accent);box-shadow:0 1px 0 rgba(255,255,255,.12) inset,0 6px 16px -10px color-mix(in srgb,var(--h-accent) 70%,transparent)}
html[data-hub-theme] body.hub-workspace :is(.button,.hx-button,.hc-primary):not(.secondary):not(.light):not(.ghost):hover{transform:translateY(-1px);filter:brightness(1.07);box-shadow:0 10px 22px -12px color-mix(in srgb,var(--h-accent) 80%,transparent)}
html[data-hub-theme] body.hub-workspace :is(.button,.hx-button,.hc-primary):active{transform:translateY(0) scale(.985)}
html[data-hub-theme] body.hub-workspace :is(.button.secondary,.hx-button.secondary){background:var(--h-surface);border:1px solid var(--h-line);color:var(--h-ink);box-shadow:none}
html[data-hub-theme] body.hub-workspace :is(.button.secondary,.hx-button.secondary):hover{border-color:color-mix(in srgb,var(--h-accent) 45%,var(--h-line));background:var(--h-surface);color:var(--h-ink);transform:translateY(-1px);box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace .button.small{min-height:38px;padding:0 14px}
html[data-hub-theme] body.hub-workspace :is(.button,.hx-button)[disabled]{opacity:.55;transform:none;filter:none;cursor:not-allowed}
html[data-hub-theme] body.hub-workspace :is(.textbutton,.hx-textlink,.back,.hc-text-link,.hx-iconlink){color:var(--h-accent);font-weight:700;text-underline-offset:3px}
html[data-hub-theme] body.hub-workspace :is(.textbutton,.hx-textlink,.hc-text-link):hover{text-decoration:underline}
html[data-hub-theme] body.hub-workspace main a:not([class]){color:var(--h-accent);text-underline-offset:3px}

/* ---------- Surfaces: cards, lists, tables ---------- */
html[data-hub-theme] body.hub-workspace :is(.calendar-surface,.nh-training-weekly,.hub-contracting-intro,.hn-account-shortcuts,.nh-notifications,.nh-phone-verification,.nh-delivery-status,.nh-urgent,.settings-grid>.list-item,.aside-note,.hub-more-carriers,.integration-section){background:var(--h-surface);border:1px solid var(--h-line);border-radius:var(--h-r2)}
html[data-hub-theme] body.hub-workspace :is(.session-row,.list-item,.resource-row,.recording-row,.post,.reply,.hub-ops-row,.hx-session-row,.hx-onboarding-row){border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace :is(.resource-row,.recording-row,.session-row,.hx-session-row,.hx-onboarding-row,.hc-guide-row){transition:background .16s}
html[data-hub-theme] body.hub-workspace :is(.resource-row,.recording-row,.session-row,.hc-guide-row):hover{background:color-mix(in srgb,var(--h-soft) 55%,transparent)}
html[data-hub-theme] body.hub-workspace :is(.resource-icon,.recording-glyph,.hn-shortcut-icon,.hx-round-icon,.hx-date,.day-stamp,.carrier-initials){background:var(--h-soft);color:var(--h-accent);border-color:transparent}
html[data-hub-theme] body.hub-workspace .day-stamp{border-radius:12px}
html[data-hub-theme] body.hub-workspace :is(.table th,.resource-tablehead){color:var(--h-muted);border-color:var(--h-line);font-weight:800;letter-spacing:.1em}
html[data-hub-theme] body.hub-workspace .table td{border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace :is(.tag,.chip,.hga-status,.resource-state){border-radius:999px;font-weight:800;letter-spacing:.06em}
html[data-hub-theme] body.hub-workspace .tag{background:var(--h-soft);color:var(--h-accent);border:0}
html[data-hub-theme] body.hub-workspace .tag.gold{background:color-mix(in srgb,var(--h-gold) 16%,var(--h-surface));color:var(--h-gold)}
html[data-hub-theme] body.hub-workspace .notice{background:var(--h-soft);color:var(--h-ink);border:1px solid color-mix(in srgb,var(--h-accent) 18%,transparent);border-radius:var(--h-r1)}
html[data-hub-theme] body.hub-workspace .notice.error{background:color-mix(in srgb,var(--h-danger) 10%,var(--h-surface));border-color:color-mix(in srgb,var(--h-danger) 45%,transparent);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.empty,.hx-empty),html[data-hub-theme] body.hub-workspace :is(.empty,.hx-empty) p{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hx-date small{color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace :is(.empty,.hx-empty) :is(h2,h3){color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.empty,.hx-empty)>svg{color:var(--h-accent);background:var(--h-soft);border-radius:14px;padding:10px;width:44px;height:44px}

/* ---------- Tabs and segmented controls ---------- */
html[data-hub-theme] body.hub-workspace :is(.tabs,.hc-tabs){border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace :is(.tabs,.hc-tabs) :is(button,a){color:var(--h-muted);font-weight:700;border-color:transparent;transition:color .16s,border-color .16s}
html[data-hub-theme] body.hub-workspace :is(.tabs,.hc-tabs) :is(button,a):hover{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.tabs,.hc-tabs) :is([aria-selected=true],.active,[aria-current=page]){color:var(--h-ink);border-bottom-color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .view-switch{background:var(--h-soft);border-radius:var(--h-r1);padding:3px}
html[data-hub-theme] body.hub-workspace .view-switch :is(button,a){border-radius:8px;color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .view-switch :is([aria-pressed=true],.active){background:var(--h-surface);color:var(--h-ink);box-shadow:var(--h-shadow)}

/* ---------- Forms ---------- */
html[data-hub-theme] body.hub-workspace :is(.field input,.field select,.field textarea,input[type=text],input[type=email],input[type=tel],input[type=search],input[type=url],input[type=number],input[type=date],input[type=time],select,textarea):not(.search input){background:var(--h-surface);color:var(--h-ink);border:1px solid var(--h-line);border-radius:var(--h-r1);transition:border-color .16s,box-shadow .16s}
html[data-hub-theme] body.hub-workspace :is(input,select,textarea):not(.search input):hover{border-color:color-mix(in srgb,var(--h-muted) 50%,var(--h-line))}
html[data-hub-theme] body.hub-workspace :is(input,select,textarea):not(.search input):focus{border-color:var(--h-accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--h-accent) 14%,transparent);outline:none}
html[data-hub-theme] body.hub-workspace :is(input,textarea)::placeholder{color:color-mix(in srgb,var(--h-muted) 80%,transparent)}
html[data-hub-theme] body.hub-workspace :is(.field,label){color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .field small{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace :is(input[type=checkbox],input[type=radio],progress){accent-color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .formerror{color:var(--h-danger)}

/* ---------- Dialogs and toast ---------- */
html[data-hub-theme] body.hub-workspace dialog{background:var(--h-surface);color:var(--h-ink);border:1px solid var(--h-line);border-radius:var(--h-r3);box-shadow:var(--h-shadow-lg)}
html[data-hub-theme] body.hub-workspace dialog::backdrop{background:color-mix(in srgb,#0b0608 46%,transparent);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
html[data-hub-theme] body.hub-workspace dialog[open]{animation:h-pop .26s var(--h-ease)}
html[data-hub-theme] body.hub-workspace :is(.dialog-head,.dialog-actions,.compose-foot){border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace #toast{background:var(--h-ink);color:var(--h-bg);border-radius:12px;box-shadow:var(--h-shadow-lg);font-weight:650}

/* ---------- Home ---------- */
html[data-hub-theme] body.hub-workspace .hx-next-action{position:relative;overflow:hidden;isolation:isolate;background:var(--h-hero);color:var(--h-hero-ink);border:0;border-radius:var(--h-r3);padding:30px 34px;box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace .hx-next-action::after{content:"";position:absolute;z-index:-1;right:-90px;top:-120px;width:360px;height:360px;border-radius:50%;border:1px solid color-mix(in srgb,var(--h-hero-kick) 35%,transparent);box-shadow:0 0 0 46px color-mix(in srgb,var(--h-hero-kick) 5%,transparent)}
html[data-hub-theme] body.hub-workspace .hx-next-action .hx-eyebrow{color:var(--h-hero-kick)}
html[data-hub-theme] body.hub-workspace .hx-next-action h2{font-family:var(--h-display);font-weight:500;font-size:clamp(28px,2.6vw,36px);line-height:1.12;color:var(--h-hero-ink);letter-spacing:-.01em}
html[data-hub-theme] body.hub-workspace .hx-next-action p{color:color-mix(in srgb,var(--h-hero-ink) 84%,transparent);max-width:60ch}
html[data-hub-theme] body.hub-workspace .hx-next-action .hx-button{background:var(--h-hero-ink)!important;color:#1b1214!important;border-color:var(--h-hero-ink)!important;box-shadow:0 10px 24px -12px rgba(0,0,0,.6)!important}
html[data-hub-theme] body.hub-workspace .nh-home-shortcuts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
html[data-hub-theme] body.hub-workspace .nh-home-shortcuts .hx-button.secondary{justify-content:space-between;min-height:64px;padding:12px 16px;border-radius:var(--h-r2);background:var(--h-surface);font-size:15.5px;text-align:left;line-height:1.3}
html[data-hub-theme] body.hub-workspace .nh-home-shortcuts .hx-button.secondary svg{color:var(--h-accent);transition:transform .18s var(--h-ease)}
html[data-hub-theme] body.hub-workspace .nh-home-shortcuts .hx-button.secondary:hover svg{transform:translateX(3px)}
html[data-hub-theme] body.hub-workspace .hx-home-columns>:is(section,aside){background:var(--h-surface);border:1px solid var(--h-line);border-radius:var(--h-r3);padding:24px 26px}
html[data-hub-theme] body.hub-workspace .hx-featured-session{background:color-mix(in srgb,var(--h-soft) 55%,transparent);border-radius:var(--h-r2);padding:16px;border:0}
html[data-hub-theme] body.hub-workspace .hx-date{border-radius:12px;border:0}
html[data-hub-theme] body.hub-workspace .hx-home-columns progress{appearance:none;height:8px;border:0;border-radius:8px;background:var(--h-soft);overflow:hidden}
html[data-hub-theme] body.hub-workspace .hx-home-columns progress::-webkit-progress-bar{background:var(--h-soft);border-radius:8px}
html[data-hub-theme] body.hub-workspace .hx-home-columns progress::-webkit-progress-value{background:var(--h-accent);border-radius:8px}
html[data-hub-theme] body.hub-workspace .hx-home-columns progress::-moz-progress-bar{background:var(--h-accent);border-radius:8px}
html[data-hub-theme] body.hub-workspace .hx-step{border-color:var(--h-line);color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .hx-support-note{background:var(--h-soft);border:0;border-radius:var(--h-r2);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hx-support-note h3{font-family:var(--h-display);font-weight:500;font-size:22px;color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hx-support-note p{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hx-hero{background:var(--h-surface);border:1px solid var(--h-line);border-radius:var(--h-r3);color:var(--h-ink);overflow:hidden}
html[data-hub-theme] body.hub-workspace .hx-hero h2{font-family:var(--h-display);font-weight:400;letter-spacing:-.015em;color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hx-hero h2 em{color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .hx-hero .hx-eyebrow{color:var(--h-gold)}
html[data-hub-theme] body.hub-workspace .hx-hero{margin-top:28px}
html[data-hub-theme] body.hub-workspace .hx-hero-art{background:none;border:0;padding:0;display:block}
html[data-hub-theme] body.hub-workspace .hx-hero-art .hx-approved-logo{display:block;width:100%;max-height:none;border-radius:var(--h-r2);mix-blend-mode:normal!important;box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace :is(.hx-approved-logo,.hub-approved-logo){mix-blend-mode:multiply;border-radius:10px;max-height:220px;width:auto;max-width:100%}
html:is([data-hub-theme=midnight],[data-hub-theme=rosewood],[data-hub-theme=graphite],[data-hub-theme=flamingo]) body.hub-workspace :is(.hx-approved-logo,.hub-approved-logo){mix-blend-mode:normal;box-shadow:var(--h-shadow)}
@media (prefers-color-scheme:dark){html[data-hub-theme=auto] body.hub-workspace :is(.hx-approved-logo,.hub-approved-logo){mix-blend-mode:normal}}

/* ---------- Resources: four large boxes ---------- */
html[data-hub-theme] body.hub-workspace .hn-resource-shortcuts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;border:0;padding:0;margin:0 0 22px}
html[data-hub-theme] body.hub-workspace .hn-resource-shortcuts .hn-tool-link{position:relative;display:grid;grid-template-columns:1fr;align-content:start;gap:12px;min-height:188px;padding:24px;border:1px solid var(--h-line);border-radius:var(--h-r3);background:var(--h-surface);color:var(--h-ink);text-decoration:none;transition:transform .2s var(--h-ease),box-shadow .2s var(--h-ease),border-color .2s}
html[data-hub-theme] body.hub-workspace .hn-resource-shortcuts .hn-tool-link:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--h-accent) 50%,var(--h-line));box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace .hn-resource-shortcuts .hn-shortcut-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center}
html[data-hub-theme] body.hub-workspace .hn-resource-shortcuts .hn-tool-link strong{font-family:var(--h-display);font-weight:500;font-size:25px!important;line-height:1.15;color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hn-resource-shortcuts .hn-tool-link small{font-size:16px!important;color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hn-resource-shortcuts .hn-tool-link>svg:last-child{position:absolute;top:24px;right:22px;color:var(--h-muted);transition:transform .2s var(--h-ease),color .2s}
html[data-hub-theme] body.hub-workspace .hn-resource-shortcuts .hn-tool-link:hover>svg:last-child{transform:translateX(3px);color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace :is(.hn-tool-link){color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hn-secondary-links a{color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .carrier-index>a{background:var(--h-surface);border:1px solid var(--h-line);border-radius:var(--h-r2);transition:transform .18s var(--h-ease),box-shadow .18s,border-color .18s}
html[data-hub-theme] body.hub-workspace .carrier-index>a:hover{transform:translateY(-2px);box-shadow:var(--h-shadow);border-color:color-mix(in srgb,var(--h-accent) 45%,var(--h-line))}

/* ---------- Calendar ---------- */
html[data-hub-theme] body.hub-workspace .nh-training-weekly{padding:26px 28px}
html[data-hub-theme] body.hub-workspace .nh-weekly-list>li{position:relative;border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .nh-weekly-list>li:not(.nh-weekly-pending)::before{content:"";position:absolute;left:-28px;top:18px;bottom:18px;width:4px;border-radius:0 4px 4px 0;background:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .nh-weekly-list>li :is(h3,strong){color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .calendar-surface{padding:6px 22px 18px}
html[data-hub-theme] body.hub-workspace :is(.month,.month .cell,.month .weekday){border-color:var(--h-line);background:var(--h-surface)}
html[data-hub-theme] body.hub-workspace .cell.outside{background:var(--h-bg)}
html[data-hub-theme] body.hub-workspace .cell.today .day{background:var(--h-accent);color:var(--h-on-accent)}
html[data-hub-theme] body.hub-workspace .mini-event{background:var(--h-soft);color:var(--h-accent);border-radius:6px;font-weight:700}
html[data-hub-theme] body.hub-workspace .hub-section-nav{gap:10px}

/* ---------- Messages & Community ---------- */
html[data-hub-theme] body.hub-workspace .nh-community-nav{gap:8px}
html[data-hub-theme] body.hub-workspace .nh-community-nav .nh-subchat{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 16px;border:1px solid var(--h-line);border-radius:999px;background:var(--h-surface);color:var(--h-ink);font-weight:700;text-decoration:none;transition:background .16s,border-color .16s,transform .16s var(--h-ease)}
html[data-hub-theme] body.hub-workspace .nh-community-nav .nh-subchat::before{content:"#";color:var(--h-accent);font-weight:800}
html[data-hub-theme] body.hub-workspace .nh-community-nav .nh-subchat:hover{border-color:var(--h-accent);transform:translateY(-1px)}
html[data-hub-theme] body.hub-workspace .nh-community-nav .nh-subchat:is([aria-current],.active){background:var(--h-accent);border-color:var(--h-accent);color:var(--h-on-accent)}
html[data-hub-theme] body.hub-workspace .nh-community-nav .nh-subchat:is([aria-current],.active)::before{color:inherit}
html[data-hub-theme] body.hub-workspace .hm-app{background:var(--h-surface);border:1px solid var(--h-line);border-radius:var(--h-r3);box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace .hm-inbox{background:var(--h-bg);border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace :is(.hm-inbox-head,.hm-inbox-foot){border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .hm-chat{background:var(--h-surface)}

/* ---------- Help & Support ---------- */
html[data-hub-theme] body.hub-workspace .help-center{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hc-hero h1{font-family:var(--h-display);font-weight:500;letter-spacing:-.02em;color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hc-hero h1 em{color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .hc-hero-note{font-family:var(--h-display);color:var(--h-accent);border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace :is(.hga,.hc-topics,.hc-results){border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .hga{background:var(--h-surface);border:1px solid var(--h-line);border-radius:var(--h-r3)}
html[data-hub-theme] body.hub-workspace .hc-guide-row{border-color:var(--h-line);color:var(--h-ink);border-radius:var(--h-r1)}
html[data-hub-theme] body.hub-workspace .nh-support-split{gap:18px}
html[data-hub-theme] body.hub-workspace .nh-support-split>*{background:var(--h-surface);border:1px solid var(--h-line);border-radius:var(--h-r3);padding:28px;transition:box-shadow .2s var(--h-ease),border-color .2s}
html[data-hub-theme] body.hub-workspace .nh-support-split>*:hover{box-shadow:var(--h-shadow);border-color:color-mix(in srgb,var(--h-accent) 40%,var(--h-line))}
html[data-hub-theme] body.hub-workspace .nh-support-split :is(h2,h3){font-family:var(--h-display);font-weight:500;font-size:30px;line-height:1.15;color:var(--h-ink)}

/* ---------- Plans, billing and saved cards ---------- */
html[data-hub-theme] body.hub-workspace .hpg :is(h2,h3){color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hpg h2{font-family:var(--h-display);font-weight:500;font-size:26px}
html[data-hub-theme] body.hub-workspace .hpg-card{border-radius:var(--h-r3);padding:26px 28px;box-shadow:none;transition:box-shadow .2s var(--h-ease),transform .2s var(--h-ease)}
html[data-hub-theme] body.hub-workspace .hpg-card:hover{box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace .hpg-card-plus{border-top:0;background:linear-gradient(var(--h-surface),var(--h-surface)) padding-box,linear-gradient(135deg,var(--h-accent),var(--h-gold)) border-box;border:2px solid transparent}
html[data-hub-theme] body.hub-workspace .hpg-card-pending{background:var(--h-bg)}
html[data-hub-theme] body.hub-workspace .hpg-current{box-shadow:0 0 0 2px var(--h-accent)}
html[data-hub-theme] body.hub-workspace .hpg-badge{background:var(--h-accent);color:var(--h-on-accent)}
html[data-hub-theme] body.hub-workspace .hpg-badge-pending{background:color-mix(in srgb,var(--h-gold) 16%,var(--h-surface));color:var(--h-gold)}

/* ---------- Mobile bottom bar ---------- */
html[data-hub-theme] body.hub-workspace .bottom-nav{background:color-mix(in srgb,var(--h-surface) 92%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-top:1px solid var(--h-line)}
html[data-hub-theme] body.hub-workspace .bottom-nav :is(a,button){color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .bottom-nav .active{color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .mobile-overlay{background:color-mix(in srgb,#0b0608 46%,transparent)}

/* ---------- Motion ---------- */
@keyframes h-rise{from{opacity:.001;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes h-pop{from{opacity:.001;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
html[data-hub-theme] body.hub-workspace #main>*{animation:h-rise .36s var(--h-ease) both}
html[data-hub-theme] body.hub-workspace #main>*:nth-child(2){animation-delay:.03s}
html[data-hub-theme] body.hub-workspace #main>*:nth-child(3){animation-delay:.06s}
html[data-hub-theme] body.hub-workspace #main>*:nth-child(n+4){animation-delay:.09s}
@media (prefers-reduced-motion:reduce){html[data-hub-theme] body.hub-workspace *,html[data-hub-theme] body.hub-workspace *::before,html[data-hub-theme] body.hub-workspace *::after{animation:none!important;transition:none!important}}

/* ---------- Narrow screens (layout kept; Nikita deferred the mobile redesign) ---------- */

@media (max-width:620px){
 html[data-hub-theme] body.hub-workspace .hn-resource-shortcuts .hn-tool-link{min-height:150px;padding:18px}
 html[data-hub-theme] body.hub-workspace .hn-resource-shortcuts .hn-tool-link strong{font-size:21px!important}
 html[data-hub-theme] body.hub-workspace .hx-next-action{padding:24px 20px}
 html[data-hub-theme] body.hub-workspace .hx-home-columns>:is(section,aside){padding:18px}
 html[data-hub-theme] body.hub-workspace .nh-weekly-list>li::before{display:none}
}

/* High contrast: heavier outlines everywhere. */
html[data-hub-theme=contrast] body.hub-workspace :is(.hn-tool-link,.hx-home-columns>section,.hx-home-columns>aside,.calendar-surface,.nh-training-weekly,.hm-app,.hpg-card,.button.secondary,.hx-button.secondary,input,select,textarea){border-width:2px}
html[data-hub-theme=contrast] body.hub-workspace :is(a,.textbutton,.hx-textlink){text-decoration:underline}

/* ---------- Theme gallery scenes for the new themes ---------- */
[data-theme-scene=rosewood]{--scene-bg:#2a1418;--scene-shape:#5a2430;--scene-accent:#e7a3ae;--scene-paper:#2a1a1e;--scene-side:#1f1316;--scene-ink:#f4e9e6;--scene-muted:#c3aeab}
[data-theme-scene=champagne]{--scene-bg:#efe2c4;--scene-shape:#d6bd84;--scene-accent:#7a5c1f;--scene-paper:#fffdf8;--scene-side:#f5eedf;--scene-ink:#2a241a;--scene-muted:#7c7360}
[data-theme-scene=graphite]{--scene-bg:#1e2023;--scene-shape:#3a3d42;--scene-accent:#e8d3b0;--scene-paper:#25282c;--scene-side:#1a1c1f;--scene-ink:#ecebe8;--scene-muted:#a9a8a3}
[data-theme-scene=dusk]{--scene-bg:#e3d9ee;--scene-shape:#b9a3d3;--scene-accent:#5d3f7a;--scene-paper:#fefdff;--scene-side:#efeaf5;--scene-ink:#2b2436;--scene-muted:#776d86}
[data-theme-scene=clay]{--scene-bg:#f0dccd;--scene-shape:#d8a685;--scene-accent:#953f22;--scene-paper:#fffcf9;--scene-side:#f5ece3;--scene-ink:#2e211b;--scene-muted:#7e6c62}
[data-theme-scene=blush]{--scene-bg:#f6dbe2;--scene-shape:#e7a9ba;--scene-accent:#b03a5b;--scene-paper:#fffdfd;--scene-side:#f9edf0;--scene-ink:#2e2226;--scene-muted:#7c6a70}
[data-theme-scene=peony]{--scene-bg:#ffc9dc;--scene-shape:#f0609a;--scene-accent:#c2185b;--scene-paper:#fff;--scene-side:#ffeaf2;--scene-ink:#2b1020;--scene-muted:#7c5a6c}
[data-theme-scene=flamingo]{--scene-bg:#3a1428;--scene-shape:#8a1a52;--scene-accent:#ff8fbf;--scene-paper:#2a1622;--scene-side:#22111b;--scene-ink:#fbeaf2;--scene-muted:#d1aec0}
[data-theme-scene=tangerine]{--scene-bg:#ffd8b5;--scene-shape:#f68a42;--scene-accent:#c2410c;--scene-paper:#fff;--scene-side:#fff1e4;--scene-ink:#2a1708;--scene-muted:#7c6352}
[data-theme-scene=lagoon]{--scene-bg:#bdeee4;--scene-shape:#3cbfae;--scene-accent:#0f766e;--scene-paper:#fff;--scene-side:#e5f7f3;--scene-ink:#0f2f2c;--scene-muted:#577570}
[data-theme-scene=electric]{--scene-bg:#d9d0ff;--scene-shape:#8b6cf0;--scene-accent:#5b21b6;--scene-paper:#fff;--scene-side:#f0edff;--scene-ink:#1e1838;--scene-muted:#6c6789}
[data-theme-scene=contrast]{--scene-bg:#e9e9e9;--scene-shape:#9a9a9a;--scene-accent:#7a0016;--scene-paper:#fff;--scene-side:#f1f1f1;--scene-ink:#000;--scene-muted:#262626}
[data-theme-scene=auto]{--scene-bg:linear-gradient(90deg,#e7dbc0 50%,#2a1418 50%);--scene-shape:#c5ad7c;--scene-accent:#7a1f2b;--scene-paper:#fffdf8;--scene-side:#f1ece0;--scene-ink:#29332e;--scene-muted:#778078}

/* Older sheet pins these with !important; the theme must still win. */
html[data-hub-theme] body.hub-workspace .hn-crm-link,html[data-hub-theme] body.hub-workspace .hn-crm-link:hover{background:var(--h-accent)!important;color:var(--h-on-accent)!important;border-color:var(--h-accent)!important}
html[data-hub-theme] body.hub-workspace .hub-workflow-disclosure{color:var(--h-muted)!important}

/* ---------- 20-messages-help.css ---------- */
/* 20 Messages & Community, Help & Support: hard-coded colors mapped to --h-* tokens */
html[data-hub-theme] body.hub-workspace .hm-app{--hm-blue:var(--h-accent);--hm-ink:var(--h-ink);--hm-muted:var(--h-muted);background:var(--h-surface);color:var(--h-ink);border-color:var(--h-line);border-radius:var(--h-r3);box-shadow:var(--h-shadow);font-family:var(--h-ui)}
html[data-hub-theme] body.hub-workspace .hm-icon{color:var(--h-muted);transition:background .16s var(--h-ease),color .16s var(--h-ease)}
html[data-hub-theme] body.hub-workspace .hm-icon:hover{background:var(--h-soft);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hm-inbox{background:var(--h-bg);border-right-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .hm-kicker{color:var(--h-gold)}
html[data-hub-theme] body.hub-workspace .hm-title-row h1{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hm-total{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hm-compose-new{background:var(--h-soft);color:var(--h-accent);border-radius:var(--h-r1);transition:background .16s,color .16s}
html[data-hub-theme] body.hub-workspace .hm-compose-new:hover{background:var(--h-accent);color:var(--h-on-accent)}
html[data-hub-theme] body.hub-workspace .hm-inbox-sub{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hm-search{border-color:var(--h-line);background:var(--h-surface);color:var(--h-muted);border-radius:var(--h-r1);transition:border-color .16s,box-shadow .16s}
html[data-hub-theme] body.hub-workspace .hm-search input{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hm-search input::placeholder{color:var(--h-muted);opacity:1}
html[data-hub-theme] body.hub-workspace .hm-search:focus-within{border-color:var(--h-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--h-accent) 18%,transparent)}
html[data-hub-theme] body.hub-workspace .hm-filters button{color:var(--h-muted);transition:background .16s,color .16s}
html[data-hub-theme] body.hub-workspace .hm-filters button:hover{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hm-filters button.selected{background:var(--h-soft);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hm-conversation{border-radius:var(--h-r1);transition:background .16s var(--h-ease)}
html[data-hub-theme] body.hub-workspace .hm-conversation.active{background:var(--h-soft)}
html[data-hub-theme] body.hub-workspace .hm-conversation:not(.active):hover{background:color-mix(in srgb,var(--h-soft) 60%,transparent)}
html[data-hub-theme] body.hub-workspace .hm-conv-first strong{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.hm-conv-first time,.hm-conv-preview,.hm-conv-last){color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hm-avatar{background:color-mix(in srgb,var(--h-accent) 18%,var(--h-surface));color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hm-avatar.tone-1{background:color-mix(in srgb,var(--h-danger) 18%,var(--h-surface));color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hm-avatar.tone-2{background:color-mix(in srgb,var(--h-ok) 20%,var(--h-surface));color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hm-avatar.tone-3{background:color-mix(in srgb,var(--h-focus) 20%,var(--h-surface));color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hm-avatar.tone-4{background:color-mix(in srgb,var(--h-gold) 20%,var(--h-surface));color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hm-group-avatar>.hm-small{border-color:var(--h-bg)}
html[data-hub-theme] body.hub-workspace .hm-count{background:var(--h-accent);color:var(--h-on-accent)}
html[data-hub-theme] body.hub-workspace .hm-inbox-foot{border-top-color:var(--h-line);color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hm-inbox-foot>a{color:var(--h-muted);transition:color .16s}
html[data-hub-theme] body.hub-workspace .hm-inbox-foot>a:hover{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hm-inbox-foot b{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hm-inbox-foot b span{color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .hm-chat{background:var(--h-surface)}
html[data-hub-theme] body.hub-workspace .hm-chat-head{background:var(--h-surface);border-bottom-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .hm-header-copy h2{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hm-header-copy>span{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hm-sample-label{color:var(--h-muted);background:var(--h-bg);border-bottom-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace :is(.hm-date,.hm-sender-name,.hm-message-time,.hm-receipt){color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hm-bubble{background:var(--h-soft);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hm-mine .hm-bubble{background:var(--h-accent);color:var(--h-on-accent)}
html[data-hub-theme] body.hub-workspace .hm-photo{background:var(--h-soft);border-radius:var(--h-r1)}
html[data-hub-theme] body.hub-workspace .hm-file{background:var(--h-surface);border-color:var(--h-line);border-radius:var(--h-r1);color:var(--h-ink)!important;transition:border-color .16s,box-shadow .16s}
html[data-hub-theme] body.hub-workspace .hm-file:hover{border-color:color-mix(in srgb,var(--h-accent) 45%,var(--h-line));box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace :is(.hm-file>svg:first-child,.hm-file>svg:last-child){color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .hm-file small{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hm-composer-wrap{background:var(--h-surface);border-top-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .hm-composer{background:var(--h-bg);border-color:var(--h-line);transition:border-color .16s,box-shadow .16s}
html[data-hub-theme] body.hub-workspace .hm-composer:focus-within{border-color:var(--h-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--h-accent) 16%,transparent)}
html[data-hub-theme] body.hub-workspace .hm-text-wrap textarea{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hm-text-wrap textarea::placeholder{color:var(--h-muted);opacity:1}
html[data-hub-theme] body.hub-workspace .hm-send{background:var(--h-accent);color:var(--h-on-accent);transition:filter .16s,transform .16s var(--h-ease)}
html[data-hub-theme] body.hub-workspace .hm-send:not(:disabled):hover{transform:translateY(-1px)}
html[data-hub-theme] body.hub-workspace .hm-send:disabled{background:var(--h-line);color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hm-composer-foot{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hm-composer-foot b{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hm-draft-file{background:var(--h-bg);border-color:var(--h-line);border-radius:var(--h-r1);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hm-draft-file small{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hm-welcome-icon{background:var(--h-soft);color:var(--h-gold);border-radius:var(--h-r3)}
html[data-hub-theme] body.hub-workspace .hm-welcome .hm-kicker{color:var(--h-gold)}
html[data-hub-theme] body.hub-workspace .hm-welcome h2{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hm-welcome h2 em{font-family:var(--h-display);color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .hm-welcome p{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hm-primary{background:var(--h-accent);color:var(--h-on-accent);border-radius:var(--h-r1);box-shadow:0 6px 16px -10px color-mix(in srgb,var(--h-accent) 70%,transparent);transition:transform .16s var(--h-ease),filter .16s}
html[data-hub-theme] body.hub-workspace .hm-primary:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.07)}
html[data-hub-theme] body.hub-workspace .hm-welcome-note{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hm-list-empty{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hm-list-empty>svg{color:var(--h-gold)}
html[data-hub-theme] body.hub-workspace .hm-list-empty strong{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.hm-text-button,.hm-history,.hm-list-empty .hm-text-button){color:var(--h-accent);font-weight:700;border-radius:var(--h-r1);transition:background .16s}
html[data-hub-theme] body.hub-workspace :is(.hm-text-button,.hm-history):hover{background:var(--h-soft)}
html[data-hub-theme] body.hub-workspace .hm-thread-intro{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hm-thread-intro h3{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hm-new-messages{background:var(--h-soft);color:var(--h-accent);border-color:color-mix(in srgb,var(--h-accent) 30%,var(--h-line));box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace :is(.hm-global-error,.hm-compose-error){background:color-mix(in srgb,var(--h-danger) 10%,var(--h-surface));color:var(--h-danger);border-color:color-mix(in srgb,var(--h-danger) 35%,var(--h-line))}
html[data-hub-theme] body.hub-workspace .hm-global-error{border-radius:var(--h-r1)}
html[data-hub-theme] body.hub-workspace .hm-form-error{color:var(--h-danger)}
html[data-hub-theme] body.hub-workspace .hm-dragging .hm-chat:after{border-color:var(--h-accent);background:color-mix(in srgb,var(--h-surface) 92%,var(--h-accent));color:var(--h-accent);border-radius:var(--h-r2)}
html[data-hub-theme] body.hub-workspace .hm-dialog{border:1px solid var(--h-line)!important;background:var(--h-surface)!important;color:var(--h-ink)!important;border-radius:var(--h-r3)!important;box-shadow:var(--h-shadow-lg)}
html[data-hub-theme] body.hub-workspace .hm-dialog::backdrop{background:color-mix(in srgb,var(--h-bg) 55%,transparent)}
html[data-hub-theme] body.hub-workspace .hm-dialog-head{border-bottom-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .hm-dialog-head h2{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hm-person-option{border-bottom-color:var(--h-line);transition:background .16s}
html[data-hub-theme] body.hub-workspace .hm-person-option:hover{background:color-mix(in srgb,var(--h-soft) 55%,transparent)}
html[data-hub-theme] body.hub-workspace .hm-person-option small{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hm-person-option>input[type=checkbox]{accent-color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .hm-group-name{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hm-group-name input{background:var(--h-bg);border-color:var(--h-line);color:var(--h-ink);border-radius:var(--h-r1)}
html[data-hub-theme] body.hub-workspace .hm-new-foot{border-top-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .hm-new-foot small{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hm-details h3{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hm-details h3>span{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hm-shared-files .hm-file{border-color:var(--h-line);background:var(--h-bg)}
html[data-hub-theme] body.hub-workspace :is(.hm-shared-files>p,.hm-stock-credit,.hm-image-actions){color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hm-details-note{border-top-color:var(--h-line);color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hm-mentions{background:var(--h-surface);border-color:var(--h-line);border-radius:var(--h-r2);box-shadow:var(--h-shadow-lg)}
html[data-hub-theme] body.hub-workspace .hm-mention-head{border-bottom-color:var(--h-line);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hm-mention-tabs button{color:var(--h-muted);transition:background .16s,color .16s}
html[data-hub-theme] body.hub-workspace .hm-mention-tabs .selected{background:var(--h-soft);color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .hm-mention-results button{color:var(--h-ink);transition:background .16s}
html[data-hub-theme] body.hub-workspace .hm-mention-results button:hover{background:var(--h-soft)}
html[data-hub-theme] body.hub-workspace :is(.hm-mention-results small,.hm-mention-results>p){color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hm-back{color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .hm-nav-badge{background:var(--h-accent);color:var(--h-on-accent)}
html[data-hub-theme] body.hub-workspace .nh-community-nav a{border-color:var(--h-line);background:var(--h-surface);color:var(--h-ink);transition:background .16s var(--h-ease),color .16s,border-color .16s}
html[data-hub-theme] body.hub-workspace .nh-community-nav a.nh-subchat{border-color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace :is(.nh-community-nav a:hover,.nh-community-nav a:focus-visible){background:var(--h-accent);border-color:var(--h-accent);color:var(--h-on-accent)}
html[data-hub-theme] body.hub-workspace .help-center{--hc-bg:var(--h-bg);--hc-surface:var(--h-surface);--hc-ink:var(--h-ink);--hc-muted:var(--h-muted);--hc-line:var(--h-line);--hc-accent:var(--h-accent);--hc-on:var(--h-on-accent);--hc-soft:var(--h-soft);--hc-focus:var(--h-focus);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.hc-hero h1,.hc-article-head h1,.hc-empty h1){font-family:var(--h-display);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hc-hero h1 em{font-family:var(--h-display);color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .hc-hero-note{font-family:var(--h-display);color:var(--h-accent);border-left-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .hc-search>div{background:var(--h-surface);border-color:var(--h-line);border-radius:var(--h-r1);box-shadow:var(--h-shadow);transition:border-color .16s}
html[data-hub-theme] body.hub-workspace .hc-search>div:focus-within{border-color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .help-center .hc-search input{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hc-search button{background:var(--h-accent);color:var(--h-on-accent);border-radius:calc(var(--h-r1) - 4px);transition:filter .16s}
html[data-hub-theme] body.hub-workspace .hc-search button:hover{filter:brightness(1.07)}
html[data-hub-theme] body.hub-workspace .hc-topics nav a{border-radius:var(--h-r1);transition:background .16s,color .16s}
html[data-hub-theme] body.hub-workspace .hc-topics nav a.is-selected{background:var(--h-soft);color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .hc-row-icon{background:var(--h-soft);color:var(--h-accent);border-radius:var(--h-r1)}
html[data-hub-theme] body.hub-workspace :is(.hc-results-head h2,.hc-question-preview>h2,.hc-support h2,.hc-troubleshooting>h2,.hc-empty h3){color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hc-empty button{color:var(--h-accent);border-color:var(--h-line);border-radius:var(--h-r1);transition:background .16s}
html[data-hub-theme] body.hub-workspace .hc-empty button:hover{background:var(--h-soft)}
html[data-hub-theme] body.hub-workspace .hc-support-icon{border-color:var(--h-line);color:var(--h-accent);background:var(--h-soft)}
html[data-hub-theme] body.hub-workspace .hc-outcome{background:var(--h-soft);color:var(--h-ink);border-radius:var(--h-r2)}
html[data-hub-theme] body.hub-workspace :is(.hc-outcome>svg,.hc-outcome h2){color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .hc-footer b{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hga{--ga-card:var(--h-surface);--ga-ink:var(--h-ink);--ga-muted:var(--h-muted);--ga-line:var(--h-line);--ga-accent:var(--h-accent);background:var(--h-surface);color:var(--h-ink);border-color:var(--h-line);border-radius:var(--h-r3);box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace .hga textarea{background:var(--h-bg);color:var(--h-ink);border-color:var(--h-line);border-radius:var(--h-r2)}
html[data-hub-theme] body.hub-workspace .hga button{background:var(--h-accent);border-color:var(--h-accent);color:var(--h-on-accent);border-radius:var(--h-r1)}
html[data-hub-theme] body.hub-workspace .nh-support-split section{border-color:var(--h-line);background:var(--h-surface);color:var(--h-ink);border-radius:var(--h-r2);box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace .nh-support-split h2{color:var(--h-ink)}

/* ---------- 30-account-plans-carriers.css ---------- */
/* 30 - Your Space / account, plans & billing, carrier screens: theme tokens only. */

/* ---------- Your Space: profile photo (.hp, .hp-dialog) and identity (.hi) ---------- */
html[data-hub-theme] body.hub-workspace :is(.hp,.hp-dialog,.hi){--hp-ink:var(--h-ink);--hp-muted:var(--h-muted);--hp-surface:var(--h-surface);--hp-paper:var(--h-side);--hp-line:var(--h-line);--hp-accent:var(--h-accent);--hp-gold:var(--h-gold);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hp h2{font-family:var(--h-display)}
html[data-hub-theme] body.hub-workspace .hp-current{background:var(--h-side);color:var(--h-gold);border-color:var(--h-line);font-family:var(--h-display)}
html[data-hub-theme] body.hub-workspace .hp-camera{background:var(--h-surface);border-color:var(--h-line);color:var(--h-accent);box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace .hp-button{border-color:var(--h-accent);background:var(--h-accent);color:var(--h-on-accent);border-radius:var(--h-r1);font-family:var(--h-ui)}
html[data-hub-theme] body.hub-workspace .hp-button.secondary{background:transparent;border-color:var(--h-line);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hp-button.secondary:hover{background:var(--h-side)}
html[data-hub-theme] body.hub-workspace .hp-text-button{color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace :is(.hp-button,.hp-icon,.hp-text-button):focus-visible{outline-color:var(--h-focus)}
html[data-hub-theme] body.hub-workspace .hp-demo{background:var(--h-side);border-left-color:var(--h-gold);color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hp-demo strong{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hp-error{color:var(--h-danger);border-left-color:color-mix(in srgb,var(--h-danger) 55%,var(--h-surface));background:color-mix(in srgb,var(--h-danger) 10%,var(--h-surface))}
html[data-hub-theme] body.hub-workspace .hp-dialog{border-color:var(--h-line);background:var(--h-surface);color:var(--h-ink);box-shadow:var(--h-shadow-lg);border-radius:var(--h-r3)}
html[data-hub-theme] body.hub-workspace .hp-dialog::backdrop{background:color-mix(in srgb,var(--h-side) 60%,transparent);backdrop-filter:blur(3px)}
html[data-hub-theme] body.hub-workspace .hp-icon{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hp-icon:hover{background:var(--h-side);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hp-canvas-wrap canvas{background:var(--h-side);box-shadow:0 0 0 7px var(--h-surface),0 0 0 8px var(--h-line)}
html[data-hub-theme] body.hub-workspace .hp-crop-controls input[type=range]{accent-color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .hp-remove-avatar{background:var(--h-side);color:var(--h-gold);border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace :is(.hp-head p,.hp-profile-copy p,.hp-private,.hp-help,.hp-loading,.hp-dialog-head p,.hp-crop-caption,.hp-crop-controls label span,.hp-dialog-foot>p){color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace :is(.hp-help strong,.hp-status){color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.hp-crop-body,.hp-dialog-foot){border-top-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .hi{border-bottom-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .hi input{border-color:color-mix(in srgb,var(--h-line) 55%,var(--h-muted));background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hi input::placeholder{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hi input:focus-visible{outline-color:var(--h-focus)}
html[data-hub-theme] body.hub-workspace :is(.hi-heading p,.hi label>span,.hi label small,.hi-visibility span,.hi-form-foot p,.hi-legacy,.hub-alias-record small){color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hi-visibility{border-color:var(--h-line)}

/* ---------- Agent profile (.hap-*) ---------- */
html[data-hub-theme] body.hub-workspace :is(.hap-dialog,.hap-staff){--hap-ink:var(--h-ink);--hap-muted:var(--h-muted);--hap-surface:var(--h-surface);--hap-paper:var(--h-side);--hap-line:var(--h-line);--hap-accent:var(--h-accent);--hap-ok:var(--h-ok);--hap-error:var(--h-danger);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hap-dialog{border-color:var(--h-line);background:var(--h-surface);box-shadow:var(--h-shadow-lg);border-radius:var(--h-r3)}
html[data-hub-theme] body.hub-workspace .hap-dialog::backdrop{background:color-mix(in srgb,var(--h-side) 60%,transparent);backdrop-filter:blur(3px)}
html[data-hub-theme] body.hub-workspace .hap-close{border-color:var(--h-line);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hap-close:hover{background:var(--h-side)}
html[data-hub-theme] body.hub-workspace .hap-progress li{border-top-color:var(--h-line);color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hap-progress li.done{border-color:var(--h-ok)}
html[data-hub-theme] body.hub-workspace .hap-progress li.current{border-color:var(--h-accent);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hap-dot{background:var(--h-side)}
html[data-hub-theme] body.hub-workspace .hap-progress li.current .hap-dot{background:var(--h-accent);color:var(--h-on-accent)}
html[data-hub-theme] body.hub-workspace :is(.hap-progress li.done .hap-dot,.hap-check){background:var(--h-ok);color:var(--h-surface)}
html[data-hub-theme] body.hub-workspace :is(.hap-dialog input[type=text],.hap-dialog input[type=tel],.hap-dialog input[type=email],.hap-dialog input[type=search],.hap-dialog select,.hap-dialog textarea){border-color:color-mix(in srgb,var(--h-line) 55%,var(--h-muted));background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hap-dialog :is(input,select,textarea,button):focus-visible{outline-color:var(--h-focus)}
html[data-hub-theme] body.hub-workspace :is(.hap-invalid>input,.hap-invalid>select,.hap-invalid>textarea,.hap-dialog [aria-invalid=true]){border-color:var(--h-danger)}
html[data-hub-theme] body.hub-workspace .hap-error{color:var(--h-danger)}
html[data-hub-theme] body.hub-workspace .hap-summary{border-color:var(--h-danger);background:color-mix(in srgb,var(--h-danger) 10%,var(--h-surface));color:var(--h-danger)}
html[data-hub-theme] body.hub-workspace :is(.hap-address,.hap-state-list,.hap-table-wrap){border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .hap-choice{border-color:var(--h-line);background:var(--h-surface);color:var(--h-ink);transition:border-color .18s var(--h-ease),box-shadow .18s var(--h-ease),background .18s var(--h-ease)}
html[data-hub-theme] body.hub-workspace .hap-choice:hover{border-color:color-mix(in srgb,var(--h-accent) 40%,var(--h-line));box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace .hap-choice input{accent-color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .hap-choice:has(input:checked){border-color:var(--h-accent);background:color-mix(in srgb,var(--h-accent) 9%,var(--h-surface));box-shadow:0 0 0 1px var(--h-accent)}
html[data-hub-theme] body.hub-workspace .hap-goal{border-color:var(--h-line);background:var(--h-side)}
html[data-hub-theme] body.hub-workspace :is(.hap-chip,.hap-highlight){border-color:var(--h-accent);background:color-mix(in srgb,var(--h-accent) 9%,var(--h-surface))}
html[data-hub-theme] body.hub-workspace :is(.hap-chip,.hap-link,.hap-priority){color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace :is(.hap-intro,.hap-lede,.hap-eyebrow,.hap-optional,.hap-help,.hap-hint,.hap-count,.hap-empty,.hap-done p,.hap-muted,.hap-dl dt,.hap-table td[data-label]::before){color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hap-table-wrap{background:var(--h-surface)}
html[data-hub-theme] body.hub-workspace :is(.hap-table th,.hap-table td,.hap-table tr){border-bottom-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .hap-table thead th{background:var(--h-side);color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hap-tags li{background:var(--h-side);border-color:var(--h-line);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hap-status{background:var(--h-side);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hap-status-submitted{background:color-mix(in srgb,var(--h-ok) 14%,var(--h-surface));color:var(--h-ok)}
html[data-hub-theme] body.hub-workspace .hap-status-draft{background:color-mix(in srgb,var(--h-warn) 14%,var(--h-surface));color:var(--h-warn)}

/* ---------- Plans & billing (.lp-*): palette follows the tokens ---------- */
html[data-hub-theme] body.hub-workspace :is(.lp-page,.lp-dialog,.lp-upgrade-dialog,.lp-payment-dialog,.lp-wallet-dialog,.lp-entry,.lp-settings-plans,.lp-plan-badge,.lp-hub-plan-badge,.lp-account){--lp-bg:var(--h-bg);--lp-surface:var(--h-surface);--lp-soft:var(--h-side);--lp-text:var(--h-ink);--lp-muted:var(--h-muted);--lp-line:var(--h-line);--lp-border:var(--h-line);--lp-disabled:var(--h-side);--lp-disabled-text:var(--h-muted);--lp-link:var(--h-accent)}
html[data-hub-theme] body.hub-workspace :is(.lp-page,.lp-dialog,.lp-upgrade-dialog,.lp-entry,.lp-settings-plans){color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .lp-page{background:var(--h-bg)}
html[data-hub-theme] body.hub-workspace .lp-wordmark span{color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .lp-plan-icon{color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .lp-pro .lp-plan-icon{color:var(--h-gold)}
html[data-hub-theme] body.hub-workspace .lp-card h2{font-family:var(--h-display);font-weight:500}
html[data-hub-theme] body.hub-workspace .lp-plan-panel{background:var(--h-surface);border-color:var(--h-line);border-radius:var(--h-r3);box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace .lp-card{border-radius:var(--h-r3);transition:background .2s var(--h-ease),box-shadow .2s var(--h-ease)}
html[data-hub-theme] body.hub-workspace .lp-card:hover{background:color-mix(in srgb,var(--h-soft) 45%,var(--h-surface));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--h-accent) 30%,var(--h-line)),var(--h-shadow)}
html[data-hub-theme] body.hub-workspace .lp-card+.lp-card{border-left-color:var(--h-line);border-top-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace :is(.lp-green,.lp-blue,.lp-primary,.lp-dialog a.lp-primary){background:var(--h-accent);color:var(--h-on-accent);border-color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace :is(.lp-green,.lp-blue,.lp-primary):hover{background:color-mix(in srgb,var(--h-accent) 86%,var(--h-ink));color:var(--h-on-accent)}
html[data-hub-theme] body.hub-workspace :is(.lp-secondary,.lp-quiet){background:var(--h-side);color:var(--h-ink);border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .lp-current-button{background:var(--h-side);color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace :is(.lp-features li svg,.lp-dialog li svg){color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace :is(.lp-panel-footer a,.lp-current a){color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.lp-dialog a:not(.lp-button),.lp-entry a,.lp-settings-plans a,.lp-payment-order>a:last-child,.lp-quote-discount){color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .lp-current{background:var(--h-side);border-bottom-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace :is(.lp-upgrade-dialog,.lp-dialog){background:var(--h-surface);border-color:var(--h-line);color:var(--h-ink);box-shadow:var(--h-shadow-lg)}
html[data-hub-theme] body.hub-workspace :is(.lp-upgrade-dialog .lp-panel-heading,.lp-dialog header){background:var(--h-surface)}
html[data-hub-theme] body.hub-workspace :is(.lp-dialog,.lp-upgrade-dialog)::backdrop{background:color-mix(in srgb,var(--h-side) 60%,transparent);backdrop-filter:blur(3px)}
html[data-hub-theme] body.hub-workspace :is(.lp-dialog-note,.lp-activation,.lp-quote-summary,.lp-setup-notice,.lp-cycle){background:var(--h-side);border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .lp-cancel-disclosure{background:var(--h-side);border-left-color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .lp-cancellation{background:var(--h-surface);border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace :is(.lp-review input[type=checkbox],.lp-wallet-consent>input){accent-color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .lp-cycle button{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .lp-cycle button[aria-pressed=true]{background:var(--h-surface);color:var(--h-ink);box-shadow:var(--h-shadow),inset 0 -2px 0 var(--h-accent)}
html[data-hub-theme] body.hub-workspace .lp-code-row input{border-color:color-mix(in srgb,var(--h-line) 55%,var(--h-muted));background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.lp-page,.lp-dialog,.lp-upgrade-dialog,.lp-entry,.lp-settings-plans,.lp-plan-badge,.lp-wallet-dialog) :is(button,a,input,select,summary,[tabindex]):focus-visible{outline-color:var(--h-focus)}
html[data-hub-theme] body.hub-workspace .lp-plan-badge:focus-visible{outline-color:var(--h-focus)}
html[data-hub-theme] body.hub-workspace .lp-entry{background:var(--h-surface);border-bottom-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .lp-table-scroll{background:var(--h-surface);border-color:var(--h-line);border-radius:var(--h-r2)}
html[data-hub-theme] body.hub-workspace :is(.lp-comparison thead th,.lp-comparison .lp-group th){background:var(--h-side)}
html[data-hub-theme] body.hub-workspace .lp-skip:focus{background:var(--h-surface);color:var(--h-ink)}

/* Your Space plan summary and its actions */
html[data-hub-theme] body.hub-workspace .lp-settings-plans{background:var(--h-surface);border-color:var(--h-line);border-radius:var(--h-r3);box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace .lp-settings-plans span{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .lp-settings-actions a{background:transparent;color:var(--h-accent);font-weight:700;text-decoration-color:color-mix(in srgb,var(--h-accent) 40%,transparent);text-underline-offset:3px}
html[data-hub-theme] body.hub-workspace .lp-settings-actions a:hover{color:var(--h-ink);text-decoration-color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace :is(.lp-settings-plans .lp-cancel-link,.lp-settings-plans .lp-refund-link,.lp-cancel-link){color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .lp-cancel-link:hover{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .lp-refund-note{border-top-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .lp-account{background:var(--h-surface);border-color:var(--h-line);border-radius:var(--h-r3);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .lp-company-plan{border-right-color:var(--h-line)}

/* Plan badges */
html[data-hub-theme] body.hub-workspace .lp-plan-badge{background:var(--h-soft);border-color:color-mix(in srgb,var(--h-accent) 30%,var(--h-line));color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace :is(.lp-plan-badge:hover,.lp-hub-plan-badge:hover){background:color-mix(in srgb,var(--h-accent) 14%,var(--h-surface));border-color:color-mix(in srgb,var(--h-accent) 55%,var(--h-line));color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .lp-badge-core{background:color-mix(in srgb,var(--h-ok) 12%,var(--h-surface));border-color:color-mix(in srgb,var(--h-ok) 35%,var(--h-line));color:var(--h-ok)}
html[data-hub-theme] body.hub-workspace .lp-badge-core:hover{background:color-mix(in srgb,var(--h-ok) 20%,var(--h-surface));border-color:color-mix(in srgb,var(--h-ok) 60%,var(--h-line));color:var(--h-ok)}

/* Payment */
html[data-hub-theme] body.hub-workspace .lp-payment-order{background:var(--h-side);border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .lp-payment-order>.lp-wordmark{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .lp-payment-order .lp-payment-discount{color:var(--h-ok)}
html[data-hub-theme] body.hub-workspace .lp-payment-form{background:var(--h-surface)}
html[data-hub-theme] body.hub-workspace .lp-payment-form [data-stripe-checkout][aria-busy]:empty::before{border-color:var(--h-line);border-top-color:var(--h-accent)}

/* Billing wallet: saved cards and addresses */
html[data-hub-theme] body.hub-workspace .lp-wallet-body [data-wallet-status]{background:var(--h-side);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.lp-wallet-card,.lp-wallet-address){background:var(--h-surface);border-color:var(--h-line);border-radius:var(--h-r3);color:var(--h-ink);transition:border-color .2s var(--h-ease),box-shadow .2s var(--h-ease)}
html[data-hub-theme] body.hub-workspace :is(.lp-wallet-card,.lp-wallet-address):hover{border-color:color-mix(in srgb,var(--h-accent) 35%,var(--h-line));box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace :is(.lp-wallet-card,.lp-wallet-address):is(:has(input:checked),[aria-current],[aria-selected=true],:focus-within){border-color:var(--h-accent);box-shadow:0 0 0 1px var(--h-accent),var(--h-shadow)}
html[data-hub-theme] body.hub-workspace .lp-wallet-card-heading strong{font-family:var(--h-display);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .lp-wallet-brand{background:var(--h-side);border-color:var(--h-line);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .lp-wallet-tags>span{background:var(--h-soft);border-color:color-mix(in srgb,var(--h-accent) 25%,var(--h-line));color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.lp-wallet-card-address,.lp-wallet-card-actions){border-top-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .lp-wallet-card-actions>button{color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .lp-wallet-card-actions>button:disabled{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .lp-wallet-empty{border-color:var(--h-line);color:var(--h-muted);border-radius:var(--h-r3)}
html[data-hub-theme] body.hub-workspace .lp-wallet-editor{background:var(--h-side);border-color:var(--h-line);border-radius:var(--h-r3)}
html[data-hub-theme] body.hub-workspace :is(.lp-wallet-editor input:not([type=checkbox]),.lp-wallet-editor select){border-color:color-mix(in srgb,var(--h-line) 55%,var(--h-muted));background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .lp-wallet-dialog :is(button,a,input,select):focus-visible{outline-color:var(--h-focus)}

/* Plans: muted copy and rules */
html[data-hub-theme] body.hub-workspace :is(.lp-header nav,.lp-panel-heading p,.lp-close,.lp-tag,.lp-price span,.lp-summary,.lp-support span,.lp-panel-footer p,.lp-current span,.lp-availability,.lp-section-index,.lp-section-heading>span,.lp-comparison thead small,.lp-comparison .lp-group th,.lp-faq p,.lp-footer,.lp-eyebrow,.lp-dialog-price span,.lp-dialog>p,.lp-cancellation p,.lp-entry>div>span,.lp-billing-period>p,.lp-code-form label span,.lp-code-form p,.lp-review [data-quote-status],.lp-quote-summary>p,.lp-payment-order p,.lp-payment-form>p,.lp-payment-total>span,.lp-payment-order dt,.lp-payment-form [data-payment-status],.lp-payment-fine,.lp-wallet-body>p,.lp-wallet-section-title p,.lp-wallet-card>p,.lp-wallet-address>p,.lp-wallet-hint,.lp-wallet-editor p){color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .lp-close:hover{background:var(--h-side);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.lp-panel-heading,.lp-panel-footer,.lp-more>summary,.lp-comparison th,.lp-comparison td,.lp-faq details,.lp-footer,.lp-dialog header,.lp-review,.lp-usage,.lp-usage dl>div,.lp-entry-pill,.lp-tag,.lp-billing-period,.lp-quote-summary>p,.lp-payment-dialog>header,.lp-payment-order dl){border-color:var(--h-line)}

/* ---------- Plan gate (.hpg-*) ---------- */
html[data-hub-theme] body.hub-workspace .hpg{--hpg-ink:var(--h-ink);--hpg-muted:var(--h-muted);--hpg-rule:var(--h-line);--hpg-paper:var(--h-surface);--hpg-accent:var(--h-accent);--hpg-gold:var(--h-gold);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hpg :is(h2,h3){color:var(--h-ink);font-family:var(--h-display)}
html[data-hub-theme] body.hub-workspace .hpg h4{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hpg-card{background:var(--h-surface);border-color:var(--h-line);border-radius:var(--h-r3);transition:border-color .2s var(--h-ease),box-shadow .2s var(--h-ease)}
html[data-hub-theme] body.hub-workspace .hpg-card:hover{border-color:color-mix(in srgb,var(--h-accent) 35%,var(--h-line));box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace .hpg-card-plus{border-top-color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .hpg-card-pending{background:var(--h-side)}
html[data-hub-theme] body.hub-workspace .hpg-current,html[data-hub-theme] body.hub-workspace .hpg-current:hover{border-color:var(--h-accent);box-shadow:0 0 0 2px var(--h-accent),var(--h-shadow)}
html[data-hub-theme] body.hub-workspace .hpg-badge{background:var(--h-accent);color:var(--h-on-accent)}
html[data-hub-theme] body.hub-workspace .hpg-badge-pending{background:color-mix(in srgb,var(--h-warn) 14%,var(--h-surface));color:var(--h-warn)}
html[data-hub-theme] body.hub-workspace .hpg-price{color:var(--h-accent);font-family:var(--h-display)}
html[data-hub-theme] body.hub-workspace :is(.hpg-muted,.hpg-billing-status){color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace :is(.hpg-note,p.hpg-note){background:var(--h-soft);border-left-color:var(--h-gold);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.hpg-section,.hpg-pay){border-top-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .hpg-member{border-bottom-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .hpg :is(input,select){border-color:color-mix(in srgb,var(--h-line) 55%,var(--h-muted));background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hpg :is(input,select,.button):focus-visible{outline-color:var(--h-focus)}
html[data-hub-theme] body.hub-workspace .hpg-billing{background:var(--h-surface);border-color:var(--h-line);border-left-color:var(--h-accent);border-radius:var(--h-r2);box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace .hpg-billing-warn{border-left-color:var(--h-warn);background:color-mix(in srgb,var(--h-warn) 9%,var(--h-surface))}
html[data-hub-theme] body.hub-workspace .hpg-tag{background:color-mix(in srgb,var(--h-ok) 14%,var(--h-surface));color:var(--h-ok)}
html[data-hub-theme] body.hub-workspace .hpg-tag-warn{background:color-mix(in srgb,var(--h-warn) 14%,var(--h-surface));color:var(--h-warn)}
html[data-hub-theme] body.hub-workspace .hpg-tag-muted{background:var(--h-side);color:var(--h-muted)}

/* ---------- Carrier documents (.hcd-*) ---------- */
html[data-hub-theme] body.hub-workspace .hcd{background:var(--h-surface);border-color:var(--h-line);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.hcd-row,.hcd-dialog-foot){border-top-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .hcd-dialog-head{border-bottom-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace :is(.hcd-group h3 span,.hcd-copy span,.hcd-staff,.hcd-count,.hcd-dialog-head p){color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace :is(.hcd-search input,.hcd-search select,.hcd-form input:not([type=radio]),.hcd-form select){border-color:color-mix(in srgb,var(--h-line) 55%,var(--h-muted));background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hcd-dialog{background:var(--h-surface);color:var(--h-ink);border-color:var(--h-line);box-shadow:var(--h-shadow-lg)}
html[data-hub-theme] body.hub-workspace .hcd-dialog::backdrop{background:color-mix(in srgb,var(--h-side) 60%,transparent);backdrop-filter:blur(3px)}
html[data-hub-theme] body.hub-workspace .hcd-frame{background:var(--h-side)}
html[data-hub-theme] body.hub-workspace .hcd-error{color:var(--h-danger)}
html[data-hub-theme] body.hub-workspace .hcd-copy .hcd-label{color:var(--h-gold)}
html[data-hub-theme] body.hub-workspace .hcd-copy :is(.hcd-summary,.hcd-scan,.hcd-also){color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hcd-copy .hcd-waiting{color:var(--h-warn)}
html[data-hub-theme] body.hub-workspace .hcd-approval{border-color:color-mix(in srgb,var(--h-warn) 35%,var(--h-line));background:color-mix(in srgb,var(--h-warn) 9%,var(--h-surface));color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hcd-approval.is-approved{border-color:color-mix(in srgb,var(--h-ok) 35%,var(--h-line));background:color-mix(in srgb,var(--h-ok) 9%,var(--h-surface))}
html[data-hub-theme] body.hub-workspace .hcd-reviewing{border-color:var(--h-line);background:var(--h-side);color:var(--h-ink)}

/* ---------- Carrier quick links (.hcq-*) ---------- */
html[data-hub-theme] body.hub-workspace .hcq-head p{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace :is(.hcq-eyebrow,.hcq-carrier small,.hcq-status,.hcq-hint,.hcq-foot){color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace :is(.hcq-field input,.hcq-field select){border-color:color-mix(in srgb,var(--h-line) 55%,var(--h-muted));background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.hcq-carrier,.hcq-picker,.hcq-contacts){border-color:var(--h-line);background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hcq-btn{border-color:var(--h-line);background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace a.hcq-btn{box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace :is(.hcq-carrier:hover,.hcq-carrier:focus-visible,.hcq-btn:hover,.hcq-btn:focus-visible){border-color:color-mix(in srgb,var(--h-accent) 50%,var(--h-line))}
html[data-hub-theme] body.hub-workspace .hcq-btn.is-request{background:var(--h-soft);border-color:color-mix(in srgb,var(--h-gold) 45%,var(--h-line))}
html[data-hub-theme] body.hub-workspace .hcq-btn.is-pending{background:var(--h-side);color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hcq-draft{background:color-mix(in srgb,var(--h-warn) 14%,var(--h-surface));color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hcq-contacts li{border-top-color:var(--h-line)}

/* ---------- Contracting intake (.hci-*) ---------- */
html[data-hub-theme] body.hub-workspace .hci{border-color:var(--h-accent);background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hci-path{background:var(--h-surface);border-color:var(--h-line);color:var(--h-ink);transition:border-color .18s var(--h-ease),box-shadow .18s var(--h-ease)}
html[data-hub-theme] body.hub-workspace .hci-path:hover{border-color:color-mix(in srgb,var(--h-accent) 40%,var(--h-line))}
html[data-hub-theme] body.hub-workspace .hci-path[aria-pressed="true"]{border-color:var(--h-accent);background:color-mix(in srgb,var(--h-accent) 7%,var(--h-surface));box-shadow:0 0 0 3px color-mix(in srgb,var(--h-accent) 20%,transparent)}
html[data-hub-theme] body.hub-workspace :is(.hci-path small,.hci-hint,.hci-legal,.hci-mine-meta small){color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hci-req{color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace :is(.hci-field input:not([type=checkbox]):not([type=radio]),.hci-field select,.hci-field textarea){border-color:color-mix(in srgb,var(--h-line) 55%,var(--h-muted));background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hci-choice input{accent-color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .hci-states{border-color:color-mix(in srgb,var(--h-line) 55%,var(--h-muted))}
html[data-hub-theme] body.hub-workspace .hci-chip{background:color-mix(in srgb,var(--h-gold) 12%,var(--h-surface));border-color:var(--h-line);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hci-err{color:var(--h-danger)}
html[data-hub-theme] body.hub-workspace :is(.hci-invalid input,.hci-invalid select,.hci-invalid textarea){border-color:var(--h-danger)!important}
html[data-hub-theme] body.hub-workspace .hci-summary{border-color:var(--h-danger)}
html[data-hub-theme] body.hub-workspace .hci-website{border-color:var(--h-gold);background:linear-gradient(0deg,var(--h-surface),color-mix(in srgb,var(--h-gold) 12%,var(--h-surface)));color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hci-locked{border-color:var(--h-line);background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.hci-staff-table th,.hci-staff-table td){border-bottom-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .hci-badge{background:var(--h-side);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hci-badge.ok{background:color-mix(in srgb,var(--h-ok) 14%,var(--h-surface));color:var(--h-ok)}
html[data-hub-theme] body.hub-workspace :is(.hci-mine,.hci-mine li){border-top-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace :is(.hci-mine li span,.hci-mine .hci-staff-message){color:var(--h-ink)}

/* ---------- 40-staff-calendar.css ---------- */
/* 40 staff + calendar: token overrides for hard-coded colors (hs, ho, cs, ct, pap, pan, calendar, weekly training) */

/* ---------- Staff workspace (.hs) ---------- */
html[data-hub-theme] body.hub-workspace .hs{--hs-ink:var(--h-ink);--hs-muted:var(--h-muted);--hs-red:var(--h-accent);--hs-gold:var(--h-gold);--hs-cream:var(--h-bg);--hs-line:var(--h-line);color:var(--h-ink);background:var(--h-bg);border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .hs :is(.hs-nav,.hs-board section){background:var(--h-side)}
html[data-hub-theme] body.hub-workspace .hs-nav{background:var(--h-side);border-right-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace :is(.hs-nav button:hover,.hs-nav .hs-nav-link:hover){background:var(--h-soft);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hs-nav button[aria-current=page]{background:var(--h-accent);color:var(--h-on-accent)}
html[data-hub-theme] body.hub-workspace .hs-nav-label{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hs-body{background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hs-button{border-color:var(--h-accent);background:var(--h-accent);color:var(--h-on-accent)}
html[data-hub-theme] body.hub-workspace .hs .hs-button:not(.secondary):not(.ghost),html[data-hub-theme] body.hub-workspace .hs .hs-nav button[aria-current=page]{background:var(--h-accent);color:var(--h-on-accent)}
html[data-hub-theme] body.hub-workspace .hs-button.secondary{background:transparent;border-color:var(--h-line);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hs :focus-visible{outline-color:var(--h-focus)}
html[data-hub-theme] body.hub-workspace :is(.hs-demo,.hs-notice){border-color:color-mix(in srgb,var(--h-gold) 35%,var(--h-line));background:var(--h-soft);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hs-metric{background:var(--h-soft);border-right-color:var(--h-line);border-bottom-color:var(--h-line);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hs-metric:hover{background:color-mix(in srgb,var(--h-accent) 10%,var(--h-soft))}
html[data-hub-theme] body.hub-workspace .hs-workline .hs-priority{background:color-mix(in srgb,var(--h-muted) 55%,var(--h-surface))}
html[data-hub-theme] body.hub-workspace .hs-status{background:var(--h-side);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.hs-status.completed,.hs-status.active,.hs-status.reviewed,.hs-status.approved){background:color-mix(in srgb,var(--h-ok) 12%,var(--h-surface));color:var(--h-ok)}
html[data-hub-theme] body.hub-workspace :is(.hs-status.blocked,.hs-status.needs_approval,.hs-status.returned){background:color-mix(in srgb,var(--h-danger) 10%,var(--h-surface));color:var(--h-danger)}
html[data-hub-theme] body.hub-workspace :is(.hs-status.waiting,.hs-status.pending){background:color-mix(in srgb,var(--h-warn) 12%,var(--h-surface));color:var(--h-warn)}
html[data-hub-theme] body.hub-workspace .hs-search{border-color:var(--h-line);background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hs th{background:var(--h-side);color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hs-empty{border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .hs-footer{border-top-color:var(--h-line);color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hs-dialog{border-color:var(--h-line);color:var(--h-ink);background:var(--h-surface);box-shadow:var(--h-shadow-lg)}
/* neutral scrim reads on every theme */
html[data-hub-theme] body.hub-workspace .hs-dialog::backdrop{background:rgba(0,0,0,.5)}
html[data-hub-theme] body.hub-workspace :is(.hs-field input,.hs-field select,.hs-field textarea){border-color:var(--h-line);background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hs-history li{border-left-color:color-mix(in srgb,var(--h-gold) 45%,var(--h-line))}
html[data-hub-theme] body.hub-workspace .hs-history li.hs-internal{border-left-color:var(--h-muted);background:var(--h-side)}
html[data-hub-theme] body.hub-workspace .hs-signature{border-color:var(--h-line);background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hs-board section{background:var(--h-side)}
html[data-hub-theme] body.hub-workspace .hs-board button{background:var(--h-surface);border-color:var(--h-line);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hs-contrast-note{color:var(--h-muted)!important}
html[data-hub-theme] body.hub-workspace .hs table.hs-responsive td:before{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hs-files small{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hs-routing{border-color:var(--h-line);border-left-color:var(--h-accent);background:var(--h-side);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hs-navigation>summary{background:var(--h-side);border-bottom-color:var(--h-line);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hs-resource-review{border-top-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .hs-resource-review input[type=text]{border-color:var(--h-line);background:var(--h-bg);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hs-tag.needs_my_approval{color:var(--h-accent);background:color-mix(in srgb,var(--h-accent) 8%,var(--h-surface))}
html[data-hub-theme] body.hub-workspace .hs-tag.fyi_only{color:var(--h-ink);background:var(--h-side)}
html[data-hub-theme] body.hub-workspace :is(.hs-tag.fully_delegated,.hs-ready.ready){color:var(--h-ok);background:color-mix(in srgb,var(--h-ok) 12%,var(--h-surface))}
html[data-hub-theme] body.hub-workspace :is(.hs-tag.unclassified,.hs-ready.needs_confirmation){color:var(--h-warn);background:color-mix(in srgb,var(--h-warn) 12%,var(--h-surface))}
html[data-hub-theme] body.hub-workspace .hs-ready.not_configured{color:var(--h-ink);background:var(--h-side)}
html[data-hub-theme] body.hub-workspace .hs-delegation{background:var(--h-side)}
html[data-hub-theme] body.hub-workspace .hs-oversight label:has(input:checked){border-color:var(--h-accent);background:color-mix(in srgb,var(--h-accent) 8%,var(--h-surface))}
html[data-hub-theme] body.hub-workspace .hs-chip{border-color:var(--h-line);background:var(--h-side);color:var(--h-ink)}

/* ---------- Operations (.ho) ---------- */
html[data-hub-theme] body.hub-workspace .ho{--ho-ink:var(--h-ink);--ho-muted:var(--h-muted);--ho-rule:var(--h-line);--ho-paper:var(--h-surface);--ho-burgundy:var(--h-accent);--ho-gold:var(--h-gold);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.ho button,.ho input,.ho textarea,.ho select,.ho a):focus-visible{outline-color:var(--h-focus)}
html[data-hub-theme] body.hub-workspace .ho-demo{background:var(--h-soft);border-left-color:var(--h-gold);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .ho-nav button{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .ho-button{border-color:var(--h-accent);background:var(--h-accent);color:var(--h-on-accent)}
html[data-hub-theme] body.hub-workspace .ho-button:hover{background:color-mix(in srgb,var(--h-accent) 86%,var(--h-ink))}
html[data-hub-theme] body.hub-workspace .ho-button.secondary{background:transparent;border-color:var(--h-line);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .ho-button.secondary:hover{background:var(--h-side)}
html[data-hub-theme] body.hub-workspace .ho-overview-intro{background:var(--h-hero);color:var(--h-hero-ink)}
html[data-hub-theme] body.hub-workspace .ho-overview-intro h2 em{color:var(--h-hero-kick)}
html[data-hub-theme] body.hub-workspace .ho-overview-intro p{color:color-mix(in srgb,var(--h-hero-ink) 88%,transparent)}
html[data-hub-theme] body.hub-workspace .ho-overview-intro .ho-kicker{color:var(--h-hero-kick)}
html[data-hub-theme] body.hub-workspace .ho-intro-aside{border-left-color:color-mix(in srgb,var(--h-hero-ink) 18%,transparent)}
html[data-hub-theme] body.hub-workspace .ho-intro-aside div{color:var(--h-hero-ink)}
html[data-hub-theme] body.hub-workspace .ho-intro-aside svg{color:var(--h-hero-kick)}
html[data-hub-theme] body.hub-workspace .ho-priority>span:first-child{background:var(--h-soft);color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .ho-search{border-color:var(--h-line);background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .ho-search svg{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .ho-filters button{border-color:var(--h-line);color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .ho-filters button[aria-pressed=true]{background:var(--h-soft);color:var(--h-accent);border-color:color-mix(in srgb,var(--h-accent) 35%,var(--h-line))}
html[data-hub-theme] body.hub-workspace :is(.ho-caption,.ho-table td small,.ho-field small,.ho-modal-foot>small,.ho-detail-meta,.ho-detail-grid small,.ho-payroll-entries th,.ho-security-note,.ho-line-entry legend,.ho-mobile-label,.ho-loading,.ho-footer,.ho-connection small,.ho-workflow small,.ho-workflow li,.ho-check){color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .ho-table th{color:var(--h-muted);background:var(--h-side);border-bottom-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .ho-status{color:var(--h-ink);background:var(--h-side)}
html[data-hub-theme] body.hub-workspace :is(.ho-status.urgent,.ho-status.awaiting_approval,.ho-status.returned,.ho-status.needs_review){color:var(--h-danger);background:color-mix(in srgb,var(--h-danger) 10%,var(--h-surface))}
html[data-hub-theme] body.hub-workspace :is(.ho-status.approved,.ho-status.done,.ho-status.published,.ho-status.verified){color:var(--h-ok);background:color-mix(in srgb,var(--h-ok) 12%,var(--h-surface))}
html[data-hub-theme] body.hub-workspace :is(.ho-status.high,.ho-status.in_progress,.ho-status.draft){color:var(--h-warn);background:color-mix(in srgb,var(--h-warn) 12%,var(--h-surface))}
html[data-hub-theme] body.hub-workspace .ho-avatar{background:var(--h-soft);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.ho-tabs-empty>svg,.ho-workflow>svg,.ho-readiness svg){color:var(--h-gold)}
html[data-hub-theme] body.hub-workspace .ho-readiness{background:var(--h-soft);color:var(--h-ink);border-left-color:var(--h-gold)}
html[data-hub-theme] body.hub-workspace .ho-readiness strong{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .ho-error{color:var(--h-danger);background:color-mix(in srgb,var(--h-danger) 10%,var(--h-surface));border-left-color:var(--h-danger)}
html[data-hub-theme] body.hub-workspace .ho-loading span{border-color:var(--h-line);border-top-color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .ho-workflow li:before{border-color:var(--h-line);color:var(--h-gold)}
html[data-hub-theme] body.hub-workspace .ho-connection-mark{border-color:var(--h-line);color:var(--h-gold);background:var(--h-side)}
html[data-hub-theme] body.hub-workspace .ho-footer{border-top-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .ho-footer b{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .ho-footer b span{color:var(--h-gold)}
html[data-hub-theme] body.hub-workspace .ho-dialog{border-color:var(--h-line);background:var(--h-surface);color:var(--h-ink);box-shadow:var(--h-shadow-lg)}
/* neutral scrim reads on every theme */
html[data-hub-theme] body.hub-workspace .ho-dialog::backdrop{background:rgba(0,0,0,.5)}
html[data-hub-theme] body.hub-workspace .ho-icon-button{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .ho-icon-button:hover{background:var(--h-side);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.ho-field input,.ho-field textarea,.ho-field select){border-color:var(--h-line);background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .ho-check input{accent-color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .ho-form-error{color:var(--h-danger)}
html[data-hub-theme] body.hub-workspace .ho-detail-body{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .ho-security-note{border-top-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .ho-danger-note{color:var(--h-danger);background:color-mix(in srgb,var(--h-danger) 10%,var(--h-surface))}
html[data-hub-theme] body.hub-workspace .ho-preview{border-color:var(--h-line);background:var(--h-side);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .ho-nav::-webkit-scrollbar-thumb{background:var(--h-line)}

/* ---------- Org chart (.company-structure / .cs-*) ---------- */
html[data-hub-theme] body.hub-workspace .company-structure{--cs-ink:var(--h-ink);--cs-muted:var(--h-muted);--cs-line:var(--h-line);--cs-surface:var(--h-surface);--cs-accent:var(--h-accent);--cs-burgundy:var(--h-accent);--cs-burgundy-soft:var(--h-soft);--cs-gold:var(--h-gold);--cs-connector:var(--h-line);--cs-focus:var(--h-focus);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.cs-eyebrow,.cs-content-meta,.cs-title,.cs-owner-mark,.cs-department,.cs-privacy,.cs-directory-row small,.cs-empty,.cs-loading,.cs-error,.cs-dialog header>p:last-of-type,.cs-form-note,.cs-mobile-label,.cs-card-facts dt,.cs-card-person small,.cs-card-more,.cs-card-role){color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .cs-heading h1 span{color:var(--h-gold)}
html[data-hub-theme] body.hub-workspace .cs-button{border-color:var(--h-line);background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .cs-button.cs-primary{background:var(--h-accent);color:var(--h-on-accent);border-color:var(--h-accent);box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace .cs-button:hover{border-color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace :is(.cs-button,.cs-icon-button,.cs-switch button,.cs-link,.cs-branch-toggle):focus-visible{outline-color:var(--h-focus)}
html[data-hub-theme] body.hub-workspace .cs-demo{border-color:color-mix(in srgb,var(--h-gold) 35%,var(--h-line));background:var(--h-soft)}
html[data-hub-theme] body.hub-workspace .cs-demo>span{color:var(--h-gold)}
html[data-hub-theme] body.hub-workspace .cs-demo p{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .cs-demo a{color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .cs-company-name>svg{background:var(--h-soft);color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .cs-switch{border-color:var(--h-line);background:var(--h-side)}
html[data-hub-theme] body.hub-workspace .cs-switch button{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .cs-switch button[aria-pressed=true]{background:var(--h-surface);color:var(--h-ink);box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace .cs-search svg{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .cs-filter select{border-color:var(--h-line);background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .cs-link{color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .cs-notice{color:var(--h-ok)}
html[data-hub-theme] body.hub-workspace .cs-tree-viewport{background:radial-gradient(var(--h-line) .75px,transparent .75px) 0 0/20px 20px;background-color:var(--h-bg);border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .cs-node{border-color:var(--h-line);background:var(--h-surface);color:var(--h-ink);box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace .cs-node.is-owner{border-color:var(--h-line);border-top-color:var(--h-accent);background:var(--h-surface)}
html[data-hub-theme] body.hub-workspace .cs-node.is-match{box-shadow:0 0 0 3px var(--h-focus)}
html[data-hub-theme] body.hub-workspace :is(.cs-node-main,.cs-name-button,.cs-more,.cs-tree-viewport,.cs-card-person,.cs-card-link,.cs-card-mail,.cs-dialog .cs-close):focus-visible{outline-color:var(--h-focus)}
html[data-hub-theme] body.hub-workspace .cs-avatar{background:var(--h-soft);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .is-owner .cs-avatar{background:var(--h-accent);color:var(--h-on-accent)}
html[data-hub-theme] body.hub-workspace :is(.cs-alias,.cs-directory-row .cs-alias,.cs-card .cs-alias){color:var(--h-gold)}
html[data-hub-theme] body.hub-workspace .cs-icon-button{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .cs-icon-button:hover{background:var(--h-side);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .cs-license{border-color:var(--h-line);color:var(--h-muted);background:var(--h-side)}
html[data-hub-theme] body.hub-workspace .cs-license.is-paid{background:color-mix(in srgb,var(--h-ok) 12%,var(--h-surface));color:var(--h-ok);border-color:color-mix(in srgb,var(--h-ok) 30%,var(--h-line))}
html[data-hub-theme] body.hub-workspace .cs-status{color:var(--h-ok)}
html[data-hub-theme] body.hub-workspace .cs-status:before{background:var(--h-ok)}
html[data-hub-theme] body.hub-workspace .cs-status.is-pending{color:var(--h-warn)}
html[data-hub-theme] body.hub-workspace .cs-status.is-pending:before{background:var(--h-warn)}
html[data-hub-theme] body.hub-workspace .cs-department{border-top-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .cs-branch-toggle{border-top-color:var(--h-line);background:var(--h-side);color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .cs-more{border-color:var(--h-line);background:var(--h-surface);color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .cs-node-warning{color:var(--h-warn)}
html[data-hub-theme] body.hub-workspace .cs-privacy strong{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.cs-privacy a,.cs-error a){color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .cs-directory-head{color:var(--h-muted);background:var(--h-side)}
html[data-hub-theme] body.hub-workspace :is(.cs-empty h2,.cs-error h2){color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .cs-dialog{border-color:var(--h-line);color:var(--h-ink);background:var(--h-surface);box-shadow:var(--h-shadow-lg)}
/* neutral scrim reads on every theme */
html[data-hub-theme] body.hub-workspace .cs-dialog::backdrop{background:rgba(0,0,0,.5)}
html[data-hub-theme] body.hub-workspace :is(.cs-dialog header,.cs-dialog footer){border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .cs-dialog footer{background:var(--h-side)}
html[data-hub-theme] body.hub-workspace .cs-close{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace :is(.cs-dialog input,.cs-dialog select){border-color:var(--h-line);background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.cs-dialog input,.cs-dialog select):focus{outline-color:var(--h-focus)}
html[data-hub-theme] body.hub-workspace .cs-form-note{background:var(--h-side);border-left-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .cs-form-error{color:var(--h-danger)}
html[data-hub-theme] body.hub-workspace .cs-stat{border-left-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .cs-tier{background:var(--h-soft);color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .cs-preview{background:var(--h-surface);border-color:var(--h-line);box-shadow:var(--h-shadow-lg);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .cs-card .cs-avatar-xl{background:var(--h-accent);color:var(--h-on-accent)}
html[data-hub-theme] body.hub-workspace .cs-card-facts>div{border-bottom-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace :is(.cs-card-link,.cs-card-mail){color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .cs-card-person{border-color:var(--h-line);background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .cs-card-person:hover{border-color:var(--h-accent);background:var(--h-soft)}

/* ---------- Agent team (.ct-*) and its dialogs ---------- */
html[data-hub-theme] body.hub-workspace :is(.ct-dialog,.company-team-page){--ct-primary:var(--h-accent);--ct-accent:var(--h-accent);--ct-blue:var(--h-accent);--ct-ink:var(--h-ink);--ct-muted:var(--h-muted);--ct-line:var(--h-line);--ct-surface:var(--h-surface);--ct-bg:var(--h-bg);--ct-tint:var(--h-soft);--ct-gold:var(--h-gold);--ct-danger:var(--h-danger)}
html[data-hub-theme] body.hub-workspace :is(.ct-calendar-theme-forest,.ct-calendar-theme-violet){--ct-blue:var(--h-accent);--ct-tint:var(--h-soft)}
html[data-hub-theme] body.hub-workspace .ct-brand span{background:var(--h-accent);color:var(--h-on-accent)}
html[data-hub-theme] body.hub-workspace .ct-button:hover{border-color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .ct-button.ct-primary{background:var(--h-accent);border-color:var(--h-accent);color:var(--h-on-accent)}
html[data-hub-theme] body.hub-workspace .ct-primary{background:var(--h-accent)!important;border-color:var(--h-accent)!important;color:var(--h-on-accent)}
html[data-hub-theme] body.hub-workspace .ct-search{border-color:var(--h-line);background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .ct-team-head{color:var(--h-muted);background:var(--h-side);border-bottom-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .ct-avatar{color:var(--h-ink);background:var(--h-soft)}
html[data-hub-theme] body.hub-workspace .ct-status{color:var(--h-ok);background:color-mix(in srgb,var(--h-ok) 12%,var(--h-surface));border-color:color-mix(in srgb,var(--h-ok) 30%,var(--h-line))}
html[data-hub-theme] body.hub-workspace .ct-status.ct-pending{color:var(--h-warn);background:color-mix(in srgb,var(--h-warn) 12%,var(--h-surface));border-color:color-mix(in srgb,var(--h-warn) 30%,var(--h-line))}
html[data-hub-theme] body.hub-workspace .ct-status.ct-disabled{color:var(--h-muted);background:var(--h-side);border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .ct-dialog{border-color:var(--h-line);box-shadow:var(--h-shadow-lg);background:var(--h-surface);color:var(--h-ink)}
/* neutral scrim reads on every theme */
html[data-hub-theme] body.hub-workspace .ct-dialog::backdrop{background:rgba(0,0,0,.5)}
html[data-hub-theme] body.hub-workspace .ct-setup-link{background:var(--h-side);border-color:var(--h-line);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .ct-activity-row p{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .ct-upgrade-note{background:var(--h-soft);border-color:var(--h-line);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.company-team-page,.ct-dialog) :is(button,a,input,select,textarea):focus-visible{outline-color:var(--h-focus)}
html[data-hub-theme] body.hub-workspace .ct-create-dialog .ct-field input{background:var(--h-surface);color:var(--h-ink);border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .ct-create-dialog .ct-field input:focus{background:var(--h-surface);border-color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .ct-license-option{background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .ct-license-option:has(input:checked){background:var(--h-soft);box-shadow:inset 3px 0 var(--h-accent);border-color:var(--h-accent);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .ct-steps .is-current{border-color:var(--h-accent);color:var(--h-ink);background:var(--h-soft)}
html[data-hub-theme] body.hub-workspace .ct-choice-summary{border-left-color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .ct-rate-details dl>div{border-bottom-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .ct-create-dialog .ct-dialog-actions{background:var(--h-surface)}
html[data-hub-theme] body.hub-workspace .ct-dialog .ct-steps .is-current:before{background:var(--h-accent);border-color:var(--h-accent);color:var(--h-on-accent)}
html[data-hub-theme] body.hub-workspace .ct-dialog .ct-assignment-note{border-left-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .ta-company-team-link{border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .lb-profile{border-top-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace :is(.lb-profile legend,.lb-fields>label){color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .lb-business input{accent-color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace :is(.lb-business small,.lb-fields>label>span){color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .lb-fields input{border-color:var(--h-line);background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .lb-fields input:focus{outline-color:color-mix(in srgb,var(--h-focus) 30%,transparent);border-color:var(--h-focus)}
html[data-hub-theme] body.hub-workspace .lb-profile p{color:var(--h-muted)!important}

/* ---------- Personal agent plan (.pap) ---------- */
html[data-hub-theme] body.hub-workspace .pap{--pap-ink:var(--h-ink);--pap-muted:var(--h-muted);--pap-line:var(--h-line);--pap-blue:var(--h-accent);--pap-tint:var(--h-soft);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .pap-status{border-color:var(--h-line);color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .pap-active{color:var(--h-ok);background:color-mix(in srgb,var(--h-ok) 12%,var(--h-surface));border-color:color-mix(in srgb,var(--h-ok) 30%,var(--h-line))}
html[data-hub-theme] body.hub-workspace .pap-notice{background:var(--h-soft);border-left-color:var(--h-accent);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.pap-button,.pap a,.pap input):focus-visible{outline-color:var(--h-focus)}
html[data-hub-theme] body.hub-workspace .pap-primary{background:var(--h-accent);color:var(--h-on-accent);border-color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .pap-error{color:var(--h-danger)}

/* ---------- Personal agent numbers (.pan) ---------- */
html[data-hub-theme] body.hub-workspace .pan{--pan-ink:var(--h-ink);--pan-blue:var(--h-accent);--pan-line:var(--h-line);--pan-muted:var(--h-muted);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .pan-payer{background:var(--h-soft);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .pan-notice{border-bottom-color:var(--h-line);color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .pan-attention{background:color-mix(in srgb,var(--h-warn) 10%,var(--h-surface));border-left-color:var(--h-warn);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .pan input:not([type=checkbox]){border-color:var(--h-line);color:var(--h-ink);background:var(--h-surface)}
html[data-hub-theme] body.hub-workspace :is(.pan input,.pan button):focus-visible{outline-color:var(--h-focus)}
html[data-hub-theme] body.hub-workspace .pan-button{border-color:var(--h-line);background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .pan-button:hover:not(:disabled){background:var(--h-soft);border-color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .pan-primary{background:var(--h-accent);border-color:var(--h-accent);color:var(--h-on-accent)}
html[data-hub-theme] body.hub-workspace .pan-primary:hover:not(:disabled){background:color-mix(in srgb,var(--h-accent) 86%,var(--h-ink));border-color:var(--h-accent);color:var(--h-on-accent)}
html[data-hub-theme] body.hub-workspace .pan-error{color:var(--h-danger)}
html[data-hub-theme] body.hub-workspace :is(.pan-footer a,.pan-back){color:var(--h-accent)}

/* ---------- Weekly training schedule ---------- */
html[data-hub-theme] body.hub-workspace .nh-training-weekly{border-color:var(--h-line);background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .nh-weekly-list li{border-top-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .nh-weekly-list span{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .nh-weekly-pending strong{color:var(--h-muted)}

/* ---------- Calendar / sessions ---------- */
html[data-hub-theme] body.hub-workspace .section-head{border-bottom-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .section-head h2{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace :is(.section-head span,.section-head>span){color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .timezone-label{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .session-row{border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .session-row h3{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .session-row p{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .day-stamp{color:var(--h-accent);border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .day-stamp small{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace :is(.toolbar select,.toolbar input){border-color:var(--h-line);background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .toolbar h2{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .calendar-surface{border-color:var(--h-line);background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .calendar-toolbar{border-bottom-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .month{border-color:var(--h-line);background:var(--h-surface)}
html[data-hub-theme] body.hub-workspace .month .weekday{color:var(--h-muted);border-color:var(--h-line);background:var(--h-side)}
html[data-hub-theme] body.hub-workspace .month .cell{border-color:var(--h-line);background:var(--h-surface)}
html[data-hub-theme] body.hub-workspace .cell .day{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .cell.today .day{background:var(--h-accent);color:var(--h-on-accent)}
html[data-hub-theme] body.hub-workspace .month .cell.outside,html[data-hub-theme] body.hub-workspace .cell.outside{background:var(--h-side)}
html[data-hub-theme] body.hub-workspace .cell.outside .day{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .mini-event{background:var(--h-soft);border-left-color:var(--h-gold);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .mini-event:hover{background:color-mix(in srgb,var(--h-gold) 14%,var(--h-soft))}
html[data-hub-theme] body.hub-workspace .mini-event small{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .mini-event.cancelled{background:var(--h-side);color:var(--h-muted);border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace :is(.mobile-calendar-note,.calendar-footnote){color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .calendar-mobile-agenda{border-top-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .private-calendar-link{border-left-color:var(--h-gold);background:var(--h-soft);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .private-calendar-link input{background:var(--h-surface);color:var(--h-ink);border-color:var(--h-line)}

/* Generated: display face for every Hub heading that used Georgia (54 selectors). */
:is(.article-layout h1,.aside-note h3,.day-stamp,.dialog-head h2,.empty h2,.hc-hero h1 em,.hc-hero-note,.hero h2,.hi h2,.hm-welcome h2 em,.ho-head h1,.ho-listhead h3,.ho-modal-head h2,.ho-overview-intro h2,.ho-section-head h2,.ho-statline strong,.ho-tabs-empty h3,.hp h2,.hp-current,.hp-dialog-head h2,.hp-initials-only,.ht-empty h2,.ht-featured-copy h2,.ht-heading h1,.ht-preferences-link h2,.ht-window-content>strong,.hub-contracting-intro h2,.hub-more-carriers h2,.hub-workspace .carrier-detail-top .carrier-monogram,.hub-workspace .lyntura-bridge h2 em,.hub-workspace .lyntura-product-intro h1 em,.hub-workspace .lyntura-step,.hubchoice strong,.hx-date strong,.hx-grow h2,.hx-hero h2,.hx-market-intro h2,.hx-modalhead h2,.hx-pilot-intro h2,.hx-pilot-step>span,.hx-recognition h3,.hx-recognition-intro h2,.hx-story blockquote,.hx-story-number,.hx-support-note h3,.hx-why-hero h2,.list-item .num,.login-inner h2,.login-story h1,.lu-intro h1 em,.pagehead h1,.section-head h2,.tmbrand strong,.toolbar h2){font-family:var(--h-display)!important}
/* r8 UI audit polish (2026-10-22). build-r8.mjs appends this to the end of hub-design.css (the last stylesheet the Hub loads). */
/* 1. Sidebar footer: Open CRM, the staff links and "Connected by" sized to min-content and spilled 22px past the 232px sidebar. */
html[data-hub-theme] body.hub-workspace .side-foot{grid-template-columns:minmax(0,1fr)}
html[data-hub-theme] body.hub-workspace .side-foot>*{min-width:0}
html[data-hub-theme] body.hub-workspace .hn-crm-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-hub-theme] body.hub-workspace .side-foot .powered{letter-spacing:.08em;padding-right:0}
/* Resources table: the status pill ("PENDING REVIEW") was wider than its 115px column and sat on top of the save button. */
@media(min-width:1181px){html[data-hub-theme] body.hub-workspace .resource-row{grid-template-columns:42px minmax(0,1fr) 130px 160px 44px}html[data-hub-theme] body.hub-workspace .resource-tablehead{grid-template-columns:minmax(0,1fr) 130px 160px 44px}}
html[data-hub-theme] body.hub-workspace .resource-row .resource-state{white-space:nowrap}
/* 2. Phone: the five bottom-bar labels ran into each other ("ResourcesMessages"). Equal columns, no wrapping, 13px labels. */
@media(max-width:900px){
 html[data-hub-theme] body.hub-workspace .bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding-left:max(2px,env(safe-area-inset-left));padding-right:max(2px,env(safe-area-inset-right))}
 html[data-hub-theme] body.hub-workspace .bottom-nav a{min-width:0;padding:6px 0;font-size:13px!important;line-height:1.15;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
 /* 3. Phone: the account avatar lost its initials (".profile span:not(.avatar){display:none}" also hid the photo module's initials span). */
 html[data-hub-theme] body.hub-workspace .profile .hp-avatar .hp-initials{display:inline!important}
 html[data-hub-theme] body.hub-workspace .profile .hn-mobile-account{font-size:13px!important}
}
/* 4. Staff Hub: same display type as every other page title; metric tiles laid out for eight counters (no empty cell, no broken borders). */
html[data-hub-theme] body.hub-workspace .hs h1{font-family:var(--h-display);font-weight:500;font-size:clamp(30px,2.8vw,40px);line-height:1.08;letter-spacing:-.018em}
html[data-hub-theme] body.hub-workspace .hs-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--h-line);border:1px solid var(--h-line)}
@media(min-width:1100px){html[data-hub-theme] body.hub-workspace .hs-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}}
html[data-hub-theme] body.hub-workspace .hs-metric,html[data-hub-theme] body.hub-workspace .hs-metric:nth-child(n){border:0!important;background:var(--h-surface);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hs-metric:hover{background:var(--h-soft)}
html[data-hub-theme] body.hub-workspace .hs-metric b{font-family:var(--h-display);font-weight:500;font-size:36px;line-height:1;color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .hs-metric span{color:var(--h-muted)}
/* 5. Carrier documents (staff): nine full-width "Staff only" bars pushed the documents off the first screen. Show them as a compact grid. */
@media(min-width:760px){
 html[data-hub-theme] body.hub-workspace .hcd-approvals{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}
 html[data-hub-theme] body.hub-workspace .hcd-approvals>:is(h2,p){grid-column:1/-1;margin-bottom:0}
 html[data-hub-theme] body.hub-workspace .hcd-approvals .hcd-approval{margin:0;flex-direction:column;align-items:flex-start;justify-content:space-between}
 html[data-hub-theme] body.hub-workspace .hcd-approvals .hcd-approval p{font-size:14px!important;line-height:1.5}
}
/* 6. Staff contracting intakes: request viewer (new in r8). */
html[data-hub-theme] body.hub-workspace .hci-staff-table td:last-child{text-align:right;white-space:nowrap}
html[data-hub-theme] body.hub-workspace .hci-staff-table td:last-child .button+.button{margin-left:8px}
html[data-hub-theme] body.hub-workspace .hci-view-request{border-top:1px solid var(--h-line);padding:16px 0 4px}
html[data-hub-theme] body.hub-workspace .hci-view-request:first-of-type{border-top:0}
html[data-hub-theme] body.hub-workspace .hci-view-request h3{margin:0 0 6px;font-size:18px}
html[data-hub-theme] body.hub-workspace .hci-view-request dl{display:grid;grid-template-columns:minmax(120px,38%) 1fr;gap:6px 14px;margin:12px 0}
html[data-hub-theme] body.hub-workspace .hci-view-request dt{color:var(--h-muted);font-size:14px}
html[data-hub-theme] body.hub-workspace .hci-view-request dd{margin:0;overflow-wrap:anywhere}
html[data-hub-theme] body.hub-workspace .hci-status-form{display:grid;gap:10px;margin-top:10px}
/* 7. Small print raised to the 14px minimum Nikita set (Account page hint; "See all guides" on phones). */
html[data-hub-theme] body.hub-workspace .lp-settings-plans div>span,html[data-hub-theme] body.hub-workspace .hc-text-link{font-size:14px!important}
/* 8. Phone: each Resources box was a 160px-tall card; lay them out as compact rows. */
@media(max-width:620px){
 html[data-hub-theme] body.hub-workspace .hn-resource-shortcuts .hn-tool-link{display:grid;grid-template-columns:auto 1fr auto;align-items:center;column-gap:14px;min-height:0;padding:14px 16px}
 html[data-hub-theme] body.hub-workspace .hn-resource-shortcuts .hn-tool-link>.i:last-child{grid-column:3;grid-row:1/span 2}
}
/* r10 Hub UI (2026-10-23): wide and 4K screens, Staff Workspace in the Hub shell, Account page layout, faster transitions. Appended to hub-design.css by build-r10.mjs. */
/* 1. Wide screens: the page used a 1180-1480px column with empty sides. It now fills the window beside the sidebar. */
@media(min-width:1500px){
 html[data-hub-theme] body.hub-workspace main{max-width:none;padding-left:clamp(36px,3vw,96px);padding-right:clamp(36px,3vw,96px)}
 html[data-hub-theme] body.hub-workspace .hx-workspace{max-width:none}
}
/* 4K at 100% scaling: everything is drawn larger so text, buttons and spacing stay comfortable. */
@media(min-width:2300px){html[data-hub-theme] body.hub-workspace{--hz:1.2;zoom:1.2}}
@media(min-width:2800px){html[data-hub-theme] body.hub-workspace{--hz:1.4;zoom:1.4}}
@media(min-width:3400px){html[data-hub-theme] body.hub-workspace{--hz:1.65;zoom:1.65}}
/* Screen-height sizes are divided by the same factor so the sidebar, page and message panes still fit the window exactly. */
@media(min-width:2300px){
 html[data-hub-theme] body.hub-workspace .layout{min-height:calc(100dvh / var(--hz))}
 html[data-hub-theme] body.hub-workspace .sidebar{height:calc(100dvh / var(--hz))}
 html[data-hub-theme] body.hub-workspace main{min-height:calc(100dvh / var(--hz) - 70px)}
 html[data-hub-theme] body.hub-workspace dialog{max-height:calc(90dvh / var(--hz))}
 html[data-hub-theme] body.hub-workspace .hm-app{height:calc(100dvh / var(--hz) - 176px)!important}
}
/* 2. The content area showed a gold focus frame after every page change (it receives focus for screen readers). */
html[data-hub-theme] body.hub-workspace #main:is(:focus,:focus-visible){outline:none!important}
/* 3. Staff Workspace now opens inside the Hub like any other page: same sidebar and header, no separate frame or "Return" buttons. */
html[data-hub-theme] body.hub-workspace.nh-staff-page .hs{border:0;border-radius:0;background:transparent;box-shadow:none}
html[data-hub-theme] body.hub-workspace.nh-staff-page .hs-header{padding:0 0 18px;border-bottom:0;background:transparent}
html[data-hub-theme] body.hub-workspace.nh-staff-page .hs-header h1{font-size:clamp(34px,3.3vw,46px);line-height:1.06;margin:6px 0 8px}
html[data-hub-theme] body.hub-workspace.nh-staff-page :is(.hs-return,.hs-footer,.hs-nav-footer){display:none!important}
html[data-hub-theme] body.hub-workspace.nh-staff-page .hs-breadcrumb{padding:0 0 14px;border:0;background:transparent}
html[data-hub-theme] body.hub-workspace.nh-staff-page .hs-layout{border:1px solid var(--h-line);border-radius:var(--h-r2);overflow:hidden;background:var(--h-surface);box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace .hn-staff-link[aria-current=page]{opacity:1;background:var(--h-soft);color:var(--h-accent)}
@media(min-width:1500px){html[data-hub-theme] body.hub-workspace.nh-staff-page .hs-layout{grid-template-columns:230px minmax(0,1fr)}}
/* 4. Account & access: the text-alert settings ran in one long half-empty column. Wide screens show the form beside verification and status. */
html[data-hub-theme] body.hub-workspace .hn-account-shortcuts .section-head{margin-bottom:14px}
@media(min-width:1280px){
 html[data-hub-theme] body.hub-workspace .nh-notifications>div{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:20px 32px;align-items:start}
 html[data-hub-theme] body.hub-workspace .nh-notifications>div>:not(form):not(section){grid-column:1/-1}
 html[data-hub-theme] body.hub-workspace .nh-notifications>div>form{grid-column:1;grid-row:2/span 3;max-width:none}
 html[data-hub-theme] body.hub-workspace .nh-notifications>div>section{grid-column:2;margin:0}
}
html[data-hub-theme] body.hub-workspace .nh-notifications :is(p,label,small){overflow-wrap:break-word;hyphens:none}
/* 5. Page changes: the old page fades slightly while the next one loads, then the new one appears quickly (was a slow 0.36s rise). */
html[data-hub-theme] body.hub-workspace #main>*{animation-duration:.16s}
@keyframes h-rise{from{opacity:.001;transform:translateY(3px)}to{opacity:1;transform:none}}
html[data-hub-theme] body.hub-workspace #main{transition:opacity .12s ease .12s}
html[data-hub-theme] body.hub-workspace #main[aria-busy=true]{opacity:.6}
html[data-hub-theme] body.hub-workspace:has(#main[aria-busy=true]) .topbar::after{content:'';position:absolute;left:0;bottom:-1px;height:2px;width:40%;background:var(--h-accent);animation:h-load 1s ease-in-out infinite;animation-delay:.15s;opacity:0}
@keyframes h-load{0%{transform:translateX(-100%);opacity:1}100%{transform:translateX(260%);opacity:1}}
@media(prefers-reduced-motion:reduce){html[data-hub-theme] body.hub-workspace #main{transition:none}}
/* 6. Top-bar search: keep the soft maroon ring around the whole search box, drop the extra orange ring drawn inside it around the text field. */
html[data-hub-theme] body.hub-workspace .search input:is(:focus,:focus-visible){outline:none!important;box-shadow:none!important}
html[data-hub-theme] body.hub-workspace .search{transition:box-shadow .15s ease,border-color .15s ease}
html[data-hub-theme] body.hub-workspace .search:not(:focus-within){box-shadow:none}
html[data-hub-theme] body.hub-workspace .search:focus-within{border-color:var(--h-accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--h-accent) 26%,transparent)}
/* r11 Carriers page (2026-10-23): carrier cards with documents, $50 status and quick links. Appended to hub-design.css by build-r11.mjs. */
html[data-hub-theme] body.hub-workspace .hcx-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin:8px 0 28px}
html[data-hub-theme] body.hub-workspace .hcx-tile{position:relative;display:flex;flex-direction:column;gap:6px;text-align:left;font:inherit;padding:22px 52px 22px 22px;border:1px solid var(--h-line);border-radius:var(--h-r2);background:var(--h-surface);color:var(--h-ink);text-decoration:none;box-shadow:var(--h-shadow);cursor:pointer;transition:transform .16s var(--h-ease),border-color .16s}
html[data-hub-theme] body.hub-workspace .hcx-tile:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--h-accent) 45%,var(--h-line))}
html[data-hub-theme] body.hub-workspace .hcx-tile>.i{position:absolute;right:20px;top:22px;width:18px;height:18px;color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .hcx-tile strong{font-family:var(--h-display);font-weight:500;font-size:23px;line-height:1.15}
html[data-hub-theme] body.hub-workspace .hcx-tile span{color:var(--h-muted);font-size:15px;line-height:1.5}
html[data-hub-theme] body.hub-workspace .hcx-search{max-width:640px;margin:0 0 20px}
html[data-hub-theme] body.hub-workspace .hcx-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:16px}
html[data-hub-theme] body.hub-workspace .hcx-card{display:flex;flex-direction:column;border:1px solid var(--h-line);border-radius:var(--h-r2);background:var(--h-surface);overflow:hidden;transition:border-color .16s,box-shadow .16s}
html[data-hub-theme] body.hub-workspace .hcx-card:hover{border-color:color-mix(in srgb,var(--h-accent) 40%,var(--h-line));box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace .hcx-main{flex:1;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;padding:20px;color:var(--h-ink);text-decoration:none}
html[data-hub-theme] body.hub-workspace .hcx-main>.i{width:18px;height:18px;color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .hcx-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:var(--h-soft);color:var(--h-accent);font-weight:800;font-size:16px;letter-spacing:.02em}
html[data-hub-theme] body.hub-workspace .hcx-copy{display:grid;gap:8px;min-width:0}
html[data-hub-theme] body.hub-workspace .hcx-copy strong{font-family:var(--h-display);font-weight:500;font-size:22px;line-height:1.15}
html[data-hub-theme] body.hub-workspace .hcx-chips{display:flex;flex-wrap:wrap;gap:6px}
html[data-hub-theme] body.hub-workspace .hcx-chip{display:inline-flex;align-items:center;min-height:26px;padding:2px 10px;border-radius:999px;background:var(--h-side);color:var(--h-muted);font-size:14px;font-weight:650}
html[data-hub-theme] body.hub-workspace .hcx-chip.ok{background:color-mix(in srgb,var(--h-ok) 14%,var(--h-surface));color:var(--h-ok)}
html[data-hub-theme] body.hub-workspace .hcx-chip.warn{background:color-mix(in srgb,var(--h-warn) 14%,var(--h-surface));color:var(--h-warn)}
html[data-hub-theme] body.hub-workspace .hcx-actions{display:flex;flex-wrap:wrap;gap:4px 18px;padding:12px 20px;border-top:1px solid var(--h-line);background:color-mix(in srgb,var(--h-side) 55%,var(--h-surface))}
html[data-hub-theme] body.hub-workspace .hcx-actions a{color:var(--h-accent);font-weight:700;font-size:15px;text-decoration:none;min-height:32px;display:inline-flex;align-items:center}
html[data-hub-theme] body.hub-workspace .hcx-actions a:hover{text-decoration:underline}
html[data-hub-theme] body.hub-workspace .hcx-more{margin-top:28px;padding:22px;border:1px solid var(--h-line);border-radius:var(--h-r2);background:var(--h-surface)}
/* Carrier Quick Links (Andrew, Oct 23): full-width carrier cards with the links that are ready, and a wide action grid per carrier. */
html[data-hub-theme] body.hub-workspace .hcq{max-width:none;padding:0 0 24px}
html[data-hub-theme] body.hub-workspace .hcq-head h1{font-family:var(--h-display);font-weight:500;font-size:clamp(34px,3.3vw,46px);line-height:1.06;letter-spacing:-.018em;color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hcq-eyebrow{color:var(--h-gold);letter-spacing:.14em}
html[data-hub-theme] body.hub-workspace .hcq-head p{color:var(--h-muted);max-width:64ch}
html[data-hub-theme] body.hub-workspace .hcq-search{max-width:640px;margin:18px 0 22px}
html[data-hub-theme] body.hub-workspace .hcq-carriers{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px}
html[data-hub-theme] body.hub-workspace .hcq-carrier{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;min-height:120px;padding:20px 22px;border:1px solid var(--h-line);border-radius:var(--h-r2);background:var(--h-surface);color:var(--h-ink);box-shadow:var(--h-shadow);transition:transform .16s var(--h-ease),border-color .16s,box-shadow .16s}
html[data-hub-theme] body.hub-workspace .hcq-carrier:hover,html[data-hub-theme] body.hub-workspace .hcq-carrier:focus-visible{transform:translateY(-2px);border-color:color-mix(in srgb,var(--h-accent) 45%,var(--h-line));box-shadow:var(--h-shadow-lg)}
html[data-hub-theme] body.hub-workspace .hcq-mark{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:linear-gradient(145deg,var(--h-accent),color-mix(in srgb,var(--h-accent) 60%,var(--h-gold)));color:var(--h-on-accent);font-weight:800;font-size:17px;letter-spacing:.03em}
html[data-hub-theme] body.hub-workspace .hcq-carrier-copy{display:grid;gap:6px;min-width:0}
html[data-hub-theme] body.hub-workspace .hcq-carrier .hcq-name{font-family:var(--h-display);font-weight:500;font-size:23px;line-height:1.15}
html[data-hub-theme] body.hub-workspace .hcq-carrier small{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hcq-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}
html[data-hub-theme] body.hub-workspace .hcq-chip{display:inline-flex;align-items:center;min-height:26px;padding:2px 10px;border-radius:999px;background:var(--h-soft);color:var(--h-accent);font-size:14px;font-weight:700}
html[data-hub-theme] body.hub-workspace .hcq-chip.is-muted{background:var(--h-side);color:var(--h-muted);font-weight:600}
html[data-hub-theme] body.hub-workspace .hcq-go{font-size:20px;color:var(--h-accent);transition:transform .16s var(--h-ease)}
html[data-hub-theme] body.hub-workspace .hcq-carrier:hover .hcq-go{transform:translateX(3px)}
@media(min-width:900px){
 html[data-hub-theme] body.hub-workspace .hcq-carrier-view .hcq-stack{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}
 html[data-hub-theme] body.hub-workspace .hcq-carrier-view .hcq-btn{min-height:76px;padding:18px 22px;border-radius:var(--h-r2);font-size:18px}
}
html[data-hub-theme] body.hub-workspace .hcq-btn{background:var(--h-surface);border-color:var(--h-line);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace a.hcq-btn:hover{border-color:var(--h-accent);box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace .hcq-btn.is-pending{background:var(--h-side);color:var(--h-muted)}
@media(min-width:900px){html[data-hub-theme] body.hub-workspace .hcq-carrier-view .hcq-stack>.hcq-hint{grid-column:1/-1;order:99;margin:0}html[data-hub-theme] body.hub-workspace .hcq-carrier-view .hcq-stack>.hcq-picker{grid-column:span 2}}
/* Calendar (Andrew, Oct 23): one big, obvious "Add all training to my calendar" button for everyone. */
html[data-hub-theme] body.hub-workspace .button.hub-cal-add{min-height:54px;padding:14px 24px;font-size:17px;font-weight:800;border-radius:999px;background:var(--h-accent);color:var(--h-on-accent);box-shadow:0 10px 24px color-mix(in srgb,var(--h-accent) 28%,transparent)}
html[data-hub-theme] body.hub-workspace .button.hub-cal-add:hover{filter:brightness(1.07);transform:translateY(-1px)}
html[data-hub-theme] body.hub-workspace .button.hub-cal-add .i{width:20px;height:20px}
/* r14 Account & access (2026-10-23): full-width product page. Appended to hub-design.css by build-r14.mjs. */
html[data-hub-theme] body.hub-workspace .acct-page{display:grid;gap:24px}
/* Header band */
html[data-hub-theme] body.hub-workspace .acct-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:28px;padding:32px 36px;border-radius:var(--h-r3);background:var(--h-hero);color:var(--h-hero-ink);box-shadow:var(--h-shadow-lg);position:relative;overflow:hidden}
html[data-hub-theme] body.hub-workspace .acct-hero::after{content:'';position:absolute;right:-120px;top:-160px;width:420px;height:420px;border-radius:50%;border:1px solid color-mix(in srgb,var(--h-hero-ink) 18%,transparent);pointer-events:none}
html[data-hub-theme] body.hub-workspace .acct-hero .acct-avatar{width:104px;height:104px;border-radius:50%;font-size:34px;font-weight:800;display:grid;place-items:center;background:color-mix(in srgb,var(--h-hero-ink) 14%,transparent);color:var(--h-hero-ink);border:3px solid color-mix(in srgb,var(--h-hero-ink) 35%,transparent);overflow:hidden}
html[data-hub-theme] body.hub-workspace .acct-hero .acct-avatar img{width:100%;height:100%;object-fit:cover}
html[data-hub-theme] body.hub-workspace .acct-hero .eyebrow{color:var(--h-hero-kick)}
html[data-hub-theme] body.hub-workspace .acct-hero h1{font-family:var(--h-display);font-weight:500;font-size:clamp(34px,3.2vw,48px);line-height:1.05;margin:6px 0 6px;color:var(--h-hero-ink)}
html[data-hub-theme] body.hub-workspace .acct-hero p{margin:0;color:color-mix(in srgb,var(--h-hero-ink) 82%,transparent);font-size:16px}
html[data-hub-theme] body.hub-workspace .acct-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
html[data-hub-theme] body.hub-workspace .acct-chip{display:inline-flex;align-items:center;min-height:30px;padding:3px 12px;border-radius:999px;background:color-mix(in srgb,var(--h-hero-ink) 14%,transparent);color:var(--h-hero-ink);font-size:14px;font-weight:700}
html[data-hub-theme] body.hub-workspace .acct-hero-actions{display:flex;flex-direction:column;gap:10px;position:relative;z-index:1}
html[data-hub-theme] body.hub-workspace .acct-hero-actions .button{justify-content:center;min-width:220px;background:var(--h-hero-ink)!important;color:var(--h-hero)!important;border-color:var(--h-hero-ink)!important}
html[data-hub-theme] body.hub-workspace .acct-hero-actions .button.secondary{background:transparent!important;color:var(--h-hero-ink)!important;border-color:color-mix(in srgb,var(--h-hero-ink) 45%,transparent)!important}
/* Shortcut tiles: three across, compact */
html[data-hub-theme] body.hub-workspace .acct-page .hn-account-shortcuts{margin:0}
html[data-hub-theme] body.hub-workspace .acct-page .hn-account-shortcuts .section-head{margin-bottom:12px}
html[data-hub-theme] body.hub-workspace .acct-page .hn-account-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border:0;background:none}
html[data-hub-theme] body.hub-workspace .acct-page .hn-account-links .hn-tool-link{border:1px solid var(--h-line)!important;border-radius:var(--h-r2);background:var(--h-surface);padding:16px 18px;box-shadow:none}
html[data-hub-theme] body.hub-workspace .acct-page .hn-account-links .hn-tool-link:hover{border-color:color-mix(in srgb,var(--h-accent) 45%,var(--h-line))!important;box-shadow:var(--h-shadow)}
/* Card grid: photo beside name */
html[data-hub-theme] body.hub-workspace .acct-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:24px;align-items:start}
html[data-hub-theme] body.hub-workspace .acct-card{min-width:0;padding:28px;border:1px solid var(--h-line);border-radius:var(--h-r2);background:var(--h-surface);box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace .acct-card :is(.hp,.hi){margin:0;padding:0;border:0;background:none;box-shadow:none;max-width:none}
html[data-hub-theme] body.hub-workspace .acct-card :is(.hp-head h2,.hi-heading h2){font-family:var(--h-display);font-weight:500;font-size:26px;line-height:1.15;margin:4px 0 6px}
html[data-hub-theme] body.hub-workspace .acct-card :is(.hp-head p,.hi-heading p,.hp-help,.hp-profile-copy p,.hi-form-foot,.hi-legacy){font-size:14px!important;line-height:1.55;color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .acct-card .hp-help{margin-top:14px}
html[data-hub-theme] body.hub-workspace .acct-card .hi-name-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
html[data-hub-theme] body.hub-workspace .acct-card .hi-visibility{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px;border-radius:var(--h-r1);background:var(--h-side)}
html[data-hub-theme] body.hub-workspace .acct-card .hi-form-foot{position:sticky;bottom:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:18px -28px -28px;padding:16px 28px;border-top:1px solid var(--h-line);background:color-mix(in srgb,var(--h-surface) 94%,transparent);backdrop-filter:blur(8px);border-radius:0 0 var(--h-r2) var(--h-r2)}
/* CRM plan band (inserted by the plans module before the name card) spans the grid */
html[data-hub-theme] body.hub-workspace .acct-grid>.lp-settings-plans{grid-column:1/-1;order:3;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;margin:0;padding:20px 24px;border:1px solid var(--h-line);border-radius:var(--h-r2);background:var(--h-surface)}
html[data-hub-theme] body.hub-workspace .acct-grid>.lp-settings-plans strong{font-family:var(--h-display);font-weight:500;font-size:22px;display:block}
html[data-hub-theme] body.hub-workspace .acct-grid>.lp-settings-plans span{color:var(--h-muted);font-size:14px}
html[data-hub-theme] body.hub-workspace .acct-grid>.lp-settings-plans .lp-settings-actions{display:flex;flex-wrap:wrap;gap:10px}
html[data-hub-theme] body.hub-workspace .acct-grid>.lp-settings-plans .lp-settings-actions a{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:8px 16px;border:1px solid var(--h-line);border-radius:999px;color:var(--h-accent);font-weight:700;font-size:14px;text-decoration:none;background:var(--h-surface)}
html[data-hub-theme] body.hub-workspace .acct-grid>.lp-settings-plans .lp-settings-actions a:hover{border-color:var(--h-accent)}
html[data-hub-theme] body.hub-workspace .acct-grid>.acct-photo{order:1}
html[data-hub-theme] body.hub-workspace .acct-grid>.acct-identity{order:2}
/* Text alerts and membership as cards */
html[data-hub-theme] body.hub-workspace .acct-page .nh-notifications{margin:0;padding:28px;border:1px solid var(--h-line);border-radius:var(--h-r2);background:var(--h-surface);box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace .acct-page .nh-notifications>h2{font-family:var(--h-display);font-weight:500;font-size:26px;margin:0 0 14px}
html[data-hub-theme] body.hub-workspace .acct-membership{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:0}
html[data-hub-theme] body.hub-workspace .acct-membership>section{padding:28px;border:1px solid var(--h-line);border-radius:var(--h-r2);background:var(--h-surface);box-shadow:var(--h-shadow)}
html[data-hub-theme] body.hub-workspace .acct-page>.notice{margin:0}
@media(max-width:1100px){
 html[data-hub-theme] body.hub-workspace .acct-grid,html[data-hub-theme] body.hub-workspace .acct-membership{grid-template-columns:1fr}
 html[data-hub-theme] body.hub-workspace .acct-hero{grid-template-columns:auto minmax(0,1fr)}
 html[data-hub-theme] body.hub-workspace .acct-hero-actions{grid-column:1/-1;flex-direction:row;flex-wrap:wrap}
}
@media(max-width:620px){
 html[data-hub-theme] body.hub-workspace .acct-hero{grid-template-columns:1fr;padding:24px;gap:16px}
 html[data-hub-theme] body.hub-workspace .acct-hero .acct-avatar{width:76px;height:76px;font-size:26px}
 html[data-hub-theme] body.hub-workspace .acct-hero-actions{flex-direction:column}html[data-hub-theme] body.hub-workspace .acct-hero-actions .button{min-width:0;width:100%}
 html[data-hub-theme] body.hub-workspace :is(.acct-card,.acct-page .nh-notifications,.acct-membership>section){padding:20px}
 html[data-hub-theme] body.hub-workspace .acct-card .hi-form-foot{margin:18px -20px -20px;padding:14px 20px}
 html[data-hub-theme] body.hub-workspace .acct-card :is(.hi-name-fields,.hi-visibility){grid-template-columns:1fr}
}
@media(max-width:1100px){html[data-hub-theme] body.hub-workspace .acct-page .hn-account-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){html[data-hub-theme] body.hub-workspace .acct-page .hn-account-links{grid-template-columns:1fr}}
/* Text alerts card: option rows, quiet legal text, sub-cards for verify / status / urgent. */
html[data-hub-theme] body.hub-workspace .acct-page .nh-notifications>h2::after{content:'Texts about support replies and urgent Hub updates. Nothing is sent until your number is verified.';display:block;margin-top:6px;font-family:var(--h-ui,inherit);font-size:15px;font-weight:400;color:var(--h-muted);line-height:1.5}
html[data-hub-theme] body.hub-workspace .acct-page .nh-notifications .notice{border-radius:var(--h-r1);font-size:14px!important;padding:12px 16px;margin:0 0 4px}
html[data-hub-theme] body.hub-workspace .acct-page .nh-notifications form{display:grid;gap:12px;align-content:start}
html[data-hub-theme] body.hub-workspace .acct-page .nh-notifications .nh-check{display:flex;align-items:center;gap:12px;min-height:56px;padding:12px 16px;border:1px solid var(--h-line);border-radius:var(--h-r1);background:var(--h-surface);font-size:15px!important;font-weight:600;cursor:pointer;transition:border-color .15s,background .15s}
html[data-hub-theme] body.hub-workspace .acct-page .nh-notifications .nh-check:hover{border-color:color-mix(in srgb,var(--h-accent) 40%,var(--h-line))}
html[data-hub-theme] body.hub-workspace .acct-page .nh-notifications .nh-check:has(input:checked){border-color:var(--h-accent);background:color-mix(in srgb,var(--h-accent) 6%,var(--h-surface))}
html[data-hub-theme] body.hub-workspace .acct-page .nh-notifications .nh-check input{width:20px;height:20px;accent-color:var(--h-accent);flex:none}
html[data-hub-theme] body.hub-workspace .acct-page .nh-notifications .pagehint{font-size:13.5px!important;line-height:1.55;color:var(--h-muted);margin:0}
html[data-hub-theme] body.hub-workspace .acct-page .nh-notifications form>.pagehint:nth-of-type(2){padding:12px 14px;border-radius:var(--h-r1);background:var(--h-side)}
html[data-hub-theme] body.hub-workspace .acct-page .nh-notifications form>.button{justify-self:start;min-height:48px;padding:12px 22px}
html[data-hub-theme] body.hub-workspace .acct-page .nh-notifications>div>section{padding:22px;border:1px solid var(--h-line);border-radius:var(--h-r2);background:color-mix(in srgb,var(--h-side) 45%,var(--h-surface))}
html[data-hub-theme] body.hub-workspace .acct-page .nh-notifications>div>section h3{font-family:var(--h-display);font-weight:500;font-size:21px;margin:0 0 6px}
html[data-hub-theme] body.hub-workspace .acct-page .nh-notifications>div>section form{gap:10px;margin-top:10px}
html[data-hub-theme] body.hub-workspace .acct-page .nh-notifications>div>section .button{justify-self:start}
@media(min-width:1280px){html[data-hub-theme] body.hub-workspace .acct-page .nh-notifications>div>section+section{margin-top:-4px}}
/* Profile / Included cards */
html[data-hub-theme] body.hub-workspace .acct-membership .section-head h2{font-family:var(--h-display);font-weight:500;font-size:24px}
html[data-hub-theme] body.hub-workspace .acct-membership .list-item{padding:14px 0;border-color:var(--h-line)}
html[data-hub-theme] body.hub-workspace .acct-membership .checklist li{padding:8px 0;font-size:15px}
html[data-hub-theme] body.hub-workspace .acct-membership .checklist li .i{color:var(--h-ok)}
html[data-hub-theme] body.hub-workspace .acct-page .nh-notifications label:not(.nh-check){display:grid;gap:6px;font-weight:650;font-size:14px}
html[data-hub-theme] body.hub-workspace .acct-page .nh-notifications label:not(.nh-check) input{max-width:360px;min-height:46px}
/* Top-bar avatar: between 901 and 1180px wide the initials were hidden too (same rule as the old phone bug). */
html[data-hub-theme] body.hub-workspace .profile .hp-avatar .hp-initials{display:inline!important}
/* r15 Account & access (2026-10-23): a plain settings page. Appended to hub-design.css by build-r15.mjs.
   Overrides the r14 card layout (same page, the r14 class names are no longer rendered). */
html[data-hub-theme] body.hub-workspace .acct2{--a-label:260px;--a-gap:8px;max-width:1240px}
/* Title row */
html[data-hub-theme] body.hub-workspace .acct2-head{display:flex;align-items:center;gap:20px;padding:0 0 24px;border-bottom:1px solid var(--h-line)}
html[data-hub-theme] body.hub-workspace .acct2-head .acct2-avatar{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;font-size:22px;font-weight:700;background:var(--h-side);color:var(--h-ink);overflow:hidden;flex:none}
html[data-hub-theme] body.hub-workspace .acct2-head .acct2-avatar img{width:100%;height:100%;object-fit:cover}
html[data-hub-theme] body.hub-workspace .acct2-who{min-width:0;flex:1}
html[data-hub-theme] body.hub-workspace .acct2-who h1{font-family:var(--h-display);font-weight:500;font-size:30px;line-height:1.15;letter-spacing:-.01em;margin:0;color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .acct2-who p{margin:4px 0 0;color:var(--h-muted);font-size:15px}
html[data-hub-theme] body.hub-workspace .acct2-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
html[data-hub-theme] body.hub-workspace .acct2-chip{display:inline-flex;align-items:center;height:24px;padding:0 9px;border:1px solid var(--h-line);border-radius:6px;background:var(--h-surface);color:var(--h-muted);font-size:13px;font-weight:600}
html[data-hub-theme] body.hub-workspace .acct2-head-actions{display:flex;align-items:center;gap:16px;flex:none}
html[data-hub-theme] body.hub-workspace .acct2-head-actions .button{min-height:40px;padding:8px 16px;border-radius:8px;font-size:14px}
html[data-hub-theme] body.hub-workspace .acct2-head-actions .textbutton{font-size:14px;font-weight:600;color:var(--h-muted)}
/* Section nav: A = tabs under the title; B = sticky list on the left */
html[data-hub-theme] body.hub-workspace .acct2-nav{display:flex;gap:4px;padding:12px 0 0;overflow-x:auto}
html[data-hub-theme] body.hub-workspace .acct2-nav button{font:inherit;font-size:14px;font-weight:600;color:var(--h-muted);background:none;border:0;border-radius:6px;min-height:36px;padding:0 10px;cursor:pointer;white-space:nowrap}
html[data-hub-theme] body.hub-workspace .acct2-nav button:hover{background:var(--h-soft);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .acct2-nav button[aria-current]{background:var(--h-side);color:var(--h-ink)}
/* Rows: label left, control right */
html[data-hub-theme] body.hub-workspace .acct2-row{display:grid;grid-template-columns:var(--a-label) minmax(0,1fr);gap:16px 48px;padding:32px 0;border-bottom:1px solid var(--h-line);scroll-margin-top:84px}
html[data-hub-theme] body.hub-workspace .acct2-row:last-child{border-bottom:0}
html[data-hub-theme] body.hub-workspace .acct2-label h2{font-family:inherit;font-size:16px;font-weight:700;letter-spacing:0;margin:0 0 6px;color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .acct2-label p{margin:0;font-size:14px!important;line-height:1.5;color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .acct2-control{min-width:0;max-width:720px}
html[data-hub-theme] body.hub-workspace .acct2-hint{margin:0;font-size:13px!important;line-height:1.5;color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .acct2-link{font-size:14px;font-weight:600;color:var(--h-accent);text-decoration:none}
html[data-hub-theme] body.hub-workspace .acct2-link:hover{text-decoration:underline}
/* Photo module: drop its own heading and marketing copy; keep the control */
html[data-hub-theme] body.hub-workspace .acct2 :is(.hp,.hi){margin:0;padding:0;border:0;background:none;box-shadow:none;max-width:none}
html[data-hub-theme] body.hub-workspace .acct2 :is(.hp-head,.hi-heading,.hp-help,.hi-legacy){display:none}
html[data-hub-theme] body.hub-workspace .acct2 .hp-profile-row{display:flex;align-items:center;gap:20px}
html[data-hub-theme] body.hub-workspace .acct2 .hp-current{width:80px;height:80px;flex:none}
html[data-hub-theme] body.hub-workspace .acct2 .hp-profile-copy h3{font-size:15px;font-weight:700;margin:0 0 2px}
html[data-hub-theme] body.hub-workspace .acct2 .hp-profile-copy p{font-size:13px!important;color:var(--h-muted);margin:0 0 10px}
html[data-hub-theme] body.hub-workspace .acct2 .hp-profile-copy .button{min-height:38px;padding:8px 14px;font-size:14px;border-radius:8px}
/* Name form */
html[data-hub-theme] body.hub-workspace .acct2 .hi-form{display:grid;gap:16px}
html[data-hub-theme] body.hub-workspace .acct2 .hi-name-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
html[data-hub-theme] body.hub-workspace .acct2 label{display:grid;gap:6px;font-size:13px;font-weight:600;color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .acct2 label small,html[data-hub-theme] body.hub-workspace .acct2 label .pagehint{font-weight:400;color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .acct2 :is(input[type=text],input[type=tel],input[type=search],input[type=email],input:not([type]),select,textarea){min-height:40px;padding:8px 12px;border:1px solid var(--h-line);border-radius:8px;background:var(--h-surface);color:var(--h-ink);font:inherit;font-size:15px!important;transition:border-color .12s,box-shadow .12s}
html[data-hub-theme] body.hub-workspace .acct2 :is(input,select,textarea):focus{outline:none;border-color:var(--h-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--h-accent) 15%,transparent)}
html[data-hub-theme] body.hub-workspace .acct2 .hi-visibility{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px 14px;border:1px solid var(--h-line);border-radius:8px;font-size:13px}
html[data-hub-theme] body.hub-workspace .acct2 .hi-form-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;font-size:13px!important;color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .acct2 .button{border-radius:8px;min-height:40px;padding:8px 16px;font-size:14px;font-weight:600}
/* Name + Plan & billing share one grid so the CRM plan links plans.js drops before the name form land in the plan row */
html[data-hub-theme] body.hub-workspace .acct2-row-name{grid-template-rows:auto auto auto;row-gap:0}
html[data-hub-theme] body.hub-workspace .acct2-row-name>.acct2-label{grid-column:1;grid-row:1}
html[data-hub-theme] body.hub-workspace .acct2-row-name>.acct2-label-plan{grid-row:2/span 2;padding-top:32px;margin-top:32px;border-top:1px solid var(--h-line)}
html[data-hub-theme] body.hub-workspace .acct2-row-name>.acct2-control-name{display:contents}
html[data-hub-theme] body.hub-workspace .acct2-row-name #hub-identity-root{grid-column:2;grid-row:1;max-width:720px;min-width:0}
html[data-hub-theme] body.hub-workspace .acct2-row-name>.acct2-plan-hub{grid-column:2;grid-row:2;max-width:720px;margin-top:64px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;align-items:center}
html[data-hub-theme] body.hub-workspace .acct2-row-name .lp-settings-plans{grid-column:2;grid-row:3;max-width:720px;margin:12px 0 0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;align-items:center;padding:14px 16px;border:1px solid var(--h-line);border-radius:8px;background:none}
html[data-hub-theme] body.hub-workspace .acct2-row-name .lp-settings-plans strong{font-size:15px;display:block}
html[data-hub-theme] body.hub-workspace .acct2-row-name .lp-settings-plans>div>span{font-size:13px;color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .acct2-row-name .lp-settings-actions{display:flex;flex-wrap:wrap;gap:4px 16px;justify-content:flex-end}
html[data-hub-theme] body.hub-workspace .acct2-row-name .lp-settings-actions a{font-size:14px;font-weight:600;color:var(--h-accent);text-decoration:none;min-height:32px;display:inline-flex;align-items:center;gap:4px}
html[data-hub-theme] body.hub-workspace .acct2-row-name .lp-settings-actions a:hover{text-decoration:underline}
html[data-hub-theme] body.hub-workspace .acct2-plan-hub{padding:14px 16px;border:1px solid var(--h-line);border-radius:8px}
html[data-hub-theme] body.hub-workspace .acct2-plan-hub strong{font-size:15px}
html[data-hub-theme] body.hub-workspace .acct2-plan-hub span{grid-column:1;font-size:13px;color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .acct2-plan-hub .acct2-link{grid-column:2;grid-row:1/span 2}
html[data-hub-theme] body.hub-workspace .acct2-plan-crm:empty{display:none}
html[data-hub-theme] body.hub-workspace .acct2-plan-crm .lp-settings-plans{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;align-items:center;margin:0;padding:14px 16px;border:1px solid var(--h-line);border-radius:8px;background:none}
html[data-hub-theme] body.hub-workspace .acct2-plan-crm .lp-settings-plans strong{font-size:15px;display:block}
html[data-hub-theme] body.hub-workspace .acct2-plan-crm .lp-settings-plans span{font-size:13px;color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .acct2-plan-crm .lp-settings-actions{grid-column:2;grid-row:1;display:flex;flex-wrap:wrap;gap:4px 16px;justify-content:flex-end}
html[data-hub-theme] body.hub-workspace .acct2-plan-crm .lp-settings-actions a{font-size:14px;font-weight:600;color:var(--h-accent);text-decoration:none;min-height:32px;display:inline-flex;align-items:center;gap:4px}
html[data-hub-theme] body.hub-workspace .acct2-plan-crm .lp-settings-actions a:hover{text-decoration:underline}
/* Text alerts module inside its row */
html[data-hub-theme] body.hub-workspace .acct2 .nh-notifications{margin:0;padding:0;border:0;background:none;box-shadow:none}
html[data-hub-theme] body.hub-workspace .acct2 .nh-notifications>h2{display:none}
html[data-hub-theme] body.hub-workspace .acct2 .nh-notifications>div{display:grid;gap:20px}
html[data-hub-theme] body.hub-workspace .acct2 .nh-notifications .notice{margin:0;padding:10px 12px;border-radius:8px;font-size:13px!important}
html[data-hub-theme] body.hub-workspace .acct2 .nh-notifications form{display:grid;gap:12px}
html[data-hub-theme] body.hub-workspace .acct2 .nh-notifications label:not(.nh-check) input{max-width:320px}
html[data-hub-theme] body.hub-workspace .acct2 .nh-notifications .nh-check{display:flex;align-items:center;gap:10px;font-size:14px!important;font-weight:500;min-height:0}
html[data-hub-theme] body.hub-workspace .acct2 .nh-notifications .nh-check input{width:16px;height:16px;accent-color:var(--h-accent);flex:none}
html[data-hub-theme] body.hub-workspace .acct2 .nh-notifications .pagehint{font-size:13px!important;line-height:1.5;color:var(--h-muted);margin:0}
html[data-hub-theme] body.hub-workspace .acct2 .nh-notifications form>.button{justify-self:start}
html[data-hub-theme] body.hub-workspace .acct2 .nh-notifications>div>section{padding:16px 0 0;border-top:1px solid var(--h-line)}
html[data-hub-theme] body.hub-workspace .acct2 .nh-notifications>div>section h3{font-size:14px;font-weight:700;margin:0 0 4px}
html[data-hub-theme] body.hub-workspace .acct2 .nh-notifications>div>section .button{margin-top:4px}
/* Account & access */
html[data-hub-theme] body.hub-workspace .acct2-access{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
html[data-hub-theme] body.hub-workspace .acct2-kv{display:grid;gap:2px;padding:8px 0;border-bottom:1px solid var(--h-line);font-size:14px}
html[data-hub-theme] body.hub-workspace .acct2-kv span{font-size:12px;color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .acct2-access .acct2-hint{margin-top:10px}
html[data-hub-theme] body.hub-workspace .acct2-actions{display:flex;align-items:center;gap:16px;margin-top:14px}
html[data-hub-theme] body.hub-workspace .acct2-actions .logout-form{margin:0}
html[data-hub-theme] body.hub-workspace .acct2-access h3{font-size:14px;font-weight:700;margin:0 0 6px}
html[data-hub-theme] body.hub-workspace .acct2-included{list-style:none;margin:0;padding:0;display:grid;gap:6px}
html[data-hub-theme] body.hub-workspace .acct2-included li{display:flex;align-items:center;gap:8px;font-size:14px}
html[data-hub-theme] body.hub-workspace .acct2-included .i{width:16px;height:16px;color:var(--h-ok)}
/* Narrow screens */
@media(max-width:1100px){
 html[data-hub-theme] body.hub-workspace .acct2-row{grid-template-columns:1fr;gap:12px;padding:24px 0}
 html[data-hub-theme] body.hub-workspace .acct2-row-name{grid-template-rows:none}
 html[data-hub-theme] body.hub-workspace .acct2-row-name>.acct2-label,html[data-hub-theme] body.hub-workspace .acct2-row-name>.acct2-label-plan,html[data-hub-theme] body.hub-workspace .acct2-row-name #hub-identity-root,html[data-hub-theme] body.hub-workspace .acct2-row-name>.acct2-plan-hub,html[data-hub-theme] body.hub-workspace .acct2-row-name .lp-settings-plans{grid-column:1;grid-row:auto}
 html[data-hub-theme] body.hub-workspace .acct2-row-name>.acct2-label-plan{margin-top:24px;padding-top:24px}
 html[data-hub-theme] body.hub-workspace .acct2-row-name>.acct2-plan-hub{margin-top:0}
 html[data-hub-theme] body.hub-workspace .acct2-access{grid-template-columns:1fr}
}
@media(max-width:620px){
 html[data-hub-theme] body.hub-workspace .acct2-head{flex-wrap:wrap}
 html[data-hub-theme] body.hub-workspace .acct2-head-actions{width:100%;justify-content:space-between}
 html[data-hub-theme] body.hub-workspace .acct2 .hi-name-fields,html[data-hub-theme] body.hub-workspace .acct2 .hi-visibility{grid-template-columns:1fr}
}

/* Carrier pages (Oct 23): Nikita's nine carrier guides inside each carrier page, on the Hub's own theme tokens.
   Restrained on purpose (Andrew): plain headings, hairline rules and simple tables; no hero bands, tiles or pills. */
html[data-hub-theme] body.hub-workspace .hcp-lede{max-width:72ch;margin:6px 0 18px;color:var(--h-muted);line-height:1.6}
html[data-hub-theme] body.hub-workspace .hcp-jumps{display:flex;flex-wrap:wrap;gap:4px 18px;margin:4px 0 26px;padding:10px 0;border-top:1px solid var(--h-line);border-bottom:1px solid var(--h-line)}
html[data-hub-theme] body.hub-workspace .hcp-jumps :is(button,a){padding:4px 0;font-weight:700}
html[data-hub-theme] body.hub-workspace .hcp-guide{color:var(--h-ink);line-height:1.55;max-width:1180px}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-h2{margin:34px 0 6px;padding-top:18px;border-top:1px solid var(--h-line);font-family:var(--h-display);font-size:1.45rem;font-weight:600;line-height:1.25;color:var(--h-ink);scroll-margin-top:90px}
html[data-hub-theme] body.hub-workspace .hcp-guide>.hcp-h2:first-child,html[data-hub-theme] body.hub-workspace .hcp-guide>section:first-child .hcp-h2{margin-top:6px;border-top:0;padding-top:0}
html[data-hub-theme] body.hub-workspace .hcp-guide :is(h3,h4){margin:0 0 6px;font-family:var(--h-ui);font-size:1rem;font-weight:800;color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hcp-guide h4{font-size:.92rem}
html[data-hub-theme] body.hub-workspace .hcp-guide p{margin:0 0 10px}
html[data-hub-theme] body.hub-workspace .hcp-guide :is(.hcp-sub,.hcp-card-note,.hcp-tiers){color:var(--h-muted);max-width:80ch}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-tiers{font-weight:700;font-size:.88rem}
html[data-hub-theme] body.hub-workspace .hcp-guide ul{margin:6px 0 10px;padding-left:20px}
html[data-hub-theme] body.hub-workspace .hcp-guide a{color:var(--h-accent);font-weight:700;text-underline-offset:3px}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-links{display:flex;flex-wrap:wrap;gap:6px 16px;margin:10px 0 0}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-links .button{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-held{color:var(--h-muted);font-weight:600;cursor:help}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-held::after{content:" · link pending";font-weight:500;font-size:.85em}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-held-network::after{content:" · network link being corrected"}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-tag{display:inline;margin-right:8px;color:var(--h-muted);font-size:.85rem;font-weight:700}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-tags{display:flex;flex-wrap:wrap;gap:2px 0;margin:6px 0 10px}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-amt{font-weight:800;color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-name{display:block;font-weight:800}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:0 28px;margin:10px 0}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-grid-wide{grid-template-columns:repeat(auto-fill,minmax(420px,1fr))}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-card{min-width:0;padding:14px 0 16px;border-top:1px solid var(--h-line)}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-card-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-row{display:flex;justify-content:space-between;gap:12px;padding:5px 0;border-bottom:1px dotted var(--h-line)}
html[data-hub-theme] body.hub-workspace .hcp-guide :is(.hcp-note,.hcp-panel){margin:14px 0;padding:12px 16px;border-left:3px solid var(--h-gold);background:var(--h-soft);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px 28px;margin:18px 0;padding:14px 0;border-top:1px solid var(--h-line);border-bottom:1px solid var(--h-line);color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-facts strong{color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-net{margin:0}
html[data-hub-theme] body.hub-workspace .hcp-guide details{margin:10px 0;border-top:1px solid var(--h-line);padding-top:8px}
html[data-hub-theme] body.hub-workspace .hcp-guide summary{cursor:pointer;font-weight:800}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-table-wrap{max-width:100%;overflow-x:auto;margin:12px 0 16px;border:1px solid var(--h-line);border-radius:var(--h-r2,10px);background:var(--h-surface)}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-table{width:100%;min-width:640px;border-collapse:collapse;font-size:.88rem;font-variant-numeric:tabular-nums}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-compact{min-width:380px}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-table :is(th,td){padding:8px 10px;border-bottom:1px solid var(--h-line);text-align:left;vertical-align:top}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-table tr:last-child>*{border-bottom:0}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-table th{color:var(--h-muted);font-size:.74rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;background:var(--h-soft)}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-table .hcp-label{font-weight:700;color:var(--h-ink);position:sticky;left:0;background:var(--h-surface)}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-table th.hcp-label{background:var(--h-soft)}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-table .hcp-group>td{padding-top:12px;background:var(--h-soft);color:var(--h-muted);font-size:.74rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
html[data-hub-theme] body.hub-workspace .hcp-source{margin:22px 0 30px}
html[data-hub-theme] body.hub-workspace .hcp-desk-title{margin:30px 0 4px;padding-top:18px;border-top:1px solid var(--h-line);font-family:var(--h-display);font-size:1.25rem;font-weight:600}
@media (max-width:760px){html[data-hub-theme] body.hub-workspace .hcp-guide :is(.hcp-grid,.hcp-grid-wide){grid-template-columns:1fr}html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-table{font-size:.82rem}}
@media print{html[data-hub-theme] body.hub-workspace .hcp-jumps{display:none}html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-table-wrap{overflow:visible}html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-table{min-width:0}}
/* r18 Nikita QA fixes (Oct 23). */
/* 1. Loading screen: a reload link appears only if the Hub has not opened after 12 seconds
   (hidden by the animation itself, so it still appears where animations are switched off). */
.loading .loading-slow{margin-top:6px;font-size:14px;animation:hub-loading-slow 12s step-end}
.loading .loading-slow a{color:inherit;text-decoration:underline}
@keyframes hub-loading-slow{0%,100%{visibility:hidden}}
/* 3. Team Momentum logo at the top of the left nav; links to Home. */
html[data-hub-theme] body.hub-workspace .sidebar .hn-brand-logo{display:block;padding:4px 12px 18px!important;text-decoration:none}
html[data-hub-theme] body.hub-workspace .sidebar a.hn-brand-home{color:inherit;text-decoration:none}
html[data-hub-theme] body.hub-workspace .sidebar a.hn-brand-home:focus-visible{outline:2px solid var(--h-accent);outline-offset:2px}
html[data-hub-theme] body.hub-workspace .sidebar .hub-nav-logo{display:block;width:100%;max-width:184px;height:auto;margin:0 auto}
html[data-hub-theme] body.hub-workspace .sidebar .hub-nav-logo-dark{display:none}
html:is([data-hub-theme=midnight],[data-hub-theme=rosewood],[data-hub-theme=graphite],[data-hub-theme=flamingo]) body.hub-workspace .sidebar .hub-nav-logo-light{display:none}
html:is([data-hub-theme=midnight],[data-hub-theme=rosewood],[data-hub-theme=graphite],[data-hub-theme=flamingo]) body.hub-workspace .sidebar .hub-nav-logo-dark{display:block}
@media (prefers-color-scheme:dark){html[data-hub-theme=auto] body.hub-workspace .sidebar .hub-nav-logo-light{display:none}html[data-hub-theme=auto] body.hub-workspace .sidebar .hub-nav-logo-dark{display:block}}
/* 4. Insurance Basics: main nav item, categories indented underneath, expand/collapse toggle. */
html[data-hub-theme] body.hub-workspace .sidebar .hn-nav-group{display:grid;gap:2px}
html[data-hub-theme] body.hub-workspace .sidebar .hn-nav-grouphead{position:relative}
html[data-hub-theme] body.hub-workspace .sidebar .hn-nav-grouphead .nav-link{padding-right:44px}
html[data-hub-theme] body.hub-workspace .sidebar .hn-nav-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);z-index:1;display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:var(--h-r1);background:transparent;color:var(--h-muted);cursor:pointer}
html[data-hub-theme] body.hub-workspace .sidebar .hn-nav-toggle:hover{background:color-mix(in srgb,var(--h-surface) 70%,transparent);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .sidebar .hn-nav-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s}
html[data-hub-theme] body.hub-workspace .sidebar .hn-nav-toggle[aria-expanded=false] svg{transform:rotate(-90deg)}
html[data-hub-theme] body.hub-workspace .sidebar .hn-nav-sub{display:grid;gap:2px;margin:0 0 4px 23px;padding-left:12px;border-left:1px solid var(--h-line)}
html[data-hub-theme] body.hub-workspace .sidebar .hn-nav-sub[hidden]{display:none}
html[data-hub-theme] body.hub-workspace .sidebar .hn-sub-link{display:flex;align-items:center;min-height:36px;padding:6px 10px;border-radius:var(--h-r1);color:var(--h-muted);font-size:14px;font-weight:600;text-decoration:none}
html[data-hub-theme] body.hub-workspace .sidebar .hn-sub-link:hover{background:color-mix(in srgb,var(--h-surface) 70%,transparent);color:var(--h-ink)}
html[data-hub-theme] body.hub-workspace .sidebar .hn-sub-link.active{color:var(--h-accent);background:var(--h-surface)}
/* 5. Community guidelines: more room above the panel and its heading. */
.hcom-side>.hcom-guidelines{margin-top:8px}
.hcom-guidelines h3{margin-bottom:12px}
@media(max-width:1380px){.hcom-side>.hcom-guidelines{margin-top:0}.hcom-side{row-gap:24px}}
.hub-workspace .aside-note .eyebrow+h3{margin-top:8px}
/* Carrier guides v2 (Oct 24 pages): only the hcp-* hooks the Oct 23 rules in hub-design.css do not cover.
   Restrained: no pills, gradients, icons or emoji; Hub tokens only. Append after the existing hcp-* block. */

/* Whole-card links (agency contracting card, tool/doc/video cards that are <a>): read as a card, not as link text. */
html[data-hub-theme] body.hub-workspace .hcp-guide a.hcp-card{display:block;color:var(--h-ink);font-weight:inherit;text-decoration:none}
html[data-hub-theme] body.hub-workspace .hcp-guide a.hcp-card p{color:var(--h-muted)}
html[data-hub-theme] body.hub-workspace .hcp-guide a.hcp-card:hover h3,
html[data-hub-theme] body.hub-workspace .hcp-guide a.hcp-card:focus-visible h3{color:var(--h-accent);text-decoration:underline;text-underline-offset:3px}

/* "Open Agent Hub contracting" call to action inside the agency contracting card. */
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-cta{display:inline-block;margin-top:2px;color:var(--h-accent);font-weight:700}

/* Agency contracting card: same card, marked only by a quiet accent rule on top. */
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-card-link{border-top-color:var(--h-accent)}

/* Carrier information section: a bit of air before it; cards reuse .hcp-grid/.hcp-card. */
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-contacts{margin-top:8px}
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-contacts small{display:block;color:var(--h-muted);font-size:.82rem}

/* "Updated October 23, 2026." and source lines under the contact grid. */
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-source-note{margin:10px 0 0;color:var(--h-muted);font-size:.82rem}

/* Fact strip values written as <strong>Label</strong><span class="info-value">Value</span> (no <br>). */
html[data-hub-theme] body.hub-workspace .hcp-guide .hcp-value{display:block}
