/* ============================================================
   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 kicker bar (the heading's full stop was removed 09/11/2026),
   and the line of a month still filled in BC (.tr-bc-month), a month with no Submit.
   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{
  --tour-dim:rgba(16,15,50,.62); /* Beam help: the tutorial dims the page with the navy of the panels' shadow */
  /* 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;
  /* The Calendar's other absences (sick leave and the like): a second colour beside the balance's greys. */
  --other:#3a6db5; --other-soft:#c9d9f0; --other-ink:#1f4378;
  /* Dzień wolny za święto w sobotę (25/11/2026): the day a Saturday public
     holiday owes, in Beam's existing green (--ok), apart from the holiday's
     black and grey, the other-absence blue and the public-holiday sand. Always
     with its label and a number; the ink stays on top of it (white on it is
     4.0:1, under small text's 4.5). */
  --extra:var(--ok); --extra-soft:#e3f1e9;
  --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 change on its way (navy); a sent request's wash; 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;
  --teal-wash:#f6f4ec; --teal-tint:#efebe0; --teal-hatch:#e2ddd0; --teal-border:#d6d1c2;
  /* Service reports' "a change" tone (the indigo a sent week used to wear). */
  --st-sub:#3b3f73; --st-sub-ink:#2f3366;
  /* A week's four steps and its one flag (the lead, 18/11/2026, "Timesheet
     statuses, redesigned", D4): the edge, bar and dot of each, the ink of its
     word, and its pill's fill. Draft a grey outline (its hatch's second stripe
     beside it), Submitted Beam's "Sent" indigo, Approved green, Posted solid
     black, Sent back red. Every word passes 4.5:1 on its fill and every edge
     3:1 on the page, and each always has its icon and word beside the colour.
     A step already reached is ink-2 with a white tick. */
  --step-draft:#8a857b; --step-draft-ink:#3a3833; --step-draft-bg:#ffffff; --step-draft-2:#cfcac0;
  --step-sub:#3b3f73; --step-sub-ink:#2f3366; --step-sub-bg:#eceef7;
  --step-appr:#2f8f5b; --step-appr-ink:#1d6340; --step-appr-bg:#e3f2ea;
  --step-post:#1b1b1b; --step-post-ink:#ffffff; --step-post-bg:#1b1b1b;
  --step-back:#c0392b; --step-back-ink:#a3271a; --step-back-bg:#fbeceb;
  --step-done:#3a3833;
  /* What a day was (D3), never its week's state: time off in turquoise, a hue
     nothing else in Beam uses (the lead, 21/11/2026: days off easy to see; the
     warm-grey hatch it had read as a closed week), an other absence the
     Calendar's blue; a public holiday is --sand-*. */
  --day-off:#d3efef; --day-off-border:#8ccfcf; --day-off-ink:#0b5757;
  --day-other:#e3ebf7; --day-other-border:#c9d9f0; --day-other-ink:#1f4378;
  --off-rule:#dcdcea;
  /* The week table's current day: the whole column one step darker than what
     is under it. An overlay, so the weekend fill, a locked day, a public
     holiday's wash and the footer each keep their own background. */
  --today-shade:rgba(27,27,27,.055);
  /* Where a week-table cell's text starts, measured from the cell's edge. Named
     so the bar under the table can line its own text up with the first column
     instead of repeating the number. */
  --tr-cell-x:10px;
  /* Requests (Ask ITDS, step 5): the chat's wash and the person's bubble,
     Finance's tint, and "Sent" — in the ITDS palette since the merge with
     the ITDS look (09/11/2026): a warm wash, a navy-tinted own bubble, the
     brand's warm rust for Finance, and the indigo of a submitted week. */
  --chat:#f6f4ec; --bubble-me:#eceef7;
  --fin:#a24a19; --fin-bg:#fbe9dd;
  --sent:#3b3f73; --sent-border:#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);
  /* Notifications' panel over the page: a soft shadow to its left, no scrim (10/11/2026). */
  --shadow-panel:-16px 0 40px rgba(16,15,50,.12);
  --focus:0 0 0 3px rgba(235,92,28,.35);
  /* My subscriptions' wallet cards (2026-11-10): Medicover navy, Multisport
     deep orange, each a two-stop gradient whose lightest stop still holds
     white text at 4.5:1 (navy 13:1, orange 5.5:1), and a second line that
     does too (navy 9.8:1, orange 4.7:1). */
  --card-mc:#100f32; --card-mc-2:#2a2960; --card-mc-ink-2:#dcdcf0;
  --card-ms:#b8420e; --card-ms-2:#9a3a0e; --card-ms-ink-2:#fbe9dd;
  --card-cf:#5f5a54; --card-cf-2:#4a4540; --card-cf-ink-2:#ece8e1;
  --card-glow:rgba(255,255,255,.06);
  --card-ink:#ffffff; --card-rule:rgba(255,255,255,.12);
  /* The chip darkens its card (white on it: orange 7.6:1); a light chip on the orange was 4.2:1. */
  --card-chip:rgba(0,0,0,.25);
}
*{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}
/* One resize behaviour for every box of text, in the one place a touch
   device can override it (a grip needs a pointer — see the pointer:coarse
   block). It keeps what the per-screen rules already did, so do NOT put
   `resize` back on .tr-why textarea or textarea.ask-input: their higher
   specificity would win and the touch override would silently do nothing. */
textarea{resize:vertical}
.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;
  /* Held to the window (Danylo's review, 10/11/2026): the page scrolls, the menu does not, so the
     avatar is always in the bottom-left corner. A menu taller than the window scrolls inside itself. */
  position:sticky;top:0;height:100vh;box-sizing:border-box;align-self:start}
.side nav{flex:1 1 auto;min-height:0;overflow-y:auto;margin:-3px;padding:3px} /* 3px: room for an item's focus ring */
.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)}
/* No full stop after a heading (09/11/2026, the contributor: "Don't use dots at the end
   of headers it is ugly"). The ITDS look (#244) added an orange "." after every
   page title, Home's greeting and the sign-in title; it is gone on purpose, so
   don't bring it back from the design system's own sheet. */
/* `.sub` is the line under the title. A SUBMITTED week's chip once wore the
   bare word "sub" too, and this rule reached it inside the topbar; a week's
   step now wears `s-sub` (timeView.js STEP_CLASS), and portalCss.test.js
   keeps it that way. */
.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)}
/* B2B past their days off (09/11/2026): the warm tint, polite — a fact to know, never an error. */
.note.extra{background:var(--warn-bg);border:1px solid var(--warn-border);color:var(--warn-ink)}
.note.extra 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)}
/* B2B, past their days off: the Extra card, in amber (a fact to notice, not
   an alarm), with its split (used / planned) under the figure. */
.bd.extra{border-top:2px solid var(--amber-rule)}
.bd.sat{border-top:2px solid var(--extra);background:var(--extra-soft)}
.bd.sat .bd-k{align-items:flex-start}
.bd.sat .bd-k .dot{margin-top:3px}
.bd.sat .bd-k .bd-l{text-align:left;min-width:0}
.bd .bd-s{font-size:12.5px;color:var(--muted);margin-top:2px}
.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}
/* By month's months are buttons (testing round, 12/11/2026): the chosen one
   has a teal label and a teal mark beneath it — a label and a shape, never
   colour alone; the column tints on hover so it reads as clickable. */
button.col{padding:0;border-radius:var(--r-1)}
.chart button.col:hover{background:var(--surface-2)}
.chart button.col:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.chart .col.on .m{color:var(--teal-ink);font-weight:800}
.chart .col.on::after{content:"";position:absolute;bottom:-7px;left:50%;width:18px;height:3px;border-radius:2px;background:var(--teal);transform:translateX(-50%)}
.by-month .bm-head{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3);flex-wrap:wrap;
  margin:var(--sp-5) 0 var(--sp-2);padding-top:var(--sp-4);border-top:1px solid var(--rule)}
.by-month .bm-head h3{margin:0;font-family:var(--disp);font-size:16px;font-weight:800;color:var(--ink)}
/* All year (testing round 2, 12/11/2026): each month is one group under a
   tinted heading band, and its lines carry no rules between them — a rule
   between two lines of one month read as a random divider. */
.by-month .bm-group+.bm-group{margin-top:var(--sp-3)}
.by-month .bm-month{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3);margin:0;
  padding:var(--sp-2) var(--sp-3);background:var(--surface-2);border-radius:var(--r-1);font-size:13px;font-weight:700;color:var(--ink)}
.by-month .bm-month button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-underline-offset:3px}
.by-month .bm-month button:hover,.by-month .bm-month button:focus-visible{text-decoration:underline}
.by-month .bm-month span{font-family:var(--mono);font-weight:500;color:var(--muted)}
.by-month .bm-month+.upcoming li,.by-month .bm-month+.upcoming li:first-child{border-top:0;padding:var(--sp-2) var(--sp-3)}
.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.after{border-bottom:0;padding:6px 0;font-size:13px}
.addup li.after .v{color:var(--muted)}
.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)}
/* A no-limit B2B consultant's own target (2026-11-10): the person's figure, set here. */
.own-target-line{font-size:14px;color:var(--ink-2);margin:0 0 var(--sp-3);line-height:1.5}
.own-target-form{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-2) var(--sp-3);margin:0 0 var(--sp-3)}
.own-target-lab{font-size:12.5px;color:var(--muted);font-weight:600;flex-basis:100%}
.own-target-form .ask-input{width:6em}
.own-target-form .home-link{margin-top:0}
.own-target-note{font-size:12px;color:var(--muted);margin:0;line-height:1.5}

/* 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}
/* Not an error: Beam is not open for this person's group yet (the Beam access plan). */
.auth-notice{background:var(--warn-bg);border:1px solid var(--warn-border);color:var(--warn-ink);font-size:13.5px;line-height:1.5;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)}
/* A CTA in a title row is as wide as its words — "Tell ITDS you are not
   available" measures 309px — and .side-ctl may not shrink (flex:none), so on
   a 390px phone the button ran 68px past the screen (98px at 360px) with no
   way to reach its end: the page itself does not scroll sideways. The cap
   keeps the row inside the screen whatever the words are; the :has() rule
   gives the action its own line under the year switch, which is where it
   reads best. Holiday is the only screen that puts a CTA in .side-ctl (Home
   has .home-hero-row, Calendar .cal-head, Requests .ask), so no other title
   row moves. */
@media (max-width:760px){
  .topbar .side-ctl{max-width:100%}
  .topbar .side-ctl .cta-request{min-width:0}
  .topbar .side-ctl:has(.cta-request){flex:1 1 100%;justify-content:flex-start}
  .topbar .side-ctl:has(.cta-request) .cta-request{flex:1 1 100%;justify-content:space-between}
}

.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}
/* The title takes focus when the drawer opens (useDrawerFocus), as the notifications panel's does. */
.rq-head h2:focus{outline:none}
.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}
/* The months either side (the request drawer): lighter, still pickable. */
.cal-day.out:not(.past):not(.single):not(.start):not(.end){color:var(--muted);font-weight:400}
.cal-day.out.weekend:not(.past):not(.single):not(.start):not(.end){color:var(--faint)}
.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}
/* A range that runs over a week's end: the band rounds where the row stops and
   starts again, so it never breaks off on a square corner. Columns come from
   nth-child because buildMonthGrid pads every row to 7 Monday-first cells
   (requestView.js) and .cal-grid holds nothing else — change either and these
   round the wrong days. Desktop reads the same calendar, so it changes too. */
.cal-day.mid:nth-child(7n+1){border-radius:9px 0 0 9px}
.cal-day.mid:nth-child(7n){border-radius:0 9px 9px 0}
.cal-day.start:nth-child(7n),.cal-day.end:nth-child(7n+1){border-radius:9px}
.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-after.rq-sat{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.rq-after.rq-sat i{width:10px;height:10px;border-radius:3px;background:var(--extra);flex:none}
/* A figure for a year the drawer holds no figures for is an estimate while
   that year is still open (16/11/2026), and says so beside itself. */
.rq-est{font-style:normal;font-size:11.5px;color:var(--muted)}
.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)}
/* A B2B reader past their days off: a notice in the calm tone (.note.carry's),
   not a warning — the request can still be sent (09/11/2026). */
.rq-notices{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
/* B2B days earned month by month (2026-11-10): the server's check of the two
   limits — recorded straight away, or sent to ITDS as a request for extra days. */
.rq-check{display:flex;flex-direction:column;gap:4px;font-size:13px;line-height:1.45;border-radius:var(--r-1);padding:10px 12px;background:var(--surface-2);border:1px solid var(--rule);color:var(--ink)}
.rq-check.extra{background:var(--warn-bg);border-color:var(--warn-border);color:var(--warn-ink)}
.rq-notices 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(--surface-2);border:1px solid var(--rule);color:var(--muted)}
.rq-notices li svg{width:15px;height:15px;flex:none;margin-top:1px;color:var(--teal)}
.rq-foot{border-top:1px solid var(--rule);padding:16px 24px 20px;background:var(--surface)}
/* Time off in hours (timesheet plan v8, issue 7): each working day its own row. */
.rq-hours{display:grid;gap:6px;margin:0 0 var(--sp-3)}
.rq-hours-l{font-size:12px;color:var(--muted);font-weight:600}
.rq-hours-row{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3);font-size:13px;color:var(--ink)}
.rq-hours-row input{width:56px;font:inherit;font-size:13px;border:1px solid var(--rule-strong);border-radius:var(--r-1);padding:4px 8px;background:var(--surface);color:var(--ink)}
.rq-hours-quick{display:flex;gap:var(--sp-3)}
.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)}
.up-status.pending.extra{background:var(--warn-bg);border-color:var(--warn-border);color:var(--warn-ink)}
/* 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:3.5rem 7.5rem minmax(0,1fr) 4.5rem 4rem 5.5rem 5rem;grid-template-areas:'ref dates type days hours status act';align-items:center;column-gap:var(--sp-3)}
.up-line .up-hours{grid-area:hours;text-align:right;white-space:nowrap;font-family:var(--mono);font-size:12.5px;color:var(--muted)}
.up-line .up-status-h{grid-area:status}
.up-head .up-line{font-size:12px;color:var(--muted);font-weight:600}
.up-head .up-line > span{font-family:var(--sans);font-size:12px;font-weight:600;color:var(--muted)}
/* A range breaks after its arrow inside its column, never over Type (22/11/2026). */
.up-line .up-ref{grid-area:ref;font-family:var(--mono);font-size:12px;color:var(--muted);white-space:nowrap}
.up-line .up-dates{grid-area:dates;white-space:normal;overflow-wrap:anywhere}
.up-line .up-type{grid-area:type}
.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 auto;grid-template-areas:'dates days hours' 'type type type' 'ref status act';row-gap:var(--sp-1)}
  .up-head .up-line{display:flex;flex-wrap:wrap;column-gap:var(--sp-4)}
  .up-head .up-line > span:empty{display:none}}
