/* ============================================================
   Bridge consultant portal — the ITDS look (the ITDS Design System, the
   organization's default; approved by the lead 07/11/2026).
   Black and navy on off-white, warm hairlines, flat cards (no shadows).
   Orange is rare: ONE orange action per screen (.cta-request, .btn-primary,
   .rq-submit), plus the heading's full stop and the kicker bar.
   Self-hosted brand font (woff2); no external font host (CSP + GDPR).
   ============================================================ */

/* latin / latin-ext unicode ranges, matching Google's own subsetting. */
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:300 900;font-display:swap;
  src:url("/fonts/hanken-latin.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:"Hanken Grotesk";font-style:normal;font-weight:300 900;font-display:swap;
  src:url("/fonts/hanken-latin-ext.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;
  src:url("/fonts/plexmono-latin.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;
  src:url("/fonts/plexmono-latin-ext.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}

:root{
  /* The --teal names stay so every screen's rules follow the theme; they now
     hold the brand's black (ink) and navy (hover). */
  --teal:#1b1b1b; --teal-deep:#100f32; --teal-ink:#1b1b1b;
  --navy:#100f32;
  --accent:#eb5c1c; --accent-deep:#cc4a10; --accent-tint:rgba(235,92,28,.10);
  --sand-1:#fde4c4; --sand-2:#f7c987;
  /* used = black (the ring arc, the bars); left = the warm grey, apart from
     used in lightness, not hue alone (always paired with a label + number);
     track = the warm hairline behind the arc. */
  --taken:#1b1b1b; --left:#6b6760; --track:#ece8dd;
  --hatch:#efebe0;
  --ok:#2f8f5b;
  --err:#c0392b; --err-bg:#fbeceb; --err-border:#f1c9c4;
  --warn-bg:#fdf3ec; --warn-border:#f2c3a8; --warn-ink:#8a3a0c;
  --bg:#fbfaf4; --surface:#ffffff; --surface-2:#f6f4ec; --sidebar:#1b1b1b;
  --ink:#1b1b1b; --ink-2:#3a3833; --muted:#6b6760; --faint:#7d786f;
  --rule:#e6e2d6; --rule-strong:#d6d1c2;
  --on-dark:#ffffff; --on-dark-2:rgba(255,255,255,.75); --on-dark-3:rgba(255,255,255,.55); --on-dark-rule:rgba(255,255,255,.12);
  --sans:"Hanken Grotesk",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  --disp:var(--sans);
  --mono:"IBM Plex Mono",ui-monospace,monospace;
  --sp-2:8px;--sp-3:12px;--sp-4:16px;--sp-5:20px;--sp-6:28px;--sp-7:40px;
  --r-1:12px;--r-2:16px;--r-3:16px;--r-4:18px;--r-pill:999px;
  --sp-1:4px;
  /* Notes and states (the #240 review, 06/11/2026: new CSS reads tokens, not
     hand-picked colours), in the ITDS palette since 07/11/2026 (the names kept,
     like --teal): amber is a note to look at (the brand's warm warning tint);
     violet a day off in a split cell (navy); the status tints a month day takes;
     warm washes for planned. */
  --amber:#8a3a0c; --amber-ink:#6b2d09; --amber-rule:#cc4a10; --amber-border:#f2c3a8; --amber-bg:#fdf3ec; --amber-wash:#fef8f4;
  --violet:#100f32; --violet-bg:#eeeef5;
  --tint-sub:#f3f4f8; --tint-appr:#f6f4ec; --tint-post:#f4f2f7;
  --teal-wash:#f6f4ec; --teal-tint:#efebe0; --teal-hatch:#e2ddd0; --teal-border:#d6d1c2;
  /* A week's states, apart by lightness (always with their word): posted black, approved warm grey,
     submitted indigo, draft or due light. */
  --st-post:#1b1b1b; --st-appr:#6b6760; --st-sub:#3b3f73; --st-sub-bg:#eceef7; --st-sub-ink:#2f3366; --st-draft:#b9b3a6;
  --off-rule:#dcdcea;
  /* The brand is flat: hairlines, not shadows. Overlays (the drawer) only. */
  --shadow-sm:none;
  --shadow:none;
  --shadow-overlay:0 24px 60px rgba(16,15,50,.22);
  --focus:0 0 0 3px rgba(235,92,28,.35);
}
*{box-sizing:border-box}
html,body{margin:0}
body{
  font-family:var(--sans);color:var(--ink);line-height:1.5;-webkit-font-smoothing:antialiased;
  background:var(--bg);
  min-height:100vh;
}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
.num,.bd-v,.v,.yv,.ring-wrap .center .num,.freshpill,.yearpill{font-variant-numeric:tabular-nums}

/* ---------------- app frame ---------------- */
/* Full height: a black sidebar beside an off-white page (no floating card). */
.frame{min-height:100vh;background:var(--bg);display:grid;grid-template-columns:264px minmax(0,1fr)}

/* sidebar */
.side{background:var(--sidebar);color:var(--on-dark);padding:32px 18px 24px;display:flex;flex-direction:column;gap:26px}
.brand{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:0 12px}
/* The ITDS wordmark (ItdsLogo.jsx): the text takes the colour, the bar stays orange. */
.brand-logo{display:block;height:auto;color:var(--ink)}
.brand-logo text{fill:currentColor}
.brand-logo rect{fill:var(--accent)}
.side .brand-logo{color:var(--on-dark)}
.brand-word{font-size:13px;font-weight:600;line-height:1.2;color:var(--muted)}
.side .brand-word{color:var(--on-dark-2)}
nav{display:flex;flex-direction:column;gap:2px}
.nav-cap{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--on-dark-3);font-weight:700;padding:0 12px 8px}
.nav-cap:not(:first-child){padding-top:18px}
.nav-item{position:relative;display:flex;align-items:center;gap:12px;width:100%;padding:11px 12px;border:0;border-radius:var(--r-1);
  background:none;font:inherit;text-align:left;cursor:pointer;color:var(--on-dark-2);font-weight:600;font-size:15px;transition:background .2s,color .2s}
.nav-item .ic{width:20px;height:20px;flex:none;stroke-width:1.7}
.nav-item:not(.on):not(.soon):hover{background:rgba(255,255,255,.08);color:var(--on-dark)}
.nav-item:focus-visible{outline:none;box-shadow:var(--focus)}
/* The active screen is a white pill (the system's Tabs on dark). */
.nav-item.on{background:var(--surface);color:var(--ink);font-weight:700}
.nav-item.soon{color:var(--on-dark-3);cursor:default}
.nav-item .tag{margin-left:auto;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--on-dark-3);font-weight:700}
/* A count beside an item (screens that have one): a white pill, inverted on the active item. */
.nav-count{margin-left:auto;min-width:22px;height:22px;padding:0 7px;border-radius:var(--r-pill);background:var(--surface);color:var(--ink);
  font-size:12px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;font-variant-numeric:tabular-nums}
.nav-item.on .nav-count{background:var(--ink);color:var(--on-dark)}
.side .foot{margin-top:auto;display:flex;align-items:center;gap:12px;padding:18px 12px 0;border-top:1px solid var(--on-dark-rule)}
.avatar{width:40px;height:40px;border-radius:50%;flex:none;display:grid;place-items:center;font-weight:800;font-size:14px;color:var(--accent-deep);
  background:linear-gradient(135deg,var(--sand-1),var(--sand-2))}
.foot .who{line-height:1.3;min-width:0}
.foot .who b{font-size:13px;font-weight:600;color:var(--on-dark);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:170px}
.link-signout{font-size:13px;color:var(--on-dark-2);font-weight:600;padding:0;text-decoration:underline}
.link-signout:hover{color:var(--on-dark)}

/* main */
/* Content up to 1,100 px wide, centred; the side padding grows on wide screens. */
.main{padding:48px max(56px,calc((100% - 1100px) / 2)) 64px;overflow:auto;min-width:0}
/* The screen column: a back arrow where the screen has a parent (a phone screen reached from More), then the screen. */
.screen{min-width:0;display:flex;flex-direction:column}
.backbar{display:none}
.back-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px 0 12px;margin-left:-12px;border-radius:var(--r-pill);
  font-size:15px;font-weight:700;color:var(--ink);transition:background .2s}
.back-link:hover{background:var(--hatch)}
.back-link:focus-visible{outline:none;box-shadow:var(--focus)}
.topbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px 32px;flex-wrap:wrap;margin-bottom:32px}
.topbar h1{font-family:var(--disp);font-size:40px;font-weight:800;letter-spacing:-.03em;line-height:1.05;margin:0;color:var(--ink)}
/* The brand's headline full stop, in orange (the heading text carries none). */
.topbar h1::after,.home-head h1::after,.auth-card h1::after{content:".";color:var(--accent)}
.topbar .sub{color:var(--muted);font-size:18px;font-weight:300;line-height:1.5;margin-top:10px}
.topbar .side-ctl{display:flex;align-items:center;gap:10px;flex:none;flex-wrap:wrap;justify-content:flex-end}
.yearpill{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--rule);background:var(--surface);border-radius:999px;padding:8px 15px;font-size:13px;font-weight:700;color:var(--ink)}
.freshpill{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);background:var(--surface-2);border:1px solid var(--rule);border-radius:999px;padding:7px 13px}
.freshpill .pulse{width:7px;height:7px;border-radius:50%;background:var(--ok);box-shadow:0 0 0 3px rgba(47,143,91,.18)}

/* notes */
.note{border-radius:var(--r-2);padding:13px 16px;font-size:13px;line-height:1.5;margin-bottom:20px;display:flex;gap:11px;align-items:flex-start}
.note svg{width:17px;height:17px;flex:none;margin-top:1px}
.note.b2b{background:var(--surface-2);border:1px solid var(--rule);color:var(--muted)}
.note.b2b svg{color:var(--teal)}
.note.lock{background:var(--warn-bg);border:1px solid var(--warn-border);color:var(--warn-ink)}
.note.lock svg{color:var(--accent-deep)}
.note.carry{background:var(--surface-2);border:1px solid var(--rule);color:var(--muted)}
.note.carry svg{color:var(--teal)}
.note.err{background:var(--err-bg);border:1px solid var(--err-border);color:var(--err)}
.note.err svg{color:var(--err)}

/* hero */
.hero{background:var(--surface);
  border:1px solid var(--rule);border-radius:var(--r-3);padding:32px 34px;margin-bottom:20px;
  display:grid;grid-template-columns:auto 1fr;gap:38px;align-items:center}
.ring-wrap{position:relative;width:188px;height:188px;flex:none}
.ring-wrap svg{width:188px;height:188px;transform:rotate(-90deg)}
.ring-wrap .arc{transition:stroke-dashoffset 1s cubic-bezier(.22,1,.36,1)}
.ring-wrap .center{position:absolute;inset:0;display:grid;place-content:center;text-align:center}
.ring-wrap .center .num{font-family:var(--disp);font-size:56px;font-weight:900;line-height:.92;color:var(--ink);letter-spacing:-.04em}
.ring-wrap .center .cap{font-size:12px;color:var(--muted);font-weight:600;margin-top:2px}
.hero-right{min-width:0}
.hero-right .entl{font-size:14px;color:var(--muted);margin:0 0 18px;line-height:1.5}
.breakdown{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.bd{background:var(--surface-2);border:1px solid var(--rule);border-radius:var(--r-2);padding:14px 16px;transition:border-color .2s}
.bd:hover{border-color:var(--rule-strong)}
.bd .bd-k{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--muted);font-weight:600}
.bd .bd-k .dot{width:10px;height:10px;border-radius:3px;flex:none}
.bd .bd-v{font-family:var(--disp);font-size:30px;font-weight:800;letter-spacing:-.02em;color:var(--ink);line-height:1.1;margin-top:8px}
.bd.taken{border-top:2px solid var(--taken)}
.bd.left{border-top:2px solid var(--left)}
.bd.ent{border-top:2px solid var(--rule-strong)}
.hero-planned{margin:14px 0 0;font-size:12px;color:var(--muted);line-height:1.5}
.hero-planned svg{width:13px;height:13px;vertical-align:-2px;margin-right:6px;color:var(--teal)}
.hero-planned b{color:var(--ink);font-weight:600}

