/* ─── type — self-hosted woff2 in /assets/fonts (hashed names, cached for a year) ─── */
@font-face{font-family:"DM Sans";font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/dm-sans-latin.ca72d2bcea.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/dm-sans-latin-ext.5d18d31d23.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
/* ═══════════════════════  TOKENS — same system as the site  ═══════════════════════ */
:root{
  /* v9 — single source of truth: docs/DESIGN-TOKENS.md. Every value has one
     purpose; no hex repeats across two names in a theme. Domain tints and status
     colours are separate palettes. Every box is lifted (--sh-1). */
  --paper:#E4EBFB; --surface:#EFF2FC; --raise:#F5F7FE; --sunk:#EAEEFB;
  --tint-blue:#D3E3FE; --tint-mint:#CBEFDE; --tint-lilac:#E0D5FB; --tint-amber:#FBE6A8; --tint-rose:#FBCFCF;
  --tint-slate:#DAE1F0;
  --tint-blue-ink:#1B49AE; --tint-mint-ink:#0B6A48; --tint-lilac-ink:#4B2FB4;
  --tint-amber-ink:#7A5300; --tint-rose-ink:#A82E2E; --tint-slate-ink:#333B54;
  --ink:#1E2138; --ink-2:#4B5273; --ink-3:#5A617C;
  --line:#D6DCEC; --line-2:#E7EAF4;
  /* brand primitives — the same in both themes (splash, login, AI accents) */
  --brand:#3B5FE2; --violet:#5A3FE0; --violet-2:#7C5CFC; --sky:#3B82F6; --on-brand:#FFFFFF;
  --blue:var(--brand); --blue-press:#2E4CCB; --blue-ink:#2B48C4; --blue-soft:#D3DFFF;
  --grad-blue:linear-gradient(150deg,#5A7BFF 0%,var(--brand) 55%,#2B45C0 100%);
  --grad-ai:linear-gradient(135deg,var(--violet),var(--brand));
  --grad-ok:linear-gradient(150deg,#3AD59B 0%,#12B886 55%,#0C8E67 100%);
  --grad-wait:linear-gradient(150deg,#F0B93C 0%,#E0A100 55%,#B98400 100%);
  --grad-login:linear-gradient(140deg,var(--brand) 0%,var(--violet) 34%,var(--violet-2) 62%,#9A6BF0 80%,var(--sky) 100%);
  --focus:var(--blue); --badge:#D0342C;
  --ink-btn:var(--ink);
  --ok:#0DA96E; --ok-ink:#08512F; --ok-soft:#C4E9D2;
  --wait:#E0A100; --wait-ink:#6C4900; --wait-soft:#F6DFA0;
  --stop:#E23B33; --stop-ink:#9C2525; --stop-soft:#F6C9C6;
  --info:#2E74F0; --info-ink:#183F9C; --info-soft:#C6DAF9;
  --leave:#7A4FEE; --leave-ink:#412AA4; --leave-soft:#D8CAF3;
  --duty:#12A6B4; --duty-ink:#0A555E; --duty-soft:#BAE3E7;
  --idle:#868EA6; --idle-ink:#434A63; --idle-soft:#D0D6E4;
  --display:"DM Sans",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --sans:"DM Sans",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --mono:"DM Sans",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --rail:264px; --r:20px;
  --sh-1:0 1px 2px rgba(30,32,60,.06), 0 4px 10px -2px rgba(30,32,60,.10), 0 18px 32px -10px rgba(30,32,60,.22);
  --sh-2:0 2px 6px -1px rgba(30,32,60,.09), 0 10px 22px -4px rgba(30,32,60,.14), 0 30px 54px -16px rgba(30,32,60,.28);
  --sh-3:0 44px 100px -30px rgba(30,32,60,.30);
}
@media (prefers-color-scheme:dark){
  :root{
    --paper:#0B0D13; --surface:#171A24; --raise:#232834; --sunk:#2B3040;
    --tint-blue:#122A4C; --tint-mint:#0D3328; --tint-lilac:#271B4E; --tint-amber:#3A2B0C; --tint-rose:#431C21;
    --tint-slate:#1D2334;
    --tint-blue-ink:#A2C4FF; --tint-mint-ink:#4CE4AE; --tint-lilac-ink:#C4A9FF;
    --tint-amber-ink:#F8C64F; --tint-rose-ink:#FF8C84; --tint-slate-ink:#CAD0E1;
    --ink:#F2F3F8; --ink-2:#A9AFC4; --ink-3:#9097AD;
    --line:#2E3342; --line-2:#20242E;
    /* --blue is a fill (white text on it ≥ 4.5:1); text/links on dark use --blue-ink */
    --blue:#4B67F2; --blue-press:#3D58DA; --blue-ink:#B4C6FF; --blue-soft:#26305A;
    --grad-blue:linear-gradient(150deg,#4A6BF0,#3350C6 60%,#25377E);
    --ink-btn:var(--ink);
    /* status in dark: a deep tinted pill with light ink, so every -ink also
       reads as text straight on a dark surface (≥ 9:1) */
    --ok:#7DEBBF; --ok-ink:#A6F3D2; --ok-soft:#0F3A2B;
    --wait:#FCD98A; --wait-ink:#FDE4AE; --wait-soft:#3D2E0A;
    --stop:#FCA9A2; --stop-ink:#FDC3BE; --stop-soft:#47191C;
    --info:#9BC0FF; --info-ink:#C2D7FF; --info-soft:#16305E;
    --leave:#C9B6FF; --leave-ink:#DCCFFF; --leave-soft:#2E2160;
    --duty:#8FE3EB; --duty-ink:#B5EEF3; --duty-soft:#0E3A3F;
    --idle:#9AA1B6; --idle-ink:#DDE1EC; --idle-soft:#3A4152;
    --sh-1:0 1px 0 rgba(255,255,255,.05), 0 16px 32px -16px rgba(0,0,0,.85);
    --sh-2:0 1px 0 rgba(255,255,255,.06), 0 26px 50px -20px rgba(0,0,0,.9);
    --sh-3:0 44px 100px -30px rgba(0,0,0,.8);
  }
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0; color:var(--ink); font-family:var(--sans);
  font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased;
  background:var(--paper);
  background-image:
    radial-gradient(1100px 620px at 12% -8%, color-mix(in srgb, var(--blue) 6%, transparent), transparent 70%),
    radial-gradient(900px 560px at 100% 0%, color-mix(in srgb, var(--leave) 6%, transparent), transparent 68%);
  background-attachment:fixed}
#main{background:linear-gradient(180deg, color-mix(in srgb, var(--surface) 22%, transparent), transparent 40%)}
h1,h2,h3,h4,p,ul,ol,figure{margin:0}
ul,ol{padding:0; list-style:none}
a{color:inherit; text-decoration:none}
button{font:inherit; color:inherit; background:none; border:0; cursor:pointer}
input,select,textarea{font:inherit}
svg{display:block}
.mono{font-family:var(--mono)}

/* ═══════════════════════  APP SHELL  ═══════════════════════ */
#app{display:grid; grid-template-columns:var(--rail) 1fr; min-height:100vh}
#rail{background:var(--surface); border-right:1px solid var(--line); display:flex; flex-direction:column;
  position:sticky; top:0; height:100vh; overflow:hidden}
.rail-brand{display:flex; align-items:center; gap:10px; padding:20px 22px; font-family:var(--display);
  font-weight:700; font-size:1.15rem; letter-spacing:-.02em}
.rail-brand .bolt{width:26px; height:26px; border-radius:8px; background:var(--blue); color:#fff;
  display:grid; place-items:center; flex:none; overflow:hidden}
.rail-brand .bolt svg{width:14px; height:14px}
.rail-brand .bolt svg.org-mk{width:26px; height:26px}
/* the company's own logo (Company setup → Branding & emails) where the monogram was */
img.org-mk{display:block; width:26px; height:26px; object-fit:contain; border-radius:8px}
.rail-brand .bolt:has(img.org-mk){background:#fff}
#pdfDoc .sheet .lh .mk img.org-mk{width:44px; height:44px; border-radius:0}
.rail-brand-txt{display:flex; flex-direction:column; gap:1px; min-width:0}
.rail-brand-txt b{overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:168px}
.rail-brand-txt small{font-family:var(--mono); font-weight:600; font-size:.64rem; letter-spacing:.1em;
  text-transform:uppercase; color:var(--ink-3)}
.rail-nav{padding:6px 12px 12px; flex:1; min-height:0; overflow-y:auto}
.rail-nav .grp{font-family:var(--mono); font-size:.62rem; letter-spacing:.16em; text-transform:uppercase;
  color:var(--ink-3); padding:14px 10px 6px}
/* collapsible groups: the heading is a button; a closed group keeps only its heading */
.rail-nav button.grp{display:flex; align-items:center; width:100%; text-align:left; border-radius:8px}
.rail-nav button.grp:hover{color:var(--ink)}
.rail-nav button.grp:focus-visible{outline:2px solid var(--blue); outline-offset:-2px}
.rail-nav .grp-chev{width:14px; height:14px; margin-left:auto; stroke:currentColor; stroke-width:2.2; fill:none; transition:transform .2s ease}
.rail-nav .nav-g.shut .grp-chev{transform:rotate(-90deg)}
.rail-nav .nav-g.shut .grp-items{display:none}
.rail-nav > .grp-items:first-child{padding-top:8px}
.nav-i{display:flex; align-items:center; gap:11px; width:100%; padding:9px 10px; border-radius:12px;
  color:var(--ink-2); font-size:.92rem; font-weight:500; text-align:left; transition:background .15s ease, color .15s ease}
.nav-i:hover{background:var(--sunk); color:var(--ink)}
.nav-i.on{background:var(--blue); color:#fff; box-shadow:0 10px 22px -10px var(--blue)}
.nav-i .ic{width:28px; height:28px; border-radius:9px; display:grid; place-items:center; flex:none; color:#fff}
.nav-i .ic svg{width:15px; height:15px; stroke:#fff; stroke-width:2; fill:none}
.nav-i.on .ic{background:rgba(255,255,255,.24)!important}
.nav-i .cnt{margin-left:auto; font-family:var(--mono); font-size:.7rem; background:var(--blue-soft);
  color:var(--blue-ink); border-radius:999px; padding:1px 8px}
.nav-i.on .cnt{background:rgba(255,255,255,.22); color:#fff}
.rail-upgrade{margin:8px 12px 4px; padding:12px 14px; border-radius:14px; color:var(--on-brand);
  background:var(--grad-ai); box-shadow:0 14px 30px -16px var(--blue)}
.rail-upgrade .ru-head{display:flex; align-items:baseline; flex-wrap:wrap; gap:0 8px; width:100%; text-align:left; color:inherit}
.rail-upgrade .pl{font-family:var(--mono); font-size:.62rem; letter-spacing:.14em; text-transform:uppercase; opacity:.85; flex-basis:100%}
.rail-upgrade b{display:block; font-family:var(--display); font-weight:700; font-size:1rem; margin:2px 0 3px}
.rail-upgrade .ru-chev{width:16px; height:16px; margin-left:auto; align-self:center; stroke:currentColor; stroke-width:2.2; fill:none; transition:transform .2s ease}
.rail-upgrade p{font-size:.78rem; opacity:.9; line-height:1.4}
/* the call to action is a translucent pill on the gradient — white text in
   both themes (a white pill with --blue-ink text went pale-on-white in dark) */
.rail-upgrade .ru-cta{margin-top:10px; width:100%; background:rgba(255,255,255,.2); color:var(--on-brand); font-weight:650;
  font-size:.82rem; padding:8px 12px; border-radius:999px; box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
.rail-upgrade .ru-cta:hover{background:rgba(255,255,255,.3)}
.rail-upgrade.collapsed{padding:8px 14px}
.rail-upgrade.collapsed .pl{flex-basis:auto}
.rail-upgrade.collapsed b{font-size:.86rem; margin:0}
.rail-upgrade.collapsed .ru-body{display:none}
.rail-upgrade.collapsed .ru-chev{transform:rotate(180deg)}
.rail-me{border-top:1px solid var(--line); padding:14px 18px; display:flex; align-items:center; gap:11px}
.rail-me .av{width:36px; height:36px; border-radius:50%; background:var(--tint-blue); color:var(--blue-ink);
  display:grid; place-items:center; font-family:var(--display); font-weight:700; font-size:.85rem; flex:none; overflow:hidden}
.prof-av{width:72px; height:72px; border-radius:50%; background:var(--tint-blue); color:var(--blue-ink);
  display:grid; place-items:center; font-family:var(--display); font-weight:800; font-size:1.5rem; flex:none; overflow:hidden}
.ep-av{width:46px; height:46px; border-radius:50%; background:var(--tint-blue); color:var(--blue-ink);
  display:grid; place-items:center; font-family:var(--display); font-weight:700; font-size:1rem; flex:none; overflow:hidden}
.rail-me b{display:block; font-size:.9rem}
.rail-me small{color:var(--ink-3); font-size:.76rem}
.rail-me .out{margin-left:auto; color:var(--ink-3)}
.rail-me .out:hover{color:var(--stop-ink)}

#main{min-width:0; display:flex; flex-direction:column}
.topbar{position:sticky; top:0; z-index:20; display:flex; align-items:center; gap:16px;
  padding:16px clamp(20px,4vw,44px); background:color-mix(in srgb,var(--paper) 82%, transparent);
  backdrop-filter:saturate(1.4) blur(12px); border-bottom:1px solid var(--line)}
.topbar .crumb{font-family:var(--mono); font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3)}
.topbar .crumb b{color:var(--ink)}
.viewswitch{margin-left:8px; display:inline-flex; background:var(--sunk); border-radius:999px; padding:3px}
.viewswitch[hidden]{display:none}
.viewswitch button{font-size:.8rem; font-weight:600; color:var(--ink-2); padding:6px 14px; border-radius:999px}
.viewswitch button.on{background:var(--surface); color:var(--ink); box-shadow:var(--sh-1)}
.topbar .eye{margin-left:auto; width:36px; height:36px; border-radius:11px; border:1px solid var(--line);
  background:var(--surface); display:grid; place-items:center; color:var(--ink-2)}
.topbar .eye:hover{color:var(--blue); border-color:var(--blue)}
.topbar .eye + .live{margin-left:14px}
/* amounts hidden by default; each masked value carries its own eye that
   reveals only the amounts in its own group (card / row) */
.zsecret .zs-real{display:none}
.zsecret .zs-mask{letter-spacing:.06em}
.amt-shown .zs-real,body.reveal-amt .zsecret .zs-real{display:inline}
.amt-shown .zs-mask,body.reveal-amt .zsecret .zs-mask{display:none}
.amt-eye{display:inline-grid; place-items:center; width:22px; height:22px; border-radius:7px;
  vertical-align:-5px; margin-left:7px; color:var(--ink-3); background:var(--sunk);
  border:1px solid var(--line); cursor:pointer}
.amt-eye svg{width:13px; height:13px; stroke:currentColor; fill:none; stroke-width:2}
.amt-eye:hover{color:var(--blue); border-color:var(--blue)}
.amt-eye.on{color:var(--blue-ink); background:var(--blue-soft); border-color:transparent}
/* one eye per group: the explicit master stays, every auto-added eye is hidden */
.amt-group .amt-eye:not(.mstr){display:none}
.li-resend{margin-top:8px; font-size:.82rem; font-weight:600; color:var(--blue-ink); background:none; border:0; padding:2px 0; cursor:pointer}
.li-resend:disabled{opacity:.5; cursor:default}
.li-forgot{display:block; margin:6px 0 0 auto}
#login form[hidden]{display:none}
.li-err.ok{color:var(--ok-ink)}
.li-nudge{display:block; margin-top:8px; padding:10px 12px; border-radius:12px; background:var(--wait-soft); color:var(--wait-ink); text-align:center}
.li-nudge button{background:none; border:0; color:inherit; font:inherit; text-decoration:underline; cursor:pointer; padding:0 2px}
.pw-wrap{position:relative; display:flex}
.pw-wrap input{flex:1; padding-right:44px !important}
.pw-eye{position:absolute; right:6px; top:50%; transform:translateY(-50%); width:32px; height:32px;
  display:grid; place-items:center; color:var(--ink-3); background:none; border:0}
.pw-eye:hover{color:var(--blue)}
.pw-eye::before{content:""; width:18px; height:18px; display:block;
  -webkit-mask:var(--eye) center/contain no-repeat; mask:var(--eye) center/contain no-repeat; background:currentColor;
  --eye:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2"><path d="M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z"/><circle cx="12" cy="12" r="3"/></svg>')}
.pw-eye.on::before{--eye:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2"><path d="M3 3l18 18M10.6 5.1A10.9 10.9 0 0 1 12 5c6.5 0 10 7 10 7a17 17 0 0 1-3.6 4.3M6.6 6.6A17 17 0 0 0 2 12s3.5 7 10 7a10.9 10.9 0 0 0 4.5-1M9.9 9.9a3 3 0 0 0 4.2 4.2"/></svg>')}
.tb-badge{position:absolute; top:4px; right:4px; min-width:16px; height:16px; padding:0 4px; border-radius:999px;
  background:var(--stop); color:#fff; font-size:.62rem; font-weight:800; line-height:16px; text-align:center}
.topbar .live{margin-left:auto; display:flex; align-items:center; gap:7px; font-family:var(--mono);
  font-size:.68rem; letter-spacing:.06em; color:var(--ink-2)}
.topbar .live .dot{width:7px; height:7px; border-radius:50%; background:var(--ok)}
#view{padding:clamp(24px,4vw,44px); max-width:1180px; width:100%; margin:0 auto; flex:1}

/* ═══════════════════════  TYPE  ═══════════════════════ */
.page-t{font-family:var(--display); font-weight:800; letter-spacing:-.03em; line-height:1.03;
  font-size:clamp(2rem,1.5rem + 2vw,2.9rem)}
.page-s{color:var(--ink-2); margin-top:6px; font-size:1.02rem}
.sec-t{font-family:var(--display); font-weight:700; letter-spacing:-.02em; font-size:1.35rem}
.eyebrow{font-family:var(--mono); font-size:.72rem; font-weight:500; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-2)}
.big-n{font-family:var(--display); font-weight:800; letter-spacing:-.035em; font-variant-numeric:tabular-nums}

.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; font-weight:650; font-size:.95rem;
  padding:12px 22px; border-radius:999px; border:1px solid transparent; transition:transform .16s ease, box-shadow .16s ease, background .16s ease}
.btn-blue{background:var(--blue); color:#fff; box-shadow:0 12px 28px -12px var(--blue)}
.btn-blue:hover{background:var(--blue-press); transform:translateY(-2px)}
.btn-ghost{border-color:var(--line); background:var(--surface); color:var(--ink)}
.btn-ghost:hover{border-color:var(--blue); transform:translateY(-2px)}
.btn-sm{padding:9px 16px; font-size:.86rem}

/* ═══════════════════════  CARDS — every card is lifted (--sh-1); no outline in
   light, a faint --line edge only in dark where the shadow can't read  ═══════ */
.card{background:var(--surface); border:1px solid transparent; border-radius:var(--r); padding:24px; box-shadow:var(--sh-1)}
@media (prefers-color-scheme:dark){ .card{border-color:var(--line)} }
.card.tint-blue{background:var(--tint-blue); color:var(--tint-blue-ink)}
.card.tint-mint{background:var(--tint-mint); color:var(--tint-mint-ink)}
.card.tint-lilac{background:var(--tint-lilac); color:var(--tint-lilac-ink)}
.card.tint-amber{background:var(--tint-amber); color:var(--tint-amber-ink)}
.card.tint-rose{background:var(--tint-rose); color:var(--tint-rose-ink)}
.card.tint-slate{background:var(--tint-slate); color:var(--tint-slate-ink)}
.stat[class*="tint-"] .k{color:var(--ink-2); opacity:1}
.stat[class*="tint-"] .v{color:currentColor}
.stat[class*="tint-"] .c{color:var(--ink-2); opacity:1}
.grid{display:grid; gap:16px}
.g2{grid-template-columns:1fr 1fr} .g3{grid-template-columns:repeat(3,1fr)} .g4{grid-template-columns:repeat(4,1fr)}
.g5{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.stat{display:flex; flex-direction:column; padding:22px; min-height:150px}
.stat .k{font-family:var(--sans); font-size:.72rem; font-weight:600; letter-spacing:.05em; text-transform:uppercase; color:var(--ink-2)}
.stat .v{font-family:var(--display); font-weight:800; letter-spacing:-.03em; font-size:clamp(1.35rem,1.05rem + .9vw,1.8rem);
  font-variant-numeric:tabular-nums; margin:.4rem 0 .25rem; line-height:1.05; overflow-wrap:anywhere}
.stat .c{font-size:.82rem; color:var(--ink-2); line-height:1.4; margin-top:8px}
.card.stat{padding:22px}
.hero-card{background:var(--grad-blue); color:#fff; border:0;
  border-radius:var(--r); padding:22px; box-shadow:0 24px 60px -26px var(--blue)}
.hero-card .k{color:rgba(255,255,255,.8)} .hero-card .v{color:#fff} .hero-card .c{color:rgba(255,255,255,.85)}
/* engagement: greeting illustration, team pulse, smart cards, celebration */
.greet-row{display:flex; align-items:flex-start; justify-content:space-between; gap:20px}
.greet-row .gi{width:64px; height:52px; flex:none; margin-top:6px}
.tpulse{display:flex; align-items:center; gap:14px; margin-top:18px; padding:14px 18px;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r); box-shadow:var(--sh-1)}
.tpulse .stk{display:flex; flex:none}
.tpulse .stk span{width:30px; height:30px; border-radius:50%; margin-left:-9px; border:2px solid var(--surface);
  display:grid; place-items:center; font-family:var(--display); font-weight:700; font-size:.68rem; color:#fff}
.tpulse .stk span:first-child{margin-left:0}
.tpulse .pt{font-size:.92rem; color:var(--ink-2)} .tpulse .pt b{color:var(--ink)}
.smart{display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:12px; margin-top:16px}
.smart a{display:flex; align-items:center; gap:12px; text-decoration:none; color:var(--ink);
  background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:14px 16px; box-shadow:var(--sh-1);
  transition:transform .12s ease, box-shadow .2s ease}
.smart a:hover{transform:translateY(-1px); box-shadow:var(--sh-2)}
.smart a .si{width:34px; height:34px; border-radius:10px; flex:none; display:grid; place-items:center; color:#fff}
.smart a .si svg{width:17px; height:17px; stroke:#fff; fill:none; stroke-width:2}
.smart a b{display:block; font-size:.9rem} .smart a .sm{color:var(--ink-3); font-size:.8rem; margin-top:1px}
.events{display:flex; flex-direction:column; gap:9px}
.ev{display:flex; align-items:center; gap:12px; padding:11px 4px; border-bottom:1px solid var(--line-2)}
.ev:last-child{border-bottom:0}
.ev .ei{width:34px; height:34px; border-radius:10px; flex:none; display:grid; place-items:center; color:#fff}
.ev .ei svg{width:16px; height:16px; stroke:#fff; fill:none; stroke-width:2}
.ev > div{min-width:0; flex:1}
.ev b{display:block; font-size:.9rem}
.ev .es{color:var(--ink-3); font-size:.78rem}
.ev .ed{flex:none; font-family:var(--mono); font-size:.72rem; color:var(--ink-2); background:var(--sunk); padding:5px 11px; border-radius:999px}
.celebrate{display:flex; align-items:center; gap:12px; margin-top:16px; padding:16px 20px; border-radius:var(--r);
  color:#fff; background:linear-gradient(135deg,#25C79A,#12B886 55%,#0C8E67);
  box-shadow:0 20px 44px -22px var(--ok); font-weight:650}
.celebrate svg{width:20px; height:20px; fill:#fff; flex:none}
.ev.tap{width:100%; text-align:left; cursor:pointer; background:transparent; font:inherit; color:var(--ink)}
.ev.tap:hover{background:var(--sunk)}
.ev.today{background:var(--wait-soft); border-color:transparent; border-radius:10px}
/* confetti + celebration banner */
#confetti{position:fixed; inset:0; z-index:95; pointer-events:none; overflow:hidden; display:none}
#confetti.on{display:block}
#confetti i{position:absolute; top:-18px; width:9px; height:14px; border-radius:2px;
  animation:conf-fall cubic-bezier(.22,.62,.5,1) forwards}
@keyframes conf-fall{
  0%{transform:translate(0,0) rotate(0); opacity:1}
  10%{opacity:1}
  100%{transform:translate(var(--dx), var(--dy)) rotate(var(--dr)); opacity:0}
}
#confetti .conf-scrim{position:absolute; inset:0; opacity:0; transition:opacity .3s ease;
  background:radial-gradient(120% 90% at 50% 38%, rgba(20,18,14,.30), rgba(20,18,14,.62))}
#confetti .conf-banner{position:absolute; left:50%; top:44%; transform:translate(-50%,-50%) scale(.8);
  text-align:center; opacity:0; width:min(90vw,560px);
  transition:opacity .35s ease, transform .5s cubic-bezier(.2,.9,.3,1.5)}
#confetti.show .conf-scrim{opacity:1}
#confetti.show .conf-banner{opacity:1; transform:translate(-50%,-50%) scale(1)}
#confetti .conf-emoji{font-size:4.4rem; line-height:1; filter:drop-shadow(0 10px 24px rgba(0,0,0,.4))}
#confetti .conf-title{font-family:var(--display); font-weight:800; letter-spacing:-.02em; font-size:2.2rem;
  color:#fff; margin-top:14px; text-shadow:0 6px 30px rgba(0,0,0,.45)}
#confetti .conf-sub{color:rgba(255,255,255,.92); font-size:1.02rem; font-weight:600; margin-top:8px}
@media (max-width:640px){ #confetti .conf-title{font-size:1.55rem} #confetti .conf-emoji{font-size:3.2rem} }
@media (prefers-reduced-motion:reduce){ #confetti i{display:none!important} #confetti .conf-banner,#confetti .conf-scrim{transition:opacity .2s ease} }

/* ═══ Hiring / ATS ═══ */
.hire-boards{display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr)); gap:12px; margin-top:14px}
/* icon and name on top, the button on its own row below, so a long label can never cover the text */
.hire-board{display:grid; grid-template-columns:30px minmax(0,1fr); grid-template-rows:1fr auto; align-items:start; gap:12px 10px; padding:14px; border:1px solid var(--line); border-radius:12px; background:var(--surface)}
.hire-board .bdot{width:30px; height:30px; border-radius:9px; display:grid; place-items:center; color:#fff; font-weight:800; font-size:.8rem; flex:none}
.hire-board b{font-size:.88rem; display:block}
.hire-board small{color:var(--ink-3); font-size:.76rem}
.hire-board .btn{grid-column:1 / -1; width:100%; min-width:0; white-space:normal}
.hire-board.on{background:var(--tint-mint)} .hire-board.on b{color:var(--tint-mint-ink)}
.hire-req{border:1px solid var(--line); border-radius:var(--r); background:var(--surface); padding:18px; margin-bottom:16px}
.hire-req .rh{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
.hire-req .rh b{font-size:1.05rem}
.hire-req .rh .meta{color:var(--ink-3); font-size:.86rem}
.hire-req .rh .acts{margin-left:auto; display:flex; gap:8px; flex-wrap:wrap}
.hire-board-row{display:flex; gap:10px; margin-top:14px; overflow-x:auto; padding-bottom:6px; scrollbar-width:thin}
.hire-col{flex:0 0 190px; background:var(--sunk); border-radius:12px; padding:10px}
.hire-col > .ch{font-family:var(--mono); font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3); display:flex; justify-content:space-between; padding:2px 4px 8px}
.hire-cd{background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:9px 10px; margin-top:7px; cursor:pointer; transition:border-color .12s}
.hire-cd:hover{border-color:var(--blue)}
.hire-cd b{font-size:.86rem; display:block}
.hire-cd .cs{color:var(--ink-3); font-size:.75rem; display:flex; gap:6px; align-items:center; margin-top:3px; flex-wrap:wrap}
.hire-cd .src{background:var(--sunk); border-radius:999px; padding:1px 7px; font-size:.68rem}
.stars{color:var(--wait); letter-spacing:1px; font-size:.82rem}
.stars .off{color:var(--line)}
.stars.click i{cursor:pointer; font-style:normal}
.hire-empty{color:var(--ink-3); font-size:.8rem; text-align:center; padding:14px 4px}
.iv-row{border:1px solid var(--line); border-radius:10px; padding:10px 12px; margin-top:8px; font-size:.86rem}
.iv-row .ivh{display:flex; gap:8px; align-items:center; flex-wrap:wrap}
.iv-row .ivh .pill{margin-left:auto}
/* geofence mini-map (check-in) */
.geomap{position:relative; border-radius:14px; overflow:hidden; background:var(--sunk); border:1px solid var(--line); margin-top:6px}
.geomap svg{display:block; width:100%; height:190px}
.geomap .gm-tag{position:absolute; left:12px; bottom:12px; display:flex; align-items:center; gap:7px;
  background:var(--surface); border:1px solid var(--line); border-radius:999px; padding:6px 13px;
  font-family:var(--mono); font-size:.72rem; font-weight:500; color:var(--ink)}
.geomap .gm-tag i{width:8px; height:8px; border-radius:50%}
.geo-lines{margin-top:12px}
.geo-lines .r{padding:10px 0}
.donut{display:flex; align-items:center; gap:18px}
.donut svg{width:108px; height:108px; flex:none}
.donut .dl{flex:1; display:flex; flex-direction:column; gap:9px; font-size:.86rem}
.donut .dl > div{display:flex; align-items:center; gap:9px; color:var(--ink-2)}
.donut .dl i{width:10px; height:10px; border-radius:3px; flex:none}
.donut .dl b{margin-left:auto; color:var(--ink); font-variant-numeric:tabular-nums}

/* status pills — sans (not mono); dot in the accent colour, pill lifted */
.pill{display:inline-flex; align-items:center; gap:6px; font-family:var(--sans); font-size:.72rem; font-weight:600;
  padding:4px 11px; border-radius:999px; letter-spacing:.01em; box-shadow:0 1px 2px rgba(30,32,60,.12)}
.pill::before{content:""; width:6px; height:6px; border-radius:50%; background:var(--pill-dot,currentColor)}
.pill.ok{background:var(--ok-soft); color:var(--ok-ink); --pill-dot:var(--ok)}
.pill.wait{background:var(--wait-soft); color:var(--wait-ink); --pill-dot:var(--wait)}
.pill.stop{background:var(--stop-soft); color:var(--stop-ink); --pill-dot:var(--stop)}
.pill.info{background:var(--info-soft); color:var(--info-ink); --pill-dot:var(--info)}
.pill.leave{background:var(--leave-soft); color:var(--leave-ink); --pill-dot:var(--leave)}
.pill.duty{background:var(--duty-soft); color:var(--duty-ink); --pill-dot:var(--duty)}
.pill.idle{background:var(--idle-soft); color:var(--idle-ink); --pill-dot:var(--idle)}

/* data list */
.dl{border-top:1px solid var(--line-2)}
.dl .r{display:grid; grid-template-columns:1fr auto; gap:14px; padding:13px 2px; border-bottom:1px solid var(--line-2); font-size:.95rem}
.dl .r b{color:var(--ink); font-weight:600}
.dl .r .val{color:var(--ink-2); font-variant-numeric:tabular-nums; text-align:right; overflow-wrap:anywhere}

/* table */
.tbl{width:100%; border-collapse:collapse; font-size:.92rem}
.tbl th{font-family:var(--sans); font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-2);
  text-align:left; padding:12px 14px; background:var(--sunk); font-weight:500}
.tbl td{padding:14px 14px; border-bottom:1px solid var(--line-2)}
.tbl tr:last-child td{border-bottom:0}
.tbl .num{font-family:var(--mono); font-variant-numeric:tabular-nums}
.tbl-wrap{overflow-x:auto; border:1px solid transparent; border-radius:var(--r); background:var(--surface); box-shadow:var(--sh-1)}
@media (prefers-color-scheme:dark){ .tbl-wrap{border-color:var(--line)} }

/* calendar */
.cal-nav{display:flex; align-items:center; gap:12px; margin-bottom:4px}
.cal-nav .m{font-family:var(--display); font-weight:800; font-size:1.15rem; letter-spacing:-.02em; min-width:11ch}
.cal-nav button{width:34px; height:34px; border-radius:10px; border:1px solid var(--line); background:var(--surface);
  display:grid; place-items:center; color:var(--ink); font-size:1rem; line-height:1}
.cal-nav button:hover:not(:disabled){border-color:var(--blue); color:var(--blue)}
.cal-nav button:disabled{opacity:.35; cursor:not-allowed}
.cal-nav .today{margin-left:auto; font-size:.82rem; padding:7px 13px; border-radius:999px; width:auto; height:auto}
.cal-head{display:grid; grid-template-columns:repeat(7,1fr); gap:8px; margin:16px 0 8px;
  font-family:var(--mono); font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3); text-align:center}
.cal{display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:8px}
.cal .d{min-height:82px; border-radius:12px; border:1px solid transparent; background:var(--raise);
  padding:9px 10px; display:flex; flex-direction:column; justify-content:space-between; cursor:pointer;
  transition:transform .12s ease, box-shadow .12s ease}
.cal .d:hover{transform:translateY(-2px); box-shadow:var(--sh-1)}
.cal .d.empty{border:0; background:transparent; cursor:default; min-height:0}
/* neutral cell; status = a coloured dot beside the number + coloured label */
.cal .d .n{font-family:var(--display); font-weight:700; font-size:1rem; color:var(--ink); display:flex; align-items:center; gap:6px}
.cal .d .n::after{content:""; width:7px; height:7px; border-radius:50%; background:var(--cd,transparent); flex:none}
.cal .d .l{font-size:.74rem; font-weight:600; line-height:1.3; color:var(--cl,var(--ink-2))}
.cal .d.pr,.cal .d.pr.h2,.cal .d.pr.h3{--cd:var(--ok); --cl:var(--ok)}
.cal .d.wfh{--cd:var(--info); --cl:var(--info)}
.cal .d.od{--cd:var(--duty); --cl:var(--duty)}
.cal .d.lv{--cd:var(--leave); --cl:var(--leave)}
.cal .d.hol{--cd:var(--idle); --cl:var(--idle); box-shadow:inset 0 0 0 1.5px var(--idle)}
.cal .d.ab{--cd:var(--stop); --cl:var(--stop)}
.cal .d.hd{--cd:var(--wait); --cl:var(--wait)}
.cal .d.off{--cd:var(--idle); --cl:var(--ink-3)}
.cal .d.fu{opacity:.5; cursor:default}
.cal .d.fu .n{color:var(--ink-3)}
.cal-legend{display:flex; gap:14px 18px; flex-wrap:wrap; margin-top:16px; font-size:.82rem; color:var(--ink-2)}
.cal-legend span{display:inline-flex; align-items:center}
.cal-legend i{width:10px; height:10px; border-radius:50%; margin-right:7px; display:inline-block}

/* punch */
.punch{border-radius:var(--r); padding:26px; color:#fff; background:var(--grad-blue);
  transition:background .5s ease}
.punch.inn{background:var(--grad-ok)}
.punch.pend{background:var(--grad-wait)}
.punch .st{font-family:var(--mono); font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; opacity:.85}
.punch .t{font-family:var(--display); font-weight:800; font-size:2.6rem; letter-spacing:-.04em; margin:8px 0 4px; font-variant-numeric:tabular-nums}
.punch .btn{margin-top:14px; background:rgba(255,255,255,.18); color:#fff}

/* form */
.form{max-width:640px}
.fgrid{display:grid; grid-template-columns:1fr 1fr; gap:16px}
.f{display:flex; flex-direction:column; gap:7px; margin-bottom:16px}
.f.full{grid-column:1/-1}
.f > span,.f > label{font-family:var(--mono); font-size:.72rem; font-weight:500; letter-spacing:.09em; text-transform:uppercase; color:var(--ink-2)}
.f input,.f select,.f textarea{font-size:1rem; color:var(--ink); background:var(--raise); border:1.5px solid var(--line);
  border-radius:12px; padding:12px 14px; outline:none; box-shadow:var(--sh-1);
  transition:border-color .16s ease, box-shadow .16s ease}
.f input:focus,.f select:focus,.f textarea:focus{border-color:var(--blue); box-shadow:var(--sh-1), 0 0 0 4px color-mix(in srgb,var(--blue) 15%, transparent)}
.f textarea{resize:vertical; min-height:90px}
.f-note{font-size:.9rem; color:var(--ink-2); margin-top:8px}
.f-note.ok{color:var(--ok-ink); font-weight:600}
.yr-sel{font:inherit; font-weight:700; font-size:.86rem; color:var(--ink); background:var(--raise);
  border:1.5px solid var(--line); border-radius:10px; padding:8px 30px 8px 12px; outline:none; cursor:pointer;
  box-shadow:var(--sh-1); appearance:none; -webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 6px center; background-size:18px}
.yr-sel:focus{border-color:var(--blue); box-shadow:var(--sh-1), 0 0 0 4px color-mix(in srgb,var(--blue) 15%, transparent)}
input.yr-sel{background-image:none; padding-right:12px; cursor:text; font-family:var(--sans,inherit)}

/* colour-coded mode picker (regularise, claim type, …) */
.mode-chips{display:flex; flex-wrap:wrap; gap:10px}
.mode-chips label{cursor:pointer}
.mode-chips input{position:absolute; opacity:0; pointer-events:none}
.mode-chips .mc{display:inline-flex; align-items:center; gap:7px; font-size:.9rem; font-weight:600;
  padding:9px 14px; border-radius:999px; border:1.5px solid var(--line); background:var(--surface); color:var(--ink-2);
  transition:border-color .15s ease, background .15s ease, color .15s ease}
.mode-chips .mc::before{content:""; width:9px; height:9px; border-radius:50%; background:currentColor}
.mode-chips .mc.ok{color:var(--ok-ink)} .mode-chips .mc.leave{color:var(--leave-ink)}
.mode-chips .mc.info{color:var(--info-ink)} .mode-chips .mc.wait{color:var(--wait-ink)}
.mode-chips .mc.stop{color:var(--stop-ink)}
.mode-chips input:checked + .mc.ok{background:var(--ok-soft); border-color:var(--ok)}
.mode-chips input:checked + .mc.leave{background:var(--leave-soft); border-color:var(--leave)}
.mode-chips input:checked + .mc.info{background:var(--info-soft); border-color:var(--info)}
.mode-chips input:checked + .mc.wait{background:var(--wait-soft); border-color:var(--wait)}
.mode-chips input:checked + .mc.stop{background:var(--stop-soft); border-color:var(--stop)}
.mode-chips input:focus-visible + .mc{outline:2px solid var(--blue); outline-offset:2px}

/* filter tabs */
.tab{font-size:.82rem; font-weight:600; color:var(--ink-2); padding:6px 12px; border-radius:999px;
  border:1px solid var(--line); background:var(--surface); transition:all .15s ease}
.tab b{font-family:var(--mono); font-weight:500; opacity:.7; margin-left:2px}
.tab:hover{border-color:var(--blue); color:var(--blue-ink)}
.tab.on{background:var(--blue); color:#fff; border-color:var(--blue)}
.tab.on b{opacity:.85}

/* ═══════════════════════  ZOLT AI — floating assistant  ═══════════════════════ */
#aiFab{position:fixed; right:24px; bottom:24px; z-index:70; width:58px; height:58px; border-radius:50%;
  display:grid; place-items:center; color:#fff; box-shadow:0 18px 40px -12px rgba(46,45,74,.55);
  background:var(--grad-ai); transition:transform .16s ease}
#aiFab:hover{transform:translateY(-2px) scale(1.04)}
#aiFab svg{width:24px; height:24px; fill:#fff; stroke:none}
#aiFab .pulse{position:absolute; inset:0; border-radius:50%; box-shadow:0 0 0 0 rgba(110,69,226,.5); animation:aiPulse 2.6s ease-out infinite}
@keyframes aiPulse{to{box-shadow:0 0 0 16px rgba(110,69,226,0)}}
#aiPanel{position:fixed; inset:0 0 0 auto; z-index:80; width:min(440px,100vw); display:flex; flex-direction:column;
  background:var(--paper); border-left:1px solid var(--line); box-shadow:var(--sh-3);
  transform:translateX(100%); transition:transform .3s cubic-bezier(.2,.8,.2,1)}
#aiPanel.on{transform:none}
#aiScrim{position:fixed; inset:0; z-index:79; background:rgba(20,18,14,.28); opacity:0; visibility:hidden; transition:opacity .25s}
#aiScrim.on{opacity:1; visibility:visible}
#aiPanel .ap-head{display:flex; align-items:center; gap:12px; padding:18px 20px; border-bottom:1px solid var(--line); background:var(--surface)}
#aiPanel .ap-head .sp{width:36px; height:36px; border-radius:11px; display:grid; place-items:center; color:#fff; background:var(--grad-ai); flex:none}
#aiPanel .ap-head .sp svg{width:18px; height:18px; fill:#fff; stroke:none}
#aiPanel .ap-head b{font-family:var(--display); font-weight:800; font-size:1.05rem; letter-spacing:-.02em}
#aiPanel .ap-head small{display:block; color:var(--ink-3); font-size:.76rem}
#aiPanel .ap-head .x{margin-left:auto; width:34px; height:34px; border-radius:10px; display:grid; place-items:center; color:var(--ink-3)}
#aiPanel .ap-head .x:hover{color:var(--ink); background:var(--sunk)}
#aiPanel .ap-body{flex:1; overflow-y:auto; padding:18px 18px 8px}
#aiPanel .ap-foot{padding:12px 16px calc(14px + env(safe-area-inset-bottom)); border-top:1px solid var(--line); background:var(--surface)}
@media (max-width:820px){ #aiFab{right:16px; bottom:88px} }

.ai-hero{display:flex; gap:14px; align-items:flex-start; padding:20px 22px; border-radius:var(--r);
  background:linear-gradient(120deg,var(--tint-blue),var(--tint-lilac)); border:1px solid var(--line)}
.ai-hero .spark{width:42px; height:42px; border-radius:13px; flex:none; display:grid; place-items:center; color:#fff;
  background:var(--grad-ai)}
.ai-hero .spark svg{width:22px; height:22px; fill:currentColor}
.ai-hero h1{font-family:var(--display); font-weight:800; letter-spacing:-.02em; font-size:1.4rem}
.ai-hero p{color:var(--ink-2); font-size:.92rem; margin-top:3px}
.ai-grp{margin-top:22px}
.ai-grp h3{font-family:var(--mono); font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-2); margin-bottom:10px}
.ai-chips{display:flex; flex-wrap:wrap; gap:9px}
.ai-chips button{font-size:.88rem; text-align:left; padding:11px 14px; border-radius:13px; border:1px solid var(--line);
  background:var(--surface); color:var(--ink); transition:border-color .15s ease, transform .12s ease}
.ai-chips button:hover{border-color:var(--blue); transform:translateY(-1px)}
.ai-thread{display:flex; flex-direction:column; gap:14px; margin-top:8px}
.ai-msg{max-width:82%; padding:13px 16px; border-radius:16px; font-size:.95rem; line-height:1.6; white-space:pre-wrap}
.ai-msg.you{align-self:flex-end; background:var(--blue); color:#fff; border-bottom-right-radius:5px}
.ai-msg.bot{align-self:flex-start; background:var(--surface); border:1px solid var(--line); border-bottom-left-radius:5px}
.ai-msg.bot b{color:var(--blue-ink)}
.ai-msg.bot .src{display:block; margin-top:8px; font-size:.76rem; color:var(--ink-3)}
.ai-bar{display:flex; gap:10px}
.ai-bar input{flex:1; font-size:1rem; padding:13px 16px; border-radius:14px; border:1.5px solid var(--line);
  background:var(--paper); color:var(--ink); outline:none; min-width:0}
.ai-bar input:focus{border-color:var(--blue)}
.ai-bar button{padding:0 20px; border-radius:14px; background:var(--blue); color:#fff; font-weight:650; flex:none}
#aiPanel .ai-grp{margin-top:18px}
#aiPanel .ai-chips button{font-size:.86rem}
.ai-msg.bot code{font-family:var(--mono); font-size:.85em; background:var(--sunk); padding:1px 5px; border-radius:5px}
.ai-msg.bot ul,.ai-msg.bot ol{margin:6px 0 6px 20px} .ai-msg.bot li{margin:3px 0}
.ai-msg.bot a{color:var(--blue-ink); font-weight:600}
.ai-msg.bot .ai-copy{display:block; margin-top:8px; font-size:.72rem; color:var(--ink-3); background:none; border:0; padding:0; cursor:pointer}
.ai-msg.bot .ai-copy:hover{color:var(--blue-ink)}
.ai-msg.typing{display:flex; gap:5px; align-items:center; padding:15px 16px}
.ai-msg.typing span{width:7px; height:7px; border-radius:50%; background:var(--ink-3); animation:aiDot 1.2s ease-in-out infinite}
.ai-msg.typing span:nth-child(2){animation-delay:.2s} .ai-msg.typing span:nth-child(3){animation-delay:.4s}
@keyframes aiDot{0%,60%,100%{opacity:.3; transform:translateY(0)} 30%{opacity:1; transform:translateY(-3px)}}
#aiPanel .ap-head .aiClr{width:34px; height:34px; border-radius:10px; display:grid; place-items:center; color:var(--ink-3); background:none; border:0; cursor:pointer}
#aiPanel .ap-head .aiClr:hover{color:var(--ink); background:var(--sunk)}
#aiPanel .ap-foot .ai-disc{font-size:.7rem; color:var(--ink-3); margin-top:8px; text-align:center}
#aiPanel .ap-head .mode{font-size:.62rem; font-family:var(--mono); letter-spacing:.06em; text-transform:uppercase;
  padding:2px 7px; border-radius:999px; background:var(--sunk); color:var(--ink-3)}
#aiPanel .ap-head .mode.live{background:var(--ok-soft); color:var(--ok-ink)}

/* course lesson list */
.lessons{display:flex; flex-direction:column; gap:8px; margin-top:6px}
.lessons label{display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:10px;
  background:var(--sunk); font-size:.92rem; cursor:pointer}
.lessons input{width:16px; height:16px; accent-color:var(--blue)}
.lessons input:checked + span{color:var(--ink-3); text-decoration:line-through}
.cert{border:2px solid var(--blue); border-radius:16px; padding:28px; text-align:center; background:var(--tint-blue)}
.cert .seal{width:56px; height:56px; border-radius:50%; background:var(--blue); color:#fff; display:grid; place-items:center; margin:0 auto 12px; font-size:1.4rem}
.cert h3{font-family:var(--display); font-weight:800; font-size:1.3rem; margin-bottom:4px}

/* course progress */
.bar{height:8px; border-radius:999px; background:var(--sunk); overflow:hidden}
.bar > i{display:block; height:100%; background:var(--blue); border-radius:999px}

/* modal */
#mw{position:fixed; inset:0; z-index:60; display:none; place-items:center; background:rgba(20,18,14,.32); padding:24px}
#mw.on{display:grid}
.modal{background:var(--surface); border:1px solid var(--line); border-radius:calc(var(--r) + 4px);
  box-shadow:var(--sh-3); max-width:520px; width:100%; padding:28px; max-height:88vh; overflow-y:auto}
.modal h3{font-family:var(--display); font-weight:800; letter-spacing:-.02em; font-size:1.4rem}
.modal .msub{color:var(--ink-3); font-size:.9rem; margin-top:3px}
.modal .mfoot{display:flex; gap:10px; justify-content:flex-end; margin-top:22px}
/* subsection heading inside a modal — smaller than a page .sec-t, with a rule */
.modal .sec-t{font-size:1.02rem; font-weight:800; margin:22px 0 0; padding-bottom:9px;
  border-bottom:1px solid var(--line)}
.modal .sec-t:first-child{margin-top:4px}
.modal .fgrid{margin-top:14px}
.modal .ep-panel{background:var(--sunk); border-radius:14px; padding:14px 14px 4px; margin-top:14px; overflow:hidden}
.modal .ep-doc{display:flex; align-items:center; gap:12px; padding:11px 14px; background:var(--surface);
  border:1px solid var(--line); border-radius:12px; margin-top:8px; font-size:.9rem}
.modal .ep-edu{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) 62px 30px; gap:7px; align-items:center}
.modal .ep-edu input{font-size:.9rem; color:var(--ink); background:var(--surface); border:1.5px solid var(--line);
  border-radius:10px; padding:9px 10px; outline:none; width:100%; min-width:0}
.modal .ep-edu input:focus{border-color:var(--blue)}
.modal .ep-edu .btn{padding:8px 0}

/* ═══ Edit-profile wizard (full-screen, stepped) ═══ */
#epWiz{position:fixed; inset:0; z-index:75; display:none; background:rgba(20,18,14,.42); overflow-y:auto; padding:26px 16px}
#epWiz.on{display:block}
.epw{max-width:1020px; margin:0 auto; background:var(--surface); border:1px solid var(--line);
  border-radius:calc(var(--r) + 4px); box-shadow:var(--sh-3); overflow:hidden}
.epw-head{background:linear-gradient(135deg,var(--blue),var(--blue-press)); color:#fff; padding:20px 26px;
  display:flex; align-items:center; gap:16px; flex-wrap:wrap}
.epw-head h2{font-family:var(--display); font-weight:800; letter-spacing:-.02em; font-size:1.45rem; line-height:1.05}
.epw-head p{opacity:.86; font-size:.85rem; margin-top:3px}
.epw-x{margin-left:auto; display:inline-flex; align-items:center; gap:7px; background:rgba(255,255,255,.16);
  color:#fff; border:0; border-radius:999px; padding:9px 16px; font:inherit; font-size:.85rem; font-weight:650; cursor:pointer}
.epw-x:hover{background:rgba(255,255,255,.26)}
.epw-x svg{width:15px; height:15px; stroke:#fff}
.epw-rail{display:flex; padding:16px 20px 6px; overflow-x:auto; border-bottom:1px solid var(--line); scrollbar-width:thin}
.epw-tab{flex:0 0 auto; display:flex; flex-direction:column; align-items:center; gap:7px; width:98px;
  padding:4px 4px 12px; background:none; border:0; cursor:pointer; position:relative}
.epw-tab .epw-dot{width:30px; height:30px; border-radius:50%; display:grid; place-items:center; background:var(--sunk);
  color:var(--ink-3); border:2px solid transparent; font-weight:700; font-size:.8rem; transition:background .15s,border-color .15s}
.epw-tab .epw-dot svg{width:16px; height:16px; stroke:#fff}
.epw-tab .epw-lbl{font-size:.71rem; line-height:1.2; color:var(--ink-3); text-align:center; font-weight:600}
.epw-tab .epw-opt{display:block; margin-top:3px; font-family:var(--mono); font-size:.54rem; letter-spacing:.08em; color:var(--ink-3); text-transform:uppercase; font-weight:600}
.epw-tab:not(:last-child)::after{content:""; position:absolute; top:20px; left:67px; width:26px; height:2px; background:var(--line)}
.epw-tab.done:not(:last-child)::after{background:var(--ok)}
.epw-tab.now .epw-dot{background:var(--blue-soft); color:var(--blue-ink); border-color:var(--blue)}
.epw-tab.now .epw-lbl{color:var(--ink)}
.epw-tab.done .epw-dot{background:var(--ok); color:#fff}
.epw-tab.done .epw-lbl{color:var(--ink-2)}
.epw-body{padding:22px 26px 2px; min-height:270px}
.epw-body h3{font-family:var(--display); font-weight:800; font-size:1.2rem; letter-spacing:-.01em}
.epw-body .epw-sub{color:var(--ink-3); font-size:.9rem; margin:4px 0 4px}
.epw-body .fgrid{margin-top:16px}
.epw-rep{background:var(--sunk); border-radius:14px; padding:14px 14px 4px; margin-top:12px; position:relative}
.epw-repx{position:absolute; top:9px; right:12px; background:none; border:0; color:var(--ink-3); cursor:pointer; font-size:1.15rem; line-height:1}
.epw-repx:hover{color:var(--stop-ink)}
.epw-add{margin-top:6px}
.epw-doclab{font-weight:700; font-size:.92rem; margin:22px 0 8px}
.epw-drop{border:1.5px dashed var(--line); border-radius:14px; padding:16px; text-align:center; background:var(--raise); cursor:pointer; display:block}
.epw-drop:hover{border-color:var(--blue); background:var(--blue-soft)}
.epw-drop .epw-di{width:34px; height:34px; border-radius:10px; background:var(--surface); color:var(--blue-ink); display:grid; place-items:center; margin:0 auto 8px}
.epw-drop .epw-di svg{width:18px; height:18px; stroke:var(--blue-ink)}
.epw-drop b{font-size:.9rem} .epw-drop span{display:block; color:var(--ink-3); font-size:.78rem; margin-top:3px}
.epw-file{display:flex; align-items:center; gap:12px; padding:10px 14px; background:var(--surface); border:1px solid var(--line);
  border-radius:12px; margin-top:8px; font-size:.87rem}
.epw-file .fx{margin-left:auto; flex:none; color:var(--stop-ink); background:none; border:0; cursor:pointer; font-size:.82rem}
.epw-foot{display:flex; align-items:center; gap:12px; padding:18px 26px 24px; border-top:1px solid var(--line); margin-top:18px}
.epw-foot .epw-count{color:var(--ink-3); font-size:.8rem; font-family:var(--mono)}
.epw-foot .sp{margin-left:auto}
.epw-rev{border:1px solid var(--line); border-radius:14px; padding:14px 16px; margin-top:10px}
.epw-rev h4{font-family:var(--display); font-weight:800; font-size:1rem; display:flex; align-items:center; gap:9px}
.epw-rev h4 .re{margin-left:auto; font:inherit; font-weight:600; font-size:.8rem; color:var(--blue-ink); background:none; border:0; cursor:pointer}
.epw-rev .r{padding:6px 0; border-bottom:1px solid var(--line-2)} .epw-rev .r:last-child{border-bottom:0}
.epw-rev .r b{color:var(--ink-2); font-weight:600} .epw-rev .r .v{color:var(--ink); font-weight:600}
.epw-consent{display:flex; gap:10px; align-items:flex-start; margin-top:14px; font-size:.9rem; color:var(--ink-2)}
.epw-consent input{margin-top:2px; width:16px; height:16px; flex:none}
.epw-body .f.ep-bad input,.epw-body .f.ep-bad select,.epw-body .f.ep-bad textarea{border-color:var(--stop)}
.epw-body .f .ep-hint{color:var(--stop-ink); font-size:.76rem; margin-top:2px}
.epw-req{color:var(--stop-ink); font-weight:700}
/* required mark and a field's own error (audit C-02; zkReqMark / zkFieldErr in 55-kit.js) */
.zk-req{color:var(--stop-ink); font-weight:700; font-style:normal}
.f-msg{display:block; margin-top:5px; color:var(--stop-ink); font-size:.82rem; font-weight:600; line-height:1.35; white-space:normal}
.f.f-bad input:not([type=hidden]):not([type=checkbox]):not([type=radio]), .f.f-bad select, .f.f-bad textarea, .f.f-bad .zk-sel, .f.f-bad .zk-seg, .f.f-bad .zk-date{border-color:var(--stop-ink) !important; box-shadow:0 0 0 3px color-mix(in srgb, var(--stop-ink) 16%, transparent) !important}
.epw-doc-need{color:var(--stop-ink); font-size:.78rem; margin-top:6px}
.epw-vfy{margin-top:14px; border:1px solid var(--line); border-radius:12px; padding:12px 14px; background:var(--raise)}
.epw-vfy .vt{font-family:var(--mono); font-size:.68rem; letter-spacing:.09em; text-transform:uppercase; color:var(--ink-3)}
.epw-vfy .vr{display:flex; align-items:baseline; gap:10px; margin-top:8px; font-size:.86rem; flex-wrap:wrap}
.epw-vfy .vr b{min-width:120px; color:var(--ink-2); font-weight:600}
.epw-vfy .vok{color:var(--ok-ink); font-weight:700}
.epw-vfy .vbad{color:var(--stop-ink); font-weight:700}
.epw-vfy .vwait{color:var(--wait-ink); font-weight:700}
.epw-out{margin-top:10px; font-size:.84rem; color:var(--stop-ink)}
.epw-out ul{margin:6px 0 0 18px}
@media(max-width:640px){ .epw-head h2{font-size:1.2rem} .epw-body{padding:18px 16px 2px} .epw-foot{padding:16px} }

/* toast */
#toast{position:fixed; left:50%; bottom:26px; transform:translateX(-50%) translateY(20px); z-index:80;
  background:var(--ink); color:var(--paper); font-size:.9rem; padding:12px 20px; border-radius:999px;
  box-shadow:var(--sh-2); opacity:0; transition:opacity .25s ease, transform .25s ease; pointer-events:none}
#toast.on{opacity:1; transform:translateX(-50%) translateY(0)}

/* ═══════════════════════  PRINTABLE DOCUMENT  ═══════════════════════ */
#pdfDoc{position:fixed; inset:0; z-index:90; display:none; background:rgba(20,18,14,.4); overflow-y:auto; padding:32px 16px}
#pdfDoc.on{display:block}
#pdfDoc .sheet{max-width:760px; margin:0 auto; background:#fff; color:#141310; border-radius:12px;
  box-shadow:var(--sh-3); padding:44px 48px; font-size:14px; line-height:1.7}
#pdfDoc .sheet h1{font-family:var(--display); font-weight:800; font-size:1.5rem; letter-spacing:-.02em; margin-bottom:2px}
#pdfDoc .sheet h2{font-family:var(--display); font-weight:700; font-size:1.05rem; margin:22px 0 8px}
#pdfDoc .sheet .co{color:#5A554D; font-size:12.5px}
#pdfDoc .sheet table{width:100%; border-collapse:collapse; margin-top:6px}
#pdfDoc .sheet td{padding:7px 0; border-bottom:1px solid #ECEAE2}
#pdfDoc .sheet td:last-child{text-align:right; font-variant-numeric:tabular-nums}
#pdfDoc .sheet .tot td{border-top:2px solid #141310; border-bottom:0; font-weight:700}
#pdfDoc .sheet .net{background:#E9EDFF; border-radius:10px; padding:16px 18px; margin-top:18px;
  display:flex; justify-content:space-between; align-items:baseline}
#pdfDoc .sheet .net b{font-family:var(--display); font-size:1.5rem}
#pdfDoc .sheet .foot{margin-top:26px; font-size:11.5px; color:#8C877D}
/* premium letterhead + statement styling */
#pdfDoc .sheet .lh{display:flex; align-items:flex-start; gap:14px; padding-bottom:16px; border-bottom:2px solid #141310}
#pdfDoc .sheet .lh .mk{width:44px; height:44px; border-radius:12px; display:grid; place-items:center; flex:none; overflow:hidden}
#pdfDoc .sheet .lh .mk svg{width:44px; height:44px}
#pdfDoc .sheet .lh .org b{font-family:var(--display); font-weight:800; font-size:1.15rem; display:block}
#pdfDoc .sheet .lh .org span{font-size:11.5px; color:#5A554D}
#pdfDoc .sheet .lh .doc{margin-left:auto; text-align:right}
#pdfDoc .sheet .lh .doc b{font-family:var(--display); font-weight:700; font-size:.95rem; display:block}
#pdfDoc .sheet .lh .doc span{font-size:11px; color:#5A554D}
#pdfDoc .sheet .kv{display:grid; grid-template-columns:1fr 1fr; gap:2px 24px; margin-top:12px}
#pdfDoc .sheet .kv div{display:flex; justify-content:space-between; gap:10px; padding:5px 0; border-bottom:1px solid #F0EEE7; font-size:12.5px}
#pdfDoc .sheet .kv div span:first-child{color:#5A554D}
#pdfDoc .sheet .kv div span:last-child{font-weight:600; text-align:right; overflow-wrap:anywhere}
#pdfDoc .sheet .cols{display:grid; grid-template-columns:1fr 1fr; gap:0 22px; margin-top:6px}
#pdfDoc .sheet .cols .hd{font-family:var(--mono); font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; color:#5A554D; padding:8px 0 4px; border-bottom:1.5px solid #141310}
#pdfDoc .sheet .cols table{margin-top:0}
#pdfDoc .sheet .cols td{padding:6px 0; font-size:12.5px}
#pdfDoc .sheet .num-lines td:first-child{color:#5A554D}
#pdfDoc .sheet .num-lines td:first-child b{color:#141310}
#pdfDoc .sheet .words{margin-top:8px; font-size:11.5px; color:#5A554D}
#pdfDoc .sheet .stamp{margin-top:22px; display:flex; justify-content:space-between; font-size:11px; color:#8C877D}
/* Form 16 — official bordered grid */
#pdfDoc .sheet .f16{font-family:"Times New Roman",Georgia,serif; color:#000; font-size:12px; line-height:1.4}
#pdfDoc .sheet .f16 .traces{display:flex; align-items:center; gap:10px; padding:6px 0 10px; border-bottom:2px solid #1155aa}
#pdfDoc .sheet .f16 .traces .t1{width:34px;height:34px;border-radius:50%;background:#2f8f3e;display:grid;place-items:center;color:#fff;font-weight:700;font-size:10px}
#pdfDoc .sheet .f16 .traces .t2{font-weight:700;color:#1155aa;font-size:1.1rem;line-height:1}
#pdfDoc .sheet .f16 .traces .t2 small{display:block;color:#444;font-weight:400;font-size:9.5px;font-family:Arial,sans-serif}
#pdfDoc .sheet .f16 .traces .gov{margin-left:auto;text-align:right;font-size:9.5px;font-family:Arial,sans-serif}
#pdfDoc .sheet .f16 .traces .gov b{display:block;font-size:11px}
#pdfDoc .sheet .f16 table{width:100%;border-collapse:collapse;margin:0}
#pdfDoc .sheet .f16 td,#pdfDoc .sheet .f16 th{border:1px solid #000;padding:4px 7px;vertical-align:top;text-align:left;font-size:11.5px}
#pdfDoc .sheet .f16 .ctr{text-align:center}
#pdfDoc .sheet .f16 .b{font-weight:700}
#pdfDoc .sheet .f16 .rt{text-align:right;font-variant-numeric:tabular-nums}
#pdfDoc .sheet .f16 .ttl td{font-weight:700;text-align:center;font-size:13px;letter-spacing:.02em}
#pdfDoc .sheet .f16 .sub td{text-align:center;font-style:italic;font-size:11px}
#pdfDoc .sheet .f16 .hdr td{font-weight:700;text-align:center;background:#f3f3f3}
#pdfDoc .sheet .f16 h4{margin:14px 0 0;font-size:12px}
#pdfDoc .sheet p{margin:10px 0 0; font-size:12.8px; line-height:1.75}
#pdfDoc .sheet .addr{white-space:pre-line; font-size:12.5px; color:#5A554D; margin-top:12px}
#pdfDoc .sheet ul{margin:8px 0 0 18px; font-size:12.8px; line-height:1.7}
#pdfDoc .sheet .clause{margin-top:16px}
#pdfDoc .sheet .clause h2{margin-bottom:2px}
#pdfDoc .sheet .sign{margin-top:44px; display:flex; justify-content:space-between; align-items:flex-end; font-size:12px; color:#5A554D}
#pdfDoc .sheet .sign .who b{font-family:var(--display); color:#141310; display:block; margin-bottom:2px}
#pdfDoc .barbtns{max-width:760px; margin:0 auto 14px; display:flex; gap:10px; justify-content:flex-end}
#pdfDoc .barbtns .btn{box-shadow:none}
@media print{
  body > *{display:none !important}
  #pdfDoc{position:static !important; display:block !important; background:#fff !important; padding:0 !important; overflow:visible !important}
  #pdfDoc .barbtns{display:none !important}
  #pdfDoc .sheet{box-shadow:none !important; max-width:none !important; border-radius:0 !important; padding:0 !important}
}

/* ═══════════════════════  LOGIN  ═══════════════════════ */
/* sign-in: a living panel (the scene, src/console/24-login-scene.js) beside a calm form */
#login{position:fixed; inset:0; z-index:100; display:grid; grid-template-columns:1.1fr .9fr; overflow-y:auto; background:var(--paper)}
#login.off{display:none}
.li-panel{min-height:100vh; padding:clamp(28px,4vw,56px); display:flex; flex-direction:column; justify-content:space-between; gap:36px}
.li-panel::before{content:"Zolt"; font-family:var(--display); font-weight:800; font-size:1.2rem; letter-spacing:-.02em;
  padding-left:38px; line-height:30px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Crect width='30' height='30' rx='9' fill='white' fill-opacity='.22'/%3E%3Cpath d='M16.3 5.5L8.6 16h5.4l-.9 8.5L20.8 14h-5.4z' fill='white'/%3E%3C/svg%3E") left center/30px 30px no-repeat}
.li-panel .ls-copy{margin-top:auto}
.li-panel .ls-stage{margin-bottom:auto}
.li-form{background:var(--paper); padding:clamp(28px,4vw,56px); display:flex; flex-direction:column; justify-content:center; align-items:center; min-height:100%}
.li-form .lf-card{width:100%; max-width:420px; animation:lfIn .8s cubic-bezier(.2,.8,.2,1) .15s both}
@keyframes lfIn{from{opacity:0; transform:translateY(22px)} to{opacity:1; transform:none}}
.li-form input{transition:border-color .2s ease, box-shadow .25s ease}
.li-form input:focus{box-shadow:0 0 0 4px rgba(59,95,226,.16)}
.li-form #liGo{position:relative; overflow:hidden}
.li-form #liGo::after{content:""; position:absolute; inset:0; background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.35) 50%,transparent 70%);
  transform:translateX(-120%); transition:transform .7s ease}
.li-form #liGo:hover::after{transform:translateX(120%)}
.li-form h2{font-family:var(--display); font-weight:800; font-size:2rem; letter-spacing:-.03em; margin:0}
.li-form .lf-sub{color:var(--ink-3); font-size:.92rem; margin:.5rem 0 1.8rem}
.li-form .btn{width:100%; margin-top:4px}
.li-form #liGo{box-shadow:0 12px 28px -12px rgba(59,95,226,.85)}
.li-form .lf-foot{margin-top:28px; font-size:.88rem; color:var(--ink-3)}
.li-form .lf-foot a{color:var(--blue); font-weight:700; text-decoration:none}
.li-err{color:var(--stop); font-weight:600; font-size:.82rem; margin-top:8px; min-height:1em}
/* step-2 (verification code) — hidden until the first sign-in succeeds */
.li-step2{display:none}
.li-step2.show{display:block; animation:li2in .32s ease both}
.li-step2.show > .f{margin-bottom:0}
@keyframes li2in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@media (max-width:900px){
  #login{grid-template-columns:1fr}
  .li-panel{min-height:auto; gap:22px}
  .li-panel .ls-card:nth-child(n+2){display:none}
}

/* ═══════════════════════  INTRO SPLASH  ═══════════════════════ */
#splash{position:fixed; inset:0; z-index:200; display:grid; place-items:center; overflow:hidden;
  background:#0E1330; transition:opacity .6s ease, visibility .6s}
#splash.gone{opacity:0; visibility:hidden}
/* the brand burst: a full-spectrum gradient disc that bursts out of the mark and keeps drifting */
#splash .s-wash{position:absolute; left:50%; top:50%; width:170vmax; height:170vmax; border-radius:46% 54% 52% 48%;
  transform:translate(-50%,-50%) scale(0) rotate(0deg);
  background:conic-gradient(from 210deg at 50% 50%,var(--brand),var(--violet),var(--violet-2),var(--sky),var(--brand));
  filter:blur(6px); animation:sWash 1s cubic-bezier(.5,0,.2,1) .5s forwards, sSpin 22s linear 1.5s infinite}
#splash .s-glow{position:absolute; left:50%; top:50%; width:60vmax; height:60vmax; border-radius:50%;
  transform:translate(-50%,-50%); background:radial-gradient(circle,rgba(255,255,255,.5),transparent 60%);
  mix-blend-mode:screen; opacity:0; animation:sGlow .9s ease .6s forwards}
#splash .s-in{position:relative; display:flex; flex-direction:column; align-items:center; gap:18px; text-align:center}
#splash .s-bolt{width:96px; height:96px; border-radius:26px; background:#fff; color:var(--blue); display:grid; place-items:center;
  box-shadow:0 30px 80px -18px rgba(0,0,0,.5); animation:sPop .55s cubic-bezier(.2,1.5,.4,1) both, sFloat 2.6s ease-in-out 1.4s infinite}
#splash .s-bolt svg{width:46px; height:46px}
#splash .s-word{font-family:var(--display); font-weight:800; font-size:clamp(3rem,10vw,5.2rem); letter-spacing:-.045em; color:#fff;
  text-shadow:0 8px 40px rgba(0,0,0,.25); opacity:0; animation:sRise .55s ease 1.15s both}
#splash .s-motto{font-family:var(--mono); font-size:clamp(.8rem,2.4vw,1rem); letter-spacing:.24em; text-transform:uppercase; color:rgba(255,255,255,.92);
  opacity:0; animation:sRise .55s ease 1.42s both}
@keyframes sWash{to{transform:translate(-50%,-50%) scale(1) rotate(24deg)}}
@keyframes sSpin{from{transform:translate(-50%,-50%) scale(1) rotate(24deg)}to{transform:translate(-50%,-50%) scale(1) rotate(384deg)}}
@keyframes sGlow{to{opacity:.8}}
@keyframes sPop{from{transform:scale(.35); opacity:0} to{transform:scale(1); opacity:1}}
@keyframes sRise{from{transform:translateY(12px); opacity:0} to{transform:none; opacity:1}}
@keyframes sFloat{0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)}}

.reveal{opacity:0; transform:translateY(20px)}
.reveal.in{opacity:1; transform:none; transition:opacity .6s ease, transform .65s cubic-bezier(.2,.75,.2,1)}
@media (prefers-reduced-motion:reduce){ *{animation:none!important} .reveal{opacity:1!important; transform:none!important} #splash{display:none!important} }
/* one focus ring everywhere; outlines follow each element's own radius, so no
   radius override here (it used to square off pill buttons on focus) */
:focus-visible{outline:2.5px solid var(--focus); outline-offset:2px}

@media (max-width:1000px){ .g4{grid-template-columns:1fr 1fr} .g3{grid-template-columns:1fr} }
@media (max-width:820px){
  #app{grid-template-columns:1fr} #rail{position:fixed; left:0; top:0; width:280px; z-index:40; transform:translateX(-100%); transition:transform .3s ease}
  #rail.open{transform:none} .g2{grid-template-columns:1fr} .g4{grid-template-columns:1fr 1fr; gap:12px}
  .topbar .menu{display:inline-flex!important}
}
.topbar .menu{display:none; margin-right:4px}
/* phone: stat rows stay two-up (four full-width cards filled the first screen) */
@media (max-width:520px){
  .g4 > .card, .g4 > .hero-card{padding:16px}
  .g4 .stat .v{font-size:1.45rem}
}
/* phones: the bar keeps the menu, where-am-I, the view switch and the bell;
   the "Live workspace" label goes, and calendar days shrink to fit 7 across */
@media (max-width:640px){
  .topbar{gap:8px; padding:12px 16px}
  .topbar .live{display:none}
  .topbar #notifBtn{margin-left:auto; flex:none}
  .topbar .crumb{display:none}
  .viewswitch{margin-left:0; flex:none} .viewswitch button{padding:5px 10px; font-size:.74rem}
  .cal{gap:4px} .cal .d{min-height:54px; padding:6px 5px; border-radius:9px}
  .cal .d .n{font-size:.86rem} .cal .d .l{font-size:.6rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
}

/* ═══════════  messaging  ═══════════ */
.page-hd{display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:8px}
.c-list{display:flex; flex-direction:column; max-width:560px}
.c-head{font-size:.68rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3); padding:16px 4px 6px}
.c-empty{color:var(--ink-3); padding:40px 6px; font-size:.92rem}
.c-row{display:flex; align-items:center; gap:12px; width:100%; padding:9px 6px; text-align:left; background:none; border:0; border-radius:12px}
.c-row:hover{background:var(--sunk)}
.c-hash{width:38px; height:38px; border-radius:11px; background:var(--tint-lilac); color:var(--tint-lilac-ink); display:grid; place-items:center; font-family:var(--display); font-weight:800; flex:none}
.c-av{width:38px; height:38px; border-radius:50%; background:var(--blue-soft); color:var(--blue-ink); display:grid; place-items:center; font-weight:700; font-size:.82rem; flex:none}
.c-mid{flex:1; min-width:0}
.c-rt{display:flex; align-items:center; gap:8px}
.c-rt b{font-size:.92rem; color:var(--ink); font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.c-when{margin-left:auto; font-size:.72rem; color:var(--ink-3); flex:none}
.c-prev{font-size:.8rem; color:var(--ink-3); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; margin-top:2px}
.c-prev.strong{color:var(--ink); font-weight:600}
.c-badge{min-width:20px; height:20px; padding:0 6px; border-radius:999px; background:var(--blue); color:#fff; font-size:.72rem; font-weight:800; display:grid; place-items:center; flex:none}
.c-roomhd{display:flex; align-items:center; gap:12px; padding-bottom:10px; border-bottom:1px solid var(--line); margin-bottom:6px}
.c-roomhd b{font-size:1.05rem}
.c-roomhd .c-sub{color:var(--ink-3); font-size:.82rem}
.c-room{display:flex; flex-direction:column; height:calc(100vh - 220px); max-width:820px}
.c-scroll{flex:1; overflow-y:auto; padding:8px 4px}
.c-day{display:flex; align-items:center; gap:12px; margin:16px 0 8px; color:var(--ink-3); font-size:.74rem}
.c-day::before,.c-day::after{content:""; flex:1; height:1px; background:var(--line)}
.c-sys{text-align:center; color:var(--ink-3); font-size:.78rem; padding:5px 0}
.c-msg{display:flex; gap:12px; padding-top:12px}
.c-msg.grp{padding-top:2px}
.c-msg.grp .c-foot{opacity:0}
.c-msg:hover .c-foot{opacity:1}
.c-gut{width:38px; flex:none}
.c-mb{flex:1; min-width:0}
.c-meta{display:flex; align-items:baseline; gap:8px}
.c-meta b{font-size:.9rem; font-weight:800}
.c-meta span{font-size:.72rem; color:var(--ink-3)}
.c-tick{display:inline-flex; color:var(--ink-3)}
.c-tick svg{width:12px; height:12px}
.c-tick.read{color:var(--blue)}
.c-tx{font-size:.94rem; line-height:1.45; white-space:pre-wrap; word-break:break-word}
.c-ed{font-size:.72rem; color:var(--ink-3)}
.c-del{font-size:.92rem; color:var(--ink-3)}
.c-foot{display:flex; flex-wrap:wrap; gap:6px; margin-top:6px; transition:opacity .12s}
.c-react{padding:2px 9px; border-radius:999px; background:var(--sunk); border:1px solid var(--line); font-size:.78rem; color:var(--ink); cursor:pointer}
.c-react.add{color:var(--ink-3); font-weight:600}
.c-thr{padding:2px 9px; border-radius:999px; background:var(--tint-blue); border:0; color:var(--tint-blue-ink); font-size:.78rem; font-weight:700; cursor:pointer}
.c-comp{display:flex; gap:10px; padding-top:12px; border-top:1px solid var(--line)}
.c-comp input{flex:1; padding:12px 15px; border:1.5px solid var(--line); border-radius:12px; background:var(--raise); font:inherit; color:var(--ink)}
.c-pick,.c-picklist label{display:flex; align-items:center; gap:10px; padding:8px 2px; border-bottom:1px solid var(--line-2); font-size:.88rem}
.c-pick-main{display:flex; align-items:center; gap:10px; flex:1; min-width:0; cursor:pointer}
.c-pick input[type=checkbox],.c-picklist input[type=checkbox]{width:18px; height:18px; flex:none; margin:0; accent-color:var(--blue)}
.c-pname{flex:1 1 60px; min-width:60px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--ink); text-align:left; font-weight:600}
.c-ptitle{flex:none; color:var(--ink-3); font-size:.78rem; white-space:nowrap; max-width:150px; overflow:hidden; text-overflow:ellipsis}
.c-vp-btn{flex:none; border:0; background:none; color:var(--ink-3); font-size:1rem; cursor:pointer; padding:4px 6px; border-radius:8px}
.c-vp-btn:hover{background:var(--sunk); color:var(--blue)}
.c-pick-search{width:100%; padding:9px 12px; border:1.5px solid var(--line); border-radius:10px; background:var(--raise); font:inherit; font-size:.86rem; margin-bottom:8px; color:var(--ink)}
.c-picklist{max-height:40vh; overflow-y:auto; margin-top:6px}
.c-thr-root{background:var(--sunk); border-radius:10px; padding:12px; font-size:.88rem; margin-bottom:10px}
.c-thr-r{padding:8px 0; border-bottom:1px solid var(--line-2); font-size:.88rem}
.c-hdbtns{display:flex; gap:8px}
.c-react.mine{background:var(--tint-blue); border-color:transparent; color:var(--tint-blue-ink); font-weight:700}
.c-hover{display:inline-flex; gap:6px; opacity:0; transition:opacity .12s}
.c-msg:hover .c-hover{opacity:1}
.c-gt{font-size:.66rem; color:var(--ink-3); opacity:0}
.c-gut .c-tick{opacity:0}
.c-msg:hover .c-gt,.c-msg:hover .c-gut .c-tick{opacity:1}

/* ═══════════  Connect — three panes inside the standard console frame  ═══════════
   The rail and topbar stay put; the page fills the content area below the
   topbar (the page itself doesn't scroll — each pane does). */
#main:has(> #view > .slk){height:100vh; height:100dvh}
#view:has(> .slk){max-width:none; padding:16px clamp(12px,2vw,24px); flex:1; min-height:0; display:flex; flex-direction:column}
.slk{position:relative; flex:1; min-height:420px; background:var(--surface); display:flex; flex-direction:column; font-family:var(--sans);
  border:1px solid var(--line); border-radius:16px; overflow:hidden}
.slk-top{display:flex; align-items:center; gap:10px; height:52px; flex:none; padding:0 12px;
  background:var(--paper); border-bottom:1px solid var(--line); color:var(--ink)}
.slk-search{position:relative; flex:1; min-width:0; max-width:720px}
.slk-sic{position:absolute; left:12px; top:50%; transform:translateY(-50%); font-size:.82rem; color:var(--ink-3); pointer-events:none}
.slk-search input{width:100%; height:34px; border:1px solid var(--line); border-radius:10px; padding:0 12px 0 34px; font:inherit; font-size:.9rem;
  background:var(--surface); color:var(--ink)}
.slk-search input::placeholder{color:var(--ink-3)}
.slk-search input:focus{outline:2px solid var(--blue); outline-offset:0; border-color:transparent}
.slk-res{position:absolute; left:0; right:0; top:38px; background:var(--surface); color:var(--ink); border:1px solid var(--line);
  border-radius:12px; box-shadow:var(--sh-3); max-height:60vh; overflow-y:auto; padding:6px; z-index:5}
.slk-rg{font-size:.66rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3); padding:10px 10px 4px}
.slk-ri{display:block; width:100%; text-align:left; border:0; background:none; border-radius:8px; padding:8px 10px; font:inherit; font-size:.88rem; color:var(--ink); cursor:pointer}
.slk-ri:hover,.slk-ri.on{background:var(--tint-blue); color:var(--tint-blue-ink)}
.slk-ri.msg{display:flex; flex-direction:column; gap:2px}
.slk-ri .slk-rh{font-size:.72rem; color:var(--ink-3); font-weight:700}
.slk-ri .slk-rt{font-size:.85rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.slk-ri mark{background:var(--tint-amber); color:var(--tint-amber-ink); border-radius:3px; padding:0 1px}
.slk-jump{flex:none; height:34px; padding:0 10px; border:1px solid var(--line); border-radius:10px; background:var(--surface); color:var(--ink-2); font:inherit; font-size:.76rem; font-weight:700; cursor:pointer}
.slk-jump:hover{background:var(--sunk)}
.slk-body{position:relative; flex:1; min-height:0; display:grid; grid-template-columns:264px 1fr 0; transition:grid-template-columns .18s}
.slk-body.thr-open{grid-template-columns:264px 1fr 380px}
@supports (selector(:has(*))){ .slk-body:has(.slk-thr:not([hidden])){grid-template-columns:264px 1fr 380px} }
.slk-side{background:var(--paper); border-right:1px solid var(--line); overflow-y:auto; min-height:0}
.slk-swrap{padding:10px 8px 24px}
.slk-side-hd{font-family:var(--display); font-weight:800; font-size:.98rem; color:var(--ink); padding:8px 10px 4px}
.slk-status{display:flex; align-items:center; gap:6px; width:100%; text-align:left; margin:2px 0 8px; padding:7px 10px; border:1px solid var(--line); border-radius:9px; background:var(--raise); font:inherit; font-size:.82rem; color:var(--ink-2); cursor:pointer}
.slk-status:hover{background:var(--sunk)}
.slk-status.dnd{border-color:var(--stop-soft)}
.slk-status-tx{overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.slk-dnd{flex:none; display:inline-flex; color:var(--stop)}
.slk-dnd svg{width:12px; height:12px; stroke:currentColor; stroke-width:2; fill:none}
.c-pin{display:inline-flex; color:var(--wait); margin-left:2px}
.c-pin svg{width:12px; height:12px; stroke:currentColor; fill:var(--wait); stroke-width:1.5}
.slk-new{display:block; width:100%; text-align:left; margin:6px 0 4px; padding:9px 10px; border:0; border-radius:9px;
  background:var(--raise); box-shadow:var(--sh-1); font:inherit; font-size:.85rem; font-weight:600; color:var(--ink); cursor:pointer}
.slk-new:hover{background:var(--tint-blue); color:var(--tint-blue-ink)}
.slk-sec{display:flex; align-items:center; justify-content:space-between; padding:14px 10px 4px; font-size:.68rem; font-weight:800; letter-spacing:.07em; text-transform:uppercase; color:var(--ink-3)}
.slk-sec button{border:0; background:none; color:var(--ink-3); font-size:.95rem; line-height:1; cursor:pointer; padding:2px 4px; border-radius:6px}
.slk-sec button:hover{background:var(--sunk); color:var(--ink)}
.slk-ch{display:flex; align-items:center; gap:8px; width:100%; text-align:left; border:0; background:none; border-radius:8px;
  padding:6px 10px; font:inherit; font-size:.88rem; color:var(--ink-2); cursor:pointer}
.slk-ch:hover{background:var(--sunk)}
.slk-ch.on{background:var(--blue); color:#fff}
.slk-ch.on .slk-h,.slk-ch.on .slk-b{color:#fff}
.slk-ch.un{color:var(--ink); font-weight:700}
.slk-h{color:var(--ink-3); font-weight:700; flex:none; width:14px; text-align:center}
.slk-pd{width:8px; height:8px; border-radius:50%; border:1.5px solid var(--ink-3); flex:none; margin:0 3px}
.slk-pd.on{background:var(--ok); border-color:var(--ok)}
.slk-nm{flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.slk-b{flex:none; min-width:18px; height:18px; padding:0 5px; border-radius:999px; background:var(--stop); color:#fff; font-size:.68rem; font-weight:800; display:grid; place-items:center}
.slk-mu{flex:none; font-size:.7rem; opacity:.6}
.slk-none{color:var(--ink-3); font-size:.8rem; padding:6px 12px}
.slk-main{display:flex; flex-direction:column; min-width:0; min-height:0; background:var(--surface)}
.slk-welcome{margin:auto; max-width:420px; text-align:center; padding:40px}
.slk-welcome h2{font-family:var(--display); font-weight:800; font-size:1.4rem; margin-bottom:8px}
.slk-welcome p{color:var(--ink-3); font-size:.92rem; line-height:1.5}
.slk-welcome kbd{background:var(--sunk); border:1px solid var(--line); border-radius:5px; padding:1px 5px; font-size:.8rem; font-family:var(--mono)}
.slk-wbtns{display:flex; gap:8px; justify-content:center; margin-top:16px}
.slk-mhd{display:flex; align-items:center; gap:10px; flex:none; height:52px; padding:0 18px; border-bottom:1px solid var(--line)}
.slk-mhd b{font-size:1.02rem; font-weight:800}
.slk-mtap{cursor:pointer}
.slk-mtap:hover{text-decoration:underline}
.slk-badge{flex:none; padding:2px 9px; border-radius:999px; background:var(--tint-amber); color:var(--tint-amber-ink); font-size:.7rem; font-weight:700}
.slk-mtop{font-size:.8rem; color:var(--ink-3); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:40%}
.slk-mhd-sp{flex:1}
.slk-mbtn{flex:none; height:30px; padding:0 10px; border:1px solid var(--line); border-radius:8px; background:var(--raise); font:inherit; font-size:.8rem; font-weight:600; color:var(--ink-2); cursor:pointer}
.slk-mbtn:hover{background:var(--sunk)}
.slk-scroll{flex:1; overflow-y:auto; padding:10px 18px 18px}
.slk-hello,.slk-thr .slk-none{color:var(--ink-3); font-size:.9rem; padding:20px 4px}
.slk-comp{flex:none; display:flex; align-items:flex-end; gap:10px; padding:12px 18px 16px; border-top:1px solid var(--line)}
.slk-comp textarea{flex:1; resize:none; max-height:160px; padding:11px 14px; border:1.5px solid var(--line); border-radius:12px;
  background:var(--raise); font:inherit; font-size:.92rem; color:var(--ink); line-height:1.4}
.slk-comp textarea:focus{outline:none; border-color:var(--blue)}
.slk-send{flex:none; width:40px; height:40px; border:0; border-radius:11px; background:var(--blue); color:#fff; font-size:1rem; cursor:pointer}
.slk-send:hover{filter:brightness(1.06)}
.slk-attach{flex:none; width:40px; height:40px; border:1px solid var(--line); border-radius:11px; background:var(--raise); color:var(--ink-2); cursor:pointer}
.slk-attach:hover{background:var(--sunk)}
.slk-attach svg{width:17px; height:17px; stroke:currentColor; stroke-width:2; fill:none}
.slk-comp-off{flex:none; padding:14px 18px; margin:0 18px 16px; border-radius:12px; background:var(--sunk); color:var(--ink-3); font-size:.86rem; text-align:center}
.c-img{display:block; max-width:280px; border-radius:12px; overflow:hidden; margin-bottom:4px; box-shadow:var(--sh-1)}
.c-img img{display:block; width:100%; max-height:280px; object-fit:cover}
.c-file{display:flex; align-items:center; gap:10px; padding:10px 12px; border:1px solid var(--line); border-radius:12px; background:var(--raise); max-width:280px; margin-bottom:4px; color:var(--ink)}
.c-file svg{width:22px; height:22px; stroke:var(--blue); stroke-width:1.8; fill:none; flex:none}
.c-file-mid{min-width:0; display:flex; flex-direction:column}
.c-file-mid b{font-size:.86rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.c-file-mid small{color:var(--ink-3); font-size:.74rem}
.slk-thr{background:var(--paper); border-left:1px solid var(--line); display:flex; flex-direction:column; min-width:0; min-height:0; overflow:hidden}
.slk-thr[hidden]{display:none}
.slk-thr-hd{display:flex; align-items:center; justify-content:space-between; flex:none; height:52px; padding:0 16px; border-bottom:1px solid var(--line)}
.slk-thr-hd b{font-family:var(--display); font-weight:800}
.c-troot{background:var(--sunk); border-radius:10px; padding:10px; margin-bottom:4px}
.slk-quick{position:fixed; inset:0; z-index:210}
.slk-quick[hidden]{display:none}
.slk-q-scrim{position:absolute; inset:0; background:rgba(10,12,20,.42)}
.slk-q-card{position:absolute; left:50%; top:88px; transform:translateX(-50%); width:min(560px,92vw);
  background:var(--surface); border-radius:14px; box-shadow:var(--sh-3); overflow:hidden}
.slk-q-card input{width:100%; height:48px; border:0; border-bottom:1px solid var(--line); padding:0 16px; font:inherit; font-size:1rem; background:var(--surface); color:var(--ink)}
.slk-q-card input:focus{outline:none}
.slk-q-list{max-height:52vh; overflow-y:auto; padding:6px}
.slk-q-i{display:block; width:100%; text-align:left; border:0; background:none; border-radius:8px; padding:10px 12px; font:inherit; font-size:.92rem; color:var(--ink); cursor:pointer}
.slk-q-i:hover,.slk-q-i.on{background:var(--tint-blue); color:var(--tint-blue-ink)}
.c-msg.flash{animation:cflash 1.6s ease}
@keyframes cflash{0%,40%{background:var(--tint-amber)}100%{background:transparent}}
.slk-vp{color:var(--blue); font-weight:700; font-size:.76rem}
.slk-pf-hd{display:flex; align-items:flex-start; gap:12px; margin-bottom:6px}
.slk-pf-hd b{display:block; font-size:1.02rem; font-weight:800}
.slk-pf-hd small{display:block; color:var(--ink-3); font-size:.82rem; margin-top:1px}
.slk-pf-rows{margin-top:10px}
.slk-pf-row{display:flex; justify-content:space-between; gap:12px; padding:8px 0; border-bottom:1px solid var(--line-2); font-size:.86rem}
.slk-pf-row span{color:var(--ink-3)}
.c-stat{margin-left:auto; flex:none; display:inline-flex; align-items:center; gap:5px; font-size:.72rem; font-weight:700; padding:2px 8px; border-radius:999px; white-space:nowrap}
.c-stat::before{content:""; width:6px; height:6px; border-radius:50%; background:currentColor}
.c-stat.present{background:var(--ok-soft); color:var(--ok-ink)}
.c-stat.absent{background:var(--stop-soft); color:var(--stop-ink)}
.c-stat.leave{background:var(--leave-soft); color:var(--leave-ink)}
.c-stat.wfh{background:var(--info-soft); color:var(--info-ink)}
.c-stat.off{background:var(--sunk); color:var(--ink-3)}
/* Slack-shell icons: replace-emoji pass — every glyph button is an SVG from the app's own icon
   set, sized and aligned like the rest of the product instead of relying on OS emoji fonts. */
.slk-sic svg{width:15px; height:15px; stroke:currentColor; stroke-width:2; fill:none; display:block}
.slk-jump{display:inline-flex; align-items:center; gap:5px}
.slk-mu{display:inline-flex}
.slk-mu svg{width:12px; height:12px; stroke:currentColor; stroke-width:2; fill:none}
.slk-new{display:flex; align-items:center; gap:8px}
.slk-new svg{width:15px; height:15px; stroke:var(--ink-2); stroke-width:2; fill:none; flex:none}
.slk-sec button{display:inline-flex; align-items:center; justify-content:center}
.slk-sec button svg{width:14px; height:14px; stroke:currentColor; stroke-width:2.2; fill:none}
.c-thr,.slk-mbtn{display:inline-flex; align-items:center; gap:5px}
.c-thr svg{width:13px; height:13px; stroke:var(--tint-blue-ink); stroke-width:2; fill:none}
.slk-mbtn svg{width:14px; height:14px; stroke:currentColor; stroke-width:2; fill:none}
.slk-mbtn.ic-only{width:30px; padding:0; justify-content:center}
.c-react svg{width:14px; height:14px; stroke:currentColor; stroke-width:2; fill:none; display:block}
.slk-send svg{width:17px; height:17px; stroke:#fff; stroke-width:2.1; fill:none}
.slk-thr-hd button{display:inline-flex; align-items:center; justify-content:center}
.slk-thr-hd button svg{width:14px; height:14px; stroke:currentColor; stroke-width:2.2; fill:none}
.c-vp-btn{display:inline-flex; align-items:center; justify-content:center}
.c-vp-btn svg{width:15px; height:15px; stroke:currentColor; stroke-width:2; fill:none}
/* ── 1:1 calling ── */
.slk-call{position:fixed; inset:0; z-index:250; background:#0B0D13; color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--sans)}
.slk-call[hidden]{display:none}
.slk-call-in{text-align:center}
.slk-call-in h2{font-family:var(--display); font-size:1.6rem; margin:0 0 4px}
.slk-call-in p{color:rgba(255,255,255,.65); font-size:.95rem}
.slk-call-acts{display:flex; gap:22px; margin-top:34px; justify-content:center}
.slk-call-btn{width:58px; height:58px; border-radius:50%; border:0; cursor:pointer; display:grid; place-items:center; transition:transform .1s}
.slk-call-btn:hover{transform:scale(1.06)}
.slk-call-btn svg{width:22px; height:22px; stroke:#fff; stroke-width:2; fill:none}
.slk-call-btn.accept{background:var(--ok)}
.slk-call-btn.decline{background:var(--stop)}
.slk-call-btn.ghost{width:50px; height:50px; background:rgba(255,255,255,.14); color:#fff}
.slk-call-btn.ghost.on{background:#fff}
.slk-call-btn.ghost.on svg{stroke:#111}
.slk-call-active{position:relative; width:100%; height:100%}
.slk-call-active #slkCallRemote{width:100%; height:100%; object-fit:cover; background:#111}
.slk-call-active #slkCallLocal{position:absolute; right:24px; bottom:110px; width:180px; height:120px; object-fit:cover; border-radius:14px; box-shadow:0 8px 30px rgba(0,0,0,.5); background:#1b1d24; transform:scaleX(-1)}
.slk-call-audio{display:grid; place-items:center; height:100%}
.slk-call-hd{position:absolute; top:36px; left:0; right:0; text-align:center}
.slk-call-hd b{display:block; font-family:var(--display); font-size:1.2rem}
.slk-call-hd span{color:rgba(255,255,255,.7); font-size:.86rem; font-variant-numeric:tabular-nums}
.slk-call-active .slk-call-acts{position:absolute; left:0; right:0; bottom:34px; margin-top:0}
.slk-call-group .slk-call-grid{position:absolute; inset:80px 24px 150px; display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:10px; align-content:center}
.slk-call-tile{position:relative; border-radius:14px; overflow:hidden; background:#1b1d24; display:flex; align-items:center; justify-content:center; aspect-ratio:4/3}
.slk-call-tile video{width:100%; height:100%; object-fit:cover}
.slk-call-tile-name{position:absolute; left:10px; bottom:10px; font-size:.78rem; background:rgba(0,0,0,.5); padding:3px 10px; border-radius:999px}
.slk-call-tile-av{flex-direction:column; gap:10px}
.slk-call-tile-av .slk-call-tile-name{position:static; background:none; padding:0}
/* missed calls: a red phone in the room list, a red line in the room */
.slk-miss{flex:none; display:inline-flex; align-items:center; gap:2px; height:18px; padding:0 6px; border-radius:999px;
  background:var(--stop-soft); color:var(--stop-ink); font-size:.68rem; font-weight:800}
.slk-miss svg{width:11px; height:11px; stroke:currentColor; stroke-width:2.4; fill:none}
.slk-ch.miss .slk-nm{color:var(--stop-ink)}
.slk-ch.on .slk-miss{background:rgba(255,255,255,.22); color:#fff}
.slk-ch.on.miss .slk-nm{color:#fff}
.c-sys.c-missed{display:flex; align-items:center; justify-content:center; gap:6px; color:var(--stop-ink); font-weight:600}
.c-sys.c-missed svg{width:13px; height:13px; stroke:currentColor; stroke-width:2.2; fill:none}
/* screen sharing */
.slk-share-bar{position:absolute; top:96px; left:50%; transform:translateX(-50%); display:flex; align-items:center; gap:10px;
  padding:6px 8px 6px 14px; border-radius:999px; background:var(--stop); color:#fff; font-size:.84rem; font-weight:600; z-index:2; white-space:nowrap}
.slk-share-bar svg{width:15px; height:15px; stroke:#fff; stroke-width:2; fill:none}
.slk-share-bar button{border:0; border-radius:999px; padding:4px 12px; background:#fff; color:var(--stop-ink); font:inherit; font-size:.8rem; font-weight:700; cursor:pointer}
.slk-share-note,.slk-call-note{display:block; margin-top:4px; color:rgba(255,255,255,.75); font-size:.8rem}
/* no camera / no microphone: the key says so and rests */
.slk-call-btn:disabled{opacity:.5; cursor:not-allowed; transform:none}
.slk-call-active.sharing #slkCallRemote,.slk-call-tile.sharing video{object-fit:contain; background:#000}
.slk-back{display:none !important}
/* tablet and phone: one pane at a time — the room list, or the open room */
@media (max-width:900px){
  .slk-body{grid-template-columns:minmax(0,1fr) !important}
  .slk-side{border-right:0}
  .slk.has-room .slk-side{display:none}
  .slk:not(.has-room) .slk-main{display:none}
  .slk-thr:not([hidden]){position:absolute; inset:0; z-index:6}
  .slk-back{display:inline-flex !important}
  .slk-back svg{transform:scaleX(-1)}
}
@media (max-width:640px){
  #view:has(> .slk){padding:0}
  .slk{border:0; border-radius:0; min-height:0}
  .slk-mhd{gap:6px; padding:0 10px}
  .slk-mhd b{min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
  .slk-mtop,.slk-badge{display:none}
  .slk-scroll{padding:8px 12px 12px}
  .slk-comp{gap:8px; padding:10px 12px 12px}
  .slk-share-bar{top:84px}
}

/* ═══════════════════════  UI KIT — shared layer (src/console/29-ui-kit.js)  ═══════════════════════ */
.sr-only{position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0}
:root{color-scheme:light dark}   /* native selects, date pickers and scrollbars follow the theme */
/* the closed assistant panel is out of the tab order (it is aria-hidden) */
#aiPanel{visibility:hidden; transition:transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s linear .3s}
#aiPanel.on{visibility:visible; transition:transform .3s cubic-bezier(.2,.8,.2,1)}
/* text contrast ≥ 4.5:1: badge fill, calendar labels in status ink, past rows */
.tb-badge{background:var(--badge)}
.cal .d.pr,.cal .d.pr.h2,.cal .d.pr.h3{--cl:var(--ok-ink)} .cal .d.wfh{--cl:var(--info-ink)} .cal .d.od{--cl:var(--duty-ink)}
.cal .d.lv{--cl:var(--leave-ink)} .cal .d.hol{--cl:var(--idle-ink)} .cal .d.ab{--cl:var(--stop-ink)} .cal .d.hd{--cl:var(--wait-ink)}
.cal .d.fu{opacity:1; background:transparent; box-shadow:inset 0 0 0 1px var(--line)}
.tbl tr.past td{color:var(--ink-3)}
#callRingBar .btn-ghost{background:transparent}
@media (prefers-color-scheme:dark){ .tpulse .stk span{color:var(--paper)} }

/* rail: roomy rows as before; a long menu scrolls inside the rail */
.rail-me > span:not(.av){min-width:0}
.rail-me small{display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
@media (min-width:821px) and (max-height:1000px){
  .nav-i{padding:7px 10px}
}

/* the assistant button, docked in the top bar (never over a table's buttons) */
.topbar #aiFab.docked{position:relative; right:auto; bottom:auto; z-index:auto; flex:none; width:38px; height:38px;
  border-radius:11px; box-shadow:0 8px 18px -10px var(--violet)}
.topbar #aiFab.docked svg{width:18px; height:18px}
.topbar #aiFab.docked .pulse{border-radius:11px}
.topbar #aiFab.docked:hover{transform:translateY(-1px)}
.topbar .live + #aiFab.docked{margin-left:14px}
@media (max-width:640px){
  .topbar #aiFab.docked,.topbar .live + #aiFab.docked{margin-left:auto}
  .topbar #aiFab.docked + #notifBtn{margin-left:0}
}

/* detail views open as a right-side panel on wide screens */
#mw .modal{outline:none}
@media (min-width:1100px){
  #mw.side{place-items:stretch end; padding:0; background:rgba(20,18,14,.22)}
  #mw.side .modal{max-width:none; width:min(680px,48vw); height:100vh; max-height:none; border-radius:0;
    border-width:0 0 0 1px; padding:30px 34px 0; display:flex; flex-direction:column; animation:uikSide .26s cubic-bezier(.2,.8,.2,1)}
  #mw.side .modal > div:not(.mfoot){flex:1 0 auto}
  #mw.side .mfoot{position:sticky; bottom:0; margin:22px -34px 0; padding:14px 34px 18px; background:var(--surface); border-top:1px solid var(--line)}
}
@keyframes uikSide{from{transform:translateX(40px); opacity:0} to{transform:none; opacity:1}}

/* empty states — what will appear, and the action that creates it */
.empty{display:flex; flex-direction:column; align-items:center; text-align:center; gap:4px; padding:40px 20px; color:var(--ink-2)}
.empty .em-ic{width:46px; height:46px; border-radius:14px; background:var(--blue-soft); color:var(--blue-ink);
  display:grid; place-items:center; margin-bottom:8px}
.empty .em-ic svg{width:22px; height:22px; stroke:currentColor; stroke-width:1.8; fill:none; stroke-linecap:round; stroke-linejoin:round}
.empty b{font-size:1.02rem; color:var(--ink); font-weight:650}
.empty p{font-size:.92rem; max-width:52ch; line-height:1.5}
.empty .btn{margin-top:12px}
.empty.sm{padding:22px 16px}
.empty.sm b{font-size:.94rem; font-weight:600; color:var(--ink-2)}
.tbl tr.empty-row td{padding:0; border-bottom:0}
.card > .empty{padding:24px 8px}

/* loading skeletons */
.skel{display:inline-block; vertical-align:middle; height:12px; width:60%; max-width:100%; border-radius:6px;
  background:linear-gradient(90deg,var(--line) 25%,var(--line-2) 50%,var(--line) 75%);
  background-size:200% 100%; animation:uikSkel 1.4s ease-in-out infinite}
.skel-v{height:28px; width:62%; border-radius:8px; margin:6px 0 2px}
.skel-block{display:flex; flex-direction:column; gap:12px; padding:6px 0}
.skel-row td{padding-top:18px; padding-bottom:18px}
.dl .skel-line{align-items:center}
@keyframes uikSkel{from{background-position:200% 0} to{background-position:-200% 0}}

/* sparse screens use the width: a side summary column, cards two-up */
.split{display:grid; gap:20px; align-items:stretch}
/* the side card matches the table's height, so the two columns line up */
.split > div > .side-sum{height:100%; box-sizing:border-box}
.list2{display:grid; gap:14px}
@media (min-width:1100px){
  .split{grid-template-columns:minmax(0,1fr) 250px}
  .list2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .appr-grid{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 20px}
  .appr-grid > .appr-wide{grid-column:1/-1}
}
.side-sum .big-n{font-size:2.4rem; line-height:1.1; margin-top:4px}
.side-sum .dl .r{padding:9px 2px}

/* table text: nothing under 14px except one-line captions */
.tbl td .btn-sm{font-size:.875rem}
.tbl th{font-size:.72rem}

/* one focus ring, also on things that drew their own (inputs keep their glow) */
.nav-i:focus-visible,.btn:focus-visible,.tab:focus-visible,.pill:focus-visible{outline:2.5px solid var(--focus); outline-offset:2px}
.nav-i.on:focus-visible{outline-color:var(--ink)}
tr[onclick]:focus-visible{outline-offset:-3px}
/* headings take focus after navigation (tabindex=-1) — not a control, no ring */
[tabindex="-1"]:focus{outline:none}
[role="button"]{cursor:pointer}

/* phones: tables become stacked cards, each cell labelled by its column */
@media (max-width:640px){
  .tbl-wrap{overflow:visible; background:transparent; box-shadow:none; border:0!important; border-radius:0}
  .tbl,.tbl tbody,.tbl tr,.tbl td{display:block; width:100%}
  .tbl thead{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0)}
  .tbl tr{background:var(--surface); border-radius:16px; box-shadow:var(--sh-1); padding:4px 16px; margin-bottom:12px}
  .tbl td{display:grid; grid-template-columns:minmax(84px,36%) minmax(0,1fr); gap:12px; align-items:center;
    padding:10px 0; border-bottom:1px solid var(--line-2); text-align:left!important; overflow-wrap:anywhere; white-space:normal!important}
  .tbl td::before{content:attr(data-label); font-size:.7rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3)}
  .tbl td[data-label=""],.tbl td:not([data-label]){grid-template-columns:minmax(0,1fr)}
  .tbl td[data-label=""]::before,.tbl td:not([data-label])::before{content:none}
  .tbl td[data-label]:not([data-label=""]) > *{grid-column:2}
  .tbl td:last-child,.tbl tr:last-child td:last-child{border-bottom:0}
  .tbl td:empty{display:none}
  .tbl td > .btn + .btn{margin-left:6px}
  .tbl tr.empty-row,.tbl tr.skel-row{padding:0 16px}
  @media (prefers-color-scheme:dark){ .tbl tr{border:1px solid var(--line)} }
  /* form grids and two/three-up layouts: one column; stat rows stay two-up */
  .grid:not(.g4),.fgrid{grid-template-columns:minmax(0,1fr)!important}
  .grid.g4{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .f input,.f select,.f textarea{min-width:0; max-width:100%}
  .stat,.card.stat{min-height:0}
  #view{padding:20px 16px 32px}
  .modal{padding:22px 18px}
  .mfoot{flex-wrap:wrap}
}

/* 44px touch targets on phones and touch screens; small inline icons grow
   an invisible hit area instead of growing visibly */
@media (max-width:640px), (pointer:coarse){
  .btn-sm,.tab,.mode-chips .mc,button.pill,.pill[onclick],.viewswitch button,.cal-nav button,#notifBtn,.topbar #aiFab.docked,.rail-me .out,.nav-i{min-height:44px}
  .tbl td .btn-sm,.cal-nav button,#notifBtn,.topbar #aiFab.docked,.rail-me .out{min-width:44px}
  .amt-eye,.li-resend,#aiPanel .ap-head .x,#aiPanel .ap-head .aiClr{position:relative}
  .amt-eye::after,#aiPanel .ap-head .x::after,#aiPanel .ap-head .aiClr::after{content:""; position:absolute; inset:-11px}
  .pw-eye{width:44px; height:44px; right:0}   /* stays absolute: it sits inside the field */
}

/* the display face draws "fi" with the i's dot inside the f at headline sizes */
h1,h2,.page-t{font-variant-ligatures:no-common-ligatures}

/* Today queue: one line per thing that needs you; late first */
.today-head{display:flex; align-items:baseline; gap:12px; flex-wrap:wrap}
.today-meta{font-size:.85rem; color:var(--ink-3)}
.today-row{display:flex; align-items:center; gap:12px; padding:11px 10px; margin:0 -10px; border-radius:12px}
.today-row + .today-row{border-top:1px solid var(--line-2)}
.today-row.go{cursor:pointer}
.today-row.go:hover{background:var(--sunk)}
.today-dot{width:9px; height:9px; border-radius:50%; flex:none; background:var(--wait)}
.today-dot.stop{background:var(--stop)} .today-dot.ok{background:var(--ok)} .today-dot.info{background:var(--info)} .today-dot.idle{background:var(--idle)}
.today-lbl{flex:1; min-width:0; display:flex; align-items:baseline; gap:10px; flex-wrap:wrap}
.today-lbl b{font-weight:600}
.today-grp{font-family:var(--mono); font-size:.66rem; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3)}
.today-sub{font-size:.85rem; color:var(--ink-3); white-space:nowrap}
.today-sub.late{color:var(--stop-ink); font-weight:600}
body.zk .nav-i.zk-locked > svg:last-child{margin-left:auto; flex:none}
.today-chev{width:16px; height:16px; flex:none; stroke:var(--blue-ink); stroke-width:2; fill:none}
@media (max-width:640px){ .today-sub{white-space:normal} .today-grp{display:none} }
@media (max-width:520px){
  .today-row{flex-wrap:wrap; align-items:flex-start}
  .today-lbl{flex:1 1 0}
  .today-sub{flex-basis:100%; order:2; padding-left:21px; margin-top:-6px}
  .today-chev{order:1; margin-top:3px}
}

/* Shifts roster: colour per shift, blank days off, legend on top */
.ros{margin-top:10px; background:var(--surface); border-radius:var(--r); box-shadow:var(--sh-1); padding:14px 16px}
.ros-legend{display:flex; flex-wrap:wrap; align-items:center; gap:8px 18px; font-size:.85rem; padding-bottom:12px; border-bottom:1px solid var(--line-2)}
.ros-key{display:inline-flex; align-items:center; gap:7px; font-weight:600}
.ros-key small{font-weight:400; color:var(--ink-3); font-size:.8rem}
.ros-hint{margin-left:auto; font-size:.8rem; color:var(--ink-3)}
.ros-scroll{overflow-x:auto; margin-top:8px}
.ros-t{border-collapse:separate; border-spacing:3px 4px}
.ros-t th, .ros-t td{padding:0; text-align:center}
.ros-name{text-align:left!important; white-space:nowrap; font-size:.84rem; padding-right:12px!important; position:sticky; left:0; background:var(--surface); z-index:1}
th.ros-name{font-size:.72rem; font-family:var(--mono); letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3); font-weight:500}
.ros-d{font-size:.74rem; font-weight:600; color:var(--ink-2); min-width:22px; line-height:1.15}
.ros-d span{display:block; font-weight:400; color:var(--ink-3); font-size:.66rem}
.ros-d.we{color:var(--ink-3)}
.ros-c{display:block; width:22px; height:22px; border-radius:6px; border:0; padding:0; background:var(--sunk); cursor:default}
button.ros-c{cursor:pointer}
button.ros-c:hover{filter:brightness(.92); outline:2px solid var(--line)}
.ros-key .ros-c{width:14px; height:14px; border-radius:4px}
.ros-c.off{background:transparent; box-shadow:inset 0 0 0 1px var(--line)}
.ros-c.t-ok{background:var(--ok-soft)} .ros-c.t-info{background:var(--info-soft)} .ros-c.t-leave{background:var(--leave-soft)}
.ros-c.t-wait{background:var(--wait-soft)} .ros-c.t-duty{background:var(--duty-soft)} .ros-c.t-idle{background:var(--idle-soft)}
.ros-c.ovr{box-shadow:inset 0 0 0 2px var(--blue)}

/* Payroll section tabs */
.ptabs{display:flex; gap:8px; flex-wrap:wrap; margin-top:20px}
.ptabs .tab{font-size:.88rem; padding:8px 16px}
.rule-pills{display:inline-flex; flex-wrap:wrap; gap:6px}
/* month pickers look like the select next to them */
#view input[type="month"]{font:inherit; font-weight:600; font-size:.86rem; color:var(--ink); background:var(--raise);
  border:1.5px solid var(--line); border-radius:10px; padding:7px 10px; box-shadow:var(--sh-1); width:auto}
#view input[type="month"]:focus{border-color:var(--blue); outline:none; box-shadow:var(--sh-1), 0 0 0 4px color-mix(in srgb,var(--blue) 15%, transparent)}
.tax-reg .tax-detail{margin-top:8px; font-size:.8rem; opacity:.8}
.tax-reg .pill{vertical-align:middle; margin-left:4px}

/* menu icons tinted blue: the brand blue in light, the light text blue in dark (where --blue is a dark fill) */
:root{--blue-icon:var(--brand)}
@media (prefers-color-scheme:dark){ :root{--blue-icon:var(--blue-ink)} }

/* long lists: the first 10, then "Show all N" (30-density.js) */
.cl-x{display:none!important}
.show-all{display:block; margin-top:10px}
.card > .show-all, .dl + .show-all{margin-top:12px}
/* small coloured figures above a table inside a tab */
.mini-stats{display:flex; flex-wrap:wrap; gap:10px}
.mini-stat{display:inline-flex; align-items:baseline; gap:8px; padding:9px 14px; border-radius:12px; font-size:.84rem; color:var(--ink-2)}
.mini-stat b{font-family:var(--display); font-weight:800; font-size:1.15rem; letter-spacing:-.02em; font-variant-numeric:tabular-nums}
.mini-stat.tint-blue{background:var(--tint-blue)} .mini-stat.tint-blue b{color:var(--tint-blue-ink)}
.mini-stat.tint-mint{background:var(--tint-mint)} .mini-stat.tint-mint b{color:var(--tint-mint-ink)}
.mini-stat.tint-lilac{background:var(--tint-lilac)} .mini-stat.tint-lilac b{color:var(--tint-lilac-ink)}
.mini-stat.tint-amber{background:var(--tint-amber)} .mini-stat.tint-amber b{color:var(--tint-amber-ink)}
.mini-stat.tint-rose{background:var(--tint-rose)} .mini-stat.tint-rose b{color:var(--tint-rose-ink)}
/* a row of compact filters above a list */
.filter-bar{display:flex; flex-wrap:wrap; gap:8px; align-items:center}
.filter-bar input.yr-sel{font-weight:500; min-width:0; flex:1 1 200px; max-width:280px}
@media (max-width:640px){ .filter-bar input.yr-sel{max-width:none} }
/* on a phone a long tab bar scrolls sideways inside itself instead of wrapping */
@media (max-width:640px){
  .ptabs{flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; margin-left:-4px; margin-right:-4px; padding:2px 4px}
  .ptabs::-webkit-scrollbar{display:none}
  .ptabs .tab{flex:none; white-space:nowrap}
}
/* tab sections and a one-tab bar really hide, whatever their display */
[data-ptab][hidden], .ptabs[hidden]{display:none!important}
/* stat rows stay side by side: three across on a tablet, two on a phone */
@media (max-width:1000px){ .grid.g3:has(> .stat){grid-template-columns:repeat(3,minmax(0,1fr))!important} }
@media (max-width:640px){
  .grid.g3:has(> .stat), .grid.g5:has(> .stat){grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:12px}
  .grid > .stat{min-height:0; padding:16px}
  .grid > .stat .v{font-size:1.45rem}
}
@media (max-width:640px){ .grid > .stat:last-child:nth-child(odd){grid-column:1 / -1} }

/* a stat with nothing in it: quiet tile, so colour marks the figures that matter */
.card.stat-quiet{background:var(--raise); border:1px dashed var(--line); box-shadow:none}
.card.stat-quiet .k,.card.stat-quiet .v{color:var(--ink-3)}
.card.stat-quiet .c{color:var(--ink-3)}

/* employee home quick actions: icon tiles, two across */
.qa-grid{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:14px}
.qa-tile{display:flex; align-items:center; gap:10px; min-height:52px; padding:10px 12px; border-radius:14px;
  border:1px solid var(--line); background:var(--raise); color:var(--ink); font-weight:600; font-size:.88rem;
  text-align:left; line-height:1.25; transition:background .15s ease, border-color .15s ease, transform .15s ease}
.qa-tile:hover{background:var(--sunk); border-color:var(--blue); transform:translateY(-1px)}
.qa-tile:focus-visible{outline:2px solid var(--blue); outline-offset:2px}
.qa-tile .ic{width:30px; height:30px; border-radius:9px; display:grid; place-items:center; flex:none; color:#fff}
.qa-tile .ic svg{width:16px; height:16px; stroke:#fff; stroke-width:2; fill:none}
/* narrow phones: icon above the label, so long words ("reimbursement") fit */
@media (max-width:440px){
  .qa-tile{flex-direction:column; align-items:flex-start; gap:8px; padding:12px}
}

/* the docked assistant button says what it is */
.topbar #aiFab.docked{width:auto; padding:0 12px 0 10px; grid-auto-flow:column; gap:6px}
.topbar #aiFab.docked .ai-lbl{font-size:.82rem; font-weight:600; color:#fff; white-space:nowrap}
#aiFab:not(.docked) .ai-lbl{display:none}
@media (max-width:640px){
  .topbar #aiFab.docked{width:38px; padding:0}
  .topbar #aiFab.docked .ai-lbl{display:none}
}

/* Topbar bell: an icon, not a boxed button. The shared small-button rules gave it a border and a minimum size. */
.topbar #notifBtn{background:var(--surface); border:1px solid var(--line); box-shadow:var(--sh-1); color:var(--ink); min-width:44px; min-height:44px; width:44px; height:44px; border-radius:50%}
.topbar #notifBtn svg{width:22px; height:22px}
.topbar #notifBtn:hover{background:var(--raise); color:var(--blue-ink)}
.topbar #notifBtn:focus-visible{outline:2px solid var(--blue); outline-offset:2px}

/* ── Executive dashboard ── */
.cxo-head{display:flex; align-items:flex-end; gap:16px; flex-wrap:wrap; justify-content:space-between}
.cxo-ctl{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.cxo-ctl select{height:38px; border-radius:11px; border:1px solid var(--line); background:var(--surface); color:var(--ink); padding:0 10px; font:inherit; font-size:.86rem}
.cxo-seg{display:inline-flex; background:var(--sunk); border:1px solid var(--line); border-radius:12px; padding:3px; gap:2px}
.cxo-seg button{border:0; background:none; color:var(--ink-2); font:inherit; font-size:.84rem; font-weight:600; padding:7px 12px; border-radius:9px; cursor:pointer}
.cxo-seg button.on{background:var(--surface); color:var(--ink); box-shadow:0 1px 3px rgba(0,0,0,.08)}
.cxo-seg button:focus-visible{outline:2px solid var(--blue); outline-offset:1px}
/* a long section switch scrolls inside itself on a narrow screen instead of
   widening the page (Org structure has five sections) */
.cxo-seg{max-width:100%; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch}
.cxo-seg::-webkit-scrollbar{display:none}
.cxo-seg button{flex:0 0 auto; white-space:nowrap}
.cxo-head > *{min-width:0; max-width:100%}
.cxo-kpi .k{font-size:.74rem; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3); font-weight:600}
.cxo-kv{display:flex; align-items:flex-end; justify-content:space-between; gap:8px; margin-top:8px}
.cxo-kv .v{font-family:var(--display); font-weight:800; font-size:1.7rem; letter-spacing:-.02em; color:var(--ink); font-variant-numeric:tabular-nums}
.cxo-spark{flex:0 1 120px; min-width:48px; width:auto; max-width:40%; height:auto}
.cxo-kv .v{min-width:0}
#cxoBody .grid > *{min-width:0}
.cxo-ks{display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-top:8px; font-size:.8rem; color:var(--ink-3)}
.cxo-delta{font-weight:700; font-size:.78rem; padding:2px 8px; border-radius:999px; font-variant-numeric:tabular-nums; white-space:nowrap}
.cxo-delta.good{background:var(--ok-soft); color:var(--ok-ink)}
.cxo-delta.bad{background:var(--stop-soft); color:var(--stop-ink)}
.cxo-delta.flat{background:var(--sunk); color:var(--ink-3)}
.cxo-att ul{list-style:none; margin:10px 0 0; padding:0; display:grid; gap:8px}
.cxo-att li{display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:12px; background:var(--sunk); font-size:.9rem; color:var(--ink)}
.cxo-att li .t{flex:1}
.cxo-att li .go{color:var(--blue); font-weight:600; font-size:.82rem}
.cxo-att li .dot{width:9px; height:9px; border-radius:50%; flex:none; background:var(--info)}
.cxo-att li.stop .dot{background:var(--stop)} .cxo-att li.wait .dot{background:var(--wait)}
.cxo-legend{display:flex; flex-wrap:wrap; gap:14px; font-size:.8rem; color:var(--ink-2); margin-top:6px}
.cxo-legend.col{flex-direction:column; gap:7px}
.cxo-legend i{display:inline-block; width:10px; height:10px; border-radius:3px; margin-right:6px; vertical-align:-1px}
.cxo-donut{display:flex; gap:16px; align-items:center; flex-wrap:wrap}
.cxo-fun{display:flex; align-items:center; gap:10px; margin-bottom:8px; font-size:.84rem; color:var(--ink-2)}
.cxo-fun-bar{height:28px; border-radius:8px; display:flex; align-items:center; padding:0 10px; color:#fff; min-width:44px}
.cxo-fun span{white-space:nowrap}
.cxo-link{cursor:pointer; transition:transform .15s ease}
.cxo-link:hover{transform:translateY(-2px)}
.cxo-link:focus-visible{outline:2px solid var(--blue); outline-offset:3px; border-radius:var(--r)}
@media (prefers-reduced-motion: reduce){ .cxo-link, .cxo-link:hover{transition:none; transform:none} }

.cxo-hit{cursor:pointer}
svg .cxo-hit:hover, svg .cxo-hit:focus-visible{opacity:.78; outline:none}
div.cxo-hit:hover, span.cxo-hit:hover, tr.cxo-hit:hover td{background:var(--sunk)}
.cxo-kpi.cxo-hit:hover{background:var(--surface); box-shadow:var(--sh-2)}
.cxo-hit:focus-visible{outline:2px solid var(--blue); outline-offset:2px; border-radius:8px}
div.cxo-hit, span.cxo-hit{border-radius:8px}

/* ── Org structure ── */
.org-list{display:grid; gap:6px; max-height:420px; overflow-y:auto}
.org-row{display:flex; align-items:center; gap:10px; padding:8px 10px; border-radius:10px; background:var(--sunk)}
.org-row span{flex:1; min-width:0; display:flex; flex-direction:column}
.org-row small, .org-who small{color:var(--ink-3); font-size:.78rem}
.org-tree, .org-tree ul{list-style:none; margin:0; padding:0}
.org-tree ul{margin-left:22px; padding-left:14px; border-left:2px solid var(--line)}
.org-node{display:flex; align-items:center; gap:10px; padding:8px 10px; margin:4px 0; border-radius:12px; background:var(--sunk)}
.org-who{flex:1; min-width:0; display:flex; flex-direction:column}
.org-av{width:34px; height:34px; border-radius:50%; flex:none; display:grid; place-items:center; font-weight:700; font-size:.8rem; background:var(--blue-soft, var(--line)); color:var(--blue-ink, var(--ink))}
.org-tree details > summary{cursor:pointer; font-size:.8rem; color:var(--blue); margin:2px 0 4px 10px}

/* rail footer: long names and emails truncate instead of running under sign-out */
.rail-me{display:flex; align-items:center; gap:10px; min-width:0}
.rail-me > span:not(.av){flex:1; min-width:0; display:flex; flex-direction:column; overflow:hidden}
.rail-me > span:not(.av) b, .rail-me > span:not(.av) small{display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.rail-me .out{flex:none}

/* DM Sans: tabular figures wherever numbers line up */
body{font-variant-numeric:tabular-nums}

/* ═══════════════════════  DESIGN PASS — one shape language  ═══════════════════
   Corner sizes: 16 for surfaces (cards, panels, tables), 12 for tiles inside
   them, 10 for every control (buttons, inputs, tabs, switches). Full rounding
   is kept only for status pills, counts and avatars. One quiet shadow plus a
   hairline edge for every surface; colour glows are gone. */
:root{ --r:16px; --r-md:12px; --r-sm:10px; --top-h:64px;
  --sh-1:0 1px 2px rgba(30,32,60,.05), 0 3px 10px -4px rgba(30,32,60,.10);
  --sh-2:0 2px 4px rgba(30,32,60,.06), 0 10px 24px -10px rgba(30,32,60,.18) }
@media (prefers-color-scheme:dark){ :root{
  --sh-1:0 1px 0 rgba(255,255,255,.04), 0 6px 16px -10px rgba(0,0,0,.7);
  --sh-2:0 1px 0 rgba(255,255,255,.05), 0 14px 30px -14px rgba(0,0,0,.85) } }

/* surfaces */
.card,.tbl-wrap,.hire-req,.tpulse{border:1px solid var(--line-2); border-radius:var(--r); box-shadow:var(--sh-1)}
@media (prefers-color-scheme:dark){ .card,.tbl-wrap,.hire-req,.tpulse{border-color:var(--line)} }
.card[class*="tint-"]{border-color:transparent}
.hero-card{border-radius:var(--r); box-shadow:var(--sh-1)}
.smart a{border-radius:var(--r-md); border-color:var(--line-2)}
.pill{box-shadow:none}

/* controls */
.btn{border-radius:var(--r-sm); transition:background .15s ease, border-color .15s ease, color .15s ease}
.btn-blue{box-shadow:none}
.btn-blue:hover,.btn-ghost:hover{transform:none}
.btn-ghost:hover{background:var(--sunk); border-color:var(--line)}
.tab{border-radius:var(--r-sm)}
.viewswitch{border-radius:var(--r-sm)}
.viewswitch button{border-radius:8px}
.viewswitch button.on{box-shadow:0 1px 2px rgba(30,32,60,.12)}
#view input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),
#view select,#view textarea,#modal input:not([type=checkbox]):not([type=radio]),#modal select,#modal textarea{border-radius:var(--r-sm)}

/* topbar and rail header share one line */
.topbar{height:var(--top-h); padding-top:0; padding-bottom:0}
.rail-brand{height:var(--top-h); padding:0 22px; border-bottom:1px solid var(--line); flex:none}

/* rail: flat items, one-colour icons, the active item a quiet tint */
.rail-nav{scrollbar-width:thin; scrollbar-color:transparent transparent}
.rail-nav:hover{scrollbar-color:var(--line) transparent}
.rail-nav::-webkit-scrollbar{width:6px}
.rail-nav::-webkit-scrollbar-thumb{background:transparent; border-radius:3px}
.rail-nav:hover::-webkit-scrollbar-thumb{background:var(--line)}
.nav-i{border-radius:var(--r-sm); padding:8px 10px; gap:10px}
.nav-i .ic{width:20px; height:20px; background:none!important; border-radius:0}
.nav-i .ic svg{width:18px; height:18px; stroke:currentColor}
.nav-i{color:var(--ink-2)} .nav-i .ic{color:var(--ink-3)}
.nav-i:hover .ic{color:var(--ink)}
.nav-i.on{background:var(--tint-blue); color:var(--tint-blue-ink); font-weight:650; box-shadow:none}
.nav-i.on .ic{color:var(--tint-blue-ink); background:none!important}
.nav-i.on .cnt{background:var(--blue); color:#fff}

/* tables: the row is the action — a quiet "Open" link instead of a button per row */
.tbl tbody tr{transition:background .12s ease}
.tbl tbody tr:hover td{background:color-mix(in srgb, var(--sunk) 55%, transparent)}
.tbl td:last-child > .btn-ghost.btn-sm:only-child{border-color:transparent; background:none; color:var(--blue-ink);
  padding:6px 10px; font-weight:600}
.tbl td:last-child > .btn-ghost.btn-sm:only-child::after{content:"›"; margin-left:2px}
.tbl td:last-child > .btn-ghost.btn-sm:only-child:hover{background:var(--tint-blue)}

/* hiring: requisition → stages → candidates is two boxes deep, not three */
.hire-col{background:none; border-radius:0; padding:0 2px; border-top:2px solid var(--line-2)}
.hire-col > .ch{padding:8px 2px 4px}
.hire-cd{border-radius:var(--r-md); border-color:var(--line-2); box-shadow:var(--sh-1)}
.hire-cd:hover{border-color:var(--blue)}
.hire-board{border-radius:var(--r-md)}

/* Connect: one panel, flat lists, the shortcut hint inside the search field */
.slk{border-color:var(--line-2); border-radius:var(--r); box-shadow:var(--sh-1)}
.slk-top{background:var(--surface)}
.slk-search .slk-jump{position:absolute; right:6px; top:50%; transform:translateY(-50%); height:22px; padding:0 7px;
  border-radius:6px; font-size:.7rem; color:var(--ink-3); background:var(--sunk); border:0}
.slk-search input{padding-right:64px}
.slk-new,.slk-status{background:none; box-shadow:none; border:0; border-radius:var(--r-sm); font-weight:600; color:var(--ink-2); margin:0}
.slk-new:hover,.slk-status:hover{background:var(--sunk); color:var(--ink)}
.slk-ch{border-radius:var(--r-sm)}
.slk-ch.on{background:var(--tint-blue); color:var(--tint-blue-ink)}
.slk-ch.on .slk-h,.slk-ch.on .slk-b{color:var(--tint-blue-ink)}

/* ═══════════════════════  BORDERS — one edge, drawn the same everywhere  ═══════
   The surface (#EFF2FC) sat on a lighter hairline (--line-2), which read as a
   white rim around every card on the lavender ground. Every surface edge is
   now --line at reduced strength: a quiet, darker-than-the-card outline.
   Zero-value stat cards keep the solid edge (no dashed outline) and only
   quieten their number. */
:root{ --edge:var(--line) }
@media (prefers-color-scheme:dark){ :root{ --edge:var(--line) } }
.card,.tbl-wrap,.hire-req,.tpulse,.slk,.smart a,.hire-cd,.hire-board{border:1px solid var(--edge)}
.card[class*="tint-"],.hero-card{border-color:transparent}
.card.stat-quiet{background:var(--surface); border:1px solid var(--edge); box-shadow:var(--sh-1)}
.card.stat-quiet .v{color:var(--ink-3)}
.tbl td{border-bottom-color:var(--edge)}
/* lists inside a card are rows divided by a rule, not boxes inside the box */
.org-row,.org-node,.cxo-att li{background:none; border-radius:0; border-bottom:1px solid var(--edge); padding:10px 2px}
.org-row:last-child,.cxo-att li:last-child{border-bottom:0}
.org-list{gap:0}
.cxo-att{gap:0}

/* ═══ sign-in scene: the sky follows the viewer's clock; a feed of workday
   moments rises over it ═══ */
.ls{position:relative; overflow:hidden; color:#fff; isolation:isolate}
.ls-sky{position:absolute; inset:-10%; z-index:-3; background-size:120% 120%; animation:lsSky 22s ease-in-out infinite alternate}
.ls-morning .ls-sky{background-image:linear-gradient(170deg,#FF9F7A 0%,#F2708B 30%,#9B6BF0 62%,#5B7CFF 86%,#3B5FE2 100%)}
.ls-day .ls-sky{background-image:linear-gradient(170deg,#4FACFE 0%,#4C7CF5 38%,#3B5FE2 68%,#2E3FB8 100%)}
.ls-evening .ls-sky{background-image:linear-gradient(170deg,#3B2A7A 0%,#7A3FD0 32%,#D0559A 62%,#F5866A 84%,#FBB27A 100%)}
.ls-night .ls-sky{background-image:linear-gradient(165deg,#0A0F24 0%,#151C44 45%,#2A1E5C 80%,#3B2A7A 100%)}
@keyframes lsSky{from{background-position:0% 0%} to{background-position:100% 100%}}
.ls-stars{position:absolute; inset:0; z-index:-2; pointer-events:none}
.ls-stars i{position:absolute; width:3px; height:3px; border-radius:50%; background:#fff; opacity:.2; animation:lsTwinkle 3.6s ease-in-out infinite}
@keyframes lsTwinkle{0%,100%{opacity:.15} 50%{opacity:.95}}
.ls-orb{position:absolute; z-index:-1; width:110px; height:110px; margin:-55px 0 0 -55px; border-radius:50%; transition:transform .6s ease}
.ls-orb.sun{background:radial-gradient(circle,#FFF6D8 0%,#FFD27A 38%,rgba(255,190,90,.0) 70%); filter:blur(.5px); animation:lsPulse 6s ease-in-out infinite}
.ls-orb.moon{width:78px; height:78px; margin:-39px 0 0 -39px; background:radial-gradient(circle at 38% 38%,#FFFFFF 0%,#E3E8FF 45%,#B9C4F2 70%);
  box-shadow:0 0 60px 16px rgba(200,210,255,.25)}
@keyframes lsPulse{0%,100%{transform:scale(1)} 50%{transform:scale(1.08)}}
.ls-cloud{position:absolute; z-index:-1; height:38px; border-radius:40px; background:rgba(255,255,255,.55); filter:blur(6px); opacity:.7}
.ls-cloud.c1{width:200px; top:16%; left:-220px; animation:lsCloud 48s linear infinite}
.ls-cloud.c2{width:150px; top:30%; left:-160px; animation:lsCloud 64s linear 12s infinite; opacity:.5}
@keyframes lsCloud{to{transform:translateX(160vw)}}
.ls-copy{position:relative; text-shadow:0 2px 18px rgba(10,15,36,.28)}
.ls-clock{margin:0; font-size:.82rem; font-weight:600; letter-spacing:.04em; opacity:.85}
.ls-greet{margin:6px 0 0; font-family:var(--display); font-weight:800; font-size:clamp(2.4rem,1.4rem + 3vw,4rem); line-height:1; letter-spacing:-.045em;
  text-shadow:0 8px 40px rgba(10,15,36,.25); animation:lsIn .9s cubic-bezier(.2,.8,.2,1) both}
.ls-sub{margin:12px 0 0; font-size:1rem; line-height:1.55; max-width:40ch; opacity:.9; animation:lsIn .9s cubic-bezier(.2,.8,.2,1) .12s both}
@keyframes lsIn{from{opacity:0; transform:translateY(18px)} to{opacity:1; transform:none}}
.ls-stage{position:relative; transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.ls-feed{display:flex; flex-direction:column; gap:12px}
.ls-card{position:relative; display:flex; align-items:center; gap:14px; padding:14px 16px; border-radius:20px; max-width:420px;
  background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.28); backdrop-filter:blur(14px) saturate(1.3); -webkit-backdrop-filter:blur(14px) saturate(1.3);
  box-shadow:0 18px 40px -18px rgba(10,15,36,.45); opacity:0; transform:translateY(26px) scale(.96);
  transition:opacity .55s ease, transform .6s cubic-bezier(.2,.9,.25,1.15)}
.ls-card:nth-child(2){margin-left:34px} .ls-card:nth-child(3){margin-left:12px}
.ls-k-stamp .ls-tx{padding-right:84px}
.ls-card.in{opacity:1; transform:none}
.ls-card.out{opacity:0; transform:translateY(-22px) scale(.97)}
.ls-tx{display:flex; flex-direction:column; min-width:0}
.ls-tx small{font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; opacity:.8}
.ls-tx strong{font-size:1.05rem; font-weight:800; margin-top:1px; white-space:nowrap}
.ls-tx em{font-style:normal; font-size:.82rem; opacity:.85}
.ls-ic{width:44px; height:44px; border-radius:14px; display:grid; place-items:center; flex:none; font-weight:800; font-size:1.15rem; background:rgba(255,255,255,.22)}
.ls-ic.pay{background:linear-gradient(135deg,#34D399,#10B981)} .ls-ic.leave{background:linear-gradient(135deg,#FCD34D,#F59E0B)}
.ls-ic.chat{background:linear-gradient(135deg,#F472B6,#C084FC)}
.ls-ring{position:relative; width:44px; height:44px; flex:none}
.ls-ring svg{width:44px; height:44px; transform:rotate(-90deg)}
.ls-ring circle{fill:none; stroke:rgba(255,255,255,.25); stroke-width:4}
.ls-ring circle.p{stroke:#34D399; stroke-linecap:round; stroke-dasharray:113; stroke-dashoffset:113}
.ls-card.in .ls-ring circle.p{animation:lsRing 1.2s cubic-bezier(.3,.8,.3,1) .2s forwards}
@keyframes lsRing{to{stroke-dashoffset:0}}
.ls-ring b{position:absolute; inset:0; display:grid; place-items:center; font-size:1rem; opacity:0; animation:lsPop .4s ease 1.2s forwards}
.ls-card:not(.in) .ls-ring b{animation:none}
@keyframes lsPop{from{opacity:0; transform:scale(.4)} to{opacity:1; transform:none}}
.ls-stamp{position:absolute; right:14px; top:50%; padding:4px 10px; border:2px solid #34D399; border-radius:8px; color:#D1FAE5; font-size:.72rem; font-weight:900;
  letter-spacing:.1em; text-transform:uppercase; transform:translateY(-50%) rotate(-10deg) scale(2.2); opacity:0}
.ls-card.in .ls-stamp{animation:lsStamp .45s cubic-bezier(.2,1.4,.4,1) .7s forwards}
@keyframes lsStamp{to{opacity:1; transform:translateY(-50%) rotate(-10deg) scale(1)}}
.ls-typing{display:inline-flex; gap:4px; align-items:center; height:22px}
.ls-typing i{width:7px; height:7px; border-radius:50%; background:#fff; opacity:.5; animation:lsDot 1s ease-in-out infinite}
.ls-typing i:nth-child(2){animation-delay:.15s} .ls-typing i:nth-child(3){animation-delay:.3s}
@keyframes lsDot{0%,100%{transform:translateY(0); opacity:.4} 50%{transform:translateY(-4px); opacity:1}}
.ls-k-chat .ls-msg{display:none} .ls-k-chat.sent .ls-typing{display:none} .ls-k-chat.sent .ls-msg{display:block; font-size:.95rem; font-weight:700; opacity:1; animation:lsIn .4s ease both}
.ls-still .ls-sky,.ls-still .ls-stars i,.ls-still .ls-orb,.ls-still .ls-cloud,.ls-still .ls-greet,.ls-still .ls-sub{animation:none}
.ls-still .ls-card{transition:none}
@media (prefers-reduced-motion:reduce){ .ls *{animation:none !important; transition:none !important} }

/* ── vivid dawn and dusk: deep sky above, a glowing horizon, a big low sun
   with slow rays, and an office skyline whose windows light up after dark ── */
.ls-morning .ls-sky{background-image:linear-gradient(180deg,#3F5EFB 0%,#8C5CF7 34%,#FF6FA3 64%,#FF9E6B 84%,#FFD27A 100%) !important}
.ls-day .ls-sky{background-image:linear-gradient(180deg,#2F6BFF 0%,#4F8CFF 40%,#7DB2FF 78%,#BFE0FF 100%) !important}
.ls-evening .ls-sky{background-image:linear-gradient(180deg,#1B1446 0%,#4A2384 30%,#B8357F 60%,#FF6B57 84%,#FFB55C 100%) !important}
.ls-night .ls-sky{background-image:linear-gradient(180deg,#05081C 0%,#0E1640 50%,#241A5C 85%,#3A2A78 100%) !important}
.ls-sky{inset:0 !important; background-size:100% 100% !important; animation:lsBreathe 14s ease-in-out infinite alternate !important}
@keyframes lsBreathe{from{filter:saturate(1) brightness(1)} to{filter:saturate(1.18) brightness(1.06)}}
.ls-horizon{position:absolute; left:-10%; right:-10%; bottom:-6%; height:46%; z-index:-2; pointer-events:none;
  background:radial-gradient(60% 70% at var(--sx,70%) 100%, var(--hz,#FFD27A) 0%, transparent 70%); opacity:.85; animation:lsHz 7s ease-in-out infinite alternate}
@keyframes lsHz{from{opacity:.65} to{opacity:.95}}
.ls-morning{--hz:#FFE29A} .ls-evening{--hz:#FF9A5C} .ls-day{--hz:#E6F3FF} .ls-night{--hz:#5B4BC4}
.ls-night .ls-horizon{opacity:.35}
.ls-orb.sun{width:150px !important; height:150px !important; margin:-75px 0 0 -75px !important;
  background:radial-gradient(circle,#FFFDF2 0%,#FFE7A3 30%,#FFC46B 46%,rgba(255,170,90,0) 72%) !important; filter:none !important}
.ls-morning .ls-orb.sun, .ls-evening .ls-orb.sun{width:220px !important; height:220px !important; margin:-110px 0 0 -110px !important;
  background:radial-gradient(circle,#FFF8E1 0%,#FFD180 22%,#FF9E5E 40%,rgba(255,120,80,0) 70%) !important}
.ls-orb.sun::before{content:""; position:absolute; inset:-60%; border-radius:50%; pointer-events:none;
  background:repeating-conic-gradient(from 0deg, rgba(255,240,200,.18) 0deg 6deg, transparent 6deg 18deg);
  -webkit-mask:radial-gradient(circle, transparent 22%, #000 32%, transparent 70%); mask:radial-gradient(circle, transparent 22%, #000 32%, transparent 70%);
  animation:lsRays 60s linear infinite}
.ls-day .ls-orb.sun::before{opacity:.6}
@keyframes lsRays{to{transform:rotate(360deg)}}
.ls-city{position:absolute; left:0; right:0; bottom:0; width:100%; height:30%; min-height:120px; z-index:-1; pointer-events:none}
.ls-morning .ls-city{fill:#5A2E6E; opacity:.55} .ls-day .ls-city{fill:#2A4BC8; opacity:.28}
.ls-evening .ls-city{fill:#1E0F3A; opacity:.85} .ls-night .ls-city{fill:#080B22; opacity:.95}
.ls-city .w{fill:#FFD67A; opacity:.15; animation:lsWin 5s ease-in-out infinite}
@keyframes lsWin{0%,100%{opacity:.25} 40%{opacity:.95} 70%{opacity:.6}}
.ls-cloud{background:rgba(255,255,255,.7) !important}
.ls-evening .ls-cloud, .ls-morning .ls-cloud{background:rgba(255,200,170,.55) !important}

/* per time of day: birds crossing the sunrise, shooting stars at night,
   and icon colours for the moments */
.ls-birds{position:absolute; top:22%; left:-12%; z-index:-1; animation:lsFly 26s linear infinite}
.ls-birds i{position:absolute; width:18px; height:8px; border-top:2.5px solid rgba(60,30,80,.55); border-radius:50% 50% 0 0 / 100% 100% 0 0}
.ls-birds i::after{content:""; position:absolute; left:16px; top:-2.5px; width:18px; height:8px; border-top:2.5px solid rgba(60,30,80,.55); border-radius:50% 50% 0 0 / 100% 100% 0 0}
.ls-birds i:nth-child(1){left:0; top:0; animation:lsFlap .9s ease-in-out infinite}
.ls-birds i:nth-child(2){left:46px; top:-16px; transform:scale(.8); animation:lsFlap .9s ease-in-out .2s infinite}
.ls-birds i:nth-child(3){left:84px; top:8px; transform:scale(.65); animation:lsFlap .9s ease-in-out .4s infinite}
@keyframes lsFly{to{transform:translate(140vw,-60px)}}
@keyframes lsFlap{50%{margin-top:3px}}
.ls-shoot{position:absolute; top:12%; left:10%; width:140px; height:2px; z-index:-1; border-radius:2px;
  background:linear-gradient(90deg,rgba(255,255,255,0),#fff); opacity:0; transform:rotate(-18deg); animation:lsShoot 9s ease-in 2s infinite}
.ls-shoot.s2{top:24%; left:40%; animation-delay:6.5s; animation-duration:11s}
@keyframes lsShoot{0%{opacity:0; transform:rotate(-18deg) translateX(0)} 3%{opacity:1} 10%{opacity:0; transform:rotate(-18deg) translateX(420px)} 100%{opacity:0}}
.ls-ic.meet{background:linear-gradient(135deg,#60A5FA,#6366F1); font-size:.9rem}
.ls-ic.todo{background:linear-gradient(135deg,#F472B6,#FB7185)}
.ls-ic.exp{background:linear-gradient(135deg,#34D399,#059669)}
.ls-ic.ot{background:linear-gradient(135deg,#A78BFA,#7C3AED)}
.ls-ic.leave{background:linear-gradient(135deg,#FCD34D,#F59E0B)}
.ls-city{height:22% !important; min-height:100px !important}

/* readability on every sky: darker glass, and a leaving card folds away
   instead of collapsing on top of the next one */
.ls-card{background:rgba(20,14,56,.34) !important; border-color:rgba(255,255,255,.22) !important; max-height:140px; overflow:hidden;
  transition:opacity .5s ease, transform .6s cubic-bezier(.2,.9,.25,1.15), max-height .5s ease, padding .5s ease, margin .5s ease !important}
.ls-card.out{opacity:0 !important; max-height:0 !important; padding-top:0 !important; padding-bottom:0 !important; margin-top:-12px !important; border-width:0 !important}
.ls-tx strong{white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.ls-tx em{white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.ls-greet{text-shadow:0 4px 30px rgba(10,10,40,.35) !important}

/* cards keep their size; on a phone the scene is a smaller, whole picture */
.ls-card{flex-shrink:0}
.ls-compact .ls-orb.sun, #login .ls-orb.sun{width:130px !important; height:130px !important; margin:-65px 0 0 -65px !important}
.ls-compact .ls-orb.sun::before{inset:-45% !important}
.ls-compact .ls-orb.moon{width:58px !important; height:58px !important; margin:-29px 0 0 -29px !important}
.ls-compact .ls-city{height:90px !important; min-height:0 !important}
.ls-compact .ls-feed{min-height:76px}
.ls-compact .ls-card.out{position:absolute; left:0; right:0}

/* professional tax by state (27-professional-tax.js): a compact slab list per row */
.pt-tbl td{vertical-align:top}
.pt-slabs{list-style:none; margin:0; padding:0; display:grid; gap:3px; min-width:240px}
.pt-slabs li{display:flex; justify-content:space-between; gap:14px; font-size:.86rem; font-variant-numeric:tabular-nums}
.pt-slabs li span{color:var(--ink-2)}
.pt-slabs li b{font-weight:700; white-space:nowrap}
.pt-per{font-weight:500; color:var(--ink-3); font-size:.8rem}
.pt-nil{color:var(--ink-3); font-weight:600}
@media (max-width:760px){
  .pt-slabs{min-width:0; width:100%}
  .pt-slabs li{flex-wrap:wrap; column-gap:8px; row-gap:0}
  .pt-slabs li b{white-space:normal; margin-left:auto; text-align:right}
}
@media (max-width:640px){
  .pt-tbl td.pt-slab-cell{grid-template-columns:minmax(0,1fr); gap:6px; align-items:start}
  .pt-tbl td.pt-slab-cell[data-label] > *{grid-column:1}
  .pt-tbl td.pt-slab-cell > .pill{justify-self:start}
}
.pt-sub{font-size:.74rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-3); margin:8px 0 3px}

/* ═══ CONNECT HOME (28-connect-home.js): the main pane with no conversation
   open — same look as the employee app's and the phone's Connect ═══ */
.cnh{flex:1; overflow-y:auto; padding:26px 30px 30px; display:flex; flex-direction:column; gap:14px}
.cnh-hd{display:flex; justify-content:space-between; align-items:flex-end; gap:12px; flex-wrap:wrap}
.cnh-hd h2{font-family:var(--display); font-weight:800; font-size:1.5rem; letter-spacing:-.01em; margin:0}
.cnh-hd p{margin:4px 0 0; font-size:.9rem; font-weight:700}
.cnh-hd p.due{color:var(--blue)} .cnh-hd p.ok{color:var(--ok)}
.cnh-k{font-size:.8rem; color:var(--ink-3)}
.cnh-k kbd{background:var(--sunk); border:1px solid var(--line); border-radius:5px; padding:1px 6px; font-size:.76rem; font-family:var(--mono)}
.cnh-quick{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px}
.cnh-quick button{display:flex; align-items:center; gap:10px; padding:14px 16px; border-radius:16px; border:0; font-size:.88rem; font-weight:700; text-align:left;
  transition:transform .15s ease, box-shadow .15s ease}
.cnh-quick button:hover{transform:translateY(-2px); box-shadow:var(--sh-1)}
.cnh-quick button:focus-visible{outline:2px solid var(--blue); outline-offset:2px}
.cnh-quick svg{width:20px; height:20px; flex:none} .cnh-quick b{font-size:1.2rem; line-height:1; width:20px; text-align:center; flex:none}
.cnh-quick .t-blue{background:var(--tint-blue); color:var(--tint-blue-ink)} .cnh-quick .t-lilac{background:var(--tint-lilac); color:var(--tint-lilac-ink)}
.cnh-quick .t-mint{background:var(--tint-mint); color:var(--tint-mint-ink)} .cnh-quick .t-amber{background:var(--tint-amber); color:var(--tint-amber-ink)}
.cnh-grid{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:14px}
.cnh-sec{display:flex; justify-content:space-between; align-items:center; margin:6px 2px 8px}
.cnh-sec span{font-size:.72rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3)}
.cnh-link{background:none; border:0; padding:0; color:var(--blue); font-weight:700; font-size:.8rem; cursor:pointer}
.cnh-link:hover{text-decoration:underline}
.cnh-ph .cnh-link{font-size:.88rem; margin-left:4px}
.cnh-ph{padding:18px 16px; border-radius:16px; background:var(--sunk); color:var(--ink-3); font-size:.88rem}
.cnh-next{display:flex; align-items:center; gap:12px; width:100%; padding:14px 16px; border:0; border-radius:18px; text-align:left; color:#fff;
  background:linear-gradient(120deg,#3B5FE2,#7C5CFC); box-shadow:0 12px 28px -14px rgba(59,95,226,.8)}
.cnh-next .ic{width:42px; height:42px; border-radius:13px; background:rgba(255,255,255,.18); display:grid; place-items:center; flex:none}
.cnh-next .ic svg{width:21px; height:21px}
.cnh-next .mid{flex:1; min-width:0; display:flex; flex-direction:column}
.cnh-next small{font-size:.66rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; opacity:.85}
.cnh-next b{font-size:1rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis} .cnh-next em{font-style:normal; font-size:.78rem; opacity:.85}
.cnh-next .go{background:#fff; color:#3B5FE2; font-weight:800; font-size:.8rem; padding:7px 14px; border-radius:999px}
.cnh-online{display:flex; gap:10px; overflow-x:auto; padding:10px 12px; border-radius:16px; background:var(--sunk); scrollbar-width:thin}
.cnh-online button{display:flex; flex-direction:column; align-items:center; gap:5px; width:58px; flex:none; background:none; border:0; font-size:.74rem; font-weight:600; color:var(--ink-2)}
.cnh-online span{max-width:58px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.cnh-list{border-radius:16px; background:var(--raise,var(--surface)); box-shadow:var(--sh-1); overflow:hidden}
.cnh-row{display:flex; align-items:center; gap:12px; width:100%; padding:11px 14px; border:0; background:none; text-align:left; border-bottom:1px solid var(--line-2,var(--line))}
.cnh-row:last-child{border-bottom:0} .cnh-row:hover{background:var(--sunk)}
.cnh-mid{flex:1; min-width:0; display:flex; flex-direction:column; gap:2px}
.cnh-top{display:flex; justify-content:space-between; gap:10px}
.cnh-top b{font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis} .cnh-top b.un{font-weight:800}
.cnh-top small{font-size:.74rem; color:var(--ink-3); flex:none} .cnh-top small.new{color:var(--blue); font-weight:800}
.cnh-prev{font-size:.84rem; color:var(--ink-3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis} .cnh-prev.strong{color:var(--ink-2); font-weight:600}
.cnh-miss{color:var(--stop-ink); display:inline-flex; align-items:center; gap:5px} .cnh-miss svg{width:14px; height:14px}
.cnh-empty{padding:22px; text-align:center; color:var(--ink-3); border-radius:16px; background:var(--sunk)}
.cnh .ch-av{position:relative; flex:none; border-radius:50%; display:grid; place-items:center; font-family:var(--display); font-weight:800}
.cnh .ch-av.t0{background:var(--tint-blue); color:var(--tint-blue-ink)} .cnh .ch-av.t1{background:var(--tint-mint); color:var(--tint-mint-ink)}
.cnh .ch-av.t2{background:var(--tint-lilac); color:var(--tint-lilac-ink)} .cnh .ch-av.t3{background:var(--tint-amber); color:var(--tint-amber-ink)}
.cnh .ch-av.t4{background:var(--tint-rose); color:var(--tint-rose-ink)} .cnh .ch-av.t5{background:var(--sunk); color:var(--ink-2)}
.cnh .ch-on{position:absolute; right:0; bottom:0; width:28%; height:28%; border-radius:50%; background:var(--ok); border:2.5px solid var(--surface)}
.cnh .ch-tile{width:40px; height:40px; border-radius:12px; flex:none; display:grid; place-items:center; font-weight:800; font-size:1.05rem}
.cnh .ch-tile svg{width:20px; height:20px}
.cnh .ch-tile.chan{background:linear-gradient(135deg,var(--tint-lilac),var(--tint-blue)); color:var(--tint-lilac-ink)}
.cnh .ch-tile.grp{background:var(--tint-mint); color:var(--tint-mint-ink)}
@media (max-width:900px){ .cnh-quick{grid-template-columns:repeat(2,minmax(0,1fr))} .cnh-grid{grid-template-columns:minmax(0,1fr)} }
@media (max-width:640px){ .cnh{padding:18px 14px 22px} .cnh-k{display:none} }
@media (prefers-reduced-motion:reduce){ .cnh-quick button{transition:none} .cnh-quick button:hover{transform:none} }

/* ═══ pay so far (23-pay-so-far.js / 31-pay-so-far.js): this month's pay to
   date from attendance ═══ */
.sf-card{display:flex; flex-direction:column; gap:12px; margin-bottom:12px}
.sf-top .k{font-size:.72rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3)}
.sf-top .v{font-family:var(--display); font-weight:800; font-size:1.9rem; letter-spacing:-.02em; margin-top:2px; font-variant-numeric:tabular-nums}
.sf-top .c{font-size:.82rem; color:var(--ink-3)}
.sf-bar{height:8px; border-radius:99px; background:var(--sunk); overflow:hidden}
.sf-bar i{display:block; height:100%; border-radius:99px; background:linear-gradient(90deg,var(--blue),var(--ok))}
.sf-chips{display:flex; flex-wrap:wrap; gap:6px}
.sf-chips span{font-size:.76rem; font-weight:700; padding:5px 10px; border-radius:99px}
.sf-chips .ok{background:var(--ok-soft); color:var(--ok-ink)} .sf-chips .info{background:var(--info-soft); color:var(--info-ink)}
.sf-chips .stop{background:var(--stop-soft); color:var(--stop-ink)} .sf-chips .wait{background:var(--wait-soft); color:var(--wait-ink)}
.sf-rows{display:flex; flex-direction:column; gap:6px; font-size:.86rem}
.sf-rows div{display:flex; justify-content:space-between; gap:12px}
.sf-rows span{color:var(--ink-2)} .sf-rows b{font-variant-numeric:tabular-nums}
.sf-rows .stop span, .sf-rows .stop b{color:var(--stop-ink)}
.sf-note{margin:0; font-size:.8rem; color:var(--wait-ink); line-height:1.45}
.sf-proj{display:flex; justify-content:space-between; align-items:center; gap:12px; padding:10px 12px; border-radius:12px; background:var(--sunk); font-size:.84rem}
.sf-proj span{color:var(--ink-2)} .sf-proj b{font-size:1rem; font-variant-numeric:tabular-nums}

/* the sign-in moments' icon colours: one for each part of the app */
.ls-ic.shift{background:linear-gradient(135deg,#22D3EE,#0891B2)}
.ls-ic.learn{background:linear-gradient(135deg,#2DD4BF,#0D9488)}
.ls-ic.ai{background:linear-gradient(135deg,#818CF8,#A855F7)}
.ls-ic.hol{background:linear-gradient(135deg,#FDBA74,#F97316)}
.ls-ic.trip{background:linear-gradient(135deg,#38BDF8,#2563EB)}
.ls-ic.tax{background:linear-gradient(135deg,#FB923C,#EA580C)}
.ls-ic.help{background:linear-gradient(135deg,#94A3B8,#475569)}
.ls-ic.sec{background:linear-gradient(135deg,#4ADE80,#15803D)}
.ls-ic.goal{background:linear-gradient(135deg,#A3E635,#65A30D)}
.ls-ic.doc{background:linear-gradient(135deg,#FDA4AF,#E11D48)}
.ls-ic.hire{background:linear-gradient(135deg,#E879F9,#C026D3)}

/* ═══════════════════════  AURORA — the console's take on the app's look  ═════
   Same family as the phone and web app (mobile/lib/core/aurora.dart,
   app.css AURORA), tuned for a full workday: the colour wash sits behind the
   frame, the side bar and top bar are frosted, the main action is the
   blue → violet pill — but the cards that hold tables and forms stay solid
   and quiet, so small figures read cleanly all day. */
:root{
  /* day surfaces are the tokens' own (--paper #E4EBFB, --surface #EFF2FC,
     --raise #F5F7FE, DESIGN-TOKENS.md): cool panels on the wash, never white */
  /* brand, blue and blue-press come from the tokens at the top (DESIGN-TOKENS.md):
     white text on them clears 4.5:1, which the lighter Aurora blues did not */
  --au-action:linear-gradient(135deg,var(--brand),var(--violet));
  --au-warm:linear-gradient(135deg,#FF7EB6,#FFB38A);
  --au-frost:rgba(255,255,255,.55); --au-edge:rgba(255,255,255,.95);
  --au-wash:radial-gradient(1100px 700px at 8% -10%, #C9D8FF, transparent 70%),
            radial-gradient(900px 640px at 100% 12%, #FFD3E6, transparent 70%),
            radial-gradient(1200px 700px at 45% 110%, #FFE2CF, transparent 72%), var(--paper);
  --grad-blue:var(--au-action); --grad-ai:var(--au-action);
  --r:20px;
}
@media (prefers-color-scheme:dark){ :root{
  --paper:#0E1224; --surface:#161B30; --raise:#1E2440;
  --au-frost:rgba(255,255,255,.05); --au-edge:rgba(255,255,255,.10);
  --au-wash:radial-gradient(1100px 700px at 8% -10%, #24317A, transparent 70%),
            radial-gradient(900px 640px at 100% 12%, #4A2466, transparent 70%),
            radial-gradient(1200px 700px at 45% 110%, #133650, transparent 72%), #0E1224;
} }
body{background:var(--au-wash); background-attachment:fixed}
#main{background:none}

/* the frame: frosted side bar and top bar over the wash */
#rail{background:var(--au-frost); border-right:1px solid var(--line); backdrop-filter:saturate(1.3) blur(18px)}
.topbar{background:color-mix(in srgb,var(--paper) 55%, transparent); border-bottom:1px solid var(--line)}
.nav-i:hover{background:color-mix(in srgb,var(--surface) 70%, transparent)}
.nav-i.on,.nav-i.on:hover{background:var(--au-action); color:var(--on-brand); box-shadow:0 10px 22px -12px var(--brand)}
.nav-i.on svg{stroke:#fff}
.rail-upgrade{background:var(--au-action)}

/* avatars: the app's pink → peach disc */
.rail-me .av,.prof-av,.ep-av{background:var(--au-warm); color:#fff}

/* buttons: pills — the main one blue → violet, the quieter one a gradient ring */
.btn,.btn-sm{border-radius:999px}
.btn-blue{background:var(--au-action); color:var(--on-brand); border-color:transparent; box-shadow:0 10px 22px -12px var(--brand)}
.btn-blue:hover{background:linear-gradient(135deg,var(--blue-press),var(--violet))}
.btn-ghost{color:var(--blue-ink); border:1.5px solid transparent;
  background:linear-gradient(var(--surface),var(--surface)) padding-box, var(--au-action) border-box}
.btn-ghost:hover{background:linear-gradient(var(--raise),var(--raise)) padding-box, var(--au-action) border-box}
@media (prefers-color-scheme:dark){ .btn-ghost{color:#C9D6FF} }

/* cards stay solid for tables and forms: a white (navy in dark) panel, a soft
   edge, a gentle lift */
/* no background here: cards already take --surface (white / navy), and the
   ones with their own colour (.hero-card, tinted tiles) must keep it */
.card,.tbl-wrap{border:1px solid var(--line); box-shadow:var(--sh-1)}
/* the home page's Today queue is the one frosted card — it sits on the wash */
.card.today{background:color-mix(in srgb,var(--surface) 78%, transparent); border:1px solid var(--line); box-shadow:var(--sh-1)}

/* ═══════════  BUTTONS = TACTILE KEYS · ICONS = APPLE TILES  ═══════════
   Same picks as the apps: a button has a solid edge under it and presses
   down on click; icons sit on Apple-style tiles (rounded square, lighter at
   the top, white glyph). Console sizes stay compact. */
/* the quieter key has a face of its own (a soft blue with a hairline edge):
   a white face vanished on white cards and pop-ups, leaving loose blue text
   over a line */
:root{ --key:var(--brand); --key-edge:#2B45C0; --key-ghost:#EEF2FF; --key-ghost-line:#CBD5F5; --key-ghost-edge:#B9C5EE; --key-ghost-ink:#2E44B8 }
@media (prefers-color-scheme:dark){ :root{ --key-ghost:#262E52; --key-ghost-line:rgba(255,255,255,.12); --key-ghost-edge:#0F1428; --key-ghost-ink:#C9D6FF } }
.btn,.btn-sm{border-radius:14px; white-space:nowrap; transition:transform .08s ease, box-shadow .08s ease, background .15s ease}
.btn-blue,.btn-blue:hover{background:var(--key); color:#fff; border:0; transform:none;
  box-shadow:0 4px 0 var(--key-edge), 0 10px 16px -8px color-mix(in srgb,var(--key-edge) 55%, transparent)}
.btn-blue:hover{background:var(--blue-press)}
.btn-ghost,.btn-ghost:hover{background:var(--key-ghost); color:var(--key-ghost-ink); border:0; transform:none;
  box-shadow:inset 0 0 0 1px var(--key-ghost-line), 0 4px 0 var(--key-ghost-edge), 0 10px 16px -12px rgba(60,70,140,.35)}
.btn-ghost:hover{background:color-mix(in srgb,var(--key-ghost) 88%, var(--brand))}
.btn-sm.btn-blue{box-shadow:0 3px 0 var(--key-edge)}
.btn-sm.btn-ghost{box-shadow:inset 0 0 0 1px var(--key-ghost-line), 0 3px 0 var(--key-ghost-edge)}
.btn:active,.btn-sm:active{transform:translateY(3px)!important; box-shadow:0 1px 0 var(--key-edge)!important}
.btn-ghost:active{box-shadow:inset 0 0 0 1px var(--key-ghost-line), 0 1px 0 var(--key-ghost-edge)!important}

/* Apple-style icon tiles in the menu and in rows */
.nav-i .ic,.row .ic,.lrow .ei{position:relative; border-radius:26%!important; overflow:hidden;
  box-shadow:inset 0 -1px 0 rgba(0,0,0,.12), 0 3px 8px -4px rgba(0,0,0,.35)}
.nav-i .ic::before,.row .ic::before,.lrow .ei::before{content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,0) 50%)}
.nav-i .ic svg,.row .ic svg,.lrow .ei svg{position:relative; stroke:#fff; stroke-width:2.5; filter:drop-shadow(0 1px 1px rgba(0,0,0,.25))}
/* the menu's tiles take each item's own colour again (an earlier pass made them bare glyphs) */
.nav-i .ic{width:26px; height:26px; background:var(--c,#4F7CFF)!important; color:#fff;
  /* the strong hue of each colour in both themes — dark mode's pastels are too light under a white glyph */
  --ok:#12B886; --info:#2E74F0; --leave:#7A4FEE; --wait:#E0A100; --stop:#E23B33; --duty:#12A6B4; --idle:#868EA6;
  --blue-icon:#4F7CFF; --brand:#4F7CFF; --blue:#4F7CFF}
.nav-i .ic svg{width:16px; height:16px}
.nav-i .ic{box-shadow:inset 0 0 0 1px rgba(0,0,0,.18), 0 3px 8px -4px rgba(0,0,0,.4)}
.nav-i.on .ic{background:rgba(255,255,255,.26)!important}

/* ═══════════  DROPDOWNS  ═══════════
   The field: our own chevron, a calm edge, a soft focus ring (not the
   browser's doubled blue outline). The list (.zs-panel, from the select
   panel script): a rounded card, roomy rows, the current choice ticked. */
:root{ --zs-chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C6E93' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") }
@media (prefers-color-scheme:dark){ :root{ --zs-chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2353A9C9' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") } }
select:not([multiple]):not([size]){-webkit-appearance:none; appearance:none; padding-right:36px;
  background-image:var(--zs-chev); background-repeat:no-repeat; background-position:right 12px center; background-size:16px;
  border-radius:12px; cursor:pointer; transition:border-color .15s ease, box-shadow .15s ease}
select:not([multiple]):focus,select:not([multiple]):focus-visible,select.zs-open{outline:none; border-color:var(--blue);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--blue) 18%, transparent)}
select.zs-open{background-image:var(--zs-chev); }

.zs-panel{position:fixed; z-index:10000; max-height:min(340px,60vh); overflow-y:auto; padding:6px; display:flex; flex-direction:column; gap:2px;
  border-radius:16px; background:var(--surface); border:1px solid color-mix(in srgb,var(--line) 80%, transparent);
  box-shadow:0 20px 44px -14px rgba(30,32,80,.38), 0 2px 6px rgba(30,32,80,.08);
  animation:zsIn .14s ease-out; scrollbar-width:thin}
@media (prefers-color-scheme:dark){ .zs-panel{background:var(--raise); box-shadow:0 22px 48px -14px rgba(0,0,0,.75)} }
@keyframes zsIn{from{opacity:0; transform:translateY(-4px) scale(.98)}}
@media (prefers-reduced-motion:reduce){ .zs-panel{animation:none} }
.zs-opt{display:flex; align-items:center; justify-content:space-between; gap:14px; width:100%; min-height:38px; padding:8px 12px;
  border:0; border-radius:10px; background:none; color:var(--ink); font:inherit; font-size:.92rem; text-align:left; cursor:pointer; white-space:nowrap}
.zs-opt:hover,.zs-opt:focus-visible{background:color-mix(in srgb,var(--blue) 10%, transparent); outline:none}
.zs-opt.on{color:var(--blue-ink); font-weight:700; background:color-mix(in srgb,var(--blue) 14%, transparent)}
.zs-opt svg{width:16px; height:16px; flex:none; fill:none; stroke:currentColor; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; opacity:0}
.zs-opt.on svg{opacity:1}
.zs-opt[disabled]{opacity:.45; cursor:default}
.zs-grp{padding:10px 12px 4px; font-size:.68rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3)}
.yr-sel{border-width:1px; border-radius:12px; box-shadow:none}
.yr-sel:focus,.yr-sel.zs-open{box-shadow:0 0 0 3px color-mix(in srgb,var(--blue) 18%, transparent)}
.hero-card{border:0}

/* sign out: a rounded tile, not a bare glyph; it warms to red on hover */
.rail-me .out{margin-left:auto; width:38px; height:38px; flex:none; display:grid; place-items:center; border-radius:12px;
  color:var(--ink-2); background:color-mix(in srgb,var(--surface) 75%, transparent); border:1px solid color-mix(in srgb,var(--line) 80%, transparent);
  transition:background .15s ease, color .15s ease, border-color .15s ease}
.rail-me .out svg{width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round}
.rail-me .out:hover{color:var(--stop-ink); background:var(--stop-soft); border-color:color-mix(in srgb,var(--stop) 35%, transparent)}
.rail-me .out:focus-visible{outline:none; box-shadow:0 0 0 3px color-mix(in srgb,var(--stop) 25%, transparent)}

/* ═══════════  AURORA POP-UPS: panels, sheets, forms, toasts  ═══════════
   Every pop-up gets the Aurora treatment: a soft colour wash at its top
   over the solid surface, generous rounding and no hard edge; behind it a
   tinted, lightly blurred page instead of flat grey; a frosted button bar;
   rounder form fields with a soft focus ring; a dark pill for toasts. */
:root{
  --pop-wash:radial-gradient(520px 240px at 0% 0%, color-mix(in srgb,#C9D8FF 60%, transparent), transparent 72%),
             radial-gradient(460px 240px at 100% 0%, color-mix(in srgb,#FFD3E6 50%, transparent), transparent 72%);
  --pop-scrim:rgba(27,33,64,.30);
  --pop-shadow:0 30px 70px -24px rgba(30,32,80,.45), 0 4px 14px rgba(30,32,80,.08);
  --field:color-mix(in srgb,var(--surface) 70%, var(--sunk));
}
@media (prefers-color-scheme:dark){ :root{
  --pop-wash:radial-gradient(520px 240px at 0% 0%, color-mix(in srgb,#2A3A8F 55%, transparent), transparent 72%),
             radial-gradient(460px 240px at 100% 0%, color-mix(in srgb,#5B2A7A 50%, transparent), transparent 72%);
  --pop-scrim:rgba(4,6,16,.55);
  --pop-shadow:0 30px 70px -20px rgba(0,0,0,.8);
  --field:color-mix(in srgb,var(--surface) 70%, #000);
} }

/* the panel */
#mw{background:var(--pop-scrim); backdrop-filter:blur(6px) saturate(1.1); -webkit-backdrop-filter:blur(6px) saturate(1.1)}
#mw .modal,#sheet,#aiPanel{background:var(--pop-wash), var(--surface); background-repeat:no-repeat; border:0; box-shadow:var(--pop-shadow)}
#mw .modal{border-radius:26px}
#mw .modal h3,#sheet h3{font-weight:700; letter-spacing:-.025em}
#mw .modal .msub,#sheet .msub{color:var(--ink-2)}
@media (min-width:1100px){
  #mw.side{background:var(--pop-scrim)}
  #mw.side .modal{border-radius:26px 0 0 26px; border:0}
  #mw.side .mfoot{background:color-mix(in srgb,var(--surface) 86%, transparent); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
    border-top:1px solid color-mix(in srgb,var(--line) 60%, transparent)}
}
#sheetwrap .scrim{background:var(--pop-scrim); backdrop-filter:blur(5px); -webkit-backdrop-filter:blur(5px)}
#sheet{border-radius:28px 28px 0 0}
@media (min-width:760px){ #sheet{border-radius:28px 0 0 28px} }
#aiPanel{border-radius:26px 0 0 26px}
#aiPanel .ap-head,#aiPanel .ap-foot{background:transparent}
#aiPanel .ap-foot{background:color-mix(in srgb,var(--surface) 86%, transparent); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px)}
#aiPanel .ap-head{border-bottom:1px solid color-mix(in srgb,var(--line) 55%, transparent)}

/* sections and cards inside a pop-up: quiet, no heavy frames */
#mw .modal .card,#sheet .card{box-shadow:none; border:1px solid color-mix(in srgb,var(--line) 55%, transparent)}
#mw .modal .sec-t{border-bottom-color:color-mix(in srgb,var(--line) 55%, transparent)}

/* form fields */
.f input,.f select,.f textarea,#sheet input:not([type=checkbox]):not([type=radio]):not([type=range]),#sheet select,#sheet textarea,
#mw .modal input:not([type=checkbox]):not([type=radio]):not([type=range]),#mw .modal select,#mw .modal textarea{
  background-color:var(--field); border:1px solid var(--field-edge); border-radius:14px; box-shadow:none}
.f input:focus,.f select:focus,.f textarea:focus,#sheet input:focus,#sheet select:focus,#sheet textarea:focus,
#mw .modal input:focus,#mw .modal select:focus,#mw .modal textarea:focus{
  outline:none; border-color:var(--blue); background-color:var(--surface); box-shadow:0 0 0 3px color-mix(in srgb,var(--blue) 18%, transparent)}
.f > span,.f > label,.field > span{font-size:.72rem; letter-spacing:.07em; font-weight:700; color:var(--ink-2)}

/* toast: a dark pill */
#toast{background:#1B2140; color:#fff; border:0; border-radius:999px; box-shadow:0 14px 30px -12px rgba(20,24,60,.6); font-weight:600}
@media (prefers-color-scheme:dark){ #toast{background:#EEF1FB; color:#1B2140} }

/* the split of a total (net pay vs deductions): one slim bar, amounts under it */
.split{display:flex; flex-direction:column; gap:10px}
.split-bar{display:flex; gap:3px; height:10px; border-radius:99px; overflow:hidden}
.split-bar i{display:block; height:100%; border-radius:99px}
.split-lg{display:flex; flex-wrap:wrap; gap:6px 18px; font-size:.86rem; color:var(--ink-2)}
.split-lg span{display:inline-flex; align-items:center; gap:7px}
.split-lg span i{width:9px; height:9px; border-radius:3px; display:inline-block}
.split-lg b{color:var(--ink); font-variant-numeric:tabular-nums}

.sf-chips .idle{background:var(--idle-soft); color:var(--idle-ink)}

/* notice periods (src/console/39-notice-periods.js): table inputs like the form fields */
.nt-in{width:110px; font-size:.92rem; color:var(--ink); background:var(--raise); border:1.5px solid var(--line); border-radius:10px; padding:7px 10px}
.nt-in:focus{outline:none; border-color:var(--blue); box-shadow:0 0 0 4px color-mix(in srgb,var(--blue) 15%, transparent)}

/* ═══════════  ISO CONTROLS (src/console/48-iso-controls.js)  ═══════════
   Danger buttons, confirmations, the idle warning, the discard prompt,
   masked IDs and the second-approver note. Status is never colour alone:
   each carries words. */
.btn-danger,.btn-danger:hover{background:var(--stop-ink); color:var(--on-brand); border:0;
  box-shadow:0 3px 0 color-mix(in srgb,var(--stop-ink) 60%, #000)}
.btn-danger:hover{background:color-mix(in srgb,var(--stop-ink) 85%, #000)}
.btn-danger-ghost,.btn-danger-ghost:hover{background:color-mix(in srgb,var(--stop-ink) 7%, var(--surface)); color:var(--stop-ink); border:0;
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--stop-ink) 28%, transparent), 0 3px 0 color-mix(in srgb,var(--stop-ink) 30%, var(--surface))}
.btn[disabled]{opacity:.55; cursor:not-allowed}
.confirm-note{margin:12px 0 0; padding:10px 12px; border-radius:10px; background:var(--sunk); color:var(--ink-2); font-size:.88rem}
.confirm-note.danger{background:var(--stop-soft); color:var(--stop-ink)}
.f-err{color:var(--stop-ink); font-weight:600; font-size:.84rem; min-height:1em; margin:8px 0 0}
.f-err:empty{display:none}
.discard-bar{display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-top:16px; padding:10px 12px;
  border-radius:10px; background:var(--wait-soft); color:var(--wait-ink); font-weight:600; font-size:.88rem}
.discard-bar span{flex:1; min-width:140px}
.idle-warn{position:fixed; inset:0; z-index:90; display:none; place-items:center; background:rgba(20,18,14,.45); padding:24px}
.idle-warn.on{display:grid}
.idle-box{background:var(--surface); color:var(--ink); border-radius:16px; padding:24px 26px; max-width:420px; width:100%;
  box-shadow:0 24px 60px -20px rgba(20,24,60,.55)}
.idle-box h3{margin:0 0 6px}
.idle-box p{margin:0; color:var(--ink-2)}
.idle-box .mfoot{display:flex; gap:10px; justify-content:flex-end; margin-top:20px}
.second-note{display:flex; gap:10px; align-items:flex-start; margin:10px 0 0; padding:10px 12px; border-radius:10px;
  background:var(--info-soft); color:var(--info-ink); font-size:.88rem; font-weight:600}
.second-note svg{width:18px; height:18px; flex:none; fill:none; stroke:currentColor; stroke-width:2}
.run-who{margin:0 0 10px}
.demo-tag{display:inline-block; margin-left:6px; padding:0 6px; border-radius:6px; font-size:.66rem; font-weight:800; letter-spacing:.08em;
  background:var(--wait-soft); color:var(--wait-ink); vertical-align:middle}
[data-sens].revealed{font-family:var(--mono,monospace); color:var(--ink)}
/* the toast stays readable for people who need longer; errors stay until dismissed (see toast()) */
#toast{pointer-events:auto}
#toast .tx{margin-left:10px; background:none; border:0; color:inherit; font:inherit; text-decoration:underline; cursor:pointer}
@media (prefers-reduced-motion:reduce){ .idle-warn,.discard-bar{transition:none} }
.star-b{all:unset; cursor:pointer; padding:0 1px; border-radius:4px}
.star-b:focus-visible{outline:2px solid var(--focus); outline-offset:1px}
.file-pick:focus-within{outline:2px solid var(--focus); outline-offset:2px}

/* ═══════════  CONNECT, A PAGE OF ITS OWN (/connect)  ═══════════
   No rail: a header of its own over the Aurora wash — back to Zolt, the
   Connect mark, search in the middle, the bell and you — and the three panes
   as one lifted panel filling the rest of the window. The script side is
   src/console/49-connect-page.js. */
body.cx #app{grid-template-columns:minmax(0,1fr)}
body.cx #rail,body.cx #aiFab,body.cx .topbar .menu,body.cx #viewSwitch,body.cx .topbar .live{display:none!important}
body.cx #main{height:100vh; height:100dvh}
body.cx .topbar{gap:12px; height:64px; padding:0 clamp(12px,2vw,24px)}
body.cx .topbar .crumb{display:flex; align-items:center; gap:10px; flex:none; font-family:var(--display); font-size:1.08rem;
  font-weight:800; letter-spacing:-.01em; text-transform:none; color:var(--ink)}
.cx-mark{width:38px; height:38px; border-radius:11px; display:grid; place-items:center; background:var(--au-action); color:var(--on-brand);
  box-shadow:0 8px 18px -10px var(--brand)}
.cx-mark svg{width:20px; height:20px}
.cx-back{display:inline-flex; align-items:center; gap:6px; flex:none; height:40px; padding:0 16px 0 12px; border:0; border-radius:999px;
  font:inherit; font-size:.86rem; font-weight:600; cursor:pointer; background:var(--key-ghost); color:var(--key-ghost-ink);
  box-shadow:inset 0 0 0 1px var(--key-ghost-line), 0 3px 0 var(--key-ghost-edge); transition:transform .08s, box-shadow .08s}
.cx-back svg{width:18px; height:18px}
.cx-back:hover{background:color-mix(in srgb,var(--key-ghost) 88%, var(--brand))}
.cx-back:active{transform:translateY(2px); box-shadow:inset 0 0 0 1px var(--key-ghost-line), 0 1px 0 var(--key-ghost-edge)}
.cx-search{flex:1; min-width:0; display:flex; justify-content:center}
.cx-search .slk-search{max-width:620px}
.cx-search .slk-search input{height:44px; border-radius:999px; border-color:var(--line); background:var(--surface); box-shadow:var(--sh-1); font-size:.95rem}
.cx-search .slk-res{top:46px}
.cx-me{position:relative; flex:none; width:44px; height:44px; padding:0; border:0; border-radius:50%; background:none; cursor:pointer}
.cx-me .av{width:44px; height:44px; border-radius:50%; display:grid; place-items:center; overflow:hidden;
  background:var(--au-warm); color:#fff; font-weight:700; font-size:.82rem}
.cx-pres{position:absolute; right:-1px; bottom:-1px; width:12px; height:12px; border-radius:50%; background:var(--ok); box-shadow:0 0 0 2px var(--surface)}
.cx-out{flex:none; width:44px; height:44px; padding:0; border:1px solid var(--line); border-radius:50%; background:var(--surface); box-shadow:var(--sh-1); color:var(--ink); display:grid; place-items:center; cursor:pointer}
.cx-out svg{width:22px; height:22px}
.cx-out:hover{background:var(--raise); color:var(--stop-ink)}
body.cx #view{padding:14px clamp(12px,2vw,24px) clamp(12px,1.6vw,18px)}
body.cx .slk{border:1px solid var(--line); border-radius:var(--r); box-shadow:var(--sh-1)}
/* in the workspace's menu: Connect opens a page of its own */
.nav-ext{margin-left:auto; display:grid; place-items:center; opacity:.5}
.nav-ext svg{width:14px; height:14px}
.nav-i:hover .nav-ext,.nav-i.on .nav-ext{opacity:.9}
@media (max-width:640px){
  body.cx .topbar{flex-wrap:wrap; height:auto; row-gap:10px; padding-top:10px; padding-bottom:10px}
  body.cx #notifBtn{margin-left:auto}
  .cx-search{order:9; flex-basis:100%}
  .cx-search .slk-search{max-width:none}
  .cx-back{padding:0 10px}
  .cx-back span,.cx-out{display:none}
  body.cx #view{padding:0}
  body.cx .slk{border:0; border-radius:0; box-shadow:none}
}
@media (prefers-reduced-motion:reduce){ .cx-back{transition:none} }

/* the room header's keys (star, call, video, more): sized like the page header's, not 30px chips */
.slk-mbtn{height:38px; padding:0 14px; border-radius:12px; background:var(--surface); color:var(--ink); font-size:.86rem; box-shadow:var(--sh-1)}
.slk-mbtn svg{width:18px; height:18px}
.slk-mbtn.ic-only{width:38px}
.slk-mbtn:hover{background:var(--raise); color:var(--blue-ink)}

/* ═══════════  EDGES THAT READ (DESIGN-TOKENS.md: line, line-2, fieldEdge)  ═══════════
   On the #EFF2FC panel the old hairlines (#D6DCEC, #E7EAF4) were 1.2:1 or
   lighter than the card itself: no border at all. Edges, row dividers and
   fields now have values you can see; fields are a lighter well than the
   card; the quieter key has its own blue face and ring. */
:root{ --line:#AFB9D6; --line-2:#C3CBE2; --field-edge:#8B95B6; --field:var(--raise);
  --key-ghost:#E1E8FF; --key-ghost-line:#8FA2E6; --key-ghost-edge:#7186D6 }
@media (prefers-color-scheme:dark){ :root{ --line:#3E466A; --line-2:#323A5A; --field-edge:#67709A;
  --field:color-mix(in srgb,var(--surface) 70%, #000);
  --key-ghost:#262E52; --key-ghost-line:var(--field-edge); --key-ghost-edge:#0F1428 } }
/* a field inside a labelled filter (label.f stacks its parts) grows across, not down:
   the bar's flex-basis became its height there (Audit log's From / Record type) */
.filter-bar .f input.yr-sel{flex:none; width:200px; max-width:100%}
.filter-bar:has(> .f){align-items:flex-end}

/* ═══════════  SIGN OUT: a labelled pill  ═══════════
   The menu's footer is a small card for you: your name, then a full-width
   "Sign out" pill under it. Connect's header has the same pill. Soft red at
   rest, solid red on hover. A power symbol, not a door: the user asked for it. */
.rail-me{flex-wrap:wrap; row-gap:12px; padding:14px 16px 16px}
.rail-me .out,.cx-out{display:inline-flex; align-items:center; justify-content:center; gap:8px; flex:none;
  width:auto; height:40px; padding:0 16px; border-radius:999px; cursor:pointer; margin:0; white-space:nowrap;
  font:inherit; font-size:.88rem; font-weight:600; letter-spacing:.01em;
  color:var(--stop-ink); background:color-mix(in srgb,var(--stop) 10%, var(--surface));
  border:1px solid color-mix(in srgb,var(--stop) 30%, var(--surface)); box-shadow:none;
  transition:background .15s, color .15s, border-color .15s}
.rail-me .out{flex:1 0 100%; width:100%}
.rail-me .out svg,.cx-out svg{width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; transition:transform .15s}
.rail-me .out:hover,.cx-out:hover{color:#fff; background:var(--stop); border-color:var(--stop)}
.rail-me .out:active,.cx-out:active{background:color-mix(in srgb,var(--stop) 85%, #000)}
.rail-me .out:focus-visible,.cx-out:focus-visible{outline:2px solid var(--stop); outline-offset:3px}
@media (prefers-reduced-motion:reduce){ .rail-me .out,.cx-out,.rail-me .out svg,.cx-out svg{transition:none} }

/* ═══════════  CALMER, CLEARER (UX review, 1 Nov)  ═══════════
   Measured against Rippling, Deel, HiBob, BambooHR and Workday. Colour on a
   tile now means something (late = red, waiting = amber, everything else a
   plain card with a visible edge); a row of zeros is one calm line; the menu
   is one ink with the brand on the page you're on; group names, labels and
   table heads are sentence case at 12px or more; filters and toggles are at
   least 36px tall with a 40px reach; whole table rows open their record.
   Only tokens — no new colours. Every edge keeps --line / --field-edge. */

/* tiles */
.stat .k{font-family:var(--sans); font-size:.8rem; font-weight:650; letter-spacing:0; text-transform:none}
.card.stat.stat-plain{background:var(--surface); color:var(--ink); border:1px solid var(--line); box-shadow:var(--sh-1)}
.card.stat.stat-plain .k,.card.stat.stat-plain .c{color:var(--ink-2)}
.card.stat.stat-plain .v{color:var(--ink)}
.card.stat.stat-signal.tint-amber{border:1px solid var(--wait); background:var(--wait-soft); color:var(--wait-ink)}
.card.stat.stat-signal.tint-rose{border:1px solid var(--stop); background:var(--stop-soft); color:var(--stop-ink)}
.card.stat.stat-signal .k,.card.stat.stat-signal .c{color:currentColor}
.card.stat.stat-signal .k::before{content:""; display:inline-block; width:8px; height:8px; border-radius:50%; margin-right:7px; vertical-align:1px; background:currentColor}
/* a row of zeros, said once */
.grid.stats-zero{display:none}
.stat-calm{display:flex; align-items:center; gap:14px; padding:16px 20px; border:1px solid var(--line)}
.stat-calm .calm-ic{width:36px; height:36px; flex:none; border-radius:50%; display:grid; place-items:center; background:var(--ok-soft); color:var(--ok-ink)}
.stat-calm .calm-ic svg{width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round}
.stat-calm .calm-t{display:flex; flex-direction:column; gap:3px; min-width:0}
.stat-calm .calm-t b{font-size:.98rem; color:var(--ink)}
.stat-calm .calm-sub{display:flex; flex-wrap:wrap; align-items:center; gap:4px 10px; font-size:.84rem; color:var(--ink-2)}
.stat-calm .calm-sub i{font-style:normal; color:var(--ink-3)}
.stat-calm .calm-go{font:inherit; font-size:.84rem; min-height:32px; padding:0 2px; background:none; border:0; cursor:pointer; color:var(--blue-ink); text-decoration:underline; text-underline-offset:3px}

/* "Needs your review": the top of the HR and manager homes */
.nr{padding:18px 20px; border:1px solid var(--line)}
.nr-head{display:flex; align-items:center; gap:10px}
.nr-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:12px; margin-top:12px}
.nr-item{display:flex; align-items:flex-start; gap:14px; padding:12px 14px; border-radius:14px; background:var(--raise); border:1px solid var(--line); min-width:0}
.nr-item .nr-big{flex:none; min-width:44px; height:44px; padding:0 8px; border-radius:12px; display:grid; place-items:center;
  font-family:var(--display); font-weight:800; font-size:1.2rem; font-variant-numeric:tabular-nums}
.nr-item.wait .nr-big{background:var(--wait-soft); color:var(--wait-ink)}
.nr-item.stop .nr-big{background:var(--stop-soft); color:var(--stop-ink)}
.nr-item.ok .nr-big,.nr-item.idle .nr-big,.nr-item.info .nr-big{background:var(--ok-soft); color:var(--ok-ink)}
.nr-item.stop{border-color:var(--stop)}
.nr-item.wait{border-color:var(--wait)}
.nr-txt{flex:1; min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:3px}
.nr-txt .btn{margin-top:8px}
.nr-txt b{font-size:.95rem; color:var(--ink); line-height:1.3}
.nr-txt small{font-size:.82rem; color:var(--ink-2); line-height:1.4; overflow:hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical}
.nr-item.ok .nr-txt b{color:var(--ink-2)}

/* the menu: one ink, the brand only on the page you're on */
.nav-i .ic{background:color-mix(in srgb,var(--surface) 55%, var(--sunk))!important; color:var(--ink-2);
  box-shadow:inset 0 0 0 1px var(--line)!important}
.nav-i .ic::before{display:none}
.nav-i .ic svg,.nav-i:hover .ic svg{stroke:currentColor; filter:none; stroke-width:2.1}
.nav-i:hover .ic{color:var(--ink)}
.nav-i.on .ic{background:color-mix(in srgb,var(--on-brand) 22%, transparent)!important; color:var(--on-brand); box-shadow:none!important}
.nav-i.on .ic svg{stroke:currentColor}
.rail-nav .grp{font-family:var(--sans); font-size:.8rem; font-weight:650; letter-spacing:0; text-transform:none; color:var(--ink-2); padding:12px 10px 6px}
.rail-nav button.grp{min-height:40px; padding-top:8px; padding-bottom:8px; cursor:pointer}
.rail-nav button.grp:hover{background:color-mix(in srgb,var(--surface) 70%, transparent)}
.rail-brand-txt small{font-family:var(--sans); font-size:.75rem; letter-spacing:.02em; text-transform:none}
.nav-i .cnt{font-family:var(--sans); font-size:.75rem; font-weight:700}

/* the header: the page's name, sentence case and quiet */
.topbar .crumb{font-family:var(--sans); font-size:.9rem; letter-spacing:0; text-transform:none; color:var(--ink-3)}
.topbar .crumb b{font-weight:600; color:var(--ink-2)}

/* small text: 12px is the floor for meta, labels and table heads */
.tbl th{font-size:.78rem; letter-spacing:.01em; text-transform:none; font-weight:650}
.f > span,.f > label,.field > span{font-family:var(--sans); font-size:.8rem; letter-spacing:.01em; text-transform:none; font-weight:650}
.pill{font-size:.75rem}
.eyebrow,.today-grp,.cxo-kpi .k,.sf-top .k,.zs-grp,.hire-col > .ch,.hire-cd .src,.punch .st,.ev .ed,.cal .d .l{font-size:.75rem}
th.ros-name,.ros-d,.ros-d span,.demo-tag,.ai-grp h3,.cnh-next small,.epw-vfy .vt,.c-head,.c-gt,.slk-rg,.slk-sec{font-size:.75rem}
.today-grp,.sf-top .k{font-family:var(--sans); letter-spacing:.02em; text-transform:none; font-weight:650}
.sf-top .k{font-size:.8rem; color:var(--ink-2)}

/* filters, tabs and toggles: 36px tall at least, a 40px reach */
.tab,.viewswitch button{min-height:40px; padding:8px 16px; font-size:.88rem; display:inline-flex; align-items:center; gap:6px}
.mode-chips .mc,button.pill,.pill[onclick],.cal-nav button{min-height:36px}
button.pill,.pill[onclick]{padding-top:6px; padding-bottom:6px}
.cal-nav button{min-width:40px; min-height:40px}
.yr-sel{min-height:40px}

/* tables: the whole row opens its record */
.tbl tr.row-link{cursor:pointer}
.tbl tr.row-link:hover td{background:color-mix(in srgb,var(--blue) 7%, transparent)}
.tbl tr.row-link:focus-visible{outline:2px solid var(--focus); outline-offset:-2px}
.tbl td.row-chev{width:44px; text-align:right; padding-right:16px}
.tbl td.row-chev svg{width:18px; height:18px; fill:none; stroke:var(--ink-3); stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; vertical-align:middle}
.tbl tr.row-link:hover td.row-chev svg,.tbl tr.row-link:focus-visible td.row-chev svg{stroke:var(--blue-ink)}
.tbl .col-id{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size:.78rem; color:var(--ink-3); text-align:right; white-space:nowrap}
.tbl th.col-id{font-family:var(--sans); font-size:.78rem; color:var(--ink-2)}

/* directory: faces, quick actions, org chart */
#dirFilters[hidden],#dirGrid[hidden],#dirCount[hidden],#dirMore[hidden],#dirOrg[hidden],.sf-sec[hidden],#needsReview[hidden]{display:none!important}
.dir-card{display:flex; flex-direction:column; gap:12px; padding:16px 18px; border:1px solid var(--line)}
.dir-main{display:flex; align-items:center; gap:12px; width:100%; padding:0; border:0; background:none; text-align:left; cursor:pointer; font:inherit; color:inherit; border-radius:12px}
.dir-main:focus-visible{outline:2px solid var(--focus); outline-offset:4px}
.dir-main b{color:var(--ink)}
.dir-ph{overflow:hidden; padding:0}
.dir-ph img{width:100%; height:100%; object-fit:cover; border-radius:inherit; display:block}
.dir-acts{display:flex; flex-wrap:wrap; gap:8px; padding-top:12px; border-top:1px solid var(--line-2)}
.dir-act{display:inline-flex; align-items:center; gap:6px; min-height:36px; padding:0 12px; border-radius:999px; font:inherit; font-size:.84rem; font-weight:600;
  color:var(--key-ghost-ink); background:var(--key-ghost); border:1px solid var(--key-ghost-line); cursor:pointer; text-decoration:none}
.dir-act:hover{background:color-mix(in srgb,var(--key-ghost) 85%, var(--brand))}
.dir-act:focus-visible{outline:2px solid var(--focus); outline-offset:2px}
.dir-act svg{width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2}
.dir-views{margin-left:auto; background:var(--sunk); border:1px solid var(--line)}
.org-chart{display:flex; flex-direction:column; align-items:center; padding:24px; border:1px solid var(--line)}
.org-lvl{display:flex; flex-wrap:wrap; justify-content:center; gap:12px; width:100%}
.org-node{display:flex; align-items:center; gap:10px; min-width:220px; max-width:300px; padding:10px 14px; border-radius:14px; text-align:left;
  background:var(--raise); border:1px solid var(--line); font:inherit; color:inherit; cursor:pointer; box-shadow:var(--sh-1)}
.org-node:hover{border-color:var(--blue)}
.org-node:focus-visible{outline:2px solid var(--focus); outline-offset:2px}
.org-node span{display:flex; flex-direction:column; min-width:0}
.org-node b{color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.org-node small{font-size:.8rem; color:var(--ink-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.org-node.focus{border:2px solid var(--blue); padding:14px 18px; min-width:280px}
.org-link{display:block; width:2px; height:22px; background:var(--line)}
.org-sub{font-size:.8rem; font-weight:650; color:var(--ink-2); margin-bottom:10px}
.org-top{font-size:.86rem; color:var(--ink-3); padding:8px 0}
.org-foot{display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin-top:20px}

@media (max-width:760px){
  .nr-grid{grid-template-columns:1fr}
  .org-node,.org-node.focus{min-width:0; width:100%}
  .dir-views{margin-left:0}
  .viewswitch button{padding:5px 10px; font-size:.8rem}
  .tab{padding:8px 12px}
  #leaveTabs{flex-wrap:wrap; margin-left:0!important}
}
@media (prefers-reduced-motion:reduce){ .tbl tr.row-link td{transition:none} }

/* ═══════════  LIQUID GLASS 3 Nov  ═══════════
   The owner approved "premium iOS glass" for the phone and the employee web
   app on 1 Nov (app.css LIQUID GLASS 1 Nov), then looked at the console:
   "web still has old". Same tokens and recipes, adapted to the console:
   · the page is near-neutral — off-white by day, graphite after dark — with
     one faint cool light; no pink, peach or violet wash;
   · every surface is neutral frosted glass: translucent fill + a sheen at
     the top + backdrop blur + a rim brighter along the top + a soft shadow.
     Unlike the app, every glass surface also keeps a solid 1px outline
     (--edge): the owner twice rejected edges that don't read;
   · colour is an accent only: one system blue for primary buttons,
     selection and links; status colours stay in small pills, dots and text;
     no gradients anywhere — nav, tiles, Ask AI, buttons, avatars;
   · rows inside a glass card are tints and visible dividers, never more blurs;
   · dropdowns and toasts are smoked glass (18px corners, big rows, a check);
   · fields keep a solid --field-edge ring (≥ 3:1).
   Opaque fallbacks for prefers-reduced-transparency and for browsers without
   backdrop-filter sit at the end of this block. */
:root{
  /* one system blue (white on it ≥ 4.5:1) — the same values as app.css */
  --blue:#0B63CE; --blue-press:#0954B0; --blue-ink:#0A5BC2; --blue-soft:#DCE8F8; --focus:var(--blue);
  --key:var(--blue); --key-edge:var(--blue-press); --blue-icon:var(--blue-ink);
  --tint-blue:var(--blue-soft); --tint-blue-ink:var(--blue-ink);
  /* neutral greys under the glass */
  --paper:#F2F2F5; --surface:#FBFBFC; --raise:#FFFFFF; --sunk:#EDEDF0;
  --ink:#1C1C1E; --ink-2:#48484F; --ink-3:#5C5C66; --ink-btn:var(--ink);
  /* edges that read: a visible outline, visible row dividers, a 3:1 field ring */
  --line:#ACACB6; --line-2:#C9C9D1; --edge:var(--line); --field-edge:#80808A; --field:var(--lg-field);
  --lg-base:#F2F3F6;
  --lg-wash:
    radial-gradient(70% 45% at 0% 0%, rgba(176,190,214,.30), transparent 72%),
    radial-gradient(60% 40% at 100% 100%, rgba(186,194,210,.22), transparent 72%),
    linear-gradient(180deg,#F5F6F8 0%,#EEF0F3 100%);
  --lg-fill:rgba(255,255,255,.62);
  --lg-fill-hi:rgba(250,250,252,.76);
  --lg-lozenge:rgba(118,118,128,.14);
  --lg-btn:rgba(255,255,255,.82);
  --lg-row:rgba(118,118,128,.07);
  --lg-tile:rgba(118,118,128,.10);
  --lg-field:rgba(255,255,255,.74);
  --lg-sheen:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,255,255,0) 40%);
  --lg-rim:rgba(255,255,255,.75);
  --lg-rim-top:rgba(255,255,255,1);
  --lg-hair:rgba(60,60,67,.12);
  --lg-edge:inset 0 1px 0 var(--lg-rim-top), inset 0 0 0 1px var(--lg-rim);
  --lg-shadow:0 1px 2px rgba(0,0,0,.04), 0 10px 30px -14px rgba(20,22,30,.20);
  --lg-shadow-hi:0 30px 70px -26px rgba(10,12,20,.38), 0 2px 8px rgba(10,12,20,.06);
  --lg-blur:blur(28px) saturate(160%);
  --lg-blur-hi:blur(36px) saturate(160%);
  --lg-scrim:rgba(10,12,18,.18);
  --lg-smoke:rgba(36,36,40,.74);
  --lg-smoke-sheen:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,0) 40%);
  --lg-smoke-rim:rgba(255,255,255,.14);
  --lg-smoke-rim-top:rgba(255,255,255,.36);
  --lg-smoke-ink:#FFFFFF;
  --lg-smoke-ink-2:rgba(255,255,255,.66);
  --lg-smoke-hover:rgba(255,255,255,.12);
  --lg-smoke-hair:rgba(255,255,255,.09);
  --lg-smoke-thumb:rgba(255,255,255,.34);
  /* the old gradient tokens resolve to one flat blue (an image, so they stay
     valid in any background layer) */
  --au-action:linear-gradient(var(--blue),var(--blue)); --grad-blue:var(--au-action); --grad-ai:var(--au-action);
  --au-warm:linear-gradient(var(--lg-tile),var(--lg-tile)); --au-wash:var(--lg-wash); --pop-wash:linear-gradient(transparent,transparent);
  --key-ghost:var(--lg-btn); --key-ghost-line:var(--line); --key-ghost-edge:transparent; --key-ghost-ink:var(--blue-ink);
  --pop-scrim:var(--lg-scrim); --pop-shadow:var(--lg-shadow-hi);
  --sh-1:var(--lg-shadow); --sh-2:0 2px 4px rgba(0,0,0,.05), 0 16px 36px -16px rgba(20,22,30,.28);
  --zs-chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2348484F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme:dark){ :root{
  --blue:#1F6FE0; --blue-press:#185FC4; --blue-ink:#8BBAFF; --blue-soft:#14284A; --key-edge:#185FC4;
  --paper:#0B0C0E; --surface:#1C1C1F; --raise:#26262A; --sunk:#2C2C30;
  --ink:#F5F5F7; --ink-2:#AEAEB6; --ink-3:#A1A1AA;
  --line:#55555E; --line-2:#3E3E45; --field-edge:#7A7A84;
  --lg-base:#0A0B0D;
  --lg-wash:
    radial-gradient(70% 45% at 0% 0%, rgba(96,110,140,.20), transparent 72%),
    radial-gradient(60% 40% at 100% 100%, rgba(80,88,110,.12), transparent 72%),
    linear-gradient(180deg,#0E0F12 0%,#08090B 100%);
  --lg-fill:rgba(58,58,64,.42);
  --lg-fill-hi:rgba(34,34,38,.74);
  --lg-lozenge:rgba(255,255,255,.14);
  --lg-btn:rgba(255,255,255,.10);
  --lg-row:rgba(255,255,255,.05);
  --lg-tile:rgba(255,255,255,.09);
  --lg-field:rgba(255,255,255,.07);
  --lg-sheen:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,0) 40%);
  --lg-rim:rgba(255,255,255,.10);
  --lg-rim-top:rgba(255,255,255,.24);
  --lg-hair:rgba(255,255,255,.08);
  --lg-shadow:0 18px 44px -20px rgba(0,0,0,.80);
  --lg-shadow-hi:0 34px 80px -24px rgba(0,0,0,.85);
  --lg-scrim:rgba(0,0,0,.45);
  --lg-smoke:rgba(44,44,50,.70);
  --sh-2:0 22px 50px -20px rgba(0,0,0,.9);
  --zs-chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AEAEB6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
} }

/* the wash sits fixed behind the page, so cards move over the light */
body{background:var(--lg-base); background-image:var(--lg-wash); background-attachment:fixed}
#main{background:none}

/* ── the frame: a floating glass side panel, a glass top bar ── */
#rail{background:var(--lg-sheen), var(--lg-fill-hi); border:1px solid var(--edge); box-shadow:var(--lg-edge), var(--lg-shadow);
  -webkit-backdrop-filter:var(--lg-blur-hi); backdrop-filter:var(--lg-blur-hi)}
@media (min-width:821px){ #rail{margin:12px; top:12px; height:calc(100vh - 24px); border-radius:24px} }
/* the phone and tablet drawer: full height at the edge, rounded on its open side */
@media (max-width:820px){ #rail{border-width:0 1px 0 0; border-radius:0 24px 24px 0; background:var(--lg-sheen), var(--lg-fill-hi)} }
.rail-brand{border-bottom:1px solid var(--line-2)}
.rail-brand .bolt{background:var(--blue); color:var(--on-brand)}
.rail-me{border-top:1px solid var(--line-2)}
.topbar{background:var(--lg-sheen), var(--lg-fill-hi); border-bottom:1px solid var(--line-2);
  box-shadow:inset 0 1px 0 var(--lg-rim-top), 0 10px 24px -20px rgba(0,0,0,.45);
  -webkit-backdrop-filter:var(--lg-blur-hi); backdrop-filter:var(--lg-blur-hi)}
.topbar .crumb b{color:var(--ink)}
.topbar .live{color:var(--ink-2)}

/* the menu: one ink, bare glyphs; the current page a neutral glass lozenge
   with a blue icon and label */
.nav-i{color:var(--ink-2)}
.nav-i .ic,.nav-i:hover .ic{background:none!important; box-shadow:none!important; border-radius:0!important; color:var(--ink-2); width:22px; height:22px}
.nav-i .ic::before{display:none}
.nav-i .ic svg{width:18px; height:18px; stroke:currentColor!important; filter:none!important; stroke-width:2}
.nav-i:hover{background:var(--lg-row); color:var(--ink)}
.nav-i:hover .ic{color:var(--ink)}
.nav-i.on,.nav-i.on:hover{background:var(--lg-lozenge); color:var(--blue-ink); font-weight:650;
  box-shadow:inset 0 1px 0 var(--lg-rim-top), inset 0 0 0 1px var(--lg-rim), 0 0 0 1px var(--line-2), 0 6px 16px -10px rgba(0,0,0,.35)}
.nav-i.on .ic,.nav-i.on:hover .ic{background:none!important; color:var(--blue-ink); box-shadow:none!important}
.nav-i.on svg{stroke:currentColor}
.nav-i .cnt,.nav-i.on .cnt{background:var(--blue); color:var(--on-brand)}
.nav-i.on:focus-visible{outline-color:var(--blue)}
.rail-nav button.grp:hover{background:var(--lg-row)}
/* the plan card: glass with ink, the call to action a solid blue pill */
.rail-upgrade{background:var(--lg-row); color:var(--ink); border:1px solid var(--line-2); box-shadow:none}
.rail-upgrade .pl{color:var(--ink-2); opacity:1}
.rail-upgrade p{color:var(--ink-2); opacity:1}
.rail-upgrade .ru-cta{background:var(--blue); color:var(--on-brand); box-shadow:none}
.rail-upgrade .ru-cta:hover{background:var(--blue-press)}

/* the role switch (HR / Employee) and other segmented controls: a glass track,
   the current choice a brighter glass lozenge */
.viewswitch,.cxo-seg,.dir-views{background:var(--lg-fill); border:1px solid var(--line-2); border-radius:999px; padding:3px;
  box-shadow:var(--lg-edge); -webkit-backdrop-filter:var(--lg-blur); backdrop-filter:var(--lg-blur)}
.viewswitch button,.cxo-seg button{border-radius:999px; color:var(--ink-2)}
.viewswitch button.on,.cxo-seg button.on{background:var(--lg-btn); color:var(--ink);
  box-shadow:inset 0 1px 0 var(--lg-rim-top), inset 0 0 0 1px var(--line-2), 0 3px 10px -5px rgba(0,0,0,.28)}

/* header keys: 44px glass discs; Ask AI a glass pill with a blue sparkle */
.topbar #notifBtn,.topbar .eye{background:var(--lg-sheen), var(--lg-fill-hi); border:1px solid var(--edge); color:var(--ink);
  box-shadow:var(--lg-edge), var(--lg-shadow); -webkit-backdrop-filter:var(--lg-blur); backdrop-filter:var(--lg-blur)}
.topbar .eye{width:44px; height:44px; border-radius:50%}
.topbar #notifBtn:hover,.topbar .eye:hover{background:var(--lg-sheen), var(--lg-btn); color:var(--blue-ink); border-color:var(--edge)}
#aiFab,.topbar #aiFab.docked{background:var(--lg-sheen), var(--lg-fill-hi); color:var(--blue-ink); border:1px solid var(--edge);
  box-shadow:var(--lg-edge), var(--lg-shadow); -webkit-backdrop-filter:var(--lg-blur); backdrop-filter:var(--lg-blur)}
.topbar #aiFab.docked{height:44px; min-height:44px; border-radius:999px; padding:0 16px 0 13px}
#aiFab svg{fill:currentColor}
#aiFab:hover,.topbar #aiFab.docked:hover{background:var(--lg-sheen), var(--lg-btn); transform:none}
.topbar #aiFab.docked .ai-lbl{color:var(--ink); font-weight:650}
#aiFab .pulse{display:none}
@media (max-width:640px){ .topbar #aiFab.docked{width:44px; padding:0} }

/* ── glass cards ── */
.card,.card.stat,.card.stat-plain,.card.stat-quiet,.tbl-wrap,.tpulse,.smart a,.hire-req,.hire-cd,.hire-board,.slk,.ros,.cnh-list,
.nr,.dir-card,.org-chart,.stat-calm,.hero-card,.punch,.celebrate,.idle-box,.cnh-next{
  background:var(--lg-sheen), var(--lg-fill); background-repeat:no-repeat; color:var(--ink);
  border:1px solid var(--edge); box-shadow:var(--lg-edge), var(--lg-shadow);
  -webkit-backdrop-filter:var(--lg-blur); backdrop-filter:var(--lg-blur)}
.card[class*="tint-"]{background:var(--lg-sheen), var(--lg-fill); color:var(--ink); border:1px solid var(--edge)}
.card.today{background:var(--lg-sheen), var(--lg-fill); border:1px solid var(--edge)}
.smart a:hover,.cxo-kpi.cxo-hit:hover{background:var(--lg-sheen), var(--lg-fill-hi); box-shadow:var(--lg-edge), var(--sh-2)}
/* inline "background:var(--sunk)" panels become tints */
.card[style*="background:var(--sunk)"]{background:var(--lg-row)!important; box-shadow:none; -webkit-backdrop-filter:none; backdrop-filter:none}
/* glass inside glass (or inside a dialog): a tint, not another blur */
:is(.card,.tbl-wrap,.nr,.slk,.cnh-list,.ros,.hire-board,.org-chart,#mw .modal,#sheet,#aiPanel,#rail) :is(.card,.tbl-wrap,.smart a,.hire-cd,.hire-req,.dir-card,.stat-calm,.tpulse,.cnh-list,.hero-card,.punch,.viewswitch,.cxo-seg,.dir-views,.tab,.btn,.org-node,.nr-item){
  -webkit-backdrop-filter:none; backdrop-filter:none}
:is(#mw .modal,#sheet,#aiPanel) :is(.card,.tbl-wrap){background:var(--lg-row); box-shadow:none; border:1px solid var(--line-2)}

/* figures in ink: the first tile is no longer a coloured hero */
.hero-card .k,.card[class*="tint-"] .k,.stat .k,.stat .c,.card[class*="tint-"] .c,.hero-card .c{color:var(--ink-2); opacity:1}
.hero-card .v,.card[class*="tint-"] .v,.stat .v{color:var(--ink)}
.card.stat-quiet .v,.card.stat-quiet .k,.card.stat-quiet .c{color:var(--ink-3)}
/* a signal tile (late, waiting): glass, with the status in its dot and figure */
.card.stat.stat-signal.tint-amber,.card.stat.stat-signal.tint-rose{background:var(--lg-sheen), var(--lg-fill); border:1px solid var(--edge)}
.card.stat.stat-signal.tint-amber .k,.card.stat.stat-signal.tint-amber .v{color:var(--wait-ink)}
.card.stat.stat-signal.tint-rose .k,.card.stat.stat-signal.tint-rose .v{color:var(--stop-ink)}
.card.stat.stat-signal .c{color:var(--ink-2)}
.card.stat.stat-signal.tint-amber .k::before{background:var(--wait)}
.card.stat.stat-signal.tint-rose .k::before{background:var(--stop)}
/* "Needs your review": tinted rows inside the glass card; the count chip keeps its status */
.nr-item{background:var(--lg-row); border:1px solid var(--line-2)}
.nr-item.stop,.nr-item.wait{border-color:var(--line-2)}
/* small tinted figures: neutral tiles, ink figures */
.mini-stat,.mini-stat[class*="tint-"]{background:var(--lg-tile); box-shadow:inset 0 0 0 1px var(--line-2)}
.mini-stat[class*="tint-"] b{color:var(--ink)}
/* the punch card and the celebration banner: glass, status said in text */
.punch .st{color:var(--ink-2); opacity:1}
.punch .t{color:var(--ink)}
.punch.inn .st{color:var(--ok-ink)} .punch.pend .st{color:var(--wait-ink)}
.punch .btn{background:var(--blue); color:var(--on-brand)}
.celebrate{color:var(--ink)} .celebrate svg{fill:var(--ok)}
.cnh-next{color:var(--ink)}
.cnh-next .ic{background:var(--lg-tile); color:var(--blue-ink); box-shadow:inset 0 0 0 1px var(--line-2)}
.cnh-next small,.cnh-next em{color:var(--ink-2); opacity:1}
.cnh-next .go{background:var(--blue); color:var(--on-brand)}
.cnh-quick button,.cnh-quick [class*="t-"]{background:var(--lg-sheen), var(--lg-fill); color:var(--ink); box-shadow:var(--lg-edge), inset 0 0 0 1px var(--line-2)}
.cnh-quick svg{color:var(--blue-ink)}
.cnh-ph,.cnh-online,.cnh-empty{background:var(--lg-row)}

/* rows inside glass: visible dividers, a tint on hover */
.tbl td{border-bottom:1px solid var(--line-2)}
.tbl th{color:var(--ink-2)}
.tbl tbody tr:hover td,.tbl tr.row-link:hover td{background:var(--lg-row)}
.dl,.dl .r,.ev,.today-row + .today-row,.cnh-row,.org-row,.cxo-att li,.dir-acts,.ros-legend{border-color:var(--line-2)}
.today-row.go:hover,.ev.tap:hover,.cnh-row:hover,div.cxo-hit:hover,span.cxo-hit:hover,tr.cxo-hit:hover td{background:var(--lg-row)}
.ev .ed{background:var(--lg-row); box-shadow:inset 0 0 0 1px var(--line-2); color:var(--ink-2)}
.ev.today{background:var(--lg-row); box-shadow:inset 0 0 0 1px var(--line-2)}
.ros-name{background:var(--surface)}
.cal .d{background:var(--lg-row); border:1px solid var(--line-2)}
.cal .d:hover{box-shadow:var(--lg-shadow)}
.cal .d.empty{background:transparent; border:0}
.org-node{background:var(--lg-row); border:1px solid var(--line-2); box-shadow:none}
.org-node:hover{border-color:var(--blue)}
.org-node.focus{border:2px solid var(--blue)}
.sf-bar,.bar{background:var(--lg-row); box-shadow:inset 0 0 0 1px var(--line-2)}
.sf-bar i,.bar > i{background:var(--blue)}
.sf-proj,.confirm-note{background:var(--lg-row)}

/* icon squares: neutral glass tiles with a blue glyph (they carried a colour inline) */
.qa-tile .ic,.row .ic,.lrow .ei,.ev .ei,.smart a .si,.empty .em-ic,.ai-hero .spark,#aiPanel .ap-head .sp,.cnh .ch-tile,.cnh .ch-tile.chan,.cnh .ch-tile.grp{
  background:var(--lg-tile)!important; color:var(--blue-ink); box-shadow:inset 0 1px 0 var(--lg-rim-top), inset 0 0 0 1px var(--line-2)!important}
.row .ic::before,.lrow .ei::before{display:none}
.qa-tile .ic svg,.row .ic svg,.lrow .ei svg,.ev .ei svg,.smart a .si svg,.empty .em-ic svg{stroke:currentColor!important; filter:none!important}
.ai-hero .spark svg,#aiPanel .ap-head .sp svg{fill:currentColor}
.qa-tile{background:var(--lg-sheen), var(--lg-fill); border:1px solid var(--edge); box-shadow:var(--lg-edge)}
.qa-tile:hover{background:var(--lg-sheen), var(--lg-btn); border-color:var(--blue)}
.ai-hero{background:var(--lg-row); border:1px solid var(--line-2)}
.ai-chips button{background:var(--lg-btn); border:1px solid var(--line-2); color:var(--ink)}

/* avatars: a neutral grey glass disc with ink initials */
.rail-me .av,.prof-av,.ep-av,.org-av,.cx-me .av,.cnh .ch-av,.cnh .ch-av[class*="t"],.tpulse .stk span{
  background:var(--lg-sheen), var(--lg-tile)!important; color:var(--ink)!important;
  box-shadow:inset 0 1px 0 var(--lg-rim-top), inset 0 0 0 1px var(--line-2)}
.tpulse .stk span{background:var(--surface)!important; box-shadow:inset 0 0 0 1px var(--line); border-color:var(--surface)}
.rail-me .av:has(img),.prof-av:has(img),.ep-av:has(img),.cx-me .av:has(img){background:none!important}

/* ── buttons: the primary a solid blue pill, the quieter one a neutral glass
   pill with blue text and a visible ring; no 3D keys, no gradients ── */
.btn,.btn-sm{border-radius:999px}
.btn-blue,.btn-blue:hover,.btn-sm.btn-blue{background:var(--blue); color:var(--on-brand); border:0; box-shadow:none; transform:none}
.btn-blue:hover{background:var(--blue-press)}
.btn-ghost,.btn-ghost:hover,.btn-sm.btn-ghost{background:var(--lg-sheen), var(--lg-btn); color:var(--blue-ink); border:0; transform:none;
  box-shadow:inset 0 1px 0 var(--lg-rim-top), inset 0 0 0 1px var(--line), 0 6px 16px -12px rgba(0,0,0,.30)}
.btn-ghost:hover{background:var(--lg-sheen), var(--lg-fill-hi); box-shadow:inset 0 1px 0 var(--lg-rim-top), inset 0 0 0 1px var(--blue), 0 6px 16px -12px rgba(0,0,0,.30)}
.btn-danger,.btn-danger:hover{background:var(--stop-ink); color:var(--on-brand); box-shadow:none}
.btn-danger:hover{background:color-mix(in srgb,var(--stop-ink) 85%, #000)}
.btn-danger-ghost,.btn-danger-ghost:hover{background:var(--lg-sheen), var(--lg-btn); color:var(--stop-ink);
  box-shadow:inset 0 1px 0 var(--lg-rim-top), inset 0 0 0 1px color-mix(in srgb,var(--stop-ink) 45%, transparent)}
.btn:active,.btn-sm:active{transform:scale(.97)!important; box-shadow:none!important}
.btn-ghost:active{box-shadow:inset 0 0 0 1px var(--line)!important}
.tbl td:last-child > .btn-ghost.btn-sm:only-child{background:none; box-shadow:none; color:var(--blue-ink)}
.tbl td:last-child > .btn-ghost.btn-sm:only-child:hover{background:var(--lg-row)}
.dir-act,.cx-back{background:var(--lg-sheen), var(--lg-btn); color:var(--blue-ink); border:1px solid var(--line);
  box-shadow:inset 0 1px 0 var(--lg-rim-top)}
.dir-act:hover,.cx-back:hover{background:var(--lg-sheen), var(--lg-fill-hi); border-color:var(--blue)}
.cx-back:active{transform:scale(.97); box-shadow:none}
.amt-eye{background:var(--lg-row); border-color:var(--line-2)}
.amt-eye.on{background:var(--blue-soft); color:var(--blue-ink)}
/* tabs and chips: glass pills; the current one solid blue (selection) */
.tab{background:var(--lg-sheen), var(--lg-btn); border:1px solid var(--line); color:var(--ink-2); border-radius:999px; box-shadow:inset 0 1px 0 var(--lg-rim-top)}
.tab:hover{border-color:var(--blue); color:var(--blue-ink)}
.tab.on,.tab.on:hover{background:var(--blue); color:var(--on-brand); border-color:var(--blue); box-shadow:none}
.mode-chips .mc{background:var(--lg-btn); border:1px solid var(--line)}

/* ── fields: a light glass well with a solid ring you can see ── */
.f input,.f select,.f textarea,#sheet input:not([type=checkbox]):not([type=radio]):not([type=range]),#sheet select,#sheet textarea,
#mw .modal input:not([type=checkbox]):not([type=radio]):not([type=range]),#mw .modal select,#mw .modal textarea,
.yr-sel,select.yr-sel,#view input[type="month"],.nt-in,.cxo-ctl select,.ai-bar input,.cx-search .slk-search input,.slk-search input{
  background-color:var(--lg-field); border:1px solid var(--field-edge); box-shadow:none; color:var(--ink)}
.yr-sel,select.yr-sel{border-radius:999px; padding-left:16px; font-weight:600}
input.yr-sel{border-radius:999px}
.f input:focus,.f select:focus,.f textarea:focus,#sheet input:focus,#sheet select:focus,#sheet textarea:focus,
#mw .modal input:focus,#mw .modal select:focus,#mw .modal textarea:focus,.yr-sel:focus,.yr-sel.zs-open,#view input[type="month"]:focus,.nt-in:focus,.ai-bar input:focus{
  outline:none; border-color:var(--blue); background-color:var(--lg-fill-hi); box-shadow:0 0 0 3px color-mix(in srgb,var(--blue) 24%, transparent)}
.ai-bar button{background:var(--blue); color:var(--on-brand); border-radius:999px}

/* ── dialogs, side panels, sheets and the AI panel: thick glass over a tinted, blurred page ── */
#mw,#mw.side,#sheetwrap .scrim{background:var(--lg-scrim); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px)}
#mw .modal,#sheet,#aiPanel{background:var(--lg-sheen), var(--lg-fill-hi); background-repeat:no-repeat; border:1px solid var(--edge);
  box-shadow:var(--lg-edge), var(--lg-shadow-hi); -webkit-backdrop-filter:var(--lg-blur-hi); backdrop-filter:var(--lg-blur-hi)}
@media (min-width:1100px){
  #mw.side .modal{margin:10px; height:calc(100vh - 20px); border-radius:28px; border:1px solid var(--edge)}
  #mw.side .mfoot{background:transparent; -webkit-backdrop-filter:none; backdrop-filter:none; border-top:1px solid var(--line-2)}
}
#aiPanel{border-width:0 0 0 1px}
#aiPanel .ap-head,#aiPanel .ap-foot{background:transparent; -webkit-backdrop-filter:none; backdrop-filter:none}
#aiPanel .ap-head{border-bottom:1px solid var(--line-2)}
#aiPanel .ap-foot{border-top:1px solid var(--line-2)}
.ai-msg.you{background:var(--blue); color:var(--on-brand)}
.ai-msg.bot{background:var(--lg-row); border:1px solid var(--line-2)}
#mw .modal .sec-t{border-bottom-color:var(--line-2)}
.modal .ep-panel{background:var(--lg-row)}
.modal .ep-doc{background:var(--lg-btn); border-color:var(--line-2)}
.epw-head{background:var(--lg-row); color:var(--ink); border-bottom:1px solid var(--line-2)}
.epw-head p{color:var(--ink-2); opacity:1}
.idle-warn{background:var(--lg-scrim); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px)}
.idle-box{background:var(--lg-sheen), var(--lg-fill-hi); box-shadow:var(--lg-edge), var(--lg-shadow-hi)}

/* ── dropdown lists: smoked glass, 18px corners, big rows, a check on the current one ── */
.zs-panel{padding:6px; gap:0; border:0; border-radius:18px; max-height:min(400px,62vh); color:var(--lg-smoke-ink);
  background:var(--lg-smoke-sheen), var(--lg-smoke);
  box-shadow:inset 0 1px 0 var(--lg-smoke-rim-top), inset 0 0 0 1px var(--lg-smoke-rim), 0 30px 64px -22px rgba(0,0,0,.60), 0 4px 14px rgba(0,0,0,.12);
  -webkit-backdrop-filter:blur(36px) saturate(180%); backdrop-filter:blur(36px) saturate(180%)}
@media (prefers-color-scheme:dark){ .zs-panel{background:var(--lg-smoke-sheen), var(--lg-smoke);
  box-shadow:inset 0 1px 0 var(--lg-smoke-rim-top), inset 0 0 0 1px var(--lg-smoke-rim), 0 30px 64px -22px rgba(0,0,0,.85)} }
.zs-panel::-webkit-scrollbar{width:10px}
.zs-panel::-webkit-scrollbar-track{background:transparent; margin:14px 0}
.zs-panel::-webkit-scrollbar-thumb{background:var(--lg-smoke-thumb); border-radius:10px; border:3px solid transparent; background-clip:padding-box}
.zs-opt{position:relative; min-height:48px; padding:0 14px 0 16px; border-radius:12px; color:var(--lg-smoke-ink);
  font-size:1rem; font-weight:500; letter-spacing:-.01em}
.zs-opt + .zs-opt::before{content:""; position:absolute; left:16px; right:16px; top:0; height:1px; background:var(--lg-smoke-hair)}
.zs-opt:hover,.zs-opt:focus-visible{background:var(--lg-smoke-hover)}
.zs-opt:hover::before,.zs-opt:hover + .zs-opt::before,.zs-opt:focus-visible::before,.zs-opt:focus-visible + .zs-opt::before{opacity:0}
.zs-opt.on{color:var(--lg-smoke-ink); font-weight:650; background:transparent}
.zs-opt.on:hover,.zs-opt.on:focus-visible{background:var(--lg-smoke-hover)}
.zs-opt svg{width:18px; height:18px; stroke-width:2.4}
.zs-opt[disabled]{opacity:.45}
.zs-grp{color:var(--lg-smoke-ink-2); padding:12px 16px 6px}
.zs-panel .zs-opt:focus-visible{outline:none!important; background:var(--lg-smoke-hover)}
/* day: the list is a white glass sheet with dark text, like the field it opens from;
   night keeps the smoked glass */
@media (prefers-color-scheme:light){
  .zs-panel{--lg-smoke-ink:var(--ink); --lg-smoke-ink-2:var(--ink-2); --lg-smoke-hover:var(--lg-lozenge, rgba(60,60,67,.08));
    --lg-smoke-hair:var(--lg-hair); --lg-smoke-thumb:var(--line);
    background:var(--surface); color:var(--ink);
    -webkit-backdrop-filter:blur(30px) saturate(180%); backdrop-filter:blur(30px) saturate(180%);
    box-shadow:inset 0 0 0 1px var(--line-2), 0 30px 64px -22px rgba(20,22,30,.32), 0 4px 14px rgba(20,22,30,.08)}
  .zs-panel .zs-opt.on{color:var(--blue-ink)}
}


/* ── toast: a smoked-glass pill in both themes ── */
#toast,#toast.on{color:var(--lg-smoke-ink); border:0; background:var(--lg-smoke-sheen), var(--lg-smoke);
  box-shadow:inset 0 1px 0 var(--lg-smoke-rim-top), inset 0 0 0 1px var(--lg-smoke-rim), 0 18px 40px -16px rgba(0,0,0,.55);
  -webkit-backdrop-filter:blur(30px) saturate(180%); backdrop-filter:blur(30px) saturate(180%)}

/* ── Connect's own page: the same glass, a flat blue mark ── */
.cx-mark{background:var(--blue); box-shadow:none}
.slk-top{background:transparent}
.slk-ch.on{background:var(--lg-lozenge); color:var(--blue-ink)}
.slk-ch.on .slk-h,.slk-ch.on .slk-b{color:var(--blue-ink)}
.slk-mbtn{background:var(--lg-btn); box-shadow:inset 0 0 0 1px var(--line-2)}

/* ── opaque fallbacks: asked-for less transparency, or no backdrop-filter ── */
@media (prefers-reduced-transparency:reduce){
  :root{ --lg-fill:var(--surface); --lg-fill-hi:var(--raise); --lg-row:var(--sunk); --lg-field:var(--raise); --lg-btn:var(--raise);
    --lg-tile:var(--sunk); --lg-lozenge:var(--blue-soft); --lg-smoke:#2A2A30; --lg-sheen:linear-gradient(transparent,transparent);
    --lg-smoke-sheen:linear-gradient(transparent,transparent); --lg-scrim:rgba(10,12,18,.55); --lg-rim:var(--line-2); --lg-rim-top:var(--line-2);
    --lg-wash:linear-gradient(var(--lg-base),var(--lg-base)); --lg-blur:none; --lg-blur-hi:none }
  .zs-panel,#toast,#mw,#mw.side,#sheetwrap .scrim,.idle-warn{-webkit-backdrop-filter:none!important; backdrop-filter:none!important}
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  :root{ --lg-fill:color-mix(in srgb,var(--surface) 94%, transparent); --lg-fill-hi:var(--raise); --lg-row:var(--sunk); --lg-field:var(--raise);
    --lg-btn:var(--raise); --lg-tile:var(--sunk); --lg-lozenge:var(--blue-soft); --lg-smoke:#2A2A30; --lg-scrim:rgba(10,12,18,.5) }
}

/* ═══════════  APPROVED 3 NOV: FRAME, BUTTONS, MOMENT, TILES  ═══════════
   The owner approved these samples ("Apply all"): the side panel flush to
   the left edge, one top band across it and the bar; one solid-blue primary
   per area with blue-tinted secondaries, red-tinted actions that remove or
   sign out, links for "Show all"; the view switch selected in the one blue;
   Auto / Light / Dark in the bar; the greeting moment; one colour tile per
   kind of thing (docs/design/icons/categories.json). */

/* icon library glyphs: sized by their context; this is only the fallback */
:where(.zi){width:1.15em; height:1.15em; flex:none; vertical-align:-.2em}

/* ── the frame: the panel is the page's left edge, full height ── */
@media (min-width:821px){
  body:not(.cx) #rail{margin:0; top:0; height:100vh; border-radius:0; border:0; border-right:1px solid var(--line-2); box-shadow:none}
}
body:not(.cx) .rail-brand{height:var(--top-h); box-sizing:border-box; border-bottom:1px solid var(--line-2)}
body:not(.cx) .topbar{height:var(--top-h); box-sizing:border-box; border-bottom:1px solid var(--line-2); border-radius:0;
  box-shadow:inset 0 1px 0 var(--lg-rim-top)}

/* ── buttons ── */
.btn-ghost,.btn-ghost:hover,.btn-sm.btn-ghost{background:color-mix(in srgb, var(--blue) 12%, transparent); color:var(--blue-ink);
  border:0; box-shadow:none; transform:none}
.btn-ghost:hover{background:color-mix(in srgb, var(--blue) 19%, transparent)}
.btn-ghost:active{box-shadow:none!important}
.btn-danger-ghost,.btn-danger-ghost:hover{background:color-mix(in srgb, var(--stop) 12%, transparent); color:var(--stop-ink);
  border:0; box-shadow:none; transform:none}
.btn-danger-ghost:hover{background:color-mix(in srgb, var(--stop) 19%, transparent)}
.btn-link,.btn-link:hover{background:none; border:0; box-shadow:none; color:var(--blue-ink); padding-left:2px; padding-right:2px; transform:none}
.btn-link:hover{text-decoration:underline; text-underline-offset:3px}
.btn:focus-visible{outline:3px solid color-mix(in srgb, var(--blue) 45%, transparent); outline-offset:2px}

/* ── the HR / Employee switch: the selected view in the one blue, with room inside its rim ── */
.viewswitch{padding:6px; gap:2px}
.viewswitch button{padding-left:16px; padding-right:16px}
.viewswitch button.on,.viewswitch button.on:hover{background:var(--blue); color:var(--on-brand); box-shadow:0 6px 16px -8px var(--blue)}

/* ── Auto / Light / Dark ── */
.theme-sw{display:inline-flex; align-items:center; gap:2px; padding:6px; margin-left:14px; flex:none; border-radius:999px;
  background:var(--lg-fill); box-shadow:inset 0 0 0 1px var(--line-2)}
.theme-sw button{display:inline-flex; align-items:center; gap:6px; min-height:32px; padding:0 12px; border-radius:999px;
  font-size:.8rem; font-weight:600; color:var(--ink-2)}
.theme-sw button:hover{color:var(--ink); background:var(--lg-row)}
.theme-sw button .zi{width:16px; height:16px}
.theme-sw button.on,.theme-sw button.on:hover{background:var(--blue); color:var(--on-brand)}
.theme-sw button:focus-visible{outline:2px solid var(--blue); outline-offset:2px}
.topbar .theme-sw + #aiFab.docked{margin-left:14px}
@media (max-width:1280px){ .theme-sw span{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0)} .theme-sw button{padding:0 9px} }
/* the side menu's copy: only where the bar has no room for it */
#themeSwRail{display:none}
@media (max-width:820px){
  .topbar #themeSw{display:none}
  #themeSwRail{display:flex; justify-content:space-between; margin:10px 16px; flex:none}
  #themeSwRail button{flex:1; justify-content:center}
}

/* ── the greeting moment: a glass medallion, one object that moves ── */
:root{--mo-rim:rgba(255,255,255,.85); --mo-in:rgba(255,255,255,.55); --mo-shadow:rgba(20,28,60,.22); --mo-sat:1}
@media (prefers-color-scheme:dark){ :root{--mo-rim:rgba(255,255,255,.16); --mo-in:rgba(255,255,255,.06); --mo-shadow:rgba(0,0,0,.6); --mo-sat:.85} }
.greet-row.home-head{justify-content:flex-start; align-items:center; gap:20px}
.home-head .gh-txt{min-width:0}
.home-head .page-s{margin-top:.3rem}
.home-head-l{display:flex; align-items:center; gap:20px; min-width:0}
.mo{position:relative; width:76px; height:76px; border-radius:50%; flex:none; isolation:isolate; overflow:hidden;
  box-shadow:inset 0 0 0 1px var(--mo-rim), 0 14px 30px -14px var(--mo-shadow)}
.mo .mo-au{position:absolute; inset:-30%; border-radius:50%; z-index:-2; will-change:transform;
  background:conic-gradient(from 0deg, var(--a1), var(--a2), var(--a3), var(--a1));
  filter:blur(14px) saturate(var(--mo-sat)); animation:moSpin 14s linear infinite}
.mo::after{content:""; position:absolute; inset:0; border-radius:50%; z-index:-1;
  background:radial-gradient(120% 80% at 30% 12%, var(--mo-in) 0%, transparent 46%)}
.mo > svg,.mo .mo-spark{position:absolute; will-change:transform,opacity}
.mo > svg{left:0; top:0; width:100%; height:100%}
.mo .mo-spark{left:49%; top:35%; width:3px; height:3px; border-radius:50%; background:#FFF3B0}
@keyframes moSpin{to{transform:rotate(360deg)}}
@keyframes moSteam{0%{opacity:0; transform:translateY(6%) scaleX(1)} 30%{opacity:.95} 100%{opacity:0; transform:translateY(-22%) scaleX(1.25)}}
@keyframes moRock{0%,100%{transform:rotate(-9deg)} 50%{transform:rotate(7deg)}}
@keyframes moTwinkle{0%,100%{opacity:0; transform:scale(.4)} 50%{opacity:1; transform:scale(1)}}
@keyframes moSink{0%,100%{transform:translateY(0)} 50%{transform:translateY(9%)}}
@keyframes moPulse{0%,100%{transform:scale(1); opacity:.6} 50%{transform:scale(1.15); opacity:1}}
@keyframes moFlicker{0%,100%{transform:scale(1,1) skewX(0)} 25%{transform:scale(.94,1.07) skewX(3deg)} 50%{transform:scale(1.04,.95) skewX(-2deg)} 75%{transform:scale(.97,1.04) skewX(2deg)}}
@keyframes moSparkUp{0%{opacity:0; transform:translate(0,0) scale(.5)} 20%{opacity:1} 100%{opacity:0; transform:translate(var(--dx),-22px) scale(1)}}
.mo .mo-steam{transform-origin:50% 100%; animation:moSteam 2.8s ease-out infinite}
.mo .mo-rays{transform-origin:50% 50%; animation:moSpin 18s linear infinite}
.mo .mo-glow{transform-origin:50% 50%; animation:moPulse 4s ease-in-out infinite}
.mo .mo-moon{transform-origin:50% 50%; animation:moRock 6s ease-in-out infinite}
.mo .mo-tw{animation:moTwinkle 2.6s ease-in-out infinite}
.mo .mo-drift{animation:moDrift 12s linear infinite}
.mo .mo-drift.b{animation-delay:-6s}
.mo .mo-fly{animation:moFly 12s linear infinite}
.mo .mo-fly.b{animation-delay:-5s}
.mo .mo-wing{transform-box:fill-box; transform-origin:50% 100%; animation:moFlap 1s ease-in-out infinite}
.mo .mo-shim{transform-box:fill-box; transform-origin:50% 50%; animation:moShim 3s ease-in-out infinite}
.mo .mo-shoot{opacity:0; animation:moShoot 12s linear infinite}
.mo .mo-halo{transform-origin:50% 40%; animation:moPulse 2.4s ease-in-out infinite}
@keyframes moDrift{from{transform:translateX(-85%)} to{transform:translateX(85%)}}
@keyframes moFly{from{transform:translateX(-62%)} to{transform:translateX(62%)}}
@keyframes moFlap{0%,100%{transform:scaleY(1)} 50%{transform:scaleY(.35)}}
@keyframes moShim{0%,100%{opacity:.4; transform:scaleX(.72)} 50%{opacity:.95; transform:scaleX(1)}}
@keyframes moShoot{0%{opacity:0; transform:translate(0,0)} 1%{opacity:1} 9%{opacity:0; transform:translate(-54%,32%)} 100%{opacity:0; transform:translate(-54%,32%)}}
.mo .mo-flame{transform-origin:50% 62%; animation:moFlicker .9s ease-in-out infinite}
.mo .mo-spark{animation:moSparkUp 2.2s ease-out infinite}
@media (prefers-reduced-motion:reduce){ .mo *, .mo{animation:none!important} }
.mo-morning{--a1:#FFD9A0; --a2:#FFB4A2; --a3:#FFE9C7}
.mo-afternoon{--a1:#7CC4FF; --a2:#5AA2FF; --a3:#BFE6FF}
.mo-evening{--a1:#FF9A7A; --a2:#C86FC9; --a3:#FFC27C}
.mo-night{--a1:#3B3F9E; --a2:#5A3FA8; --a3:#2A3A8C}
.mo-festival{--a1:#FFB547; --a2:#FF7A45; --a3:#FFD98A}
@media (prefers-color-scheme:dark){
  .mo-morning{--a1:#B8743A; --a2:#A0566A; --a3:#C99654}
  .mo-afternoon{--a1:#2F6FC4; --a2:#2456A8; --a3:#4C8BD6}
  .mo-evening{--a1:#B0533F; --a2:#7A3A8A; --a3:#C07A3C}
  .mo-night{--a1:#1E2266; --a2:#33236E; --a3:#162254}
  .mo-festival{--a1:#B86A1C; --a2:#A3402A; --a3:#C98D2E}
}
@media (max-width:640px){ .mo{width:60px; height:60px} .greet-row.home-head,.home-head-l{gap:14px} }

/* ── one colour tile per kind of thing ── */
.cat-overview{--c1:#4A58C8; --c2:#141E78; --cg:#141E78}
.cat-people{--c1:#FF6015; --c2:#E45010; --cg:#E45010}
.cat-time{--c1:#B47B00; --c2:#9F6D00; --cg:#AA8D00}
.cat-leave{--c1:#27AA59; --c2:#0C8C3E; --cg:#0C8C3E}
.cat-festival{--c1:#D06C00; --c2:#B65E00; --cg:#CF7A00}
.cat-pay{--c1:#3396FF; --c2:#0660E0; --cg:#0660E0}
.cat-tax{--c1:#C8306C; --c2:#7E0C40; --cg:#7E0C40}
.cat-expense{--c1:#A87458; --c2:#5A3420; --cg:#5A3420}
.cat-travel{--c1:#9183FF; --c2:#6A60F6; --cg:#6A60F6}
.cat-learning{--c1:#14A786; --c2:#0A9780; --cg:#0C9F86}
.cat-docs{--c1:#6597D3; --c2:#5D89C0; --cg:#6D8EB4}
.cat-connect{--c1:#00A1C9; --c2:#0091C0; --cg:#0098CA}
.cat-approvals{--c1:#B868FF; --c2:#7C14DC; --cg:#7C14DC}
.cat-birthday{--c1:#FF5397; --c2:#E01468; --cg:#E01468}
.cat-milestone{--c1:#B88E23; --c2:#845A00; --cg:#845A00}
.cat-alert{--c1:#FF4A5C; --c2:#CC0A28; --cg:#CC0A28}
.cat-compliance{--c1:#8F9C1D; --c2:#798E07; --cg:#819708}
.cat-security{--c1:#1E8A5C; --c2:#053E28; --cg:#053E28}
.cat-settings{--c1:#5BA286; --c2:#3C7866; --cg:#3C7866}
.cat-hiring{--c1:#F04FE8; --c2:#CC2CC0; --cg:#CC2CC0}
.cat-onboarding{--c1:#2FAB08; --c2:#31991F; --cg:#35A321}
.cat-meetings{--c1:#1A88B4; --c2:#043E60; --cg:#043E60}
.cat-helpdesk{--c1:#DA6323; --c2:#BF571F; --cg:#BA7E58}
.cat-notify{--c1:#FF5A72; --c2:#EC4B69; --cg:#DD687E}
.cat-policy{--c1:#9C4CAC; --c2:#541860; --cg:#541860}
.cat-privacy{--c1:#7C8C30; --c2:#3C4808; --cg:#3C4808}
.cat-about{--c1:#C46DFF; --c2:#A269EE; --cg:#9F83C7}
@media (prefers-color-scheme:dark){
  .cat-overview{--c1:#404CAC; --c2:#121A6A; --cg:#5F6BCE}
  .cat-people{--c1:#DB7545; --c2:#C9460E; --cg:#FF8850}
  .cat-time{--c1:#AD7600; --c2:#956600; --cg:#FFEA40}
  .cat-leave{--c1:#2AA659; --c2:#0B7B37; --cg:#34D070}
  .cat-festival{--c1:#C66600; --c2:#AB5900; --cg:#FFB830}
  .cat-pay{--c1:#3485DB; --c2:#0554C5; --cg:#3D9BFF}
  .cat-tax{--c1:#AC295D; --c2:#6F0B38; --cg:#CB3C75}
  .cat-expense{--c1:#90644C; --c2:#4F2E1C; --cg:#A87458}
  .cat-travel{--c1:#948BDB; --c2:#5D54D8; --cg:#ACA2FF}
  .cat-learning{--c1:#2FA38A; --c2:#0B9E86; --cg:#50EAC8}
  .cat-docs{--c1:#7995B4; --c2:#6D8DB4; --cg:#BCD2EC}
  .cat-connect{--c1:#249FBD; --c2:#0097C9; --cg:#4FDCFF}
  .cat-approvals{--c1:#9E59DB; --c2:#6D12C2; --cg:#B868FF}
  .cat-birthday{--c1:#DB5F90; --c2:#C5125C; --cg:#FF6FA8}
  .cat-milestone{--c1:#B38A22; --c2:#744F00; --cg:#D0A028}
  .cat-alert{--c1:#DB404F; --c2:#B40923; --cg:#FF4A5C}
  .cat-compliance{--c1:#8D992C; --c2:#7B9007; --cg:#CCDC40}
  .cat-security{--c1:#1A774F; --c2:#043723; --cg:#1E8A5C}
  .cat-settings{--c1:#6C9C89; --c2:#356A5A; --cg:#88BCA8}
  .cat-hiring{--c1:#CF6DCA; --c2:#B427A9; --cg:#F58CF0}
  .cat-onboarding{--c1:#49A52C; --c2:#319A1F; --cg:#90F870}
  .cat-meetings{--c1:#16759B; --c2:#043754; --cg:#1A88B4}
  .cat-helpdesk{--c1:#D15F22; --c2:#B5521D; --cg:#FFD4B0}
  .cat-notify{--c1:#D17784; --c2:#D36378; --cg:#FFACB8}
  .cat-policy{--c1:#864194; --c2:#4A1554; --cg:#A257B1}
  .cat-privacy{--c1:#6B7829; --c2:#353F07; --cg:#7C8C30}
  .cat-about{--c1:#AA83C4; --c2:#9A75CF; --cg:#ECD0FF}
}
.ztile{width:40px; height:40px; flex:none; border-radius:28%; display:grid; place-items:center; color:#fff;
  background:linear-gradient(180deg, var(--c1), var(--c2));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.38), inset 0 -1px 0 rgba(0,0,0,.10), 0 6px 14px -8px var(--c2)}
.ztile .zi{width:60%; height:60%; filter:drop-shadow(0 1px 1px rgba(0,0,0,.28))}
@media (prefers-color-scheme:dark){
  .ztile{box-shadow:inset 0 1px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(0,0,0,.2), 0 4px 10px -8px var(--c2)}
}
/* a card that stands for one thing: its colour washes in from the tile, the whole card opens it */
.smart a.cat-card{position:relative; gap:14px; padding:14px 14px 14px 16px; overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease}
.smart a.cat-card::before{content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(100deg, color-mix(in srgb, var(--c1) 16%, transparent), transparent 70%)}
.smart a.cat-card > *{position:relative}
.smart a.cat-card:hover{transform:translateY(-2px); box-shadow:var(--lg-edge), 0 14px 30px -18px var(--c2)}
.smart a.cat-card:focus-visible,.ev.tap:focus-visible,.ntf-row:focus-visible{outline:3px solid color-mix(in srgb, var(--blue) 55%, transparent); outline-offset:2px}
.cc-txt{min-width:0; flex:1}
.cc-tag{flex:none; font-size:.7rem; font-weight:700; padding:4px 9px; border-radius:999px;
  color:color-mix(in srgb, var(--c2) 80%, var(--ink)); background:color-mix(in srgb, var(--c1) 18%, transparent)}
.ev-chev{flex:none; display:grid; place-items:center; color:var(--ink-3); transition:transform .18s ease, color .18s ease}
.ev-chev .zi{width:16px; height:16px}
.smart a.cat-card:hover .ev-chev,.ev.tap:hover .ev-chev,.ntf-row:hover .ev-chev{transform:translateX(2px); color:var(--c2, var(--blue-ink))}
.ev .ztile{width:36px; height:36px}
.ev.tap{border-radius:12px}
.today-row .ztile{width:32px; height:32px}
/* notifications */
.ntf-row{all:unset; box-sizing:border-box; cursor:pointer; display:flex; gap:12px; align-items:center; width:100%;
  padding:10px 8px; border-radius:12px; border-bottom:1px solid var(--line-2)}
.ntf-row:hover{background:var(--lg-row)}
.ntf-row .ztile{width:34px; height:34px}
.ntf-txt{flex:1; min-width:0} .ntf-txt b{display:block; font-size:.9rem} .ntf-txt span{display:block; font-size:.78rem; color:var(--ink-3)}

/* ── text stays inside its box (TARGET=console node tests/app-boxes.mjs) ── */
/* no word left alone on a last line — the browser evens the wrap, as in the web app */
/* (balance: Chrome evens every line of a short block and leaves anything past six lines as it wraps) */
html{text-wrap:balance}
/* a grid's columns share the width: a wide table or field scrolls inside its card instead of pushing the page sideways */
.grid > *{min-width:0}
.g2{grid-template-columns:repeat(2,minmax(0,1fr))} .g3{grid-template-columns:repeat(3,minmax(0,1fr))} .g4{grid-template-columns:repeat(4,minmax(0,1fr))}
/* a three-up of cards (not figures) goes two-up before its cards get too narrow for their buttons */
@media (max-width:1180px){ .g3:not(:has(> .stat)){grid-template-columns:repeat(2,minmax(0,1fr))} }
/* a form grid's two columns share the width too; a field never pushes past its column */
.fgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
.fgrid > *{min-width:0}
.fgrid select,.fgrid input,.fgrid textarea,.card input,.card select{min-width:0; max-width:100%}
/* quick actions in a half-width card: the icon above the label, so "reimbursement" fits */
@media (max-width:1180px){ .g2 .qa-tile{flex-direction:column; align-items:flex-start; gap:8px; padding:12px} }
@media (max-width:1000px){ .g4{grid-template-columns:repeat(2,minmax(0,1fr))} .g3{grid-template-columns:minmax(0,1fr)} }
@media (max-width:820px){ .g2{grid-template-columns:minmax(0,1fr)} }
.card .fgrid,.card select,.card input{max-width:100%}
/* a field inside a table row is a cell's field: tighter corners than a card's, clear of the table's rounded rim */
.tbl .nt-in{--r-sm:8px; border-radius:8px}   /* the page's field rule reads --r-sm */
/* a Today row's hover fill sits inside the card's padding, not over its edge */
.today-row{margin:0}
/* a Today row's note on the right ("3 anniversaries: …") wraps instead of widening the row; under 520px it
   sits under the label, lined up past the tile */
.today-sub{min-width:0; flex:0 1 auto; white-space:normal; text-align:right}
@media (max-width:520px){ .today-sub{padding-left:44px; text-align:left} }
/* a phone's bar: the HR / Employee switch keeps its room inside the rim with less padding, so the bell fits */
@media (max-width:820px){ .viewswitch{padding:4px} .viewswitch button{padding-left:10px; padding-right:10px} }
/* a narrow bar keeps the live dot and drops its words, so the bell stays inside the bar */
@media (max-width:1180px){ body:not(.cx) .topbar .live{font-size:0; gap:0} }
/* ═══════════  end 3 Nov  ═══════════ */

/* ═══════════  TAX STUDIO 3 Nov (src/console/52-tax-studio.js)  ═══════════
   Declarations full screen: sections | the entry | the tax under both
   regimes. Glass panels from the tokens above, one blue accent; section
   tiles carry their colour family (docs/design/icons/categories.json). */
html.txs-lock{overflow:hidden}
.txs{position:fixed; inset:0; z-index:70; background:var(--lg-base); background-image:var(--lg-wash); color:var(--ink); display:flex}
.txs-sprite{position:absolute; width:0; height:0; overflow:hidden}
.txs-shell{flex:1; min-width:0; display:grid; grid-template-rows:auto minmax(0,1fr)}
.txs-load{padding:28px}
.txs-err{padding:28px; color:var(--ink-2)}
.txs-i{width:18px; height:18px; flex:none}
.txs-top{display:flex; align-items:center; gap:14px; padding:14px 26px; border-bottom:1px solid var(--line-2);
  background:var(--lg-fill-hi); backdrop-filter:var(--lg-blur); -webkit-backdrop-filter:var(--lg-blur)}
.txs-ttl{min-width:0; flex:1}
.txs-ttl h2{margin:0; font-family:var(--display); font-size:1.3rem; font-weight:800; letter-spacing:-.02em}
.txs-ttl p{margin:2px 0 0; color:var(--ink-3); font-size:.86rem}
.txs-x{width:40px; height:40px; flex:none; border-radius:50%; display:grid; place-items:center; cursor:pointer; color:var(--ink);
  background:var(--lg-btn); border:1px solid var(--line-2)}
.txs-x .txs-i{width:20px; height:20px}
.txs-x.sm{width:32px; height:32px; margin-left:auto} .txs-x.sm .txs-i{width:16px; height:16px}
.txs-x:hover{background:var(--lg-lozenge)}
.txs :focus-visible{outline:3px solid var(--focus); outline-offset:2px}
.txs-tile{width:38px; height:38px; flex:none; border-radius:28%; display:grid; place-items:center; color:#fff;
  background:linear-gradient(180deg,var(--c1),var(--c2));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.38), inset 0 -1px 0 rgba(0,0,0,.10), 0 6px 14px -9px var(--c2)}
.txs-tile .txs-i{width:22px; height:22px; filter:drop-shadow(0 1px .6px rgba(0,0,0,.18))}
@media (prefers-color-scheme:dark){ .txs-tile{background:linear-gradient(180deg,var(--c1d),var(--c2d)); box-shadow:inset 0 1px 0 rgba(255,255,255,.22), 0 4px 10px -8px rgba(0,0,0,.8)} }
.txs-cols{display:grid; grid-template-columns:290px minmax(0,1fr) 384px; min-height:0}
.txs-side,.txs-mid,.txs-calc{min-height:0; overflow-y:auto}
.txs-side{display:flex; overflow:hidden; border-right:1px solid var(--line-2); background:var(--lg-fill)}
.txs-side-in{flex:1; min-width:0; min-height:0; overflow-y:auto; padding:16px 12px; display:flex; flex-direction:column; gap:4px}
.txs-sx{display:flex; align-items:flex-start; gap:12px; width:100%; padding:11px 12px; border-radius:16px; text-align:left; cursor:pointer;
  font:inherit; color:inherit; background:transparent; border:1px solid transparent}
.txs-sx:hover{background:var(--lg-row)}
.txs-sx.on{background:var(--raise); border-color:var(--line-2); box-shadow:var(--lg-shadow)}
.txs-sx-t{flex:1; min-width:0; display:grid; grid-template-columns:auto minmax(0,1fr); column-gap:8px; row-gap:1px; align-items:baseline}
.txs-sx-t b{font-size:.95rem}
.txs-sx-t > span{min-width:0; font-size:.76rem; font-weight:600; color:var(--ink-3); font-variant-numeric:tabular-nums; text-align:right}
.txs-sx-t small{grid-column:1 / -1; color:var(--ink-2); font-size:.8rem}
.txs-bar{grid-column:1 / -1; display:flex; height:6px; margin-top:7px; border-radius:6px; overflow:hidden; background:var(--line-2)}
.txs-bar i{display:block; height:100%; background:var(--blue); transition:width .25s ease}
.txs-bar i.d{background:color-mix(in srgb, var(--blue) 42%, transparent)}
.txs-mid{padding:26px 34px 40px}
.txs-mid > *{max-width:820px}
.txs-h{margin:0; font-family:var(--display); font-size:1.55rem; font-weight:800; letter-spacing:-.02em; text-wrap:balance}
.txs-h span{font-size:.9rem; font-weight:600; color:var(--ink-3); letter-spacing:0; white-space:nowrap}
.txs-help{text-wrap:pretty; margin:6px 0 22px; color:var(--ink-2); line-height:1.5; max-width:66ch}
.txs-help b{color:var(--ink)}
.txs-note{margin:8px 0 0; color:var(--ink-3); font-size:.84rem}
.txs-f{display:block; margin:0 0 20px}
.txs-f > span:first-child{display:block; text-wrap:balance; margin:0 0 8px; font-size:.82rem; font-weight:700; color:var(--ink-2)}
.txs-chips{display:flex; flex-wrap:wrap; gap:8px}
.txs-chip{display:inline-flex; align-items:center; gap:6px; min-height:40px; padding:8px 15px; border-radius:999px; cursor:pointer;
  font:inherit; font-size:.9rem; font-weight:600; color:var(--ink); background:var(--lg-btn); border:1px solid var(--line); text-align:left}
.txs-chip:hover{border-color:var(--blue)}
.txs-chip.on{background:var(--blue); border-color:var(--blue); color:#fff}
.txs-chip .txs-i{width:16px; height:16px}
.txs-row2{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.3fr); gap:14px}
.txs-amt,.txs-in{display:flex; align-items:center; gap:8px; width:100%; height:50px; padding:0 14px; border-radius:14px; box-sizing:border-box;
  border:1px solid var(--field-edge); background:var(--lg-field); color:var(--ink); font:inherit; font-size:1rem}
.txs-amt i{font-style:normal; font-weight:700; color:var(--ink-3)}
.txs .txs-amt input{flex:1; min-width:0; width:auto; height:100%; margin:0; padding:0; border:0; border-radius:0; outline:0; box-shadow:none; background:transparent; color:inherit; font:inherit; font-size:1.1rem; font-weight:700; font-variant-numeric:tabular-nums}
.txs .txs-amt input:focus,.txs .txs-amt input:focus-visible{outline:0; box-shadow:none; border:0}
.txs-amt:focus-within,.txs-in:focus{outline:3px solid var(--focus); outline-offset:1px}
.txs-drop{display:flex; align-items:center; gap:16px; padding:18px 20px; border-radius:18px; cursor:pointer;
  border:1.5px dashed color-mix(in srgb, var(--blue) 55%, transparent); background:color-mix(in srgb, var(--blue) 6%, transparent);
  transition:background .15s ease, border-color .15s ease}
.txs-drop:hover,.txs-drop.over{background:color-mix(in srgb, var(--blue) 13%, transparent); border-style:solid}
.txs-drop-i{width:50px; height:50px; flex:none; border-radius:28%; display:grid; place-items:center; background:var(--blue); color:#fff}
.txs-drop-i .txs-i{width:26px; height:26px}
.txs-drop-t{flex:1; min-width:0}
.txs-drop-t b{display:block}
.txs-drop-t small{display:block; margin-top:2px; color:var(--ink-2); font-size:.84rem}
.txs-pick{flex:none; padding:10px 16px; border-radius:999px; background:var(--blue-soft); color:var(--blue-ink); font-weight:700; font-size:.9rem}
.txs-file{display:flex; align-items:center; gap:12px; margin-top:10px; padding:10px 12px; border-radius:14px; border:1px solid var(--line-2); background:var(--lg-fill-hi)}
.txs-fi{width:34px; height:34px; flex:none; color:var(--ink-2)}
.txs-file > span{min-width:0}
.txs-file b{display:block; overflow-wrap:anywhere}
.txs-file small{color:var(--ink-3)}
.txs-items{margin-top:26px; border-top:1px solid var(--line-2); padding-top:14px}
.txs-items h4{margin:0 0 4px; font-size:.82rem; font-weight:700; color:var(--ink-2)}
.txs-it{display:grid; grid-template-columns:minmax(0,1fr) auto auto auto; align-items:center; gap:12px; padding:12px 2px; border-bottom:1px solid var(--line-2)}
.txs-it-t b{display:block; overflow-wrap:anywhere}
.txs-it-t small{display:block; margin-top:2px; color:var(--ink-3); font-size:.8rem; overflow-wrap:anywhere}
.txs-it-a{font-weight:700; font-variant-numeric:tabular-nums; text-align:right; white-space:nowrap}
.txs-it-x{display:flex; gap:12px; justify-content:flex-end; white-space:nowrap}
.txs-empty{margin:10px 2px; color:var(--ink-3)}
.txs-lnk{border:0; background:none; padding:2px 0; cursor:pointer; font:inherit; font-size:.86rem; font-weight:600; color:var(--blue-ink)}
.txs-lnk:hover{text-decoration:underline}
.txs-lnk.danger{color:var(--stop-ink)}
.txs-lnk.sure{padding:2px 10px; border-radius:999px; background:var(--stop-soft)}
.txs-calc{display:flex; flex-direction:column; overflow:hidden; border-left:1px solid var(--line-2); background:var(--lg-fill)}
.txs-calc-sc{flex:1; min-height:0; overflow-y:auto; padding:22px 24px 16px; display:flex; flex-direction:column; gap:14px}
.txs-calc > .txs-load,.txs-calc > .txs-err{padding:22px 24px}
.txs-calc-h h3{margin:0; font-size:1.1rem; font-weight:800}
.txs-calc-h p,.txs-k{margin:2px 0 0; color:var(--ink-3); font-size:.8rem}
.txs-k{display:block; text-wrap:balance}
.txs-rg{padding:16px 18px; border-radius:18px; border:1px solid var(--line-2); background:var(--lg-fill-hi)}
.txs-rg.best{border-color:var(--blue); box-shadow:0 0 0 3px color-mix(in srgb, var(--blue) 18%, transparent)}
.txs-rg-h{display:flex; align-items:center; justify-content:space-between; gap:8px}
.txs-best,.txs-mine{font-size:.72rem; font-weight:700; padding:3px 10px; border-radius:999px; white-space:nowrap}
.txs-best{background:var(--blue); color:#fff}
.txs-mine{background:var(--lg-lozenge); color:var(--ink-2)}
.txs-big{margin:6px 0 2px; font-family:var(--display); font-size:1.85rem; font-weight:800; letter-spacing:-.02em; font-variant-numeric:tabular-nums}
.txs-rg dl{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:5px 12px; margin:12px 0 0; font-size:.84rem; color:var(--ink-2)}
.txs-rg dd{margin:0; text-align:right; color:var(--ink); font-variant-numeric:tabular-nums}
.txs-delta{margin:0; text-wrap:balance; font-size:.88rem; color:var(--ink-2)}
.txs-delta b{color:var(--ok-ink)}
.txs-save{margin:0; text-wrap:pretty; padding:12px 14px; border-radius:16px; background:var(--ok-soft); color:var(--ok-ink); font-weight:600; font-size:.9rem; line-height:1.45}
.txs-calc .txs-f{margin:0}
.txs-seg{display:inline-flex; padding:6px; border-radius:999px; background:var(--lg-lozenge)}
.txs-seg button{min-width:84px; height:34px; padding:0 16px; border:0; border-radius:999px; background:none; cursor:pointer; font:inherit; font-weight:700; color:var(--ink-2)}
.txs-seg button.on{background:var(--raise); color:var(--ink); box-shadow:0 2px 6px rgba(0,0,0,.12)}
.txs-foot{display:flex; gap:10px; padding:14px 24px; border-top:1px solid var(--line-2); background:var(--lg-fill-hi)}
.txs-foot .btn-blue{flex:1}
.txs-dock{display:none}
.txs-open{display:flex; align-items:center; gap:16px; width:100%; text-align:left; cursor:pointer; font:inherit; color:inherit; padding:18px 22px}
.txs-open-t{flex:1; min-width:0}
.txs-open-t b{display:block; font-size:1.05rem}
.txs-open-t small{display:block; margin-top:2px; color:var(--ink-2)}
.txs-open:hover{transform:translateY(-1px)}
@media (max-width:1180px){ .txs-cols{grid-template-columns:250px minmax(0,1fr) 340px} .txs-mid{padding:22px 24px 36px}
  .txs-it{grid-template-columns:minmax(0,1fr) auto; row-gap:6px} .txs-it .pill{justify-self:end} .txs-it-x{grid-column:1 / -1; justify-content:flex-start} }
@media (max-width:980px){ .txs-row2{grid-template-columns:minmax(0,1fr)} }

/* ═══════════  CONNECT — REDESIGN (3 Nov)  ═══════════
   The approved Connect mock: a rail, the room list, the room and its thread
   as separate glass panels; grouped messages, New line, mention rows,
   reactions, thread previews, file tiles, Zolt Approvals cards, the people
   card and a composer with formatting. Script: src/console/52-connect-v2.js.
   Colours are the console tokens; the few extra ones live on .k2 below. */
.slk.k2{--k-hover:rgba(20,30,60,.05); --k-sel:rgba(11,99,206,.10); --k-mention:#FFF4D1; --k-mention-edge:#F2C14E;
  --k-at-me:#7A5200; --k-at-me-bg:#FFE3A1; --k-go:#147040; --k-go-bg:#DDF3E6; --k-warn:#8A5300; --k-warn-bg:#FDF0D8;
  --k-stop:#A32A22; --k-stop-bg:#FBE3E1; --k-glass:color-mix(in srgb,var(--surface) 82%,transparent);
  --k-shadow:0 1px 0 rgba(255,255,255,.7) inset, 0 18px 50px -28px rgba(20,30,60,.35);
  flex-direction:row; gap:10px; background:none; border:0!important; box-shadow:none!important; min-height:560px}
@media (prefers-color-scheme:dark){ .slk.k2{--k-hover:rgba(255,255,255,.05); --k-sel:rgba(31,111,224,.20); --k-mention:rgba(242,193,78,.10);
  --k-mention-edge:#C9952E; --k-at-me:#FFD789; --k-at-me-bg:#4A3A12; --k-go:#7BDDA2; --k-go-bg:#123322; --k-warn:#F2B860; --k-warn-bg:#3A2A0E;
  --k-stop:#FFB0AA; --k-stop-bg:#3D1715; --k-shadow:0 1px 0 rgba(255,255,255,.04) inset, 0 18px 50px -28px rgba(0,0,0,.8)} }
:root[data-theme="dark"] .slk.k2{--k-hover:rgba(255,255,255,.05); --k-sel:rgba(31,111,224,.20); --k-mention:rgba(242,193,78,.10);
  --k-mention-edge:#C9952E; --k-at-me:#FFD789; --k-at-me-bg:#4A3A12; --k-go:#7BDDA2; --k-go-bg:#123322; --k-warn:#F2B860; --k-warn-bg:#3A2A0E;
  --k-stop:#FFB0AA; --k-stop-bg:#3D1715; --k-shadow:0 1px 0 rgba(255,255,255,.04) inset, 0 18px 50px -28px rgba(0,0,0,.8)}
.k2 .ki{width:18px; height:18px; flex:none; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
.k2 .ki.s{width:16px; height:16px} .k2 .ki.xs{width:12px; height:12px} .k2 .ki.l{width:20px; height:20px}
.k2 button{font-family:inherit; color:inherit; line-height:1.3}
.k2 .slk-body,.k2 .slk-body.thr-open{flex:1; min-width:0; gap:10px; grid-template-columns:268px minmax(0,1fr) 0; transition:none}
.k2 .slk-body.thr-open{grid-template-columns:268px minmax(0,1fr) 352px}
.k2 .k-panel{background:var(--k-glass); backdrop-filter:blur(24px) saturate(1.5); -webkit-backdrop-filter:blur(24px) saturate(1.5);
  border:1px solid var(--line); border-radius:22px; box-shadow:var(--k-shadow); min-height:0; overflow:hidden}
.k2 .slk-thr[hidden]{display:none}
.k2 .slk-back svg{transform:none}

/* rail */
.k-rail{flex:none; width:64px; display:flex; flex-direction:column; align-items:center; gap:4px; padding:4px 0}
.k-rb{position:relative; width:58px; display:flex; flex-direction:column; align-items:center; gap:3px; padding:6px 0 5px; border:0; background:none;
  border-radius:14px; cursor:pointer; color:var(--ink-2); font-size:.68rem; font-weight:600}
.k-rb .ico{width:40px; height:34px; display:grid; place-items:center; border-radius:11px}
.k-rb:hover .ico{background:var(--k-hover)}
.k-rb.on{color:var(--ink)} .k-rb.on .ico{background:var(--surface); box-shadow:0 1px 2px rgba(0,0,0,.08), 0 0 0 1px var(--line)}
.k-rb .k-bdg{position:absolute; top:2px; right:4px}
.k-rb.new .ico{border:1px dashed var(--edge)}
.k-rail .grow{flex:1}
.k-me{position:relative; padding:0; border:0; background:none; cursor:pointer; margin-top:4px}
.k-bdg{flex:none; min-width:18px; height:18px; padding:0 5px; border-radius:999px; background:var(--stop); color:#fff; font-size:.68rem; font-weight:700;
  display:inline-flex; align-items:center; justify-content:center; gap:2px; line-height:1}
.k-cnt{flex:none; margin-left:auto; font-size:.74rem; font-weight:700; color:var(--ink-3)}
.k-it .k-bdg,.k-row .k-bdg{margin-left:auto}

/* faces */
.k-av{position:relative; width:24px; height:24px; border-radius:8px; flex:none; display:inline-grid; place-items:center; color:#fff;
  font-size:.64rem; font-weight:800; letter-spacing:-.02em; line-height:1}
.k-av.xs{width:22px; height:22px; border-radius:7px; font-size:.56rem}
.k-av.sm{width:24px; height:24px}
.k-av.m{width:36px; height:36px; border-radius:11px; font-size:.8rem}
.k-av.l{width:64px; height:64px; border-radius:18px; font-size:1.3rem}
.k-av.me{width:40px; height:40px; border-radius:12px; font-size:.8rem}
.k-av.app{background:linear-gradient(180deg,#3B8CFF,#0B63CE); width:36px; height:36px; border-radius:11px}
.k-av.app.sm{width:24px; height:24px; border-radius:8px}
.k-av.app svg{width:60%; height:60%}
.k-av.grp{background:var(--raise); color:var(--ink-2); box-shadow:inset 0 0 0 1px var(--line)}
.k-pres{position:absolute; right:-3px; bottom:-3px; width:11px; height:11px; border-radius:50%; border:2.5px solid var(--surface); background:var(--ok)}
.k-pres.away{background:var(--surface); box-shadow:inset 0 0 0 2px var(--ink-3)}
.k-pres.dnd{background:var(--stop)}
.k-emo{flex:none; font-size:.86rem} .k-emo.big{font-size:1.5rem; width:36px; text-align:center}

/* room list */
.k2 .slk-side{display:flex; flex-direction:column; background:var(--k-glass); border-right:1px solid var(--line); overflow:hidden}
.k-ws{display:flex; align-items:center; gap:8px; padding:14px 12px 10px 16px}
.k-ws b{font-size:1.02rem; letter-spacing:-.01em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; color:var(--ink)}
.k-compose{margin-left:auto; flex:none; width:34px; height:34px; border-radius:11px; border:0; background:var(--blue); color:#fff!important;
  display:grid; place-items:center; cursor:pointer; box-shadow:0 6px 14px -8px var(--blue)}
.k-compose:hover{background:var(--blue-press)}
.k-status{margin:0 12px 8px; display:flex; align-items:center; border-radius:12px; background:var(--raise); border:1px solid var(--line); min-width:0}
.k-status:hover{border-color:var(--edge)}
.k-status.dnd{border-color:var(--stop)}
.k-status .set{flex:1; min-width:0; display:flex; align-items:center; gap:8px; padding:7px 10px; border:0; background:none; cursor:pointer; font-size:.84rem; color:var(--ink-2); text-align:left}
.k-status .set .t{overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.k-status .clr{flex:none; border:0; background:none; padding:0 10px; height:30px; color:var(--ink-3); font-size:.78rem; font-weight:600; cursor:pointer; border-radius:8px}
.k-status .clr:hover{color:var(--ink)}
.k-find{padding:0 12px 8px} .k-find .slk-search{max-width:none} .k-find .slk-jump{display:none}
.k-find .slk-search input{border-radius:11px; background:var(--surface)}
.k-scroll{overflow:auto; padding:0 8px 12px; flex:1; min-height:0}
.k-it{display:flex; align-items:center; gap:10px; width:100%; height:34px; padding:0 10px; border:0; background:none; border-radius:10px;
  color:var(--ink-2); cursor:pointer; font-size:.92rem; white-space:nowrap; text-align:left}
.k-it:hover{background:var(--k-hover); color:var(--ink)}
.k-it.on{background:var(--k-sel); color:var(--blue-ink); font-weight:700}
.k-it.un{color:var(--ink); font-weight:700}
.k-it .nm{flex:0 1 auto; overflow:hidden; text-overflow:ellipsis; min-width:0}
.k-it .k-emo{margin-left:-4px}
.k-it .k-mu{margin-left:auto; color:var(--ink-3); display:grid}
.k-hash{width:24px; flex:none; display:grid; place-items:center; color:var(--ink-3); font-weight:600}
.k-hash.big{width:36px; height:36px; border-radius:11px; background:var(--raise); box-shadow:inset 0 0 0 1px var(--line); font-size:1.1rem}
.k-it.on .k-hash{color:var(--blue-ink)}
.k-sec{display:flex; align-items:center; gap:6px; padding:12px 2px 4px 4px}
.k-fold{flex:1; min-width:0; display:flex; align-items:center; gap:6px; border:0; background:none; padding:4px 6px; border-radius:8px; cursor:pointer;
  font-size:.74rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3); text-align:left}
.k-fold:hover{color:var(--ink)}
.k-fold.shut .ki{transform:rotate(-90deg)}
.k-sec .add{flex:none; width:26px; height:26px; border-radius:8px; border:0; background:none; color:var(--ink-3); display:grid; place-items:center; cursor:pointer}
.k-sec .add:hover{background:var(--k-hover); color:var(--ink)}
.k-none{color:var(--ink-3); font-size:.82rem; padding:6px 12px}

/* the room */
.k2 .slk-main{display:flex; flex-direction:column; min-width:0; background:var(--k-glass)}
.k-top{display:flex; align-items:center; gap:10px; padding:12px 14px 0 18px; min-height:48px}
.k-top h1{margin:0; font-size:1.18rem; letter-spacing:-.01em; min-width:0; flex:none}
.k-top h1+.k-topic{flex:1 1 0}
.k-title{display:flex; align-items:center; gap:7px; border:0; background:none; padding:4px 6px; margin-left:-6px; border-radius:10px; cursor:pointer;
  font-weight:800; font-size:inherit; color:var(--ink); min-width:0; max-width:100%}
.k-title>span:not(.k-av):not(.hash){flex:none; max-width:min(26vw,360px); overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.k-title .hash{color:var(--ink-3); font-weight:600; display:grid}
.k-title:hover{background:var(--k-hover)}
.k-title.plain{cursor:default} .k-title.plain:hover{background:none}
.k-topic{flex:1; min-width:0; font-size:.86rem; color:var(--ink-3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; border:0; background:none;
  text-align:left; padding:4px 0; cursor:pointer}
.k-topic:hover{color:var(--ink-2)} .k-topic.sp{cursor:default}
.k-stack{flex:none; display:flex; align-items:center; padding:3px 10px 3px 4px; border-radius:12px; border:1px solid var(--line); background:var(--surface);
  cursor:pointer; gap:8px; font-size:.84rem; font-weight:700; color:var(--ink-2)}
.k-stack:hover{border-color:var(--edge)}
.k-stack .avs{display:flex} .k-stack .k-av{border:2px solid var(--surface); margin-left:-7px; width:26px; height:26px} .k-stack .k-av:first-child{margin-left:0}
.k-ib{flex:none; width:36px; height:36px; border-radius:11px; border:1px solid var(--line); background:var(--surface); display:grid; place-items:center; cursor:pointer; color:var(--ink-2)}
.k-ib:hover{border-color:var(--edge); color:var(--ink)}
.k-ib.sm{width:28px; height:28px; border:0; background:none}
.k-tabs{display:flex; align-items:center; gap:4px; padding:8px 14px 0 12px; border-bottom:1px solid var(--line-2); min-width:0}
.k-tab{flex:none; display:flex; align-items:center; gap:6px; padding:8px 10px 10px; border:0; background:none; cursor:pointer; color:var(--ink-3);
  font-weight:600; font-size:.88rem; border-bottom:2px solid transparent; margin-bottom:-1px}
.k-tab:hover{color:var(--ink)}
.k-tab.on{color:var(--ink); border-bottom-color:var(--blue)}
.k-tab .n{font-size:.72rem; color:var(--ink-3); font-weight:700}
.k-bm{display:flex; align-items:center; gap:6px; margin-left:auto; min-width:0; overflow:hidden; padding-bottom:6px}
.k-chip{flex:none; display:inline-flex; align-items:center; gap:6px; height:28px; padding:0 10px; border-radius:9px; background:var(--raise);
  border:1px solid var(--line); font-size:.8rem; font-weight:600; color:var(--ink-2); cursor:pointer; white-space:nowrap; max-width:200px}
.k-chip:hover{border-color:var(--edge); color:var(--ink)}
.k-chip.add{width:28px; padding:0; justify-content:center}
.k-chip .go{display:inline-flex; align-items:center; gap:6px; border:0; background:none; padding:0; cursor:pointer; min-width:0; overflow:hidden; text-overflow:ellipsis}
.k-chip .rm{display:grid; place-items:center; border:0; background:none; padding:2px; border-radius:5px; color:var(--ink-3); cursor:pointer}
.k-chip .rm:hover{background:var(--k-hover); color:var(--stop)}
.k-chips{display:flex; flex-wrap:wrap; gap:6px}
.k2 .k-feed{flex:1; overflow:auto; padding:6px 0 10px; min-height:0}
.k-day{display:flex; justify-content:center; margin:12px 0 4px}
.k-day span{font-size:.76rem; font-weight:700; color:var(--ink-2); background:var(--surface); border:1px solid var(--line); padding:4px 12px; border-radius:999px;
  box-shadow:0 2px 8px -4px rgba(0,0,0,.15)}
.k-new{display:flex; align-items:center; gap:10px; margin:10px 20px 2px; color:var(--stop); font-size:.74rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase}
.k-new::before{content:""; flex:1; height:1px; background:var(--stop); opacity:.6}
.k-sys{text-align:center; margin:8px 20px; font-size:.8rem; color:var(--ink-3); display:flex; justify-content:center; align-items:center; gap:6px}
.k-sys.miss{color:var(--stop)}

/* a message */
.k-msg{position:relative; display:grid; grid-template-columns:36px minmax(0,1fr); gap:0 12px; padding:6px 20px}
.k-msg:hover,.k-msg:focus-within{background:var(--k-hover)}
.k-msg.grp{padding-top:1px}
.k-gut{font-size:.66rem; color:transparent; text-align:right; padding-top:4px; white-space:nowrap}
.k-msg.grp:hover .k-gut{color:var(--ink-3)}
.k-mb{min-width:0}
.k-hd{display:flex; align-items:baseline; gap:8px; min-width:0; flex-wrap:wrap}
.k-name{font-size:.95rem; color:var(--ink); cursor:pointer} .k-name[role=button]:hover{text-decoration:underline}
.k-hd .role{font-size:.72rem; color:var(--ink-3); font-weight:600}
.k-hd time{font-size:.74rem; color:var(--ink-3)}
.k-pinned{color:var(--wait); display:inline-grid}
.k-appb{font-size:.64rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase; padding:1px 6px; border-radius:5px; background:var(--raise); color:var(--ink-3); box-shadow:inset 0 0 0 1px var(--line)}
.k-tx{margin:1px 0 0; color:var(--ink); max-width:72ch; white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.45}
.k-tx a{color:var(--blue-ink)}
.k-tx code{font-family:var(--mono); font-size:.85em; background:var(--raise); border:1px solid var(--line); border-radius:5px; padding:0 4px}
.k-ed{font-size:.72rem; color:var(--ink-3)}
.k-del{color:var(--ink-3)}
.k-quote{display:block; border-left:3px solid var(--edge); padding-left:10px; color:var(--ink-2)}
.k-li{display:block; padding-left:14px; position:relative} .k-li::before{content:"•"; position:absolute; left:2px; color:var(--ink-3)}
.k-msg.mention{background:var(--k-mention); box-shadow:inset 3px 0 0 var(--k-mention-edge)}
.k-at{color:var(--blue-ink); background:var(--blue-soft); padding:0 4px; border-radius:5px; font-weight:600}
.k-at.me{color:var(--k-at-me); background:var(--k-at-me-bg)}
.k-echo{display:inline-flex; align-items:center; gap:6px; border:0; background:none; padding:0; color:var(--ink-3); font-size:.78rem; cursor:pointer; margin-bottom:2px}
.k-echo:hover{color:var(--blue-ink)}
.k-flash{animation:kflash 1.6s ease-out}
@keyframes kflash{0%,30%{background:var(--k-sel)}100%{background:transparent}}
.k-tools{display:none; position:absolute; right:18px; top:-14px; z-index:3; gap:2px; padding:3px; border-radius:12px; background:var(--surface);
  border:1px solid var(--line); box-shadow:0 8px 20px -12px rgba(0,0,0,.35)}
.k-msg:hover .k-tools,.k-msg:focus-within .k-tools{display:flex}
.k-tools button{width:30px; height:30px; border:0; border-radius:8px; background:none; display:grid; place-items:center; cursor:pointer; color:var(--ink-2); font-size:.95rem}
.k-tools button:hover{background:var(--k-hover); color:var(--ink)}
.k-tools button.on{color:var(--blue-ink)}
.k-reacts{display:flex; flex-wrap:wrap; gap:5px; margin-top:6px}
.k-re{display:inline-flex; align-items:center; gap:5px; height:26px; padding:0 9px; border-radius:999px; background:var(--raise); border:1px solid var(--line);
  font-size:.8rem; font-weight:700; color:var(--ink-2); cursor:pointer}
.k-re:hover{border-color:var(--edge)}
.k-re.mine{background:var(--blue-soft); border-color:color-mix(in srgb,var(--blue) 45%,transparent); color:var(--blue-ink)}
.k-re.add{width:30px; padding:0; justify-content:center; color:var(--ink-3)}
.k-thr{display:inline-flex; align-items:center; gap:8px; margin-top:6px; padding:4px 10px 4px 4px; border-radius:10px; cursor:pointer; border:1px solid transparent; background:none; max-width:100%}
.k-thr:hover{background:var(--surface); border-color:var(--line)}
.k-thr .avs{display:flex; gap:2px}
.k-thr b{color:var(--blue-ink); font-size:.84rem; white-space:nowrap} .k-thr span:not(.avs):not(.k-av){color:var(--ink-3); font-size:.8rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.k-thr.on{background:var(--k-sel); border-color:transparent}
.k-file{display:flex; align-items:center; gap:12px; width:min(360px,100%); margin-top:8px; padding:10px 12px; border-radius:14px; background:var(--surface);
  border:1px solid var(--line); cursor:pointer; text-align:left; color:var(--ink-3)}
.k-file:hover{border-color:var(--edge)}
.k-file .tx,.k-row .tx{flex:1; min-width:0}
.k-file b{display:block; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:.9rem}
.k-file small{display:block; color:var(--ink-3); font-size:.78rem}
.k-ftile{flex:none; width:40px; height:40px; border-radius:28%; display:grid; place-items:center; color:#fff; font-size:.62rem; font-weight:800; box-shadow:inset 0 1px 0 rgba(255,255,255,.3)}
.k-photo{display:block; position:relative; margin-top:8px; width:min(300px,100%); max-height:220px; border-radius:16px; overflow:hidden; border:1px solid var(--line); cursor:zoom-in; background:var(--raise); min-height:80px}
.k-photo img{display:block; width:100%; height:auto; max-height:220px; object-fit:cover}
.k-photo .cap{position:absolute; left:10px; bottom:10px; max-width:calc(100% - 20px); font-size:.74rem; font-weight:700; color:#fff; background:rgba(0,0,0,.45);
  padding:3px 8px; border-radius:999px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.k-unf{display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:0 12px; width:min(440px,100%); margin-top:8px; padding:10px 12px 10px 16px; box-shadow:inset 4px 0 0 var(--blue);
  border-radius:12px; background:var(--surface); border:1px solid var(--line); cursor:pointer; overflow:hidden; text-align:left; color:var(--ink-3)}
.k-unf:hover{border-color:var(--edge)}
.k-unf .bar{display:none}
.k-unf small{color:var(--ink-3); font-size:.76rem; font-weight:600; display:flex; align-items:center; gap:6px}
.k-unf b{display:block; color:var(--blue-ink); margin:2px 0}
.k-unf .tx>span{display:block; color:var(--ink-2); font-size:.86rem}

/* a Zolt Approvals card */
.k-appr{width:min(520px,100%); margin-top:8px; border-radius:16px; background:var(--surface); border:1px solid var(--line); overflow:hidden}
.k-appr .h{display:flex; align-items:center; gap:12px; padding:12px 14px}
.k-appr .who{min-width:0; flex:1}
.k-appr .who b{display:block; color:var(--ink)} .k-appr .who small{color:var(--ink-3); font-size:.8rem}
.k-pill{flex:none; font-size:.72rem; font-weight:700; padding:4px 10px; border-radius:999px; white-space:nowrap}
.k-pill.wait{background:var(--k-warn-bg); color:var(--k-warn)}
.k-pill.ok{background:var(--k-go-bg); color:var(--k-go)}
.k-pill.stop{background:var(--k-stop-bg); color:var(--k-stop)}
.k-pill.idle{background:var(--raise); color:var(--ink-3)}
.k-appr dl{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:0; border-top:1px solid var(--line-2); border-bottom:1px solid var(--line-2)}
.k-appr dl div{padding:9px 14px; min-width:0} .k-appr dl div+div{border-left:1px solid var(--line-2)}
.k-appr dt{font-size:.72rem; color:var(--ink-3); font-weight:600} .k-appr dd{margin:1px 0 0; font-weight:700; font-size:.9rem; color:var(--ink)}
.k-appr .why{margin:0; padding:10px 14px 0; color:var(--ink-2); font-size:.86rem}
.k-appr .act{display:flex; gap:8px; padding:10px 14px; align-items:center; flex-wrap:wrap}
.k-appr .done{font-size:.84rem; font-weight:600; color:var(--ink-2); margin-right:auto}
.k-btn{flex:none; height:34px; padding:0 16px; border-radius:999px; border:0; font-weight:700; font-size:.86rem; cursor:pointer; white-space:nowrap; display:inline-flex; align-items:center; justify-content:center; gap:6px}
.k-btn.sm{height:28px; padding:0 12px; font-size:.8rem}
.k-btn.p{background:var(--blue); color:#fff!important} .k-btn.p:hover{background:var(--blue-press)}
.k-btn.t{background:var(--blue-soft); color:var(--blue-ink)}
.k-btn.d{background:var(--k-stop-bg); color:var(--k-stop)}
.k-btn.g{background:none; color:var(--ink-2); box-shadow:inset 0 0 0 1px var(--line)} .k-btn.g:hover{background:var(--k-hover)}

/* the message box */
.k-comp{position:relative; flex:none; margin:4px 14px 14px; border-radius:18px; background:var(--surface); border:1px solid var(--edge); box-shadow:0 10px 30px -22px rgba(0,0,0,.45)}
.k-comp:focus-within{border-color:var(--blue); box-shadow:0 0 0 3px color-mix(in srgb,var(--blue) 18%,transparent)}
.k-fmt,.k-cb{display:flex; align-items:center; gap:2px; padding:6px 8px 0; min-width:0}
.k-cb{padding:4px 8px 8px}
.k-fmt button,.k-cb>button:not(.k-send){flex:none; width:30px; height:30px; border:0; border-radius:8px; background:none; display:grid; place-items:center; cursor:pointer; color:var(--ink-3)}
.k-fmt button:hover,.k-cb>button:not(.k-send):hover{background:var(--k-hover); color:var(--ink)}
.k-fmt .sep{width:1px; height:18px; background:var(--line); margin:0 4px}
.k-comp textarea{display:block; width:100%; border:0; outline:0; resize:none; background:none; padding:6px 14px 4px; min-height:42px; max-height:200px;
  color:var(--ink); font:inherit; font-size:.95rem; line-height:1.4}
.k-comp textarea::placeholder{color:var(--ink-3)}
.k-cb .hint{flex:1; min-width:0; margin-left:8px; font-size:.76rem; color:var(--ink-3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.k-cb .hint code{font:600 .74rem var(--sans); color:var(--ink-2); background:var(--raise); border:1px solid var(--line); padding:1px 5px; border-radius:6px}
.k-send{flex:none; margin-left:auto; height:34px; width:44px; border-radius:11px; border:0; background:var(--blue); color:#fff!important; display:grid; place-items:center; cursor:pointer}
.k-send:hover{background:var(--blue-press)}
.k-off{flex:none; margin:4px 14px 14px; padding:12px 16px; border-radius:14px; background:var(--raise); border:1px solid var(--line); color:var(--ink-2); font-size:.86rem; text-align:center}
.k-sug{position:absolute; left:10px; bottom:calc(100% + 6px); z-index:6; width:min(320px,calc(100% - 20px)); max-height:260px; overflow:auto; padding:4px;
  border-radius:14px; background:var(--surface); border:1px solid var(--line); box-shadow:0 18px 40px -18px rgba(0,0,0,.45)}
.k-sug button{display:flex; align-items:center; gap:10px; width:100%; padding:7px 10px; border:0; background:none; border-radius:9px; cursor:pointer; text-align:left; color:var(--ink); font-size:.88rem}
.k-sug button span{min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.k-sug button small{margin-left:auto; color:var(--ink-3); font-size:.74rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:45%}
.k-sug button:hover,.k-sug button.on{background:var(--k-sel)}
.k-sug .cmd{font-family:var(--mono); font-size:.84rem; color:var(--blue-ink); min-width:76px}
.k-cmd{flex:none; margin:4px 14px 0; padding:10px 12px; border-radius:14px; background:var(--surface); border:1px solid var(--line); box-shadow:inset 3px 0 0 var(--blue); max-height:40vh; overflow:auto}
.k-cmd .hd{display:flex; align-items:center; gap:8px; margin-bottom:6px; min-width:0}
.k-cmd .hd b{color:var(--ink); min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.k-cmd .only{margin-left:auto; flex:none; font-size:.72rem; color:var(--ink-3)}
.k-cmd .ln{display:flex; align-items:center; gap:10px; justify-content:space-between; padding:5px 2px; border-top:1px solid var(--line-2); font-size:.86rem; color:var(--ink-2)}
.k-cmd .ln b{color:var(--ink); white-space:nowrap} .k-cmd .ln>span{min-width:0}
.k-cmd .ln .bt{display:flex; gap:6px; flex:none}
.k-cmd .acts{display:flex; gap:6px; flex-wrap:wrap; padding-top:8px}

/* thread */
.k2 .slk-thr{display:flex; flex-direction:column; background:var(--k-glass); border-left:0}
.k-th-h{display:flex; align-items:center; gap:10px; padding:14px 12px 12px 18px; border-bottom:1px solid var(--line-2)}
.k-th-h>div{min-width:0; flex:1} .k-th-h b{display:block; font-size:1.02rem; color:var(--ink)} .k-th-h small{color:var(--ink-3); font-size:.82rem}
.k-th-h .k-ib{border:0; background:none}
.k2 .slk-thr .k-msg{padding:6px 16px}
.k-rcount{display:flex; align-items:center; gap:10px; margin:6px 16px; font-size:.78rem; color:var(--ink-3); font-weight:600}
.k-rcount::after{content:""; flex:1; height:1px; background:var(--line-2)}
.k2 .slk-thr .k-comp{margin:4px 12px 12px}
.k-also{display:flex; align-items:center; gap:8px; padding:0 14px 8px; font-size:.8rem; color:var(--ink-2); cursor:pointer}
.k-also input{width:16px; height:16px; accent-color:var(--blue)}

/* lists in the main pane: Files, Pinned, Threads, Activity, Drafts, Saved, DMs */
.k-view{padding:10px 14px 16px}
.k-list{display:flex; flex-direction:column; gap:6px; padding:8px 14px}
.k-view .k-list{padding:0}
.k-row{display:flex; align-items:center; gap:12px; width:100%; padding:10px 12px; border-radius:14px; background:var(--surface); border:1px solid var(--line);
  cursor:pointer; text-align:left; color:var(--ink-3)}
.k-row:hover{border-color:var(--edge)}
.k-row b{display:block; color:var(--ink); font-size:.9rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.k-row b time{font-weight:500; color:var(--ink-3); font-size:.76rem; margin-left:6px}
.k-row small{display:block; color:var(--ink-3); font-size:.82rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.k-row .lead{display:block; color:var(--ink-2); font-size:.86rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.k-row .lead b{display:inline; font-size:inherit}
.k-row.un b{font-weight:800}
.k-vcard{position:relative; margin:0 0 12px; padding:8px 0; border-radius:16px; background:var(--surface); border:1px solid var(--line)}
.k-vcard .where{display:inline-flex; align-items:center; gap:4px; margin:4px 16px 2px; border:0; background:none; padding:0; font-weight:700; font-size:.84rem; color:var(--blue-ink); cursor:pointer}
.k-vcard .k-msg{padding:6px 16px}
.k-vcard .more{margin:4px 16px 4px 64px}
.k-empty{display:flex; flex-direction:column; align-items:center; gap:6px; margin:auto; padding:48px 20px; text-align:center; color:var(--ink-3); font-size:.88rem}
.k-empty b{color:var(--ink); font-size:1rem}
.k-empty .ki{width:28px; height:28px; color:var(--ink-3)}
.k-empty .k-btn{margin-top:8px}

/* pop-overs: the people card and the emoji picker */
.k-pop{position:absolute; z-index:40}
.k-pop[hidden]{display:none}
.k-pcard{width:300px; border-radius:18px; background:var(--surface); border:1px solid var(--line); box-shadow:0 24px 60px -24px rgba(0,0,0,.45); overflow:hidden}
.k-pcard .cov{height:56px; background:linear-gradient(120deg,#6E8BFF,#0B63CE)}
.k-pcard .bd{padding:0 16px 14px; margin-top:-30px}
.k-pcard .bd>.k-empty{margin-top:30px; padding:16px}
.k-pcard .k-av.l{border:3px solid var(--surface)}
.k-pcard h4{margin:8px 0 0; font-size:1.05rem; color:var(--ink)} .k-pcard .r{color:var(--ink-2); font-size:.86rem}
.k-pcard .meta{display:flex; flex-direction:column; gap:4px; margin:10px 0 12px; font-size:.82rem; color:var(--ink-2)}
.k-pcard .meta span{display:flex; align-items:center; gap:7px; min-width:0}
.k-pcard .acts{display:flex; gap:8px}
.k-pcard .acts .k-btn{flex:1}
.k-pcard .acts .k-btn.g{flex:none; width:40px; padding:0}
.k-menu{display:flex; flex-direction:column; gap:4px}
.k-menu button{display:flex; align-items:center; gap:12px; width:100%; padding:12px; border:0; border-radius:12px; background:none; cursor:pointer; font:inherit; color:var(--ink); text-align:left}
.k-menu button:hover{background:var(--sunk)}
.k-menu button .ki{width:20px; height:20px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; color:var(--ink-2)}
.k-menu .out{color:var(--stop)}
.k-quoteprev{margin:0 0 10px; padding:8px 12px; border-left:3px solid var(--edge); color:var(--ink-2); font-size:.88rem; background:var(--raise); border-radius:0 10px 10px 0}
#sheet .k-row .ki,.k-quoteprev+.k-list .ki{width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}

/* narrower windows: the thread covers the room; a phone shows one pane */
@media (max-width:1240px){
  .k2 .slk-body.thr-open{grid-template-columns:240px minmax(0,1fr) 0}
  .k2 .slk-body.thr-open .slk-thr{position:absolute; right:0; top:0; bottom:0; width:min(380px,92%); z-index:8}
  .k-cb .hint{display:none}
}
@media (max-width:860px){
  .k-rail{display:none}
  .k2 .slk-body,.k2 .slk-body.thr-open{grid-template-columns:minmax(0,1fr)}
  .k2.has-room .slk-side{display:none}
  .k2:not(.has-room) .slk-main{display:none}
  .k-bm,.k-stack,.k-topic{display:none}
}
@media (prefers-reduced-motion:reduce){ .k-flash{animation:none} }
.k-tx,.k-off,.k-empty,.k-appr .why,.k-unf .tx>span,.k-cmd .ln>span{text-wrap:pretty}
.k-off,.k-tx{text-wrap:balance}

/* Connect never scrolls the page: the window is exactly the viewport and only
   the room list, the messages and the thread scroll inside themselves. A
   560px floor on short (scaled) screens pushed the page taller than the
   window, so focus and jump-to-message slid the room header under the top bar. */
.slk.k2{min-height:0}
html:has(#view > .slk.k2),html:has(#view > .slk.k2) body{height:100%; overflow:hidden; overscroll-behavior:none}
#main:has(> #view > .slk.k2){overflow:hidden; min-height:0}
#view:has(> .slk.k2){overflow:hidden; min-height:0}
.k2 .slk-body{min-height:0}
.k-rail{min-height:0; overflow-y:auto; scrollbar-width:none}
.k-rail::-webkit-scrollbar{display:none}
/* a long room name gives way (ellipsis) before the header's buttons do */
.k-top h1{flex:0 1 auto; min-width:0} .k-top h1 .k-title{max-width:100%; min-width:0}
.k-top h1 .k-title>span:not(.k-av):not(.hash){flex:0 1 auto; min-width:0}
.k-top>.k-ib,.k-top>.k-stack,.k-top>.k-calls{flex:none}

/* the one emoji picker: composer, reactions and the status sheet */
.zemo{--e-hover:color-mix(in srgb,var(--ink) 7%,transparent); position:fixed; z-index:10001; width:352px; max-width:calc(100vw - 16px);
  height:404px; max-height:calc(100vh - 16px); display:flex; flex-direction:column; border-radius:16px; background:var(--surface);
  border:1px solid var(--line); box-shadow:0 24px 60px -24px rgba(0,0,0,.45), 0 2px 8px -4px rgba(0,0,0,.18); color:var(--ink); overflow:hidden}
.zemo-hd{display:flex; align-items:center; gap:8px; margin:10px 10px 6px; padding:0 10px; height:38px; border-radius:10px;
  background:var(--sunk); border:1px solid var(--line); color:var(--ink-3)}
.zemo-hd:focus-within{border-color:var(--blue); box-shadow:0 0 0 3px color-mix(in srgb,var(--focus) 22%,transparent)}
.zemo-hd .ki{width:16px; height:16px; flex:none; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round}
.zemo-q{flex:1; min-width:0; border:0; outline:0; background:none; font:inherit; font-size:.9rem; color:var(--ink)}
.zemo-q::placeholder{color:var(--ink-3)}
.zemo-tabs{display:flex; gap:2px; padding:0 8px 6px; border-bottom:1px solid var(--line)}
.zemo-tabs.off{opacity:.45; pointer-events:none}
.zemo-tabs button{flex:1; height:32px; border:0; border-radius:8px; background:none; font-size:1.05rem; cursor:pointer; position:relative; filter:grayscale(.7); opacity:.75}
.zemo-tabs button:hover{background:var(--e-hover); filter:none; opacity:1}
.zemo-tabs button.on{filter:none; opacity:1; background:var(--blue-soft)}
.zemo-tabs button.on::after{content:""; position:absolute; left:25%; right:25%; bottom:-7px; height:2px; border-radius:2px; background:var(--blue)}
.zemo-tabs button:focus-visible,.zemo-row button:focus-visible{outline:2px solid var(--blue); outline-offset:-2px}
.zemo-grid{position:relative; flex:1; min-height:0; overflow-y:auto; padding:2px 8px 8px; overscroll-behavior:contain}
.zemo-sec h4{position:sticky; top:0; z-index:1; margin:0; padding:8px 4px 4px; font-size:.72rem; font-weight:600; letter-spacing:.02em;
  color:var(--ink-2); background:var(--surface)}
.zemo-row{display:grid; grid-template-columns:repeat(8,1fr); gap:2px}
.zemo-row button{aspect-ratio:1; border:0; border-radius:8px; background:none; font-size:1.4rem; line-height:1; cursor:pointer; padding:0;
  font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif; transition:transform .08s}
.zemo-row button:hover,.zemo-row button:focus-visible{background:var(--e-hover); transform:scale(1.12)}
.zemo-none{margin:28px 12px; text-align:center; color:var(--ink-3); font-size:.88rem}
.zemo-ft{display:flex; align-items:center; gap:10px; height:44px; padding:0 14px; border-top:1px solid var(--line); background:var(--sunk); font-size:.84rem}
.zemo-ft .big{font-size:1.6rem; line-height:1}
.zemo-ft .nm{color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; text-transform:capitalize}
.zemo-ft .nm.hint{color:var(--ink-3); text-transform:none; font-size:.78rem}
@media (prefers-reduced-motion:reduce){ .zemo-row button{transition:none} .zemo-row button:hover{transform:none} }
.k-st-emo{flex:none; width:52px; border:1.5px solid var(--line); border-radius:10px; background:var(--raise); font-size:1.3rem; cursor:pointer; opacity:.6}
.k-st-emo.set{opacity:1}
.k-st-emo:hover{border-color:var(--blue); opacity:1}
.k-st-emo:focus-visible{outline:2px solid var(--blue); outline-offset:2px}

/* ═══════════  KIT (Phase 1, 4 Nov) — frame, surfaces, pickers  ═══════════
   docs/design/CONSOLE-SYSTEM.md; code in src/console/55-kit.js. Everything is
   scoped to body.zk (set by the kit) so it lands on top of the older layers.
   Colours are the theme tokens only, so light and dark both follow. */
body.zk{--rail:240px; --top-h:56px; --zk-pane:440px; --zk-r:8px; --zk-hover:color-mix(in srgb, var(--ink) 5%, transparent);
  --zk-sel:color-mix(in srgb, var(--blue) 13%, transparent); --zk-pop-sh:0 18px 48px -12px rgba(20,30,60,.30), 0 0 0 1px var(--line)}
@media (prefers-color-scheme:dark){ body.zk{--zk-pop-sh:0 18px 48px -12px rgba(0,0,0,.75), 0 0 0 1px var(--line)} }
body.zk svg.zk-i{width:18px; height:18px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}

/* ── frame: rail flush left, one 56px band, only the page moves ── */
body.zk:not(.cx) #app{grid-template-columns:var(--rail) minmax(0,1fr)}
/* below this the rail is a slide-in drawer, out of the grid: the page takes the whole width */
@media (max-width:820px){ body.zk:not(.cx) #app{grid-template-columns:minmax(0,1fr)} }
@media (min-width:821px){
  body.zk:not(.cx) #rail{position:sticky; top:0; height:100vh; margin:0; border-radius:0; border:0; border-right:1px solid var(--line); box-shadow:none}
}
body.zk:not(.cx) .rail-brand{height:var(--top-h); padding:0 16px; gap:10px; border-bottom:1px solid var(--line); font-size:.95rem}
body.zk:not(.cx) .rail-brand .bolt{width:28px; height:28px; border-radius:8px; flex:none}
body.zk:not(.cx) .rail-brand-txt small{display:none}
body.zk:not(.cx) .rail-brand-txt b{white-space:nowrap; overflow:hidden; text-overflow:ellipsis; display:block}
body.zk:not(.cx) .rail-nav{padding:10px 8px 14px}
body.zk .rail-nav .zk-grp{margin:14px 10px 4px; font:700 .7rem/1.2 var(--sans); letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3)}
body.zk .rail-nav .grp-items{display:flex; flex-direction:column; gap:1px}
body.zk .rail-nav .nav-i{height:32px; min-height:32px; padding:0 10px; gap:10px; border-radius:var(--zk-r); font-size:.875rem; font-weight:500;
  color:var(--ink-2); box-shadow:none; transform:none}
body.zk .rail-nav .nav-i .ic{width:18px; height:18px; color:inherit}
body.zk .rail-nav .nav-i .ic svg,body.zk .rail-nav .nav-i .ic .zi{width:18px; height:18px}
body.zk .rail-nav .nav-i .nav-l{min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.zk .rail-nav .nav-i:hover{background:var(--zk-hover); color:var(--ink)}
body.zk .rail-nav .nav-i.on,body.zk .rail-nav .nav-i.on:hover{background:var(--zk-sel); color:var(--blue-ink); font-weight:700; box-shadow:none}
body.zk .rail-nav .nav-i.on .ic{color:var(--blue-ink)}
body.zk .rail-nav .nav-ct{margin-left:auto; font-size:.72rem; font-weight:700; color:var(--ink-3); font-variant-numeric:tabular-nums}
body.zk .rail-nav .nav-i.on .nav-ct{color:var(--blue-ink)}
body.zk .rail-nav .nav-ct + .nav-ext{margin-left:6px}
body.zk:not(.cx) .rail-me{padding:10px 14px; gap:10px; flex-wrap:nowrap; border-top:1px solid var(--line)}
body.zk:not(.cx) .rail-me .out{flex:none; width:32px; height:32px; padding:0; border-radius:var(--zk-r); margin-left:auto}
body.zk:not(.cx) .rail-me .out span{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0)}
body.zk:not(.cx) .rail-me > span:nth-child(2){min-width:0}
body.zk:not(.cx) .rail-me b{display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
/* the job title or email under the name takes a second line rather than losing its end */
body.zk:not(.cx) .rail-me small{display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; white-space:normal; overflow:hidden; overflow-wrap:normal}

body.zk:not(.no-kit) .topbar{height:var(--top-h); padding:0 20px; gap:12px; border-bottom:1px solid var(--line)}
body.zk:not(.no-kit) .topbar .live{display:none}
body.zk .topbar .crumb{display:flex; align-items:center; gap:6px; flex:none; min-width:0; font:500 .9rem var(--sans); color:var(--ink-3); white-space:nowrap}
body.zk .topbar .crumb b{font-weight:700; color:var(--ink)}
body.zk .topbar .crumb .zk-cc{width:14px; height:14px; stroke:currentColor; fill:none; stroke-width:2}
body.zk .zk-search{flex:1; max-width:520px; margin:0 auto; height:34px; display:flex; align-items:center; gap:8px; padding:0 12px;
  border-radius:var(--zk-r); border:1px solid var(--line); background:var(--raise); color:var(--ink-3); font:500 .875rem var(--sans); cursor:pointer; text-align:left}
body.zk .zk-search span{flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.zk .zk-search:hover{border-color:color-mix(in srgb, var(--ink) 22%, var(--line)); color:var(--ink-2)}
body.zk .zk-search kbd,body.zk .zk-pin kbd{font:600 .7rem var(--sans); padding:2px 6px; border-radius:5px; border:1px solid var(--line); background:var(--surface); color:var(--ink-3)}
body.zk:not(.no-kit) .topbar .viewswitch{padding:3px; gap:0; margin:0; border-radius:var(--zk-r); background:var(--raise); box-shadow:inset 0 0 0 1px var(--line); flex:none}
body.zk:not(.no-kit) .topbar .viewswitch button{height:28px; min-height:28px; padding:0 12px; border-radius:6px; font-size:.82rem; font-weight:600}
body.zk:not(.no-kit) .topbar .viewswitch button.on{box-shadow:none}
body.zk:not(.no-kit) .topbar .theme-sw{padding:3px; gap:0; margin:0; border-radius:var(--zk-r); background:var(--raise); box-shadow:inset 0 0 0 1px var(--line)}
body.zk:not(.no-kit) .topbar .theme-sw button{min-height:28px; height:28px; width:32px; padding:0; justify-content:center; border-radius:6px}
body.zk:not(.no-kit) .topbar .theme-sw button span{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0)}
body.zk:not(.no-kit) .topbar .theme-sw button.on,body.zk:not(.no-kit) .topbar .theme-sw button.on:hover{background:var(--surface); color:var(--ink); box-shadow:0 1px 2px rgba(20,30,60,.12)}
body.zk:not(.no-kit) .topbar #aiFab.docked,body.zk:not(.no-kit) .topbar #notifBtn{width:34px; height:34px; min-width:34px; min-height:34px; padding:0; margin:0;
  border-radius:var(--zk-r); border:1px solid var(--line); background:var(--surface); color:var(--ink-2); box-shadow:none; display:grid; place-items:center}
body.zk:not(.no-kit) .topbar #aiFab.docked .ai-lbl,body.zk:not(.no-kit) .topbar #aiFab.docked .pulse{display:none}
body.zk:not(.no-kit) .topbar #aiFab.docked svg,body.zk:not(.no-kit) .topbar #notifBtn svg{width:18px; height:18px}
body.zk:not(.no-kit) .topbar #aiFab.docked:hover,body.zk:not(.no-kit) .topbar #notifBtn:hover{background:var(--zk-hover); color:var(--ink)}
body.zk:not(.no-kit) .topbar .theme-sw + #aiFab.docked{margin-left:0}
@media (max-width:1100px){ body.zk .zk-search span,body.zk .zk-search kbd{display:none} body.zk .zk-search{flex:none; width:34px; padding:0; justify-content:center; margin:0 0 0 auto} }
@media (max-width:820px){ body.zk:not(.no-kit) .topbar{padding:0 12px; gap:8px} body.zk .topbar .crumb .zk-cg,body.zk .topbar .crumb .zk-cc{display:none} }

/* ── pane: docked right under the band, pushes the page, no dim ── */
body.zk #mw.side{position:fixed; inset:var(--top-h) 0 0 auto; width:var(--zk-pane); padding:0; display:none; background:none!important;
  -webkit-backdrop-filter:none!important; backdrop-filter:none!important; z-index:40}
body.zk #mw.side.on{display:flex}
body.zk #mw.side .modal{width:100%; max-width:none; height:100%; max-height:none; margin:0; padding:0; border-radius:0; border:0;
  border-left:1px solid var(--line); background:var(--surface); box-shadow:-24px 0 60px -30px rgba(20,30,60,.35); display:flex; flex-direction:column; overflow:hidden; animation:none}
@media (prefers-color-scheme:dark){ body.zk #mw.side .modal{box-shadow:-24px 0 60px -30px rgba(0,0,0,.9)} }
body.zk #mw.side .modal > div{flex:none}
body.zk #mw .zk-phd{display:flex; align-items:flex-start; gap:12px}
body.zk #mw .zk-pt{flex:1; min-width:0}
body.zk #mw .zk-phd h3{margin:0; font-size:1.05rem; line-height:1.3; letter-spacing:-.01em}
body.zk #mw .zk-phd .msub{margin:2px 0 0; font-size:.82rem; color:var(--ink-3)}
body.zk #mw .zk-px{display:flex; gap:6px; flex:none}
body.zk #mw.side .zk-phd{padding:14px 16px 12px; border-bottom:1px solid var(--line-2)}
body.zk #mw.side .zk-pbd{flex:1 1 auto!important; min-height:0; overflow:auto; padding:16px}
body.zk #mw .mfoot{display:flex; align-items:center; gap:8px; margin:0}
body.zk #mw .mfoot .zk-sp{flex:1}
body.zk #mw.side .mfoot{position:static; flex:none; padding:12px 16px; border-top:1px solid var(--line-2); background:var(--raise); margin:0; -webkit-backdrop-filter:none; backdrop-filter:none}
body.zk #mw .mfoot:not(:has(.btn)){display:none}
body.zk.zk-paned:not(.cx) #main{padding-right:var(--zk-pane)}
body.zk.zk-paned:not(.cx) #main .topbar{margin-right:calc(-1 * var(--zk-pane))}
body.zk.zk-paned .zk-secondary,body.zk.zk-paned #view .side-sum{display:none!important}
body.zk.zk-paned #toast{left:calc(var(--rail) + 16px)}

/* ── dialog: questions only. 400px, centred, scrim ── */
body.zk #mw:not(.side):not(.sheet){background:color-mix(in srgb, #141824 30%, transparent); -webkit-backdrop-filter:none; backdrop-filter:none; padding:24px}
@media (prefers-color-scheme:dark){ body.zk #mw:not(.side):not(.sheet){background:rgba(0,0,0,.5)} }
body.zk #mw:not(.side):not(.sheet) .modal{width:min(560px, 100%); max-height:calc(100vh - 48px); overflow:auto; padding:20px; border-radius:16px;
  border:0; background:var(--surface); box-shadow:var(--zk-pop-sh)}
body.zk #mw:not(.side):not(.sheet) .zk-pbd{margin-top:14px}
body.zk #mw:not(.side):not(.sheet) .zk-pbd:empty{display:none}
body.zk #mw:not(.side):not(.sheet) .mfoot{margin-top:18px}
body.zk #mw:not(.side):not(.sheet) .modal.zk-confirm{width:min(400px, 100%)}
body.zk #mw .modal.zk-confirm .zk-dic{width:36px; height:36px; border-radius:10px; display:grid; place-items:center; margin-bottom:12px;
  background:var(--blue-soft); color:var(--blue-ink)}
body.zk #mw .modal.zk-confirm.zk-danger .zk-dic{background:var(--stop-soft); color:var(--stop-ink)}
body.zk #mw .modal.zk-confirm .msub{font-size:.9rem; color:var(--ink-2); margin-top:6px}
body.zk #mw .modal.zk-confirm .zk-pbd{display:none}

/* ── phones: the pane is a full-screen sheet ── */
body.zk #mw.sheet{padding:0; place-items:stretch; background:none}
body.zk #mw.sheet .modal{width:100%; max-width:none; height:100%; max-height:none; border-radius:0; padding:0; display:flex; flex-direction:column; border:0}
body.zk #mw.sheet .zk-phd{padding:14px 16px 12px; border-bottom:1px solid var(--line-2)}
body.zk #mw.sheet .zk-pbd{flex:1; overflow:auto; padding:16px}
body.zk #mw.sheet .mfoot{padding:12px 16px; border-top:1px solid var(--line-2); background:var(--raise)}

/* ── icon buttons, popover, menu ── */
body.zk .zk-ib{width:32px; height:32px; display:grid; place-items:center; border-radius:var(--zk-r); border:1px solid var(--line); background:var(--surface);
  color:var(--ink-2); cursor:pointer; padding:0; flex:none}
body.zk .zk-ib:hover{background:var(--zk-hover); color:var(--ink)}
body.zk .zk-ib:focus-visible{outline:2px solid var(--blue); outline-offset:2px}
body.zk .zk-pop{position:fixed; z-index:95; background:var(--surface); border-radius:12px; box-shadow:var(--zk-pop-sh); padding:6px; color:var(--ink); font-family:var(--sans)}
body.zk .zk-menu{display:flex; flex-direction:column; min-width:200px}
body.zk .zk-menu button{display:flex; align-items:center; gap:10px; height:32px; padding:0 10px; border:0; border-radius:6px; background:none;
  color:var(--ink); font:500 .875rem var(--sans); text-align:left; cursor:pointer; white-space:nowrap}
body.zk .zk-menu button:hover,body.zk .zk-menu button:focus-visible{background:var(--zk-hover); outline:none}
body.zk .zk-menu button.danger{color:var(--stop-ink)}
body.zk .zk-menu button[disabled]{color:var(--ink-3); cursor:default; background:none}
body.zk .zk-menu kbd{margin-left:auto; padding-left:18px; font:600 .72rem var(--sans); color:var(--ink-3)}
body.zk .zk-menu hr{border:0; border-top:1px solid var(--line-2); margin:5px 2px}
/* a locked menu item says why under its name (audit 29 Nov) */
body.zk .zk-menu button.zk-mlock{height:auto; min-height:32px; padding-top:6px; padding-bottom:6px; align-items:flex-start; text-align:left}
body.zk .zk-menu .zk-mwhy{display:block; max-width:260px; white-space:normal; font-size:.74rem; font-weight:500; line-height:1.35; color:var(--ink-3); margin-top:1px}
/* Hiring: whether applicants can see the job, on the job itself (79-careers-text.js) */
body.zk .cpt-strip{display:flex; flex-wrap:wrap; align-items:center; gap:10px; padding:10px 18px; border-bottom:1px solid var(--line-2); font-size:.86rem; color:var(--ink-2)}
body.zk .cpt-strip .cpt-l{display:flex; align-items:center; gap:10px; flex:1 1 260px; min-width:0}
body.zk .cpt-strip .cpt-a{display:flex; flex-wrap:wrap; gap:8px; margin-left:auto}
/* page headers: actions folded under More stay in the page, out of view, where the More button is (78-header-more.js) */
body.zk .zh-acts, body.zk .zk-pa{position:relative}
body.zk .zh-acts > .btn.hdm-in, body.zk .zk-pa > .btn.hdm-in{position:absolute!important; right:0; top:0; width:34px; height:34px; min-width:0; padding:0; margin:0; overflow:hidden; visibility:hidden; pointer-events:none}
body.zk .hdm-more{flex:none}
/* audit Lows (81-web-lows.js). C-13: the skip link shows when it has focus */
.zk-skip{position:fixed; left:-9999px; top:8px; z-index:200; padding:8px 12px; border-radius:8px; background:var(--surface); color:var(--ink); border:1px solid var(--edge); font:600 .86rem var(--sans); text-decoration:none}
.zk-skip:focus{left:8px; outline:2px solid var(--blue); outline-offset:2px}
body.zk #view:focus{outline:none}
/* C-16: the first-visit note sits under the Menu button, clear of the search box */
.zk-rail-hint{left:14px; top:calc(var(--top-h, 56px) + 8px)}
.zk-rail-hint::before{left:22px; top:-4px}
/* C-11: a panel opened wide never stays wider than a window made narrow; on a phone the panel is solid, the page does not show through its fields */
body.zk #mw.side, body.zk #mw.side .modal{max-width:100vw}
body.zk #mw.sheet .modal{background:var(--surface); -webkit-backdrop-filter:none; backdrop-filter:none}

/* ── toast: bottom-left, dark in both themes, Undo ── */
body.zk #toast,body.zk #toast.on{left:calc(var(--rail) + 16px); right:auto; bottom:20px; transform:translateY(16px); border-radius:12px;
  background:#1C1E26; color:#F5F5F7; border:0; box-shadow:0 18px 48px -12px rgba(0,0,0,.45); -webkit-backdrop-filter:none; backdrop-filter:none;
  display:flex; align-items:center; gap:12px; padding:10px 12px 10px 14px; font-weight:500; max-width:min(520px, calc(100vw - var(--rail) - 32px))}
body.zk #toast.on{transform:translateY(0)}
body.zk #toast .tx{margin-left:6px; text-decoration:none; color:#9CC2FF; font-weight:700}
body.zk #toast .tx:hover{text-decoration:underline}
@media (max-width:820px){ body.zk #toast,body.zk #toast.on{left:16px; max-width:calc(100vw - 32px)} }

/* ── studio: full screen ── */
html.zk-studio-on{overflow:hidden}
body.zk .zk-studio{position:fixed; inset:0; z-index:70; background:var(--paper); display:flex; flex-direction:column}
body.zk .zk-sh{height:var(--top-h); flex:none; display:flex; align-items:center; gap:12px; padding:0 20px; border-bottom:1px solid var(--line); background:var(--surface)}
body.zk .zk-sh h2{margin:0; font-size:1.05rem}
body.zk .zk-sh .sp{flex:1}
body.zk .zk-sb{flex:1; overflow:auto; padding:24px}

/* ── pickers: the field keeps the browser's typing; the list is ours ── */
body.zk input[type=date],body.zk input[type=time],body.zk input[type=month]{padding-left:36px!important; background-repeat:no-repeat!important;
  background-position:11px 50%!important; background-size:16px 16px!important; cursor:pointer}
body.zk input[type=date],body.zk input[type=month]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C6E93' stroke-width='1.9' stroke-linecap='round'%3E%3Crect x='4' y='5.5' width='16' height='14' rx='2.5'/%3E%3Cpath d='M4 10h16M8.5 3.5v4M15.5 3.5v4'/%3E%3C/svg%3E")!important}
body.zk input[type=time]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C6E93' stroke-width='1.9' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E")!important}
@media (prefers-color-scheme:dark){
  body.zk input[type=date],body.zk input[type=month]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2353A9C9' stroke-width='1.9' stroke-linecap='round'%3E%3Crect x='4' y='5.5' width='16' height='14' rx='2.5'/%3E%3Cpath d='M4 10h16M8.5 3.5v4M15.5 3.5v4'/%3E%3C/svg%3E")!important}
  body.zk input[type=time]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2353A9C9' stroke-width='1.9' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E")!important}
}
@media (any-pointer:fine), (min-width:760px){
  body.zk input[type=date]::-webkit-calendar-picker-indicator,body.zk input[type=time]::-webkit-calendar-picker-indicator,
  body.zk input[type=month]::-webkit-calendar-picker-indicator{display:none}
}
body.zk input.zk-open{border-color:var(--blue)!important; box-shadow:0 0 0 3px color-mix(in srgb, var(--blue) 14%, transparent)!important}
body.zk .zk-mh{display:flex; align-items:center; justify-content:space-between; gap:8px; padding:2px 2px 8px}
body.zk .zk-mh b{font-weight:700; font-size:.92rem}
body.zk .zk-mh .zk-ib{width:28px; height:28px}
body.zk .zk-mh .zk-ib svg{width:16px; height:16px}
body.zk .zk-cal{width:268px; padding:4px}
body.zk .zk-g{display:grid; grid-template-columns:repeat(7,1fr); gap:2px; text-align:center}
body.zk .zk-g .h{height:22px; display:grid; place-items:center; font-size:.68rem; font-weight:700; color:var(--ink-3)}
body.zk .zk-g .d{height:32px; border:0; border-radius:7px; background:none; color:var(--ink); font:500 .84rem var(--sans); cursor:pointer; font-variant-numeric:tabular-nums}
body.zk .zk-g .d:hover{background:var(--zk-hover)}
body.zk .zk-g .d.w{color:var(--ink-3)}
body.zk .zk-g .d.o{color:color-mix(in srgb, var(--ink-3) 60%, transparent)}
body.zk .zk-g .d.t{font-weight:800; color:var(--blue-ink); box-shadow:inset 0 0 0 1.5px color-mix(in srgb, var(--blue) 45%, transparent)}
body.zk .zk-g .d.s,body.zk .zk-g .d.s:hover{background:var(--blue); color:var(--on-brand); font-weight:700; box-shadow:none}
body.zk .zk-g .d[disabled]{opacity:.35; cursor:default; background:none}
body.zk .zk-g .d:focus-visible{outline:2px solid var(--blue); outline-offset:1px}
body.zk .zk-cf{display:flex; align-items:center; gap:12px; padding:8px 4px 2px; border-top:1px solid var(--line-2); margin-top:6px}
body.zk .zk-cf .sp{flex:1}
body.zk .zk-cf .hint,body.zk .zk-ph,body.zk .zk-fld .hint{font-size:.76rem; color:var(--ink-3)}
body.zk .lnk{background:none; border:0; padding:0; color:var(--blue-ink); font:600 .82rem var(--sans); cursor:pointer}
body.zk .lnk:hover{text-decoration:underline}
body.zk .zk-pop-time{width:300px; padding:10px}
body.zk .zk-ph{padding:0 2px 8px}
body.zk .zk-slots{display:flex; flex-wrap:wrap; gap:6px; max-height:212px; overflow:auto; padding:2px}
body.zk .zk-slots button,body.zk .zk-chips button{height:30px; padding:0 10px; border-radius:7px; border:1px solid var(--line); background:var(--surface);
  color:var(--ink-2); font:600 .82rem var(--sans); cursor:pointer; font-variant-numeric:tabular-nums}
body.zk .zk-slots button:hover,body.zk .zk-chips button:hover{border-color:var(--blue); color:var(--blue-ink)}
body.zk .zk-slots button.on,body.zk .zk-chips button.on{background:var(--blue); border-color:var(--blue); color:var(--on-brand)}
body.zk .zk-months{width:248px; padding:4px}
body.zk .zk-mg{display:grid; grid-template-columns:repeat(3,1fr); gap:4px}
body.zk .zk-mg button{height:36px; border:0; border-radius:7px; background:none; color:var(--ink); font:500 .86rem var(--sans); cursor:pointer}
body.zk .zk-mg button:hover{background:var(--zk-hover)}
body.zk .zk-mg button.t{color:var(--blue-ink); font-weight:800}
body.zk .zk-mg button.s{background:var(--blue); color:var(--on-brand); font-weight:700}
body.zk .zk-mg button[disabled]{opacity:.35; cursor:default}
body.zk .zs-panel .zs-q{position:sticky; top:-6px; z-index:1; margin:-6px -6px 4px; padding:9px 12px; border:0; border-bottom:1px solid var(--line-2);
  background:inherit; color:var(--ink); font:500 .875rem var(--sans); outline:none; border-radius:12px 12px 0 0}
body.zk .zs-panel .zs-opt[hidden],body.zk .zs-panel .zs-grp[hidden]{display:none}
body.zk .zk-chips{display:flex; flex-wrap:wrap; gap:6px}
body.zk .zk-seg{display:inline-flex; padding:3px; border-radius:var(--zk-r); background:var(--raise); box-shadow:inset 0 0 0 1px var(--line)}
body.zk .zk-seg button{height:28px; padding:0 12px; border:0; border-radius:6px; background:none; color:var(--ink-2); font:600 .82rem var(--sans); cursor:pointer}
body.zk .zk-seg button.on{background:var(--surface); color:var(--ink); box-shadow:0 1px 2px rgba(20,30,60,.14)}
body.zk .zk-swrow{display:flex; align-items:flex-start; gap:12px; cursor:pointer; padding:6px 0}
body.zk .zk-swrow b{display:block; font-weight:600} body.zk .zk-swrow small{display:block; color:var(--ink-3); font-size:.8rem}
body.zk input.zk-sw{appearance:none; -webkit-appearance:none; width:34px; height:20px; margin:1px 0 0; border-radius:999px; background:var(--line); position:relative;
  flex:none; cursor:pointer; border:0; transition:background .15s}
body.zk input.zk-sw::after{content:""; position:absolute; top:2px; left:2px; width:16px; height:16px; border-radius:50%; background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.25); transition:left .15s}
body.zk input.zk-sw:checked{background:var(--ok)}
body.zk input.zk-sw:checked::after{left:16px}
body.zk input.zk-sw:focus-visible{outline:2px solid var(--blue); outline-offset:2px}
body.zk .zk-ppl{display:flex; flex-wrap:wrap; gap:6px; align-items:center; min-height:40px; padding:5px 8px; border-radius:var(--zk-r); border:1px solid var(--line); background:var(--surface)}
body.zk .zk-ppl:focus-within{border-color:var(--blue)}
body.zk .zk-pc{display:inline-flex; align-items:center; gap:6px; height:28px; padding:0 4px 0 3px; border-radius:999px; background:var(--raise); border:1px solid var(--line-2); font-weight:600; font-size:.82rem}
body.zk .zk-pc button{width:20px; height:20px; border:0; background:none; color:var(--ink-3); padding:0; display:grid; place-items:center; cursor:pointer; border-radius:50%}
body.zk .zk-pc button:hover{background:var(--zk-hover); color:var(--ink)}
body.zk .zk-pc button svg{width:12px; height:12px}
body.zk .zk-av{width:22px; height:22px; border-radius:50%; display:inline-grid; place-items:center; flex:none; font:800 .6rem var(--sans); font-style:normal;
  background:var(--blue); color:var(--on-brand)}
body.zk .zk-pq{flex:1; min-width:120px; border:0!important; outline:0; background:none!important; box-shadow:none!important; padding:4px!important; height:28px; color:var(--ink); font:inherit}
body.zk .zk-drop{display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-height:96px; padding:16px; border-radius:12px;
  border:1.5px dashed var(--line); background:var(--raise); color:var(--ink-2); cursor:pointer; text-align:center; font-size:.875rem}
body.zk .zk-drop svg{width:22px; height:22px; color:var(--ink-3)}
body.zk .zk-drop u{color:var(--blue-ink); text-decoration:none; font-weight:700}
body.zk .zk-drop small{color:var(--ink-3); font-size:.74rem}
body.zk .zk-drop:hover,body.zk .zk-drop.over{border-color:var(--blue); background:color-mix(in srgb, var(--blue) 6%, var(--raise))}
body.zk .zk-drop:focus-within{outline:2px solid var(--blue); outline-offset:2px}
body.zk .zk-drop.has{border-style:solid; color:var(--ink)}

/* ── page templates ── */
body.zk .zk-ph{display:flex; align-items:flex-start; gap:16px; margin-bottom:16px}
body.zk .zk-ph{flex-wrap:wrap}
body.zk .zk-ph .zk-pt{flex:1 1 280px; min-width:0}
body.zk .zk-pa{display:flex; flex-wrap:wrap; gap:8px; align-items:center; flex:0 1 auto; max-width:100%}
body.zk .zk-tabs{display:flex; gap:2px; border-bottom:1px solid var(--line); margin:0 0 16px; overflow-x:auto}
body.zk .zk-tabs button{padding:9px 12px; border:0; background:none; color:var(--ink-3); font:600 .875rem var(--sans); border-bottom:2px solid transparent;
  margin-bottom:-1px; display:flex; gap:6px; align-items:center; white-space:nowrap; cursor:pointer}
body.zk .zk-tabs button.on{color:var(--ink); border-bottom-color:var(--blue)}
body.zk .zk-tabs .ct{font-size:.72rem; color:var(--ink-3); font-weight:700}
/* tab strips scroll sideways with no scrollbar (audit 29 Nov). The strip's line is drawn inside the strip and the tabs no
   longer hang 1px below it: that 1px of downward overflow is what brought up the native up/down scroll control at the right end.
   A cut edge fades (zkTabsFit in 55-kit.js). The settings list (.zo-set-tabs) is a column and keeps its own rules. */
body.zk .zk-tabs, body.zk:not(.no-kit) .ptabs:not(.zo-set-tabs .ptabs){border-bottom:0; box-shadow:inset 0 -1px 0 var(--line); overflow-x:auto; overflow-y:hidden; scrollbar-width:none; -ms-overflow-style:none; scroll-padding-inline:28px}
body.zk .zk-tabs::-webkit-scrollbar, body.zk .ptabs::-webkit-scrollbar{display:none; width:0; height:0}
body.zk .zk-tabs button, body.zk:not(.no-kit) .ptabs:not(.zo-set-tabs .ptabs) .tab{margin-bottom:0; flex:none}
body.zk .zk-tabs.zk-more-r, body.zk .ptabs.zk-more-r{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 40px),transparent); mask-image:linear-gradient(to right,#000 calc(100% - 40px),transparent)}
body.zk .zk-tabs.zk-more-l, body.zk .ptabs.zk-more-l{-webkit-mask-image:linear-gradient(to left,#000 calc(100% - 40px),transparent); mask-image:linear-gradient(to left,#000 calc(100% - 40px),transparent)}
body.zk .zk-tabs.zk-more-l.zk-more-r, body.zk .ptabs.zk-more-l.zk-more-r{-webkit-mask-image:linear-gradient(to right,transparent,#000 40px,#000 calc(100% - 40px),transparent); mask-image:linear-gradient(to right,transparent,#000 40px,#000 calc(100% - 40px),transparent)}
body.zk .zk-fbar{display:flex; gap:8px; align-items:center; margin-bottom:12px; flex-wrap:wrap}
body.zk .zk-fbar .sp{flex:1}
body.zk .zk-fin{height:32px; display:flex; align-items:center; gap:8px; padding:0 10px; border-radius:var(--zk-r); border:1px solid var(--line); background:var(--surface); color:var(--ink-3); min-width:240px}
body.zk .zk-fin input{border:0!important; background:none!important; box-shadow:none!important; outline:0; padding:0!important; height:30px; flex:1; color:var(--ink); font:inherit}
body.zk .zk-fch{height:32px; display:inline-flex; align-items:center; gap:6px; padding:0 10px; border-radius:var(--zk-r); border:1px dashed var(--line);
  color:var(--ink-2); font:600 .82rem var(--sans); background:none; cursor:pointer}
body.zk .zk-fch.on{border-style:solid; border-color:var(--blue); background:color-mix(in srgb, var(--blue) 8%, transparent); color:var(--blue-ink)}
body.zk .zk-list tr.zk-gr td{background:var(--raise); font-size:.72rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-3); padding:8px 12px}
body.zk .zk-list tr.zk-row{cursor:pointer}
body.zk .zk-list tr.zk-row:hover td{background:var(--zk-hover)}
body.zk .zk-list td.r,body.zk .zk-list th.r{text-align:right}
body.zk .zk-list .zk-chev-c{width:1%; white-space:nowrap; text-align:right}
body.zk .zk-list .zk-act{display:inline-flex; gap:6px; vertical-align:middle; opacity:0; transition:opacity .12s}
body.zk .zk-list tr.zk-row:hover .zk-act,body.zk .zk-list tr.zk-row:focus-within .zk-act{opacity:1}
body.zk .zk-list .zk-chev{width:16px; height:16px; color:var(--ink-3); vertical-align:middle; margin-left:6px}
body.zk .zk-dl{display:grid; grid-template-columns:132px minmax(0,1fr); gap:9px 12px; margin:0}
body.zk .zk-dl dt{color:var(--ink-3); font-size:.84rem} body.zk .zk-dl dd{margin:0; font-weight:500}
body.zk .zk-sec{margin:0 0 18px}
body.zk .zk-sec > h4{margin:0 0 8px; font-size:.72rem; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3)}
body.zk .zk-stats{display:grid; grid-template-columns:repeat(auto-fit, minmax(160px, 1fr)); border:1px solid var(--line); border-radius:16px; background:var(--surface); overflow:hidden; margin-bottom:16px}
body.zk .zk-stat{padding:12px 16px; border-right:1px solid var(--line-2); display:flex; flex-direction:column; gap:2px}
body.zk .zk-stat[onclick]{cursor:pointer} body.zk .zk-stat[onclick]:hover{background:var(--zk-hover)}
body.zk .zk-stat:last-child{border-right:0}
body.zk .zk-stat .k{font-size:.72rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-3)}
body.zk .zk-stat b{font-size:1.35rem; font-weight:700; color:var(--ink)}
body.zk .zk-stat small{font-size:.78rem; color:var(--ink-3)}

/* ── Ctrl K ── */
#zkPal{position:fixed; inset:0; z-index:96; display:none; justify-content:center; align-items:flex-start; padding:12vh 16px 16px; background:color-mix(in srgb, #141824 28%, transparent)}
@media (prefers-color-scheme:dark){ #zkPal{background:rgba(0,0,0,.5)} }
#zkPal.on{display:flex}
body.zk .zk-pal{width:min(600px, 100%); max-height:70vh; display:flex; flex-direction:column; background:var(--surface); border-radius:14px; box-shadow:var(--zk-pop-sh); overflow:hidden}
body.zk .zk-pin{display:flex; align-items:center; gap:10px; padding:0 14px; height:52px; border-bottom:1px solid var(--line-2); color:var(--ink-3)}
body.zk .zk-pin input{flex:1; border:0!important; outline:0; background:none!important; box-shadow:none!important; padding:0!important; height:50px; font:500 1rem var(--sans); color:var(--ink)}
body.zk .zk-pr{overflow:auto; padding:6px}
body.zk .zk-ps{padding:10px 10px 4px; font-size:.7rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3)}
body.zk .zk-pi{display:flex; align-items:center; gap:10px; width:100%; height:38px; padding:0 10px; border:0; border-radius:8px; background:none; color:var(--ink);
  font:500 .9rem var(--sans); text-align:left; cursor:pointer}
body.zk .zk-pi:hover,body.zk .zk-pi.hv{background:var(--zk-sel)}
body.zk .zk-pi .zk-pic{width:22px; display:grid; place-items:center; color:var(--ink-2)}
body.zk .zk-pi .zk-pic svg,body.zk .zk-pi .zk-pic .zi{width:18px; height:18px}
body.zk .zk-pi .zk-pl{flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.zk .zk-pi small{color:var(--ink-3); font-size:.78rem; white-space:nowrap}
body.zk .zk-pe{margin:0; padding:18px 12px; color:var(--ink-3); text-align:center}
@media (prefers-reduced-motion:reduce){ body.zk input.zk-sw,body.zk input.zk-sw::after,body.zk .zk-list .zk-act{transition:none} }

/* ── rows that open; one primary per area ── */
body.zk table.zk-rows tbody tr.zk-row{cursor:pointer}
body.zk table.zk-rows tbody tr.zk-row:hover td{background:var(--zk-hover)}
body.zk table.zk-rows tbody tr.zk-row td:last-child{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C6E93' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m10 7 5 5-5 5'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 10px center; background-size:16px; padding-right:32px}
body.zk table.zk-rows tbody tr.zk-row:focus-visible{outline:2px solid var(--blue); outline-offset:-2px}
body.zk #view tbody .btn-blue,body.zk #view tbody .btn-blue:hover{background:var(--blue-soft); color:var(--blue-ink); box-shadow:none; border-color:transparent}

/* ── the profile editor docks as the pane ── */
body.zk #epWiz{inset:var(--top-h) 0 0 auto; width:var(--zk-pane); padding:0; background:none; overflow:hidden; z-index:40}
body.zk #epWiz .epw{max-width:none; height:100%; margin:0; border-radius:0; border:0; border-left:1px solid var(--line); display:flex; flex-direction:column;
  box-shadow:-24px 0 60px -30px rgba(20,30,60,.35); background:var(--surface)}
@media (prefers-color-scheme:dark){ body.zk #epWiz .epw{box-shadow:-24px 0 60px -30px rgba(0,0,0,.9)} }
body.zk #epWiz .epw-head{flex:none; background:none; color:var(--ink); padding:14px 16px 12px; border-bottom:1px solid var(--line-2); flex-wrap:nowrap; gap:12px}
body.zk #epWiz .epw-head h2{font-size:1.05rem; font-weight:700; letter-spacing:-.01em}
body.zk #epWiz .epw-head p{font-size:.82rem; color:var(--ink-3); opacity:1; margin-top:2px}
body.zk #epWiz .epw-x{background:var(--surface); color:var(--ink-2); border:1px solid var(--line); border-radius:var(--zk-r); padding:0 10px; height:32px; font-size:.82rem}
body.zk #epWiz .epw-x:hover{background:var(--zk-hover); color:var(--ink)}
body.zk #epWiz .epw-x svg{stroke:currentColor}
/* 13 steps in a 440px pane: numbers only, all visible at once, no sideways scroll; the step's name heads the form */
body.zk #epWiz .epw-rail{flex:none; display:flex; justify-content:space-between; flex-wrap:nowrap; overflow:visible; padding:10px 16px; gap:0; border-bottom:1px solid var(--line-2)}
body.zk #epWiz .epw-tab{width:auto; min-width:0; flex:0 0 auto; gap:0; padding:0}
body.zk #epWiz .epw-tab .epw-dot{width:24px; height:24px; font-size:.72rem}
body.zk #epWiz .epw-tab .epw-lbl{position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%)}
body.zk #epWiz .epw-tab:not(:last-child)::after{display:none}
body.zk #epWiz .epw-body{flex:1 1 auto; min-height:0; overflow:auto; padding:16px}
body.zk #epWiz .epw-body .fgrid{grid-template-columns:1fr}
body.zk #epWiz .epw-foot{flex:none; margin:0; padding:12px 16px; gap:8px; background:var(--raise); border-top:1px solid var(--line-2)}
body.zk.zk-paned #epWiz.on ~ #mw.side{z-index:41}
@media (max-width:899px){ body.zk #epWiz{inset:0; width:auto} }

/* ── checkboxes and radios: ours, in both themes ── */
body.zk :is(#view,#mw,#epWiz,.zk-pop) input[type=checkbox]:not(.zk-sw),body.zk :is(#view,#mw,#epWiz,.zk-pop) input[type=radio]{
  appearance:none; -webkit-appearance:none; width:18px; height:18px; margin:0; flex:none; display:inline-grid; place-items:center; vertical-align:-4px;
  border:1.5px solid color-mix(in srgb, var(--ink-3) 70%, var(--line)); background:var(--surface); cursor:pointer; transition:background .12s,border-color .12s;
  padding:0; min-height:0; max-width:none; box-shadow:none}
body.zk :is(#view,#mw,#epWiz,.zk-pop) input[type=checkbox]:not(.zk-sw){border-radius:5px}
body.zk :is(#view,#mw,#epWiz,.zk-pop) input[type=radio]{border-radius:50%}
body.zk :is(#view,#mw,#epWiz,.zk-pop) input[type=checkbox]:not(.zk-sw):checked{background:var(--blue); border-color:var(--blue)}
body.zk :is(#view,#mw,#epWiz,.zk-pop) input[type=checkbox]:not(.zk-sw):checked::after{content:""; width:9px; height:5px; border:2px solid var(--on-brand); border-top:0; border-right:0; transform:translateY(-1px) rotate(-45deg)}
body.zk :is(#view,#mw,#epWiz,.zk-pop) input[type=radio]:checked{border-color:var(--blue); border-width:5px}
body.zk :is(#view,#mw,#epWiz,.zk-pop) :is(input[type=checkbox],input[type=radio]):focus-visible{outline:2px solid var(--blue); outline-offset:2px}
body.zk :is(#view,#mw,#epWiz,.zk-pop) :is(input[type=checkbox],input[type=radio]):disabled{opacity:.45; cursor:default}
@media (prefers-reduced-motion:reduce){ body.zk :is(#view,#mw,#epWiz,.zk-pop) :is(input[type=checkbox],input[type=radio]){transition:none} }
/* dark: the destructive fill was a pale pink under white text; a deep red with the light red ink reads */
@media (prefers-color-scheme:dark){
  body.zk .btn-danger,body.zk .btn-danger:hover{background:color-mix(in srgb, var(--stop) 26%, var(--surface)); color:var(--stop-ink);
    box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--stop) 50%, transparent)}
}
/* a phone's band: menu, role switch, search, bell — the page name and AI move out of the way */
@media (max-width:600px){
  body.zk:not(.no-kit) .topbar .crumb,body.zk:not(.no-kit) .topbar #aiFab.docked{display:none}
  body.zk:not(.no-kit) .topbar .viewswitch button{padding:0 9px}
  body.zk .zk-search{margin-left:auto}
}

/* ═══════════  APPROVED SYSTEM (4 Nov) — docs/design/console-samples/src/sys.css on the real console  ═══════════
   Tokens first, so every page (converted or not) gets the samples' ground, card,
   ink, blue and edges; then the frame, type scale, button ladder, table, tabs,
   status words and fields. Connect (body.cx) keeps its own surface. */
body.zk:not(.no-kit){
  --paper:#EEF0F4; --surface:#FFFFFF; --raise:#F7F8FA; --sunk:#F2F3F6;
  --ink:#1C1C1E; --ink-2:#48484F; --ink-3:#6B6B75; --ink-4:#8E8E97;
  --line:#D9DBE1; --line-2:#E8E9EE; --edge:#C3C5CD; --field-edge:var(--edge); --field:var(--surface);
  --brand:#0B63CE; --blue:#0B63CE; --blue-press:#0954B0; --blue-ink:#0A5BC2; --blue-soft:#DCE8F8; --blue-wash:rgba(11,99,206,.07);
  --go:#1E9E57; --go-soft:#DDF3E6; --go-ink:#147040; --warn:#C77700; --warn-soft:#FDF0D8; --warn-ink:#8A5200;
  --stop:#D93B30; --stop-soft:#FBE3E1; --stop-ink:#A32A22;
  --ok:var(--go); --ok-ink:var(--go-ink); --wait:var(--warn); --wait-ink:var(--warn-ink);
  --zk-hover:rgba(20,30,60,.045); --zk-sel:rgba(11,99,206,.10);
  --sh-1:0 1px 2px rgba(20,30,60,.06); --zk-shadow-pane:-24px 0 60px -30px rgba(20,30,60,.35);
  --zk-pop-sh:0 18px 48px -12px rgba(20,30,60,.28), 0 0 0 1px var(--line);
  --zk-r:8px;
  background:var(--paper)!important; color:var(--ink); font-size:14px; line-height:1.45}
@media (prefers-color-scheme:dark){ body.zk:not(.no-kit){
  --paper:#0B0C10; --surface:#17191F; --raise:#1D2027; --sunk:#121419;
  --ink:#F5F5F7; --ink-2:#C2C2CA; --ink-3:#9A9AA4; --ink-4:#787882;
  --line:#2E3039; --line-2:#24262E; --edge:#3E414C; --field-edge:var(--edge); --field:var(--surface);
  --brand:#1F6FE0; --blue:#1F6FE0; --blue-press:#185FC4; --blue-ink:#8BBAFF; --blue-soft:#14284A; --blue-wash:rgba(31,111,224,.12);
  --go:#34C26F; --go-soft:#123322; --go-ink:#7BDDA2; --warn:#F2A93B; --warn-soft:#3A2A0E; --warn-ink:#F7C878;
  --stop:#FF6B61; --stop-soft:#3D1715; --stop-ink:#FFB0AA;
  --zk-hover:rgba(255,255,255,.045); --zk-sel:rgba(31,111,224,.20);
  --sh-1:0 1px 2px rgba(0,0,0,.4); --zk-shadow-pane:-24px 0 60px -30px rgba(0,0,0,.9);
  --zk-pop-sh:0 18px 48px -12px rgba(0,0,0,.75), 0 0 0 1px var(--line)} }
body.zk:not(.cx) #app,body.zk:not(.cx) #main{background:var(--paper)!important}

/* frame */
body.zk:not(.cx) #rail{background:var(--sunk)!important; border-right:1px solid var(--line); -webkit-backdrop-filter:none; backdrop-filter:none}
body.zk:not(.cx) .rail-brand{color:var(--ink); font-weight:700}
body.zk:not(.cx) .rail-nav .zk-grp{font-size:.7rem; margin:14px 10px 4px}
body.zk:not(.cx) .rail-nav .nav-i svg.i{width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
body.zk:not(.cx) .rail-me{position:relative}
body.zk:not(.cx) .rail-me .av{background:none!important; box-shadow:none; width:auto; height:auto; padding:0}
body.zk:not(.cx) .rail-me b{font-size:.875rem}
body.zk:not(.cx) .rail-me small{font-size:.75rem; color:var(--ink-3)}
body.zk:not(.cx) .rail-me .out{opacity:0; border:1px solid var(--line); background:var(--surface); box-shadow:none; color:var(--ink-3); transition:opacity .12s}
body.zk:not(.cx) .rail-me:hover .out,body.zk:not(.cx) .rail-me .out:focus-visible{opacity:1}
body.zk:not(.no-kit) #themeSwRail{display:none}
/* audit C-05: under 820px the top bar drops Auto / Light / Dark, so the side menu carries it (same look as the bar's) */
@media (max-width:820px){
  body.zk:not(.no-kit) #themeSwRail{display:flex; flex:none; margin:8px 12px; padding:3px; gap:0; border-radius:var(--zk-r); background:var(--sunk); box-shadow:inset 0 0 0 1px var(--line)}
  body.zk:not(.no-kit) #themeSwRail button{flex:1; justify-content:center; gap:6px; min-height:36px; height:36px; padding:0 6px; border-radius:6px; background:none; color:var(--ink-2); font-size:.8rem}
  body.zk:not(.no-kit) #themeSwRail button span{position:static; width:auto; height:auto; overflow:visible; clip:auto}
  body.zk:not(.no-kit) #themeSwRail button.on, body.zk:not(.no-kit) #themeSwRail button.on:hover{background:var(--surface); color:var(--ink); box-shadow:0 1px 2px rgba(20,30,60,.12)}
}
body.zk:not(.no-kit) .topbar{background:var(--surface)!important; -webkit-backdrop-filter:none; backdrop-filter:none; box-shadow:none}
body.zk:not(.no-kit) .zk-search{background:var(--sunk); border-color:var(--line)}
body.zk:not(.no-kit) .topbar .viewswitch,body.zk:not(.no-kit) .topbar .theme-sw{background:var(--sunk); box-shadow:inset 0 0 0 1px var(--line)}
body.zk:not(.no-kit) .topbar .viewswitch button{height:26px; min-height:26px; background:none; color:var(--ink-2); border:0}
body.zk:not(.no-kit) .topbar .viewswitch button.on{background:var(--blue); color:#fff}
body.zk:not(.no-kit) .topbar .theme-sw button{height:26px; min-height:26px; background:none; color:var(--ink-2)}
body.zk:not(.no-kit) .topbar .tb-badge{top:6px; right:7px; left:auto; width:7px; height:7px; min-width:0; padding:0; font-size:0; border-radius:50%; background:var(--stop); box-shadow:0 0 0 2px var(--surface); color:transparent}
@media (min-width:821px){
  body.zk:not(.no-kit) #view{max-width:none; margin:0; padding:20px 24px 32px}
}

/* type scale */
body.zk:not(.no-kit) #view{font-size:14px; line-height:1.45}
body.zk:not(.no-kit) .page-t{margin:0; font-size:1.35rem; line-height:1.2; font-weight:700; letter-spacing:-.015em; color:var(--ink)}
body.zk:not(.no-kit) .page-s{margin:3px 0 0; font-size:14px; color:var(--ink-3)}
body.zk:not(.no-kit) .sec-t{font-size:.95rem; font-weight:700; color:var(--ink); border:0; padding:0; letter-spacing:0}
body.zk:not(.no-kit) .f-note{font-size:.84rem; color:var(--ink-3)}
body.zk:not(.no-kit) #view [style*="margin-top:22px"]{margin-top:16px!important}
body.zk:not(.no-kit) #view [style*="margin-top:28px"]{margin-top:20px!important}
body.zk:not(.no-kit) .zk-ph{margin-bottom:16px}

/* buttons: the ladder */
body.zk:not(.no-kit) .btn{height:34px; min-height:34px; padding:0 14px; border-radius:var(--zk-r); border:0; display:inline-flex; align-items:center; justify-content:center; gap:6px;
  font:700 .86rem/1 var(--sans); white-space:nowrap; cursor:pointer; box-shadow:none; transform:none; text-decoration:none; background-image:none}
body.zk:not(.no-kit) .btn svg{width:16px; height:16px; flex:none}
body.zk:not(.no-kit) .btn:disabled,body.zk:not(.no-kit) .btn.zk-locked{opacity:.55; cursor:not-allowed}
body.zk:not(.no-kit) .btn-blue,body.zk:not(.no-kit) .btn-sm.btn-blue{background:var(--blue); color:#fff; box-shadow:none}
body.zk:not(.no-kit) .btn-blue:hover{background:var(--blue-press); color:#fff}
body.zk:not(.no-kit) .btn-tint,body.zk:not(.no-kit) #view tbody .btn-blue,body.zk:not(.no-kit) #view tbody .btn-blue:hover{background:var(--blue-soft); color:var(--blue-ink); box-shadow:none}
body.zk:not(.no-kit) .btn-tint:hover{filter:brightness(.97)}
body.zk:not(.no-kit) .btn-ghost,body.zk:not(.no-kit) .btn-sm.btn-ghost{background:none; color:var(--ink-2); box-shadow:inset 0 0 0 1px var(--edge); border:0}
body.zk:not(.no-kit) .btn-ghost:hover{background:var(--zk-hover); color:var(--ink)}
body.zk:not(.no-kit) .btn-danger-ghost,body.zk:not(.no-kit) .btn-sm.btn-danger-ghost{background:var(--stop-soft); color:var(--stop-ink); box-shadow:none; border:0}
body.zk:not(.no-kit) .btn-danger,body.zk:not(.no-kit) .btn-sm.btn-danger{background:var(--stop); color:#fff; box-shadow:none; border:0}
body.zk:not(.no-kit) .btn-link{background:none; color:var(--blue-ink); padding:0; height:auto; min-height:0; font-weight:600}
body.zk:not(.no-kit) #view .tbl .btn,body.zk:not(.no-kit) .zk-qa .btn{height:28px; min-height:28px; padding:0 10px; font-size:.8rem}
body.zk:not(.no-kit) .tbl td:last-child > .btn-ghost.btn-sm:only-child{background:none; box-shadow:inset 0 0 0 1px var(--edge); color:var(--ink-2)}
body.zk:not(.no-kit) .tbl td:last-child > .btn-ghost.btn-sm:only-child::after{content:none}
body.zk:not(.no-kit) .zk-lnk{color:var(--blue-ink); font-weight:600; text-decoration:none; cursor:pointer; background:none; border:0; padding:0; font-size:inherit}
body.zk:not(.no-kit) .zk-lnk:hover{text-decoration:underline}
body.zk:not(.no-kit) #view .zk-ib{width:34px; height:34px; display:grid; place-items:center; border-radius:var(--zk-r); border:1px solid var(--line); background:var(--surface); color:var(--ink-2); cursor:pointer; flex:none; padding:0}
body.zk:not(.no-kit) #view .zk-ib:hover{background:var(--zk-hover)}
body.zk:not(.no-kit) #view .zk-ib.s{width:28px; height:28px}

/* surfaces */
body.zk:not(.no-kit) .card,body.zk:not(.no-kit) .tbl-wrap,body.zk:not(.no-kit) .zk-card{background:var(--surface)!important; background-image:none!important; border:1px solid var(--line)!important; border-radius:16px;
  box-shadow:var(--sh-1)!important; color:var(--ink); -webkit-backdrop-filter:none; backdrop-filter:none; transform:none}
body.zk:not(.no-kit) .card{padding:16px}
body.zk:not(.no-kit) .card .card,body.zk:not(.no-kit) .card .tbl-wrap{box-shadow:none!important; border-radius:12px}
body.zk:not(.no-kit) .card .tbl-wrap{border-color:var(--line-2)!important}
/* headline figures: flat, one line of type each */
body.zk:not(.no-kit) .card.stat{padding:12px 16px; min-height:0; display:flex; flex-direction:column; gap:2px}
body.zk:not(.no-kit) .card.stat .k{font-size:.75rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-3)}
body.zk:not(.no-kit) .card.stat .v{font-size:1.25rem; font-weight:700; line-height:1.25; color:var(--ink); margin:0}
body.zk:not(.no-kit) .card.stat .c{font-size:.8rem; color:var(--ink-3); margin:0}
body.zk:not(.no-kit) .card.stat::before,body.zk:not(.no-kit) .card.stat::after{display:none}
body.zk:not(.no-kit) .grid{gap:12px}

/* table */
body.zk:not(.no-kit) .tbl{width:100%; border-collapse:collapse; font-size:14px}
body.zk:not(.no-kit) .tbl th{text-align:left; font-size:.72rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-3); padding:9px 12px; background:var(--raise); border-bottom:1px solid var(--line); white-space:nowrap}
body.zk:not(.no-kit) .tbl td{padding:9px 12px; border-bottom:1px solid var(--line-2); vertical-align:middle; color:var(--ink); background:none}
body.zk:not(.no-kit) .tbl tbody tr:last-child td{border-bottom:0}
body.zk:not(.no-kit) .tbl tr[onclick],body.zk:not(.no-kit) .tbl tr.zk-row{cursor:pointer}
body.zk:not(.no-kit) .tbl tr[onclick]:hover td,body.zk:not(.no-kit) .tbl tr.zk-row:hover td{background:var(--zk-hover)}
body.zk.zk-paned:not(.no-kit) .tbl tr.zk-sel td{background:var(--zk-sel)}
body.zk:not(.no-kit) .tbl .zk-who{display:flex; align-items:center; gap:10px; min-width:0}
body.zk:not(.no-kit) .tbl .zk-who > div{min-width:0}
body.zk:not(.no-kit) .tbl .zk-who b{display:block; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.zk:not(.no-kit) .tbl .zk-who small{display:block; color:var(--ink-3); font-size:.78rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.zk:not(.no-kit) .tbl tr.zk-gr td{background:var(--raise); font-size:.75rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-3); padding:7px 12px; border-bottom:1px solid var(--line-2)}
body.zk:not(.no-kit) .zk-qa{display:flex; gap:6px; justify-content:flex-end; align-items:center; opacity:0}
body.zk:not(.no-kit) tr:hover .zk-qa,body.zk:not(.no-kit) tr:focus-within .zk-qa,body.zk.zk-paned:not(.no-kit) tr.zk-sel .zk-qa{opacity:1}
@media (hover:none){ body.zk:not(.no-kit) .zk-qa{opacity:1} }
body.zk:not(.no-kit) .zk-foot{display:flex; align-items:center; gap:10px; padding:10px 14px; color:var(--ink-3); font-size:.84rem; border-top:1px solid var(--line-2)}
body.zk:not(.no-kit) .zk-foot .sp{flex:1}

/* tabs: one underline bar */
body.zk:not(.no-kit) .ptabs{display:flex; gap:2px; border-bottom:1px solid var(--line); margin:16px 0; padding:0; background:none; flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; box-shadow:none; border-radius:0}
body.zk:not(.no-kit) .ptabs .tab,body.zk:not(.no-kit) .cxo-seg button{background:none!important; border:0; border-bottom:2px solid transparent; border-radius:0; box-shadow:none; padding:9px 12px; min-height:0; margin-bottom:-1px;
  color:var(--ink-3); font:600 .875rem var(--sans); white-space:nowrap; display:inline-flex; gap:6px; align-items:center}
body.zk:not(.no-kit) .ptabs .tab:hover,body.zk:not(.no-kit) .cxo-seg button:hover{color:var(--ink)}
body.zk:not(.no-kit) .ptabs .tab.on,body.zk:not(.no-kit) .ptabs .tab.on:hover,body.zk:not(.no-kit) .cxo-seg button.on{color:var(--ink)!important; border-bottom-color:var(--blue); background:none!important; box-shadow:none}
body.zk:not(.no-kit) .ptabs .tab b{font-size:.72rem; font-weight:700; color:var(--ink-3); background:none; padding:0; opacity:1}
/* owner, 30 Nov (C-12): counts on tabs, zero included, in the normal secondary ink, not faded */
body.zk:not(.no-kit) .ptabs .tab.on b{color:inherit}
body.zk:not(.no-kit) .cxo-seg{display:flex; background:none; border:0; border-bottom:1px solid var(--line); border-radius:0; padding:0; gap:2px; flex-wrap:nowrap; overflow-x:auto; max-width:100%; scrollbar-width:none}

/* status: dot + word, no pill */
body.zk:not(.no-kit) .pill,body.zk:not(.no-kit) .zk-st{display:inline-flex; align-items:center; gap:6px; padding:0; background:none!important; border:0; box-shadow:none; font-size:.78rem; font-weight:600; white-space:nowrap; color:var(--ink-3); border-radius:0}
body.zk:not(.no-kit) .pill::before,body.zk:not(.no-kit) .zk-st::before{content:""; display:block; width:7px; height:7px; border-radius:50%; background:currentColor; flex:none; position:static; margin:0}
body.zk:not(.no-kit) .pill.ok,body.zk:not(.no-kit) .zk-st.go{color:var(--go-ink)}
body.zk:not(.no-kit) .pill.wait,body.zk:not(.no-kit) .zk-st.warn{color:var(--warn-ink)}
body.zk:not(.no-kit) .pill.stop,body.zk:not(.no-kit) .zk-st.stop{color:var(--stop-ink)}
body.zk:not(.no-kit) .pill.info,body.zk:not(.no-kit) .zk-st.blue{color:var(--blue-ink)}
body.zk:not(.no-kit) .pill.idle,body.zk:not(.no-kit) .zk-st.mute{color:var(--ink-3)}
body.zk:not(.no-kit) .zk-chip{display:inline-flex; align-items:center; gap:5px; height:22px; padding:0 8px; border-radius:6px; font-size:.75rem; font-weight:600; background:var(--sunk); color:var(--ink-2); border:1px solid var(--line-2); white-space:nowrap}

/* avatars (ZK.av): the samples' solid colours */
body.zk .zk-avt{width:28px; height:28px; border-radius:50%; display:inline-grid; place-items:center; font:800 .68rem/1 var(--sans); letter-spacing:.01em; color:#fff; flex:none}
body.zk .zk-avt.l{width:44px; height:44px; font-size:.9rem}
body.zk .zk-avt.xl{width:64px; height:64px; font-size:1.2rem}

/* fields */
body.zk:not(.no-kit) .f > span{font-size:.8rem; font-weight:700; color:var(--ink-2); letter-spacing:0; text-transform:none; font-family:var(--sans)}
body.zk:not(.no-kit) #view input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]),body.zk:not(.no-kit) #view select,body.zk:not(.no-kit) #view textarea,
body.zk:not(.no-kit) #modal input:not([type=checkbox]):not([type=radio]):not([type=file]),body.zk:not(.no-kit) #modal select,body.zk:not(.no-kit) #modal textarea{
  border:1px solid var(--edge); border-radius:var(--zk-r); background:var(--surface); color:var(--ink); box-shadow:none; font-size:14px; font-family:var(--sans)}
body.zk:not(.no-kit) #view input:focus,body.zk:not(.no-kit) #modal input:focus,body.zk:not(.no-kit) #modal textarea:focus,body.zk:not(.no-kit) #view textarea:focus{border-color:var(--blue); box-shadow:0 0 0 3px var(--blue-wash); outline:none}
body.zk:not(.no-kit) .zk-seg button svg{width:16px; height:16px}
body.zk:not(.no-kit) .zk-seg button{display:inline-flex; align-items:center; gap:6px; color:var(--ink-2)}
body.zk:not(.no-kit) .zk-seg{background:var(--sunk); box-shadow:none; border:1px solid var(--line)}
body.zk:not(.no-kit) .zk-seg button.on{background:var(--surface); color:var(--ink); box-shadow:var(--sh-1)}
/* the filter bar: a search box, dashed chips that go solid when set */
body.zk:not(.no-kit) .zk-fbar{display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:12px}
body.zk:not(.no-kit) .zk-fbar .sp{flex:1}
body.zk:not(.no-kit) .zk-fin{height:32px; display:flex; align-items:center; gap:7px; padding:0 10px; border:1px solid var(--line); background:var(--surface); min-width:240px; border-radius:var(--zk-r); color:var(--ink-3)}
body.zk:not(.no-kit) .zk-fin svg{width:16px; height:16px; flex:none}
body.zk:not(.no-kit) #view .zk-fin input{border:0; background:none; box-shadow:none; padding:0; height:30px; min-height:0; width:100%; outline:0}
body.zk:not(.no-kit) .zk-fch{border:1px dashed var(--edge); color:var(--ink-2); background:none; font:600 .82rem var(--sans); border-radius:var(--zk-r); height:32px; padding:0 10px; display:inline-flex; align-items:center; gap:6px; cursor:pointer; white-space:nowrap}
body.zk:not(.no-kit) .zk-fch svg{width:16px; height:16px}
body.zk:not(.no-kit) .zk-fch.on{border-style:solid; border-color:var(--blue); background:var(--blue-wash); color:var(--blue-ink)}

/* pane */
body.zk #mw.side .modal{box-shadow:var(--zk-shadow-pane)}
body.zk:not(.no-kit) #mw .zk-phd{align-items:flex-start}
body.zk:not(.no-kit) #mw .zk-phd .zk-phav{flex:none; margin-right:12px}
body.zk:not(.no-kit) #mw.side .zk-phd h3{font-size:1.05rem; font-weight:700; line-height:1.3}
body.zk:not(.no-kit) #mw.side .zk-phd .msub{font-size:.82rem}
body.zk:not(.no-kit) #mw .mfoot .zk-hint{font-size:.78rem; color:var(--ink-3); line-height:1.3; flex:1 1 0; min-width:120px}
body.zk:not(.no-kit) .zk-dl{display:grid; grid-template-columns:132px minmax(0,1fr); gap:9px 12px; margin:0}
body.zk:not(.no-kit) .zk-dl dt{color:var(--ink-3); font-size:.84rem; font-weight:400}
body.zk:not(.no-kit) .zk-dl dd{margin:0; font-weight:500; overflow-wrap:anywhere}
body.zk:not(.no-kit) .zk-sec{margin:0 0 18px}
body.zk:not(.no-kit) .zk-sec > h4{margin:0 0 8px; font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3)}
body.zk:not(.no-kit) .zk-emptybox{border:1px dashed var(--edge); border-radius:12px; padding:14px; color:var(--ink-3); font-size:.85rem}
body.zk:not(.no-kit) .zk-mlist button{display:flex; align-items:center; gap:10px; width:100%; height:32px; padding:0 10px; border:0; border-radius:6px; background:none; color:var(--ink); font:500 .875rem var(--sans); cursor:pointer; text-align:left}
body.zk:not(.no-kit) .zk-mlist button:hover{background:var(--zk-hover)}
body.zk:not(.no-kit) .zk-mlist svg{width:16px; height:16px; flex:none}
body.zk:not(.no-kit) .zk-mlist svg:last-child:not(:first-child){margin-left:auto; color:var(--ink-4)}
/* stepper inside a pane (ZK.track) */
body.zk:not(.no-kit) .zk-track{display:flex; align-items:flex-start; margin:2px 0 16px}
body.zk:not(.no-kit) .zk-track span{flex:1; display:flex; flex-direction:column; align-items:center; gap:5px; font-size:.72rem; font-weight:600; color:var(--ink-3); position:relative}
body.zk:not(.no-kit) .zk-track span::before{content:""; position:absolute; top:7px; left:-50%; right:50%; height:2px; background:var(--line)}
body.zk:not(.no-kit) .zk-track span:first-child::before{display:none}
body.zk:not(.no-kit) .zk-track span.d::before,body.zk:not(.no-kit) .zk-track span.c::before{background:var(--blue)}
body.zk:not(.no-kit) .zk-track i{width:16px; height:16px; border-radius:50%; border:2px solid var(--line); background:var(--surface); position:relative; z-index:1; display:block}
body.zk:not(.no-kit) .zk-track span.d i{background:var(--blue); border-color:var(--blue)}
body.zk:not(.no-kit) .zk-track span.c i{border-color:var(--blue); box-shadow:0 0 0 3px var(--blue-wash)}
body.zk:not(.no-kit) .zk-track span.c{color:var(--blue-ink)}

/* popover list (ZK.pick) */
body.zk .zk-pick{display:flex; flex-direction:column; min-width:220px; max-width:320px}
body.zk .zk-pick input{height:32px; margin:0 0 6px; padding:0 10px; border:1px solid var(--line); border-radius:6px; background:var(--surface); color:var(--ink); font:inherit; outline:0}
body.zk .zk-pick .ls{max-height:280px; overflow:auto; display:flex; flex-direction:column}
body.zk .zk-pick .ls button{display:flex; align-items:center; gap:8px; min-height:32px; padding:4px 10px; border:0; border-radius:6px; background:none; color:var(--ink); font:500 .875rem var(--sans); cursor:pointer; text-align:left}
body.zk .zk-pick .ls button:hover{background:var(--zk-hover)}
body.zk .zk-pick .ls button.on{background:var(--zk-sel); color:var(--blue-ink); font-weight:700}
body.zk .zk-pick .none{padding:8px 10px; color:var(--ink-3); font-size:.85rem}
@media (min-width:821px){ body.zk:not(.cx) #menuBtn{display:none} }
body.zk:not(.cx) .rail-nav{gap:0}
/* the lead figure on a page is one more flat figure */
body.zk:not(.no-kit) .hero-card.stat{background:var(--surface)!important; background-image:none!important; border:1px solid var(--line)!important; border-radius:16px; box-shadow:var(--sh-1)!important; padding:12px 16px; min-height:0; display:flex; flex-direction:column; gap:2px; color:var(--ink); -webkit-backdrop-filter:none; backdrop-filter:none}
body.zk:not(.no-kit) .hero-card.stat .k{font-size:.75rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-3)}
body.zk:not(.no-kit) .hero-card.stat .v{font-size:1.25rem; font-weight:700; line-height:1.25; color:var(--ink); margin:0}
body.zk:not(.no-kit) .hero-card.stat .c{font-size:.8rem; color:var(--ink-3); margin:0}
body.zk:not(.no-kit) .hero-card.stat::before,body.zk:not(.no-kit) .hero-card.stat::after{display:none}

/* Hiring, as approved (console-samples/hiring.html) */
body.zk:not(.no-kit) .zh-ph{display:flex; align-items:flex-start; flex-wrap:wrap; gap:16px; margin-bottom:16px}
body.zk:not(.no-kit) .zh-ph > div:first-child{flex:1 1 280px; min-width:0}
body.zk:not(.no-kit) .zh-ph > :last-child:not(:first-child){flex-wrap:wrap; max-width:100%}
body.zk:not(.no-kit) .zh-acts,body.zk:not(.no-kit) .zh-jacts{margin-left:auto; display:flex; gap:8px; flex:none}
body.zk:not(.no-kit) .zh{display:grid; grid-template-columns:288px minmax(0,1fr); gap:16px; align-items:start}
body.zk:not(.no-kit) .zh .card{padding:0; overflow:hidden}
body.zk:not(.no-kit) .zh-jtabs{display:flex; gap:2px; padding:0 8px; border-bottom:1px solid var(--line)}
body.zk:not(.no-kit) .zh-jtabs button{background:none; border:0; border-bottom:2px solid transparent; margin-bottom:-1px; padding:9px 12px; color:var(--ink-3); font:600 .875rem var(--sans); cursor:pointer}
body.zk:not(.no-kit) .zh-jtabs button b{font-size:.72rem; font-weight:700; color:var(--ink-3); margin-left:2px}
body.zk:not(.no-kit) .zh-jtabs button.on{color:var(--ink); border-bottom-color:var(--blue)}
body.zk:not(.no-kit) .zh-j{display:block; width:100%; text-align:left; padding:11px 14px; border:0; border-bottom:1px solid var(--line-2); background:none; color:var(--ink); font:inherit; cursor:pointer}
body.zk:not(.no-kit) .zh-j:last-child{border-bottom:0}
body.zk:not(.no-kit) .zh-j:hover{background:var(--zk-hover)}
body.zk:not(.no-kit) .zh-j.on{background:var(--zk-sel); box-shadow:inset 3px 0 0 var(--blue)}
body.zk:not(.no-kit) .zh-j b{display:block; font-weight:700}
body.zk:not(.no-kit) .zh-j small{display:block; color:var(--ink-3); font-size:.78rem; margin-top:1px}
body.zk:not(.no-kit) .zh-j .ln{display:flex; align-items:center; gap:8px; margin-top:6px; font-size:.78rem; color:var(--ink-2)}
body.zk:not(.no-kit) .zh-j .sp{flex:1}
body.zk:not(.no-kit) .zh-j svg{width:16px; height:16px; flex:none}
body.zk:not(.no-kit) .zh-mini{display:flex; gap:2px; width:70px; height:5px; flex:none}
body.zk:not(.no-kit) .zh-mini i{flex:1; border-radius:2px; background:var(--line)}
body.zk:not(.no-kit) .zh-mini i.bl{background:var(--blue)}
body.zk:not(.no-kit) .zh-mini i.gn{background:var(--go)}
body.zk:not(.no-kit) .zh-none{padding:14px; color:var(--ink-3); font-size:.85rem; margin:0}
body.zk:not(.no-kit) .zh-jh{padding:16px 18px 14px; border-bottom:1px solid var(--line-2)}
body.zk:not(.no-kit) .zh-jh .tt{display:flex; align-items:flex-start; gap:12px}
body.zk:not(.no-kit) .zh-tt{min-width:0}
body.zk:not(.no-kit) .zh-jh h2{margin:0; font-size:1.25rem; font-weight:700; letter-spacing:-.01em; line-height:1.3}
body.zk:not(.no-kit) .zh-jh .meta{display:flex; flex-wrap:wrap; gap:6px 14px; margin-top:6px; color:var(--ink-2); font-size:.85rem}
body.zk:not(.no-kit) .zh-jh .meta > span{display:inline-flex; align-items:center; gap:5px}
body.zk:not(.no-kit) .zh-jh .meta svg{width:16px; height:16px}
body.zk:not(.no-kit) .zh-back{display:none; align-items:center; gap:4px; font-size:.82rem; margin-bottom:6px}
body.zk:not(.no-kit) .zh-back svg{width:16px; height:16px}
body.zk:not(.no-kit) .zh-stages{display:grid; grid-template-columns:repeat(5,1fr) auto; border-bottom:1px solid var(--line-2)}
body.zk:not(.no-kit) .zh-stages button{padding:10px 14px; background:none; border:0; border-right:1px solid var(--line-2); display:flex; flex-direction:column; gap:2px; text-align:left; cursor:pointer; font:inherit; min-width:0}
body.zk:not(.no-kit) .zh-stages button:hover{background:var(--zk-hover)}
body.zk:not(.no-kit) .zh-stages b{font-size:1.15rem; font-weight:700; color:var(--ink); line-height:1.3}
body.zk:not(.no-kit) .zh-stages span{font-size:.75rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-3); overflow:hidden; text-overflow:ellipsis}
body.zk:not(.no-kit) .zh-stages .z b{color:var(--ink-4)}
body.zk:not(.no-kit) .zh-stages .on{background:var(--blue-wash); box-shadow:inset 0 -2px 0 var(--blue)}
body.zk:not(.no-kit) .zh-stages .rej{border-right:0; justify-content:center; align-items:flex-end; padding-right:16px}
body.zk:not(.no-kit) .zh-stages .rej span{text-transform:none; letter-spacing:0; font-size:.82rem; font-weight:600; white-space:nowrap}
body.zk:not(.no-kit) .zh-vt{display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:10px 14px}
body.zk:not(.no-kit) .zh-vt .sp{flex:1}
body.zk:not(.no-kit) .zh-vt .zk-fin{min-width:220px}
body.zk:not(.no-kit) .zh-tw{overflow-x:auto}
body.zk:not(.no-kit) .zh-tw .tbl td:last-child{width:1%; white-space:nowrap}
body.zk:not(.no-kit) .zk-band{font-size:.75rem; color:var(--ink-3); font-weight:400}
body.zk:not(.no-kit) .zh-ra{color:var(--ink-3); font-size:.8rem}
body.zk:not(.no-kit) .zh-stars{color:var(--warn); font-size:.85rem; letter-spacing:1px}
body.zk.zk-paned:not(.no-kit) .zh{grid-template-columns:minmax(0,1fr)}
body.zk.zk-paned:not(.no-kit) .zh-jobs,body.zk.zk-paned:not(.no-kit) .zh-rate{display:none}
body.zk.zk-paned:not(.no-kit) .zh-back{display:inline-flex}
@media (max-width:1180px){ body.zk:not(.no-kit) .zh{grid-template-columns:minmax(0,1fr)} }
@media (max-width:760px){ body.zk:not(.no-kit) .zh-jh .tt{flex-direction:column} body.zk:not(.no-kit) .zh-jacts{margin-left:0; flex-wrap:wrap} body.zk:not(.no-kit) .zh-stages{grid-template-columns:repeat(3,1fr)} body.zk:not(.no-kit) .zh-ph{flex-wrap:wrap} body.zk:not(.no-kit) .zh-acts{margin-left:0} }
body.zk:not(.no-kit) .zh-board{display:grid; grid-auto-flow:column; grid-auto-columns:minmax(190px,1fr); gap:10px; padding:0 14px 14px; overflow-x:auto}
body.zk:not(.no-kit) .zh-board h4{margin:0 0 8px; font-size:.72rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-3)}
body.zk:not(.no-kit) .zh-board .col{display:flex; flex-direction:column; gap:8px; min-width:0}
body.zk:not(.no-kit) .zh-cd{display:block; width:100%; text-align:left; padding:10px; background:var(--raise); border:1px solid var(--line); border-radius:12px; color:var(--ink); font:inherit; cursor:pointer}
body.zk:not(.no-kit) .zh-cd:hover{border-color:var(--edge)}
body.zk.zk-paned:not(.no-kit) .zh-cd.zk-sel{background:var(--zk-sel)}
body.zk:not(.no-kit) .zh-cd .zk-who{display:flex; align-items:center; gap:8px; min-width:0}
body.zk:not(.no-kit) .zh-cd .zk-who > div{min-width:0}
body.zk:not(.no-kit) .zh-cd .zk-who b{display:block; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.zk:not(.no-kit) .zh-cd .zk-who small{display:block; font-size:.75rem; color:var(--ink-3)}
body.zk:not(.no-kit) .zh-cd .ln{display:flex; align-items:center; justify-content:space-between; gap:6px; margin-top:8px}
/* candidate pane */
body.zk:not(.no-kit) .zh-iv{padding:10px 12px; border:1px solid var(--line-2); border-radius:12px; margin-bottom:8px}
body.zk:not(.no-kit) .zh-iv .h{display:flex; align-items:center; justify-content:space-between; gap:10px}
body.zk:not(.no-kit) .zh-iv b{font-weight:600}
body.zk:not(.no-kit) .zh-iv small{display:block; color:var(--ink-3); font-size:.78rem; margin:2px 0}
body.zk:not(.no-kit) .zh-iv p{margin:6px 0; color:var(--ink-2)}
body.zk:not(.no-kit) .zh-ol{display:flex; gap:12px; margin-top:8px}
body.zk:not(.no-kit) .zh-note{margin:0; white-space:pre-wrap}
body.zk:not(.no-kit) #hcnNote{width:100%}
body.zk:not(.no-kit) .zh-rej{margin:0 0 16px; color:var(--ink-2)}
/* post to boards */
body.zk:not(.no-kit) .zh-pb{display:flex; align-items:center; gap:12px; padding:10px 0; border-bottom:1px solid var(--line-2)}
body.zk:not(.no-kit) .zh-pb:last-child{border-bottom:0}
body.zk:not(.no-kit) .zh-pb .zk-swrow{flex:1; min-width:0; margin:0}
body.zk:not(.no-kit) .zh-pb a{flex:none; font-size:.82rem}
/* schedule */
body.zk:not(.no-kit) .zh-slots{display:flex; flex-wrap:wrap; gap:6px}
body.zk:not(.no-kit) .zh-slots button{height:30px; padding:0 10px; border-radius:7px; border:1px solid var(--line); background:var(--surface); color:var(--ink); font:600 .82rem var(--sans); cursor:pointer}
body.zk:not(.no-kit) .zh-slots button:hover{background:var(--zk-hover)}
body.zk:not(.no-kit) .zh-slots button.busy:not(.on){color:var(--ink-3, var(--muted)); text-decoration:line-through; text-decoration-color:var(--stop)}
body.zk:not(.no-kit) .zh-slots button.on{background:var(--blue); border-color:var(--blue); color:#fff}
body.zk:not(.no-kit) .zh-other{display:inline-flex; align-items:center; gap:6px; font:600 .82rem var(--sans); color:var(--ink-2)}
body.zk:not(.no-kit) .zh-other span{font:inherit}
body.zk:not(.no-kit) #mw.side .f .zh-other input[type=time]{height:30px; min-height:30px; width:96px; padding:0 8px; border-radius:7px}
body.zk:not(.no-kit) .zh-fixed{padding-right:10px}
body.zk:not(.no-kit) .zh-fixed small{color:var(--ink-3); font-size:.75rem}
/* money field (ZK.money): the rupee sign and Indian digit grouping */
body.zk .zk-money{display:flex; align-items:center; position:relative}
body.zk .zk-money i{position:absolute; left:10px; font-style:normal; color:var(--ink-3); pointer-events:none}
body.zk .zk-money input{padding-left:24px!important; width:100%}
body.zk .zk-menu button svg{width:16px; height:16px; flex:none}
body.zk .zk-menu button.zk-mi{display:flex; align-items:center; gap:8px}
body.zk:not(.cx) .rail-nav .nav-i{margin:0}
body.zk:not(.no-kit) #modal .fgrid{gap:14px 12px}
/* fields in a pane at the approved samples' height (.fld, docs/design/console-samples) */
body.zk:not(.no-kit) #mw.side .f input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),body.zk:not(.no-kit) #mw.side .f select,
body.zk #epWiz .f input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),body.zk #epWiz .f select{height:36px; min-height:36px; padding:0 11px; font-size:.9rem; border-width:1px; border-radius:8px}
body.zk:not(.no-kit) #mw.side .f textarea,body.zk #epWiz .f textarea{padding:8px 11px; font-size:.9rem; border-width:1px; border-radius:8px; min-height:72px}
body.zk:not(.no-kit) #mw.side .f > span,body.zk #epWiz .f > span{font-size:.8rem; font-weight:700; color:var(--ink-2)}
body.zk:not(.no-kit) #modal .f .zk-seg{align-self:flex-start; width:auto; display:inline-flex}
body.zk:not(.no-kit) #modal .zk-swrow b{font-weight:700}
body.zk:not(.no-kit) #modal .zk-swrow small{display:block; color:var(--ink-3); font-size:.78rem; font-weight:400}
/* date field (ZK.dateField) */
body.zk .zk-dfld{position:relative; display:block}
body.zk .zk-dfld input{width:100%; color:transparent!important; background-image:none!important}
body.zk .zk-dfld input::-webkit-datetime-edit{opacity:0}
body.zk .zk-dfld input::-webkit-calendar-picker-indicator{opacity:0}
body.zk .zk-dshow{position:absolute; inset:0; display:flex; align-items:center; gap:8px; padding:0 10px; pointer-events:none; color:var(--ink); font-size:14px}
body.zk .zk-dshow svg{width:16px; height:16px; color:var(--ink-3); flex:none}
body.zk .zk-dshow span{flex:1; min-width:0}
/* too narrow to push: below 1180px the pane lies over the page */
@media (max-width:1180px){ body.zk.zk-paned:not(.cx) #main{padding-right:0!important} }
@media (max-width:1180px){ body.zk.zk-paned:not(.cx) #main .topbar{margin-right:0} }

/* ═══════════  MONEY (4 Nov) — Payroll, Accounts, Filings: docs/design/console-samples/payroll.html  ═══════════
   Scoped to .zm-*: a card with one heading, the vertical pay-run steps, the summary card. */
body.zk:not(.no-kit) .zm-card{background:var(--surface); border:1px solid var(--line); border-radius:16px; box-shadow:var(--sh-1); margin-bottom:16px; overflow:hidden}
body.zk:not(.no-kit) .zm-card > .hd{display:flex; align-items:center; gap:12px; padding:12px 16px; border-bottom:1px solid var(--line-2); flex-wrap:wrap}
body.zk:not(.no-kit) .zm-card > .hd .tt{flex:1 1 280px; min-width:0}
body.zk:not(.no-kit) .zm-card > .hd h3{margin:0; font-size:.95rem; font-weight:700; color:var(--ink)}
body.zk:not(.no-kit) .zm-card > .hd p{margin:2px 0 0; color:var(--ink-3); font-size:.84rem}
body.zk:not(.no-kit) .zm-card > .hd .r{display:flex; gap:8px; align-items:center; flex-wrap:wrap}
body.zk:not(.no-kit) .zm-pad{padding:14px 16px}
body.zk:not(.no-kit) .zm-p{margin:0; color:var(--ink-2); font-size:.875rem}
body.zk:not(.no-kit) .zm-mut,body.zk:not(.no-kit) .zm-hint{color:var(--ink-3); font-size:.84rem}
body.zk:not(.no-kit) .zm-mono{font-family:ui-monospace,Consolas,monospace; font-size:.78rem}
body.zk:not(.no-kit) .zm-note{display:flex; align-items:center; gap:10px; padding:10px 14px; margin-bottom:12px; border:1px solid var(--line); border-radius:12px; background:var(--surface); color:var(--ink-2); font-size:.86rem}
body.zk:not(.no-kit) .zm-note svg{width:16px; height:16px; color:var(--warn-ink); flex:none}
body.zk:not(.no-kit) .zm-note span{flex:1; min-width:0}
body.zk:not(.no-kit) .zm-locked{display:flex; align-items:center; gap:10px; padding:14px; border:1px dashed var(--edge); border-radius:12px; color:var(--ink-3); font-size:.875rem; background:var(--surface)}
body.zk:not(.no-kit) .zm-locked svg{width:16px; height:16px; flex:none}
body.zk:not(.no-kit) .zm-err{margin:0 0 10px; color:var(--stop-ink); font-size:.86rem; font-weight:600}
/* tables in a card: the card is the edge */
body.zk:not(.no-kit) .zm-tw{overflow-x:auto}
body.zk:not(.no-kit) .zm-tw:not(.flat){background:var(--surface); border:1px solid var(--line); border-radius:16px}
body.zk:not(.no-kit) .tbl th.zm-r,body.zk:not(.no-kit) .tbl td.zm-r{text-align:right}
body.zk:not(.no-kit) .zm-tw td.num{white-space:nowrap}
body.zk:not(.no-kit) .zm-sub{display:block; color:var(--ink-3); font-size:.78rem; font-weight:400}
body.zk:not(.no-kit) .zm-tw .tbl td b{font-weight:600}
body.zk:not(.no-kit) .tbl tr.zm-total td{font-weight:800; background:var(--raise); border-top:1px solid var(--line)}
body.zk:not(.no-kit) .tbl tr.zm-none td{padding:14px 16px}
body.zk:not(.no-kit) .tbl td.zm-ic{width:32px; padding-right:0; color:var(--ink-3)}
body.zk:not(.no-kit) .tbl td.zm-ic svg,body.zk:not(.no-kit) .tbl td.zm-chev svg{width:16px; height:16px; display:block}
body.zk:not(.no-kit) .tbl td.zm-chev{width:32px; color:var(--ink-4)}
body.zk:not(.no-kit) .zm-pin .tbl th:first-child,body.zk:not(.no-kit) .zm-pin .tbl td:first-child{position:sticky; left:0; z-index:1; background:var(--surface)}
body.zk:not(.no-kit) .zm-pin .tbl th:first-child{background:var(--raise)}
body.zk:not(.no-kit) .zm-pin .tbl tr.zm-total td:first-child{background:var(--raise)}
/* the pay run: steps left, summary right */
body.zk:not(.no-kit) .zm-pr{display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:16px; align-items:start}
body.zk.zk-paned:not(.no-kit) .zm-pr{grid-template-columns:minmax(0,1fr)}
body.zk.zk-paned:not(.no-kit) .zm-side{display:none}
@media (max-width:1120px){ body.zk:not(.no-kit) .zm-pr{grid-template-columns:minmax(0,1fr)} }
body.zk:not(.no-kit) .zm-pr .zm-card{margin-bottom:0}
body.zk:not(.no-kit) .zm-steps{list-style:none; margin:0; padding:0}
body.zk:not(.no-kit) .zm-steps > li{display:grid; grid-template-columns:28px minmax(0,1fr) auto; gap:4px 14px; align-items:center; padding:14px 18px; border-bottom:1px solid var(--line-2)}
body.zk:not(.no-kit) .zm-steps > li:last-child{border-bottom:0}
body.zk:not(.no-kit) .zm-steps .n{width:28px; height:28px; border-radius:50%; display:grid; place-items:center; font-weight:800; font-size:.8rem; border:2px solid var(--line); color:var(--ink-3); background:var(--surface)}
body.zk:not(.no-kit) .zm-steps .n svg{width:16px; height:16px; stroke-width:2.2}
body.zk:not(.no-kit) .zm-steps li.d .n{background:var(--go); border-color:var(--go); color:#fff}
body.zk:not(.no-kit) .zm-steps li.c .n{border-color:var(--blue); color:var(--blue-ink); box-shadow:0 0 0 4px var(--blue-wash)}
body.zk:not(.no-kit) .zm-steps h3{margin:0; font-size:.98rem; font-weight:700; color:var(--ink)}
body.zk:not(.no-kit) .zm-steps li.d h3{color:var(--ink-2); font-weight:600}
body.zk:not(.no-kit) .zm-steps .sub{grid-column:2; color:var(--ink-3); font-size:.84rem; margin-top:-2px}
body.zk:not(.no-kit) .zm-steps li.c{background:linear-gradient(var(--blue-wash),transparent 70px)}
body.zk:not(.no-kit) .zm-steps .zm-sr{display:flex; gap:8px; align-items:center; white-space:nowrap}
body.zk:not(.no-kit) .zm-steps .open{grid-column:2 / 4; margin-top:12px}
body.zk:not(.no-kit) .zm-acts{display:flex; gap:8px}
body.zk:not(.no-kit) .zm-whol{display:flex; align-items:center; gap:8px; color:var(--ink-3); font-size:.84rem}
body.zk:not(.no-kit) .zm-whol .zk-avt{width:20px; height:20px; font-size:.55rem}
body.zk:not(.no-kit) .zm-do{display:grid; grid-template-columns:32px minmax(0,1fr) auto; gap:12px; align-items:center; padding:14px; border:1px solid var(--line); border-radius:12px; background:var(--surface); margin-bottom:10px}
body.zk:not(.no-kit) .zm-do .k{width:32px; height:32px; border-radius:50%; display:grid; place-items:center; background:var(--blue-soft); color:var(--blue-ink); font-weight:800; font-size:.82rem}
body.zk:not(.no-kit) .zm-do .k svg{width:16px; height:16px}
body.zk:not(.no-kit) .zm-do.dn .k{background:var(--go-soft); color:var(--go-ink)}
body.zk:not(.no-kit) .zm-do.warn .k{background:var(--warn-soft); color:var(--warn-ink)}
body.zk:not(.no-kit) .zm-do b{display:block; font-weight:700; color:var(--ink)}
body.zk:not(.no-kit) .zm-do small{display:block; color:var(--ink-3); font-size:.82rem; margin-top:1px}
body.zk:not(.no-kit) .zm-do small.zm-warn{color:var(--warn-ink); margin-top:6px}
body.zk:not(.no-kit) .zm-do .ac{display:flex; align-items:center; justify-content:flex-end}
body.zk:not(.no-kit) .zm-do .hint{color:var(--ink-3); font-size:.8rem}
@media (max-width:640px){ body.zk:not(.no-kit) .zm-do{grid-template-columns:32px minmax(0,1fr); padding:12px} body.zk:not(.no-kit) .zm-do .ac{grid-column:2; justify-content:flex-start} }
body.zk:not(.no-kit) .zm-file{display:inline-flex; align-items:center; gap:6px; margin-top:6px; font:600 .78rem ui-monospace,Consolas,monospace; color:var(--ink-2); background:var(--sunk); border:1px solid var(--line-2); padding:3px 8px; border-radius:6px; max-width:100%; overflow-wrap:anywhere}
body.zk:not(.no-kit) .zm-file svg{width:16px; height:16px; flex:none}
body.zk:not(.no-kit) .zm-stats{margin:0}
body.zk:not(.no-kit) .zm-stat{padding:14px 16px; border-bottom:1px solid var(--line-2)}
body.zk:not(.no-kit) .zm-stat[onclick]{cursor:pointer}
body.zk:not(.no-kit) .zm-stat[onclick]:hover,body.zk:not(.no-kit) .zm-lines[onclick]:hover{background:var(--zk-hover)}
body.zk:not(.no-kit) .zm-stat dt{color:var(--ink-3); font-size:.8rem; font-weight:600}
body.zk:not(.no-kit) .zm-stat dd{margin:2px 0 0; font-size:1.35rem; font-weight:800; letter-spacing:-.015em; color:var(--ink)}
body.zk:not(.no-kit) .zm-stat dd.zm-sm{font-size:1.1rem}
body.zk:not(.no-kit) .zm-stat .vs{font-size:.78rem; font-weight:600; color:var(--ink-3); margin-top:2px}
body.zk:not(.no-kit) .zm-stat .vs b{font-weight:700}
body.zk:not(.no-kit) .zm-up{color:var(--warn-ink)}
body.zk:not(.no-kit) .zm-dn{color:var(--go-ink)}
body.zk:not(.no-kit) .zm-lines{display:grid; grid-template-columns:1fr auto; gap:7px 12px; padding:14px 16px; font-size:.86rem}
body.zk:not(.no-kit) .zm-lines[onclick]{cursor:pointer}
body.zk:not(.no-kit) .zm-lines span{color:var(--ink-2)}
body.zk:not(.no-kit) .zm-lines b{text-align:right; font-weight:600; color:var(--ink)}
body.zk:not(.no-kit) .zm-lines .tt{border-top:1px solid var(--line-2); padding-top:7px; font-weight:800; color:var(--ink)}
body.zk:not(.no-kit) .zm-due{display:flex; align-items:center; gap:10px; padding:10px 16px; border-top:1px solid var(--line-2); font-size:.84rem; color:var(--ink-2)}
body.zk:not(.no-kit) .zm-due svg{width:16px; height:16px; flex:none}
body.zk:not(.no-kit) .zm-due .sp{flex:1}
body.zk:not(.no-kit) .zm-flock{display:inline-flex; align-items:center; gap:4px; color:var(--ink-3); font-weight:600; cursor:not-allowed}
body.zk:not(.no-kit) .zm-flock svg{width:13px; height:13px}
/* people in a pane */
body.zk:not(.no-kit) .zm-plist{display:flex; flex-direction:column}
body.zk:not(.no-kit) .zm-plist > button,body.zk:not(.no-kit) .zm-plist > .row{display:flex; align-items:center; gap:10px; width:100%; padding:7px 8px; border:0; border-radius:8px; background:none; color:var(--ink); font:inherit; text-align:left}
body.zk:not(.no-kit) .zm-plist > button{cursor:pointer}
body.zk:not(.no-kit) .zm-plist > button:hover{background:var(--zk-hover)}
body.zk:not(.no-kit) .zm-plist > button > svg{width:16px; height:16px; color:var(--ink-4); flex:none}
body.zk:not(.no-kit) .zm-plist .nm{flex:1; min-width:0}
body.zk:not(.no-kit) .zm-plist .nm b{display:block; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.zk:not(.no-kit) .zm-plist .nm small{display:block; color:var(--ink-3); font-size:.78rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.zk:not(.no-kit) .zm-plist .amt{font-weight:700; font-size:.86rem}
body.zk:not(.no-kit) .zm-ol{margin:0; padding-left:20px; list-style:decimal; color:var(--ink-2); font-size:.875rem}
body.zk:not(.no-kit) .zm-ol li{margin-bottom:6px; display:list-item}
body.zk:not(.no-kit) .zm-2{display:grid; grid-template-columns:1fr 1fr; gap:10px}
body.zk:not(.no-kit) .zm-form{display:grid; grid-template-columns:1fr 1fr; gap:12px}
body.zk:not(.no-kit) .zm-form .full{grid-column:1 / -1}
body.zk:not(.no-kit) .zm-prev{margin-top:12px; padding:12px 14px; border-radius:12px; background:var(--sunk); color:var(--ink-2); font-size:.86rem}
body.zk:not(.no-kit) .zm-fb{display:flex; align-items:center; gap:8px; flex-wrap:wrap; border-bottom:1px solid var(--line-2)}
body.zk:not(.no-kit) .zm-trio{display:grid; grid-template-columns:repeat(3,minmax(0,1fr))}
body.zk:not(.no-kit) .zm-trio > div{padding:14px 16px; border-right:1px solid var(--line-2)}
body.zk:not(.no-kit) .zm-trio > div:last-child{border-right:0}
body.zk:not(.no-kit) .zm-trio b{display:block; font-size:1.1rem; font-weight:800; color:var(--ink)}
body.zk:not(.no-kit) .zm-trio span{color:var(--ink-3); font-size:.8rem}
body.zk:not(.no-kit) .zm-upl{cursor:pointer}
body.zk:not(.no-kit) .zm-inl{margin:0; display:flex; align-items:center; gap:8px}
body.zk:not(.no-kit) .zm-inl input{width:auto}
body.zk:not(.no-kit) .zm-studio{padding:20px 24px 32px}
body.zk:not(.no-kit) .zm-stack{display:grid; gap:16px; min-width:0}
body.zk:not(.no-kit) .zm-pr .zm-stack .zm-card{margin:0}
html.zk-studio-on body.zk #mw{z-index:75}
/* ═══════════  TIME & LEAVE (src/console/57-time-*.js, 23-shifts.js)  ═══════════
   Scoped pieces on the approved system: Hiring's strip of figures, the dot
   calendar, the roster grid, settings rows. Nothing here restyles a shared class. */
body.zk:not(.no-kit){--tl-s0:#5B6CF0; --tl-s1:#0E8F8F; --tl-s2:#D6407C; --tl-s3:#8A6A3B; --tl-s4:#7A4FD8; --tl-s5:#E0663F; --tl-lv:#7A4FD8; --tl-hol:#F0801F}
body.zk:not(.no-kit) .tl-card{padding:0; overflow:hidden; margin-top:12px}
body.zk:not(.no-kit) .tl-card[hidden],body.zk:not(.no-kit) .tl-pa[hidden],body.zk:not(.no-kit) [data-acc][hidden]{display:none!important}
body.zk:not(.no-kit) .tl-card > .zk-fbar,body.zk:not(.no-kit) #lvMineBar{padding:12px 14px; margin:0; border-bottom:1px solid var(--line-2)}
body.zk:not(.no-kit) .tl-pa{display:contents}
body.zk:not(.no-kit) .tl-pad{padding:14px}
body.zk:not(.no-kit) .tl-scroll{overflow-x:auto}
body.zk:not(.no-kit) .tl-t{min-width:0}
body.zk:not(.no-kit) .tl-t td .tl-sm,body.zk:not(.no-kit) .tl-sm{display:block; color:var(--ink-3); font-size:.78rem; font-weight:400; margin:2px 0 0}
body.zk:not(.no-kit) .tl-nw{white-space:nowrap}
body.zk:not(.no-kit) .tl-t .r{text-align:right}
body.zk:not(.no-kit) .tl-chev{width:1%; white-space:nowrap; text-align:right; color:var(--ink-4)}
body.zk:not(.no-kit) .tl-chev > svg{width:16px; height:16px; display:inline-block; vertical-align:middle}
body.zk:not(.no-kit) .tl-fnote{color:var(--ink-3); font-size:.84rem}
body.zk:not(.no-kit) .tl-fnote svg{width:14px; height:14px; vertical-align:-2px}
body.zk:not(.no-kit) .tl-chead{padding:12px 14px; color:var(--ink-2); font-size:.88rem; font-weight:600; border-bottom:1px solid var(--line-2)}
body.zk:not(.no-kit) .tl-reg{margin-left:6px}
body.zk:not(.no-kit) .tl-p{margin:0; color:var(--ink); line-height:1.5; white-space:pre-wrap; overflow-wrap:anywhere}
body.zk:not(.no-kit) .tl-ul{margin:0; padding-left:18px; color:var(--ink); list-style:disc}
body.zk:not(.no-kit) .tl-ul li{margin:2px 0}
body.zk:not(.no-kit) .tl-mt{margin-top:10px}
body.zk:not(.no-kit) .tl-note{margin-top:8px}
/* the columns that give way first: wide tables at the narrowest widths and beside the pane */
@media (max-width:1279px){ body.zk:not(.no-kit) .tl-xl{display:none} }
@media (max-width:1100px){ body.zk:not(.no-kit) .tl-wide{display:none} }
@media (max-width:1440px){ body.zk.zk-paned:not(.no-kit) .tl-wide,body.zk.zk-paned:not(.no-kit) .tl-xl{display:none} }

/* beside the pane: two filter chips and the ones in use, as in the samples */
body.zk.zk-paned:not(.no-kit) .tl-card .zk-fch[data-chip]:not(.on):nth-of-type(n+3){display:none}
/* the strip of figures that filter the list (the Hiring sample's stages) */
body.zk:not(.no-kit) .tl-strip{display:grid; grid-template-columns:repeat(auto-fit,minmax(96px,1fr)); border-bottom:1px solid var(--line-2)}
body.zk:not(.no-kit) .tl-strip button{appearance:none; border:0; background:none; text-align:left; padding:10px 14px; display:flex; flex-direction:column; gap:2px; cursor:pointer; border-right:1px solid var(--line-2); font:inherit; min-width:0}
body.zk:not(.no-kit) .tl-strip button:last-child{border-right:0}
body.zk:not(.no-kit) .tl-strip button:hover{background:var(--zk-hover)}
body.zk:not(.no-kit) .tl-strip button:disabled{cursor:default; background:none}
body.zk:not(.no-kit) .tl-strip b{font-size:1.15rem; color:var(--ink); font-weight:700; line-height:1.25}
body.zk:not(.no-kit) .tl-strip span{font-size:.75rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-3); overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.zk:not(.no-kit) .tl-strip .z b{color:var(--ink-4)}
body.zk:not(.no-kit) .tl-strip .on{background:var(--blue-wash); box-shadow:inset 0 -2px 0 var(--blue)}
body.zk:not(.no-kit) .tl-strip .on:hover{background:var(--blue-wash)}

/* a date or month as a button; the real input is inside it, out of sight */
body.zk:not(.no-kit) .tl-pb{position:relative; cursor:pointer; display:inline-flex; align-items:center; gap:6px; white-space:nowrap}
body.zk:not(.no-kit) .tl-pb svg{width:16px; height:16px}
body.zk:not(.no-kit) .tl-pb input{position:absolute; left:0; top:0; width:100%; height:100%; opacity:0; pointer-events:none; padding:0; margin:0; border:0; min-height:0}

/* dots: one meaning each, on the status colours; shifts and leave have their own */
body.zk:not(.no-kit) .tl-dot{display:inline-block; width:8px; height:8px; border-radius:50%; background:var(--ink-4); flex:none}
body.zk:not(.no-kit) .tl-dot.go{background:var(--go)} body.zk:not(.no-kit) .tl-dot.warn{background:var(--warn)} body.zk:not(.no-kit) .tl-dot.stop{background:var(--stop)}
body.zk:not(.no-kit) .tl-dot.blue{background:var(--blue)} body.zk:not(.no-kit) .tl-dot.lv{background:var(--tl-lv)} body.zk:not(.no-kit) .tl-dot.mute{background:var(--ink-4)} body.zk:not(.no-kit) .tl-dot.hol{background:var(--tl-hol)}
body.zk:not(.no-kit) .tl-dot.none{background:none; box-shadow:inset 0 0 0 1.5px var(--edge)}
body.zk:not(.no-kit) .tl-dot.s0{background:var(--tl-s0)} body.zk:not(.no-kit) .tl-dot.s1{background:var(--tl-s1)} body.zk:not(.no-kit) .tl-dot.s2{background:var(--tl-s2)}
body.zk:not(.no-kit) .tl-dot.s3{background:var(--tl-s3)} body.zk:not(.no-kit) .tl-dot.s4{background:var(--tl-s4)} body.zk:not(.no-kit) .tl-dot.s5{background:var(--tl-s5)}
body.zk:not(.no-kit) .tl-dot.ring{outline:1.5px solid var(--ink-2); outline-offset:1.5px}
body.zk:not(.no-kit) .tl-legend{display:flex; flex-wrap:wrap; gap:6px 14px; padding:10px 14px; color:var(--ink-3); font-size:.8rem}
body.zk:not(.no-kit) .tl-legend span{display:inline-flex; align-items:center; gap:6px; white-space:nowrap}
body.zk:not(.no-kit) .zk-sec .tl-legend,body.zk:not(.no-kit) .tl-pad .tl-legend{padding:10px 0 0}

/* the calendar: dots, never filled cells */
body.zk:not(.no-kit) .tl-mh{display:flex; align-items:center; gap:8px; margin-bottom:8px}
body.zk:not(.no-kit) .tl-mh b{font-weight:700; color:var(--ink); min-width:0}
body.zk:not(.no-kit) .tl-mh .tl-this{margin-left:auto}
body.zk:not(.no-kit) .tl-g{display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:2px}
body.zk:not(.no-kit) .tl-g .h{font-size:.72rem; font-weight:700; color:var(--ink-3); text-align:center; padding:4px 0}
body.zk:not(.no-kit) .tl-g .d{appearance:none; border:0; background:none; border-radius:8px; padding:4px 2px; min-height:40px; display:flex; flex-direction:column; align-items:center; gap:3px; cursor:pointer; color:var(--ink); font:inherit; min-width:0}
body.zk:not(.no-kit) .tl-g .d:hover:not(:disabled){background:var(--zk-hover)}
body.zk:not(.no-kit) .tl-g .d:disabled{cursor:default; color:var(--ink-4)}
body.zk:not(.no-kit) .tl-g .d .n{font-size:.84rem; font-weight:500; width:24px; height:24px; line-height:24px; border-radius:50%; text-align:center}
body.zk:not(.no-kit) .tl-g .d .ds{display:flex; gap:2px; min-height:8px; align-items:center; justify-content:center}
body.zk:not(.no-kit) .tl-g .d .ds .tl-dot{width:6px; height:6px}
body.zk:not(.no-kit) .tl-g .d.w{color:var(--ink-3)}
body.zk:not(.no-kit) .tl-g .d.t .n{color:var(--blue-ink); font-weight:800}
body.zk:not(.no-kit) .tl-g .d.s .n{background:var(--blue); color:#fff; font-weight:700}
body.zk:not(.no-kit) .tl-cal.big .tl-g .d{min-height:72px; padding:6px 4px; align-items:flex-start; border:1px solid var(--line-2)}
body.zk:not(.no-kit) .tl-cal.big .tl-g .d .ds{justify-content:flex-start; padding-left:4px}
body.zk:not(.no-kit) .tl-cal.big .tl-g .d .l{font-size:.72rem; color:var(--ink-3); text-align:left; padding-left:4px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:100%}
body.zk:not(.no-kit) .tl-calcard{padding:14px; min-width:0}
body.zk:not(.no-kit) .tl-two{display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:12px; margin-top:12px; align-items:start}
@media (min-width:1600px){ body.zk:not(.no-kit) .tl-two{grid-template-columns:minmax(0,1fr) 340px} }
body.zk.zk-paned:not(.no-kit) .tl-two{grid-template-columns:minmax(0,1fr)}
/* a phone or narrow window: the side summary goes under the calendar (sweep 9 Nov) */
@media (max-width:900px){ body.zk:not(.no-kit) .tl-two{grid-template-columns:minmax(0,1fr)} }
/* too narrow for the word without cutting it: the dot, the legend and the day's pane say it */
@media (max-width:1279px){ body.zk:not(.no-kit) .tl-cal.big .tl-g .d{min-height:56px} body.zk:not(.no-kit) .tl-cal.big .tl-g .d .l{display:none} }
@media (max-width:1100px){ body.zk:not(.no-kit) .tl-card > .zk-fbar .zk-fin{width:170px; min-width:0; flex:0 1 170px} }
body.zk:not(.no-kit) .tl-side{padding:0; overflow:hidden}
body.zk:not(.no-kit) .tl-sideb{padding:14px; border-bottom:1px solid var(--line-2)}
body.zk:not(.no-kit) .tl-sideb:last-child{border-bottom:0}
body.zk:not(.no-kit) .tl-sideb h4{margin:0 0 8px; font-size:.75rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-3)}
body.zk:not(.no-kit) .tl-big{font-size:1.6rem; font-weight:700; color:var(--ink); letter-spacing:-.01em; margin-top:6px}
body.zk:not(.no-kit) .tl-links .zk-mlist{margin:-4px 0}

/* the roster: a month grid of shift codes. The names, the dates and the day
   counts stay put; the grid scrolls inside its own card both ways */
body.zk:not(.no-kit) .tl-ros{overflow:auto; max-height:max(420px, calc(100vh - 300px)); overscroll-behavior:contain}
body.zk:not(.no-kit) .tl-ros table{border-collapse:separate; border-spacing:0; width:100%; font-size:.84rem}
body.zk:not(.no-kit) .tl-ros th{font-weight:600; color:var(--ink-3); padding:5px 0; text-align:center; background:var(--raise); border-bottom:1px solid var(--line-2); min-width:30px}
body.zk:not(.no-kit) .tl-ros thead th,body.zk:not(.no-kit) .tl-ros thead td{position:sticky; z-index:2}
body.zk:not(.no-kit) .tl-ros thead tr.rs-days > *{top:0; height:40px; box-sizing:border-box}
body.zk:not(.no-kit) .tl-ros thead tr.rs-sum > *{top:calc(40px + var(--rs-i, 0) * 24px)}
body.zk:not(.no-kit) .tl-ros thead tr.rs-sum:nth-child(3) > *{--rs-i:1} body.zk:not(.no-kit) .tl-ros thead tr.rs-sum:nth-child(4) > *{--rs-i:2}
body.zk:not(.no-kit) .tl-ros thead tr.rs-sum:nth-child(5) > *{--rs-i:3} body.zk:not(.no-kit) .tl-ros thead tr.rs-sum:nth-child(6) > *{--rs-i:4}
body.zk:not(.no-kit) .tl-ros thead tr.rs-sum:nth-child(7) > *{--rs-i:5} body.zk:not(.no-kit) .tl-ros thead tr.rs-sum:nth-child(8) > *{--rs-i:6}
body.zk:not(.no-kit) .tl-ros thead tr.rs-sum:nth-child(9) > *{--rs-i:7}
body.zk:not(.no-kit) .tl-ros th b{display:block; font-size:.8rem; color:var(--ink-2); font-weight:700; margin:0 auto}
body.zk:not(.no-kit) .tl-ros th span{display:block; font-size:.64rem; font-weight:600; letter-spacing:.02em}
body.zk:not(.no-kit) .tl-ros th.w b,body.zk:not(.no-kit) .tl-ros th.w span{color:var(--ink-4)}
body.zk:not(.no-kit) .tl-ros th.h b,body.zk:not(.no-kit) .tl-ros th.h span{color:var(--tl-hol)}
body.zk:not(.no-kit) .tl-ros th.t b{display:grid; place-items:center; width:max-content; min-width:22px; height:20px; padding:0 4px; border-radius:10px; background:var(--blue); color:#fff; font-weight:800}
body.zk:not(.no-kit) .tl-ros th.t span{color:var(--blue-ink)}
body.zk:not(.no-kit) .tl-ros td{padding:0; text-align:center; border-bottom:1px solid var(--line-2); background:var(--surface)}
body.zk:not(.no-kit) .tl-ros .w{background:color-mix(in srgb, var(--raise) 50%, var(--sunk))}
body.zk:not(.no-kit) .tl-ros .h{background:color-mix(in srgb, var(--tl-hol) 9%, var(--surface))}
body.zk:not(.no-kit) .tl-ros td.t{background:color-mix(in srgb, var(--blue) 7%, var(--surface))}
body.zk:not(.no-kit) .tl-ros .t{box-shadow:inset 1px 0 0 color-mix(in srgb, var(--blue) 45%, transparent), inset -1px 0 0 color-mix(in srgb, var(--blue) 45%, transparent)}
body.zk:not(.no-kit) .tl-ros .wk{border-left:1.5px solid var(--line)}
body.zk:not(.no-kit) .tl-ros tbody tr:last-child > *{border-bottom:0}
body.zk:not(.no-kit) .tl-ros .n{position:sticky; left:0; z-index:3; background:var(--surface); text-align:left; min-width:170px; max-width:200px; padding:0 8px 0 14px; border-right:1px solid var(--line-2)}
body.zk:not(.no-kit) .tl-ros thead .n{z-index:4; background:var(--raise)}
body.zk:not(.no-kit) .tl-ros thead tr.rs-days th.n{font-size:.72rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; padding-left:14px}
body.zk:not(.no-kit) .tl-ros .e{min-width:44px; padding:0 6px; border-left:1px solid var(--line-2); font-weight:700; color:var(--ink); font-size:.8rem}
body.zk:not(.no-kit) .tl-ros th.e{font-size:.66rem; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-3)}
body.zk:not(.no-kit) .tl-ros td.e.z2{color:var(--ink-3); font-weight:600}
/* the per-day counts under the dates */
body.zk:not(.no-kit) .tl-ros tr.rs-sum > *{height:24px; padding:0; font-size:.72rem; font-weight:600; color:var(--ink-2); border-bottom:0; background:var(--raise); box-sizing:border-box}
body.zk:not(.no-kit) .tl-ros tr.rs-sum:last-child > *{border-bottom:1px solid var(--line)}
body.zk:not(.no-kit) .tl-ros tr.rs-sum th.n{text-align:left; padding-left:14px; font-weight:600; color:var(--ink-2); font-size:.74rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
body.zk:not(.no-kit) .tl-ros tr.rs-sum th.n .rs-p{min-width:22px; height:16px; font-size:.6rem; margin-right:6px; vertical-align:-3px}
body.zk:not(.no-kit) .tl-ros tr.rs-sum .z{color:var(--ink-4)}
body.zk:not(.no-kit) .tl-ros tr.rs-sum .w,body.zk:not(.no-kit) .tl-ros tr.rs-sum .h{background:color-mix(in srgb, var(--raise) 50%, var(--sunk))}
body.zk:not(.no-kit) .tl-ros tr.rs-sum .t{background:color-mix(in srgb, var(--blue) 7%, var(--raise))}
/* a department's band */
body.zk:not(.no-kit) .tl-ros tr.rs-grp > *{background:var(--sunk); border-bottom:1px solid var(--line-2); height:26px; padding:0}
body.zk:not(.no-kit) .tl-ros tr.rs-grp th.n{background:var(--sunk); padding-left:14px; font-size:.72rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-2)}
body.zk:not(.no-kit) .tl-ros tr.rs-grp th.n small{font-weight:600; color:var(--ink-3); margin-left:4px}
body.zk:not(.no-kit) .tl-rname{appearance:none; border:0; background:none; display:flex; align-items:center; gap:8px; padding:4px 0; width:100%; cursor:pointer; color:var(--ink); font:600 .82rem var(--sans); text-align:left; min-width:0}
body.zk:not(.no-kit) .tl-rname span:last-child{overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.zk:not(.no-kit) .tl-rname:hover span:last-child{color:var(--blue-ink); text-decoration:underline}
body.zk:not(.no-kit) .tl-ros .c{appearance:none; border:0; background:none; display:flex; align-items:center; justify-content:center; width:100%; height:34px; padding:0; cursor:pointer}
body.zk:not(.no-kit) .tl-ros span.c{cursor:default}
body.zk:not(.no-kit) .tl-ros button.c:hover{background:var(--zk-hover)}
body.zk:not(.no-kit) .tl-ros button.c:focus-visible{outline:2px solid var(--blue); outline-offset:-2px; border-radius:6px}
/* a day: the shift's code in its own colour, Off quiet, leave and holidays marked */
body.zk:not(.no-kit) .rs-p{--rs:var(--ink-4); position:relative; display:inline-grid; place-items:center; min-width:24px; height:20px; padding:0 4px; box-sizing:border-box; border-radius:6px; font:700 .68rem/1 var(--sans); font-style:normal; letter-spacing:.01em;
  color:color-mix(in srgb, var(--rs) 78%, var(--ink)); background:color-mix(in srgb, var(--rs) 15%, var(--surface)); box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--rs) 32%, transparent)}
body.zk:not(.no-kit) .rs-p.s0{--rs:var(--tl-s0)} body.zk:not(.no-kit) .rs-p.s1{--rs:var(--tl-s1)} body.zk:not(.no-kit) .rs-p.s2{--rs:var(--tl-s2)}
body.zk:not(.no-kit) .rs-p.s3{--rs:var(--tl-s3)} body.zk:not(.no-kit) .rs-p.s4{--rs:var(--tl-s4)} body.zk:not(.no-kit) .rs-p.s5{--rs:var(--tl-s5)}
body.zk:not(.no-kit) .rs-p.off{background:none; box-shadow:none; color:var(--ink-4); font-weight:600; font-size:.62rem}
body.zk:not(.no-kit) .rs-p.none{background:none; box-shadow:none; color:var(--ink-4)}
body.zk:not(.no-kit) .rs-p.lv{--rs:var(--leave); background:repeating-linear-gradient(135deg, color-mix(in srgb, var(--rs) 20%, var(--surface)) 0 3px, color-mix(in srgb, var(--rs) 8%, var(--surface)) 3px 6px)}
body.zk:not(.no-kit) .rs-p.hol{--rs:var(--tl-hol)}
/* changed on the roster: a corner flag on the code */
body.zk:not(.no-kit) .rs-p.rs-ch::after{content:""; position:absolute; top:-3px; right:-3px; width:7px; height:7px; border-radius:50%; background:var(--ink); box-shadow:0 0 0 1.5px var(--surface)}
/* the key: what each code means and how many days of it this month */
body.zk:not(.no-kit) .rs-key{display:flex; flex-wrap:wrap; align-items:center; gap:6px; padding:10px 14px; border-bottom:1px solid var(--line-2)}
body.zk:not(.no-kit) .rs-k{display:inline-flex; align-items:center; gap:7px; padding:4px 10px 4px 5px; border-radius:999px; background:var(--raise); border:1px solid var(--line-2); font-size:.78rem; color:var(--ink)}
body.zk:not(.no-kit) .rs-k b{font-weight:600}
body.zk:not(.no-kit) .rs-k small{color:var(--ink-3); font-size:.72rem}
body.zk:not(.no-kit) .rs-k em{font-style:normal; font-weight:700; color:var(--ink-2); padding-left:7px; border-left:1px solid var(--line)}
body.zk:not(.no-kit) .rs-kn{margin-left:auto; font-size:.74rem; color:var(--ink-3)}

/* a person's list and history in a pane */
body.zk:not(.no-kit) .tl-plist{display:flex; flex-direction:column}
body.zk:not(.no-kit) .tl-plist .r{appearance:none; border:0; border-bottom:1px solid var(--line-2); background:none; width:100%; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 0; text-align:left; font:inherit; color:var(--ink); min-width:0}
body.zk:not(.no-kit) .tl-plist button.r{cursor:pointer}
body.zk:not(.no-kit) .tl-plist button.r:hover{background:var(--zk-hover)}
body.zk:not(.no-kit) .tl-plist .r:last-child{border-bottom:0}
body.zk:not(.no-kit) .tl-plist .zk-who{display:flex; align-items:center; gap:10px; min-width:0}
body.zk:not(.no-kit) .tl-plist .zk-who > div{min-width:0}
body.zk:not(.no-kit) .tl-plist .zk-who b{display:block; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.zk:not(.no-kit) .tl-plist .zk-who small{display:block; color:var(--ink-3); font-size:.78rem}
body.zk:not(.no-kit) .tl-hist{display:flex; flex-direction:column; gap:10px}
body.zk:not(.no-kit) .tl-hist > div{display:flex; gap:10px; align-items:flex-start}
body.zk:not(.no-kit) .tl-hist .tl-dot{margin-top:6px}
body.zk:not(.no-kit) .tl-hist b{font-weight:600; color:var(--ink)}
body.zk:not(.no-kit) .tl-hist small{display:block; color:var(--ink-3); font-size:.8rem}

/* forms in the pane */
body.zk:not(.no-kit) .tl-row2{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px}
body.zk:not(.no-kit) .tl-err{margin:10px 0 0; color:var(--stop-ink); font-size:.86rem; font-weight:600}
body.zk:not(.no-kit) .tl-err[hidden]{display:none}
body.zk:not(.no-kit) .tl-wk{display:flex; flex-wrap:wrap; gap:6px}
body.zk:not(.no-kit) .tl-wk label{display:inline-flex; cursor:pointer; margin:0}
body.zk:not(.no-kit) .tl-wk input{position:absolute; opacity:0; width:0; height:0; min-height:0}
body.zk:not(.no-kit) .tl-wk span{height:30px; display:inline-flex; align-items:center; padding:0 10px; border-radius:var(--zk-r); border:1px solid var(--edge); color:var(--ink-2); font-size:.82rem; font-weight:600}
body.zk:not(.no-kit) .tl-wk input:checked + span{border-color:var(--blue); background:var(--blue-wash); color:var(--blue-ink)}
body.zk:not(.no-kit) .tl-wk input:focus-visible + span{box-shadow:0 0 0 3px var(--blue-wash)}
body.zk:not(.no-kit) .tl-rcs{display:flex; flex-direction:column; gap:6px}
body.zk:not(.no-kit) .tl-rc{display:block; cursor:pointer; margin:0}
body.zk:not(.no-kit) .tl-rc input{position:absolute; opacity:0; width:0; height:0; min-height:0}
body.zk:not(.no-kit) .tl-rc .b{display:flex; align-items:center; gap:10px; padding:9px 12px; border:1px solid var(--edge); border-radius:var(--zk-r)}
body.zk:not(.no-kit) .tl-rc .b b{display:block; font-weight:600; color:var(--ink)}
body.zk:not(.no-kit) .tl-rc .b small{display:block; color:var(--ink-3); font-size:.8rem}
body.zk:not(.no-kit) .tl-rc:hover .b{background:var(--zk-hover)}
body.zk:not(.no-kit) .tl-rc input:checked + .b{border-color:var(--blue); background:var(--blue-wash); box-shadow:inset 0 0 0 1px var(--blue)}
body.zk:not(.no-kit) .tl-rc input:focus-visible + .b{box-shadow:0 0 0 3px var(--blue-wash)}

/* settings rows (overtime pay) */
body.zk:not(.no-kit) .tl-setwrap{max-width:760px}
body.zk:not(.no-kit) .tl-lead{margin:0 0 10px; color:var(--ink-2)}
body.zk:not(.no-kit) .tl-set{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 0; border-top:1px solid var(--line-2)}
body.zk:not(.no-kit) .tl-set b{display:block; font-weight:600; color:var(--ink)}
body.zk:not(.no-kit) .tl-set small{display:block; color:var(--ink-3); font-size:.8rem}
body.zk:not(.no-kit) .tl-setc{display:flex; align-items:center; gap:6px; flex:none}
body.zk:not(.no-kit) .tl-setc input{width:84px; text-align:right}
body.zk:not(.no-kit) .tl-unit{color:var(--ink-3); font-size:.84rem; width:40px}
body.zk:not(.no-kit) .tl-why{margin:0 0 12px}
body.zk:not(.no-kit) .tl-why[hidden],body.zk:not(.no-kit) .tl-savebar[hidden]{display:none}
body.zk:not(.no-kit) .tl-savebar{display:flex; align-items:center; gap:8px; padding:10px 14px; border-top:1px solid var(--line-2); background:var(--raise); color:var(--ink-3); font-size:.84rem}
body.zk:not(.no-kit) .tl-savebar .sp{flex:1}
body.zk:not(.no-kit) .tl-warn,body.zk:not(.no-kit) .tl-lockn{display:flex; gap:8px; align-items:flex-start; margin:0 0 10px; font-size:.88rem}
body.zk:not(.no-kit) .tl-warn{color:var(--stop-ink)}
body.zk:not(.no-kit) .tl-lockn{color:var(--ink-3)}
body.zk:not(.no-kit) .tl-warn svg,body.zk:not(.no-kit) .tl-lockn svg{width:16px; height:16px; flex:none; margin-top:2px}
body.zk:not(.no-kit) .tl-mx{margin:10px 14px}
body.zk:not(.no-kit) .zm-form input[type=month]{min-height:46px}

/* ═══════════  ADMIN PAGES (4 Nov) — IT, owner and platform: src/console/58-*.js  ═══════════
   Built from the samples' parts; scoped to .za-*. */
body.zk:not(.no-kit) .za-figs{display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); background:var(--surface); border:1px solid var(--line); border-radius:16px; box-shadow:var(--sh-1); margin-bottom:16px; overflow:hidden}
body.zk:not(.no-kit) .za-fig{display:flex; flex-direction:column; gap:2px; align-items:flex-start; text-align:left; min-width:0; padding:14px 16px; border:0; border-right:1px solid var(--line-2); border-bottom:1px solid var(--line-2); margin:0 -1px -1px 0; background:none; color:var(--ink); font:inherit; cursor:pointer; height:auto}
body.zk:not(.no-kit) button.za-fig:hover{background:var(--zk-hover)}
body.zk:not(.no-kit) button.za-fig:focus-visible{outline:2px solid var(--blue); outline-offset:-2px}
body.zk:not(.no-kit) .za-fig .k{color:var(--ink-3); font-size:.8rem; font-weight:600}
body.zk:not(.no-kit) .za-fig b{font-size:1.35rem; font-weight:800; letter-spacing:-.015em; line-height:1.25; overflow-wrap:anywhere}
body.zk:not(.no-kit) .za-fig small{color:var(--ink-3); font-size:.78rem; font-weight:600; line-height:1.35}
body.zk:not(.no-kit) .za-fig.za-sk{cursor:default; gap:8px}
body.zk:not(.no-kit) .za-good{color:var(--go-ink); font-weight:700}
body.zk:not(.no-kit) .za-bad{color:var(--stop-ink); font-weight:700}
body.zk:not(.no-kit) .za-card{background:var(--surface); border:1px solid var(--line); border-radius:16px; box-shadow:var(--sh-1); margin-bottom:16px; overflow:hidden; min-width:0}
body.zk:not(.no-kit) .za-card > .hd{display:flex; align-items:center; gap:12px; padding:12px 16px; border-bottom:1px solid var(--line-2); flex-wrap:wrap}
body.zk:not(.no-kit) .za-card > .hd .tt{flex:1 1 220px; min-width:0}
body.zk:not(.no-kit) .za-card > .hd h3{margin:0; font-size:.95rem; font-weight:700; color:var(--ink)}
body.zk:not(.no-kit) .za-card > .hd p{margin:2px 0 0; color:var(--ink-3); font-size:.84rem}
body.zk:not(.no-kit) .za-card > .hd .r{display:flex; gap:8px; align-items:center}
body.zk:not(.no-kit) .za-pad{padding:14px 16px}
body.zk:not(.no-kit) .za-chart{padding:12px 16px 14px}
/* main column and the Payroll summary card on the right */
body.zk:not(.no-kit) .za-pr{display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:16px; align-items:start}
body.zk:not(.no-kit) .za-pr > *{min-width:0}
body.zk.zk-paned:not(.no-kit) .za-pr{grid-template-columns:minmax(0,1fr)}
@media (max-width:1120px){ body.zk:not(.no-kit) .za-pr{grid-template-columns:minmax(0,1fr)} }
/* two cards side by side when there is room */
body.zk:not(.no-kit) .za-two{display:grid; grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr)); gap:16px; align-items:start}
body.zk:not(.no-kit) .za-two > *{min-width:0}
body.zk.zk-paned:not(.no-kit) .za-two{grid-template-columns:minmax(0,1fr)}
/* a row that opens something */
body.zk:not(.no-kit) .za-li{display:flex; align-items:center; gap:12px; width:100%; min-height:48px; height:auto; padding:9px 16px; border:0; border-bottom:1px solid var(--line-2); border-radius:0; background:none; color:var(--ink); font:inherit; text-align:left; cursor:pointer}
body.zk:not(.no-kit) .za-li:last-child{border-bottom:0}
body.zk:not(.no-kit) .za-li:hover{background:var(--zk-hover)}
body.zk:not(.no-kit) .za-li:focus-visible{outline:2px solid var(--blue); outline-offset:-2px}
body.zk:not(.no-kit) .za-li > svg:first-child{width:16px; height:16px; flex:none; color:var(--ink-3)}
body.zk:not(.no-kit) .za-li .tx{flex:1; min-width:0}
body.zk:not(.no-kit) .za-li .tx b{display:block; font-weight:600}
body.zk:not(.no-kit) .za-li .tx small{display:block; color:var(--ink-3); font-size:.8rem; margin-top:1px}
body.zk:not(.no-kit) .za-li .v{font-weight:700; white-space:nowrap}
body.zk:not(.no-kit) .za-li .za-ch{width:16px; height:16px; flex:none; color:var(--ink-4)}
body.zk:not(.no-kit) .za-li .zk-st{flex:none}
/* summary card */
body.zk:not(.no-kit) .za-top{display:flex; flex-direction:column; gap:2px; align-items:flex-start; width:100%; height:auto; padding:14px 16px; text-align:left; border:0; border-radius:0; background:none; color:var(--ink); font:inherit}
body.zk:not(.no-kit) button.za-top{cursor:pointer}
body.zk:not(.no-kit) button.za-top:hover{background:var(--zk-hover)}
body.zk:not(.no-kit) .za-top .k{color:var(--ink-3); font-size:.8rem; font-weight:600}
body.zk:not(.no-kit) .za-top b{font-size:1.35rem; font-weight:800; letter-spacing:-.015em; overflow-wrap:anywhere}
body.zk:not(.no-kit) .za-top small{color:var(--ink-3); font-size:.78rem; font-weight:600}
body.zk:not(.no-kit) .za-lines{padding:6px 0; border-top:1px solid var(--line-2)}
body.zk:not(.no-kit) .za-ln{display:flex; justify-content:space-between; align-items:baseline; gap:12px; width:100%; height:auto; padding:6px 16px; border:0; border-radius:0; background:none; color:var(--ink); font:inherit; font-size:.875rem; text-align:left}
body.zk:not(.no-kit) button.za-ln{cursor:pointer}
body.zk:not(.no-kit) button.za-ln:hover{background:var(--zk-hover)}
body.zk:not(.no-kit) .za-ln .k{color:var(--ink-2); min-width:0}
body.zk:not(.no-kit) .za-ln .v{font-weight:600; white-space:nowrap}
body.zk:not(.no-kit) .za-ln.tot .k,body.zk:not(.no-kit) .za-ln.tot .v{font-weight:800; color:var(--ink)}
/* tables */
body.zk:not(.no-kit) .za-tw{overflow-x:auto; background:var(--surface); border:1px solid var(--line); border-radius:16px; margin-bottom:16px}
body.zk:not(.no-kit) .za-tw.flat{border:0; border-radius:0; margin:0; background:none}
body.zk:not(.no-kit) .za-tw .tbl td b{font-weight:600}
body.zk:not(.no-kit) .tbl th.za-r,body.zk:not(.no-kit) .tbl td.za-r{text-align:right}
body.zk:not(.no-kit) .tbl td.za-qc,body.zk:not(.no-kit) .tbl th.za-qc{width:1%; white-space:nowrap}
body.zk:not(.no-kit) .tbl tr.za-none td{padding:14px 16px}
body.zk:not(.no-kit) .tbl tr.za-total td{font-weight:800; background:var(--raise); border-top:1px solid var(--line)}
body.zk:not(.no-kit) .za-nm{min-width:0}
body.zk:not(.no-kit) .za-nm b{display:block; font-weight:600; overflow:hidden; text-overflow:ellipsis}
body.zk:not(.no-kit) .za-nm small{display:block; color:var(--ink-3); font-size:.78rem; overflow:hidden; text-overflow:ellipsis}
body.zk:not(.no-kit) .za-clip{max-width:320px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--ink-2)}
body.zk:not(.no-kit) .za-nowrap{white-space:nowrap}
body.zk:not(.no-kit) .za-bar{display:block; height:6px; border-radius:3px; background:var(--line); overflow:hidden; min-width:60px}
body.zk:not(.no-kit) .za-bar i{display:block; height:100%; border-radius:3px; background:var(--blue)}
/* words */
body.zk:not(.no-kit) .za-mut{color:var(--ink-3)}
body.zk:not(.no-kit) .za-p{margin:0; color:var(--ink-2); font-size:.875rem; line-height:1.5}
body.zk:not(.no-kit) .za-mb{margin-bottom:14px}
body.zk:not(.no-kit) .za-mono{font-family:ui-monospace,Consolas,monospace; font-size:.8rem; overflow-wrap:anywhere}
body.zk:not(.no-kit) .za-pre{white-space:pre-wrap; overflow-wrap:anywhere}
body.zk:not(.no-kit) .za-locked{display:flex; align-items:center; gap:10px; padding:14px; border:1px dashed var(--edge); border-radius:12px; color:var(--ink-3); font-size:.875rem}
body.zk:not(.no-kit) .za-locked svg{width:16px; height:16px; flex:none}
body.zk:not(.no-kit) .za-err{margin:6px 0 0; color:var(--stop-ink); font-size:.82rem; font-weight:600}
body.zk:not(.no-kit) .za-err:empty{display:none}
/* rows inside a pane */
body.zk:not(.no-kit) .za-prow{display:flex; align-items:center; gap:12px; padding:8px 0; border-bottom:1px solid var(--line-2)}
body.zk:not(.no-kit) .za-prow:last-child{border-bottom:0}
body.zk:not(.no-kit) .za-prow .tx{flex:1; min-width:0}
body.zk:not(.no-kit) .za-prow .tx b{display:block; font-weight:600; overflow-wrap:anywhere}
body.zk:not(.no-kit) .za-prow .tx small{display:block; color:var(--ink-3); font-size:.78rem}
body.zk:not(.no-kit) .za-prow .v{font-weight:600; white-space:nowrap; font-size:.875rem}
body.zk:not(.no-kit) .za-figs + .za-pr, body.zk:not(.no-kit) .za-figs + .za-two{margin-top:0}
@media (max-width:760px){ body.zk:not(.no-kit) .za-two{grid-template-columns:minmax(0,1fr)} body.zk:not(.no-kit) .zk-fbar .zk-fin{min-width:0; flex:1 1 100%} }

/* ═══════════  SELF-SERVICE (src/console/58-self-*.js)  ═══════════
   Employee and manager pages in the samples' manner. Scoped to .sl-*; the table,
   strip, chips and side card come from the kit and the Time & leave block. */
/* headline figures, each a link to the list behind it (the Dashboard pattern) */
body.zk:not(.no-kit) .sl-figs{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); padding:0; overflow:hidden; margin-bottom:16px}
body.zk:not(.no-kit) .sl-figs > button,body.zk:not(.no-kit) .sl-figs > div{appearance:none; border:0; border-right:1px solid var(--line-2); background:none; text-align:left; padding:12px 16px; font:inherit; color:var(--ink); min-width:0; display:flex; flex-direction:column; gap:2px}
body.zk:not(.no-kit) .sl-figs > button{cursor:pointer}
body.zk:not(.no-kit) .sl-figs > button:hover{background:var(--zk-hover)}
body.zk:not(.no-kit) .sl-figs > :last-child{border-right:0}
body.zk:not(.no-kit) .sl-figs .k{color:var(--ink-3); font-size:.82rem; font-weight:600}
body.zk:not(.no-kit) .sl-figs .v{font-size:1.25rem; font-weight:700; line-height:1.3; color:var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.zk:not(.no-kit) .sl-figs .c{color:var(--ink-3); font-size:.8rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.zk.zk-paned:not(.no-kit) .sl-figs{grid-template-columns:repeat(2,minmax(0,1fr))}
body.zk.zk-paned:not(.no-kit) .sl-figs > :nth-child(2n){border-right:0}
body.zk.zk-paned:not(.no-kit) .sl-figs > :nth-child(-n+2){border-bottom:1px solid var(--line-2)}
@media (max-width:1180px){ body.zk:not(.no-kit) .sl-figs{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.zk:not(.no-kit) .sl-figs > :nth-child(2n){border-right:0}
  body.zk:not(.no-kit) .sl-figs > :nth-child(-n+2){border-bottom:1px solid var(--line-2)} }
/* a page's main column and side card (Payroll's), and a pair of equal cards */
body.zk:not(.no-kit) .sl-two{display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:16px; align-items:start; margin-top:16px}
body.zk:not(.no-kit) .sl-pair{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:16px; align-items:start; margin-top:16px}
body.zk:not(.no-kit) .sl-main{min-width:0}
body.zk:not(.no-kit) .sl-side{min-width:0; display:flex; flex-direction:column; gap:16px}
body.zk:not(.no-kit) .sl-two .zm-card,body.zk:not(.no-kit) .sl-pair .zm-card{margin-bottom:0}
body.zk:not(.no-kit) .sl-main > .zm-card + .zm-card,body.zk:not(.no-kit) .sl-main > .zk-card + .zm-card{margin-top:16px}
body.zk.zk-paned:not(.no-kit) .sl-two,body.zk.zk-paned:not(.no-kit) .sl-pair{grid-template-columns:minmax(0,1fr)}
@media (max-width:1120px){ body.zk:not(.no-kit) .sl-two,body.zk:not(.no-kit) .sl-pair{grid-template-columns:minmax(0,1fr)} }
/* the side card's lead figure */
body.zk:not(.no-kit) .sl-lead{appearance:none; display:block; width:100%; border:0; border-bottom:1px solid var(--line-2); background:none; text-align:left; padding:14px 16px; font:inherit; color:var(--ink)}
body.zk:not(.no-kit) button.sl-lead{cursor:pointer}
body.zk:not(.no-kit) button.sl-lead:hover{background:var(--zk-hover)}
body.zk:not(.no-kit) .sl-lead:last-child{border-bottom:0}
body.zk:not(.no-kit) .sl-lead .k{display:block; color:var(--ink-3); font-size:.82rem; font-weight:600}
body.zk:not(.no-kit) .sl-lead .v{display:block; font-size:1.35rem; font-weight:700; line-height:1.3; margin:2px 0}
body.zk:not(.no-kit) .sl-lead .c{display:block; color:var(--ink-3); font-size:.8rem}
/* rows in a card: an icon or avatar, two lines, a word or a date, a chevron */
body.zk:not(.no-kit) .sl-rows{display:flex; flex-direction:column}
body.zk:not(.no-kit) .sl-r{appearance:none; width:100%; display:flex; align-items:center; gap:12px; min-height:48px; padding:8px 16px; border:0; border-bottom:1px solid var(--line-2); background:none; text-align:left; font:inherit; color:var(--ink)}
body.zk:not(.no-kit) .sl-r:last-child{border-bottom:0}
body.zk:not(.no-kit) button.sl-r{cursor:pointer}
body.zk:not(.no-kit) button.sl-r:hover{background:var(--zk-hover)}
body.zk:not(.no-kit) .sl-r .tx{flex:1; min-width:0}
body.zk:not(.no-kit) .sl-r .tx b{display:block; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.zk:not(.no-kit) .sl-r .tx small{display:block; color:var(--ink-3); font-size:.78rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.zk:not(.no-kit) .sl-r .m{flex:none; color:var(--ink-3); font-size:.82rem; white-space:nowrap}
body.zk:not(.no-kit) .sl-r > svg{width:16px; height:16px; flex:none; color:var(--ink-3)}
body.zk:not(.no-kit) .sl-ic{width:32px; height:32px; border-radius:9px; display:grid; place-items:center; background:var(--blue-soft); color:var(--blue-ink); flex:none}
body.zk:not(.no-kit) .sl-ic svg{width:17px; height:17px}
body.zk:not(.no-kit) .sl-ic.warn{background:var(--warn-soft); color:var(--warn-ink)}
body.zk:not(.no-kit) .sl-ic.stop{background:var(--stop-soft); color:var(--stop-ink)}
body.zk:not(.no-kit) .sl-ic.go{background:var(--go-soft); color:var(--go-ink)}
/* the settings pattern: name + one line | control */
body.zk:not(.no-kit) .sl-set{display:flex; align-items:center; gap:16px; padding:14px 16px; border-bottom:1px solid var(--line-2)}
body.zk:not(.no-kit) .sl-set:last-child{border-bottom:0}
body.zk:not(.no-kit) .sl-set .tx{flex:1; min-width:0}
body.zk:not(.no-kit) .sl-set .tx b{display:block; font-weight:600}
body.zk:not(.no-kit) .sl-set .tx small{display:block; color:var(--ink-3); font-size:.84rem; margin-top:2px}
body.zk:not(.no-kit) .sl-set .ct{display:flex; gap:8px; align-items:center; flex:none; flex-wrap:wrap; justify-content:flex-end}
/* small pieces */
body.zk:not(.no-kit) .sl-pad{padding:14px 16px}
body.zk:not(.no-kit) .sl-sm{color:var(--ink-3); font-size:.8rem; font-weight:400}
body.zk:not(.no-kit) .sl-empty{padding:14px}
body.zk:not(.no-kit) .sl-t td b.t{display:block; font-weight:600}
body.zk:not(.no-kit) .sl-t td .zk-st{white-space:normal}
/* a narrow table (a pane open, a small window, zoomed in): the buttons always show, stacked,
   and if it still can't fit they stay in view while the rest scrolls */
body.zk:not(.no-kit) .tl-scroll:has(> .sl-t){container-type:inline-size}
@container (max-width:760px){
  body.zk:not(.no-kit) .sl-t .zk-secondary{display:none}
  body.zk:not(.no-kit) .sl-t th,body.zk:not(.no-kit) .sl-t td{padding-left:8px; padding-right:8px}
  body.zk:not(.no-kit) .sl-t .zk-qa{display:flex!important; flex-direction:column; align-items:stretch; gap:4px; opacity:1!important; visibility:visible!important; pointer-events:auto!important}
  body.zk:not(.no-kit) .sl-t .tl-chev:has(.zk-qa){position:sticky; right:0; background:var(--surface); box-shadow:-10px 0 10px -10px rgba(20,24,40,.22)}
  body.zk:not(.no-kit) .sl-t tr.zk-sel .tl-chev:has(.zk-qa){background:color-mix(in srgb, var(--blue) 10%, var(--surface))}
}
/* a phone: the row is a card, so its buttons sit side by side under it (sweep 9 Nov) */
@media (max-width:640px){ body.zk:not(.no-kit) .sl-t .tl-chev:has(.zk-qa){position:static; background:none; box-shadow:none; width:auto; text-align:left} body.zk:not(.no-kit) .sl-t .zk-qa{flex-direction:row!important; justify-content:flex-start; flex-wrap:wrap; gap:8px} }
body.zk:not(.no-kit) .sl-t td small{display:block; color:var(--ink-3); font-size:.78rem}
body.zk:not(.no-kit) .sl-t .r{text-align:right}
body.zk:not(.no-kit) .sl-hint{margin:10px 2px 0; color:var(--ink-3); font-size:.84rem}
body.zk:not(.no-kit) .sl-qa{display:grid; grid-template-columns:repeat(2,minmax(0,1fr))}
body.zk:not(.no-kit) .sl-qa .sl-r{border-right:1px solid var(--line-2)}
body.zk:not(.no-kit) .sl-qa .sl-r:nth-child(2n){border-right:0}
body.zk:not(.no-kit) .sl-qa .sl-r:nth-last-child(-n+2){border-bottom:0}
body.zk:not(.no-kit) .sl-gr td{background:var(--sunk); font-size:.8rem; font-weight:700; color:var(--ink-2); padding-top:6px; padding-bottom:6px}
/* a pane's read-only text, a person's header, a comment, a survey question */
body.zk:not(.no-kit) .sl-body{white-space:pre-wrap; line-height:1.6; overflow-wrap:anywhere}
body.zk:not(.no-kit) .sl-phd{display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px; padding:4px 0 14px; margin-bottom:14px; border-bottom:1px solid var(--line-2)}
body.zk:not(.no-kit) .sl-phd h2{margin:6px 0 0; font-size:1.15rem; font-weight:700}
body.zk:not(.no-kit) .sl-phd p{margin:0; color:var(--ink-3); font-size:.86rem}
body.zk:not(.no-kit) .sl-phd .acts{display:flex; gap:8px; margin-top:8px; flex-wrap:wrap; justify-content:center}
body.zk:not(.no-kit) .sl-cmt{padding:10px 0; border-bottom:1px solid var(--line-2)}
body.zk:not(.no-kit) .sl-cmt:last-child{border-bottom:0}
body.zk:not(.no-kit) .sl-cmt b{font-weight:600}
body.zk:not(.no-kit) .sl-cmt p{margin:2px 0 0; white-space:pre-wrap; overflow-wrap:anywhere}
body.zk:not(.no-kit) .sl-q{margin:0 0 18px}
body.zk:not(.no-kit) .sl-q > b{display:block; font-weight:600; margin-bottom:8px}
body.zk:not(.no-kit) .sl-scale{display:flex; gap:6px; flex-wrap:wrap}
body.zk:not(.no-kit) .sl-scale button{min-width:34px; height:32px; padding:0 8px; border-radius:7px; border:1px solid var(--line); background:var(--surface); color:var(--ink); font:600 .84rem var(--sans); cursor:pointer}
body.zk:not(.no-kit) .sl-scale button:hover{background:var(--zk-hover)}
body.zk:not(.no-kit) .sl-scale button.on{background:var(--blue); border-color:var(--blue); color:#fff}
body.zk:not(.no-kit) .sl-ends{display:flex; justify-content:space-between; font-size:.75rem; color:var(--ink-3); margin-top:4px}
body.zk:not(.no-kit) .sl-opt{display:flex; align-items:center; gap:8px; padding:4px 0; cursor:pointer}
body.zk:not(.no-kit) .sl-mods .sl-r{padding-left:0; padding-right:0}
body.zk:not(.no-kit) .sl-num{width:24px; height:24px; border-radius:50%; display:grid; place-items:center; flex:none; font:700 .75rem var(--sans); box-shadow:inset 0 0 0 1.5px var(--edge); color:var(--ink-2)}
body.zk:not(.no-kit) .sl-num.ok{background:var(--go); color:#fff; box-shadow:none}
body.zk:not(.no-kit) .sl-num.ok svg{width:14px; height:14px}
body.zk:not(.no-kit) .sl-bar{height:6px; border-radius:99px; background:var(--sunk); overflow:hidden; margin:8px 0}
body.zk:not(.no-kit) .sl-bar i{display:block; height:100%; background:var(--blue)}
body.zk:not(.no-kit) .sl-bar i.go{background:var(--go)}
body.zk:not(.no-kit) .sl-frame{height:60vh; border:1px solid var(--line); border-radius:12px; overflow:hidden}
body.zk:not(.no-kit) .sl-frame iframe{width:100%; height:100%; border:0}
/* the regime cards on Tax declarations */
body.zk:not(.no-kit) .sl-regs{display:grid; grid-template-columns:1fr 1fr}
body.zk:not(.no-kit) .sl-reg{display:flex; flex-direction:column; gap:2px; padding:14px 16px; min-width:0}
body.zk:not(.no-kit) .sl-regs > .sl-reg:first-child{border-right:1px solid var(--line-2)}
body.zk:not(.no-kit) .sl-reg .h{display:flex; align-items:center; gap:8px; color:var(--ink-3); font-size:.82rem; font-weight:600}
body.zk:not(.no-kit) .sl-reg .h .sp{flex:1}
body.zk:not(.no-kit) .sl-reg .v{font-size:1.25rem; font-weight:700}
body.zk:not(.no-kit) .sl-reg .c{color:var(--ink-3); font-size:.8rem}
body.zk:not(.no-kit) .sl-reg .btn{align-self:flex-start; margin-top:8px}
/* an org chart under the directory's filter bar */
body.zk:not(.no-kit) .sl-org{padding:18px 16px; display:flex; flex-direction:column; align-items:center; gap:10px}
body.zk:not(.no-kit) .sl-org .lvl{display:flex; flex-wrap:wrap; justify-content:center; gap:10px; width:100%}
body.zk:not(.no-kit) .sl-org .ln{width:1px; height:16px; background:var(--edge)}
body.zk:not(.no-kit) .sl-org .nm{appearance:none; display:flex; align-items:center; gap:10px; padding:8px 12px; min-width:200px; max-width:280px; border:1px solid var(--line); border-radius:12px; background:var(--surface); color:var(--ink); text-align:left; font:inherit; cursor:pointer}
body.zk:not(.no-kit) .sl-org .nm:hover{background:var(--zk-hover)}
body.zk:not(.no-kit) .sl-org .nm.on{border-color:var(--blue); box-shadow:0 0 0 3px var(--blue-wash)}
body.zk:not(.no-kit) .sl-org .nm b{display:block; font-weight:600}
body.zk:not(.no-kit) .sl-org .nm small{display:block; color:var(--ink-3); font-size:.78rem}
body.zk:not(.no-kit) .sl-org .cap{font-size:.75rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-3)}
body.zk:not(.no-kit) .za-pad0{padding:8px 16px}
body.zk:not(.no-kit) .za-okic{width:16px; height:16px; flex:none; color:var(--go-ink)}
body.zk:not(.no-kit) .zk-foot .za-okic{color:var(--ink-3)}
/* >>> TALENT & COMPANY */
/* TALENT & COMPANY (4 Nov): Performance, Benefits, Surveys, Labour codes, Privacy, Retention, Background checks, Audit log, Company setup. src/console/58-co-*.js */
body.zk:not(.no-kit) .zo-sel{display:block; position:relative; min-width:0}
body.zk:not(.no-kit) .zo-selb{display:flex; align-items:center; gap:8px; width:100%; min-height:40px; padding:0 10px; text-align:left; background:var(--surface); border:1px solid var(--edge); border-radius:10px; color:var(--ink); font:inherit; font-size:14px; cursor:pointer}
body.zk:not(.no-kit) .zo-selb:hover{border-color:var(--ink-4)}
body.zk:not(.no-kit) .zo-selb:focus-visible{outline:2px solid var(--blue); outline-offset:1px}
body.zk:not(.no-kit) .zo-selb:disabled{opacity:.6; cursor:not-allowed}
body.zk:not(.no-kit) .zo-selb span{flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.zk:not(.no-kit) .zo-selb.none span{color:var(--ink-3)}
body.zk:not(.no-kit) .zo-selb svg{width:15px; height:15px; color:var(--ink-3); flex:none}
body.zk:not(.no-kit) .zo-ln{display:flex; align-items:center; gap:12px; padding:10px 0; border-bottom:1px solid var(--line-2)}
body.zk:not(.no-kit) .zo-ln:last-child{border-bottom:0}
body.zk:not(.no-kit) .zo-ln .tx{flex:1; min-width:0}
body.zk:not(.no-kit) .zo-ln .tx b{display:block; font-weight:600; color:var(--ink); font-size:.875rem; overflow-wrap:anywhere}
body.zk:not(.no-kit) .zo-ln .tx small{display:block; color:var(--ink-3); font-size:.78rem; margin-top:2px; overflow-wrap:anywhere}
body.zk:not(.no-kit) .zo-ln .r{flex:none; white-space:nowrap; font-size:.875rem}
body.zk:not(.no-kit) .zo-locked{display:flex; align-items:center; gap:10px; padding:12px 14px; border:1px dashed var(--edge); border-radius:12px; color:var(--ink-3); font-size:.875rem; margin:10px 0}
body.zk:not(.no-kit) .zo-locked svg{width:16px; height:16px; flex:none}
body.zk:not(.no-kit) .zo-note{margin:10px 0; color:var(--ink-3); font-size:.84rem; line-height:1.5}
body.zk:not(.no-kit) .zo-para{margin:0; font-size:.875rem; line-height:1.55; color:var(--ink-2); white-space:pre-wrap; overflow-wrap:anywhere}
body.zk:not(.no-kit) .zo-para.mute{color:var(--ink-3)}
body.zk:not(.no-kit) .zo-set{display:grid; grid-template-columns:220px minmax(0,1fr); gap:16px; margin-top:16px; align-items:start}
body.zk:not(.no-kit) .zo-main{min-width:0}
body.zk:not(.no-kit) .zo-nav{background:var(--surface); border:1px solid var(--edge); border-radius:14px; padding:6px; display:flex; flex-direction:column; gap:2px; position:sticky; top:72px}
body.zk:not(.no-kit) .zo-nav button{appearance:none; border:0; background:none; display:flex; align-items:center; gap:8px; width:100%; text-align:left; padding:8px 10px; border-radius:9px; font:inherit; font-size:.875rem; color:var(--ink-2); cursor:pointer}
body.zk:not(.no-kit) .zo-nav button span{flex:1; min-width:0}
body.zk:not(.no-kit) .zo-nav button small{color:var(--ink-3); font-size:.75rem}
body.zk:not(.no-kit) .zo-nav button:hover{background:var(--zk-hover)}
body.zk:not(.no-kit) .zo-nav button.on{background:var(--blue-wash); color:var(--blue); font-weight:600}
body.zk:not(.no-kit) .zo-due{font-style:normal; font-size:.72rem; font-weight:700; color:var(--ink); background:var(--zk-hover); border-radius:8px; padding:1px 6px}
body.zk:not(.no-kit) .zo-sc{margin:0 0 12px}
body.zk:not(.no-kit) .zo-sch{padding:12px 14px; border-bottom:1px solid var(--line-2)}
body.zk:not(.no-kit) .zo-sch h3{margin:0; font-size:.95rem; font-weight:650; color:var(--ink)}
body.zk:not(.no-kit) .zo-sch small{display:block; margin-top:2px; font-size:.8rem; color:var(--ink-3)}
body.zk:not(.no-kit) .zo-srow{appearance:none; border:0; border-bottom:1px solid var(--line-2); background:none; font:inherit; color:inherit; width:100%; display:flex; align-items:center; gap:14px; text-align:left; padding:11px 14px; cursor:pointer}
body.zk:not(.no-kit) .zo-srow:last-child{border-bottom:0}
body.zk:not(.no-kit) .zo-srow:hover{background:var(--zk-hover)}
body.zk:not(.no-kit) .zo-srow.zk-sel{background:var(--blue-wash)}
body.zk:not(.no-kit) .zo-srow .tx{flex:1; min-width:0}
body.zk:not(.no-kit) .zo-srow .tx b{display:block; font-weight:600; font-size:.875rem; color:var(--ink)}
body.zk:not(.no-kit) .zo-srow .tx small{display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; color:var(--ink-3); font-size:.8rem; margin-top:2px}
body.zk:not(.no-kit) .zo-srow .v{flex:none; max-width:28%; text-align:right; font-size:.85rem; color:var(--ink-2)}
body.zk:not(.no-kit) .zo-srow .s{flex:none; width:112px; font-size:.85rem}
body.zk:not(.no-kit) .zo-srow > svg{width:15px; height:15px; color:var(--ink-4); flex:none}
body.zk:not(.no-kit) .zo-clip{display:block; max-width:320px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.zk:not(.no-kit) small.zo-clip{max-width:380px}
body.zk:not(.no-kit) .zo-late{color:var(--stop-ink)}
body.zk:not(.no-kit) .zo-grow{flex:1; min-width:180px}
body.zk:not(.no-kit) .zo-2{display:grid; grid-template-columns:1fr 1fr; gap:12px}
body.zk:not(.no-kit) .zo-q{border:1px solid var(--line); border-radius:12px; padding:12px; margin:0 0 10px; display:flex; flex-direction:column; gap:8px}
body.zk:not(.no-kit) .zo-qh{display:flex; align-items:center; gap:10px; font-size:.84rem}
body.zk:not(.no-kit) .zo-qh .sp{flex:1}
body.zk:not(.no-kit) .zo-del{color:var(--stop-ink)}
body.zk:not(.no-kit) .zo-fl{display:block; font-size:.8rem; font-weight:600; color:var(--ink-2); margin:0 0 6px}
body.zk:not(.no-kit) .zo-f{margin:10px 0}
body.zk:not(.no-kit) .zo-chks{max-height:180px; overflow:auto}
body.zk:not(.no-kit) .zo-chk{display:flex; align-items:center; gap:8px; padding:4px 0; font-size:.875rem}
body.zk:not(.no-kit) .zo-chk input{width:16px; height:16px; flex:none; accent-color:var(--blue)}
body.zk:not(.no-kit) .zo-chk span{flex:1; min-width:0}
body.zk:not(.no-kit) .zo-chk small{color:var(--ink-3)}
body.zk:not(.no-kit) .zo-big{display:flex; align-items:baseline; gap:8px; margin:0 0 8px}
body.zk:not(.no-kit) .zo-big b{font-size:1.5rem; font-weight:700; color:var(--ink)}
body.zk:not(.no-kit) .zo-big span{font-size:.84rem; color:var(--ink-3)}
body.zk:not(.no-kit) .zo-bar{display:grid; grid-template-columns:24px 1fr 34px; gap:8px; align-items:center; font-size:.82rem; margin:3px 0}
body.zk:not(.no-kit) .zo-opt{margin:6px 0; font-size:.84rem}
body.zk:not(.no-kit) .zo-opt > div:first-child{display:flex; justify-content:space-between; gap:8px; margin-bottom:3px}
body.zk:not(.no-kit) .zo-cmt{padding:8px 10px; border:1px solid var(--line-2); border-radius:10px; margin:0 0 6px; font-size:.86rem; white-space:pre-wrap; overflow-wrap:anywhere}
body.zk:not(.no-kit) .zo-cmt small{display:block; margin-top:4px; color:var(--ink-3)}
body.zk:not(.no-kit) .zo-chk-row{display:grid; grid-template-columns:1fr 150px; gap:6px 10px; align-items:center; padding:10px 0; border-bottom:1px solid var(--line-2)}
body.zk:not(.no-kit) .zo-chk-row:last-child{border-bottom:0}
body.zk:not(.no-kit) .zo-chk-row > input:not([type=hidden]){grid-column:1/-1; width:100%}
body.zk:not(.no-kit) .zo-chk-h b{display:block; font-weight:600; font-size:.875rem; color:var(--ink)}
body.zk:not(.no-kit) .zo-chk-h small{color:var(--ink-3); font-size:.78rem}
body.zk:not(.no-kit) .zo-det{padding:8px 0; border-bottom:1px solid var(--line-2); font-size:.875rem}
body.zk:not(.no-kit) .zo-det summary{cursor:pointer}
body.zk:not(.no-kit) .zo-det summary span{color:var(--ink-3)}
body.zk:not(.no-kit) .zo-hits{display:flex; flex-direction:column; gap:2px; margin:0 0 8px}
body.zk:not(.no-kit) .zo-hits button{appearance:none; border:1px solid var(--line); background:var(--surface); border-radius:10px; text-align:left; padding:7px 10px; font:inherit; color:var(--ink); cursor:pointer}
body.zk:not(.no-kit) .zo-hits button:hover{background:var(--zk-hover)}
body.zk:not(.no-kit) .zo-hits button.on{border-color:var(--blue); background:var(--blue-wash)}
body.zk:not(.no-kit) .zo-hits small{display:block; color:var(--ink-3); font-size:.78rem}
@media (max-width:760px){ body.zk:not(.no-kit) .zo-set{grid-template-columns:minmax(0,1fr)} body.zk:not(.no-kit) .zo-nav{position:static; flex-direction:row; overflow-x:auto} body.zk:not(.no-kit) .zo-nav button{width:auto; white-space:nowrap} body.zk:not(.no-kit) .zo-srow .v{display:none} }
body.zk.zk-paned:not(.no-kit) .zo-set{grid-template-columns:minmax(0,1fr)}
body.zk.zk-paned:not(.no-kit) .zo-nav{position:static; flex-direction:row; flex-wrap:wrap}
body.zk.zk-paned:not(.no-kit) .zo-nav button{width:auto}
body.zk.zk-paned:not(.no-kit) .zo-srow .v{display:none}
#view #zopRv > .zk-fbar,#view #zopComp > .zk-fbar,#view #benPlans > .zk-fbar,#view #svHr > .zk-fbar,#view #retDue > .zk-fbar,body.zk:not(.no-kit) .zo-fbar{padding:12px 14px; margin:0; border-bottom:1px solid var(--line-2)}
body.zk:not(.no-kit) .zo-sch{display:flex; align-items:flex-start; gap:12px; flex-wrap:wrap}
body.zk:not(.no-kit) .zo-sch .tx{flex:1; min-width:200px}
body.zk:not(.no-kit) .zo-sch .r{display:flex; align-items:center; gap:8px; flex-wrap:wrap}
body.zk:not(.no-kit) .zo-dl{margin:0 0 14px}
body.zk:not(.no-kit) .zo-chk-row > input:not([type=hidden]),body.zk:not(.no-kit) .zo-q > input.svPrompt{min-height:38px; padding:0 10px; border:1px solid var(--edge); border-radius:10px; background:var(--surface); color:var(--ink); font:inherit; font-size:14px; width:100%}
body.zk:not(.no-kit) .zo-set-tabs .zo-tabs{min-width:0; position:sticky; top:72px}
body.zk:not(.no-kit) .zo-set-tabs .ptabs{flex-direction:column; align-items:stretch; gap:2px; margin:0; padding:6px; background:var(--surface); border:1px solid var(--edge); border-radius:14px; overflow:visible}
body.zk:not(.no-kit) .zo-set-tabs .ptabs .tab{display:flex; align-items:center; justify-content:space-between; gap:8px; text-align:left; border:0; border-radius:9px; margin:0; padding:8px 10px; white-space:normal}
body.zk:not(.no-kit) .zo-set-tabs .ptabs .tab:hover{background:var(--zk-hover)!important}
body.zk:not(.no-kit) .zo-set-tabs .ptabs .tab.on,body.zk:not(.no-kit) .zo-set-tabs .ptabs .tab.on:hover{background:var(--blue-wash)!important; color:var(--blue)!important}
body.zk.zk-paned:not(.no-kit) .zo-set-tabs .zo-tabs{position:static}
body.zk.zk-paned:not(.no-kit) .zo-set-tabs .ptabs{flex-direction:row; flex-wrap:wrap}
@media (max-width:760px){ body.zk:not(.no-kit) .zo-set-tabs .zo-tabs{position:static} body.zk:not(.no-kit) .zo-set-tabs .ptabs{flex-direction:row; overflow-x:auto; flex-wrap:nowrap} body.zk:not(.no-kit) .zo-set-tabs .ptabs .tab{white-space:nowrap} }
body.zk:not(.no-kit) .zo-form{padding:12px 14px}
body.zk:not(.no-kit) .zo-form .zk-fld,body.zk:not(.no-kit) .zo-cf .zk-fld{margin:0 0 10px}
body.zk:not(.no-kit) .zo-form .zo-2{gap:12px}
body.zk:not(.no-kit) .zo-formfoot{display:flex; justify-content:flex-end}
body.zk:not(.no-kit) .zo-savebar{position:sticky; bottom:12px; z-index:3; display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:0 0 12px; padding:10px 14px; background:var(--surface); border:1px solid var(--edge); border-radius:12px; box-shadow:0 6px 20px rgba(0,0,0,.12); font-size:.875rem; font-weight:600}
body.zk:not(.no-kit) .zo-savebar[hidden]{display:none}
body.zk:not(.no-kit) .zo-savebar .sp{flex:1}
body.zk:not(.no-kit) .zo-savebar .tl-err{margin:0; flex-basis:100%; order:9}
body.zk:not(.no-kit) .zo-up{display:inline-flex; align-items:center; gap:6px; cursor:pointer; width:auto; white-space:nowrap}
body.zk:not(.no-kit) .zo-up svg{width:15px; height:15px}
body.zk:not(.no-kit) .zo-rrow{display:flex; align-items:center; gap:10px; padding:6px 14px; border-bottom:1px solid var(--line-2)}
body.zk:not(.no-kit) .zo-rrow:last-child{border-bottom:0}
body.zk:not(.no-kit) .zo-rrow:hover{background:var(--zk-hover)}
body.zk:not(.no-kit) .zo-rrow:hover .zk-qa,body.zk:not(.no-kit) .zo-rrow:focus-within .zk-qa{opacity:1}
body.zk:not(.no-kit) .zo-rrow .o{appearance:none; border:0; background:none; flex:1; min-width:0; display:flex; align-items:center; gap:8px; padding:6px 0; text-align:left; font:inherit; font-size:.875rem; font-weight:600; color:var(--ink); cursor:pointer}
body.zk:not(.no-kit) .zo-rrow .o span{min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.zk:not(.no-kit) .zo-rrow .o svg{width:16px; height:16px; color:var(--ink-3); flex:none}
body.zk:not(.no-kit) .zo-warn{margin:0; padding:10px 14px; border-bottom:1px solid var(--line-2); font-size:.85rem; color:var(--stop-ink)}
body.zk:not(.no-kit) .zo-warn[hidden]{display:none}
body.zk:not(.no-kit) .zo-map{height:220px; border-radius:12px; background:var(--line); margin:4px 0 6px; z-index:0}
body.zk:not(.no-kit) .zo-tall{max-height:none}
body.zk:not(.no-kit) .zo-grp{padding:10px 14px 6px; font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3); border-bottom:1px solid var(--line-2)}
body.zk:not(.no-kit) .zo-logo{display:flex; gap:14px; align-items:flex-start; margin:0 0 12px}
body.zk:not(.no-kit) .zo-logo .mk{width:72px; height:72px; border-radius:16px; background:var(--zk-hover); display:grid; place-items:center; overflow:hidden; flex:none}
body.zk:not(.no-kit) .zo-logo .mk img{max-width:64px; max-height:64px; object-fit:contain}
body.zk:not(.no-kit) .zo-logo .tx{flex:1; min-width:0}
body.zk:not(.no-kit) .zo-logo .tx b{display:block; color:var(--ink); font-weight:600}
body.zk:not(.no-kit) .zo-logo .tx small{display:block; color:var(--ink-3); font-size:.8rem; margin-top:2px}
body.zk:not(.no-kit) .zo-logo .acts{display:flex; gap:8px; flex-wrap:wrap; margin:8px 0 4px}
body.zk:not(.no-kit) .zo-swatches{display:flex; align-items:center; gap:8px; flex-wrap:wrap}
body.zk:not(.no-kit) .zo-swatches button{width:28px; height:28px; border-radius:50%; border:2px solid var(--surface); box-shadow:0 0 0 1px var(--edge); cursor:pointer; padding:0}
body.zk:not(.no-kit) .zo-swatches button.on{box-shadow:0 0 0 2px var(--blue)}
body.zk:not(.no-kit) .zo-swatches input{flex:1; min-width:110px; max-width:140px}
body.zk:not(.no-kit) .zo-chips{display:flex; gap:6px; flex-wrap:wrap; margin:0 0 8px}
body.zk:not(.no-kit) .zo-prev{width:100%; height:360px; border:1px solid var(--line); border-radius:12px; background:var(--surface); margin-top:6px}
/* zo-1024: at the narrow desktop width the wider columns wait for the pane */
@media (max-width:1180px){
#view #zopRv table tr > :nth-child(2),#view #zopRv table tr > :nth-child(3),#view #benPlans table tr > :nth-child(4),#view #benPlans table tr > :nth-child(5),#view table:has(#audRows) tr > :nth-child(5),#view table:has(#retPols) tr > :nth-child(3){display:none}
#view #benPlans table tr > :nth-child(2){max-width:130px; overflow:hidden; text-overflow:ellipsis}
}
/* <<< TALENT & COMPANY */
/* self-service: stacked columns, old .dl rows in the kit's shape, spacing under the greeting */
body.zk:not(.no-kit) .sl-main > .zk-card:first-child{margin-top:0}
body.zk:not(.no-kit) .sl-cols{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:16px; align-items:start}
body.zk:not(.no-kit) .sl-col{min-width:0; display:flex; flex-direction:column; gap:16px}
body.zk:not(.no-kit) .sl-col .zm-card{margin:0}
body.zk.zk-paned:not(.no-kit) .sl-cols{grid-template-columns:minmax(0,1fr)}
@media (max-width:1120px){ body.zk:not(.no-kit) .sl-cols{grid-template-columns:minmax(0,1fr)} }
body.zk:not(.no-kit) .home-head + *{margin-top:16px}
body.zk:not(.no-kit) #homeNotes > .zm-card{margin:0 0 12px}
body.zk:not(.no-kit) .sl-dl .dl .r{display:grid; grid-template-columns:132px minmax(0,1fr); gap:12px; padding:4.5px 0; border:0; align-items:baseline}
body.zk:not(.no-kit) .sl-dl .dl .r > b{font-weight:400; color:var(--ink-3); font-size:.84rem}
body.zk:not(.no-kit) .sl-dl .dl .r > .val{text-align:left; font-weight:500; overflow-wrap:anywhere}
body.zk:not(.no-kit) .sl-dl .f-note{margin:10px 0 0; border:0; padding:0}
body.zk:not(.no-kit) .sl-figs{margin-top:16px}
body.zk:not(.no-kit) #homeNotes + .sl-figs{margin-top:0}
body.zk:not(.no-kit) #homeNotes{margin-top:12px}
body.zk:not(.no-kit) #modal .tl-p + .zk-sec,body.zk:not(.no-kit) #modal .sl-body + .zk-sec{margin-top:16px}
body.zk:not(.no-kit) .sl-two > .sl-main > :first-child{margin-top:0}
body.zk:not(.no-kit) .sl-main .today-lbl{flex:1 1 50%; min-width:0}
body.zk:not(.no-kit) .sl-main .today-sub{flex:0 1 auto; min-width:0; max-width:46%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
/* ═════════  People, as approved (docs/design/console-samples/people.html)  ═════════ */
body.zk:not(.no-kit) .zp-chips{display:inline-flex; gap:8px; flex-wrap:wrap}
body.zk:not(.no-kit) .zp-card{padding:0; overflow:hidden}
body.zk:not(.no-kit) .zp-code{font:600 .78rem ui-monospace,Consolas,monospace; color:var(--ink-3)}
body.zk:not(.no-kit) .zp-t td{vertical-align:middle}
body.zk:not(.no-kit) .zp-prob{margin-top:18px}
body.zk:not(.no-kit) .zp-probh{display:flex; align-items:center; gap:12px; padding:14px 14px 10px}
body.zk:not(.no-kit) .zp-probh h2{margin:0; font-size:1rem; font-weight:700}
body.zk:not(.no-kit) .zp-when{display:inline-flex; align-items:center; flex-wrap:wrap; gap:6px 10px}
body.zk:not(.no-kit) .zp-end{white-space:nowrap; text-align:right; cursor:default}
body.zk.zk-paned:not(.no-kit) .zp-x{display:none}
body.zk.zk-paned:not(.no-kit) .zp-fbar .zk-fin{min-width:180px; flex:1 1 180px; max-width:216px}
body.zk.zk-paned:not(.no-kit) .zp-chips .zk-fch:not(.on):nth-of-type(n+3){display:none}
@media (max-width:1180px){ body.zk:not(.no-kit) .zp-w{display:none} }
body.zk:not(.no-kit) .zp-hero{display:flex; flex-direction:column; align-items:center; text-align:center; padding:6px 0 16px; border-bottom:1px solid var(--line-2); margin-bottom:16px}
body.zk:not(.no-kit) .zp-hero h2{margin:10px 0 2px; font-size:1.15rem; font-weight:700}
body.zk:not(.no-kit) .zp-hero p{margin:0; color:var(--ink-3)}
body.zk:not(.no-kit) .zp-hero .qk{display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:12px}
body.zk:not(.no-kit) .zp-recs,body.zk:not(.no-kit) .zp-li{margin:0 -10px}
body.zk:not(.no-kit) .zp-recs button svg:last-child,body.zk:not(.no-kit) .zp-li button svg:last-child{margin-left:auto; color:var(--ink-4)}
body.zk:not(.no-kit) .zp-recs button[disabled]{color:var(--ink-3); cursor:not-allowed; background:none}
body.zk:not(.no-kit) .zp-li button{justify-content:flex-start}
body.zk:not(.no-kit) .zp-li button span{flex:1; text-align:left}
body.zk:not(.no-kit) .zp-li button b{font-weight:600; font-variant-numeric:tabular-nums}
body.zk:not(.no-kit) .zp-li button svg:last-child:not(:first-child){margin-left:0}
body.zk:not(.no-kit) .zp-lnk{display:inline-flex; align-items:center; gap:6px}
body.zk:not(.no-kit) .zp-fbar .btn,body.zk:not(.no-kit) .zp-hero .qk .btn{height:28px; padding:0 10px; font-size:.8rem}
body.zk:not(.no-kit) .zp-drop{display:flex; flex-direction:column; align-items:center; gap:4px; padding:26px 16px; border:1px dashed var(--line); border-radius:var(--zk-r); text-align:center; cursor:pointer; color:var(--ink-3)}
body.zk:not(.no-kit) .zp-drop:hover{background:var(--zk-hover)}
body.zk:not(.no-kit) .zp-drop b{color:var(--ink)}
body.zk:not(.no-kit) .zp-drop svg{width:20px; height:20px; color:var(--blue)}
body.zk:not(.no-kit) .zp-drop input{position:absolute; width:1px; height:1px; opacity:0}
body.zk:not(.no-kit) .zp-p{margin:0 0 8px; color:var(--ink-2); font-size:.875rem}
body.zk:not(.no-kit) .zp-bad{list-style:none; margin:0; padding:0; font-size:.875rem; color:var(--ink-2)}
body.zk:not(.no-kit) .zp-bad li{padding:8px 0; border-top:1px solid var(--line-2)}
body.zk:not(.no-kit) .zp-bad li:first-child{border-top:0; padding-top:0}
body.zk:not(.no-kit) .zp-bad b{display:block; color:var(--ink)}
@media (max-width:1180px){ body.zk:not(.no-kit) .zp-fbar .zk-fin{min-width:170px; flex:1 1 170px} }

/* ═════════  Steps and checklists in a pane (Onboarding, Exits)  ═════════ */
body.zk:not(.no-kit) .zw-prog{display:flex; align-items:center; gap:10px; min-width:120px}
body.zk:not(.no-kit) .zw-prog i{flex:1; max-width:120px; height:6px; border-radius:6px; background:var(--line-2); overflow:hidden; display:block}
body.zk:not(.no-kit) .zw-prog b{display:block; height:100%; background:var(--ok); border-radius:6px}
body.zk:not(.no-kit) .zw-prog span{font-size:.84rem; color:var(--ink-3); white-space:nowrap; font-variant-numeric:tabular-nums}
body.zk:not(.no-kit) .zw-prog.big{margin-bottom:16px}
body.zk:not(.no-kit) .zw-prog.big i{max-width:none}
body.zk:not(.no-kit) .zw-step{display:grid; grid-template-columns:24px minmax(0,1fr); gap:12px; padding-bottom:16px; position:relative}
body.zk:not(.no-kit) .zw-step:not(:last-child)::before{content:""; position:absolute; left:11px; top:26px; bottom:2px; width:1px; background:var(--line)}
body.zk:not(.no-kit) .zw-step .n{width:24px; height:24px; border-radius:50%; display:grid; place-items:center; font-size:.76rem; font-weight:700; color:var(--ink-3); border:1px solid var(--line); background:var(--surface)}
body.zk:not(.no-kit) .zw-step .n svg{width:14px; height:14px}
body.zk:not(.no-kit) .zw-step.done .n{background:var(--ok); border-color:var(--ok); color:#fff}
body.zk:not(.no-kit) .zw-step.cur .n{background:var(--blue); border-color:var(--blue); color:#fff}
body.zk:not(.no-kit) .zw-step .c{min-width:0}
body.zk:not(.no-kit) .zw-step h4{margin:2px 0 2px; font-size:.92rem; font-weight:700}
body.zk:not(.no-kit) .zw-step p{margin:0 0 8px; color:var(--ink-3); font-size:.84rem}
body.zk:not(.no-kit) .zw-step p.zw-q{color:var(--ink-2)}
body.zk:not(.no-kit) .zw-task{display:grid; grid-template-columns:22px minmax(0,1fr); gap:10px; padding:5px 0; align-items:start}
body.zk:not(.no-kit) .zw-task b{display:block; font-weight:500}
body.zk:not(.no-kit) .zw-task small{display:block; color:var(--ink-3); font-size:.8rem}
body.zk:not(.no-kit) .zw-task small.late{color:var(--stop)}
body.zk:not(.no-kit) .zw-task.d b{color:var(--ink-3)}
body.zk:not(.no-kit) .zw-tick{width:22px; height:22px; padding:0; border-radius:6px; border:1px solid var(--line); background:var(--surface); color:transparent; display:grid; place-items:center; cursor:pointer}
body.zk:not(.no-kit) .zw-tick:hover:not([disabled]){border-color:var(--blue); color:var(--blue)}
body.zk:not(.no-kit) .zw-tick svg{width:14px; height:14px}
body.zk:not(.no-kit) .zw-tick.on{background:var(--ok); border-color:var(--ok); color:#fff}
body.zk:not(.no-kit) .zw-tick[disabled]{cursor:not-allowed; opacity:.7}

/* ═════════  Profile changes  ═════════ */
body.zk:not(.no-kit) .zp-clip{max-width:420px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.zk:not(.no-kit) .zp-from{color:var(--ink-3)}
body.zk:not(.no-kit) .zk-dl dd svg{width:12px; height:12px; vertical-align:-1px; color:var(--ink-4)}
/* ═════════  Org structure  ═════════ */
body.zk:not(.no-kit) .zg-tree, body.zk:not(.no-kit) .zg-tree ul{list-style:none; margin:0; padding:0}
body.zk:not(.no-kit) .zg-tree ul{margin-left:21px; padding-left:12px; border-left:1px solid var(--edge)}
body.zk:not(.no-kit) .zg-n{display:flex; align-items:center; gap:8px; min-height:48px; padding:0 14px 0 10px; border-bottom:1px solid var(--line)}
body.zk:not(.no-kit) .zg-n:hover{background:var(--zk-hover)}
body.zk:not(.no-kit) .zg-tog{width:24px; height:24px; flex:none; display:grid; place-items:center; border:0; background:none; border-radius:6px; color:var(--ink-3); cursor:pointer; padding:0}
body.zk:not(.no-kit) .zg-tog:hover{background:var(--line); color:var(--ink)}
body.zk:not(.no-kit) .zg-tog svg{width:14px; height:14px; transition:transform .12s}
body.zk:not(.no-kit) .zg-tog.on svg{transform:rotate(90deg)}
body.zk:not(.no-kit) .zg-none{cursor:default; background:none !important}
body.zk:not(.no-kit) .zg-who{flex:1; min-width:0; display:flex; align-items:center; border:0; background:none; padding:6px 0; text-align:left; cursor:pointer; color:inherit; font:inherit}
body.zk:not(.no-kit) .zg-who .zk-who{display:flex; align-items:center; gap:10px; min-width:0}
body.zk:not(.no-kit) .zg-who .zk-who > div{min-width:0}
body.zk:not(.no-kit) .zg-who b{display:block; font-weight:600; color:var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.zk:not(.no-kit) .zg-who small{display:block; color:var(--ink-3); font-size:.78rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.zk:not(.no-kit) .zg-ct{color:var(--ink-3); font-size:.75rem; white-space:nowrap}
body.zk:not(.no-kit) .zg-ro{display:inline-flex; align-items:center; gap:6px; color:var(--ink-3); font-size:.8rem}
body.zk:not(.no-kit) .zg-ro svg{width:13px; height:13px}
body.zk:not(.no-kit) .zg-defs{padding:16px; margin-bottom:12px}
body.zk:not(.no-kit) .zg-defs .fgrid{max-width:560px}
body.zk:not(.no-kit) .zg-sec{margin-top:16px}
body.zk:not(.no-kit) .zg-pick{width:320px; max-width:40%}
body.zk:not(.no-kit) td.num .nt-in{width:84px; text-align:right}
@media (max-width:1180px){ body.zk:not(.no-kit) .zg-ct{display:none} }

/* Zolt Meet: guests at the door of a call, and the guest link */
.slk-guest-bar{position:absolute; top:92px; left:12px; right:12px; max-width:460px; margin:0 auto; z-index:3; display:grid; grid-template-columns:minmax(0,1fr); gap:6px}
.slk-guest-row{display:flex; align-items:center; gap:8px; padding:8px 8px 8px 14px; border-radius:12px; background:#1F2229; color:#fff; border:1px solid rgba(255,255,255,.22); font-size:.86rem}
.slk-guest-row span{flex:1; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis}
.slk-guest-row button{border:0; border-radius:8px; padding:7px 14px; font:inherit; font-weight:600; cursor:pointer}
.slk-guest-row .admit{background:var(--blue); color:#fff}
.slk-guest-row .deny{background:transparent; color:#fff; box-shadow:inset 0 0 0 1px rgba(255,255,255,.4)}
.slk-guest-rm{position:absolute; right:8px; top:8px; border:0; border-radius:999px; padding:3px 10px; background:rgba(0,0,0,.6); color:#fff; font:inherit; font-size:.74rem; cursor:pointer}
.slk-guest-rm:hover{background:var(--stop)}
.zk-meet{margin:8px 0 4px; padding:10px 12px; border:1px solid var(--line-2); border-radius:12px; background:var(--surface-2, transparent)}
.zk-meet-url{display:block}
.zk-meet-url span{display:block; font-size:.78rem; font-weight:600; color:var(--ink-3); margin-bottom:4px}
.zk-meet-url input{width:100%; height:34px; padding:0 10px; border:1px solid var(--line); border-radius:8px; background:var(--raise, transparent); color:var(--ink); font-family:var(--mono); font-size:.76rem}
.zk-meet-acts{display:flex; flex-wrap:wrap; gap:6px; margin:8px 0}
.zk-meet small{display:block; color:var(--ink-3); font-size:.78rem}
.zk-meet p{margin:6px 0 0; font-size:.8rem; color:var(--ink-3)}
.zk-meet.off p{margin:0 0 8px}
.zk-meet-warn{color:var(--stop-ink)!important}

/* ── colour tiles in the console: the same ones as the phone (55-kit.js zkTile, CONSOLE-SYSTEM.md §12) ── */
body.zk .zk-tile{width:32px; height:32px; flex:none}
body.zk .zk-tile.sm{width:26px; height:26px}
body.zk .zk-tile.rail{width:24px; height:24px}
body.zk:not(.no-kit) .sl-tw{display:flex; align-items:center; gap:12px; min-width:0}
body.zk:not(.no-kit) .sl-tw > span:last-child{min-width:0; display:block}
body.zk:not(.no-kit) .sl-fk{display:flex; align-items:center; gap:8px}
body.zk:not(.no-kit) .sl-figs .sl-fk + .v{margin-top:4px}
body.zk .rail-nav .nav-i .ic:has(.zk-tile){width:24px; height:24px; display:grid; place-items:center}
body.zk .rail-nav .nav-i .ic .zk-tile .zi{width:15px; height:15px; stroke:none!important; color:#fff}
/* Connect's quick rows carry the phone's tiles (CONSOLE-SYSTEM.md section 12) */
.cnh-quick .ztile,.k-it .ztile{width:26px; height:26px}
.cnh-quick .ztile{color:#fff; background:linear-gradient(180deg, var(--c1), var(--c2)); box-shadow:inset 0 1px 0 rgba(255,255,255,.38), inset 0 -1px 0 rgba(0,0,0,.10), 0 6px 14px -8px var(--c2)}
.cnh-quick .ztile svg,.k-it .ztile svg{color:inherit; width:60%; height:60%}
.k-it .ztile{width:22px; height:22px; flex:none}

/* ═════════ FAMILY & NOMINEES, RESIGNATION (58-self-family.js, 58-self-resign.js) ═════════ */
body.zk:not(.no-kit) .fp-acts{display:contents}
body.zk:not(.no-kit) .fp-note{margin-bottom:16px}
body.zk:not(.no-kit) .fp-bar{display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; padding:12px 16px; margin-bottom:16px}
body.zk:not(.no-kit) .fp-bar .tx{flex:1 1 280px; min-width:0}
body.zk:not(.no-kit) .fp-bar .tx b{display:block}
body.zk:not(.no-kit) .fp-bar .tx small{display:block; color:var(--ink-3); font-size:.84rem}
body.zk:not(.no-kit) .fp-bar .ct{display:flex; gap:8px; flex:none}
body.zk:not(.no-kit) .fp-bar > .tl-err{flex-basis:100%; margin:0}
body.zk:not(.no-kit) .fp-bar .tx .tl-err{margin:6px 0 0}
body.zk:not(.no-kit) .fp-warn{margin-top:16px}
body.zk:not(.no-kit) .fp-warn p{margin:0 0 6px; color:var(--ink-2); font-size:.88rem}
body.zk:not(.no-kit) .fp-warn p:last-child{margin-bottom:0}
body.zk:not(.no-kit) .fp-who{white-space:normal}
body.zk:not(.no-kit) .fp-who .zk-who{display:inline-flex; vertical-align:middle}
body.zk:not(.no-kit) .fp-mark{margin-left:8px; vertical-align:middle}
body.zk:not(.no-kit) .fp-sg{display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 16px 4px; font-size:.84rem}
body.zk:not(.no-kit) .fp-dob{display:flex; flex-wrap:wrap; align-items:center; gap:8px}
body.zk:not(.no-kit) .fp-dp{appearance:none; display:inline-flex; align-items:center; justify-content:space-between; gap:6px; flex:1 1 84px; min-width:0; height:38px; padding:0 10px; border:1px solid var(--line); border-radius:9px; background:var(--card); color:var(--ink); font:inherit; font-size:14px; cursor:pointer}
body.zk:not(.no-kit) .fp-dp:hover{background:var(--zk-hover)}
body.zk:not(.no-kit) .fp-dp .zk-i{width:14px; height:14px; color:var(--ink-3); flex:none}
body.zk:not(.no-kit) .rs-lead{margin:0 0 12px; color:var(--ink-2); font-size:.92rem}
body.zk:not(.no-kit) .rs-exit h3{margin:0 0 4px; font-size:1.05rem}
body.zk:not(.no-kit) .rs-exit p{margin:0 0 12px; color:var(--ink-2); font-size:.9rem}
body.zk:not(.no-kit) .rs-acts{display:flex; flex-wrap:wrap; gap:8px; margin-top:14px}
/* a switch in a pane: the field styles paint over its on state */
body.zk:not(.no-kit) #mw #modal input.zk-sw:checked{background:var(--ok)}

/* ═══════════  COLOUR ICONS (5 Nov)  ═══════════
   The owner: "no place should have icons without any color". docs/design/CONSOLE-SYSTEM.md
   section 12. Every helper (zi, zkI, kI, icon, I) gives its glyph .zg and its category;
   an svg with neither takes the control colour below. A tile or a solid button keeps
   its glyph white. !important because forty older rules set grey on .x svg, and this
   is the one place that answers the question. Charts and logos draw their own colours. */
:root{--glyph:#1C6E93}
@media (prefers-color-scheme:dark){ :root{--glyph:#53A9C9} }
svg:where(:not([role=img],[width="100%"],.org-mk,.ls-city,#ziSprite,.cxo-spark)){color:var(--glyph)!important}
svg.zg{color:var(--cg, var(--glyph))!important}
.ztile svg,.zai-tile svg,.em-ic.ztile svg,.btn-blue svg,.btn-primary svg,.btn-danger svg,.bolt svg,.zm-steps .n svg,.zk-av svg,.k-av svg,.ru-cta svg{color:#fff!important}
.ztile{--cg:#fff}
body.zk .empty .em-ic.ztile{background:linear-gradient(180deg, var(--c1), var(--c2)); color:#fff}
body.zk .zk-pi .zk-pic{width:26px}
body.zk .zk-pi .zk-pic .zk-tile{width:26px; height:26px}
body.zk .zk-pi .zk-pic .zk-tile svg{width:16px; height:16px}
body.zk:not(.no-kit) .zk-mlist button{height:36px}
/* a page's heading wears the page's tile */
body.zk h1.zk-th{display:flex; align-items:center; gap:10px}
body.zk h1.zk-th > .ztile{width:30px; height:30px; flex:none}
/* the rail: a tile per page, the page you're on plain to see, in both themes */
body.zk .rail-nav .nav-i .ic{width:24px; height:24px; display:grid; place-items:center}
body.zk .rail-nav .nav-i .ic .zk-tile{width:24px; height:24px}
body.zk .rail-nav .nav-i .ic .zk-tile .zi{width:15px; height:15px; stroke:none!important}
body.zk .rail-nav .nav-i.on,body.zk .rail-nav .nav-i.on:hover{background:color-mix(in srgb, var(--blue) 18%, var(--surface)); box-shadow:inset 3px 0 0 var(--blue)}
body.zk .rail-nav .nav-i.on .ic .zk-tile{outline:2px solid var(--blue); outline-offset:1px}
body.zk:not(.cx) .rail-nav .grp-items{gap:2px}

/* ═══════════  RAIL THAT HIDES (5 Nov)  ═══════════  src/console/55-rail.js */
body.zk .zk-rail-btn{width:32px; height:32px; min-height:32px; padding:0; flex:none; display:grid; place-items:center; border:0; border-radius:var(--zk-r); background:none; cursor:pointer}
body.zk .zk-rail-btn:hover{background:var(--zk-hover)}
body.zk .zk-rail-btn:focus-visible{outline:2px solid var(--blue); outline-offset:2px}
body.zk .zk-rail-btn svg{width:20px; height:20px}
body.zk #zkRailToggle{position:absolute; top:12px; right:10px; z-index:2}
body.zk:not(.cx) .rail-brand{padding-right:50px}
body.zk #zkRailOpen{display:none}
/* how everyone finds the menu now: a labelled key on a tint, never just a glyph */
body.zk #zkRailOpen{width:auto; height:34px; min-height:34px; padding:0 12px 0 9px; gap:7px; align-items:center; grid-auto-flow:column; font:700 .86rem var(--sans); color:var(--blue-ink);
  background:color-mix(in srgb, var(--blue) 14%, var(--surface)); box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--blue) 45%, var(--line))}
body.zk #zkRailOpen:hover{background:color-mix(in srgb, var(--blue) 22%, var(--surface))}
.zk-rail-hint{position:fixed; left:112px; top:10px; z-index:46; padding:8px 12px; border-radius:10px; background:var(--ink); color:var(--paper); font:600 .84rem var(--sans); pointer-events:none; box-shadow:var(--zk-pop-sh); animation:zkHint .25s ease}
.zk-rail-hint::before{content:""; position:absolute; left:-4px; top:calc(50% - 5px); width:10px; height:10px; background:inherit; transform:rotate(45deg)}
@keyframes zkHint{from{opacity:0; transform:translateY(-4px)} to{opacity:1; transform:none}}
@media (max-width:820px){ .zk-rail-hint{display:none} }
@media (prefers-reduced-motion:reduce){ .zk-rail-hint{animation:none} }
body.cx #zkRailToggle,body.cx #zkRailOpen{display:none!important}
@media (min-width:821px){
  body.zk:not(.cx) #rail{width:240px; min-width:240px}
  body.zk.zk-rail-shut:not(.cx){--rail:0px}
  body.zk.zk-rail-shut:not(.cx) #rail{transform:translateX(-100%); visibility:hidden}
  body.zk.zk-rail-shut:not(.cx) #zkRailOpen{display:grid}
  body.zk.zk-rail-anim:not(.cx) #app{transition:grid-template-columns .2s cubic-bezier(.2,0,0,1)}
  body.zk.zk-rail-anim:not(.cx) #rail{transition:transform .2s cubic-bezier(.2,0,0,1), visibility 0s}
  body.zk.zk-rail-anim.zk-rail-shut:not(.cx) #rail{transition:transform .2s cubic-bezier(.2,0,0,1), visibility 0s linear .2s}
  /* the look over the page: below the top bar, so the button stays clickable; the page doesn't move */
  body.zk.zk-rail-shut.zk-rail-peek:not(.cx) #rail{position:fixed; left:8px; top:calc(var(--top-h) + 4px); height:calc(100vh - var(--top-h) - 12px); transform:none; visibility:visible; z-index:45;
    border:1px solid var(--line); border-radius:12px; overflow:hidden; box-shadow:var(--zk-pop-sh)}
  body.zk.zk-rail-peek:not(.cx) #rail .rail-brand,body.zk.zk-rail-peek:not(.cx) #zkRailToggle{display:none}
}
@media (prefers-reduced-motion:reduce){
  body.zk.zk-rail-anim:not(.cx) #app,body.zk.zk-rail-anim:not(.cx) #rail,body.zk.zk-rail-anim.zk-rail-shut:not(.cx) #rail{transition:none}
}
/* ═══ END COLOUR ICONS ═══ */

/* ═══ CONNECT AS APPROVED ═══ (docs/design/CONSOLE-SYSTEM.md, console-samples/status.html)
   Connect is a page of the console: flat surfaces, hairline edges, the kit's sizes.
   One band on top, a sunk icon strip, the raised room list, the room. No blur anywhere,
   no native-looking scrollbar. Forms and lists sit on the kit's pane, menus on its popover. */
body.zk.cx,body.zk.cx *,#mw,#mw *,.zk-pop,.zk-pop *,.zemo,.zemo *{scrollbar-width:thin; scrollbar-color:var(--edge) transparent}

/* the band */
body.zk.cx .topbar{height:var(--top-h); min-height:var(--top-h); padding:0 16px; gap:10px; background:var(--surface); border-bottom:1px solid var(--line);
  border-radius:0; box-shadow:none; margin:0; -webkit-backdrop-filter:none; backdrop-filter:none}
body.zk.cx .cx-back{height:34px; padding:0 12px 0 8px; border-radius:var(--zk-r); background:none; color:var(--ink-2); box-shadow:inset 0 0 0 1px var(--edge); font-weight:700; transform:none; transition:none}
body.zk.cx .cx-back:hover{background:var(--zk-hover); color:var(--ink)}
body.zk.cx .cx-back:active{transform:none; box-shadow:inset 0 0 0 1px var(--edge)}
body.zk.cx .cx-back svg{width:16px; height:16px}
body.zk.cx .cx-mark{width:28px; height:28px; border-radius:var(--zk-r); background:var(--blue); color:#fff; box-shadow:none}
body.zk.cx .cx-mark svg{width:16px; height:16px}
body.zk.cx .cx-name{font-weight:700; font-size:.95rem; color:var(--ink)}
body.zk.cx .cx-search .slk-search{max-width:520px}
body.zk.cx .cx-search .slk-search input{height:34px; border-radius:var(--zk-r); border:1px solid var(--edge); background:var(--surface); box-shadow:none; font-size:.875rem}
body.zk.cx .cx-search .slk-search input:focus{outline:0; border-color:var(--blue); box-shadow:0 0 0 3px color-mix(in srgb,var(--blue) 18%,transparent)}
body.zk.cx .cx-search .slk-res{top:40px}
body.zk.cx #notifBtn{width:34px; height:34px; border-radius:var(--zk-r); background:none; box-shadow:none; border:1px solid transparent}
body.zk.cx #notifBtn:hover{background:var(--zk-hover)}
body.zk.cx .cx-me{width:34px; height:34px; border-radius:50%}
body.zk.cx .cx-me .av{width:34px; height:34px; border-radius:50%; background:var(--blue-soft); color:var(--blue-ink); font-size:.75rem}
body.zk.cx .cx-pres{width:10px; height:10px; box-shadow:0 0 0 2px var(--surface)}
body.zk.cx .cx-out{width:auto; height:34px; padding:0 12px; border:0; border-radius:var(--zk-r); background:none; box-shadow:none; color:var(--ink-2); display:inline-flex; align-items:center; gap:6px; font:700 .86rem/1 var(--sans)}
body.zk.cx .cx-out svg{width:16px; height:16px}
body.zk.cx .cx-out:hover{background:var(--zk-hover); color:var(--ink)}
body.zk.cx #view{padding:0}
body.zk.cx .slk{border:0; border-radius:0; box-shadow:none}
body.zk.cx #toast{left:88px}
body.zk.cx.zk-paned #main{padding-right:var(--zk-pane)}
body.zk.cx.zk-paned #main .topbar{margin-right:calc(-1 * var(--zk-pane))}
@media (max-width:1240px){ body.zk.cx.zk-paned .slk-side{display:none} body.zk.cx.zk-paned .k2 .slk-body,body.zk.cx.zk-paned .k2 .slk-body.thr-open{grid-template-columns:minmax(0,1fr)} }
@media (max-width:1500px){ body.zk.cx.zk-paned .k2 .slk-body.thr-open{grid-template-columns:minmax(0,1fr) 340px} body.zk.cx.zk-paned .k2 .slk-body.thr-open .slk-side{display:none} }

@media (max-width:640px){ body.zk.cx .topbar{height:auto; min-height:var(--top-h); flex-wrap:wrap; row-gap:8px; padding-top:8px; padding-bottom:8px} body.zk.cx .cx-out{display:none} body.zk.cx .cx-back{padding:0 8px} }

/* the three columns are one flat surface */
.slk.k2{--k-glass:var(--surface); --k-shadow:none; --k-hover:var(--zk-hover); --k-sel:var(--zk-sel); gap:0}
.k2 .k-panel{-webkit-backdrop-filter:none; backdrop-filter:none; border:0; border-radius:0; box-shadow:none}
.k2 .slk-body,.k2 .slk-body.thr-open{gap:0; grid-template-columns:264px minmax(0,1fr) 0}
.k2 .slk-body.thr-open{grid-template-columns:264px minmax(0,1fr) 352px}
.k2 .slk-side{background:var(--raise); border-right:1px solid var(--line)}
.k2 .slk-main{background:var(--surface)}
.k2 .slk-thr{background:var(--surface); border-left:1px solid var(--line)}

/* narrower windows keep what they had: the thread covers the room; a phone shows one pane */
@media (max-width:1240px){
  .k2 .slk-body.thr-open{grid-template-columns:240px minmax(0,1fr) 0}
}
@media (max-width:860px){
  .k2 .slk-body,.k2 .slk-body.thr-open{grid-template-columns:minmax(0,1fr)}
}

/* the icon strip */
.k-rail{width:72px; gap:2px; padding:8px 0; background:var(--sunk); border-right:1px solid var(--line)}
.k-rb{width:64px; padding:6px 0 5px; border-radius:var(--zk-r); font-size:.69rem; color:var(--ink-2)}
.k-rb .ico{width:32px; height:32px; border-radius:var(--zk-r)}
.k-rb:hover{background:var(--zk-hover)} .k-rb:hover .ico{background:none}
.k-rb.on{background:var(--zk-sel); color:var(--blue-ink)} .k-rb.on .ico{background:none; box-shadow:none}
.k-rb.new .ico{border:1px solid var(--edge); background:var(--surface); color:var(--ink-2)}
.k-rb.new:hover{background:none} .k-rb.new:hover .ico{background:var(--zk-hover)}
.k-bdg{height:16px; min-width:16px; font-size:.66rem; padding:0 4px}
.k-rb .k-bdg{top:1px; right:9px}
.k-av{border-radius:6px} .k-av.xs{border-radius:5px} .k-av.m{border-radius:9px} .k-av.l{border-radius:14px} .k-av.me{border-radius:50%; width:34px; height:34px}
.k-av.app,.k-av.app.sm{background:var(--blue); border-radius:9px} .k-av.app.sm{border-radius:6px}
.k-av.grp{box-shadow:inset 0 0 0 1px var(--edge)}
.k-pres{border-width:2px; width:10px; height:10px; right:-2px; bottom:-2px}

/* the room list */
.k-ws{padding:12px 12px 8px 16px; min-height:52px; border-bottom:1px solid var(--line); margin-bottom:8px}
.k-ws b{font-size:.95rem; font-weight:700}
.k-compose{width:32px; height:32px; border-radius:var(--zk-r); box-shadow:none}
.k-status{border-radius:var(--zk-r); background:var(--surface); border-color:var(--edge)}
.k-find .slk-search input{border-radius:var(--zk-r); height:32px; border:1px solid var(--edge)}
.k-it{height:30px; border-radius:6px; font-size:.875rem; padding:0 8px; gap:8px}
.k-it.on{background:var(--zk-sel); font-weight:600}
.k-it.un{font-weight:700}
.k-hash{width:20px}
.k-fold{font-size:.7rem; letter-spacing:.04em}
.k-sec .add{border-radius:6px}

/* the room */
.k-top{min-height:52px; padding:0 14px 0 18px; border-bottom:1px solid var(--line)}
.k-top h1{font-size:1rem; font-weight:700; letter-spacing:0}
.k-title{font-weight:700; border-radius:6px}
.k-stack{height:34px; border-radius:var(--zk-r); border-color:var(--edge); padding:0 10px 0 6px; font-weight:600}
.k-stack .k-av{width:24px; height:24px; border-radius:50%}
.k-ib{width:34px; height:34px; border-radius:var(--zk-r); border-color:var(--edge)}
.k-ib.sm{width:28px; height:28px; border-radius:6px}
.k-tabs{padding:0 14px 0 12px; min-height:40px; border-bottom:1px solid var(--line)}
.k-tab{padding:0 10px; height:40px; font-size:.84rem; font-weight:600}
.k-chip{height:26px; border-radius:6px; font-size:.78rem; border-color:var(--edge); background:var(--surface)}
.k-day span{box-shadow:none; border-radius:6px; font-size:.72rem; font-weight:600; padding:3px 10px; border-color:var(--line)}
.k-msg{padding:6px 20px}
.k-tools{border-radius:var(--zk-r); box-shadow:var(--zk-pop-sh); border-color:var(--edge)}
.k-tools button{border-radius:6px}
.k-re{height:24px; border-radius:6px; padding:0 8px; border-color:var(--line); font-weight:600}
.k-thr{border-radius:var(--zk-r)}
.k-file,.k-unf,.k-appr,.k-cmd,.k-vcard{border-radius:10px; box-shadow:none; border-color:var(--line)}
.k-unf{box-shadow:inset 3px 0 0 var(--blue)}
.k-cmd{box-shadow:inset 3px 0 0 var(--blue)}
.k-photo{border-radius:10px}
.k-ftile{border-radius:8px}
.k-btn{height:34px; border-radius:var(--zk-r); padding:0 14px; font-size:.86rem}
.k-btn.sm{height:28px; padding:0 10px; font-size:.8rem}
.k-btn.g{box-shadow:inset 0 0 0 1px var(--edge)}
.k-btn.d{background:var(--stop-soft); color:var(--stop-ink)}
.k-pill{padding:0; background:none!important; font-weight:600; font-size:.78rem; display:inline-flex; align-items:center; gap:6px}
.k-pill::before{content:""; width:7px; height:7px; border-radius:50%; background:currentColor}
.k-comp{border-radius:12px; box-shadow:none; margin:4px 16px 14px}
.k-comp:focus-within{box-shadow:0 0 0 3px color-mix(in srgb,var(--blue) 18%,transparent)}
.k-fmt button,.k-cb>button:not(.k-send){border-radius:6px; width:28px; height:28px}
.k-send{width:40px; height:32px; border-radius:var(--zk-r)}
.k-off{border-radius:10px; border-color:var(--line); margin:4px 16px 14px}
.k-sug{border-radius:12px; border-color:var(--line); box-shadow:var(--zk-pop-sh)}
.k-sug button{border-radius:6px}
.k-view{padding:14px 18px 18px}
.k-row{border-radius:10px; padding:8px 12px; gap:10px}
.k-empty{border:1px dashed var(--edge); border-radius:10px; margin:24px; padding:36px 20px; align-self:stretch}
.k-view .k-empty{margin:0}
.k-empty .zk-tile{margin-bottom:4px}
.k2 .k-feed .k-empty{margin:auto 24px}

/* the home */
.cnh{padding:20px 24px 24px; gap:12px; background:var(--surface)}
.cnh-hd h2{font-family:var(--sans); font-weight:700; font-size:1.35rem; letter-spacing:-.015em}
.cnh-hd p{font-size:.875rem; font-weight:600}
.cnh-k kbd{background:var(--raise); border-color:var(--edge); border-radius:4px}
.cnh-quick button{padding:10px 12px; border-radius:10px; background:var(--surface)!important; color:var(--ink)!important; border:1px solid var(--line); font-weight:600; font-size:.875rem; transition:none}
.cnh-quick button:hover{transform:none; box-shadow:none; border-color:var(--edge); background:var(--raise)!important}
.cnh-quick svg{width:18px; height:18px}
.cnh-sec span{font-size:.7rem; font-weight:700; letter-spacing:.04em}
.cnh-link{color:var(--blue-ink); font-weight:600}
.cnh-ph,.cnh-empty{padding:16px; border-radius:10px; background:none; border:1px dashed var(--edge); color:var(--ink-3); font-size:.84rem}
.cnh-next{padding:10px 12px; border-radius:10px; color:var(--ink); background:var(--surface); border:1px solid var(--line); box-shadow:none}
.cnh-next:hover{border-color:var(--edge); background:var(--raise)}
.cnh-next small{letter-spacing:.04em; font-weight:700; color:var(--ink-3); opacity:1}
.cnh-next em{color:var(--ink-3); opacity:1}
.cnh-next .go{background:var(--blue-soft); color:var(--blue-ink); font-weight:700; font-size:.8rem; padding:0 10px; height:28px; display:inline-flex; align-items:center; border-radius:var(--zk-r)}
.cnh-online{border-radius:10px; background:none; border:1px solid var(--line); padding:10px}
.cnh-list{border-radius:10px; background:var(--surface); box-shadow:none; border:1px solid var(--line)}
.cnh-row{padding:8px 12px; border-bottom:1px solid var(--line-2)}
.cnh-row:hover{background:var(--zk-hover)}
.cnh .ch-face{position:relative; flex:none; display:inline-grid}
.cnh .ch-on{width:9px; height:9px; right:-1px; bottom:-1px; border-width:2px}
.cnh-top small.new{color:var(--blue-ink)}

/* search and the quick jump */
.slk-res{border-radius:12px; border-color:var(--line); box-shadow:var(--zk-pop-sh); padding:4px}
.slk-rg{font-size:.7rem; font-weight:700; letter-spacing:.04em; padding:8px 8px 4px}
.slk-ri{display:flex; align-items:center; gap:10px; border-radius:6px; padding:6px 8px; font-size:.875rem}
.slk-ri:hover,.slk-ri.on{background:var(--zk-sel); color:var(--ink)}
.slk-ri.msg{display:flex; flex-direction:row; align-items:center; gap:10px}
.slk-ri .nm{min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.slk-ri .tx,.slk-ri.msg>span:not(.zk-av):not(.zc-hash){min-width:0; flex:1}
.slk-q-scrim{background:rgba(10,12,20,.32)}
.slk-q-card{top:72px; width:min(560px,92vw); border-radius:12px; border:1px solid var(--line); box-shadow:var(--zk-pop-sh)}
.slk-q-in{display:flex; align-items:center; gap:10px; height:44px; padding:0 14px; border-bottom:1px solid var(--line); color:var(--ink-3)}
.slk-q-in svg{width:16px; height:16px; flex:none}
.slk-q-card .slk-q-in input{flex:1; min-width:0; height:42px; border:0; padding:0; background:none; font-size:.94rem}
.slk-q-in kbd{font:600 .7rem var(--sans); color:var(--ink-3); border:1px solid var(--line); border-radius:4px; padding:1px 5px}
.slk-q-list{padding:4px; max-height:52vh}
.slk-q-i{display:flex; align-items:center; gap:10px; border-radius:6px; padding:6px 8px; font-size:.875rem}
.slk-q-i:hover,.slk-q-i.on{background:var(--zk-sel); color:var(--ink)}
.slk-q-i .nm{min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:600}
.slk-q-i small{margin-left:auto; color:var(--ink-3); font-size:.78rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; max-width:50%}

/* a row in a pane */
.zc-list{display:flex; flex-direction:column; gap:1px; margin:0 -10px}
.zc-row{display:flex; align-items:center; gap:10px; width:100%; min-width:0; padding:7px 10px; border:0; background:none; border-radius:var(--zk-r); text-align:left; font:inherit; color:var(--ink)}
button.zc-row{cursor:pointer}
button.zc-row:hover{background:var(--zk-hover)}
button.zc-row:focus-visible{outline:2px solid var(--blue); outline-offset:-2px}
.zc-row .tx{flex:1; min-width:0; display:block}
.zc-row b{display:block; font-weight:600; font-size:.875rem; color:var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.zc-row b .w{font-weight:400; color:var(--ink-3); font-size:.78rem; margin-left:4px}
.zc-row small{display:block; color:var(--ink-3); font-size:.8rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.zc-row>svg{width:16px; height:16px; flex:none}
.zc-mem{display:flex; align-items:center; gap:8px; min-width:0} .zc-mem .zc-row{flex:1}
.zc-mem>.btn{flex:none}
.zc-ev{padding:4px 0 10px; border-bottom:1px solid var(--line-2)} .zc-ev:last-child{border-bottom:0}
.zc-evb{display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px; padding:0 10px}
.zc-hash{flex:none; width:28px; height:28px; border-radius:var(--zk-r); display:grid; place-items:center; background:var(--raise); box-shadow:inset 0 0 0 1px var(--line); color:var(--ink-2); font-weight:700}
.zc-hash svg{width:14px; height:14px}
.zc-note{margin:6px 0 0; color:var(--ink-3); font-size:.84rem}
.zc-state{display:flex; align-items:center; gap:8px; margin:0 0 12px; font-size:.875rem}
.k-quoteprev{border-radius:0 var(--zk-r) var(--zk-r) 0; border-left-color:var(--edge)}
.ki{width:18px; height:18px; flex:none; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
.ki.s{width:16px; height:16px} .ki.xs{width:12px; height:12px}

/* the people picker */
.zk-fin.zc-find{height:34px; flex:none; margin:0 0 8px; border:1px solid var(--edge); border-radius:var(--zk-r); background:var(--surface)}
.zk-fin.zc-find:focus-within{border-color:var(--blue); box-shadow:0 0 0 3px color-mix(in srgb,var(--blue) 18%,transparent)}
.zk-fin.zc-find .c-pick-search{flex:1; width:auto; min-width:0; height:auto; min-height:0; margin:0; padding:0; border:0; background:none; box-shadow:none; font-size:.875rem}
.zk-fin.zc-find .c-pick-search::-webkit-search-cancel-button{display:none}
.zc-pick{display:flex; flex-direction:column; min-height:0}
.zc-pick .c-picklist{margin:0 -10px; max-height:none}
.c-pick{display:flex; align-items:center; gap:10px; padding:6px 10px; border-radius:var(--zk-r); cursor:pointer; min-width:0; border:0; margin:0; background:none}
.c-pick:hover{background:var(--zk-hover)}
.c-pick .c-pwho{flex:1; min-width:0; display:block}
.c-pick .c-pwho b,.c-pick .c-pwho strong{display:block; font-weight:600; font-size:.875rem; color:var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.c-pick .c-pwho small{display:block; color:var(--ink-3); font-size:.8rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.c-pick .zk-st{flex:none; font-size:.76rem}
.c-pick .c-vp-btn{flex:none; width:26px; height:26px; display:grid; place-items:center; padding:0; border:0; border-radius:6px; background:none; color:var(--ink-3); cursor:pointer}
.c-pick .c-vp-btn:hover{background:var(--zk-hover); color:var(--ink)}
/* the footer always shows: the body is a column, the list takes what is left and scrolls */
#mw.side .zk-pbd:has(.zc-pick){display:flex; flex-direction:column; min-height:0; overflow:hidden}
#mw.side .zk-pbd:has(.zc-pick) .zk-tabs{flex:none; margin-bottom:12px}
.zc-compose{flex:1; min-height:0; display:flex; flex-direction:column; gap:12px}
.zc-compose>.zc-pick,.zc-compose>.zc-grow{flex:1; min-height:120px}
.zc-compose>.zc-grow{display:flex; flex-direction:column; gap:6px}
.zc-compose .zc-pick{flex:1; min-height:0}
.zc-compose .c-picklist{flex:1; min-height:0; overflow-y:auto}
.zc-compose>.f,.zc-compose>.zk-swrow{flex:none}
.zc-grp{padding-top:10px; border-top:1px solid var(--line)}
#mw.side .zk-pbd .zc-add .c-picklist,#mw.side .zk-pbd:has(.zc-pick)>.zc-pick{flex:1; min-height:0; overflow:hidden}
#mw.side .zk-pbd:has(.zc-pick)>.zc-pick .c-picklist{flex:1; min-height:0; overflow-y:auto}

/* the meeting form */
.zc-form{display:flex; flex-direction:column; gap:14px}
.zc-form>.f,.zc-form .zc-2>.f{margin:0}
.zc-2{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px}
.zc-ppl{display:flex; flex-wrap:wrap; align-items:center; gap:4px; min-height:36px; padding:3px 8px; border:1px solid var(--edge); border-radius:var(--zk-r); background:var(--surface)}
.zc-ppl:focus-within{border-color:var(--blue); box-shadow:0 0 0 3px color-mix(in srgb,var(--blue) 18%,transparent)}
.zc-ppl #mtgChips{display:contents}
.zc-ppl input{flex:1; min-width:120px; height:26px!important; min-height:0!important; border:0!important; padding:0!important; background:none!important; box-shadow:none!important; outline:0; font-size:.875rem}
.zc-pc{display:inline-flex; align-items:center; gap:5px; height:26px; padding:0 4px 0 4px; border-radius:6px; background:var(--raise); border:1px solid var(--line); font-size:.8rem; font-weight:600; color:var(--ink); max-width:100%}
.zc-pc .zk-av{width:18px; height:18px; font-size:.56rem}
.zc-pc>svg{width:14px; height:14px; margin-left:2px}
.zc-pc button{display:grid; place-items:center; width:18px; height:18px; padding:0; border:0; border-radius:4px; background:none; color:var(--ink-3); cursor:pointer}
.zc-pc button:hover{background:var(--zk-hover); color:var(--ink)}
.zc-pc button svg{width:12px; height:12px}
#mtgHits{margin-top:4px}
#mtgHits:empty{display:none}

/* the status popover, as the approved sample */
.zk-pop.zc-status{width:420px; max-width:calc(100vw - 16px); max-height:calc(100vh - 16px); padding:0; display:flex; flex-direction:column; overflow:hidden; border-radius:12px}
.zc-status .zc-sthd{flex:none; padding:14px 14px 10px; border-bottom:1px solid var(--line)}
.zc-status h3{margin:0 0 10px; font-size:.95rem; font-weight:700; color:var(--ink)}
.zc-status .cur{display:flex; align-items:center; gap:8px; height:38px; padding:0 6px; border:1px solid var(--blue); border-radius:var(--zk-r); box-shadow:0 0 0 3px color-mix(in srgb,var(--blue) 16%,transparent); background:var(--surface)}
.zc-status .cur input#cStText{flex:1; min-width:0; height:30px; border:0; outline:0; padding:0; background:none; box-shadow:none; font:inherit; font-size:.875rem; color:var(--ink)}
.zc-status .k-st-emo{width:28px; height:28px; border:0; background:none; padding:0; font-size:1.1rem; border-radius:6px; opacity:1}
.zc-status .k-st-emo:hover{background:var(--zk-hover)}
.zc-status .k-st-emo:not(.set){filter:grayscale(1); opacity:.6}
.zc-status .clr{width:26px; height:26px; border:0; background:none; flex:none}
.zc-status .clr svg{width:14px; height:14px}
.zc-stpre{flex:none; display:grid; grid-template-columns:1fr 1fr; gap:2px; padding:8px 8px 6px; border-bottom:1px solid var(--line)}
.zc-stpre button{display:flex; align-items:center; gap:8px; min-width:0; height:30px; padding:0 8px; border:0; border-radius:6px; background:none; cursor:pointer; font:inherit; font-size:.82rem; color:var(--ink)}
.zc-stpre button:hover{background:var(--zk-hover)}
.zc-stpre .e{flex:none}
.zc-stpre .l{flex:1; min-width:0; text-align:left; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.zc-stpre small{flex:none; color:var(--ink-3); font-size:.74rem}
.zc-stemo{flex:1 1 auto; min-height:150px; display:flex; flex-direction:column; overflow:hidden}
.zc-stopts{flex:none; padding:8px 14px; border-top:1px solid var(--line); display:flex; flex-direction:column; gap:6px}
.zc-stopts .opt{display:flex; align-items:center; gap:8px; min-height:30px; font-size:.84rem; color:var(--ink-2); margin:0; cursor:default}
.zc-stopts label.opt{cursor:pointer}
.zc-stopts .opt>span{flex:1; min-width:0}
.zc-stopts .opt>svg{width:16px; height:16px; flex:none}
.zc-stopts .zk-seg{flex:none}
.zc-stopts .zk-seg button{height:26px; min-height:26px; padding:0 8px; font-size:.78rem}
.zc-stft{flex:none; display:flex; align-items:center; gap:8px; padding:10px 14px; border-top:1px solid var(--line); background:var(--raise)}
.zc-stft .sp{flex:1}
.zc-stft .btn-link{font-size:.82rem}
/* the picker: everywhere, nine across, the kit's edges */
.zemo{width:380px; border-radius:12px; box-shadow:var(--zk-pop-sh); border-color:var(--line)}
body.zk .zemo .zemo-hd{height:32px; margin:8px 10px 4px; padding:0 10px; border-radius:var(--zk-r); background:var(--surface); border-color:var(--edge)}
.zemo-q::-webkit-search-cancel-button{display:none}
.zemo-tabs{padding:0 8px; gap:0}
.zemo-tabs button{height:30px; border-radius:0; filter:none; opacity:.72; border-bottom:2px solid transparent; font-size:.95rem}
.zemo-tabs button.on{background:none; opacity:1; border-bottom-color:var(--blue)}
.zemo-tabs button:hover{background:none}
.zemo-tabs button.on::after{display:none}
.zemo-row{grid-template-columns:repeat(9,1fr); gap:0}
.zemo-row button{font-size:1.2rem; border-radius:6px}
.zemo-row button:hover,.zemo-row button:focus-visible{transform:none}
.zemo-sec h4{font-size:.7rem; font-weight:700; letter-spacing:.04em; color:var(--ink-3)}
.zemo-ft{height:34px; padding:0 12px; background:none; border-top:1px solid var(--line-2); justify-content:flex-start}
.zemo-tones{display:inline-flex; gap:6px; flex:none}
.zemo-tones button{width:16px; height:16px; padding:0; border:0; border-radius:50%; cursor:pointer; box-shadow:0 0 0 1px var(--line)}
.zemo-tones button.on{box-shadow:0 0 0 2px var(--blue)}
.zemo-tones button:focus-visible{outline:2px solid var(--blue); outline-offset:2px}
.zemo-who{margin-left:auto; min-width:0; display:flex; align-items:center; gap:6px; overflow:hidden}
.zemo-ft .big{font-size:1.05rem}
.zemo-ft .nm{font-size:.76rem; font-weight:600; color:var(--ink-2)}
.zemo.inline{position:static; width:auto; max-width:none; height:auto; flex:1; min-height:0; max-height:none; border:0; border-radius:0; box-shadow:none; background:none}

/* the people card, and the menus' reaction row */
.zk-pop.zc-card{padding:0; width:300px; border-radius:12px; overflow:hidden}
.k-pcard{width:auto; border:0; border-radius:0; box-shadow:none; background:none}
.k-pcard .cov{height:44px; background:var(--raise); border-bottom:1px solid var(--line)}
.k-pcard .bd{margin-top:-24px}
.k-pcard .k-av.l{width:56px; height:56px; border-radius:14px; border:2px solid var(--surface)}
.k-pcard h4{font-size:.95rem; font-weight:700}
.k-pcard .acts .k-btn.g{width:34px}
.zc-reacts{display:flex; gap:2px; padding:4px 4px 6px; border-bottom:1px solid var(--line-2); margin-bottom:4px}
.zc-reacts button{flex:1; height:30px; border:0; border-radius:6px; background:none; cursor:pointer; font-size:1.05rem; display:grid; place-items:center; color:var(--ink-2)}
.zc-reacts button:hover{background:var(--zk-hover)}
.zc-reacts button svg{width:16px; height:16px}

/* a call: the same screen, flat; a full-screen ring stays full screen */
body.zk #slkCall.ringing{background:rgba(8,9,12,.86); -webkit-backdrop-filter:none; backdrop-filter:none}
body.zk .slk-call-min{background:rgba(255,255,255,.14); -webkit-backdrop-filter:none; backdrop-filter:none; box-shadow:none; border-radius:var(--zk-r); width:36px; height:36px}
body.zk .slk-call-min svg{width:18px; height:18px}
body.zk #slkCall .call-pill{background:#14161C; -webkit-backdrop-filter:none; backdrop-filter:none; box-shadow:var(--zk-pop-sh); border:1px solid rgba(255,255,255,.14); border-radius:12px}
body.zk #slkCall .cp-back,body.zk #slkCall .cp-end{border-radius:var(--zk-r); height:34px}
body.zk #slkCall .cp-end{width:34px}
body.zk .slk-call-tile{border-radius:10px}
body.zk .slk-call-active #slkCallLocal{border-radius:10px}
body.zk .slk-share-bar{border-radius:var(--zk-r)} body.zk .slk-share-bar button{border-radius:6px}
/* a glyph on a solid blue key is white */
body.zk.cx .cx-mark svg{color:#fff!important; --cg:#fff!important}
.k-compose svg.zg,.k-send svg.zg,.k-btn.p svg.zg{--cg:#fff!important}
/* the picker's row, tighter than the old list */
#mw .c-picklist .c-pick,.c-picklist label.c-pick{padding:5px 10px; border-bottom:0}
.slk-ri.msg{flex-direction:column; align-items:flex-start; gap:1px}
/* a room's title fits: its -6px margin left it 6px short of its own text */
.k-top{padding-left:12px} .k-top .k-title{margin-left:0}
/* a call covers the whole window, the top band too; white glyphs on its dark and coloured keys */
body.zk #slkCall:not([hidden]):not(.mini){z-index:1000}
body.zk #slkCall.ringing{background:rgba(8,9,12,.95)}
.slk-call-btn svg.zg,.slk-call-min svg.zg,#slkCall .cp-end svg.zg,#slkCall .cp-back svg.zg,.slk-share-bar svg.zg{--cg:#fff!important; color:#fff!important; stroke:#fff}
.slk-call-btn.ghost.on svg.zg{--cg:#111!important; color:#111!important; stroke:#111}
.slk-q-card .slk-q-in input{border:0!important; box-shadow:none!important; background:none!important; min-height:0; outline:0}
.zc-mem{padding-right:10px}
body.zk .zk-pop.zc-card{padding:0}
.k-pcard .cov{background:var(--raise)!important}
/* the composer's box is the frame; the text area inside it has none of its own */
.k-comp textarea,.k-comp textarea:focus{border:0!important; box-shadow:none!important; background:none!important; border-radius:0!important; outline:0}
/* ═══ END CONNECT AS APPROVED ═══ */

/* the short note beside “to fix” on pay so far */
.sf-chips .sf-fix{font-style:normal; font-size:.76rem; font-weight:600; color:var(--ink-2); align-self:center}

/* company rules */
body.zk .cr-card{margin-bottom:16px}
body.zk .cr-row{display:flex; gap:20px; align-items:center; justify-content:space-between; padding:14px 18px; border-top:1px solid var(--line)}
body.zk .cr-t{display:flex; flex-direction:column; gap:3px; min-width:0}
body.zk .cr-t b{font-weight:650; color:var(--ink)}
body.zk .cr-t span{font-size:.82rem; color:var(--ink-2)}
body.zk .cr-t .cr-zero{color:var(--ok-ink); font-weight:600}
body.zk .cr-t .cr-when{color:var(--ink-3); font-size:.76rem}
body.zk .cr-t .cr-text{white-space:pre-wrap}
body.zk .cr-c{flex:none}
body.zk .cr-num{display:inline-flex; align-items:center; gap:8px; font-size:.84rem; color:var(--ink-2)}
body.zk .cr-num input{width:84px; height:34px; text-align:right}
/* read-only rules (audit C-06): the controls are disabled and look it — muted, no blue, a not-allowed cursor — and the note is neutral, not red */
body.zk .cr-lock{cursor:not-allowed}
body.zk .cr-lock .zk-seg{background:var(--sunk); box-shadow:inset 0 0 0 1px var(--line-2); pointer-events:none}
body.zk .cr-lock .zk-seg button{cursor:not-allowed}
body.zk .cr-lock .zk-seg button:not(.on){opacity:.45}
body.zk .cr-lock .zk-seg button.on{background:none; color:var(--ink-2); box-shadow:inset 0 0 0 1px var(--line); font-weight:700}
body.zk:not(.no-kit) #view .cr-num input:disabled{background:var(--sunk)!important; color:var(--ink-2); border-color:var(--line-2)!important; box-shadow:none!important; cursor:not-allowed; -webkit-text-fill-color:var(--ink-2); opacity:1}
body.zk:not(.no-kit) .cr-ro{color:var(--ink-2)}
body.zk .cr-pad{padding:0 18px 10px}
body.zk .cr-mb{margin-bottom:14px}
/* a day's punch photos in the pane */
body.zk .pp-grid{display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:10px}
body.zk .pp-fig{margin:0; padding:0; border:0; background:none; text-align:left; cursor:pointer; color:inherit; font:inherit}
body.zk .pp-fig img{width:100%; aspect-ratio:3/4; object-fit:contain; border-radius:var(--zk-r); display:block; background:var(--raise)}
body.zk .pp-fig b{display:block; margin-top:6px; font-size:.82rem}
body.zk .pp-fig span{display:block; font-size:.76rem; color:var(--ink-2)}
body.zk .pp-big{width:100%; border-radius:var(--zk-r); display:block}
@media (max-width:640px){ body.zk .cr-row{flex-direction:column; align-items:flex-start} }
/* a pane with many actions wraps, nothing runs off the edge */
body.zk .mfoot{flex-wrap:wrap; row-gap:8px}

/* the office map: a full screen button over it */
.zo-mapwrap{position:relative}
body.zk .zo-mapwrap .zo-mapfull{position:absolute; top:10px; right:10px; z-index:900; background:var(--surface)!important}
.zo-mapwrap:fullscreen{background:var(--surface)}
.zo-mapwrap:fullscreen .zo-map{height:100vh!important; margin:0; border-radius:0}

/* Trends cards open their detail */
.card.an-open{cursor:pointer}
.card.an-open:hover{border-color:var(--blue)}
.card.an-open:focus-visible{outline:2px solid var(--blue); outline-offset:2px}

/* Insights page */
.ins-kpis{display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:4px; padding:10px}
.ins-kpi{all:unset; box-sizing:border-box; display:flex; flex-direction:column; gap:3px; padding:12px 14px; border-radius:12px; cursor:pointer}
.ins-kpi:hover{background:var(--line)} .ins-kpi:focus-visible{outline:2px solid var(--blue)}
.ins-kpi b{font-size:1.3rem; font-variant-numeric:tabular-nums; color:var(--ink)}
.ins-kpi-l{font-size:.82rem; color:var(--ink-2)} .ins-kpi-s{font-size:.76rem; color:var(--ink-3)}
.ins-card{scroll-margin-top:16px; min-width:0}
.ins-note{margin:4px 0 10px; font-size:.84rem; color:var(--ink-3)}
.ins-chart svg{display:block; margin-top:6px}
.ins-hit{fill:transparent} .ins-hit:hover{fill:var(--line)}
.ins-legend{display:flex; flex-wrap:wrap; gap:14px; margin-top:6px; font-size:.8rem; color:var(--ink-2)}
.ins-legend i{display:inline-block; width:10px; height:10px; border-radius:3px; margin-right:6px}
.ins-more{margin-top:10px; font-size:.84rem} .ins-more summary{cursor:pointer; color:var(--blue); font-weight:600}
.ins-more .zm-tw{margin-top:8px; overflow-x:auto}
.ins-row{all:unset; box-sizing:border-box; display:block; width:100%; padding:7px 6px; border-radius:8px; cursor:pointer}
.ins-row:hover{background:var(--line)} .ins-row:focus-visible{outline:2px solid var(--blue)}
.ins-row-t{display:flex; justify-content:space-between; gap:10px; font-size:.84rem; margin-bottom:5px; color:var(--ink)}
.ins-row-t b{white-space:nowrap; font-variant-numeric:tabular-nums} .ins-row-t small{font-weight:400; color:var(--ink-3)}
.ins-track{display:block; height:8px; border-radius:4px; background:var(--line); overflow:hidden}
.ins-track>span{display:block; height:100%; border-radius:4px; background:var(--blue)}
#insTip{position:fixed; z-index:9999; pointer-events:none; white-space:pre-line; font-size:.78rem; line-height:1.45; padding:7px 10px; border-radius:8px; background:var(--ink); color:var(--surface)}

/* ── HR › Learning (61-hr-learning.js) ── */
body.zk .hl2-back{display:inline-flex; align-items:center; gap:6px; margin:0 0 10px; font-weight:600}
body.zk .zp-sub{font-size:.78rem; color:var(--ink-3); margin-top:2px}
body.zk .hl2-mods{display:flex; flex-direction:column}
body.zk .hl2-mod{display:flex; align-items:center; gap:14px; padding:14px 18px; border-top:1px solid var(--line-2)}
body.zk .hl2-mod:first-child{border-top:0}
body.zk .hl2-mt{flex:1; min-width:0; display:flex; flex-direction:column; gap:3px}
body.zk .hl2-mt b{font-weight:650; color:var(--ink)}
body.zk .hl2-mt > span{font-size:.82rem; color:var(--ink-3)}
body.zk .hl2-mt .hl2-st{display:flex; gap:6px; flex-wrap:wrap; margin-top:2px}
body.zk .hl2-ma{display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end}
body.zk .hl2-up{position:relative; cursor:pointer; display:inline-flex; align-items:center; gap:6px}
body.zk .hl2-up input[type=file]{position:absolute; width:1px; height:1px; opacity:0; pointer-events:none}
body.zk .hl2-up:focus-within{outline:2px solid var(--blue); outline-offset:2px}
body.zk .hl2-empty{padding:8px 18px 18px}
body.zk .hl2-desc{padding:0 18px 16px; margin:0}
body.zk .hl2-assign{margin-top:14px; display:flex; flex-direction:column; gap:6px}
body.zk .hl2-hits{max-height:220px; overflow-y:auto; margin-top:6px}
@media (max-width:720px){ body.zk .hl2-mod{flex-wrap:wrap} body.zk .hl2-ma{width:100%; justify-content:flex-start} }

/* ═══════════  MODULE TINT (owner, 9 Nov)  ═══════════
   Each module's cards take a light tint of that module's own colour (the
   cat-* tile colour): the page root carries data-mod="<category>" (console
   #view from zkPageCat, web app #viewport from SCREEN_TILE) and the card
   surface and edge come from --mt-<cat> / --mt-<cat>-edge
   (docs/DESIGN-TOKENS.md, "Module tint"). Body text and captions clear
   4.5:1 on every tint in both themes; the edge clears 1.6:1 on the card.
   Stat cards with their own tint-* keep it; pop-up panels stay flat.
   Day mode (owner, 9 Nov, later): one cream-white card for every module,
   --mt-day / --mt-day-edge. Dark mode (owner, 9 Nov, later): no tint at all,
   cards keep the plain night surface, so the card rules sit in a light-only
   query (a pinned theme rewrites it like every other colour-scheme rule). */
:root{
  --mt-day:#FBF8F1; --mt-day-edge:#D2C6AE;
  --mt-about:var(--mt-day); --mt-about-edge:var(--mt-day-edge); --mt-alert:var(--mt-day); --mt-alert-edge:var(--mt-day-edge); --mt-approvals:var(--mt-day); --mt-approvals-edge:var(--mt-day-edge);
  --mt-birthday:var(--mt-day); --mt-birthday-edge:var(--mt-day-edge); --mt-compliance:var(--mt-day); --mt-compliance-edge:var(--mt-day-edge); --mt-connect:var(--mt-day); --mt-connect-edge:var(--mt-day-edge);
  --mt-docs:var(--mt-day); --mt-docs-edge:var(--mt-day-edge); --mt-expense:var(--mt-day); --mt-expense-edge:var(--mt-day-edge); --mt-festival:var(--mt-day); --mt-festival-edge:var(--mt-day-edge);
  --mt-helpdesk:var(--mt-day); --mt-helpdesk-edge:var(--mt-day-edge); --mt-hiring:var(--mt-day); --mt-hiring-edge:var(--mt-day-edge); --mt-learning:var(--mt-day); --mt-learning-edge:var(--mt-day-edge);
  --mt-leave:var(--mt-day); --mt-leave-edge:var(--mt-day-edge); --mt-meetings:var(--mt-day); --mt-meetings-edge:var(--mt-day-edge); --mt-milestone:var(--mt-day); --mt-milestone-edge:var(--mt-day-edge);
  --mt-notify:var(--mt-day); --mt-notify-edge:var(--mt-day-edge); --mt-onboarding:var(--mt-day); --mt-onboarding-edge:var(--mt-day-edge); --mt-overview:var(--mt-day); --mt-overview-edge:var(--mt-day-edge);
  --mt-pay:var(--mt-day); --mt-pay-edge:var(--mt-day-edge); --mt-people:var(--mt-day); --mt-people-edge:var(--mt-day-edge); --mt-policy:var(--mt-day); --mt-policy-edge:var(--mt-day-edge);
  --mt-privacy:var(--mt-day); --mt-privacy-edge:var(--mt-day-edge); --mt-security:var(--mt-day); --mt-security-edge:var(--mt-day-edge); --mt-settings:var(--mt-day); --mt-settings-edge:var(--mt-day-edge);
  --mt-tax:var(--mt-day); --mt-tax-edge:var(--mt-day-edge); --mt-time:var(--mt-day); --mt-time-edge:var(--mt-day-edge); --mt-travel:var(--mt-day); --mt-travel-edge:var(--mt-day-edge);
}
[data-mod="about"]{--mod-card:var(--mt-about); --mod-edge:var(--mt-about-edge)}
[data-mod="alert"]{--mod-card:var(--mt-alert); --mod-edge:var(--mt-alert-edge)}
[data-mod="approvals"]{--mod-card:var(--mt-approvals); --mod-edge:var(--mt-approvals-edge)}
[data-mod="birthday"]{--mod-card:var(--mt-birthday); --mod-edge:var(--mt-birthday-edge)}
[data-mod="compliance"]{--mod-card:var(--mt-compliance); --mod-edge:var(--mt-compliance-edge)}
[data-mod="connect"]{--mod-card:var(--mt-connect); --mod-edge:var(--mt-connect-edge)}
[data-mod="docs"]{--mod-card:var(--mt-docs); --mod-edge:var(--mt-docs-edge)}
[data-mod="expense"]{--mod-card:var(--mt-expense); --mod-edge:var(--mt-expense-edge)}
[data-mod="festival"]{--mod-card:var(--mt-festival); --mod-edge:var(--mt-festival-edge)}
[data-mod="helpdesk"]{--mod-card:var(--mt-helpdesk); --mod-edge:var(--mt-helpdesk-edge)}
[data-mod="hiring"]{--mod-card:var(--mt-hiring); --mod-edge:var(--mt-hiring-edge)}
[data-mod="learning"]{--mod-card:var(--mt-learning); --mod-edge:var(--mt-learning-edge)}
[data-mod="leave"]{--mod-card:var(--mt-leave); --mod-edge:var(--mt-leave-edge)}
[data-mod="meetings"]{--mod-card:var(--mt-meetings); --mod-edge:var(--mt-meetings-edge)}
[data-mod="milestone"]{--mod-card:var(--mt-milestone); --mod-edge:var(--mt-milestone-edge)}
[data-mod="notify"]{--mod-card:var(--mt-notify); --mod-edge:var(--mt-notify-edge)}
[data-mod="onboarding"]{--mod-card:var(--mt-onboarding); --mod-edge:var(--mt-onboarding-edge)}
[data-mod="overview"]{--mod-card:var(--mt-overview); --mod-edge:var(--mt-overview-edge)}
[data-mod="pay"]{--mod-card:var(--mt-pay); --mod-edge:var(--mt-pay-edge)}
[data-mod="people"]{--mod-card:var(--mt-people); --mod-edge:var(--mt-people-edge)}
[data-mod="policy"]{--mod-card:var(--mt-policy); --mod-edge:var(--mt-policy-edge)}
[data-mod="privacy"]{--mod-card:var(--mt-privacy); --mod-edge:var(--mt-privacy-edge)}
[data-mod="security"]{--mod-card:var(--mt-security); --mod-edge:var(--mt-security-edge)}
[data-mod="settings"]{--mod-card:var(--mt-settings); --mod-edge:var(--mt-settings-edge)}
[data-mod="tax"]{--mod-card:var(--mt-tax); --mod-edge:var(--mt-tax-edge)}
[data-mod="time"]{--mod-card:var(--mt-time); --mod-edge:var(--mt-time-edge)}
[data-mod="travel"]{--mod-card:var(--mt-travel); --mod-edge:var(--mt-travel-edge)}
@media (prefers-color-scheme:light){
body.zk:not(.no-kit):not(.cx) #view[data-mod] :is(.card,.tbl-wrap,.zk-card):not([class*="tint-"]):not(.hero-card){background:var(--mod-card)!important; border-color:var(--mod-edge)!important}
/* the money, owner-insight, settings and stats surfaces (zm-/za-/zo-, the stats strip) were still white (sweep 9 Nov) */
body.zk:not(.no-kit):not(.cx) #view[data-mod] :is(.zm-card,.za-card,.za-figs,.zk-stats,.zo-nav,.zm-do,.zm-tw:not(.flat),.zo-set-tabs .ptabs):not([class*="tint-"]):not(.hero-card){background:var(--mod-card)!important; border-color:var(--mod-edge)!important}
body.zk:not(.no-kit):not(.cx) #view[data-mod] .card .tbl-wrap{border-color:var(--mod-edge)!important}
}
/* a phone: each table row is its own card, so it takes the same cream card and edge (sweep 9 Nov) */
@media (prefers-color-scheme:light) and (max-width:640px){
body.zk:not(.no-kit):not(.cx) #view[data-mod] .tbl tr{background:var(--mod-card); box-shadow:none; border:1px solid var(--mod-edge)}
body.zk:not(.no-kit):not(.cx) #view[data-mod] .tbl tr.sl-gr{background:none; border:0}
}

/* ═══════════  ORGANISATION INSIGHTS — design C "Scorecards and tabs" (owner, 9 Nov 2026)  ═══════════
   src/console/62-insights-scorecards.js; docs/design/insights-samples/c-scorecards.html.
   Cards are .card, so day mode gets the one cream-white card (MODULE TINT above) and
   dark mode the plain night surface. Chart colours: the sample kit's series. */
body.zk .isc{--isc-c1:#0B63CE; --isc-c2:#E0663F; --isc-c3:#7A4FD8; --isc-c4:#00939A; --isc-c5:#C77700; --isc-cn:#9A9CA8;
  --isc-s1:#C4D9F4; --isc-s2:#8DB6EA; --isc-s3:#4F8EDD; --isc-s4:#0B63CE; --isc-s5:#08468F;
  --isc-grid:#E1DCCF; --isc-tick:#5C5C66; --isc-sep:var(--mod-edge, var(--line)); --isc-wash:rgba(11,99,206,.07); --isc-track:#ECE7DA}
@media (prefers-color-scheme:dark){ body.zk .isc{--isc-c1:#4C8DF0; --isc-c2:#E07A4C; --isc-c3:#A585F2; --isc-c4:#1FB0B5; --isc-c5:#E0A030; --isc-cn:#767888;
  --isc-s1:#22406B; --isc-s2:#2F5C9C; --isc-s3:#4580D2; --isc-s4:#6AA3F4; --isc-s5:#A9CBFB;
  --isc-grid:#2C3040; --isc-tick:#A1A1AA; --isc-sep:var(--line); --isc-wash:rgba(120,160,255,.10); --isc-track:#2C3040} }
body.zk .isc .zk-tabs{margin-bottom:18px}
body.zk .isc-g{display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:16px; align-items:stretch}
body.zk .isc-s4{grid-column:span 4} body.zk .isc-s5{grid-column:span 5} body.zk .isc-s6{grid-column:span 6} body.zk .isc-s7{grid-column:span 7} body.zk .isc-s8{grid-column:span 8} body.zk .isc-s12{grid-column:span 12}
@media (max-width:1180px){ body.zk .isc-s4{grid-column:span 6} body.zk .isc-s5,body.zk .isc-s7,body.zk .isc-s8{grid-column:span 12} body.zk #isc-attention{grid-column:span 12} }
@media (max-width:760px){ body.zk .isc-g > *{grid-column:span 12!important} }
body.zk:not(.no-kit) .isc .card.isc-c{padding:0; display:flex; flex-direction:column; min-width:0; scroll-margin-top:16px}
body.zk .isc-hd{display:flex; align-items:center; gap:10px; padding:14px 16px 4px}
body.zk .isc-ht{min-width:0}
body.zk .isc-hd h3{margin:0; font-size:.95rem; line-height:1.25; color:var(--ink)}
body.zk .isc-hd p{margin:1px 0 0; color:var(--ink-3); font-size:.8rem}
body.zk .isc-r{margin-left:auto; display:flex; gap:8px; align-items:center; flex:none}
body.zk .isc-bd{padding:8px 16px 14px; flex:1; display:flex; flex-direction:column; min-height:0; min-width:0}
body.zk .isc-ft{display:flex; align-items:center; gap:10px; padding:10px 16px; border-top:1px solid var(--isc-sep); font-size:.82rem; color:var(--ink-3); margin-top:auto}
body.zk .isc-lnk{display:inline-flex; align-items:center; gap:4px; font-size:.85rem}
body.zk .isc-lnk .zk-i{width:15px; height:15px}
body.zk .isc-none{margin:6px 0; color:var(--ink-3); font-size:.86rem; display:flex; align-items:center; gap:8px}
body.zk .isc-mute{color:var(--ink-3)}
body.zk .isc-warn{color:var(--warn-ink)}
/* score cards */
body.zk .isc-sc{cursor:pointer; transition:box-shadow .15s, transform .15s}
body.zk .isc-sc:hover{box-shadow:0 2px 4px rgba(20,30,60,.06), 0 10px 24px -10px rgba(20,30,60,.25)}
body.zk .isc-sc:focus-visible{outline:2px solid var(--blue); outline-offset:2px}
body.zk .isc-sc.isc-lock{cursor:default}
body.zk .isc-sc .isc-hd{padding-bottom:0}
body.zk .isc-go{margin-left:auto; width:16px; height:16px}
body.zk .isc-top{display:flex; align-items:baseline; gap:10px; margin-top:4px; flex-wrap:wrap}
body.zk .isc-v{font-size:2rem; font-weight:800; letter-spacing:-.025em; font-variant-numeric:tabular-nums; color:var(--ink); line-height:1.15}
body.zk .isc-what{font-size:.84rem; color:var(--ink-2); margin:2px 0 6px}
body.zk .isc-what b{color:var(--ink)}
body.zk .isc-ends{display:flex; justify-content:space-between; font-size:.72rem; color:var(--ink-3); margin-top:2px}
body.zk .isc-d{display:inline-flex; align-items:center; height:20px; padding:0 8px; border-radius:999px; font-size:.72rem; font-weight:700; white-space:nowrap}
body.zk .isc-d.up{background:var(--warn-soft); color:var(--warn-ink)} body.zk .isc-d.dn{background:var(--go-soft); color:var(--go-ink)}
body.zk .isc-d.flat{background:var(--sunk); color:var(--ink-2); border:1px solid var(--line-2)}
body.zk .isc-un{display:flex; flex-direction:column; gap:4px; margin-top:4px}
body.zk .isc-unr{all:unset; box-sizing:border-box; cursor:pointer; display:grid; grid-template-columns:minmax(0,84px) minmax(0,1fr) 40px; gap:10px; align-items:center; font-size:.84rem; padding:4px 6px; border-radius:8px; color:var(--ink)}
body.zk .isc-unr:hover{background:var(--isc-wash)} body.zk .isc-unr:focus-visible{outline:2px solid var(--blue)}
body.zk .isc-unr span:first-child{white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
body.zk .isc-unr b{text-align:right; font-variant-numeric:tabular-nums}
body.zk .isc-unr .tr,body.zk .isc-rk .tr{height:10px; border-radius:5px; background:var(--isc-track); overflow:hidden; display:block}
body.zk .isc-unr .tr i{display:block; height:100%; border-radius:5px; background:var(--isc-c2)}
/* charts */
body.zk svg.isc-ch{display:block; width:100%; height:auto; overflow:visible}
body.zk svg.isc-ch text{font:500 11px var(--sans, inherit); fill:var(--isc-tick)}
body.zk svg.isc-ch text.isc-yr{font-size:10px; font-weight:700}
body.zk svg.isc-ch .isc-gl{stroke:var(--isc-grid); stroke-width:1}
body.zk svg.isc-ch .isc-hit{fill:transparent; cursor:pointer}
body.zk svg.isc-ch .isc-hit:hover{fill:var(--isc-wash)}
body.zk svg.isc-ch .isc-end{stroke:var(--surface); stroke-width:2}
body.zk svg.isc-ch .isc-ghost{fill:none; stroke:var(--warn); stroke-width:1.5; stroke-dasharray:3 3}
body.zk svg.isc-ch text.isc-ghost-t{fill:var(--warn-ink); font-weight:700; font-size:10px}
body.zk .isc-legend{display:flex; flex-wrap:wrap; gap:6px 14px; font-size:.78rem; color:var(--ink-2); margin-top:8px}
body.zk .isc-legend span{display:inline-flex; align-items:center; gap:6px}
body.zk .isc-legend b{color:var(--ink); margin-left:2px}
body.zk .isc-legend i{width:10px; height:10px; border-radius:3px; display:inline-block; flex:none}
body.zk .isc-tip{position:fixed; z-index:90; pointer-events:none; background:var(--raise); color:var(--ink); border:1px solid var(--line); border-radius:10px; box-shadow:0 8px 24px -8px rgba(0,0,0,.35); padding:8px 10px; font-size:.8rem; max-width:280px; display:flex; flex-direction:column; gap:1px}
body.zk .isc-tip[hidden]{display:none}
body.zk .isc-tip b{margin-bottom:2px}
body.zk .isc-tip span{color:var(--ink-2)} body.zk .isc-tip span.go{color:var(--blue-ink); font-weight:600; margin-top:3px}
/* 100% strips and ranked rows */
body.zk .isc-strip{display:flex; gap:2px; height:14px; border-radius:7px; overflow:hidden}
body.zk .isc-strip i{display:block; height:100%; cursor:pointer; min-width:4px}
body.zk .isc-strip i:hover{filter:brightness(1.1)} body.zk .isc-strip i:focus-visible{outline:2px solid var(--ink); outline-offset:-2px}
body.zk .isc-rank{display:flex; flex-direction:column; gap:2px}
body.zk .isc-rk{all:unset; box-sizing:border-box; width:100%; cursor:pointer; display:grid; grid-template-columns:minmax(0,110px) minmax(0,1fr) auto; gap:10px; align-items:center; padding:6px; border-radius:8px; font-size:.86rem; color:var(--ink)}
body.zk .isc-rk:hover{background:var(--isc-wash)} body.zk .isc-rk:focus-visible{outline:2px solid var(--blue)}
body.zk .isc-rk .nm{white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
body.zk .isc-rk .tr i{display:block; height:100%; border-radius:5px}
body.zk .isc-rk .n{text-align:right; font-weight:700; font-variant-numeric:tabular-nums; min-width:34px}
body.zk .isc-rk .p{text-align:right; color:var(--ink-3); font-size:.8rem; font-variant-numeric:tabular-nums; min-width:46px}
body.zk .isc-rk2{grid-template-columns:minmax(0,1fr) 44px 44px 56px}
body.zk .isc-rk2 .n.go{color:var(--go-ink)} body.zk .isc-rk2 .n.stop{color:var(--stop-ink)}
/* who makes up the organisation */
body.zk .isc-cmp{display:grid; grid-template-columns:160px minmax(0,1fr); gap:0 18px}
body.zk .isc-cmp > div{padding:14px 0; border-bottom:1px solid var(--isc-sep)}
body.zk .isc-cmp > div:nth-last-child(-n+2){border-bottom:0}
body.zk .isc-cmp .k{display:flex; align-items:flex-start; gap:10px}
body.zk .isc-cmp .k b{display:block; font-size:.88rem; color:var(--ink)} body.zk .isc-cmp .k small{display:block; color:var(--ink-3); font-size:.76rem; margin-top:1px}
body.zk .isc-cmp .v{min-width:0}
body.zk .isc-cmp .isc-lnk{margin-top:8px}
body.zk .isc-cmp .one{display:flex; align-items:center; gap:10px; color:var(--ink-2); font-size:.86rem; min-height:32px; margin:0; flex-wrap:wrap}
body.zk .isc-cmp .one .isc-bulk{margin-left:auto}
body.zk .isc-after{margin-top:8px}
/* needs attention */
body.zk .isc-att{display:flex; flex-direction:column; padding:4px 0}
body.zk .isc-at{all:unset; box-sizing:border-box; cursor:pointer; display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:12px; align-items:center; padding:12px 16px; border-bottom:1px solid var(--isc-sep); color:var(--ink)}
body.zk .isc-at:last-child{border-bottom:0}
body.zk .isc-at:hover{background:var(--isc-wash)} body.zk .isc-at:focus-visible{outline:2px solid var(--blue); outline-offset:-2px}
body.zk .isc-at b{display:block; font-size:.88rem} body.zk .isc-at small{display:block; color:var(--ink-3); font-size:.78rem; margin-top:1px}
body.zk .isc-att .isc-none{padding:8px 16px}
body.zk .isc-dot{width:8px; height:8px; border-radius:50%; background:var(--isc-cn)}
body.zk .isc-dot.warn{background:var(--warn)} body.zk .isc-dot.blue{background:var(--isc-c1)} body.zk .isc-dot.stop{background:var(--stop)}
body.zk .isc-filled{margin-top:auto; padding:12px 16px 14px; border-top:1px solid var(--isc-sep)}
body.zk .isc-filled h4{margin:0 0 8px; font-size:.72rem; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3)}
body.zk .isc-filled .isc-rk{grid-template-columns:90px minmax(0,1fr) 44px}
/* tab pages: KPI strip, tables, notes */
body.zk:not(.no-kit) .isc .card.isc-kpis{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); flex-direction:row}
body.zk .isc-kpi{all:unset; box-sizing:border-box; cursor:pointer; padding:14px 16px; display:flex; flex-direction:column; gap:2px; border-right:1px solid var(--isc-sep); min-width:0}
body.zk .isc-kpi:last-child{border-right:0}
body.zk .isc-kpi:hover{background:var(--isc-wash)} body.zk .isc-kpi:focus-visible{outline:2px solid var(--blue); outline-offset:-2px}
body.zk .isc-kpi[disabled]{cursor:default} body.zk .isc-kpi[disabled]:hover{background:none}
body.zk .isc-kpi .tl{display:flex; align-items:center; gap:8px; color:var(--ink-2); font-size:.8rem; font-weight:600}
body.zk .isc-kpi b{font-size:1.5rem; font-weight:800; letter-spacing:-.02em; line-height:1.15; margin-top:8px; font-variant-numeric:tabular-nums; color:var(--ink)}
body.zk .isc-kpi .sub{font-size:.76rem; color:var(--ink-3)}
@media (max-width:900px){ body.zk:not(.no-kit) .isc .card.isc-kpis{grid-template-columns:repeat(2,minmax(0,1fr))} body.zk .isc-kpi:nth-child(2){border-right:0} body.zk .isc-kpi:nth-child(-n+2){border-bottom:1px solid var(--isc-sep)} }
body.zk .isc-tw{overflow-x:auto; margin:0 -16px -14px}
body.zk .isc-t{width:100%}
body.zk .isc-t th,body.zk .isc-t td{white-space:nowrap; padding:9px 16px}
body.zk .isc-t th.r,body.zk .isc-t td.r{text-align:right}
body.zk .isc-t td.num{font-variant-numeric:tabular-nums}
body.zk .isc-t tr.isc-on td{background:color-mix(in srgb, var(--blue) 12%, transparent); box-shadow:inset 0 1px 0 var(--blue), inset 0 -1px 0 var(--blue)}
body.zk .isc-t tr.isc-pend td{background:color-mix(in srgb, var(--warn) 8%, transparent)}
body.zk .isc-t td .isc-lnk{margin-left:10px}
body.zk .isc-note{display:flex; align-items:center; flex-wrap:wrap; gap:8px 14px; padding:10px 14px; border-radius:12px; border:1px dashed var(--warn); background:color-mix(in srgb, var(--warn) 8%, transparent); font-size:.85rem; color:var(--ink-2)}
body.zk .isc-note b{color:var(--warn-ink)}
/* custom span and bulk edit */
body.zk .isc-span{display:flex; gap:16px; flex-wrap:wrap}
body.zk .isc-span label{display:flex; flex-direction:column; gap:6px; font-size:.82rem; color:var(--ink-2); font-weight:600}
body.zk .isc-bulk-w{max-width:1180px; margin:0 auto; padding:8px 24px 32px; display:flex; flex-direction:column; gap:12px}
body.zk .isc-bulk-w .zk-tabs{margin-bottom:0}
body.zk:not(.no-kit) .isc-bulk-card.card{padding:0; overflow:auto}
body.zk .isc-bt{width:100%}
body.zk .isc-bt th,body.zk .isc-bt td{padding:8px 14px; vertical-align:middle}
body.zk .isc-bt .ck{width:1%}
body.zk .isc-bt input[type=checkbox]{width:16px; height:16px; accent-color:var(--blue)}
body.zk .isc-bt tr.isc-chg td{background:color-mix(in srgb, var(--blue) 7%, transparent)}
body.zk .isc-what b.isc-warn{color:var(--warn-ink)}
body.zk .isc-two{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px 28px}
@media (max-width:900px){ body.zk .isc-two{grid-template-columns:minmax(0,1fr)} }
body.zk .isc-tm{position:relative}
body.zk .isc-tmc{all:unset; position:absolute; box-sizing:border-box; border-radius:8px; padding:6px 8px; cursor:pointer; display:flex; flex-direction:column; justify-content:space-between; overflow:hidden; font-size:.78rem; line-height:1.2;
  background:color-mix(in srgb, var(--isc-c1) var(--mix), var(--surface)); color:var(--ink)}
body.zk .isc-tmc.dk{color:#fff}
body.zk .isc-tmc span{font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
body.zk .isc-tmc b{font-size:1rem; font-weight:800; font-variant-numeric:tabular-nums}
body.zk .isc-tmc:hover{filter:brightness(1.07)} body.zk .isc-tmc:focus-visible{outline:2px solid var(--blue); outline-offset:1px}

/* ═════ OWNER PAGES IN THE INSIGHTS KIT (10 Nov) ═════
   Overview, Workforce, People cost, Talent, Risk & compliance, Today and Plan &
   billing use the Insights scorecard pieces (.isc-*): the figure strip takes
   three or four figures; the "Right now" summary keeps its lines. */
body.zk:not(.no-kit) .isc .card.isc-kpis.isc-k3{grid-template-columns:repeat(3,minmax(0,1fr))}
body.zk:not(.no-kit) .isc .card.isc-kpis.isc-k2{grid-template-columns:repeat(2,minmax(0,1fr))}
body.zk .isc-kpi[onclick=""]{cursor:default} body.zk .isc-kpi[onclick=""]:hover{background:none}
body.zk .cxo .za-chart{padding:4px 0 0}
body.zk .cxo .isc-tcard .isc-bd{padding-bottom:14px}
body.zk .cxo .isc-t tr.za-total td{font-weight:800; border-top:1px solid var(--isc-sep)}
body.zk .cxo-sum{margin:4px 0 0}
body.zk .cxo-sum .za-top{padding:8px 16px 12px}
body.zk .cxo .isc-ft .zk-i{width:16px; height:16px; color:var(--ok-ink, var(--go))}
@media (max-width:900px){ body.zk:not(.no-kit) .isc .card.isc-kpis.isc-k3{grid-template-columns:repeat(2,minmax(0,1fr))} body.zk .isc-k3 .isc-kpi:nth-child(3){grid-column:span 2; border-right:0} }
body.zk .isc-dot.go{background:var(--go)}
body.zk .cxo .isc-g.cxo-top{align-items:start}

/* ═════ PHONE WIDTH: strips and filter bars scroll sideways (owner, 10 Nov) ═════
   At 640px and under, a stat strip (tl-strip, zk-stats, za-figs, the Insights
   figure strip) is one row of chips that scrolls sideways instead of squeezing
   its labels into ellipses; a filter bar keeps the search box and lets its
   chips scroll beside it. Nothing makes the page itself wider. */
@media (max-width:640px){
  body.zk:not(.no-kit) .tl-strip, body.zk .zk-stats, body.zk:not(.no-kit) .za-figs,
  body.zk:not(.no-kit) .isc .card.isc-kpis, body.zk:not(.no-kit) .isc .card.isc-kpis.isc-k3, body.zk:not(.no-kit) .isc .card.isc-kpis.isc-k2{
    display:flex!important; flex-wrap:nowrap; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x proximity; scrollbar-width:none; -webkit-overflow-scrolling:touch; max-width:100%}
  body.zk:not(.no-kit) .tl-strip::-webkit-scrollbar, body.zk .zk-stats::-webkit-scrollbar, body.zk:not(.no-kit) .za-figs::-webkit-scrollbar, body.zk .isc-kpis::-webkit-scrollbar{display:none}
  body.zk:not(.no-kit) .tl-strip > *, body.zk .zk-stats > *, body.zk:not(.no-kit) .za-figs > *, body.zk .isc-kpis > .isc-kpi{
    flex:0 0 auto; min-width:118px; max-width:220px; scroll-snap-align:start; grid-column:auto!important; border-bottom:0!important}
  body.zk .isc-kpis > .isc-kpi{min-width:150px; border-right:1px solid var(--isc-sep)!important}
  body.zk .isc-kpis > .isc-kpi:last-child{border-right:0!important}
  body.zk:not(.no-kit) .tl-strip span, body.zk .zk-stat .k, body.zk:not(.no-kit) .za-fig .k, body.zk .isc-kpi .tl{overflow:visible; text-overflow:clip; white-space:nowrap}
  body.zk:not(.no-kit) .zk-fbar{flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; padding-bottom:2px}
  body.zk:not(.no-kit) .zk-fbar::-webkit-scrollbar{display:none}
  body.zk:not(.no-kit) .zk-fbar > *{flex:0 0 auto}
  body.zk:not(.no-kit) .zk-fbar .zk-fin, body.zk:not(.no-kit) .tl-card > .zk-fbar .zk-fin{flex:0 0 min(220px, 62vw); width:auto; min-width:0}
  body.zk:not(.no-kit) .zk-fbar .sp{flex:0 0 4px}
}
@media (max-width:640px){
  body.zk .isc-hd{flex-wrap:wrap; row-gap:4px}
  body.zk .isc-ht{flex:1 1 170px}
  body.zk .isc-hd .isc-r{margin-left:46px; flex-basis:100%}
}

/* ═════════  PHONE CARDS: THE CHEVRON SITS IN THE CORNER  ═════════
   Below 640 a table row is a card (see "phones: tables become stacked cards"). A last
   cell that holds only the chevron used to take a line of its own; it now sits at the
   card's top right, beside the first line. Cells with actions keep their own line. */
@media (max-width:640px){
  body.zk .tbl tr{position:relative}
  body.zk .tbl td.tl-chev:not(:has(.zk-qa)),
  body.zk .tbl td.zk-chev-c:not(:has(.zk-act :is(button,a,.btn))),
  body.zk .tbl td.row-chev, body.zk .tbl td.zm-chev{position:absolute!important; top:16px; right:14px; width:auto!important; display:block!important; padding:0!important; border:0!important; line-height:0; pointer-events:none}
  body.zk .tbl td.zk-chev-c:not(:has(.zk-act :is(button,a,.btn))) .zk-act{display:none}
  body.zk .tbl tr:has(> td.tl-chev:not(:has(.zk-qa))) > td:first-child,
  body.zk .tbl tr:has(> td.zk-chev-c:not(:has(.zk-act :is(button,a,.btn)))) > td:first-child,
  body.zk .tbl tr:has(> td.row-chev) > td:first-child, body.zk .tbl tr:has(> td.zm-chev) > td:first-child{padding-right:26px}
  /* a card has no hover: its quick actions show, rather than leave an empty line */
  body.zk:not(.no-kit) .tbl .zk-qa{opacity:1}
  /* a last cell sized to its content on desktop (width:1%) spans the card here */
  body.zk:not(.no-kit) .tbl td:last-child, body.zk:not(.no-kit) .zh-tw .tbl td:last-child, body.zk:not(.no-kit) .tbl td.tl-chev{width:100%; text-align:left}
  body.zk:not(.no-kit) .tbl .zk-qa{justify-content:flex-start; flex-wrap:wrap}
  /* a group heading (Offer · 1) reads as a heading over its cards, not a card of its own */
  body.zk .tbl tr.zk-gr{background:none!important; box-shadow:none!important; border:0!important; padding:0; margin:4px 0 6px}
  body.zk:not(.no-kit) .tbl tr.zk-gr td{display:block; width:100%; background:none; border:0; padding:4px 4px 0}
}

/* ═════════  PAYROLL STEPS OPEN  ═════════
   Each step of the pay run is clickable (57-money-payroll.js, ZC.zmStepOpen): the current one
   brings its actions into view, a done one shows what happened, a later one says why it waits. */
body.zk:not(.no-kit) .zm-steps > li[data-step]{cursor:pointer; transition:background-color .15s ease}
body.zk:not(.no-kit) .zm-steps > li[data-step]:hover{background:color-mix(in srgb, var(--blue) 5%, transparent)}
body.zk:not(.no-kit) .zm-steps > li[data-step]:focus-visible{outline:2.5px solid var(--focus); outline-offset:-3px}
body.zk:not(.no-kit) .zm-steps > li[data-step] .open{cursor:auto}
body.zk:not(.no-kit) .zm-steps > li.zm-flash{background:color-mix(in srgb, var(--blue) 10%, transparent)}

/* ═════════  A RECORD AS A FULL PAGE: an exit (#/h_exits/<id>), a team member (#/m_team/<id>)  ═════════
   Back link, the person with their status, four figures, the steps in a card, then bars.
   Same pieces as Learning's course page and Payroll (zk-stats, zm-card, zm-pr). */
body.zk .ex-who{display:flex; align-items:center; gap:14px; min-width:0}
body.zk .ex-who .zk-avt{width:48px; height:48px; font-size:1rem; flex:none}
body.zk .ex-who .page-s{display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px}
body.zk .ex-pad{padding:4px 18px 16px}
body.zk .ex-pr .zm-card{margin-bottom:16px}
body.zk .ex-bars{display:grid; gap:10px}
body.zk .ex-bar{display:grid; grid-template-columns:minmax(110px,32%) minmax(0,1fr) auto; gap:12px; align-items:center; font-size:.86rem}
body.zk .ex-bl{color:var(--ink-2)}
body.zk .ex-bar b{min-width:80px; text-align:right; font-variant-numeric:tabular-nums; color:var(--ink)}
body.zk .ex-bar.ex-tot{border-top:1px solid var(--line); padding-top:10px; font-weight:700}
body.zk .ex-bar.ex-tot .ex-bl{color:var(--ink); font-weight:700}
body.zk .ins-track > .ex-go{background:var(--go)}
body.zk .ins-track > .ex-stop{background:var(--stop)}
body.zk .ins-track > .ex-info{background:var(--info)}
body.zk .ins-track > .ex-warn{background:var(--warn)}
body.zk .ex-clr{display:flex; flex-wrap:wrap; gap:8px; margin-top:12px}
body.zk .ex-cl{display:inline-flex; align-items:center; gap:6px; padding:4px 10px; border-radius:999px; font-size:.8rem; font-weight:600; background:var(--warn-soft); color:var(--warn-ink)}
body.zk .ex-cl.on{background:var(--go-soft); color:var(--go-ink)}
body.zk .ex-cl svg{width:14px; height:14px}
body.zk .ex-pad .zw-q{margin:12px 0 0; color:var(--ink-2); font-size:.86rem}
body.zk .ex-pad .zw-steps{margin-top:8px}
body.zk .tm-week{display:grid; grid-template-columns:repeat(auto-fill, minmax(26px, 1fr)); gap:4px}
@media (max-width:640px){
  body.zk .ex-ph{flex-direction:column; align-items:flex-start; gap:12px}
  body.zk .ex-ph > *{flex:0 0 auto!important}
  body.zk .ex-bar{grid-template-columns:minmax(90px,38%) minmax(0,1fr) auto; gap:8px}
  body.zk .ex-bar b{min-width:0}
}
body.zk .tm-chart .ins-chart{max-width:620px}
body.zk .tm-cal .tl-cal{max-width:440px}

/* letters made in Zolt (62-letters.js) */
.lt-pick{display:flex; flex-direction:column; gap:8px; max-height:220px; overflow:auto; padding:10px; border:1px solid var(--line-2); border-radius:10px}
.lt-pick b{display:block; font-size:.78rem; color:var(--ink-3); margin-bottom:4px; letter-spacing:.02em}
.lt-chip{display:inline-block; margin:0 6px 6px 0; padding:4px 10px; border-radius:999px; border:1px solid var(--line-2); background:var(--blue-soft); color:var(--blue-ink); font:inherit; font-size:.82rem; cursor:pointer}
.lt-chip:hover,.lt-chip:focus-visible{border-color:var(--blue)}
.lt-body{font-family:inherit; line-height:1.5; min-height:280px}
.lt-ask{display:flex; align-items:center; gap:8px; margin-top:6px}
.lt-ask input{flex:1; min-width:0}
.lt-ask code{font-size:.8rem; color:var(--blue-ink)}
.lt-lbl{display:block; font-size:.84rem; color:var(--ink-3); margin-bottom:6px}
.lt-drop{display:flex; align-items:center; gap:12px; padding:18px; border:1.5px dashed var(--line-2); border-radius:12px; cursor:pointer}
.lt-drop:hover,.lt-drop:focus-within{border-color:var(--blue)}
.lt-drop input{position:absolute; width:1px; height:1px; opacity:0}
.lt-drop small{display:block; color:var(--ink-3)}
.lt-map{display:flex; flex-direction:column; gap:8px}
.lt-maprow{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px 12px; align-items:center; padding:10px 0; border-bottom:1px solid var(--line-2)}
.lt-maprow small{display:block; color:var(--ink-3)}
.lt-maprow .lt-maplbl{grid-column:2}
.lt-who{display:flex; flex-wrap:wrap; gap:14px}
.lt-who label,.lt-check{display:flex; align-items:center; gap:6px; cursor:pointer}
.lt-list{max-height:240px; overflow:auto; margin-top:8px; border:1px solid var(--line-2); border-radius:10px}
.lt-list label{display:flex; align-items:center; gap:10px; padding:8px 10px; border-bottom:1px solid var(--line-2); cursor:pointer}
.lt-list b{display:block; font-weight:600}
.lt-list small{display:block; color:var(--ink-3); font-size:.82rem}
.lt-paras{max-height:300px; overflow:auto; font-size:.9rem; line-height:1.5}
.lt-paras mark{background:var(--blue-soft); color:var(--blue-ink); border-radius:4px; padding:0 4px}
.lt-prog{margin-bottom:12px}
.lt-prog i{max-width:none !important}
.lt-prob{margin:0; padding:0; list-style:none}
.lt-prob li{display:flex; justify-content:space-between; gap:12px; padding:8px 0; border-bottom:1px solid var(--line-2)}
.lt-prob span{color:var(--ink-3); font-size:.86rem; text-align:right}
@media (max-width:600px){ .lt-maprow{grid-template-columns:minmax(0,1fr)} .lt-maprow .lt-maplbl{grid-column:1} }

/* leave balances (63-away-balances.js) */
.lb-why{display:block; color:var(--ink-3); font-size:.82rem}
.lb-pos{color:var(--ok)} .lb-neg{color:var(--stop, #c0392b)}
.pc-per{font:inherit; padding:2px 6px; border-radius:8px; border:1px solid var(--line-2); background:transparent; color:inherit}

/* list search boxes show keyboard focus like every other control (audit 29 Nov 2026, C-03) */
body.zk .zk-fin:focus-within{border-color:var(--blue); box-shadow:0 0 0 3px color-mix(in srgb,var(--blue) 18%,transparent)}
.rpt-one{padding-bottom:14px; border-bottom:1px solid var(--line-2)} .rpt-one .fgrid{margin:8px 0}

/* the Insights header has four actions: on a phone they wrap, never widen the page (smoke test 29 Nov 2026) */
@media (max-width:760px){ body.zk .isc .zh-ph{flex-wrap:wrap} body.zk .isc .zh-acts{flex-wrap:wrap; min-width:0; max-width:100%} }
@media (max-width:760px){ body.zk .isc-hd .isc-r{flex:0 1 auto; flex-wrap:wrap; min-width:0; max-width:calc(100% - 46px)} }

/* ═════════  PHONE: People-style lists are separate cards (audit C-10, 30 Nov 2026)  ═════════
   At 640px and under the list's own card steps back (no fill, edge or shadow), so each
   Employee is one card with clear space around it instead of cards inside a card. The
   whole card opens the Employee (the row's own onclick); a chevron says so. Filter chips,
   search, Show all and Clear filters are at least 44px tall to touch. */
@media (max-width:640px){
  body.zk:not(.no-kit) .zp-card,
  body.zk:not(.no-kit):not(.cx) #view[data-mod] .zp-card.card:not([class*="tint-"]):not(.hero-card){background:none!important; border:0!important; box-shadow:none!important; border-radius:0; overflow:visible}
  body.zk:not(.no-kit) .zp-card .zp-t{border-spacing:0}
  body.zk:not(.no-kit) .zp-card .zp-t tbody tr{margin:0 0 12px; border:1px solid var(--line); box-shadow:var(--sh-1); min-height:44px}
  body.zk:not(.no-kit) .zp-card .zp-t tbody tr[onclick]:not(.empty-row)::after{content:""; position:absolute; top:24px; right:18px; width:8px; height:8px;
    border-right:2px solid var(--ink-3); border-bottom:2px solid var(--ink-3); transform:rotate(-45deg); pointer-events:none}
  body.zk:not(.no-kit) .zp-card .zp-t tbody tr[onclick] > td:first-child{padding-right:28px}
  body.zk:not(.no-kit) .zp-card .zp-t tbody tr[onclick]:active{background:var(--zk-hover)}
  body.zk:not(.no-kit) .zp-card .zk-foot{border-top:0; padding:4px 2px; flex-wrap:wrap}
  body.zk:not(.no-kit) .zp-card .zk-foot .zk-lnk{min-height:44px; padding:0 8px}
  body.zk:not(.no-kit) .zk-fbar .zk-fch, body.zk:not(.no-kit) .zk-fbar .zk-fin{height:44px}
  body.zk:not(.no-kit) #view .zk-fbar .zk-fin input{height:42px}
}
/* phone Attendance cards show Punched in beside Punched out (audit C-19): the column hidden
   on a narrow desktop table (.tl-wide) comes back once the row is a card */
@media (max-width:640px){
  body.zk:not(.no-kit) .tl-t td.ta-in{display:grid}
}

/* ═════════  WIDE SCREENS: sensible widths, no page stretched edge to edge (1 Dec)  ═════════
   The owner saw pages "stretched" at 1440–1920: cards across the whole screen with a
   few words in them, half-empty columns, controls far from their labels. The page
   column stops at 1480px and centres; forms, rule lists and setup steps keep a
   reading width; cut tab strips show an arrow. Spacing only: no colours change. */
@media (min-width:821px){
  body.zk:not(.no-kit):not(.cx) #view:not(:has(> .slk)){max-width:1480px; margin-left:auto; margin-right:auto}
}
/* a tab strip wider than the page: the arrow at its end says there is more */
body.zk .zk-tmore{position:sticky; right:0; flex:none; align-self:center; margin-left:auto; width:26px; height:26px; border-radius:50%;
  display:grid; place-items:center; cursor:pointer; background:var(--surface); border:1px solid var(--line); box-shadow:var(--sh-1); color:var(--ink-2); z-index:1}
body.zk .zk-tmore:hover{color:var(--ink); border-color:var(--edge)}
body.zk .zk-tmore .zk-i{width:15px; height:15px}
body.zk .zk-tabs.zk-more-r:has(> .zk-tmore), body.zk .ptabs.zk-more-r:has(> .zk-tmore){-webkit-mask-image:none; mask-image:none}
body.zk .zk-tabs.zk-more-l:has(> .zk-tmore), body.zk .ptabs.zk-more-l:has(> .zk-tmore){-webkit-mask-image:linear-gradient(to left,#000 calc(100% - 40px),transparent); mask-image:linear-gradient(to left,#000 calc(100% - 40px),transparent)}
/* an empty list: a compact, centred line, not a wide dashed slab of left text */
body.zk:not(.no-kit) .zk-emptybox{text-align:center; padding:18px 20px; text-wrap:balance}
/* Company setup's forms and the rule lists read at a form's width, the control beside its label */
@media (min-width:1100px){
  /* the whole page narrows with them, so the header's buttons stay over the content */
  body.zk:not(.no-kit):not(.cx) #view:has(.zo-set-tabs){max-width:1240px}
  body.zk:not(.no-kit):not(.cx) #view:has(.cr-card){max-width:1120px}
  /* the setup steps: two to a row instead of a stack of wide, near-empty cards */
  body.zk:not(.no-kit) #suBody{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; align-items:stretch}
  body.zk:not(.no-kit) #suBody > .za-card{margin:0; display:flex; flex-direction:column}
  body.zk:not(.no-kit) #suBody > .za-card > div:last-child{margin-top:auto}
  body.zk:not(.no-kit) #suBody > .za-locked{grid-column:1 / -1; margin:0!important}
}