.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)}
/* After an ask to reconsider (22/11/2026): Change the request, Keep it, and the one-line reply. */
.up-choices{display:flex;gap:var(--sp-4);margin:var(--sp-2) 0 0}
.up-choices .up-cancel:hover{color:var(--ink)}
.up-keep{display:flex;flex-wrap:wrap;align-items:flex-end;gap:var(--sp-3);margin:var(--sp-2) 0 0}
.up-keep-l{display:flex;flex-direction:column;gap:var(--sp-1);font-size:12px;color:var(--muted);flex:1 1 240px}
.up-keep-l input{font:inherit;font-size:13px;padding:var(--sp-2) var(--sp-3);border:1px solid var(--rule-strong);border-radius:var(--r-2);color:var(--ink);background:var(--surface)}

/* ---------------- 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)}
.allow-key .kd.sat{background:var(--extra)}
/* The year bar's other statuses (09/11/2026), in the year grid's colours:
   approved is the grid's solid warm grey, extra the amber of Days off's Extra card. */
.allow-meter .seg.approved,.allow-key .kd.approved{background:var(--left)}
.allow-meter .seg.extra,.allow-key .kd.extra{background:var(--amber-rule)}
.allow-key .kd.used{background:var(--taken)}
.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)}
/* The other colour (the lead, 17/11/2026): every absence that does not use the balance. */
.cal-legend2 .sw.oth{background:var(--other)}
.cal-legend2 .sw.sat{background:var(--extra-soft);box-shadow:inset 0 0 0 2px var(--extra)}
.cal-legend2 .lg-group{font-weight:600;color:var(--ink)}
.cal-legend2 .lg-next{margin-left:var(--sp-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.oth-taken{background:var(--other);color:#fff;font-weight:600;opacity:1}
.ym-day.oth-approved{background:var(--other-soft);color:var(--other-ink);font-weight:600;opacity:1}
.ym-day.oth-pending{background:var(--surface);box-shadow:inset 0 0 0 2px var(--other);color:var(--other-ink);font-weight:600;opacity:1}
/* Dzień wolny za święto w sobotę: taken is the wash with a solid ring, approved the wash, planned a dashed ring. */
.ym-day.sat-taken{background:var(--extra-soft);box-shadow:inset 0 0 0 2px var(--extra);color:var(--ink);font-weight:700;opacity:1}
.ym-day.sat-approved{background:var(--extra-soft);color:var(--ink);font-weight:600;opacity:1}
.ym-day.sat-pending{background:var(--surface);outline:2px dashed var(--extra);outline-offset:-2px;color:var(--ink);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,.ym-day.closed{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}
.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 (no full stop since 09/11), 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-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's balance sentence sits under the figure and the button, across the
   card (09/11/2026): one line on a laptop, wrapping on a phone. It pulls up
   into the card's gap so it still reads as the figure's caption. */
.home-hero > .home-hero-line{max-width:none;margin-top:calc(var(--sp-4) * -1)}
.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-sat i{display:inline-block;width:9px;height:9px;border-radius:3px;background:var(--extra);margin-right:6px;vertical-align:0}
.home-cards{flex:1 1 300px;min-width:0;display:flex;flex-direction:column;gap:20px}
/* The two cards share the column's height, so their pair ends level with the
   hero beside it (testing round, 12/11/2026: the hero stood taller). Stacked
   under the hero on a narrow screen, the column is its content's height. */
.home-cards>.home-card{flex:1 1 auto}
/* 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)}
/* The week line and the week's state on one row. */
.tr .topbar .sub.tr-sub{display:flex;align-items:center;gap:var(--sp-2);flex-wrap:wrap}
/* Pre-filled ("Who reports where", D7): a week saved at the switch to Beam from what the person typed before. */
.tr .topbar h1 .tr-prefilled{display:inline-block;margin-left:var(--sp-2);vertical-align:middle;font-size:12px;font-weight:700;letter-spacing:0;padding:2px 10px;border-radius:var(--r-pill);background:var(--accent-tint);color:var(--accent)}
.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)}

/* 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}
/* A year at either end of the axis is anchored inward, never half cut off —
   the same two steps a milestone's label takes. */
.g-tick.edge-start{transform:translateX(0)}
.g-tick.edge-end{transform:translateX(-100%)}
.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) */

@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)}
  /* The chart itself on a phone, with no reduced stand-in: a list of
     joined/left/rejoined is one line for anyone who never left ITDS, where the
     chart carries the whole history, bench included. It survives a narrow
     screen by construction — .g-scroll scrolls sideways, the name column is
     sticky, the axis never squeezes below 55px a year — so only the name
     column needs trimming to what a phone can spare. The strip above keeps the
     joining date in words: a chart can only put it in a position, and a title
     is no use on a touch screen. */
  .wk-desk{display:block}
  .wk-journey-panel{--g-label:116px}
  .wk-desk .g-label{padding:0 8px 0 18px}
  /* A bar's own duration is written at its START, which on a phone is usually
     scrolled behind the sticky name column: "4 yrs 11 mos" then read as
     "11 mos", which is a different number. The assignment list below states
     every one of them in full, so the bars go quiet here — except bench,
     whose length the list does not carry (it lists assignments only). */
  .wk-desk button.g-bar em{display:none}
  .wk-list{padding:var(--sp-4) 18px}
  .wk-row{padding:var(--sp-3)}
  /* The panel keeps its title on a phone. It used to be hidden, and with the
     chart hidden too the card began with an eyebrow: a reader met
     "ASSIGNMENTS, CURRENT FIRST" and "YOUR TIME AT ITDS" with nothing saying
     what the card is. The title is the only thing in this panel's head. */
}

/* ---------------- 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. */
/* A week's state (the lead, 18/11/2026, "Timesheet statuses, redesigned",
   D3–D5; StepParts.jsx draws it, timeView.js says which). Four steps and one
   flag, each with its icon and word: the pill, the mini track on a week card
   and a month row, the track in the week header (the compact one on a phone),
   and the comment of a week sent back. Every colour is a --step-* token, by
   the part's `s-` class; a day never wears one. */
.tr-pill{display:inline-flex;align-items:center;gap:5px;border-radius:var(--r-pill);padding:3px 10px 3px 8px;font-size:12px;font-weight:700;line-height:1.2;white-space:nowrap;border:1.5px solid transparent}
.tr-pill svg{width:13px;height:13px;flex:none}
.tr-pill.s-draft{background:var(--step-draft-bg);color:var(--step-draft-ink);border-color:var(--step-draft)}
.tr-pill.s-sub{background:var(--step-sub-bg);color:var(--step-sub-ink)}
.tr-pill.s-appr{background:var(--step-appr-bg);color:var(--step-appr-ink)}
.tr-pill.s-post{background:var(--step-post-bg);color:var(--step-post-ink)}
.tr-pill.s-back{background:var(--step-back-bg);color:var(--step-back-ink)}
/* Reopened (Posted ⇄ Reopened, 20/11/2026): the week is the person's to edit
   again, so it wears Draft's open colours, with its own word and lock icon. */
.tr-pill.s-reop{background:var(--step-draft-bg);color:var(--step-draft-ink);border-color:var(--step-draft)}
.tr-mtrack.s-reop i.on{background:var(--step-draft)}
.tr-word.s-reop{color:var(--step-draft-ink)}
.tr-track.s-reop li.cur .dot{background:var(--surface);border-color:var(--step-draft);color:var(--step-draft-ink)}
.tr-mtrack{display:inline-grid;grid-template-columns:repeat(4,14px);gap:3px;vertical-align:middle;flex:none}
.tr-mtrack i{height:5px;border-radius:3px;background:var(--rule)}
.tr-mtrack.s-draft i.on{background:var(--step-draft)}
.tr-mtrack.s-sub i.on{background:var(--step-sub)}
.tr-mtrack.s-appr i.on{background:var(--step-appr)}
.tr-mtrack.s-post i.on{background:var(--step-post)}
.tr-mtrack.s-back i.on{background:var(--step-back)}
.tr-word{font-size:12px;font-weight:700}
.tr-word.s-draft{color:var(--step-draft-ink)}
.tr-word.s-sub{color:var(--step-sub-ink)}
.tr-word.s-appr{color:var(--step-appr-ink)}
.tr-word.s-post{color:var(--ink)}
.tr-word.s-back{color:var(--step-back-ink)}
/* The week header's second row: the track, and beside it the one action that
   moves the week forward. Then, for a week sent back, its comment, once. */
.tr .topbar .tr-head{flex:1 1 100%;display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3) var(--sp-4);flex-wrap:wrap}
.tr-track{display:flex;align-items:center;flex-wrap:nowrap;list-style:none;margin:0;padding:0}
.tr-track li{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:var(--muted);white-space:nowrap}
.tr-track li+li::before{content:"";flex:none;width:26px;height:2px;margin:0 6px;background:var(--rule-strong)}
.tr-track li.done::before,.tr-track li.cur::before{background:var(--step-done)}
.tr-track .dot{flex:none;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;border:1.5px solid var(--rule-strong);background:var(--surface);color:var(--muted)}
.tr-track .dot svg{width:12px;height:12px}
.tr-track li.done{color:var(--step-done)}
.tr-track li.done .dot{background:var(--step-done);border-color:var(--step-done);color:var(--on-dark)}
.tr-track li.cur{color:var(--ink)}
.tr-track li.cur .dot{width:26px;height:26px}
.tr-track li.cur .lbl{font-weight:800}
.tr-track li.cur .when{color:var(--muted);font-weight:500}
.tr-track.s-draft li.cur .dot{background:var(--surface);border-color:var(--step-draft);color:var(--step-draft-ink)}
.tr-track.s-sub li.cur .dot{background:var(--step-sub);border-color:var(--step-sub);color:var(--on-dark)}
.tr-track.s-appr li.cur .dot{background:var(--step-appr);border-color:var(--step-appr);color:var(--on-dark)}
.tr-track.s-post li.cur .dot{background:var(--step-post);border-color:var(--step-post);color:var(--on-dark)}
.tr-track.s-back li.cur .dot{background:var(--step-back);border-color:var(--step-back);color:var(--on-dark)}
.tr-track.s-sub li.cur .lbl{color:var(--step-sub-ink)}
.tr-track.s-appr li.cur .lbl{color:var(--step-appr-ink)}
.tr-track.s-back li.cur .lbl{color:var(--step-back-ink)}
/* The change tag beside the step (the canonical status, the lead 20/11/2026:
   the week's step plus the change tag): a second, quieter mark after the
   pill, always in words; sent back adds the flag's word in its colour. */
.tr-tag{display:inline-flex;align-items:center;gap:var(--sp-1);border:1px dashed var(--rule-strong);border-radius:var(--r-pill);padding:2px var(--sp-2);font-size:11.5px;font-weight:600;line-height:1.3;color:var(--ink-2);background:var(--surface);white-space:nowrap}
.tr-tag.flag{border-style:solid;border-color:var(--step-back);color:var(--step-back-ink);font-weight:700}
.tr-tag.flag svg{width:12px;height:12px;flex:none}
/* C-1: a week sent back is Draft with the Sent back flag beside it, two marks. */
.tr-pill+.tr-tag.flag{margin-left:var(--sp-1)}
.tr-daystate{display:flex;align-items:center;gap:var(--sp-1);flex-wrap:wrap;margin:var(--sp-1) 0 0}
.tr-track li.tag{margin-left:var(--sp-3)}
.tr-track li.tag::before{display:none}
.tr-per .tg{display:block;margin-top:var(--sp-1)}
.tr-phstate{display:inline-flex;align-items:center;gap:var(--sp-1);flex-wrap:wrap;justify-content:flex-end}
.mv-wk .tr-tag{margin-top:var(--sp-1)}
.tr .topbar .tr-back{flex:1 1 100%}
.tr-back{border-left:3px solid var(--step-back);background:var(--step-back-bg);border-radius:8px;padding:9px 12px;color:var(--ink-2);font-size:13px;line-height:1.45}
.tr-back b{color:var(--step-back-ink)}
/* The manager's acknowledgement or question (18/11/2026): one quiet line under the track. */
.tr-ack{color:var(--muted);font-size:13px;line-height:1.45}
/* The compact track, a phone's (D5): four bars, the four names with the
   current one bold, and the pill. */
.tr-phtrack{display:none}
.tr-phtrack .row{display:flex;justify-content:space-between;align-items:center;gap:var(--sp-2)}
.tr-phtrack .row b{font-size:13px}
.tr-phtrack .bars{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}
.tr-phtrack .bars i{height:6px;border-radius:3px;background:var(--rule)}
.tr-phtrack.s-draft .bars i.on{background:var(--step-draft)}
.tr-phtrack.s-sub .bars i.on{background:var(--step-sub)}
.tr-phtrack.s-appr .bars i.on{background:var(--step-appr)}
.tr-phtrack.s-post .bars i.on{background:var(--step-post)}
.tr-phtrack.s-back .bars i.on{background:var(--step-back)}
.tr-phtrack .names{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;list-style:none;margin:0;padding:0;font-size:10.5px;font-weight:600;color:var(--muted)}
.tr-phtrack .names .on{color:var(--ink);font-weight:800}
@media (max-width:760px){
  .tr-track{display:none}
  .tr-phtrack{display:grid;gap:6px;flex:1 1 100%;background:var(--surface);border:1px solid var(--rule);border-radius:var(--r-1);padding:10px 12px}
  .tr .topbar .tr-head .tr-btn.pri{flex:1 1 100%}
}
.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:not(:disabled){background:var(--surface-2);color:var(--ink)}
.tr-weeknav button:disabled{opacity:.3;cursor:default}
.tr-weeknav svg{width:16px;height:16px}
/* The month view names its month as a heading of its own, in ink, under the
   title (09/11/2026: in the grey line it was "very hidden"). */
.mv .topbar .mv-month{font-family:var(--disp);font-size:28px;font-weight:800;letter-spacing:-.02em;line-height:1.1;color:var(--ink);margin:14px 0 0}
.mv .topbar .mv-month + .sub{margin-top:4px;font-size:16px}
/* The picker names the month between its arrows (17/11/2026, replacing the
   "This month" button). A label, not a control: it takes the arrows' height
   and type so the bar reads as one piece, and the ink they only reach on
   hover. The name alone — the heading carries the year — in a box as wide as
   the longest of the twelve, so the bar and its arrows hold still as the
   months go by: September measures 70px at this font, plus the 8px either
   side, plus slack for a fallback font if the brand one does not load. */
.tr-weeknav .tr-navnow{min-width:92px;height:30px;display:grid;place-items:center;padding:0 var(--sp-2);font-size:13.5px;font-weight:700;color:var(--ink);white-space:nowrap}
.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:9px 10px;display:grid;gap:5px;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-per>.d{font-weight:700;font-size:12.5px}
/* The week's step on its card (D3): the coloured word and the mini track. */
.tr-per>.st{display:flex;align-items:center;flex-wrap:wrap;gap:4px 6px}
/* The table and the bar under it are one block, with room of their own above
   and below. The bar is part of the table, so the table sits CLOSER to it than
   to what follows the pair — and keeps the full room below when there is no
   bar (B2B, or a week with nothing left to set). */
.tr-tbl{border:1px solid var(--rule);border-radius:var(--r-2);overflow:auto;background:var(--surface);margin:var(--sp-5) 0}
.tr-tbl:has(+ .tr-wp-all){margin-bottom:var(--sp-3)}
.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 var(--tr-cell-x);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;border-bottom-color:var(--rule-strong)}
.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.locked{background:var(--surface-2)}
/* After .locked on purpose: a submitted week's weekend carries both classes,
   and the weekend is the one that should win. */