/* content grid */
.cols{display:grid;grid-template-columns:1fr 336px;gap:20px;align-items:start}
.panel{background:var(--surface);border:1px solid var(--rule);border-radius:var(--r-3);box-shadow:var(--shadow);margin-bottom:20px;overflow:hidden}
.panel>.ph{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--rule)}
.panel>.ph h2{font-family:var(--disp);font-size:18px;font-weight:800;margin:0;color:var(--ink);letter-spacing:-.02em}
.panel>.ph .pn{font-size:12px;color:var(--faint);font-weight:500}
.panel>.pb{padding:22px}

/* chart */
.chart{position:relative;height:172px;display:flex;align-items:flex-end;gap:12px;padding-top:6px}
.chart .gl{position:absolute;left:0;right:0;border-top:1px dashed var(--rule);z-index:0}
.chart .col{position:relative;z-index:1;flex:1;display:flex;flex-direction:column;align-items:center;gap:9px;height:100%}
.chart .stack{flex:1;width:100%;max-width:30px;display:flex;flex-direction:column;justify-content:flex-end}
.chart .stack i{display:block;border-radius:4px 4px 3px 3px;min-height:0;transition:height .8s cubic-bezier(.22,1,.36,1);background:var(--taken)}
.chart .m{font-size:11px;color:var(--faint);font-weight:500}
.chart .col.hot .m{color:var(--ink);font-weight:700}
.chart .col:hover .stack i{filter:brightness(1.06)}
.chart .tip{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);background:var(--ink);color:#fff;
  font-size:11px;font-weight:600;padding:4px 9px;border-radius:7px;white-space:nowrap;opacity:0;pointer-events:none;transition:.15s;z-index:3}
.chart .col:hover .tip{opacity:1}
.chart .tip::after{content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);border:5px solid transparent;border-top-color:var(--ink)}
.chart-legend{display:flex;gap:20px;margin-top:16px;padding-top:14px;border-top:1px solid var(--rule);font-size:12.5px;color:var(--muted)}
.chart-legend .dot{width:9px;height:9px;border-radius:2px;display:inline-block;margin-right:6px;vertical-align:middle}
.chart-none{color:var(--muted);font-size:13.5px;margin:0;padding:10px 0;line-height:1.5}

/* side rail cards */
.rc{background:var(--surface);border:1px solid var(--rule);border-radius:var(--r-3);box-shadow:var(--shadow);padding:20px 22px;margin-bottom:20px}
.rc h3{font-family:var(--disp);font-size:18px;color:var(--ink);font-weight:800;letter-spacing:-.02em;margin:0 0 14px}
.addup{list-style:none;margin:0;padding:0;font-size:13.5px}
.addup li{display:flex;justify-content:space-between;align-items:center;padding:10px 0;color:var(--muted);border-bottom:1px solid var(--surface-2)}
.addup li .v{font-family:var(--mono);color:var(--ink);font-weight:500}
.addup li.neg .v{color:var(--muted)}
.addup li.total{border-top:2px solid var(--rule-strong);border-bottom:0;margin-top:6px;padding-top:13px;color:var(--ink);font-weight:700;font-size:14px}
.addup li.total .v{color:var(--ink);font-size:18px;font-weight:800;font-family:var(--disp)}
/* previous-years list — compact, one line per year */
.years{list-style:none;margin:0;padding:0;font-size:13.5px}
.years li{display:flex;justify-content:space-between;align-items:baseline;padding:9px 0;border-bottom:1px solid var(--surface-2)}
.years li:last-child{border-bottom:0}
.years .yr{font-weight:600;color:var(--ink)}
.years .yv{color:var(--muted)}
.years .yv b{color:var(--teal-ink);font-weight:600}
.rc.report p{font-size:13px;color:var(--muted);margin:0 0 15px;line-height:1.55}
.prov{display:flex;align-items:center;gap:7px;font-size:11.5px;color:var(--faint)}
.prov svg{width:13px;height:13px;color:var(--teal)}

/* empty / loading */
.empty{display:grid;place-items:center;text-align:center;padding:64px 24px}
.empty .orb{width:68px;height:68px;border-radius:50%;background:conic-gradient(var(--track),var(--rule-strong),var(--track));display:grid;place-items:center;margin-bottom:20px;animation:spin 7s linear infinite}
.empty .orb::after{content:"";width:52px;height:52px;border-radius:50%;background:var(--surface)}
@keyframes spin{to{transform:rotate(360deg)}}
.empty h3{font-family:var(--disp);font-size:22px;font-weight:800;letter-spacing:-.02em;margin:0 0 10px;color:var(--ink)}
.empty p{max-width:440px;color:var(--muted);font-size:14px;margin:0;line-height:1.6}

/* ---------------- auth pages ---------------- */
.auth-stage{min-height:100vh;display:grid;place-items:center;padding:24px}
.auth-card{width:100%;max-width:400px;background:var(--surface);border:1px solid var(--rule);border-radius:var(--r-4);padding:36px 34px 32px}
.auth-brand{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:26px}
.auth-card h1{font-family:var(--disp);font-size:30px;font-weight:800;margin:0 0 6px;color:var(--ink);letter-spacing:-.03em;line-height:1.05}
.auth-sub{color:var(--muted);font-size:13.5px;margin:0 0 20px}
.auth-muted{color:var(--faint);font-size:12.5px;margin:4px 0 18px}
.auth-error{background:var(--err-bg);border:1px solid var(--err-border);color:var(--err);font-size:13px;border-radius:var(--r-1);padding:11px 13px;margin-bottom:16px}
.btn-ms{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;background:var(--surface);border:1.5px solid var(--ink);
  border-radius:var(--r-pill);padding:12px;font-weight:700;font-size:15px;color:var(--ink);transition:background .2s}
.btn-ms:hover{background:var(--surface-2)}
.btn-ms:disabled{opacity:.6;cursor:default}
.auth-or{display:flex;align-items:center;gap:12px;color:var(--faint);font-size:12px;margin:18px 0}
.auth-or::before,.auth-or::after{content:"";height:1px;background:var(--rule);flex:1}
.auth-form{display:flex;flex-direction:column;gap:14px}
.auth-form label{display:flex;flex-direction:column;gap:6px;font-size:12.5px;font-weight:600;color:var(--ink-2)}
.auth-form input{border:1px solid var(--rule);border-radius:var(--r-1);padding:11px 14px;font-size:15px;font-family:var(--sans);color:var(--ink)}
.auth-form input:focus{outline:none;border-color:var(--ink);box-shadow:var(--focus)}
/* The sign-in page's one orange action. */
.btn-primary{background:var(--accent);color:#fff;border-radius:var(--r-pill);padding:13px;font-weight:700;font-size:15px;margin-top:4px;transition:background .2s}
.btn-primary:hover{background:var(--accent-deep)}
.btn-primary:disabled{opacity:.7;cursor:default}
.btn-ghost-wide{width:100%;margin-top:18px;background:var(--surface);color:var(--ink);border:1.5px solid var(--ink);border-radius:var(--r-pill);padding:11px;font-weight:700;font-size:14px}

/* ---------------- time-off request (CTA + drawer) ---------------- */
/* The screen's one orange action: the system's primary pill with its → chip. */
.cta-request{display:inline-flex;align-items:center;gap:12px;background:var(--accent);color:#fff;border-radius:var(--r-pill);padding:13px 14px 13px 26px;
  font-size:16px;font-weight:700;line-height:1.2;transition:background .2s}
.cta-request:hover{background:var(--accent-deep)}
.cta-request:focus-visible{outline:none;box-shadow:var(--focus)}
.cta-request svg{display:none}
.cta-request::after{content:"→";display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,.22);transition:transform .2s}
.cta-request:hover::after{transform:translateX(2px)}

.rq-scrim{position:fixed;inset:0;z-index:100;display:flex;justify-content:flex-end;background:rgba(16,15,50,0);pointer-events:none;transition:background .25s}
.rq-scrim.open{background:rgba(16,15,50,.38);pointer-events:auto}
.rq-drawer{width:min(460px,100%);height:100%;background:var(--surface);border-radius:var(--r-4) 0 0 var(--r-4);
  transform:translateX(100%);transition:transform .28s cubic-bezier(.22,1,.36,1);display:flex;flex-direction:column;overflow:auto}