/* The weekend's fill is the month grid's (--surface-2): the darker trial of
   17/11/2026 was dropped in review — an open weekend read as the most closed
   column, and a submitted week's today matched it exactly. */
.tr-tbl th.we,.tr-tbl td.we{background:var(--surface-2)}
.tr-tbl td.tot{font-weight:700;background:var(--surface-2)}
/* The line a week with nothing on it shows. Its cells carry no day classes at
   all (see TimeReportingScreen): with nothing to report, a weekend and today
   have nothing to say. */
.tr-tbl tr.tr-none td{color:var(--muted)}
/* The hours field (17/11/2026): a field a person can see before they point
   at it. The hairline is always drawn, not only under the pointer, and the
   field fills its column bar one --sp-2 either side (the cell's own
   padding), so the target is as wide as the figure it holds. The hairline
   deepens under the pointer and goes to ink on focus, which is also what
   tells a person tabbing across the week where they are, since
   `outline:none` leaves nothing else.
   The field itself is unfilled, so the day's wash — the current column, a
   weekend, a public holiday — runs THROUGH it and each column reads as one
   stripe. Today is the exception, and deliberately the only one: its fields
   carry the surface, so the column a person is most likely to type into is
   where a field stands out from its cell the most. The column goes darker
   and its fields go lighter — the same cue read twice, not two fighting
   ones. The cost, taken knowingly: on today, focus has the hairline going
   to ink and nothing else, the fill being spent already.
   Every rule here is under .tr-tbl, which only the week table renders: the
   shared HoursInput and StartInput keep their own look in the month drawer
   (.mv-fld) and in Change a day. */
.tr-tbl td.edit{padding-left:var(--sp-2);padding-right:var(--sp-2)}
/* Top, but only where there is something to line up with. A day with no hours
   has no start time to show, so its cell loses that field and its hours would
   centre on their own, out of line with the days that kept theirs. A row where
   NO day has a start time has no such difference to settle, and a middle that
   sits beside the row's own name reads better than a figure pinned to the top
   of a label three lines tall — which is every row for B2B, where there are no
   start times at all. */
/* Every hours cell of a row with start times, editable or not (a day off,
   a locked period, the other month's half of a week): one baseline. */
.tr-tbl tr:has(.tr-start) td.h{vertical-align:top}
.tr-tbl td.edit input{width:100%;box-sizing:border-box;border:1px solid var(--rule);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-strong)}
.tr-tbl td.edit input:focus{outline:none;border-color:var(--teal);background:var(--surface)}
.tr-tbl td.today.edit input{background:var(--surface)}
.tr-tbl td.edit input::placeholder{color:var(--muted);font-weight:400}
/* The "0" is a hint at what to type, so it goes the moment the field is
   waiting for it — it used to sit behind the caret once the field had focus. */
.tr-tbl td.edit input:focus::placeholder{color:transparent}
/* The start time (Poland payroll) sits under the hours as a second field of
   the same width — it takes no width of its own, so the two can never drift
   apart as the column's does. --sp-1 between them. */
.tr-tbl td.edit input.tr-start{display:block;margin:var(--sp-1) 0 0;font-family:var(--mono);font-size:10px;font-weight:500;color:var(--muted);padding:1px 2px}
/* Workplace reads under Total per day, in the foot (17/11/2026), so it takes
   the foot's fill and the darker rule above it from .tr-tbl tfoot td — but
   not its weight: these cells hold a choice, not a figure. */
.tr-tbl tr.tr-wp td{font-size:11px;color:var(--muted);font-weight:400}
/* The bar that sets one workplace on every day of the open periods (Poland
   payroll, 09/11/2026). In the week it sits UNDER the table it acts on
   (.after); in the month, above the grid. */
.tr-wp-all{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-2) var(--sp-3);margin:0 0 var(--sp-3)}
.tr-wp-all.after{margin:0 0 var(--sp-5);padding-left:calc(var(--tr-cell-x) + 1px)} /* the week: under the table it sets, lined up with its first column */
.tr-wp-all-lbl{font-size:13px;color:var(--ink)} /* only the word Workplace is bold, in its <b> */
/* A step quieter than Beam's pill is elsewhere: this bar sets every day at
   once and sits with a dense table (the week) or grid (the month), so it
   must not be the loudest thing on the screen. The step down is the one the
   week's status chip used (11.5px on 3x10, before the 18/11/2026 pills), so
   no new size enters the stylesheet. */
.tr-wp-all .ask-seg button{padding:3px 10px;font-size:11.5px;color:var(--muted)}
.tr-wp-all .ask-seg button:hover{color:var(--ink)}
.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}
/* Today's column (17/11/2026, replacing the teal rails of 12/11/2026): no
   frame — the whole column is simply darker, header and footer included. An
   inset wash rather than a background, so it LAYERS over whatever the cell
   already carries (the weekend and locked fills, a public holiday's wash, the
   footer's) instead of replacing it. Lightness never carries it alone: the
   header still says "Today" under the day. */
.tr-tbl th.today,.tr-tbl td.today{box-shadow:inset 0 0 0 100vh var(--today-shade)}
.tr-tbl thead th.today{color:var(--teal-ink)}
.tr-today{display:block;font-size:9.5px;color:var(--teal);font-weight:700}
.tr-hol{display:block;font-size:9.5px;color:var(--accent-deep);font-weight:600}
/* A day off in the week (the lead, 21/11/2026): its whole column in the day-off
   colour, the Month view's, with the word under the date; an other absence in
   the Calendar's blue. After .we and .locked, so the day reads as a day off. */
.tr-tbl th.doff,.tr-tbl td.doff{background:var(--day-off)}
.tr-tbl th.dother,.tr-tbl td.dother{background:var(--day-other)}
.tr-doff{display:block;font-size:9.5px;color:var(--day-off-ink);font-weight:600}
.tr-dother{display:block;font-size:9.5px;color:var(--day-other-ink);font-weight:600}
.tr-chg{display:block;font-size:9.5px;color:var(--teal);font-weight:600}
/* A change sent back (D7, 18/11/2026): the flag's colour, always with its words. */
.tr-chg.back{color:var(--err)}
/* A day's change mark in the week's header wraps rather than widening the
   column (timesheet plan v8, "For the builder"). */
.tr-tbl thead th .tr-chg{white-space:normal}
.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}
/* A month still filled in BC (timeView.js bcMonthNote; the lead, 18/11/2026:
   "highlight it in orange"): the hint's own size and padding, the brand's
   orange as a left rule on its soft tint, the way .tr-ask marks a note. A BC
   month has no Submit; only a week cut with a Beam month shows that month's. */
.tr-bc-month{margin:var(--sp-3) 0 0;padding:9px 12px;border:1px solid var(--warn-border);border-left:3px solid var(--accent);border-radius:var(--r-1);background:var(--accent-tint);color:var(--warn-ink);font-size:12px;font-weight:600}
.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}
/* LOCK AT SEND: a refusal on a day of a sent week carries its week's Ask to reopen. */
.tr-ask-reopen{margin:var(--sp-2) 0 0}
.rq-warnings .tr-linkbtn{margin-left:var(--sp-2)}
.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;min-width:0;max-width:100%}
.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);max-width:100%}
.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)}
/* Timesheet plan v8, issue 6: the 500 line stands apart in Beam's time-off
   colours, its label in violet; a payroll type's refusal under Add a line. */
.tr-tbl tr.tr-row.time_off td{background:var(--violet-bg)}
/* The day-off row's own cell on a day off reads with its column (the day-off colour, 21/11/2026). */
.tr-tbl tr.tr-row.time_off td.doff{background:var(--day-off)}
.tr-tbl tr.tr-row.time_off td.dother{background:var(--day-other)}
.tr-tbl tr.tr-row.time_off td.lbl b{color:var(--violet);white-space:normal}
.tr-add-err{flex-basis:100%;margin:0;font-size:12px;color:var(--err);background:var(--err-bg);border:1px solid var(--err-border);border-radius:var(--r-1);padding:6px 10px;width:max-content;max-width:100%}
.tr-ask.off{border-color:var(--rule);border-left:3px solid var(--violet);background:var(--violet-bg)}
.tr-ask.off p{color:var(--violet)}
.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}
/* Change a day's lines (timesheet plan v8, issue 4): each names its project
   and task; Remove takes a line put in here away and strikes a line of the
   day out until Put back; Add a line opens one list of what the day can
   hold, with a payroll day off's Type. Tokens only. */
.tr-target{flex-wrap:wrap}
.tr-target-l{display:flex;flex-direction:column;align-items:flex-start;gap:var(--sp-1);min-width:0}
.tr-gone{text-decoration:line-through;color:var(--muted)}
.tr-target-rm{font-size:11px;color:var(--muted);text-decoration:underline;padding:0}
.tr-target-rm:hover{color:var(--err)}
.tr-target-add{align-self:center;margin-top:var(--sp-1)}
.tr-target-wp,.tr-addl label{display:grid;gap:var(--sp-1);font-size:11px;color:var(--muted);font-weight:600}
.tr-target-wp select,.tr-addl select{font:inherit;font-size:12.5px;font-weight:400;color:var(--ink);border:1px solid var(--rule-strong);border-radius:var(--r-1);padding:var(--sp-1) var(--sp-2);background:var(--surface);width:100%;max-width:100%}
.tr-addl{display:grid;gap:var(--sp-2);border-top:1px solid var(--rule);padding-top:var(--sp-2);margin-top:var(--sp-1)}
.tr-addl-actions{display:flex;justify-content:flex-end;gap:var(--sp-2)}
.tr-addl-actions .tr-btn{padding:var(--sp-1) var(--sp-3);font-size:12.5px}
.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}
/* Spent, or busy while its action runs: a link that is not a link any more
   (TasksPanel disables one while it saves; it looked pressable throughout). */
.tr-linkbtn:disabled{color:var(--faint);text-decoration:none;cursor:default}
/* .tr-linkbtn pins itself to the TOP of a flex row, which is right in a column
   of its own and wrong beside a control: "Open the week" sat above Done on the
   day drawer's foot line, and "This month" would sit above the picker. */
.mv-actions .tr-linkbtn,.topbar .side-ctl .tr-linkbtn{align-self:center}
.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}
.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)}
/* The rest of BC's list is a dropdown (17/11/2026): 15 more tiles pushed the
   calendar and the summary off the screen, and could not be folded back. */
.tp-other{display:flex;flex-direction:column;gap:4px;margin-top:2px}
.tp-other select{font:inherit;font-size:13px;color:var(--ink);border:1px solid var(--rule);border-radius:var(--r-1);padding:8px 11px;background:var(--surface);width:100%}
.tp-other.on select{border-color:var(--teal);box-shadow:inset 0 0 0 1px var(--teal);background:var(--surface-2)}
.tp-other select:focus{outline:2px solid var(--teal-border);border-color:var(--teal)}
.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 16px;color:var(--ink-2);font-size:12.5px}
.mv-lab span{display:inline-flex;align-items:center;gap:6px}
.mv-lab b{color:var(--ink);font-variant-numeric:tabular-nums}
/* The bar is the month's status key (D3): Posted, Approved, Submitted, Draft;
   Draft, which holds the days still ahead, hatched. */
.mv-bar i.s-post{background:var(--step-post)}
/* C-3: a Reopened week's hours, between Posted and Approved, in the Reopened pill's edge colour. */
.mv-bar i.s-reop{background:repeating-linear-gradient(45deg,var(--step-post) 0 4px,var(--step-draft) 4px 8px)}
.mv-bar i.s-appr{background:var(--step-appr)}
.mv-bar i.s-sub{background:var(--step-sub)}
.mv-bar i.s-draft{background:repeating-linear-gradient(90deg,var(--step-draft) 0 6px,var(--step-draft-2) 6px 10px)}
.mv-grid{display:grid;grid-template-columns:150px 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)}
/* A week's row carries its state (D3): an edge in its colour, dashed for
   Draft, then the pill and the mini track (or "Read-only", a week before
   go-live). A week with no state has no edge. */
.mv-wk{display:grid;align-content:start;gap:5px;padding:6px 8px 6px 10px;border-left:4px solid var(--rule);border-radius:2px;min-width:0}
.mv-wk b{font-size:13px;color:var(--ink);font-weight:700}
/* The week's name opens its Week view (22/11/2026): a link, never button chrome. */
.mv-wk .mv-wklink{justify-self:start;font:inherit;font-size:13px;color:var(--ink);font-weight:700;background:none;border:0;padding:0;cursor:pointer;text-align:left;text-decoration:underline;text-decoration-color:var(--rule-strong);text-underline-offset:3px}
.mv-wk .mv-wklink:hover{text-decoration-color:var(--ink)}
.mv-wk .mv-wklink:focus-visible{outline:none;box-shadow:var(--focus);border-radius:4px}
.mv-wk small{color:var(--muted);font-size:11.5px}
.mv-wk.s-draft{border-left-style:dashed;border-left-color:var(--step-draft)}
.mv-wk.s-sub{border-left-color:var(--step-sub)}
.mv-wk.s-appr{border-left-color:var(--step-appr)}
.mv-wk.s-post{border-left-color:var(--step-post)}
.mv-wk.s-back{border-left-color:var(--step-back)}
.mv-wk.s-none{border-left-color:transparent}
.mv-rail{display:none}
/* A day is a rounded box that says what the day was (D3): never its week's
   state, which is on the week's row. The kind is a
   `k-` class, NOT the bare word: `.empty` is the portal's own empty-state
   block (one screen up, `display:grid;place-items:center`), and a day cell
   carrying that word was being centred by it — which is why an empty or a
   sent-back day read with its date in the middle while every other day had it
   on the right. `place-items` is not set here, so nothing stopped it. Every
   other modifier in this file is already prefixed (s-, t-, p-). */
.mv-d{position:relative;min-height:86px;text-align:left;border:1px solid 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}
/* The day of the month sits top right whatever the day holds, and whether or
   not anything is recorded on it (17/11/2026). */