/* The shadow only while open: a closed drawer sits just off-screen, and its shadow bled a grey strip down the page's right edge. */
.rq-drawer.open{transform:translateX(0);box-shadow:var(--shadow-overlay)}
.rq-head{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid var(--rule)}
.rq-head h2{font-family:var(--disp);font-size:24px;font-weight:800;margin:0;color:var(--ink);letter-spacing:-.03em}
.rq-close{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:var(--muted)}
.rq-close:hover{background:var(--surface-2);color:var(--ink)}
.rq-close svg{width:18px;height:18px}
.rq-body{padding:22px 24px;display:flex;flex-direction:column;gap:20px;flex:1}
/* calendar picker */
.cal{border:1px solid var(--rule);border-radius:var(--r-2);padding:16px 16px 12px;background:var(--surface)}
.cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.cal-label{font-family:var(--disp);font-size:16px;font-weight:800;color:var(--ink);letter-spacing:-.01em}
.cal-nav{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;color:var(--muted)}
.cal-nav:hover:not(:disabled){background:var(--surface-2);color:var(--ink)}
.cal-nav:disabled{opacity:.3;cursor:default}
.cal-nav svg{width:16px;height:16px}
.cal-dow{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;margin-bottom:4px}
.cal-dow span{text-align:center;font-size:10px;letter-spacing:.03em;text-transform:uppercase;color:var(--faint);font-weight:600;padding:3px 0}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px 0}
.cal-day{position:relative;aspect-ratio:1;display:grid;place-items:center;border:0;background:transparent;border-radius:9px;font-size:13px;font-weight:500;color:var(--ink);font-family:var(--sans);transition:background .12s}
.cal-day.pad{pointer-events:none}
.cal-day:hover:not(:disabled):not(.single):not(.start):not(.end):not(.mid){background:var(--surface-2)}
.cal-day.weekend{color:var(--faint)}
.cal-day.past{color:var(--rule-strong);cursor:default}
.cal-day.today{box-shadow:inset 0 0 0 1.5px var(--rule-strong)}
.cal-day.mid{background:var(--hatch);border-radius:0;color:var(--ink)}
.cal-day.single,.cal-day.start,.cal-day.end{background:var(--teal);color:#fff;font-weight:600}
.cal-day.single{border-radius:9px}
.cal-day.start{border-radius:9px 0 0 9px}
.cal-day.end{border-radius:0 9px 9px 0}
.cal-dot{position:absolute;bottom:5px;left:50%;transform:translateX(-50%);width:4px;height:4px;border-radius:50%;background:var(--accent-deep)}
.cal-day.single .cal-dot,.cal-day.start .cal-dot,.cal-day.end .cal-dot{background:#fff}
.cal-legend{display:flex;gap:16px;margin-top:12px;padding-top:11px;border-top:1px solid var(--rule);font-size:11.5px;color:var(--muted)}
.cal-legend span{display:inline-flex;align-items:center;gap:6px}
.cal-legend .lg{width:9px;height:9px;border-radius:50%;display:inline-block}
.cal-legend .lg.sel{background:var(--teal)}
.cal-legend .lg.hol{background:var(--accent-deep)}
/* the live summary — the one bold moment */
.rq-summary{background:var(--surface-2);border:1px solid var(--rule);border-radius:var(--r-2);padding:20px}
.rq-summary.empty{color:var(--muted);font-size:13.5px;text-align:center;padding:26px 20px}
.rq-summary.empty p{margin:0;line-height:1.5}
.rq-big{display:flex;align-items:baseline;gap:10px}
.rq-num{font-family:var(--disp);font-size:44px;font-weight:900;line-height:1;color:var(--ink);letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.rq-unit{font-size:15px;color:var(--muted);font-weight:500}
.rq-range{font-size:13px;color:var(--muted);margin-top:6px}
.rq-meter{height:10px;border-radius:999px;background:var(--track);overflow:hidden;display:flex;margin:16px 0 12px}
.rq-meter .seg{height:100%;transition:width .35s cubic-bezier(.22,1,.36,1)}
.rq-meter .seg.used{background:var(--taken)}
.rq-meter .seg.req{background:var(--left)}
.rq-after{font-size:13.5px;color:var(--ink-2)}
.rq-after b{font-family:var(--mono);color:var(--teal-ink);font-weight:600}
.rq-warnings{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.rq-warnings li{display:flex;gap:9px;align-items:flex-start;font-size:13px;line-height:1.45;border-radius:var(--r-1);padding:10px 12px;background:var(--warn-bg);border:1px solid var(--warn-border);color:var(--warn-ink)}
.rq-warnings li svg{width:15px;height:15px;flex:none;margin-top:1px;color:var(--accent-deep)}
.rq-foot{border-top:1px solid var(--rule);padding:16px 24px 20px;background:var(--surface)}
.rq-error{font-size:12.5px;color:var(--err);background:var(--err-bg);border:1px solid var(--err-border);border-radius:var(--r-1);padding:9px 12px;margin:0 0 12px}
.rq-actions{display:flex;gap:10px;justify-content:flex-end}
.rq-cancel{background:var(--surface);color:var(--ink);border:1.5px solid var(--ink);border-radius:var(--r-pill);padding:10px 20px;font-weight:700;font-size:14px}
.rq-cancel:hover{background:var(--surface-2)}
/* The drawer's one orange action. */
.rq-submit{background:var(--accent);color:#fff;border-radius:var(--r-pill);padding:11px 22px;font-weight:700;font-size:14px;transition:background .2s}
.rq-submit:hover:not(:disabled){background:var(--accent-deep)}
.rq-submit:disabled{opacity:.5;cursor:not-allowed}
/* upcoming time off list */
.upcoming{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.upcoming li{border:1px solid var(--rule);border-radius:var(--r-1);padding:11px 13px;background:var(--surface-2)}
.up-row{display:flex;align-items:center;justify-content:space-between}
.up-row+.up-row{margin-top:7px}
.up-dates{font-weight:600;color:var(--ink);font-size:13.5px}
.up-days{font-family:var(--mono);font-size:12.5px;color:var(--muted)}
.up-status{font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px;background:var(--warn-bg);border:1px solid var(--warn-border);color:var(--warn-ink)}
.up-status.approved{background:var(--surface);border-color:var(--rule-strong);color:var(--ink)}
.up-status.rejected{background:var(--err-bg);border-color:var(--err-border);color:var(--err)}
/* Posted: in ITDS's records, final (the year list, 06/11/2026). */
.up-status.posted{background:var(--teal);border-color:var(--teal);color:var(--surface)}
.up-sub{margin:0 0 var(--sp-2);font-size:12.5px;color:var(--muted)}
/* The year's list as a panel in the wide column (2026-11-06): hairline rows,
   dates, days, status and the action on one line, aligned down the list, with
   the leave type under the dates; stacked when the panel is narrow (a phone,
   or a small laptop). The columns' min-width:0 keeps the list from pushing the
   right-hand cards out of the frame. */
.cols>div{min-width:0}
.my-off .pb{container-type:inline-size}
.my-off .upcoming{gap:0}
.my-off .upcoming li{border:0;border-top:1px solid var(--rule);border-radius:0;background:none;padding:var(--sp-3) 0}
.my-off .upcoming li:first-child{border-top:0;padding-top:var(--sp-1)}
.up-line{display:grid;grid-template-columns:auto minmax(0,1fr) 4.5rem 5rem 5rem;grid-template-areas:'dates . days status act' 'type type type type type';align-items:center;column-gap:var(--sp-3)}
.up-line .up-dates{grid-area:dates;white-space:nowrap}
.up-line .up-type{grid-area:type;margin-top:var(--sp-1)}
.up-line .up-type:empty{display:none}
.up-line .up-days{grid-area:days;text-align:right;white-space:nowrap}
.up-line .up-status{grid-area:status;justify-self:start}
.up-line .up-act{grid-area:act;justify-self:end}
@container (max-width:29rem){.up-line{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'dates days' 'type type' 'status act';row-gap:var(--sp-1)}}
.up-status.cancelled{background:#f1efe9;border-color:#e0d9c9;color:#8f8877}
.up-status.recorded{background:var(--hatch);border-color:var(--rule-strong);color:var(--ink)}
.up-type{margin-top:5px;font-size:12px;color:var(--ink-2)}
.up-reason{margin:7px 0 0;font-size:12px;color:var(--muted);line-height:1.4}
.up-cancel{font-size:12px;color:var(--muted);font-weight:600;text-decoration:underline;padding:0}
.up-cancel:hover{color:var(--err)}

/* ---------------- year calendar (Calendar screen) ---------------- */
.cal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:14px}
.allow-bar{display:flex;align-items:center;gap:30px;flex-wrap:wrap;
  background:var(--surface);border:1px solid var(--rule);
  border-radius:var(--r-3);padding:22px 28px;margin-bottom:18px}
.allow-head{display:flex;flex-direction:column;gap:3px;flex:none}
.allow-eyebrow{font-family:var(--disp);font-weight:700;font-size:12px;color:var(--muted);letter-spacing:.18em;text-transform:uppercase}
.allow-bignum{display:flex;align-items:baseline;gap:9px}
.allow-bignum b{font-family:var(--disp);font-weight:900;font-size:44px;line-height:.9;letter-spacing:-.04em;color:var(--ink);font-variant-numeric:tabular-nums}
.allow-bignum span{font-size:13px;color:var(--muted)}
.allow-meter-wrap{flex:1;min-width:230px;display:flex;flex-direction:column;gap:10px}
.allow-meter{display:flex;height:14px;border-radius:999px;overflow:hidden;background:var(--track)}
.allow-meter .seg{display:block;height:100%}
.allow-meter .seg.used{background:var(--taken)}
.allow-meter .seg.planned{background:repeating-linear-gradient(45deg,var(--left) 0 5px,var(--hatch) 5px 10px)}
.allow-meter .seg.free{background:transparent}
.allow-key{display:flex;gap:20px;flex-wrap:wrap;font-size:12.5px;color:var(--muted);font-variant-numeric:tabular-nums}
.allow-key b{color:var(--ink);font-weight:600}
.allow-key .kd{width:10px;height:10px;border-radius:3px;display:inline-block;vertical-align:-1px;margin-right:7px}
.allow-key .kd.planned{background:repeating-linear-gradient(45deg,var(--left) 0 3px,var(--hatch) 3px 6px)}
.allow-key .kd.free{background:var(--track)}
.yearnav{display:flex;align-items:center;gap:3px;background:var(--surface);border:1px solid var(--rule);border-radius:999px;padding:3px}
.yn-chip{padding:6px 14px;border-radius:999px;font-size:13px;font-weight:700;color:var(--muted);font-variant-numeric:tabular-nums}
.yn-chip.on{background:var(--teal);color:#fff}
.yn-chip:not(.on):hover{background:var(--surface-2);color:var(--ink)}
.yn-arrow{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;color:var(--muted)}
.yn-arrow:not(:disabled):hover{background:var(--surface-2);color:var(--teal-ink)}
.yn-arrow:disabled{opacity:.3;cursor:default}
.yn-arrow svg{width:16px;height:16px}

.cal-legend2{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:16px;font-size:12px;color:var(--muted)}
.cal-legend2 .sw{width:13px;height:13px;border-radius:4px;display:inline-block;vertical-align:-2px;margin-right:6px}
.cal-legend2 .sw.vac{background:var(--taken)}
.cal-legend2 .sw.approved{background:var(--left)}
.cal-legend2 .sw.pending{background:var(--surface);box-shadow:inset 0 0 0 2px var(--left)}
.cal-legend2 .sw.holiday{background:var(--sand-1);box-shadow:inset 0 0 0 1.5px var(--sand-2)}

.year-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(212px,1fr));gap:16px}
.ym{background:var(--surface);border:1px solid var(--rule);border-radius:var(--r-2);padding:12px 12px 14px}
.ym-head{font-family:var(--disp);font-weight:800;font-size:15px;color:var(--ink);text-align:center;margin-bottom:8px}
.ym-dow{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;margin-bottom:4px}
.ym-dow span{text-align:center;font-size:9px;font-weight:700;letter-spacing:.02em;color:var(--faint);text-transform:uppercase}
.ym-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.ym-day{position:relative;aspect-ratio:1;display:grid;place-items:center;font-size:11px;color:var(--ink-2);border-radius:6px;font-variant-numeric:tabular-nums}
.ym-day.pad{background:transparent}
.ym-day.wknd{color:var(--faint)}
.ym-day.past{opacity:.5}
.ym-day.hol{background:var(--sand-1);color:var(--warn-ink);font-weight:700}
.ym-day.vac{background:var(--taken);color:#fff;font-weight:600;opacity:1}
.ym-day.vac.half{background:linear-gradient(135deg,var(--taken) 50%,#fff 50%);color:var(--ink)}
.ym-day.pending{background:var(--surface);box-shadow:inset 0 0 0 2px var(--left);color:var(--teal-ink);font-weight:600;opacity:1}
/* approved = decided, not yet in BC — a lighter solid teal, apart from taken (deep) and planned (ring) */
.ym-day.approved{background:var(--left);color:#fff;font-weight:600;opacity:1}
.ym-day.today{outline:2px solid var(--teal-ink);outline-offset:-2px}
button.ym-day:not(.vac):not(.approved):not(.pending):not(.hol):hover{background:var(--surface-2)}
.ym-day.locked{color:var(--faint);background:repeating-linear-gradient(45deg,transparent 0 3px,rgba(27,27,27,.05) 3px 6px)}

.cal-foot{display:flex;flex-direction:column;gap:5px;margin-top:18px}
.cal-prov{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--faint)}
.cal-prov svg{width:14px;height:14px;color:var(--left);flex:none}
.cal-help{font-size:12px;color:var(--faint)}
.rq-next{display:flex;align-items:flex-start;gap:8px;margin:0 0 10px;font-size:12px;color:var(--muted);line-height:1.4}
.rq-next svg{width:15px;height:15px;color:var(--left);flex:none;margin-top:1px}

/* ---------------- Home ---------------- */
/* The approved mockup (07/11/2026): kicker, headline with its full stop, the
   holiday balance on a navy card with the brand's one glow, two hairline cards
   beside it, then the shortcuts. */
.home-head{display:flex;flex-direction:column;gap:12px}
.home-kicker{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--muted);font-variant-numeric:tabular-nums}
.home-kicker::before{content:"";width:24px;height:3px;border-radius:2px;background:var(--accent);flex:none}
.home-head h1{font-family:var(--disp);font-size:46px;font-weight:800;letter-spacing:-.03em;line-height:1.05;margin:0;color:var(--ink)}
.home-head .sub{color:var(--muted);font-size:20px;font-weight:300;line-height:1.5}
.home-grid{display:flex;flex-wrap:wrap;gap:20px;margin:32px 0 20px}
.home-hero{flex:2 1 520px;min-width:0;border-radius:var(--r-4);padding:36px 40px;color:var(--on-dark);display:flex;flex-direction:column;gap:28px;
  background:radial-gradient(120% 90% at 100% 0%,rgba(235,92,28,.28) 0%,rgba(235,92,28,0) 55%),
             radial-gradient(90% 80% at 0% 100%,rgba(5,5,25,.55) 0%,rgba(5,5,25,0) 60%),var(--navy)}
.home-hero-eyebrow{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--on-dark-2)}
.home-hero-eyebrow::before{content:"";width:24px;height:3px;border-radius:2px;background:var(--accent);flex:none}
.home-hero-row{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:24px}
.home-stat{display:flex;flex-direction:column;gap:6px;min-width:0}
.home-stat-n{font-family:var(--disp);font-size:96px;font-weight:900;line-height:.92;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.home-stat-n i{font-style:normal;color:var(--accent)}
.home-stat-l{font-size:17px;font-weight:700}
.home-hero-line{font-size:15px;color:var(--on-dark-2);margin:4px 0 0;line-height:1.5;max-width:340px}
.home-hero-line b{color:var(--on-dark);font-weight:700}
.home-hero .cta-request{flex:none}
.home-meter{display:flex;height:10px;border-radius:10px;background:rgba(255,255,255,.14);overflow:hidden}
.home-meter .seg{display:block;height:100%}
.home-meter .seg.used{background:var(--on-dark)}
.home-meter .seg.planned{background:repeating-linear-gradient(45deg,rgba(255,255,255,.8) 0 3px,rgba(255,255,255,.3) 3px 6px)}
.home-meter-key{display:flex;flex-wrap:wrap;gap:6px 22px;margin-top:10px;font-size:14px;color:var(--on-dark-2);font-variant-numeric:tabular-nums}
.home-meter-key b{color:var(--on-dark);font-weight:700}
.home-cards{flex:1 1 300px;min-width:0;display:flex;flex-direction:column;gap:20px}
/* A hairline card: the sand icon tile on the left, the title and its lines beside it. */
.home-card{display:grid;grid-template-columns:46px minmax(0,1fr);column-gap:16px;row-gap:4px;align-content:start;
  background:var(--surface);border:1px solid var(--rule);border-radius:var(--r-2);padding:28px}
.home-card-h{display:contents}
.home-card>:not(.home-card-h){grid-column:2}
.home-card-ic{grid-row:1 / span 4;width:46px;height:46px;border-radius:12px;flex:none;display:grid;place-items:center;
  background:linear-gradient(135deg,var(--sand-1),var(--sand-2));color:var(--accent-deep)}
.home-card-ic svg{width:24px;height:24px;stroke-width:1.7}
.home-card h3{grid-column:2;font-family:var(--disp);font-size:18px;font-weight:800;color:var(--ink);margin:0}
.home-up{display:flex;flex-direction:column;gap:4px}
.home-up-dates{font-family:var(--disp);font-weight:800;color:var(--ink);font-size:22px;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.home-up-meta{display:flex;align-items:center;gap:10px;font-size:15px;color:var(--muted)}
.home-pill{display:inline-flex;align-items:center;font-size:12px;font-weight:700;color:var(--warn-ink);background:var(--warn-bg);border:1px solid var(--warn-border);border-radius:999px;padding:3px 10px}
.home-pill.approved{color:var(--ink);background:var(--surface);border-color:var(--rule-strong)}
.home-pill.rejected{color:var(--err);background:var(--err-bg);border-color:var(--err-border)}
.home-empty{font-size:15px;line-height:1.5;color:var(--muted);margin:0}
.home-link{margin-top:10px;font-size:14px;color:var(--accent-deep);font-weight:700;justify-self:start;padding:0}
.home-link:hover{color:var(--ink)}
.home-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px}
.home-tile{display:flex;align-items:center;gap:16px;text-align:left;background:var(--surface);border:1px solid var(--rule);
  border-radius:var(--r-2);padding:22px 24px;transition:border-color .2s}
.home-tile:not(.soon):hover{border-color:var(--ink)}
.home-tile:focus-visible{outline:none;box-shadow:var(--focus)}
.home-tile.soon{background:transparent;border-style:dashed;cursor:default}
.home-tile-ic{width:46px;height:46px;border-radius:12px;flex:none;display:grid;place-items:center;
  background:linear-gradient(135deg,var(--sand-1),var(--sand-2));color:var(--accent-deep)}
.home-tile.soon .home-tile-ic{background:var(--surface-2);color:var(--muted)}
.home-tile-ic svg{width:24px;height:24px;stroke-width:1.7}
.home-tile-tx{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.home-tile-arrow{flex:none;font-size:18px;font-weight:700;color:var(--ink);transition:transform .2s}
.home-tile:hover .home-tile-arrow{transform:translateX(3px)}
/* A long title keeps its line; the Soon tag drops below it rather than squeezing it. */
.home-tile-tx b{font-family:var(--disp);font-size:17px;font-weight:800;color:var(--ink);display:flex;flex-wrap:wrap;align-items:center;column-gap:8px}
.home-tile.soon .home-tile-tx b{color:var(--muted)}
.home-tile-tx .tag{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-style:normal;font-weight:700}
.home-tile-tx span{font-size:14px;color:var(--muted)}

@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media(max-width:1080px){.cols{grid-template-columns:1fr}.hero{grid-template-columns:1fr;justify-items:center;text-align:center}.hero-right{width:100%}}
@media(max-width:760px){.frame{display:block;min-height:100vh}.side{display:none}.breakdown{grid-template-columns:1fr}
  /* Room under the content for the fixed tab bar (and the iPhone's bottom edge). */
  .main{padding:28px 16px calc(96px + env(safe-area-inset-bottom,0px))}
  .backbar{display:block;padding:12px 16px 0}.backbar+.main{padding-top:8px}
  .topbar h1{font-size:32px}.home-head h1{font-size:36px}.home-head .sub{font-size:17px}.home-hero{padding:28px 24px}.home-stat-n{font-size:72px}}

/* ---------------- Phone navigation (below 760 px; the approved mockup, 07/11/2026) ----------------
   The sidebar hides; a slim black top bar keeps the logo and a white bottom
   tab bar holds up to four screens and More (phoneNavView.js). The drawer's
   scrim (z-index 100) covers the tab bar while it is open. */
.mtop,.mtabs{display:none}
@media(max-width:760px){
  .mtop{display:flex;align-items:center;gap:12px;position:sticky;top:0;z-index:50;height:56px;padding:0 16px;background:var(--sidebar);color:var(--on-dark)}
  .mtop .brand-logo{color:var(--on-dark)}
  .mtop .brand-word{color:var(--on-dark-2);white-space:nowrap}
  .mtabs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);position:fixed;left:0;right:0;bottom:0;z-index:50;
    background:var(--surface);border-top:1px solid var(--rule);padding:0 6px env(safe-area-inset-bottom,0px)}
}
.mtab{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:60px;padding:8px 2px 6px;
  color:var(--muted);font-size:11px;font-weight:700;line-height:1.2;text-align:center}
.mtab .ic{width:24px;height:24px;stroke-width:1.7;flex:none}
.mtab-tx{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mtab-ic{position:relative;display:inline-flex}
/* What waits on a tab (a contact's reports to confirm): a black pill on the icon's corner. */
.mtab-count{position:absolute;top:-6px;right:-12px;min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:var(--r-pill);
  background:var(--ink);color:var(--on-dark);border:2px solid var(--surface);font-size:10px;font-weight:800;line-height:1;display:inline-flex;align-items:center;justify-content:center;font-variant-numeric:tabular-nums}
/* The current tab: black, bolder, with the brand's orange bar above it. */
.mtab.on{color:var(--ink);font-weight:800}
.mtab.on .ic{stroke-width:2}
.mtab.on::before{content:"";position:absolute;top:0;left:50%;width:24px;height:3px;margin-left:-12px;border-radius:0 0 2px 2px;background:var(--accent)}
.mtab:focus-visible{outline:none;box-shadow:inset 0 0 0 3px rgba(235,92,28,.35);border-radius:var(--r-1)}

/* More: what has no tab, under the sidebar's headings, then the account. */
.more-group{display:flex;flex-direction:column;gap:10px;margin-bottom:22px}
.more-cap{margin:0;padding:0 4px;font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}
.more-list{background:var(--surface);border:1px solid var(--rule);border-radius:var(--r-2);overflow:hidden}
.more-row{display:flex;align-items:center;gap:14px;width:100%;min-height:64px;padding:10px 16px;text-align:left;color:var(--ink)}
.more-row+.more-row{border-top:1px solid var(--rule)}
.more-row:not(.soon):hover{background:var(--surface-2)}
.more-row:focus-visible{outline:none;box-shadow:inset 0 0 0 3px rgba(235,92,28,.35)}
.more-ic{width:40px;height:40px;border-radius:12px;flex:none;display:grid;place-items:center;background:linear-gradient(135deg,var(--sand-1),var(--sand-2));color:var(--accent-deep)}
.more-ic .ic{width:22px;height:22px;stroke-width:1.7}
.more-row.soon{color:var(--muted);cursor:default}
.more-row.soon .more-ic{background:var(--surface-2);color:var(--muted)}
.more-tx{flex:1;min-width:0;display:flex;flex-direction:column}
.more-tx b{font-size:16px;font-weight:800}
.more-tx span{font-size:13px;color:var(--muted)}
.more-tag{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.more-arrow{font-size:18px;font-weight:700}
.more-row .nav-count{background:var(--ink);color:var(--on-dark)}
.more-account{display:flex;align-items:center;gap:14px;padding:16px;background:var(--surface);border:1px solid var(--rule);border-radius:var(--r-2)}
.more-email{flex:1;min-width:0;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.btn-ghost-sm{flex:none;background:var(--surface);color:var(--ink);border:1.5px solid var(--ink);border-radius:var(--r-pill);padding:8px 18px;font-weight:700;font-size:14px}
.btn-ghost-sm:hover{background:var(--surface-2)}

/* ---------------- My work ---------------- */
/* Two tones carry the timeline: CURRENT (deep teal, white text) and PAST
   (pale teal, dark text); a PLANNED assignment is outlined. Each bar sits on
   its client's labelled row, so colour is never the only cue. Milestones on
   the ITDS track (joined / left / rejoined) are amber diamonds, labelled. */
:root{
  --wk-cur:#1b1b1b; --wk-past:#d6d1c2; --wk-past-ink:#1b1b1b;
  --wk-bench:#efebe0; --wk-bench-2:#e2ddd0; --wk-today:#cc4a10; --wk-mile:#cc4a10;
  --wk-sel-bg:#fdf3ec; --wk-sel-rule:#f2c3a8; --wk-cur-bg:#f6f4ec; --wk-cur-rule:#e6e2d6;
  --g-label:200px;
}
.wk .topbar{margin-bottom:var(--sp-5)}
.wk-eyebrow{display:block;font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}

/* summary strip */
.wk-strip{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-3) var(--sp-6);padding:var(--sp-4) 22px;margin-bottom:var(--sp-4);
  border:1px solid var(--rule);border-radius:var(--r-2);background:var(--surface-2)}
.wk-chips{display:flex;flex-wrap:wrap;gap:var(--sp-2)}
.wk-role{font-size:13px;font-weight:700;color:var(--ink);background:var(--hatch);border-radius:999px;padding:5px 12px}
.wk-state{font-size:13px;font-weight:600;border-radius:999px;padding:4px 12px;display:inline-flex;align-items:center;gap:7px;
  background:var(--surface);color:var(--ink-2);border:1px solid var(--rule-strong)}
.wk-state::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--faint)}
.wk-state.working::before{background:var(--ok)}
.wk-state.bench::before{background:var(--wk-today)}
.wk-stats{display:flex;flex-wrap:wrap;gap:var(--sp-2) var(--sp-6);flex:1 1 400px}
.wk-stat{display:flex;flex-direction:column}
.wk-stat b{font-family:var(--disp);font-size:24px;font-weight:800;letter-spacing:-.02em;color:var(--ink);line-height:1.2;font-variant-numeric:tabular-nums}
.wk-stat>span{font-size:12px;color:var(--muted)}
.wk-short{display:none}

/* contacts: names and roles only */
.wk-av{width:34px;height:34px;border-radius:50%;flex:none;display:grid;place-items:center;font-size:12px;font-weight:700;
  color:var(--accent-deep);background:linear-gradient(135deg,var(--sand-1),var(--sand-2))}
.wk-contacts ul{list-style:none;margin:0;padding:0}
.wk-contacts.md li{display:flex;align-items:center;gap:10px;padding:var(--sp-2) 0;border-top:1px solid var(--rule)}
.wk-who{display:flex;flex-direction:column;line-height:1.3;min-width:0}
.wk-who b{font-size:14px;font-weight:600;color:var(--ink)}
.wk-who small{font-size:12px;color:var(--muted)}
.wk-contacts.sm ul{display:flex;flex-wrap:wrap;gap:var(--sp-2) 18px}
.wk-contacts.sm li{display:flex;align-items:center;gap:var(--sp-2)}
.wk-contacts.sm .wk-av{width:28px;height:28px;font-size:10.5px}
.wk-contacts.sm .wk-who b{font-size:13px}
.wk-contacts.sm .wk-who small{font-size:11px}
.wk-fold{display:none}
.wk-btn{font-size:14px;font-weight:700;color:var(--ink);border:1.5px solid var(--ink);border-radius:var(--r-pill);padding:8px 18px;background:var(--surface)}

/* journey panel */
.wk-journey-panel>.ph{flex-wrap:wrap;gap:var(--sp-3)}
.wk-phone{display:none}

/* the timeline: a sticky label column and a plot on one axis */
.gantt-pb{padding:10px 0 4px;border-bottom:1px solid var(--rule)}
.g-scroll{overflow-x:auto}
.gantt{min-width:calc(var(--g-label) + var(--axis-min));position:relative}
.g-row{display:grid;grid-template-columns:var(--g-label) minmax(var(--axis-min),1fr)}
.g-label{position:sticky;left:0;z-index:3;background:var(--surface);display:flex;align-items:center;gap:var(--sp-2);
  padding:0 10px 0 22px;min-width:0;text-align:left}
.g-plot{position:relative;margin-right:22px}
.g-head .g-plot{height:26px}
.g-tick{position:absolute;bottom:6px;transform:translateX(-50%);font-size:11.5px;color:var(--faint);white-space:nowrap;font-variant-numeric:tabular-nums}
.g-today-label{position:absolute;bottom:6px;transform:translateX(-50%);font-size:11px;font-weight:700;color:var(--wk-today);white-space:nowrap;background:var(--surface);padding:0 3px}
.g-today-label.edge-end{transform:translateX(calc(-100% + 4px))}
.g-grid{position:absolute;top:0;bottom:0;width:1px;background:var(--hatch)}
.g-today{position:absolute;top:0;bottom:0;width:0;border-left:2px solid var(--wk-today);z-index:2;pointer-events:none;margin-left:-1px}
.g-text{display:flex;flex-direction:column;min-width:0}
.g-name{font-size:14px;font-weight:600;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.g-sub{font-size:11px;color:var(--faint);font-family:var(--mono)}
.g-track .g-sub{font-family:var(--sans);font-size:12px;color:var(--muted)}
/* The company (PL / PT), shown only for somebody with records in both. */
.g-subline{display:flex;align-items:center;gap:var(--sp-2)}
.g-co,.wk-co{font-size:11px;font-weight:600;color:var(--muted)}
.wk-co{margin-left:var(--sp-2)}
.wk-now-tag{flex:none;font-size:11px;font-weight:700;color:var(--ink);background:var(--hatch);border-radius:8px;padding:1px 8px}

.g-track{border-top:1px solid var(--hatch)}
.g-track .g-label{font-weight:700}.g-track .g-name{font-weight:700}
.g-track .g-plot{height:62px}
.g-emp{position:absolute;top:33px;height:8px;border-radius:4px;background:var(--ink-2)}
.g-away{position:absolute;top:36px;height:0;border-top:2px dashed var(--rule-strong)}
.g-away em{position:absolute;top:6px;left:50%;transform:translateX(-50%);font-style:normal;font-size:11px;color:var(--muted);white-space:nowrap}
.g-mile{position:absolute;top:0;bottom:0;width:0;z-index:2}
.g-mile i{position:absolute;top:31px;left:-6px;width:12px;height:12px;background:var(--wk-mile);transform:rotate(45deg);border-radius:2px;box-shadow:0 0 0 2px var(--surface)}
.g-mile em{position:absolute;top:8px;transform:translateX(-50%);font-style:normal;font-size:11.5px;font-weight:700;color:var(--wk-mile);white-space:nowrap}
.g-mile.edge-start em{transform:translateX(-6px)}
.g-mile.edge-end em{transform:translateX(calc(-100% + 6px))}

.g-item{border-top:1px solid var(--hatch)}
.g-item .g-plot{padding:8px 0;display:flex;flex-direction:column;gap:6px;justify-content:center;min-height:46px}
.g-lane{position:relative;height:28px}
.g-bar{position:absolute;top:0;bottom:0;min-width:6px;border-radius:7px;display:flex;align-items:center;padding:0 8px;overflow:hidden;font:inherit}
.g-bar em{font-style:normal;font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.g-bar.current,.g-sw.current{background:var(--wk-cur);color:#fff}
.g-bar.past,.g-sw.past{background:var(--wk-past);color:var(--wk-past-ink)}
.g-bar.future,.g-sw.future{background:var(--surface);color:var(--wk-cur);box-shadow:inset 0 0 0 1.5px var(--wk-cur)}
.g-bar.bench,.g-sw.bench{background:repeating-linear-gradient(135deg,var(--wk-bench) 0 6px,var(--wk-bench-2) 6px 12px);color:var(--ink-2);box-shadow:inset 0 0 0 1px var(--rule-strong)}
button.g-bar:hover{filter:brightness(.95)}
button.g-bar:focus-visible{outline:2px solid var(--wk-today);outline-offset:2px}
.g-bar.sel{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--wk-today)}
.g-sw{display:inline-block;width:10px;height:10px;border-radius:3px;flex:none}
.g-sw.mile{background:var(--wk-mile);transform:rotate(45deg);border-radius:1px;width:9px;height:9px}
.g-legend{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-2) 18px;margin:var(--sp-3) 22px var(--sp-4);font-size:12px;color:var(--ink-2)}
.g-legend span{display:inline-flex;align-items:center;gap:6px}
.g-legend .g-hint{color:var(--muted)}

/* assignments list (desktop) */
.wk-list{padding:var(--sp-2) 22px 18px;display:flex;flex-direction:column;gap:var(--sp-2)}
.wk-list>.wk-eyebrow{color:var(--faint);padding:10px 0 4px}
.wk-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px var(--sp-4);padding:var(--sp-3) var(--sp-4);border:1px solid var(--rule);border-radius:var(--r-1);cursor:pointer}
.wk-row:hover{background:var(--surface-2)}
.wk-row:focus-visible{outline:2px solid var(--wk-today);outline-offset:2px}
/* A current assignment carries a light teal tint (with its Now tag, never the
   tint alone); a selected row's amber highlight wins over it. */
.wk-row.current{background:var(--wk-cur-bg);border-color:var(--wk-cur-rule)}
.wk-row.current:hover{background:var(--hatch)}
.wk-row.sel,.wk-row.sel:hover{background:var(--wk-sel-bg);border-color:var(--wk-sel-rule)}
.wk-tag{display:inline-block;vertical-align:1px;margin-left:var(--sp-2);font-size:11px;font-weight:700;border-radius:8px;padding:1px 8px}
.wk-tag.now{color:var(--ink);background:var(--hatch)}
.wk-tag.planned{color:var(--wk-cur);background:var(--surface);box-shadow:inset 0 0 0 1px var(--wk-cur)}
.wk-row-what{display:flex;align-items:center;gap:10px;min-width:0;flex:1 1 260px}
.wk-row-what>span{display:flex;flex-direction:column;min-width:0}
.wk-row-what b{font-size:14px;font-weight:600;color:var(--ink)}
.wk-row-what code{font-family:var(--mono);font-size:11px;font-weight:500;color:var(--faint);margin-left:var(--sp-2)}
/* Dates and length as two pieces, a space apart — no joining dot. */
.wk-row-what small{display:flex;flex-wrap:wrap;gap:0 var(--sp-3)}
.wk-dur{color:var(--faint)}
.wk-row-what small{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.wk-row .wk-contacts{flex:2 1 380px}
.wk-dot{width:9px;height:9px;border-radius:3px;flex:none;background:var(--wk-past)}
.wk-row.current .wk-dot{background:var(--wk-cur)}
.wk-row.planned .wk-dot{background:var(--surface);box-shadow:inset 0 0 0 1.5px var(--wk-cur)}
.wk-none{flex:2 1 380px;font-size:12.5px;color:var(--faint)}
.wk-more{display:block;width:100%;font-size:14px;font-weight:700;color:var(--ink);border:1.5px solid var(--ink);border-radius:var(--r-pill);padding:11px;background:var(--surface);margin-top:4px}
.wk-more:hover{background:var(--surface-2)}

/* journey list (phone) */
.wk-journey{padding:var(--sp-4) 18px 18px}
.wk-journey>.wk-eyebrow{margin-bottom:var(--sp-3)}
.wk-journey ol{list-style:none;margin:0 0 var(--sp-3);padding:0;position:relative}
.wk-journey ol::before{content:"";position:absolute;left:5px;top:8px;bottom:8px;width:2px;background:var(--rule)}
.wk-j{position:relative;display:flex;gap:var(--sp-4);padding:7px 0}
.wk-j>span{display:flex;flex-direction:column;min-width:0}
.wk-j b{font-size:15px;font-weight:600;color:var(--ink)}
.wk-j small{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.wk-j-mark{position:relative;z-index:1;flex:none;width:12px;height:12px;margin-top:5px;border-radius:3px;background:var(--wk-past)}
.wk-j.work.current .wk-j-mark{background:var(--wk-cur)}
.wk-j.work.planned .wk-j-mark{background:var(--surface);box-shadow:inset 0 0 0 1.5px var(--wk-cur)}
.wk-j.bench .wk-j-mark{background:repeating-linear-gradient(135deg,var(--wk-bench) 0 3px,var(--wk-bench-2) 3px 6px);box-shadow:inset 0 0 0 1px var(--rule-strong)}
.wk-j.milestone .wk-j-mark{width:11px;height:11px;margin-left:1px;background:var(--wk-mile);transform:rotate(45deg);border-radius:1px}
.wk-j.milestone b{color:var(--wk-mile)}

@media(max-width:760px){
  .wk-strip{padding:var(--sp-4) 18px}
  .wk-stats{flex-basis:100%;display:grid;grid-template-columns:repeat(3,1fr)}
  .wk-long{display:none}.wk-stat .wk-short{display:inline}
  .wk-contacts.fold:not(.open) ul{display:none}
  .wk-contacts.fold:not(.open) .wk-fold{display:flex;align-items:center;gap:10px;padding-top:var(--sp-3);margin-top:var(--sp-3);border-top:1px solid var(--rule)}
  .wk-stack{display:flex}.wk-stack .wk-av{box-shadow:0 0 0 2px var(--surface)}.wk-stack .wk-av+.wk-av{margin-left:-5px}
  .wk-contacts.sm.fold:not(.open) .wk-fold{margin-top:var(--sp-2);padding-top:var(--sp-2)}
  .wk-fold-n{flex:1;font-size:14px;color:var(--ink-2)}
  .wk-desk{display:none}
  .wk-list{padding:var(--sp-4) 18px}
  .wk-row{padding:var(--sp-3)}
  .wk-journey{border-top:1px solid var(--rule)}
  .wk-phone{display:block}
  .wk-journey-panel>.ph{display:none}
}

/* ---------------- Time reporting (PR 2b) ----------------
   The approved mockups on the plan page ("Screens"), in the portal's own
   tokens. One week on screen; a split week draws a line where the month ends. */
.tr-chip{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:600;padding:3px 10px;border-radius:999px;white-space:nowrap}
.tr-chip::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.tr-chip.draft{background:var(--surface-2);color:var(--ink-2)}
.tr-chip.sub{background:var(--st-sub-bg);color:var(--st-sub-ink)}
.tr-chip.appr{background:var(--hatch);color:var(--ink)}
.tr-chip.post{background:var(--st-post);color:#fff}
.tr-chip.rej{background:var(--err-bg);color:var(--err)}
.tr-weeknav{display:inline-flex;align-items:center;gap:2px;border:1px solid var(--rule);border-radius:var(--r-1);padding:2px;background:var(--surface)}
.tr-weeknav button{height:30px;min-width:30px;border-radius:8px;display:grid;place-items:center;color:var(--muted);padding:0 8px;font-size:12.5px;font-weight:600}
.tr-weeknav button:hover{background:var(--surface-2);color:var(--ink)}
.tr-weeknav svg{width:16px;height:16px}
.tr-periods{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:var(--sp-4)}
.tr-per{border:1px solid var(--rule);border-radius:var(--r-1);padding:7px 10px;display:grid;gap:4px;background:var(--surface);text-align:left}
.tr-per:hover{background:var(--surface-2)}
.tr-per.on{border-color:var(--teal);box-shadow:inset 0 0 0 1px var(--teal)}
.tr-per>span{font-variant-numeric:tabular-nums;font-weight:600;font-size:12px}
.tr-tbl{border:1px solid var(--rule);border-radius:var(--r-2);overflow:auto;background:var(--surface)}
.tr-tbl table{border-collapse:collapse;width:100%;table-layout:fixed;font-variant-numeric:tabular-nums;font-size:13px}
.tr-tbl th,.tr-tbl td{padding:8px 10px;border-bottom:1px solid var(--rule);text-align:center;vertical-align:middle}
.tr-tbl thead th{background:var(--surface-2);font-size:11px;color:var(--muted);font-weight:600;white-space:nowrap}
.tr-tbl thead th.we{color:var(--faint)}
.tr-tbl th,.tr-tbl td{overflow:hidden}
.tr-tbl th:first-child,.tr-tbl td:first-child{text-align:left;width:27%}
.tr-tbl th:last-child,.tr-tbl td:last-child{width:7%}
.tr-tbl{min-width:0}
.tr-tbl table{min-width:760px}
.tr-tbl tr:last-child td{border-bottom:0}
.tr-tbl .mstart{border-left:2px solid var(--teal)}
.tr-tbl tr.tr-mrow th{font-size:10.5px;color:var(--teal);font-weight:700;background:var(--surface);text-align:left}
.tr-tbl td.lbl b{display:block;font-weight:600;color:var(--ink)}
.tr-tbl td.lbl span{font-family:var(--mono);font-size:10.5px;color:var(--muted)}
.tr-src{display:inline-block;font-family:var(--sans);font-size:10px;font-weight:600;color:var(--teal);background:var(--hatch);border-radius:999px;padding:0 6px;margin-left:6px;vertical-align:1px}
.tr-tbl td.h{font-weight:600}
.tr-tbl td.h.z{color:#b9b3a6;font-weight:400}
.tr-tbl td.h small{display:block;font-family:var(--mono);font-size:10px;font-weight:500;color:var(--muted);margin-top:1px}
.tr-tbl td.we{background:var(--surface-2)}
.tr-tbl td.locked{background:var(--surface-2)}
.tr-tbl td.tot{font-weight:700;background:var(--surface-2)}
.tr-tbl td.edit input{width:2.9em;border:1px solid transparent;border-radius:6px;background:transparent;text-align:center;font:inherit;font-weight:600;color:var(--ink);padding:3px 2px}
.tr-tbl td.edit input:hover{border-color:var(--rule)}
.tr-tbl td.edit input:focus{outline:none;border-color:var(--teal);background:#fff}
.tr-tbl td.edit input::placeholder{color:#b9b3a6;font-weight:400}
.tr-tbl td.edit input.tr-start{display:block;margin:2px auto 0;width:3.6em;font-family:var(--mono);font-size:10px;font-weight:500;color:var(--muted);padding:1px 2px}
.tr-tbl tr.tr-wp td{font-size:11px;color:var(--muted)}
.tr-tbl tr.tr-wp td.miss{color:var(--warn-ink);background:var(--warn-bg);font-weight:600}
.tr-tbl tr.tr-wp select{font:inherit;font-size:10.5px;color:var(--ink-2);border:1px solid var(--rule);border-radius:6px;background:#fff;padding:2px 0 2px 3px;width:100%;max-width:7.5em;min-width:0}
.tr-hol{display:block;font-size:9.5px;color:var(--accent-deep);font-weight:600}
.tr-chg{display:block;font-size:9.5px;color:var(--teal);font-weight:600}
.tr-change{display:block;margin:3px auto 0;font-size:10.5px;font-weight:600;color:var(--teal);text-decoration:underline;padding:0}
.tr-rm{display:block;font-size:11px;color:var(--muted);text-decoration:underline;padding:0;margin-top:3px}
.tr-rm:hover{color:var(--err)}
.tr-foot{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-top:var(--sp-4)}
.tr-meter{display:grid;gap:5px;min-width:300px}
.tr-meter .bar{height:8px;border-radius:999px;background:var(--track);overflow:hidden;display:flex}
.tr-meter .bar i{display:block;height:100%}
.tr-meter .bar i.w{background:var(--taken)}
.tr-meter .bar i.o{background:var(--left)}
.tr-meter .lab{display:flex;gap:16px;flex-wrap:wrap;color:var(--muted);font-size:12px}
.tr-meter .lab b{color:var(--ink);font-variant-numeric:tabular-nums}
.tr-saving{color:var(--faint)}
.tr-actions{display:flex;gap:8px}
/* The ITDS pills: a ghost button outlined in black; .pri is the screen's one orange action (Submit). */
.tr-btn{font:inherit;font-weight:700;border-radius:var(--r-pill);padding:9px 18px;border:1.5px solid var(--ink);background:var(--surface);color:var(--ink);font-size:14px;transition:background .2s}
.tr-btn:hover{background:var(--surface-2)}
.tr-btn:focus-visible{outline:none;box-shadow:var(--focus)}
.tr-btn.pri{background:var(--accent);border-color:var(--accent);color:#fff}
.tr-btn.pri:hover{background:var(--accent-deep);border-color:var(--accent-deep)}
.tr-btn:disabled{opacity:.55;cursor:not-allowed}
.tr-hint{background:var(--surface-2);border:1px solid var(--rule);border-radius:var(--r-1);padding:9px 12px;color:var(--muted);font-size:12px;margin-top:var(--sp-3)}
.tr-hint p{margin:0}
.tr-hint p+p{margin-top:4px}
.tr-issues{list-style:none;margin:var(--sp-3) 0 0;padding:10px 12px;border-radius:var(--r-1);background:var(--warn-bg);border:1px solid var(--warn-border);color:var(--warn-ink);font-size:12.5px;display:grid;gap:4px}
.tr-add{margin-top:var(--sp-3);border:1px solid var(--rule);border-radius:var(--r-2);padding:var(--sp-4);display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;background:var(--surface)}
.tr-add label{display:grid;gap:4px;font-size:11px;color:var(--muted);font-weight:600}
.tr-add select,.tr-add input{font:inherit;font-size:13px;border:1px solid var(--rule-strong);border-radius:8px;padding:6px 8px;background:#fff;color:var(--ink)}
.tr-add-kind{display:inline-flex;border:1px solid var(--rule);border-radius:var(--r-1);padding:2px;width:100%;max-width:280px}
.tr-add-kind button{flex:1;padding:6px 10px;border-radius:8px;font-size:12.5px;font-weight:600;color:var(--muted)}
.tr-add-kind button[aria-pressed="true"]{background:var(--teal);color:#fff}
.tr-add-note{flex-basis:100%;margin:0;font-size:12px;color:var(--muted)}
.tr-add-actions{display:flex;gap:8px;margin-left:auto}
/* Change a day drawer (inside the shared rq-drawer) */
.tr-when{margin:0;color:var(--muted);font-size:13px}
.tr-explain{margin:0;font-size:13.5px;color:var(--ink-2);line-height:1.55}
.tr-cols{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tr-box{border:1px solid var(--rule);border-radius:var(--r-1);padding:10px;display:grid;gap:4px;align-content:start}
.tr-box.lock{background:var(--surface-2)}
.tr-box .k,.tr-field-l{font-size:11px;color:var(--muted);font-weight:600}
.tr-box b{font-size:13px}
.tr-mut{font-size:11.5px;color:var(--muted);margin:0}
.tr-target{display:flex;align-items:center;gap:6px;font-size:12.5px}
.tr-target span{flex:1}
.tr-target input{width:4.2em;font:inherit;font-size:12.5px;border:1px solid var(--teal);border-radius:8px;padding:4px 6px}
.tr-target input.tr-start-d{width:4.4em;border-color:var(--rule-strong);font-family:var(--mono);font-size:12px}
.tr-mini{border-collapse:collapse;width:100%;font-size:12px;font-variant-numeric:tabular-nums;margin-top:4px}
.tr-mini td{padding:6px 4px;border-bottom:1px solid var(--rule)}
.tr-mini td.q{text-align:right;font-weight:700;white-space:nowrap}
.tr-mini .neg{color:var(--err)} .tr-mini .pos{color:var(--teal)}
.tr-linkbtn{align-self:flex-start;font-size:12.5px;font-weight:600;color:var(--teal);text-decoration:underline;padding:0}
.tr-why{display:grid;gap:4px}
.tr-why textarea{font:inherit;font-size:13px;border:1px solid var(--rule-strong);border-radius:var(--r-1);padding:8px 10px;resize:vertical}
.tr-hint-s{margin:0;font-size:12px;color:var(--muted);background:var(--surface-2);border:1px solid var(--rule);border-radius:var(--r-1);padding:9px 12px}
/* Time off's type picker (time reporting step 2c): BC's causes of absence,
   holiday and sick leave first, the rest behind "Other types" (plan mockup). */
.tp{display:flex;flex-direction:column;gap:6px}
.tp-l{font-size:11.5px;color:var(--muted);font-weight:600}
.tp-opts{display:flex;flex-direction:column;gap:6px}
.tp-opt{display:flex;justify-content:space-between;align-items:center;gap:var(--sp-3);text-align:left;border:1px solid var(--rule);border-radius:var(--r-1);padding:8px 11px;background:var(--surface);color:var(--ink);font-size:13px}
.tp-opt b{font-weight:600}
.tp-opt span{font-family:var(--mono);font-size:11px;color:var(--muted)}
.tp-opt:hover{border-color:var(--rule-strong)}
.tp-opt.on{border-color:var(--teal);box-shadow:inset 0 0 0 1px var(--teal);background:var(--surface-2)}
.tp-opt.more{color:var(--teal);font-weight:600;justify-content:flex-start}
.rq-ctx{margin:3px 0 0;font-size:12.5px;color:var(--muted)}
.rq-types-note{margin:0;font-size:12.5px;color:var(--muted)}
.rq-after-free{margin-top:10px;color:var(--muted)}
@media (max-width:760px){
  .tr-cols{grid-template-columns:1fr}
  .tr-meter{min-width:0;width:100%}
}

/* ---- Time reporting, Month (step 2d; the approved proposal 8y23DNF4…, M1–M6) ---- */
.tr-view{display:inline-flex;background:var(--bg);border-radius:10px;padding:3px}
.tr-view button{padding:5px 12px;border-radius:8px;color:var(--muted);font-weight:600;font-size:12.5px}
.tr-view button.on{background:var(--surface);color:var(--teal-ink);box-shadow:none}
.mv-meter{display:grid;gap:7px;margin-bottom:var(--sp-4)}
.mv-bar{height:9px;border-radius:99px;background:var(--track);overflow:hidden;display:flex}
.mv-bar i{display:block;height:100%}
.mv-lab{display:flex;flex-wrap:wrap;gap:6px 18px;color:var(--muted);font-size:12px}
.mv-lab span{display:inline-flex;align-items:center;gap:6px}
.mv-lab i{width:9px;height:9px;border-radius:3px;display:inline-block}
.mv-lab b{color:var(--ink);font-variant-numeric:tabular-nums}
.b-sent{background:var(--st-post)}.b-appr{background:var(--st-appr)}.b-sub{background:var(--st-sub)}.b-due{background:var(--st-draft)}.b-ahead{background:var(--rule-strong)}
.mv-grid{display:grid;grid-template-columns:118px repeat(7,minmax(0,1fr));gap:6px;font-variant-numeric:tabular-nums}
.mv-dow{font-size:11px;color:var(--muted);font-weight:600;padding:0 4px}
.mv-dow.we{color:var(--faint)}
.mv-wk{display:grid;align-content:start;gap:5px;padding:6px 2px 0 0}
.mv-wk b{font-size:11px;color:var(--muted);font-weight:600}
.mv-wk .tr-chip{justify-self:start;font-size:10.5px;padding:2px 8px}
.mv-d{position:relative;min-height:86px;text-align:left;border:1px solid var(--rule);border-top:3px solid var(--st,var(--rule));border-radius:10px;padding:7px 8px 8px;display:grid;align-content:start;gap:2px;background:var(--surface);color:var(--ink);font:inherit;min-width:0}
button.mv-d{cursor:pointer}
button.mv-d:hover{border-color:var(--rule-strong)}
button.mv-d:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.mv-d .n{display:flex;justify-content:space-between;align-items:baseline;font-size:11px;color:var(--muted);font-weight:600}
.mv-d .h{font-family:var(--disp);font-size:19px;font-weight:700;color:var(--teal-ink);line-height:1.15}
.mv-d .h small{font-family:var(--sans);font-size:11px;font-weight:600;color:var(--muted);margin-left:2px}
.mv-d .l{font-size:11px;color:var(--muted);line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mv-d .t{justify-self:start;max-width:100%;font-size:10px;font-weight:600;border-radius:999px;padding:0 6px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mv-d .t-ot{background:var(--hatch);color:var(--ink)}
.mv-d .t-chg{background:var(--violet-bg);color:var(--violet)}
.mv-d .t-req{background:var(--warn-bg);color:var(--warn-ink)}
.mv-d .dots{display:none}
.mv-d .today-tag{font-size:10px;color:var(--teal);font-weight:700}
.mv-d.s-post{--st:var(--st-post)}.mv-d.s-appr{--st:var(--st-appr)}.mv-d.s-sub{--st:var(--st-sub)}.mv-d.s-draft{--st:var(--st-draft)}.mv-d.s-rej{--st:var(--err)}
.mv-d.we,.mv-d.empty{background:var(--surface-2);border-color:var(--rule);border-top-color:var(--rule)}
.mv-d.out{background:transparent;border:1px dashed var(--rule)}
.mv-d.out .n{color:#b9b3a6}
.mv-d.hol{background:var(--sand-1);border-color:var(--sand-2);border-top-color:var(--sand-2)}
.mv-d.hol .l{color:var(--warn-ink);font-weight:600;white-space:normal}
.mv-d.off{background:var(--violet-bg);border-color:var(--off-rule)}
.mv-d.off .h,.mv-d.off .l{color:var(--violet)}
.mv-d.off .l{font-weight:600}
.mv-d.ahead{border-style:dashed;border-top-style:solid;background:var(--surface-2)}
.mv-d.ahead .h{color:var(--faint)}
.mv-d.today{box-shadow:0 0 0 2px var(--teal)}
.mv-d.sel{box-shadow:0 0 0 2px var(--ink)}
.mv-foot{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.mv-legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:11.5px;color:var(--muted)}
.mv-legend span{display:inline-flex;align-items:center;gap:6px}
.mv-legend i{width:14px;height:10px;border-radius:3px;display:inline-block;border:1px solid var(--rule)}
.mv-legend .lg-sent{border-top:3px solid var(--st-post)}.mv-legend .lg-appr{border-top:3px solid var(--st-appr)}.mv-legend .lg-sub{border-top:3px solid var(--st-sub)}.mv-legend .lg-draft{border-top:3px solid var(--st-draft)}
.mv-legend .lg-off{background:var(--violet-bg);border-color:var(--off-rule)}.mv-legend .lg-hol{background:var(--sand-1);border-color:var(--sand-2)}.mv-legend .lg-ahead{border-style:dashed}
.mv-sheet{border-top:1px solid var(--rule);padding-top:12px;display:grid;gap:8px}
.mv-sheet .row{display:flex;justify-content:space-between;gap:10px}
.mv-sheet .row span{color:var(--muted);font-size:12.5px}
.mv-sheet .tr-btn{justify-self:start}
/* the day drawer */
.mv-lines{border:1px solid var(--rule);border-radius:var(--r-1);padding:10px 12px;display:grid;grid-template-columns:1fr 58px 66px;gap:6px 10px;align-items:center}
.mv-lines .fl{font-size:11px;color:var(--muted);font-weight:600}
.mv-lines .r{text-align:right}.mv-lines .c{text-align:center}
.mv-lines .nm{min-width:0}
.mv-lines .nm b{display:block;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mv-lines .nm span{font-family:var(--mono);font-size:10.5px;color:var(--muted)}
.mv-fld{border:1px solid var(--rule-strong);border-radius:8px;padding:5px 8px;text-align:right;font-variant-numeric:tabular-nums;font-weight:600;background:var(--surface);color:var(--ink);font:inherit;width:100%}
.mv-fld.mono{font-family:var(--mono);font-size:12px;text-align:center}
.mv-ro{font-variant-numeric:tabular-nums;font-weight:600}
.mv-off{margin:0;font-size:13px;color:var(--violet);background:var(--violet-bg);border:1px solid var(--off-rule);border-radius:var(--r-1);padding:8px 12px}
.mv-off span{color:var(--muted);font-size:12px}
.mv-wp{display:grid;gap:6px}
.mv-wp .fl{font-size:11px;color:var(--muted);font-weight:600}
.mv-wp-opts{display:flex;gap:6px;flex-wrap:wrap}
.mv-wp-opts button{border:1px solid var(--rule);border-radius:8px;padding:5px 10px;font-family:var(--sans);font-size:12.5px;font-weight:500;color:var(--ink);background:var(--surface)}
.mv-wp-opts button.on{border-color:var(--teal);box-shadow:inset 0 0 0 1px var(--teal);background:var(--surface-2);font-weight:600}
.mv-links{display:flex;gap:16px;flex-wrap:wrap;align-items:center}
.mv-actions{justify-content:space-between;align-items:center}
@media (max-width:760px){
  .mv-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
  .mv-corner,.mv-wk{display:none}
  .mv-dow{text-align:center;padding:0}
  .mv-d{min-height:42px;padding:4px 2px;border-top-width:1px;border-color:transparent;background:transparent;place-items:center;align-content:center;gap:2px;text-align:center}
  .mv-d.we,.mv-d.empty,.mv-d.out{border-color:transparent;background:transparent}
  .mv-d .n{justify-content:center;font-size:12.5px;color:var(--ink)}
  .mv-d.we .n,.mv-d.out .n,.mv-d.empty .n{color:#b9b3a6;font-weight:500}
  .mv-d .h,.mv-d .l,.mv-d .t,.mv-d .today-tag{display:none}
  .mv-d .dots{display:flex;gap:2px;justify-content:center;min-height:5px}
  .mv-d .dots i{width:5px;height:5px;border-radius:50%;display:block;background:var(--st,var(--st-draft))}
  .mv-d .dots i.w{background:var(--warn-ink)}
  .mv-d.ahead .dots i{background:var(--rule-strong)}
  .mv-d.sel{background:var(--teal);box-shadow:none}
  .mv-d.sel .n{color:#fff}
  .mv-d.sel .dots i{background:#fff}
  .mv-foot{position:sticky;bottom:0;background:var(--surface-2);border:1px solid var(--rule);border-radius:12px;padding:8px 10px}
  .mv-legend{display:none}
  /* The title on its own line, the controls under it (the toggle made the
     row too wide for a phone, in the week view too). */
  .tr .topbar{flex-wrap:wrap;gap:12px}
  .tr .topbar .side-ctl{flex-wrap:wrap;gap:8px}
}

/* My work › Your projects and tasks (time reporting step 6, 2026-11-05) */
.tk-pb{display:grid;gap:14px}
.tk-card{border:1px solid var(--rule);border-radius:var(--r-3);overflow:hidden}
.tk-card-h{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 14px;border-bottom:1px solid var(--rule);background:var(--surface-2)}
.tk-card-h b{display:block;font-size:14px;color:var(--ink)}
.tk-meta{display:block;color:var(--muted);font-size:12px}
.tk-badge{font-size:11px;font-weight:700;color:var(--teal);background:var(--track);border-radius:999px;padding:1px 9px;white-space:nowrap}
.tk-sec{padding:12px 14px;display:grid;gap:4px;border-bottom:1px solid var(--rule)}
.tk-sec:last-child{border-bottom:0}
.tk-task{display:grid;grid-template-columns:70px minmax(0,1fr) auto;gap:10px;align-items:center;padding:4px 0}
.tk-tc{font-family:var(--mono);font-size:11px;color:var(--muted)}
.tk-when{color:var(--muted);font-size:12px}
.tk-act{display:inline-flex;align-items:center;gap:10px}
.tk-state{font-size:12px;font-weight:600;color:var(--taken);background:var(--surface-2);border:1px solid var(--rule);border-radius:999px;padding:1px 9px;white-space:nowrap}
.tk-state.no{color:var(--err);background:var(--err-bg);border-color:var(--err-border)}
.tk-why{grid-column:2/4;font-size:12px;color:var(--muted)}
.tk-ask{font:inherit;font-size:12px;font-weight:600;color:var(--teal);background:var(--surface);border:1px solid var(--teal);border-radius:var(--r-1);padding:4px 10px}
.tk-ask:disabled{opacity:.6}
.tk-field{display:grid;gap:4px}
.tk-value{border:1px solid var(--rule);border-radius:var(--r-1);padding:8px 10px;color:var(--ink)}
@media (max-width:640px){
  .tk-task{grid-template-columns:52px minmax(0,1fr)}
  .tk-task .tk-when,.tk-task .tk-act{grid-column:2}
  .tk-why{grid-column:2}
  .tk-card-h{flex-wrap:wrap}
  .tk-act{flex-wrap:wrap;row-gap:6px}
}

/* Home › What's new (time reporting step 6) */
.nw-list{list-style:none;margin:0;padding:0}
.nw-row{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:10px;padding:11px 22px;border-bottom:1px solid var(--rule);align-items:start;font-size:13.5px;color:var(--ink)}
.nw-row:last-child{border-bottom:0}
.nw-dot{width:8px;height:8px;border-radius:50%;margin-top:6px;background:var(--teal)}
.nw-dot.no{background:var(--err)}
.nw-dot.mu{background:var(--faint)}
.nw-tx{display:grid;gap:4px;justify-items:start}
.nw-reason{color:var(--ink-2);font-size:13px}
.nw-when{color:var(--muted);font-size:12px;white-space:nowrap}

/* Service reports — the B2B contact confirms reports (time reporting step 8a,
   mockup "Portal, Service reports"). Severity is a left rule plus words,
   never a filled row: amber a note, violet a correction, rust a fix first. */
/* (The count's look is the ITDS one, with the nav rules above.) */
.tr-btn.sm{padding:5px 12px;font-size:12.5px;border-width:1px;border-color:var(--rule-strong)}
.sr-panel{overflow:visible}
.sr-bulk{display:flex;align-items:center;gap:var(--sp-3);flex-wrap:wrap;padding:var(--sp-3) 22px;border-bottom:1px solid var(--rule);background:var(--surface-2)}
.sr-mut{color:var(--muted);font-size:12px}
.sr-empty{margin:0;color:var(--muted)}
.sr-msg{margin:0 0 var(--sp-3);padding:9px 12px;border-radius:var(--r-1);background:var(--surface-2);border:1px solid var(--rule);font-size:13px;color:var(--ink)}
.sr-msg.bad{background:var(--err-bg);border-color:var(--err-border);color:var(--err)}
.sr-list{display:grid}
.sr-row{display:grid;grid-template-columns:28px minmax(160px,1.4fr) 110px 92px 80px minmax(180px,2fr) 72px;gap:var(--sp-3);align-items:center;padding:11px 22px;border-bottom:1px solid var(--rule);border-left:3px solid transparent;font-size:13.5px;color:var(--ink)}
.sr-row.req{grid-template-columns:28px minmax(160px,1.4fr) 110px 92px minmax(180px,2fr) minmax(0,330px)}
.sr-row>span:last-child{justify-self:end}
.sr-row.req>.sr-two{justify-self:stretch}
.sr-ph{display:none}
.sr-row.head{font-size:11.5px;font-weight:600;color:var(--faint);padding-top:9px;padding-bottom:9px}
.sr-row.amb{border-left-color:var(--accent-deep)}
.sr-row.vio{border-left-color:var(--st-sub)}
.sr-row.rust{border-left-color:var(--err)}
.sr-row .num{text-align:right;font-variant-numeric:tabular-nums}
.sr-tick{width:16px;height:16px;accent-color:var(--teal)}
.sr-who{display:grid;min-width:0}
.sr-who b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sr-who small{color:var(--muted);font-size:12px}
.sr-when{font-variant-numeric:tabular-nums;white-space:nowrap}
.sr-note{font-size:12.5px;color:var(--ink-2)}
.sr-note.amb{color:var(--warn-ink)}
.sr-note.vio{color:var(--st-sub-ink)}
.sr-note.rust{color:var(--err)}
.sr-note small{color:var(--muted)}
.sr-two{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.sr-open{display:grid;gap:var(--sp-3);padding:var(--sp-3) 22px var(--sp-4) 53px;border-bottom:1px solid var(--rule);background:var(--surface-2)}
.sr-week-wrap{overflow-x:auto}
.sr-week{border-collapse:collapse;font-size:12.5px;min-width:100%}
.sr-week th,.sr-week td{padding:6px 8px;border-bottom:1px solid var(--rule);text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.sr-week th:first-child,.sr-week td:first-child{text-align:left;white-space:normal;min-width:200px}
.sr-week th{color:var(--faint);font-weight:600}
.sr-week tr.off td:first-child{color:var(--muted)}
.sr-week td.neg{color:var(--err)}
.sr-say{font-size:13px;color:var(--ink-2)}
.sr-actions{display:flex;gap:var(--sp-2);flex-wrap:wrap}
.sr-answered{list-style:none;margin:0;padding:0}
.sr-answered li{display:grid;grid-template-columns:minmax(140px,1.4fr) 110px minmax(160px,1.6fr) auto;gap:var(--sp-3);padding:10px 22px;border-bottom:1px solid var(--rule);font-size:13px;align-items:center}
.sr-answered li:last-child{border-bottom:0}
.sr-answered .sr-hr{color:var(--muted)}
.sr-answered time{color:var(--muted);font-size:12px}
@media (max-width:760px){
  .sr-row.head{display:none}
  .sr-row{grid-template-columns:24px minmax(0,1fr) auto;grid-template-areas:"tick who act" "tick when act" "tick note note";row-gap:4px;padding:12px 16px}
  .sr-row.req{grid-template-columns:24px minmax(0,1fr);grid-template-areas:"tick who" "tick when" "tick note" "tick act"}
  .sr-row.req>span:last-child{justify-self:start}
  .sr-ph{display:inline}
  .sr-row>span:nth-child(1){grid-area:tick}
  .sr-row>.sr-who{grid-area:who}
  .sr-row>.sr-when{grid-area:when;color:var(--muted);font-size:12.5px}
  .sr-row>.num{display:none}
  .sr-row>.sr-note{grid-area:note}
  .sr-row>span:last-child{grid-area:act;align-self:start}
  .sr-open{padding:var(--sp-3) 16px}
  .sr-answered li{grid-template-columns:minmax(0,1fr) auto;padding:10px 16px}
  .sr-bulk{padding:var(--sp-3) 16px}
}

/* Step 8b: the B2B month estimate beside the month grid (above it on a phone).
   Labelled as an estimate; amber marks a task with no rate, with its words. */
.mv-body.has-est{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,290px);grid-template-areas:"grid est";gap:var(--sp-4);align-items:start}
.mv-body.has-est>.mv-grid{grid-area:grid}
.mv-body.has-est>.mv-est{grid-area:est}
.mv-est{border:1px solid var(--rule);border-radius:var(--r-3);background:var(--surface-2);padding:var(--sp-4);display:grid;gap:var(--sp-3);align-content:start}
.mv-est-lab{display:flex;justify-content:space-between;align-items:center;gap:var(--sp-2);font-size:12px;color:var(--muted);font-weight:600}
.mv-est-tag{font-size:10.5px;font-weight:700;color:var(--amber);background:var(--amber-bg);border-radius:999px;padding:1px var(--sp-2)}
.mv-est-big{font-family:var(--disp);font-size:27px;font-weight:700;color:var(--teal-ink);font-variant-numeric:tabular-nums;line-height:1.1}
.mv-est-big small{font-family:var(--sans);font-size:12px;font-weight:500;color:var(--muted);margin-left:6px}
.mv-est ul{list-style:none;margin:0;padding:0;display:grid;border-top:1px solid var(--rule)}
.mv-est li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px var(--sp-3);padding:var(--sp-2) 0;border-bottom:1px solid var(--rule);font-size:13px;font-variant-numeric:tabular-nums}
.mv-est li span{grid-column:1/-1;font-size:12px;color:var(--muted)}
.mv-est li.miss .amt{color:var(--amber)}
.mv-est-more{display:none;justify-self:start}
.mv-est-so{margin:0;font-size:12.5px;color:var(--ink)}
.mv-est-note{margin:0;font-size:12px;color:var(--muted)}
@media (max-width:1100px){
  .mv-body.has-est{grid-template-columns:minmax(0,1fr);grid-template-areas:"est" "grid"}
}
@media (max-width:760px){
  .mv-est ul:not(.open){display:none}
  .mv-est-more{display:inline}
}

/* ---- "Planned" looks the same everywhere (testing feedback, 05/11/2026) ----
   One mark for planned days — a teal hatch inside a teal ring — on the Time off
   ring, card, bars and legend, and on the Calendar's bar key, legend and days.
   The Calendar's legend was a ring and its bar a hatch, so they didn't match. */
.planned-sw,.allow-key .kd.planned,.cal-legend2 .sw.pending{background:repeating-linear-gradient(45deg,var(--left) 0 2px,var(--hatch) 2px 5px);box-shadow:inset 0 0 0 1.5px var(--left)}
.ym-day.pending{background:repeating-linear-gradient(45deg,var(--rule-strong) 0 2px,var(--surface-2) 2px 6px);box-shadow:inset 0 0 0 2px var(--left)}
.allow-meter .seg.planned{background:repeating-linear-gradient(45deg,var(--left) 0 3px,var(--hatch) 3px 6px)}
.chart-legend .dot.planned-sw{border-radius:2px}
.chart .stack i.planned{background:repeating-linear-gradient(45deg,var(--left) 0 3px,var(--hatch) 3px 6px);border-radius:4px 4px 0 0;margin-bottom:2px}
.chart .stack i.planned+i{border-radius:0 0 3px 3px}
.breakdown.four{grid-template-columns:repeat(4,1fr)}
.bd.planned{border-top:2px solid var(--left)}
@media(max-width:760px){.breakdown.four{grid-template-columns:repeat(2,1fr)}}

/* Home shows planned the Time off way (testing round 1, 05/11/2026): the
   donut's planned share is hatched, with a key beneath the hero line. On
   Home the solid arc is what is still free, so its swatch is teal, not track. */
.allow-key.home-key{margin:var(--sp-2) 0 var(--sp-1)}
.allow-key.home-key .kd.free{background:var(--taken)}
/* By month: the edge months' tooltip grows inward, never past the panel. */
.chart .col.edge-l .tip{left:0;transform:none}
.chart .col.edge-l .tip::after{left:12px;transform:none}
.chart .col.edge-r .tip{left:auto;right:0;transform:none}
.chart .col.edge-r .tip::after{left:auto;right:12px;transform:none}

/* ---- Time reporting, testing round 1 (05/11/2026) ---- */
/* The week strip: one chip per week, the shown week in the middle and filled,
   today's week named, arrows at both ends to step a week at a time. */
.tr-periods{align-items:stretch;flex-wrap:nowrap;overflow-x:auto}
.tr-per{flex:1 1 0;min-width:118px}
.tr-per .wk{display:flex;justify-content:space-between;align-items:baseline;gap:6px;font-size:11px;color:var(--muted)}
.tr-per .wk em{font-style:normal;font-size:10px;font-weight:700;color:var(--teal)}
.tr-per.now{border-color:var(--teal)}
.tr-per.on{background:var(--teal-wash);border-color:var(--teal);box-shadow:inset 0 0 0 2px var(--teal)}
.tr-per.on .wk{color:var(--teal-ink)}
.tr-per-step{flex:0 0 auto;width:34px;border:1px solid var(--rule);border-radius:var(--r-1);background:var(--surface);display:grid;place-items:center;color:var(--muted)}
.tr-per-step:hover{background:var(--surface-2);color:var(--ink)}
.tr-per-step svg{width:16px;height:16px}
/* Total per day, under the rows. */
.tr-tbl tfoot td{background:var(--surface-2);font-weight:700;border-top:1px solid var(--rule-strong);border-bottom:0}
.tr-tbl tfoot td.z{color:var(--rule-strong);font-weight:400}
.tr-tbl tfoot td.lbl b{font-size:12px}
/* A public holiday a B2B consultant can type into. */
.tr-tbl td.hol{background:var(--amber-wash)}
/* "Did you work the holiday?" */
.tr-ask{margin-top:var(--sp-3);border:1px solid var(--amber-border);border-left:3px solid var(--amber-rule);border-radius:var(--r-1);background:var(--amber-wash);padding:10px var(--sp-3);display:flex;flex-wrap:wrap;gap:10px var(--sp-4);align-items:center;justify-content:space-between;font-size:12.5px}
.tr-ask p{margin:0;flex:1 1 320px;color:var(--amber-ink)}
.tr-ask-actions{display:flex;gap:var(--sp-2)}
/* The day drawer: two columns when there is no start time to type. */
.mv-lines.no-start{grid-template-columns:1fr 76px}
/* A day half off, half at work: the cell splits in two. */
.mv-split{display:grid;gap:3px;margin-top:2px}
.mv-split .part{display:grid;border-radius:6px;padding:2px 5px}
.mv-split .p-work{background:var(--surface-2)}
.mv-split .p-off{background:var(--violet-bg)}
.mv-split .p-off .h,.mv-split .p-off .l{color:var(--violet)}
.mv-split .h{font-size:15px}
/* Status is a tint as well as the top rule, so it reads at a glance. */
.mv-d.work.s-sub,.mv-d.mixed.s-sub{background:var(--tint-sub)}
.mv-d.work.s-appr,.mv-d.mixed.s-appr{background:var(--tint-appr)}
.mv-d.work.s-post,.mv-d.mixed.s-post{background:var(--tint-post)}
.mv-d.work.s-rej,.mv-d.mixed.s-rej{background:var(--err-bg)}
.mv-legend{font-size:12.5px;gap:var(--sp-2) 18px;color:var(--ink)}
.mv-legend i{width:20px;height:14px}
.mv-legend .lg-sub{background:var(--tint-sub)}.mv-legend .lg-appr{background:var(--tint-appr)}.mv-legend .lg-sent{background:var(--tint-post)}
@media (max-width:760px){
  .mv-split{display:none}
  .tr-per{min-width:104px}
}

/* A B2B declaration's "Recorded" pill on Home (testing round 1, 05/11/2026). */
.home-pill.recorded{color:var(--teal);background:var(--teal-wash);border-color:var(--teal-border)}

/* Cancelling time off (testing round 1, 05/11/2026): the cancel drawer's day
   toggles, a cancellable planned day in the Calendar, and the week's × on a
   day off the person may still remove. */
.cx-help{font-size:13.5px;color:var(--muted);margin:0 0 14px;line-height:1.5}
.cx-days{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:var(--sp-2)}
.cx-day{display:flex;flex-direction:column;align-items:center;gap:2px;padding:var(--sp-2) var(--sp-1);border-radius:var(--r-1);border:1px solid var(--rule);background:var(--surface);color:var(--ink-2);font:inherit;font-size:12px;cursor:pointer}
.cx-day b{font-size:14px;color:var(--ink)}
.cx-day.on{border-color:var(--err-border);background:var(--err-bg);color:var(--err)}
.cx-day.on b{color:var(--err);text-decoration:line-through}
.cx-quick{display:flex;gap:var(--sp-4);margin-top:10px}
.rq-submit.danger{background:var(--err)}
.ym-day.can-cancel{cursor:pointer}
.ym-day.can-cancel:hover{outline:2px solid var(--err-border);outline-offset:1px}
.tr-tbl td.off-rm{position:relative}
.tr-offx{position:absolute;top:2px;right:2px;width:18px;height:18px;border-radius:50%;border:0;background:transparent;color:var(--faint);font-size:14px;line-height:1;cursor:pointer;opacity:.55}
.tr-tbl tr:hover .tr-offx,.tr-offx:focus-visible{opacity:1}
.tr-offx:hover{background:var(--err-bg);color:var(--err)}