.mv-d .n{display:flex;justify-content:flex-end;align-items:baseline;gap:var(--sp-1);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-back{background:var(--err-bg);color:var(--err)}
.mv-d .t-req{background:var(--warn-bg);color:var(--warn-ink)}
.mv-d .today-tag{font-size:10px;color:var(--teal);font-weight:700}
/* A working day: white while open, grey once sent (closed: submitted,
   approved, posted; the lead, 22/11/2026). Weekend and empty: the warm wash,
   no edge. Time off: turquoise, named. Another absence: the Calendar's blue,
   named. A public holiday: sand, named. */
/* An empty working day still to fill stays white, as Open (monthView.js `fill`). */
.mv-d.k-we,.mv-d.k-empty:not(.fill){background:var(--surface-2);border-color:transparent}
.mv-d.k-out{background:transparent;border:1px dashed var(--rule)}
.mv-d.k-out .n{color:var(--rule-strong)}
.mv-d.k-hol{background:var(--sand-1);border-color:var(--sand-2)}
.mv-d.k-hol .l{color:var(--warn-ink);font-weight:700;white-space:normal}
.mv-d.k-off{background:var(--day-off);border-color:var(--day-off-border)}
.mv-d.k-off .l{color:var(--day-off-ink);font-weight:700}
.mv-d.k-other{background:var(--day-other);border-color:var(--day-other-border)}
.mv-d.k-other .l{color:var(--day-other-ink);font-weight:700}
.mv-d.closed.k-work,.mv-d.closed.k-mixed{background:var(--track);border-color:var(--rule-strong)}
.mv-d.closed.k-work .h,.mv-d.closed.k-mixed .h{color:var(--ink-2)}
/* Today is the week table's current column (17/11/2026, replacing the teal
   ring): the whole box a step darker. An inset wash rather than a background,
   so it LAYERS over the fill the day already carries — a weekend, a public
   holiday, a day off, a status tint — and leaves the top rule its colour.
   Lightness never carries it alone: "Today" still reads beside the date. */
.mv-d.today{box-shadow:inset 0 0 0 100vh var(--today-shade)}
.mv-d.sel{box-shadow:0 0 0 2px var(--ink)}
.mv-d.today.sel{box-shadow:0 0 0 2px var(--ink),inset 0 0 0 100vh var(--today-shade)}
/* A Poland payroll day's workplace at the foot of its cell (the lead, 23/11/2026).
   It sits beside the day's button, not in it (a control cannot), so the cell keeps
   room for it at the bottom and the button still opens the day everywhere else. */
.mv-dcell{position:relative;display:grid;min-width:0}
.mv-dcell>.mv-d{padding-bottom:calc(var(--sp-5) + var(--sp-2))}
.mv-dwp{position:absolute;left:var(--sp-2);right:var(--sp-2);bottom:var(--sp-2);height:var(--sp-5);min-width:0;font:inherit;font-size:11px;color:var(--ink-2)}
span.mv-dwp{display:block;line-height:var(--sp-5);pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}
select.mv-dwp{border:1px solid var(--rule);border-radius:var(--r-pill);background:var(--surface);padding:0 var(--sp-1);cursor:pointer}
select.mv-dwp:hover{border-color:var(--rule-strong)}
select.mv-dwp:focus-visible{outline:2px solid var(--teal);outline-offset:1px}
.mv-sheet-wp{font:inherit;font-size:12.5px;color:var(--ink);border:1px solid var(--rule);border-radius:var(--r-pill);background:var(--surface);padding:var(--sp-1) var(--sp-2)}
/* A worked day with no workplace yet: the week's own "Choose" colours. */
.mv-dwp-miss{color:var(--warn-ink);background:var(--warn-bg);border-color:var(--warn-border);font-weight:600}
.mv-foot{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
/* The day key: only the kinds of day the month draws (D3). */
.mv-dkey{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;font-size:12.5px;color:var(--ink-2)}
.mv-dkey span{display:inline-flex;align-items:center;gap:6px}
.mv-dkey .lbl{font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.mv-dkey .sw{width:22px;height:14px;border-radius:4px;display:inline-block;border:1px solid var(--rule-strong);background:var(--surface)}
.mv-dkey .sw.k-off{background:var(--day-off);border-color:var(--day-off-border)}
.mv-dkey .sw.k-other{background:var(--day-other);border-color:var(--day-other-border)}
.mv-dkey .sw.k-hol{background:var(--sand-1);border-color:var(--sand-2)}
.mv-dkey .sw.k-closed{background:var(--track)}
/* A phone's list of the month's weeks (D5): a row opens its week. */
.mv-weeks{display:grid;gap:6px;margin-top:var(--sp-3)}
.mv-wrow{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;text-align:left;background:var(--surface);border:1px solid var(--rule);border-radius:var(--r-1);padding:8px 10px;color:var(--ink)}
.mv-wrow .w{font-weight:700;font-size:12.5px}
.mv-wrow .w small{display:block;color:var(--muted);font-weight:500;font-size:11.5px}
.mv-wrow .st{display:grid;gap:4px;justify-items:start}
.mv-wrow .st small{color:var(--muted);font-size:11.5px}
.mv-wrow .hrs{font-weight:800;font-variant-numeric:tabular-nums}
.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}
.mv-sheet .row:has(> .mv-sheet-wp){align-items:center}
/* the day drawer */
/* Hours and Starts are one pair of fields: the same column width and the same
   type size (17/11/2026), so neither reads as the lesser of the two. Starts
   keeps the mono face — a time is read digit by digit — and sets the width,
   being the longer of the two ("09:00" against "7.5"). */
.mv-lines{border:1px solid var(--rule);border-radius:var(--r-1);padding:10px 12px;display:grid;grid-template-columns:1fr 72px 72px;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);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){
  /* The calendar keeps the days by kind, with a thin rail at the start of
     each week in its state's colour (D5; the dots it replaced said little). */
  .mv-grid{grid-template-columns:8px repeat(7,minmax(0,1fr));gap:4px 3px;align-items:center}
  .mv-wk{display:none}
  .mv-rail{display:block;width:5px;height:30px;border-radius:3px;background:transparent}
  .mv-rail.s-draft{background:repeating-linear-gradient(180deg,var(--step-draft) 0 4px,transparent 4px 7px)}
  .mv-rail.s-sub{background:var(--step-sub)}
  .mv-rail.s-appr{background:var(--step-appr)}
  .mv-rail.s-post{background:var(--step-post)}
  .mv-rail.s-back{background:var(--step-back)}
  .mv-dow{text-align:center;padding:0}
  .mv-d{min-height:30px;height:30px;padding:0;border-radius:8px;place-items:center;align-content:center;text-align:center}
  .mv-d.k-we,.mv-d.k-empty:not(.fill),.mv-d.k-out{border-color:transparent;background:transparent}
  .mv-d .n{justify-content:center;font-size:12.5px;font-weight:700;color:var(--ink)}
  .mv-d.k-we .n,.mv-d.k-empty:not(.fill) .n{color:var(--muted);font-weight:500}
  .mv-d.k-out .n{color:var(--rule-strong);font-weight:500}
  .mv-d.k-hol .n{color:var(--warn-ink)}
  .mv-d.k-other .n{color:var(--day-other-ink)}
  .mv-d.closed.k-work,.mv-d.closed.k-mixed{background:var(--track)}
  .mv-d .h,.mv-d .l,.mv-d .t,.mv-d .today-tag,.mv-d .mv-split{display:none}
  /* The phone's day below the grid carries the workplace instead (MonthView .mv-sheet). */
  .mv-dwp{display:none}
  .mv-dcell>.mv-d{padding-bottom:0}
  .mv-d.sel,.mv-d.sel.today{background:var(--teal);border-color:var(--teal);box-shadow:none}
  /* "Today" is hidden here, so the wash alone would carry it (about 1.1:1):
     on a phone today keeps its ring. */
  .mv-d.today:not(.sel){box-shadow:0 0 0 2px var(--ink)}
  .mv-d.sel .n{color:var(--on-dark)}
  .mv-foot{position:sticky;bottom:0;background:var(--surface-2);border:1px solid var(--rule);border-radius:12px;padding:8px 10px}
  .mv-dkey{display:none}
  /* The bar alone on a phone: the week list carries the words (D5). */
  .mv-lab{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)}
/* The master project chosen from the week or the month (MasterChoice.jsx, 23/11/2026). */
.tr-master-b{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--sp-1);min-width:0;flex:1}
.tr-master-row{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-2)}
.tr-master-sel{font:inherit;font-size:13px;color:var(--ink);border:1px solid var(--rule-strong);border-radius:var(--r-1);padding:var(--sp-1) var(--sp-2);background:var(--surface);max-width:100%;min-width:0}
.tr-master-reach{margin:0}
.tk-reach{margin:0;padding:8px 14px;border-bottom:1px solid var(--rule);background:var(--amber-wash);font-size:12.5px;color:var(--amber-ink)}
.tk-done{margin:0 0 10px;padding:8px 12px;border-radius:8px;background:var(--surface-2);border:1px solid var(--rule);font-size:13px}
.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:24px minmax(110px,1.3fr) 116px 92px 84px minmax(70px,1fr) 64px 56px 48px 56px minmax(72px,1.2fr) 60px;gap:var(--sp-2);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-week th.chg,.sr-week td.chg{background:var(--violet-bg)}
.sr-week th .sr-chg{display:block;font-size:10.5px;font-weight:600;color:var(--st-sub-ink)}
/* The list's columns and filters (the lead, 20/11/2026): each fact its own
   column, every real one sortable; the status and the change tag apart. */
.sr-sort{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-decoration:underline dotted}
.sr-sort.on{color:var(--ink)}
.sr-sort.on.asc::after{content:" ↑"}
.sr-sort.on.desc::after{content:" ↓"}
.sr-st{font-size:12.5px;font-weight:700}
.sr-st.back,.sr-st.flag{color:var(--step-back-ink)}
.sr-st.flag{margin-left:var(--sp-1)}
.sr-f .tr-tag+.tr-tag{margin-left:var(--sp-1)}
.sr-filters{display:flex;flex-wrap:wrap;gap:var(--sp-2) var(--sp-3);align-items:end;margin:0 0 var(--sp-3)}
.sr-filter{display:grid;gap:var(--sp-1);font-size:11.5px;font-weight:600;color:var(--muted)}
.sr-filter input,.sr-filter select{font:inherit;font-size:13px;font-weight:400;color:var(--ink);border:1px solid var(--rule-strong);border-radius:var(--r-1);padding:var(--sp-1) var(--sp-2);background:var(--surface);min-width:8rem}
.sr-diff th{font-size:11.5px;font-weight:600;color:var(--faint);text-align:left;padding:6px 4px;border-bottom:1px solid var(--rule)}
.sr-diff th.q{text-align:right}
.sr-diff{margin-bottom:var(--sp-3)}
/* Weeks and time off read apart (the lead, 22/11/2026: "lines of different colors"), in Time reporting's own time-off tint; the word always goes with the colour. */
.sr-row.k-days{background:var(--violet-bg)}
/* Answered (22/11/2026): the person's reply under its row; an answer by HR reads muted. */
.sr-item > .sr-reply{margin:0;padding:0 22px 10px 56px;font-size:12px;color:var(--muted)}
.sr-row .sr-note.sr-hr{color:var(--muted)}
.sr-kind{display:inline-block;white-space:nowrap;font-size:12px;font-weight:600;padding:2px 8px;border-radius:var(--r-pill);background:var(--surface-2);color:var(--ink-2)}
.sr-kind.k-days{background:var(--violet);color:var(--on-dark)}
.sr-kind.k-change{background:var(--amber-bg);color:var(--amber-ink)}
.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-week tfoot tr.sum td{color:var(--muted);border-bottom:0}
.sr-week tfoot tr.sum:first-child td{border-top:1px solid var(--rule)}
.sr-week tfoot td.miss{color:var(--amber);background:var(--amber-bg);font-weight:600}
.sr-grid-note{margin:8px 0 0;color:var(--amber);font-size:13px}
.sr-say{font-size:13px;color:var(--ink-2)}
/* An opened days-off row (18/11/2026): its dates, its days and who else is off, label and value. */
.sr-facts{margin:0;display:grid;max-width:520px}
.sr-facts>div{display:flex;justify-content:space-between;gap:var(--sp-3);padding:8px 0;border-bottom:1px solid var(--rule);font-size:13px}
.sr-facts dt{color:var(--muted)}
.sr-facts dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums;text-align:right}
.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 minmax(90px,auto);gap:var(--sp-3);padding:10px 22px;border-bottom:1px solid var(--rule);font-size:13px;align-items:center}
/* Where the answered item stands now (22/11/2026). */
.sr-answered .sr-now{font-weight:600;color:var(--ink-2);justify-self:end}
.sr-answered .sr-reply{grid-column:1 / -1;margin:0;font-size:12px;color:var(--muted)}
.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}
  /* A phone stacks a row's facts, each still its own labelled field. */
  .sr-row{grid-template-columns:24px minmax(0,1fr) minmax(0,1fr) auto;grid-auto-flow:row;row-gap:4px;padding:12px 16px}
  .sr-row>span:nth-child(1){grid-column:1;grid-row:1 / span 6}
  .sr-row>.sr-who{grid-column:2 / span 2}
  .sr-row>.sr-f{grid-column:auto;display:grid;gap:2px;text-align:left;justify-self:stretch;font-size:12.5px}
  .sr-row>.sr-f::before{content:attr(data-label);font-size:11px;font-weight:600;color:var(--faint)}
  .sr-row>.sr-note{grid-column:2 / span 2}
  .sr-row>span:last-child{grid-column:4;grid-row:1;align-self:start}
  .sr-filters{display:grid;grid-template-columns:1fr 1fr}
  .sr-filter input,.sr-filter select{min-width:0;width:100%}
  .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}
/* Dzień wolny za święto w sobotę (25/11/2026): its own segment on top of the month's holiday days. */
.chart .stack i.sat{background:var(--extra);border-radius:4px 4px 0 0;margin-bottom:2px}
.chart .stack i.sat+i{border-radius:0 0 3px 3px}
.breakdown.four{grid-template-columns:repeat(4,1fr)}
.breakdown.five{grid-template-columns:repeat(5,minmax(0,1fr))}
.bd.planned{border-top:2px solid var(--left)}
@media(max-width:760px){.breakdown.four,.breakdown.five{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(--surface);border-color:var(--teal);box-shadow:inset 0 0 0 1px 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:not(:disabled){background:var(--surface-2);color:var(--ink)}
.tr-per-step:disabled{opacity:.3;cursor:default}
.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, or a task for Sundays and public holidays. */
.tr-tbl td.hol{background:var(--amber-wash)}
/* A task's cell on a day it is not for (core-domain taskDays.js): closed and
   grey; one already holding hours there stays open, marked by a left rule,
   so the person moves them. */
.tr-tbl td.shut{background:var(--surface-2)}
.tr-tbl td.wrongday{box-shadow:inset 3px 0 0 var(--err)}
.tr-tbl td.wrongday input{border-color:var(--err-border);color:var(--err)}
/* "Did you work the holiday?", and the week's other one-line questions. */
.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)}
/* The week's empty-send question sits under the header whose action asked it. */
.tr .topbar + .tr-ask{margin:calc(-1 * var(--sp-3)) 0 var(--sp-4)}
.tr-ask-actions{display:flex;flex-wrap:wrap;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(--day-off)}
.mv-split .p-off .l{color:var(--day-off-ink);font-weight:700}
.mv-split .p-other{background:var(--day-other)}
.mv-split .p-other .h,.mv-split .p-other .l{color:var(--day-other-ink)}
.mv-split .h{font-size:15px}
@media (max-width:760px){
  .mv-split{display:none}
  /* A native <select> is as wide as its longest option: "220 · overtime
     [Sunday & Bank Holidays] (billable hours)" made the Task list 363px —
     36px past a 360px screen and 52px past the card it sits in — while
     Project, with one short name, was 228px. On a phone each list takes the
     card's width, so the two read as a pair and neither can leave the card;
     the full name is still there when the list opens. */
  .tr-add label{flex:1 1 100%}
  .tr-add select{width:100%}
  /* The weeks read as a carousel: a swipe snaps a week to the middle, and the
     strip's own scrollbar goes (the week being shown is centred, so the
     strip's arrows are off screen at rest — .tr-weeknav above the strip is
     the control that is always there). A tile is wide enough for
     "Week 47  This week" on one line: at 104px the badge wrapped and pushed
     the tile out of shape. TimeReportingScreen's effect does the centring —
     the snap only holds a swipe, it does not place the strip. */
  .tr-periods{scroll-snap-type:x mandatory;scrollbar-width:none}
  .tr-periods::-webkit-scrollbar{display:none}
  .tr-per{min-width:132px;scroll-snap-align:center}
  /* A workplace cell holds a whole <select> where the rows above hold three
     digits, so the word ran under the native arrow. Trim the day cells (never
     the row's label, which lines up with every other row) and draw the
     chevron ourselves. appearance:none sits on the SAME :has() chain as the
     chevron: where :has() is not supported both drop and the native arrow
     stays, rather than leaving a select with no arrow at all. */
  .tr-tbl tr.tr-wp td:not(.lbl){padding-left:4px;padding-right:4px}
  .tr-tbl tr.tr-wp td:has(select){position:relative}
  .tr-tbl tr.tr-wp td:has(select) select{-webkit-appearance:none;appearance:none;max-width:none;padding:2px 14px 2px 5px;min-height:24px}
  .tr-tbl tr.tr-wp td:has(select)::after{content:"";position:absolute;right:8px;top:50%;margin-top:-4px;width:6px;height:6px;
    border-right:1.6px solid var(--muted);border-bottom:1.6px solid var(--muted);transform:rotate(45deg);pointer-events:none}
}

/* A drag grip needs a pointer: on touch it is dead weight beside the
   keyboard, and it overlaps the box's rounded corner. Keyed on the pointer
   and not on width, so a narrow desktop window keeps its grip. */
@media (pointer:coarse){
  textarea{resize:none}
}

/* 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)}

/* ---------------- Notifications (PR #258, reworked from Danylo's review, 10/11/2026) ----------------
   Mockups: docs/EP_draft/GUI/Notifications — web*.png. On a computer, a bell
   in a fixed slot at the top right of every screen opens a 384 px panel on
   the right, over the page (no scrim: the page stays visible). Pinned, the
   panel docks beside the page and the sidebar folds to icons. On a phone, the
   bell in the top bar opens Notifications as its own screen.
   Unread: bold, with an orange dot by the time. Action needed: a red rule on
   the left, a light red ground, the label, the comment in its own box, and a
   solid button — until the action is done. Colour is never alone: the label,
   the sentence and the menu item's name say it too. */

/* The computer's bell: exactly where the panel's ✕ sits (28 px down, 20 px in), so opening and
   closing swap one button for the other in place. The page keeps its content clear of it. */
.screen{position:relative}
@media (min-width:761px){.frame.has-bell .main{padding-right:max(calc(var(--sp-5) + 40px + var(--sp-3)),calc((100% - 1100px) / 2))}}
.wn-bell{position:absolute;top:var(--sp-6);right:var(--sp-5);z-index:40;width:40px;height:40px;display:grid;place-items:center;
  border:1px solid var(--rule);border-radius:var(--r-1);background:var(--surface);color:var(--ink);cursor:pointer}
.wn-bell:hover{background:var(--surface-2)}
.wn-bell:focus-visible{outline:none;box-shadow:var(--focus)}
.wn-bell .ic{width:20px;height:20px;stroke-width:1.8}
.wn-bell.away{visibility:hidden} /* the panel is open: the bell's room is kept, so the page does not shift */
/* The one badge: every unread notification, in the brand's orange. */
.wn-badge{position:absolute;top:-7px;right:-7px;min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:var(--r-pill);
  background:var(--accent);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 panel: over the page, on the right, with a soft shadow to its left. */
.wn-panel{position:fixed;top:0;right:0;bottom:0;z-index:61;width:384px;max-width:100vw;display:flex;flex-direction:column;
  background:var(--surface);border-left:1px solid var(--rule);box-shadow:var(--shadow-panel);animation:wn-in .18s ease-out}
@keyframes wn-in{from{transform:translateX(24px);opacity:0}to{transform:none;opacity:1}}
.wn-head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--sp-3);padding:var(--sp-6) var(--sp-5) var(--sp-4)}
.wn-head h2{margin:0;font-size:24px;font-weight:800;letter-spacing:-.02em;color:var(--ink)}
.wn-head h2:focus{outline:none}
.wn-head .pn{display:block;margin-top:var(--sp-1);font-size:12px;color:var(--muted);font-weight:500}
.wn-tools{display:flex;gap:var(--sp-2);flex:none}
.wn-tool{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--rule);border-radius:var(--r-1);background:var(--surface);color:var(--ink);cursor:pointer}
.wn-tool:hover{background:var(--surface-2)}
.wn-tool:focus-visible{outline:none;box-shadow:var(--focus)}
.wn-tool .ic{width:18px;height:18px;stroke-width:1.8}
.wn-tool.on{background:var(--ink);border-color:var(--ink);color:var(--on-dark)}
.wn-body{flex:1;overflow-y:auto;padding-bottom:var(--sp-4)}

/* The rows. */
.wn-list{list-style:none;margin:0;padding:0 var(--sp-3);display:flex;flex-direction:column;gap:var(--sp-1)}
.wn-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:var(--sp-3);padding:var(--sp-4);border-radius:var(--r-2);align-items:start}
.wn-row.unread{background:var(--surface-2)}
.wn-row.unread .wn-text,.wn-row.action .wn-text{font-weight:700}
.wn-row.action{background:var(--err-bg);border-left:4px solid var(--err);padding-left:calc(var(--sp-4) - 4px)}
.wn-ic{position:relative;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--surface-2);border:1px solid var(--rule);color:var(--ink)}
.wn-row.unread .wn-ic,.wn-row.action .wn-ic{background:var(--surface)}
.wn-ic .ic{width:18px;height:18px;stroke-width:1.8}
.wn-mark{position:absolute;right:-3px;bottom:-3px;width:16px;height:16px;border-radius:50%;border:2px solid var(--surface);display:grid;place-items:center;color:var(--on-dark)}
.wn-mark svg{width:9px;height:9px}
.wn-mark.ok{background:var(--ok)}
.wn-mark.no{background:var(--err)}
.wn-tx{display:flex;flex-direction:column;align-items:flex-start;gap:var(--sp-2);min-width:0;font-size:13.5px;line-height:1.45;color:var(--ink);overflow-wrap:anywhere}
.wn-text{font-weight:400}
.wn-flag{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--err);background:var(--err-border);border-radius:var(--r-1);padding:2px var(--sp-2)}
.wn-quote{align-self:stretch;background:var(--surface);border:1px solid var(--rule);border-radius:var(--r-2);padding:var(--sp-2) var(--sp-3);font-size:13px;color:var(--ink-2)}
.wn-act{font-size:12.5px;font-weight:700;color:var(--ink)}
.wn-btn{align-self:flex-start;border:0;border-radius:var(--r-2);padding:var(--sp-2) var(--sp-4);background:var(--err);color:var(--on-dark);font:inherit;font-size:13.5px;font-weight:700;cursor:pointer}
.wn-btn:hover{filter:brightness(.92)}
.wn-btn:focus-visible{outline:none;box-shadow:var(--focus)}
.wn-when{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}
.wn-dot{width:8px;height:8px;border-radius:50%;background:var(--accent)}
.wn-note{margin:0;padding:var(--sp-3) var(--sp-5);font-size:13.5px;color:var(--muted)}

/* The dots on the menu's icons and the phone's tabs: red while a screen has an action to do, orange while it has unread news. */
.nav-ic{position:relative;display:inline-flex;flex:none}
.nav-dot{position:absolute;top:-3px;right:-4px;width:8px;height:8px;border-radius:50%;box-shadow:0 0 0 2px var(--sidebar)}
.nav-dot.unread{background:var(--accent)}
.nav-dot.action{background:var(--err)}
.nav-item.on .nav-dot,.mtab .nav-dot{box-shadow:0 0 0 2px var(--surface)}
.nav-badge{position:absolute;top:-8px;right:-11px;min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:var(--r-pill);
  background:var(--surface);color:var(--ink);border:2px solid var(--sidebar);font-size:10px;font-weight:800;line-height:1;
  display:inline-flex;align-items:center;justify-content:center;font-variant-numeric:tabular-nums}
.nav-item.on .nav-badge{background:var(--ink);color:var(--on-dark);border-color:var(--surface)}

/* The folded sidebar while the panel is pinned: icons only, the logo (cropped to its letters) and the avatar centred. */
.side.collapsed{padding:32px 12px 24px}
.side.collapsed .brand{align-items:center;padding:0}
.side.collapsed .nav-item{justify-content:center;padding:11px 0}
.side.collapsed .nav-tx,.side.collapsed .tag{display:none}
.side.collapsed .foot{justify-content:center;padding:18px 0 0}
.side.collapsed .who{display:none}

/* Pinned: the panel docks on the right and the page sits between the folded sidebar and it.
   84 px: the mockup's rail, the cropped 60 px logo and its margins. Below 1100 px there is no room to pin. */
.frame.pinned{grid-template-columns:84px minmax(0,1fr)}
@media (min-width:1101px){
  .frame.pinned{grid-template-columns:84px minmax(0,1fr) 384px}
  .frame.pinned .wn-panel{position:sticky;top:0;height:100vh;align-self:start;max-width:none;box-shadow:none;animation:none}
}
@media (max-width:1100px){.wn-pin{display:none}}

/* The request a notification opened, on Holiday: the brand's orange tint and a rule on its left. */
.upcoming li.focus{background:var(--accent-tint);box-shadow:inset 3px 0 0 var(--accent);border-radius:var(--r-1);scroll-margin:var(--sp-7);
  margin-inline:calc(-1 * var(--sp-3));padding-inline:var(--sp-3)} /* room inside the tint; the text stays in line with the rows around it */

/* The phone: the bell in the top bar (white while its screen is open), and the screen itself. */
.mtop-bell{position:relative;margin-left:auto;width:40px;height:40px;flex:none;display:grid;place-items:center;border-radius:var(--r-1);color:var(--on-dark)}
.mtop-bell .ic{width:22px;height:22px;stroke-width:1.8}
.mtop-bell.on{background:var(--surface);color:var(--ink)}
.mtop-bell:focus-visible{outline:none;box-shadow:var(--focus)}
.mtop-bell .wn-badge{top:3px;right:1px;border-color:var(--sidebar)}
.wn-screen .topbar{margin-bottom:var(--sp-3)}
.wn-sheet .wn-list{padding:0}
@media (max-width:760px){
  .wn-bell,.wn-panel{display:none}
  .wn-sheet .wn-btn{align-self:stretch;text-align:center;padding:var(--sp-3) var(--sp-4)}
}
/* ============================================================
   Requests — Ask ITDS (build plan step 5), to the "Portal" mockups.
   A list with the conversation beside it; on a phone the conversation
   takes the screen. Colours are tokens (:root).
   ============================================================ */
.ask-split{display:grid;grid-template-columns:300px minmax(0,1fr);border:1px solid var(--rule);border-radius:var(--r-2);overflow:hidden;background:var(--surface);
  height:min(680px,calc(100vh - 200px));min-height:480px}
.ask-list{border-right:1px solid var(--rule);display:flex;flex-direction:column;min-width:0;overflow:auto}
.ask-tabs{display:flex;gap:var(--sp-1);margin:var(--sp-3) 14px;padding:3px;background:var(--sidebar);border-radius:var(--r-1);border:1px solid var(--rule);flex:none}
.ask-tabs button{flex:1;padding:6px 10px;border-radius:8px;font-size:12.5px;font-weight:600;color:var(--muted)}
.ask-tabs button em{font-style:normal;font-variant-numeric:tabular-nums;color:var(--faint);margin-left:4px}
.ask-tabs button.on{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-sm)}
.ask-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;padding:11px 14px;border-top:1px solid var(--rule);align-items:start;text-align:left;width:100%}
.ask-row:hover{background:var(--surface-2)}
.ask-row.on{background:var(--teal-wash);box-shadow:inset 3px 0 0 var(--teal)}
.ask-row.past{opacity:.78}
.ask-row-t{min-width:0;display:block}
.ask-row-t b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13.5px;font-weight:600;color:var(--ink);line-height:1.35}
.ask-row.unread .ask-row-t b{font-weight:700}
.ask-pv{display:block;font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}
.ask-row.unread .ask-pv{color:var(--ink-2)}
.ask-row-chip{display:block;margin-top:5px}
/* A request's number (18/11/2026, D3): quiet, mono, what the person quotes. */
.ask-ref{font-family:var(--mono,"IBM Plex Mono",ui-monospace,monospace);font-size:12px;font-weight:500;color:var(--muted);white-space:nowrap}
.ask-meta{font-size:11.5px;color:var(--faint);display:flex;flex-direction:column;align-items:flex-end;gap:6px;font-variant-numeric:tabular-nums;white-space:nowrap}
.ask-dot{width:8px;height:8px;border-radius:50%;background:var(--teal)}
.ask-empty{font-size:13px;color:var(--muted);padding:var(--sp-4) 14px;margin:0;border-top:1px solid var(--rule)}

.ask-ico{width:34px;height:34px;border-radius:var(--r-1);display:grid;place-items:center;flex:none}
.ask-ico svg{width:17px;height:17px}
.ask-ico.hr{background:var(--teal-tint);color:var(--teal)}
.ask-ico.it{background:var(--amber-bg);color:var(--amber)}
.ask-ico.fin{background:var(--fin-bg);color:var(--fin)}
.ask-ico.cp{background:var(--violet-bg);color:var(--violet)}

.ask-chip{display:inline-flex;align-items:center;font-family:var(--sans);font-size:11.5px;font-weight:600;border-radius:999px;padding:2px 9px;white-space:nowrap;border:1px solid transparent;letter-spacing:0;vertical-align:middle}
.ask-chip.wait{background:var(--amber-bg);color:var(--amber);border-color:var(--amber-border)}
.ask-chip.prog{background:var(--teal-wash);color:var(--teal);border-color:var(--teal-border)}
.ask-chip.done,.ask-chip.off{background:var(--surface-2);color:var(--muted);border-color:var(--rule)}
.ask-chip.sent{background:var(--tint-sub);color:var(--sent);border-color:var(--sent-border)}

.ask-thread{display:flex;flex-direction:column;min-width:0;min-height:0}
.ask-th{display:flex;gap:var(--sp-2);padding:14px 20px 10px;border-bottom:1px solid var(--rule);align-items:flex-start;flex:none}
.ask-th-t{min-width:0}
.ask-th h2{font-family:var(--disp);font-size:17px;font-weight:600;letter-spacing:-.01em;margin:0;color:var(--ink);display:flex;gap:var(--sp-2);align-items:center;flex-wrap:wrap}
.ask-back{display:none;width:32px;height:32px;border-radius:50%;place-items:center;color:var(--teal);flex:none;margin-left:-6px}
.ask-back svg{width:20px;height:20px}
.ask-who{display:flex;align-items:center;gap:var(--sp-2);font-size:12.5px;color:var(--muted);margin-top:var(--sp-1)}
.ask-av{width:24px;height:24px;border-radius:50%;background:var(--teal);color:#fff;font-size:10.5px;font-weight:700;display:grid;place-items:center;flex:none}
.ask-facts{display:flex;flex-wrap:wrap;gap:6px;padding:10px 20px;border-bottom:1px solid var(--rule);background:var(--sidebar);flex:none}
.ask-facts span{font-size:12px;color:var(--muted);background:var(--surface);border:1px solid var(--rule);border-radius:8px;padding:3px 9px}
.ask-facts b{color:var(--ink);font-weight:600}
.ask-chat{flex:1;min-height:0;overflow:auto;background:var(--chat);padding:14px 20px;display:flex;flex-direction:column;gap:var(--sp-2)}
.ask-day{align-self:center;font-size:11px;font-weight:600;color:var(--muted);background:var(--surface);border:1px solid var(--rule);border-radius:999px;padding:2px 10px;margin:2px 0}
.ask-sys{align-self:center;font-size:11.5px;color:var(--muted);text-align:center;max-width:80%}
.ask-sys.pause{color:var(--amber);font-weight:600}
.ask-sys.done{color:var(--teal);font-weight:600}
.ask-msg{max-width:72%;padding:8px 11px 6px;border-radius:var(--r-2);font-size:13px;line-height:1.45;color:var(--ink);box-shadow:var(--shadow-sm);display:flex;flex-direction:column}
.ask-msg.them{align-self:flex-start;background:var(--surface);border-top-left-radius:4px}
.ask-msg.me{align-self:flex-end;background:var(--bubble-me);border-top-right-radius:4px}
.ask-body-t{white-space:pre-wrap;overflow-wrap:anywhere}
.ask-by{font-size:11px;font-weight:700;color:var(--teal);margin-bottom:1px}
.ask-tm{display:flex;justify-content:flex-end;align-items:center;gap:3px;font-size:10.5px;color:var(--faint);margin-top:2px;font-variant-numeric:tabular-nums}
.ask-ticks{width:15px;height:11px;color:var(--faint)}
.ask-ticks.read{color:var(--left)}
.ask-err{margin:var(--sp-2) 14px 0}
.ask-rate{display:flex;align-items:center;gap:var(--sp-2);padding:10px 14px;border-top:1px solid var(--rule);font-size:13px;color:var(--ink-2);flex:none}
.ask-rate button{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--rule-strong);color:var(--teal);background:var(--surface)}
.ask-rate button:hover{background:var(--teal-wash)}
.ask-rate button svg{width:16px;height:16px}
.ask-rate.done{color:var(--muted);font-size:12.5px}
.ask-composer{border-top:1px solid var(--rule);padding:10px 14px 6px;background:var(--surface);flex:none}
.ask-cbox{display:flex;align-items:flex-end;gap:var(--sp-2);border:1px solid var(--rule-strong);border-radius:22px;padding:6px 6px 6px 14px;background:var(--surface)}
.ask-cbox:focus-within{border-color:var(--teal)}
.ask-cbox textarea{flex:1;border:0;outline:0;resize:none;font:inherit;font-size:13.5px;line-height:1.45;padding:5px 0;max-height:140px;field-sizing:content;min-height:22px;background:transparent;color:var(--ink)}
.ask-send{width:34px;height:34px;border-radius:50%;background:var(--teal);color:#fff;display:grid;place-items:center;flex:none}
.ask-send:disabled{opacity:.45;cursor:default}
.ask-send svg{width:16px;height:16px}
.ask-hint{display:flex;justify-content:space-between;align-items:baseline;gap:var(--sp-3);font-size:11.5px;color:var(--muted);padding:6px 14px 12px;background:var(--surface);flex:none}
.ask-link{color:var(--teal);font-weight:600;font-size:11.5px;white-space:nowrap}
.ask-link:hover{text-decoration:underline}
.ask-confirm{display:inline-flex;gap:var(--sp-2);align-items:baseline;white-space:nowrap;color:var(--ink-2)}
/* Your own message (24/11/2026): Edit and Delete under it, always shown (a
   phone has no hover), and on a touch screen each a 40 px tall target
   without changing its look. The edit box takes the bubble's width. */
.ask-own{display:flex;justify-content:flex-end;align-items:baseline;flex-wrap:wrap;gap:var(--sp-1) var(--sp-3);font-size:11.5px;color:var(--ink-2);margin-top:2px}
.ask-own .ask-link{position:relative}
.ask-link.strong{font-weight:700}
.ask-link.danger{color:var(--err)}
.ask-edited{color:var(--faint)}
.ask-msg.editing{width:72%}
.ask-edit{font:inherit;font-size:13px;line-height:1.45;width:100%;min-height:4.5em;padding:var(--sp-2);border:1px solid var(--rule-strong);border-radius:var(--r-1);background:var(--surface);color:var(--ink)}
@media (pointer:coarse){
  .ask-own .ask-link::after{content:'';position:absolute;left:50%;top:50%;width:100%;min-width:40px;height:40px;transform:translate(-50%,-50%)}
}
.ask-none{margin:auto;text-align:center;color:var(--faint);font-size:13px}
.ask-none svg{width:28px;height:28px;color:var(--rule-strong)}
.ask-none p{margin:6px 0 0}

/* the New request drawer (inside the shared rq-drawer) */
.ask-drawer{width:min(760px,100%)}
.ask-body{gap:var(--sp-4)}
.ask-mut{color:var(--muted);font-size:13px;margin:0}
.ask-q{font-size:12px;font-weight:700;color:var(--ink-2);margin-bottom:7px}
.ask-group + .ask-group{margin-top:var(--sp-3)}
.ask-tgrp{font-size:11px;font-weight:700;color:var(--muted);margin:2px 0 6px}
.ask-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--sp-2)}
.ask-tiles.wide{grid-template-columns:repeat(2,minmax(0,1fr))}
.ask-tile{border:1px solid var(--rule);border-radius:var(--r-1);padding:10px;display:grid;gap:6px;align-content:start;text-align:left;background:var(--surface)}
.ask-tile:hover{border-color:var(--teal-border)}
.ask-tiles.wide .ask-tile{grid-template-columns:30px minmax(0,1fr);align-items:center;gap:10px}
.ask-tile .ask-ico{width:30px;height:30px;border-radius:9px}
.ask-tile-t b{font-size:13px;display:block;color:var(--ink)}
.ask-tile-t small{font-size:11.5px;color:var(--muted);line-height:1.35;display:block}
.ask-tile.on{border-color:var(--teal);background:var(--teal-wash);box-shadow:inset 0 0 0 1px var(--teal)}
.ask-conf{margin-top:var(--sp-3)}
.ask-conf a{color:var(--teal);font-weight:600}
.ask-form{display:grid;gap:var(--sp-4)}
/* Step two of New request: the chosen tile at the top, and the way back. */
.ask-chosen{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid var(--teal);background:var(--teal-wash);border-radius:var(--r-1);padding:10px 12px}
.ask-chosen .ask-tile-t b{font-size:13.5px}
.ask-fld{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px;align-items:start}
.ask-fld > label{font-size:12.5px;font-weight:600;color:var(--ink-2);padding-top:7px}
.ask-fld > label small{display:block;font-weight:400;color:var(--faint)}
/* A short choice (Open / Change card / End): each option its own outlined
   pill, so it reads as something to click before anything is chosen
   (testing round, 12/11/2026: the old dark track read as one black field).
   Chosen: the teal of "When suits you" and a tick, never colour alone. */
.ask-seg{display:flex;flex-wrap:wrap;gap:6px}
.ask-seg button{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--rule-strong);border-radius:999px;background:var(--surface);
  padding:5px 13px;font-size:12.5px;font-weight:600;color:var(--ink-2);cursor:pointer}
.ask-seg button:hover{border-color:var(--teal)}
.ask-seg button.on{background:var(--teal-wash);border-color:var(--teal);color:var(--teal-ink)}
.ask-seg button.on::before{content:"";width:10px;height:6px;border:solid currentColor;border-width:0 0 2px 2px;transform:translateY(-2px) rotate(-45deg)}
.ask-seg button:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.ask-radio{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;padding-top:6px}
.ask-radio label{display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.ask-radio input{accent-color:var(--teal);margin:0}
.ask-slots{display:flex;flex-wrap:wrap;gap:6px}
.ask-slots button{border:1px solid var(--rule-strong);border-radius:999px;padding:4px 11px;font-size:12.5px;color:var(--ink-2)}
.ask-slots button.on{background:var(--teal-wash);border-color:var(--teal);color:var(--teal-ink);font-weight:600}
.ask-select,.ask-input{font:inherit;font-size:13.5px;color:var(--ink);border:1px solid var(--rule-strong);border-radius:var(--r-1);padding:7px 10px;background:var(--surface);width:100%;max-width:360px}
.ask-select:focus,.ask-input:focus{outline:2px solid var(--teal-border);border-color:var(--teal)}
textarea.ask-input{max-width:none;line-height:1.45}
.ask-date{max-width:200px}
.ask-other{margin-top:6px}
.ask-check{display:inline-flex;align-items:center;gap:6px;font-size:13px;padding-top:6px}
.ask-check input{accent-color:var(--teal)}
.ask-note{font-size:11.5px;color:var(--muted);margin-top:5px;line-height:1.45}
.ask-note.warn{color:var(--amber)}
.ask-note.bad{color:var(--err);font-weight:600}
.ask-comp{display:flex;flex-direction:column;gap:var(--sp-2);max-width:360px}
.ask-comp-row{display:flex;align-items:center;gap:var(--sp-2)}
.ask-comp-x{border:1px solid var(--rule-strong);border-radius:var(--r-1);width:30px;height:30px;flex:none;color:var(--ink-2);font-size:16px;line-height:1}
.ask-comp-add{align-self:flex-start}
.ask-cost{display:flex;flex-direction:column;gap:2px;margin:var(--sp-2) 0 var(--sp-3);padding:var(--sp-2) var(--sp-3);border:1px solid var(--rule);border-left:3px solid var(--teal);border-radius:var(--r-1);background:var(--surface)}
.ask-cost span{font-size:11.5px;color:var(--muted)}
.ask-cost b{font-size:13.5px;color:var(--ink)}
.ask-cost.warn{border-left-color:var(--amber)}
.ask-foot{background:var(--sidebar)}
.ask-foot-row{display:flex;justify-content:space-between;align-items:center;gap:14px}
.ask-foot-row small{font-size:12px;color:var(--muted)}

@media (max-width:760px){
  /* A phone: the list, or the conversation taking the whole screen. */
  .ask-split{grid-template-columns:1fr;height:auto;min-height:0;border-radius:var(--r-1)}
  .ask-split:not(.has-thread) .ask-thread{display:none}
  .ask-split.has-thread .ask-list{display:none}
  .ask-split.has-thread{height:calc(100vh - 24px);border:0;border-radius:0}
  .frame:has(.ask-split.has-thread) .side{display:none}
  .main.ask:has(.ask-split.has-thread){padding:0}
  .main.ask:has(.ask-split.has-thread) .topbar{display:none}
  .ask-back{display:grid}
  .ask-th{padding:12px 12px 10px}
  .ask-facts{padding:8px 12px}
  .ask-chat{padding:12px}
  .ask-msg{max-width:82%}
  .ask-msg.editing{width:82%}
  .ask-composer{padding:8px 10px 6px}
  .ask-hint{padding:4px 10px 10px;flex-direction:column;gap:4px}
  .ask-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ask-tiles.wide{grid-template-columns:1fr}
  .ask-fld{grid-template-columns:1fr;gap:6px}
  .ask-fld > label{padding-top:0}
  .ask-foot-row{flex-direction:column;align-items:stretch}
}
@media (max-width:760px){ .ask .cta-request{white-space:nowrap;flex:none} }

/* ── My subscriptions (2026-11-10, the approved mockups): a wallet of
   credit-card-shaped cards (1.586:1). Medicover navy, Multisport deep
   orange, one being confirmed a muted warm grey; white text at 4.5:1 or
   better on every stop (navy 13:1, orange 5.5:1, grey 6.8:1), and the
   second line too. Bridge's own glyphs, no supplier logo; a dashed square
   where a member number or QR code could go. Phone: the cards stack like a
   wallet's, each showing its top, the last one whole; an open card shows
   its details under it. Desktop: a column of cards, the chosen one's
   details beside it. ─────────────────────────────────────────────────── */
.ws-fresh{display:flex;align-items:center;gap:var(--sp-2);font-size:13px;color:var(--muted);margin-top:var(--sp-1)}
.ws-dot{width:7px;height:7px;border-radius:var(--r-pill);background:var(--ok);flex:none}
.ws-wallet{display:grid;gap:var(--sp-4);max-width:420px}
.ws-grid{display:grid;grid-template-columns:minmax(0,400px) minmax(0,380px);gap:var(--sp-6);align-items:start}
.ws-col{display:grid;gap:var(--sp-4)}
.ws-side{display:grid;gap:var(--sp-3)}
.ws-stack{display:grid}
.ws-card{position:relative;overflow:hidden;display:grid;grid-template-rows:auto 1fr auto;gap:var(--sp-2);width:100%;aspect-ratio:1.586/1;
  border:0;border-radius:var(--r-2);padding:var(--sp-5);color:var(--card-ink);text-align:left;font:inherit;cursor:pointer;
  box-shadow:inset 0 0 0 1px var(--card-rule)}
.ws-card::after{content:"";position:absolute;right:-18%;bottom:-38%;width:70%;aspect-ratio:1;border-radius:50%;background:var(--card-glow);pointer-events:none}
.ws-card:focus-visible{outline:none;box-shadow:var(--focus)}
.ws-card.sel{box-shadow:inset 0 0 0 2px var(--card-ink)}
.ws-card.ws-mc{background:linear-gradient(135deg,var(--card-mc-2),var(--card-mc));--card-ink-2:var(--card-mc-ink-2)}
.ws-card.ws-ms{background:linear-gradient(135deg,var(--card-ms),var(--card-ms-2));--card-ink-2:var(--card-ms-ink-2)}
.ws-card.ws-cf{background:linear-gradient(135deg,var(--card-cf),var(--card-cf-2));--card-ink-2:var(--card-cf-ink-2)}
.ws-stack .ws-card:not(:last-child){aspect-ratio:auto;height:92px;margin-bottom:-18px;grid-template-rows:auto}
.ws-stack .ws-card:not(:last-child) .ws-mid,.ws-stack .ws-card:not(:last-child) .ws-foot{display:none}
.ws-top{display:flex;align-items:center;gap:var(--sp-3);position:relative;z-index:1}
.ws-mono{display:grid;place-items:center;min-width:30px;height:30px;padding:0 6px;border:1.5px solid var(--card-ink);border-radius:var(--r-1);font-weight:800;font-size:12px;letter-spacing:.02em}
.ws-name{font-weight:800;font-size:17px}
.ws-chip{margin-left:auto;font-size:12px;font-weight:700;padding:3px 12px;border-radius:var(--r-pill);white-space:nowrap}
.ws-chip.confirm{background:var(--card-ink);color:var(--ink)}
.ws-chip.note{box-shadow:inset 0 0 0 1.5px var(--card-ink)}
.ws-mid{display:flex;justify-content:space-between;align-items:center;gap:var(--sp-3);position:relative;z-index:1}
.ws-plan-wrap{display:grid;gap:2px;min-width:0}
.ws-plan{font-family:var(--disp);font-size:24px;font-weight:800;letter-spacing:-.02em;line-height:1.15}
.ws-sub{font-size:15px;font-weight:600;color:var(--card-ink-2)}
.ws-foot{display:flex;justify-content:space-between;align-items:center;gap:var(--sp-3);position:relative;z-index:1}
.ws-since{font-size:13px;font-weight:600;color:var(--card-ink-2)}
.ws-pill{font-size:13px;font-weight:700;padding:4px 12px;border-radius:var(--r-pill);background:var(--card-chip);white-space:nowrap}
.ws-hint{margin:0;text-align:center;font-size:13px;color:var(--muted)}
.ws-details{background:var(--surface);border:1px solid var(--rule);border-radius:var(--r-2);padding:var(--sp-5);display:grid;gap:var(--sp-3)}
.ws-details h2{font-family:var(--disp);font-size:18px;font-weight:800;margin:0;color:var(--ink);letter-spacing:-.01em}
.ws-back{justify-self:center;background:none;border:0;font:inherit;font-weight:700;font-size:14px;color:var(--ink);cursor:pointer}
.ws-covered{margin:0;font-size:14px;color:var(--ink-2)}
.ws-table{width:100%;border-collapse:collapse;font-size:14px}
.ws-table td{padding:5px 0;color:var(--ink-2);vertical-align:top}
.ws-table td:last-child{text-align:right;font-family:var(--mono);font-variant-numeric:tabular-nums;white-space:nowrap;padding-left:var(--sp-3)}
.ws-table tfoot td{border-top:1px solid var(--rule);padding-top:var(--sp-2);font-weight:700;color:var(--ink)}
.ws-note{padding:var(--sp-3) var(--sp-4);border:1px solid var(--warn-border);background:var(--warn-bg);color:var(--warn-ink);border-radius:var(--r-1);font-size:14px}
.ws-how{margin:0;font-size:13px;color:var(--muted)}
.ws-request{display:grid;gap:var(--sp-1);font-size:14px;padding:var(--sp-3);background:var(--surface-2);border-radius:var(--r-1)}
.ws-link{background:none;border:0;padding:0;font:inherit;font-weight:700;color:var(--ink);text-decoration:underline;cursor:pointer;justify-self:start}
.ws-actions{display:flex;gap:var(--sp-2);flex-wrap:wrap}
.ws-btn{background:var(--surface);color:var(--ink);border:1.5px solid var(--ink);border-radius:var(--r-pill);padding:9px 18px;font:inherit;font-weight:700;font-size:14px;cursor:pointer}
.ws-btn:hover{background:var(--surface-2)}
.ws-none{display:grid;gap:var(--sp-2);justify-items:center;text-align:center;padding:var(--sp-6) var(--sp-5);border:1.5px dashed var(--rule-strong);border-radius:var(--r-2);font-size:14px;color:var(--muted)}
.ws-none b{font-size:16px;color:var(--ink)}
.ws-cta{background:var(--accent-deep);color:#fff;border:0;border-radius:var(--r-pill);padding:10px 20px;font:inherit;font-weight:700;font-size:14px;cursor:pointer;margin-top:var(--sp-1)}
.ws-cta:hover{background:var(--accent)}
/* One card per benefit, line by line (2026-11-20): the open card's lines, the
   plan or package first, then the people on it; each its dates as tags and its
   one button; a button that needs a month opens its short request under it. */
.ws-lines{border:1px solid var(--rule);border-radius:var(--r-1);overflow:hidden}
.ws-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--sp-2) var(--sp-3);align-items:center;padding:var(--sp-3);border-bottom:1px solid var(--rule)}
.ws-line:last-child{border-bottom:0}
.ws-line.plan{background:var(--surface-2)}
.ws-line-what{display:grid;gap:2px;min-width:0;font-size:14px;color:var(--ink)}
.ws-line-top{display:flex;flex-wrap:wrap;gap:var(--sp-2);align-items:center}
.ws-line.plan .ws-line-top b{font-size:16px}
.ws-line-what small{font-size:13px;color:var(--muted)}
.ws-tag{font-size:12px;font-weight:700;padding:2px 10px;border-radius:var(--r-pill);white-space:nowrap}
.ws-tag.new{background:var(--other-soft);color:var(--other-ink)}
.ws-tag.warn{background:var(--warn-bg);color:var(--warn-ink)}
.ws-btn-s{padding:7px 14px;font-size:13px;white-space:nowrap}
.ws-btn-p{background:var(--accent-deep);border-color:var(--accent-deep);color:var(--on-dark)}
.ws-btn-p:hover{background:var(--accent)}
.ws-btn-p:disabled,.ws-btn-s:disabled{opacity:.55;cursor:default}
.ws-btn-q{border-color:transparent;color:var(--muted)}
.ws-ask{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:var(--sp-3);align-items:end;padding:var(--sp-3);background:var(--surface);border:1px solid var(--rule);border-radius:var(--r-1);text-align:left}
.ws-details>.ws-ask,.ws-none>.ws-ask{background:var(--surface-2);border-color:transparent}
.ws-fld{display:grid;gap:var(--sp-1);font-size:13px;color:var(--muted);min-width:0}
.ws-fld select{font:inherit;font-size:14px;color:var(--ink);background:var(--surface);border:1px solid var(--rule-strong);border-radius:var(--r-1);padding:8px 10px;min-height:40px;max-width:100%}
.ws-ask-err{flex-basis:100%;margin:0;font-size:13px;color:var(--err)}
@media (max-width:760px){
  .ws-wallet{max-width:none}
  .ws-plan{font-size:22px}
}

/* ---------------- Who's off (2026-11-12; the lead's plan and its mockups,
   https://claude.ai/artifact/KHquTANDzvXEgsHFHcrHKy) ----------------
   Off today and This week, then the month grid grouped by the N-1 person;
   below 760 px the grid gives way to "Coming up". A day off is the year
   calendar's solid black (--taken), half a day its half mark, a public
   holiday its sand; days outside the window are hatched. Colour is never
   alone: the legend names each mark and every cell carries its words. */
.wo .topbar .sub{max-width:640px}
.wo-sub-phone{display:none}
.wo-ctl{justify-content:flex-start}
.wo-search{display:inline-flex;align-items:center;gap:var(--sp-2);border:1px solid var(--rule);background:var(--surface);border-radius:var(--r-pill);
  padding:0 var(--sp-4);min-height:38px;min-width:190px;color:var(--faint)}
.wo-search svg{width:15px;height:15px;flex:none}
.wo-search input{border:0;outline:0;background:transparent;font:inherit;font-size:13px;color:var(--ink);min-width:0;flex:1;padding:8px 0}
.wo-search input::placeholder{color:var(--faint)}
.wo-search:focus-within{box-shadow:var(--focus)}
.wo-seg{display:inline-flex;align-items:center;gap:3px;background:var(--surface);border:1px solid var(--rule);border-radius:var(--r-pill);padding:3px}
.wo-seg button{padding:6px 14px;border:0;border-radius:var(--r-pill);background:transparent;font:inherit;font-size:13px;font-weight:700;color:var(--muted);white-space:nowrap;cursor:pointer}
.wo-seg button b{font-weight:600;opacity:.75;margin-left:2px;font-variant-numeric:tabular-nums}
.wo-seg button.on{background:var(--ink);color:var(--on-dark)}
.wo-seg button:not(.on):hover{color:var(--ink)}
.wo-seg button:focus-visible{outline:none;box-shadow:var(--focus)}

.wo-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:var(--sp-5);margin-bottom:var(--sp-5);align-items:start}
.wo-card{background:var(--surface);border:1px solid var(--rule);border-radius:var(--r-2);padding:var(--sp-5) 22px;margin-bottom:var(--sp-5)}
.wo-top .wo-card{margin-bottom:0}
.wo-card h3{font-family:var(--disp);font-size:18px;font-weight:800;letter-spacing:-.02em;color:var(--ink);margin:0 0 var(--sp-3);display:flex;align-items:baseline;justify-content:space-between;gap:var(--sp-3)}
.wo-card .pn{font-size:12px;color:var(--faint);font-weight:500;letter-spacing:0}
.wo-big{display:flex;align-items:baseline;gap:10px;margin-bottom:var(--sp-3)}
.wo-big b{font-size:44px;font-weight:900;line-height:.9;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.wo-big span{font-size:13px;color:var(--muted)}
.wo-list{list-style:none;margin:0;padding:0}
.wo-list li{display:flex;justify-content:space-between;gap:var(--sp-3);padding:var(--sp-2) 0;border-top:1px solid var(--surface-2);font-size:14px}
.wo-name{font-weight:600;color:var(--ink);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wo-until{color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}
.wo-more{font-size:12.5px;color:var(--muted);padding-top:var(--sp-2);margin:0}
.wo-none{font-size:14px;color:var(--muted);padding:6px 0 2px;margin:0}
.wo-foot{font-size:12px;color:var(--faint);margin:var(--sp-3) 0 0;padding-top:10px;border-top:1px solid var(--surface-2)}
.wo-card .empty{padding:var(--sp-6) 6px var(--sp-4)}
.wo-card .empty .orb{animation:none}

.wo-wk{display:flex;flex-direction:column;gap:6px}
.wo-wk-row{display:grid;grid-template-columns:minmax(0,1fr) repeat(5,30px);gap:6px;align-items:center;font-size:14px}
.wo-wk-head span{font-size:10px;font-weight:700;color:var(--faint);text-align:center;text-transform:uppercase;line-height:1.1}
.wo-wk-head span i{display:block;font-style:normal;font-size:12px;color:var(--ink-2);font-weight:600}
.wo-wk-head span.is-today i{color:var(--ink);font-weight:800}
.wo-wk-c{height:24px;border-radius:6px;background:var(--surface-2)}
.wo-wk-c.off{background:var(--taken)}
.wo-wk-c.half{background:linear-gradient(135deg,var(--taken) 50%,var(--surface-2) 50%)}
.wo-wk-c.hol{background:var(--sand-1);box-shadow:inset 0 0 0 1.5px var(--sand-2)}
.wo-wk-c.ns{background:repeating-linear-gradient(45deg,transparent 0 3px,rgba(27,27,27,.07) 3px 6px)}
.wo-wk-c.today{outline:2px solid var(--ink);outline-offset:1px}

.wo-month>.ph{flex-wrap:wrap;gap:var(--sp-4);padding:14px 22px}
.wo-mnav{display:flex;align-items:center;gap:6px}
.wo-mnav h2{padding:0 var(--sp-1)}
.wo-mnav .yn-arrow{border:1px solid var(--rule);color:var(--ink)}
.wo-mtools{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.wo-mg{padding:var(--sp-2) 14px 6px;--wo-name:232px}
.wo-mg.wide{--wo-name:300px}
.wo-mg-row{display:grid;grid-template-columns:var(--wo-name) repeat(var(--wo-days,30),minmax(0,1fr));align-items:center;column-gap:2px;min-height:30px}
.wo-mg-row+.wo-mg-row{border-top:1px solid var(--surface-2)}
.wo-mg-head{min-height:36px}
.wo-mg-d{text-align:center;font-size:11px;font-weight:600;color:var(--ink-2);line-height:1.05;font-variant-numeric:tabular-nums}
.wo-mg-d i{display:block;font-style:normal;font-size:9px;font-weight:700;color:var(--faint)}
.wo-mg-d.wk{color:var(--faint)}
.wo-mg-d.ns{color:var(--rule-strong)}
.wo-mg-d.ns i{color:var(--rule-strong)}
.wo-mg-d.today{background:var(--ink);color:var(--on-dark);border-radius:8px;padding:2px 0}
.wo-mg-d.today i{color:var(--on-dark-2)}
.wo-mg-name{display:flex;align-items:center;gap:6px;min-width:0;padding-right:var(--sp-2);font-size:13.5px}
.wo-nm{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.wo-tags{margin-left:auto;display:flex;gap:var(--sp-1);flex:none}
.wo-tag{flex:none;font-size:10.5px;font-weight:700;color:var(--muted);border:1px solid var(--rule);border-radius:var(--r-pill);padding:0 6px;line-height:16px}
.wo-tag.ty{border-color:transparent;background:var(--surface-2)}
.wo-c{height:20px;border-radius:5px;background:transparent}
.wo-c.wk{background:var(--surface-2)}
.wo-c.ns{background:repeating-linear-gradient(45deg,transparent 0 3px,rgba(27,27,27,.07) 3px 6px)}
.wo-c.off{background:var(--taken)}
.wo-c.half{background:linear-gradient(135deg,var(--taken) 50%,var(--surface-2) 50%)}
.wo-c.hol{background:var(--sand-1);box-shadow:inset 0 0 0 1.5px var(--sand-2)}
.wo-c.today{outline:2px solid var(--ink);outline-offset:0}
.wo-group{display:flex;align-items:center;gap:var(--sp-2);width:100%;padding:var(--sp-3) var(--sp-1) 6px;font:inherit;font-size:13px;color:var(--ink);text-align:left;
  background:transparent;border:0;border-top:1px solid var(--rule);margin-top:var(--sp-1);cursor:pointer}
.wo-group b{font-weight:800}
.wo-gcount{color:var(--muted)}
.wo-gchev{width:16px;height:16px;color:var(--muted);display:inline-flex;flex:none}
.wo-gchev svg{width:16px;height:16px}
.wo-group.folded{padding:10px var(--sp-1)}
.wo-group:hover b{text-decoration:underline}
.wo-group:focus-visible{outline:none;box-shadow:var(--focus);border-radius:var(--r-1)}
.wo-mg-head+.wo-mg-group-wrap>.wo-group,.wo-mg-head+.wo-mg-none+.wo-mg-group-wrap>.wo-group{border-top:0;margin-top:0}
.wo-showmore{display:block;background:none;border:0;font:inherit;font-size:12.5px;font-weight:700;color:var(--ink);text-decoration:underline;padding:var(--sp-2) var(--sp-1) 6px;cursor:pointer}
.wo-mg-none{padding:var(--sp-3) var(--sp-1)}
.wo-legend{display:flex;gap:18px;flex-wrap:wrap;padding:var(--sp-3) 22px;border-top:1px solid var(--rule);font-size:12px;color:var(--muted)}
.wo-sw{width:13px;height:13px;border-radius:4px;display:inline-block;vertical-align:-2px;margin-right:6px}
.wo-sw.off{background:var(--taken)}
.wo-sw.half{background:linear-gradient(135deg,var(--taken) 50%,var(--surface-2) 50%);box-shadow:inset 0 0 0 1px var(--rule)}
.wo-sw.hol{background:var(--sand-1);box-shadow:inset 0 0 0 1.5px var(--sand-2)}
.wo-sw.ns{background:repeating-linear-gradient(45deg,transparent 0 3px,rgba(27,27,27,.12) 3px 6px);box-shadow:inset 0 0 0 1px var(--rule)}
.wo-note{display:flex;align-items:center;gap:var(--sp-2);padding:0 22px 14px;margin:0;font-size:12px;color:var(--faint)}
.wo-note svg{width:14px;height:14px;flex:none}
.wo .note.err svg{width:17px;height:17px}

/* Coming up: the phone's list in place of the grid. */
.wo-coming{display:none}
.wo-pl-month{font-size:12px;font-weight:700;letter-spacing:.06em;color:var(--muted);margin:6px 0 var(--sp-1)}
.wo-pl-list{list-style:none;margin:0;padding:0}
.wo-pl-list li{display:grid;grid-template-columns:1fr;gap:1px;padding:9px 0;border-top:1px solid var(--surface-2)}
.wo-pl-d{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.wo-pl-n{font-size:15px;font-weight:700}
.wo-pl-x{font-size:12px;color:var(--faint)}

@media (max-width:1100px){.wo-top{grid-template-columns:1fr}.wo-mg{--wo-name:180px}.wo-mg.wide{--wo-name:240px}}
@media (max-width:760px){
  .wo-sub-desk{display:none}
  .wo-sub-phone{display:inline}
  .wo .topbar{margin-bottom:6px}
  .wo .topbar .sub{font-size:16px;margin-top:6px}
  .wo-top{gap:14px;margin-bottom:14px}
  .wo-card{padding:var(--sp-4) 18px;margin-bottom:14px}
  .wo-big b{font-size:36px}
  .wo-wk-row{grid-template-columns:minmax(0,1fr) repeat(5,26px)}
  .wo-month{display:none}
  .wo-coming{display:block}
  .wo-ctl{width:100%}
  .wo-search{flex:1 1 100%}
}

/* ============================================================
   My profile (spec "My profile in Beam" v5; the design's ProfileDesktop and
   ProfilePhone boards). Reuses .topbar, .panel/.ph, .wk-av, .wk-role,
   .tr-linkbtn and .cta-request; only the layout and the detail rows are its
   own. Labels, values and actions only (the lead, 17/11/2026).
   ============================================================ */
.pf-body{display:flex;flex-direction:column;gap:var(--sp-5)}
.pf .panel{margin-bottom:0}
.pf-id{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-5);padding:var(--sp-5) var(--sp-6)}
.pf-av.wk-av{width:64px;height:64px;font-size:22px;font-weight:800}
.pf-id-tx{flex:1 1 360px;min-width:0;display:flex;flex-direction:column;gap:var(--sp-3)}
.pf-name{font-family:var(--disp);font-size:28px;font-weight:800;letter-spacing:-.02em;line-height:1.1;color:var(--ink)}
.pf-meta{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-2)}
.pf-ppid,.pf-since{font-size:13px;color:var(--muted)}
.pf-ppid span{font-family:var(--mono);color:var(--ink);font-weight:500}
.pf-cols{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:var(--sp-5);align-items:start}
.pf-col{display:flex;flex-direction:column;gap:var(--sp-5);min-width:0}
.pf-rows{margin:0;padding:var(--sp-1) 22px}
.pf-row{display:grid;grid-template-columns:170px minmax(0,1fr) auto;gap:var(--sp-4);padding:var(--sp-4) 0;align-items:start}
.pf-row+.pf-row{border-top:1px solid var(--rule)}
.pf-row dt{font-size:14px;font-weight:600;color:var(--muted)}
.pf-row dd{margin:0;display:flex;flex-direction:column;gap:var(--sp-1);min-width:0}
.pf-val{display:flex;flex-direction:column;font-size:16px;font-weight:600;color:var(--ink);overflow-wrap:anywhere}
.pf-val.empty{font-size:15px;font-weight:400;color:var(--faint)}
.pf-hint{margin:0;font-size:13px;line-height:1.5;color:var(--muted)}
.pf-warn{align-self:flex-start;font-size:13px;padding:6px var(--sp-3);border-radius:var(--r-1);background:var(--warn-bg);border:1px solid var(--warn-border);color:var(--warn-ink)}
.pf-act{white-space:nowrap}
/* A back-office person's language: Beam's pill choice (.ask-seg), in the row. */
.pf-choice{margin:var(--sp-1) 0 0}
.pf-rates{display:flex;flex-direction:column;gap:var(--sp-3)}
.pf-rate{border:1px solid var(--rule);border-radius:var(--r-1);overflow:hidden}
.pf-rate-h{background:var(--surface-2);padding:var(--sp-3) var(--sp-4);display:flex;flex-wrap:wrap;gap:6px var(--sp-3);align-items:baseline}
.pf-rate-h b{font-size:15px;font-weight:800}
.pf-code{font-family:var(--mono);font-size:12.5px;color:var(--ink-2)}
.pf-from{font-size:12.5px;color:var(--muted)}
.pf-rate-l{display:flex;justify-content:space-between;gap:var(--sp-3);padding:var(--sp-3) var(--sp-4);border-top:1px solid var(--rule);font-size:15px}
.pf-rate-l b{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.pf-people{list-style:none;margin:0;padding:6px 22px 0}
.pf-people li{display:grid;grid-template-columns:34px minmax(0,1fr);gap:var(--sp-3);padding:14px 0}
.pf-people li+li{border-top:1px solid var(--rule)}
.pf-person{display:flex;flex-direction:column;gap:2px;min-width:0}
.pf-person small{font-size:12px;font-weight:700;color:var(--muted)}
.pf-person b{font-size:15px;font-weight:800;color:var(--ink)}
.pf-person b.empty{font-weight:600;color:var(--faint)}
.pf-person span{font-size:13px;color:var(--ink-2)}
@media (max-width:1080px){.pf-cols{grid-template-columns:1fr}}
@media (max-width:760px){
  .pf .topbar{margin-bottom:var(--sp-4)}
  .pf .side-ctl{width:100%}
  .pf .cta-request{width:100%;justify-content:space-between}
  .pf-body,.pf-col,.pf-cols{gap:var(--sp-4)}
  .pf .ph{padding:var(--sp-4) 18px}
  .pf-id{padding:18px;gap:14px}
  .pf-av.wk-av{width:52px;height:52px;font-size:18px}
  .pf-name{font-size:22px}
  .pf-rows{padding:0 18px}
  .pf-row{grid-template-columns:minmax(0,1fr) auto;gap:var(--sp-1) var(--sp-3);padding:14px 0}
  .pf-row dt{font-size:13px;grid-column:1;grid-row:1}
  .pf-row .pf-act{grid-column:2;grid-row:1;min-height:24px}
  .pf-row dd{grid-column:1 / -1;grid-row:2}
  .pf-people{padding-left:18px;padding-right:18px}
}
/* The sidebar's avatar opens My profile while it is on. */
.avatar-btn{padding:0}
.avatar-btn:hover{box-shadow:0 0 0 2px var(--on-dark-3)}
.avatar-btn:focus-visible{outline:none;box-shadow:var(--focus)}

/* ============================================================
   Beam help (spec "Beam help: tutorial, FAQ and Report a problem",
   17/11/2026; the mockups' Main, TutorialStep, PhoneHelp and PhoneTutorial
   boards). The [?] beside the bell, the help panel (its own box over the
   page, never Notifications' .wn-panel, which docks into the grid when
   pinned; only the head's parts are shared), and the tutorial's dim, light
   and bubble.
   ============================================================ */
.hp-btn{position:absolute;top:var(--sp-6);right:var(--sp-5);z-index:40;width:40px;height:40px;display:grid;place-items:center;
  border:1px solid var(--rule);border-radius:var(--r-1);background:var(--surface);color:var(--ink);cursor:pointer}
.frame.has-bell .hp-btn{right:calc(var(--sp-5) + 40px + var(--sp-2))}
.hp-btn:hover{background:var(--surface-2)}
.hp-btn:focus-visible{outline:none;box-shadow:var(--focus)}
.hp-btn .ic{width:20px;height:20px;stroke-width:1.8}
.hp-btn.away{visibility:hidden} /* the panel is open: its room is kept, so the page does not shift */
@media (min-width:761px){
  .frame.has-help:not(.has-bell) .main{padding-right:max(calc(var(--sp-5) + 40px + var(--sp-3)),calc((100% - 1100px) / 2))}
  .frame.has-help.has-bell .main{padding-right:max(calc(var(--sp-5) + 88px + var(--sp-3)),calc((100% - 1100px) / 2))}
}
.mtop-help{position:relative;margin-left:auto;width:40px;height:40px;flex:none;display:grid;place-items:center;border-radius:var(--r-1);color:var(--on-dark)}
.mtop-help + .mtop-bell{margin-left:0}
.mtop-help .ic{width:22px;height:22px;stroke-width:1.8}
.mtop-help.on{background:var(--surface);color:var(--ink)}
.mtop-help:focus-visible{outline:none;box-shadow:var(--focus)}

.hp-panel{position:fixed;top:0;right:0;bottom:0;z-index:62;width:384px;max-width:100vw;display:flex;flex-direction:column;
  background:var(--surface);border-left:1px solid var(--rule);box-shadow:var(--shadow-panel);animation:wn-in .18s ease-out}
@media (prefers-reduced-motion:reduce){.hp-panel{animation:none}}
.hp-body{flex:1;overflow-y:auto;padding:0 var(--sp-5) var(--sp-5);display:flex;flex-direction:column;gap:var(--sp-4)}
.hp-screen .hp-body{padding:0;overflow:visible}
/* "Show me around … now": the screen's tour as one card-sized button (no on/off switch). */
.hp-card{border:1px solid var(--rule);border-radius:var(--r-2);padding:var(--sp-4);display:flex;align-items:center;gap:var(--sp-3);background:var(--surface);width:100%;text-align:left;font:inherit;color:var(--ink);cursor:pointer}
.hp-card:hover{border-color:var(--rule-strong)}
.hp-card:focus-visible{outline:none;box-shadow:var(--focus)}
.hp-card b{flex:1;font-size:16px;font-weight:800;color:var(--ink)}
.hp-ic{width:40px;height:40px;border-radius:var(--r-1);flex:none;display:grid;place-items:center;background:linear-gradient(135deg,var(--sand-1),var(--sand-2));color:var(--accent-deep)}
.hp-ic .ic{width:20px;height:20px}
/* Report a problem: the panel's last action, on the left like "Show me around". */
.hp-report{align-self:flex-start;font-size:14px}
@media (max-width:760px){.hp-btn,.hp-panel{display:none}}

/* The tutorial: the page dimmed and not clickable, one element lit, a bubble beside it. */
.tour-block{position:fixed;inset:0;z-index:90}
.tour-spot{position:fixed;z-index:91;border-radius:var(--r-2);pointer-events:none;
  box-shadow:0 0 0 3px var(--accent),0 0 0 9999px var(--tour-dim);transition:top .2s,left .2s,width .2s,height .2s}
.tour-pop{position:fixed;z-index:92;width:440px;max-width:calc(100vw - 32px);box-sizing:border-box;background:var(--surface);
  border-radius:var(--r-4);padding:var(--sp-5) var(--sp-5) var(--sp-4);box-shadow:0 24px 60px rgba(16,15,50,.35);display:flex;flex-direction:column;gap:var(--sp-2)}
.tour-pop.measuring{visibility:hidden;top:0;left:0}
.tour-arrow{position:absolute;width:16px;height:16px;margin-left:-8px;background:var(--surface);transform:rotate(45deg)}
.tour-arrow.below{top:-8px}
.tour-arrow.above{bottom:-8px}
.tour-count{font-size:13px;font-weight:700;color:var(--muted)}
.tour-pop h2{margin:0;font-size:22px;font-weight:800;letter-spacing:-.02em;color:var(--ink)}
.tour-pop h2:focus{outline:none}
.tour-pop p{margin:0;font-size:17px;line-height:1.5;color:var(--ink-2)}
.tour-nav{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3);padding-top:var(--sp-1)}
.tour-dots{display:flex;gap:6px}
.tour-dots i{width:6px;height:6px;border-radius:3px;background:var(--rule-strong)}
.tour-dots i.on{width:18px;background:var(--ink)}
.tour-btns{display:flex;gap:var(--sp-2)}
.tour-back,.tour-next{min-height:44px;padding:0 var(--sp-5);border-radius:var(--r-pill);font-size:15px;font-weight:700}
.tour-back{border:1.5px solid var(--ink);color:var(--ink);background:var(--surface)}
.tour-next{background:var(--ink);color:var(--on-dark)}
.tour-back:focus-visible,.tour-next:focus-visible,.tour-skip:focus-visible{outline:none;box-shadow:var(--focus)}
.tour-skip{position:fixed;z-index:92;right:var(--sp-6);bottom:var(--sp-6);min-height:40px;padding:0 var(--sp-4);border-radius:var(--r-pill);
  border:1px solid rgba(255,255,255,.4);background:rgba(16,15,50,.55);color:var(--on-dark);font-size:14px;font-weight:700}
@media (max-width:760px){
  .tour-pop.sheet{left:var(--sp-4);right:var(--sp-4);width:auto;max-width:none;bottom:calc(76px + env(safe-area-inset-bottom, 0px))}
  .tour-pop.sheet.at-top{top:120px;bottom:auto} /* below the top bar and the skip button */
  .tour-skip{top:68px;right:var(--sp-3);bottom:auto}
}
@media (prefers-reduced-motion:reduce){.tour-spot{transition:none}}
/* Beam help, step 2: the FAQ and the troubleshooters in the help panel. */
.hp-faq,.hp-trouble{display:flex;flex-direction:column;gap:var(--sp-2)}
.hp-search{display:flex;align-items:center;gap:10px;height:46px;padding:0 14px;border:1px solid var(--rule-strong);border-radius:var(--r-1);color:var(--muted);background:var(--surface)}
.hp-search:focus-within{border-color:var(--ink);box-shadow:var(--focus)}
.hp-search .ic{width:18px;height:18px;flex:none}
.hp-search input{flex:1;min-width:0;border:0;outline:none;background:transparent;font:inherit;font-size:15px;color:var(--ink)}
.hp-none{margin:0;font-size:14px;color:var(--muted)}
.hp-qs{list-style:none;margin:0;padding:0}
.hp-qs > li + li{border-top:1px solid var(--rule)}
.hp-q{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3);width:100%;min-height:48px;padding:var(--sp-2) 0;text-align:left;font-size:15px;font-weight:600;color:var(--ink)}
.hp-q:hover span:first-child{text-decoration:underline}
.hp-q:focus-visible{outline:none;box-shadow:var(--focus);border-radius:var(--r-1)}
.hp-q-mark{flex:none;width:24px;text-align:center;font-size:18px;font-weight:700}
.hp-a{padding:0 0 var(--sp-3);display:flex;flex-direction:column;gap:var(--sp-2)}
.hp-a p{margin:0;font-size:14.5px;line-height:1.6;color:var(--ink-2)}
.hp-steps{margin:0 0 var(--sp-3);padding-left:22px;display:flex;flex-direction:column;gap:var(--sp-2);font-size:14.5px;line-height:1.55;color:var(--ink-2)}
.hp-trouble{background:var(--surface-2);border:1px solid var(--rule);border-radius:var(--r-2);padding:var(--sp-4)}
