@font-face { font-family: "Px71"; src: url("/px71.ttf?v=3") format("truetype"); font-weight: 100 900; font-display: block; } /* r71: square-pixel digits (same 5x7 grid as the shift icons), replaces round Doto dots */
/* Icon Shifts (round 2). Picks: C2 Pine · F2 Google Sans · T1 1.2 scale · S1 comfortable · R2 concentric · I1 Lucide 2px · M1 Apple spring.
   Spacing: 4pt grid (4/8/12/16/20/24/32). Type: 13 / 16 / 20 / 24 / 28 (hero). Weights 400/600. Targets ≥44px. */
:root {
  --bg: oklch(0.982 0.005 172); --surface: oklch(1 0 0); --sunk: oklch(0.955 0.007 172); --raise: oklch(1 0 0);
  --fg: oklch(0.22 0.02 172); --muted: oklch(0.50 0.02 172); --line: oklch(0.905 0.008 172);
  --primary: oklch(0.50 0.095 172); --on-primary: oklch(1 0 0); --primary-soft: oklch(0.94 0.035 172); --primary-ink: oklch(0.42 0.09 172);
  /* "no / off" is a muted rose, the pine's near-complement, so it sits in the palette instead of shouting */
  --no: oklch(0.58 0.13 15); --on-no: oklch(1 0 0); --no-soft: oklch(0.955 0.025 15); --no-ink: oklch(0.50 0.13 15);
  --ok: oklch(0.52 0.11 160); --ok-soft: oklch(0.95 0.035 160); --wa: oklch(0.64 0.15 150);
  --warn: oklch(0.70 0.12 75); --warn-soft: oklch(0.96 0.04 85);
  --chip-l: 0.87; --chip-c: 0.065; --chip-ink: oklch(0.27 0.04 250);
  --mi-l: 0.56; --mi-bg: 0.95;
  --scrim: oklch(0.15 0.02 172 / 0.42); --shadow: 0 12px 40px oklch(0.2 0.03 172 / 0.14); --shadow-s: 0 1px 3px oklch(0.2 0.03 172 / 0.12);
  --glass: oklch(0.99 0.004 172 / 0.72); --glass-line: oklch(1 0 0 / 0.6); --glass-sel: oklch(0.22 0.02 172 / 0.07);

  --font: "Google Sans", "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --logo: "Oswald", "Arial Narrow", sans-serif;
  --t-cap: 13px; --t-body: 16px; --t-title: 20px; --t-big: 24px; --t-hero: 28px; --w-reg: 400; --w-strong: 600;
  --gap: 12px; --pad: 16px; --row: 52px; --btn: 52px;
  --r-s: 10px; --r-m: 16px; --r-l: 24px; --r-btn: 999px; --r-sheet: 32px;
  --spring: linear(0, 0.027, 0.095, 0.185, 0.286, 0.388, 0.486, 0.576, 0.657, 0.727, 0.786, 0.836, 0.877, 0.91, 0.936, 0.956, 0.972, 0.983, 0.992, 0.998, 1.002, 1.004, 1.006, 1.006, 1.005, 1.003, 1.001, 1);
  --bouncy: linear(0, 0.06, 0.22, 0.44, 0.67, 0.87, 1.01, 1.09, 1.11, 1.1, 1.07, 1.04, 1.01, 0.995, 0.99, 0.992, 0.997, 1);
  --dur: 350ms; --tabh: 64px;
  color-scheme: light;
}
:root[data-theme="dark"] {
    --bg: oklch(0.175 0.012 172); --surface: oklch(0.225 0.014 172); --sunk: oklch(0.155 0.01 172); --raise: oklch(0.26 0.015 172);
    --fg: oklch(0.96 0.006 172); --muted: oklch(0.72 0.02 172); --line: oklch(0.31 0.014 172);
    --primary: oklch(0.74 0.12 172); --on-primary: oklch(0.18 0.03 172); --primary-soft: oklch(0.30 0.05 172); --primary-ink: oklch(0.82 0.10 172);
    --no: oklch(0.72 0.12 15); --on-no: oklch(0.2 0.03 15); --no-soft: oklch(0.30 0.05 15); --no-ink: oklch(0.80 0.10 15);
    --ok: oklch(0.76 0.12 160); --ok-soft: oklch(0.30 0.05 160);
    --warn: oklch(0.80 0.12 80); --warn-soft: oklch(0.32 0.05 80);
    --chip-l: 0.80; --chip-c: 0.075; --mi-l: 0.82; --mi-bg: 0.30;
    --scrim: oklch(0 0 0 / 0.58); --shadow: 0 12px 40px oklch(0 0 0 / 0.5); --shadow-s: 0 1px 3px oklch(0 0 0 / 0.4);
    --glass: oklch(0.25 0.014 172 / 0.72); --glass-line: oklch(1 0 0 / 0.09); --glass-sel: oklch(1 0 0 / 0.09);
    color-scheme: dark;
  }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--bg); color: var(--fg); font: var(--w-reg) var(--t-body)/1.5 var(--font); -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
img { max-width: 100%; }

#app { max-width: 480px; margin: 0 auto; min-height: 100dvh; position: relative; }
#app.wide { max-width: 1180px; }
.screen { min-height: 100dvh; display: flex; flex-direction: column; gap: var(--gap);
  padding: calc(env(safe-area-inset-top, 0px) + 8px) max(var(--pad), env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + var(--pad)) max(var(--pad), env(safe-area-inset-left, 0px)); }
body.tabs-on .screen { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + var(--tabh) + 32px); }
.screen.enter { animation: enter var(--dur) var(--spring) both; }
.screen.enter.back { animation-name: enter-back; }
.screen.enter.fade { animation: fadein 220ms ease-out both; }
@keyframes enter { from { opacity: 0; transform: translateX(calc(var(--dirx, 1) * 24px)); } to { opacity: 1; transform: none; } }
@keyframes enter-back { from { opacity: 0; transform: translateX(calc(var(--dirx, 1) * -24px)); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
[dir="rtl"] { --dirx: -1; }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; gap: 8px; color: var(--muted); font-size: var(--t-cap); }
.top > span { display: flex; align-items: center; gap: 4px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--fg); font-weight: var(--w-strong); font-size: 16px; }
.lg { display: inline-flex; align-items: center; justify-content: center; background: var(--fg); color: var(--bg); font: 500 13px/1 var(--logo); letter-spacing: 0.14em; padding: 5px 5px 5px 7px; border-radius: 3px; direction: ltr; }
.lg.xl { font-size: 40px; padding: 16px 14px 16px 22px; border-radius: 4px; letter-spacing: 0.16em; }
.iconbtn { appearance: none; border: 0; background: transparent; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; border-radius: 999px; cursor: pointer; color: var(--fg); padding: 0 8px; font-size: 14px; text-decoration: none; }
.iconbtn:active { background: var(--sunk); }
.ic { display: inline-flex; width: 20px; height: 20px; flex: none; }
.ic svg { width: 100%; height: 100%; }
.ic.s16 { width: 16px; height: 16px; }
.ic.s24 { width: 24px; height: 24px; }

h1 { font-size: var(--t-title); font-weight: var(--w-strong); line-height: 1.3; margin: 4px 0 0; text-wrap: balance; }
h1.big { font-size: var(--t-big); line-height: 1.25; }
h1:focus { outline: none; }
h2 { font-size: 17px; font-weight: var(--w-strong); margin: 0; line-height: 1.35; }
.sub { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.45; text-wrap: pretty; }
.cap { color: var(--muted); font-size: var(--t-cap); line-height: 1.4; }
.sect { color: var(--muted); font-size: var(--t-cap); font-weight: 500; margin: 8px 4px -4px; }
.t { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; white-space: nowrap; }
.strong { font-weight: var(--w-strong); }
.spacer { flex: 1; }
.stack { display: flex; flex-direction: column; gap: var(--gap); }
.row2 { display: flex; gap: 8px; }
.row2 > * { flex: 1; min-width: 0; }
.center { text-align: center; }

/* buttons */
.btn { appearance: none; border: 0; cursor: pointer; background: var(--primary); color: var(--on-primary); min-height: var(--btn); border-radius: var(--r-btn);
  font-weight: var(--w-strong); font-size: var(--t-body); padding: 0 20px; display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; line-height: 1.2;
  transition: transform 140ms var(--spring), opacity 150ms; width: 100%; text-decoration: none; white-space: nowrap; }
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.45; cursor: default; transform: none; }
.btn.soft { background: var(--primary-soft); color: var(--primary-ink); }
.btn.ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.no { background: var(--no); color: var(--on-no); }
.btn.wa { background: oklch(0.52 0.13 150); color: #fff; }
.btn.sm { min-height: 44px; font-size: 15px; padding: 0 16px; width: auto; }
.btn2 { appearance: none; cursor: pointer; background: var(--surface); color: var(--fg); border: 1px solid var(--line); min-height: 48px; border-radius: var(--r-btn);
  font-size: 15px; padding: 0 16px; display: flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: transform 140ms var(--spring); text-decoration: none; }
.btn2:active { transform: scale(0.97); background: var(--sunk); }
.link { appearance: none; border: 0; background: transparent; color: var(--primary-ink); font-weight: var(--w-strong); font-size: 15px; min-height: 44px; cursor: pointer; padding: 0 8px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.link.no { color: var(--no-ink); }
.bottom { display: flex; flex-direction: column; gap: 4px; position: sticky; bottom: calc(env(safe-area-inset-bottom, 0px) + 8px); padding-top: 12px; background: linear-gradient(to bottom, transparent, var(--bg) 24px); z-index: 2; }
body.tabs-on .bottom { bottom: calc(env(safe-area-inset-bottom, 0px) + var(--tabh) + 24px); }
.wa-ic { color: var(--wa); }

/* cards + rows */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); }
.card.pad { padding: 20px; }
.list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.li { display: flex; align-items: center; gap: 12px; min-height: var(--row); padding: 8px 16px; border-bottom: 1px solid var(--line); font-size: 15px; width: 100%; color: inherit; text-decoration: none; }
.li:last-child { border-bottom: 0; }
button.li, a.li { appearance: none; background: transparent; border-inline: 0; border-top: 0; text-align: start; cursor: pointer; }
button.li:active, a.li:active { background: var(--sunk); }
.li .grow { flex: 1; min-width: 0; }
.li .grow .cap { display: block; }
.li .end { color: var(--muted); display: flex; align-items: center; gap: 6px; font-size: 14px; flex: none; }
.li.me { background: var(--primary-soft); }
.li .tm { font-weight: var(--w-strong); }
.chev { color: var(--muted); }

.mi { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.mi .ic { width: 20px; height: 20px; }
.mi.dawn { background: oklch(var(--mi-bg) 0.04 70); color: oklch(var(--mi-l) 0.13 60); }
.mi.day { background: oklch(var(--mi-bg) 0.045 95); color: oklch(var(--mi-l) 0.12 90); }
.mi.dusk { background: oklch(var(--mi-bg) 0.04 40); color: oklch(var(--mi-l) 0.14 35); }
.mi.night { background: oklch(var(--mi-bg) 0.035 275); color: oklch(var(--mi-l) 0.12 275); }
.mi.pine { background: var(--primary-soft); color: var(--primary-ink); }
.mi.rose { background: var(--no-soft); color: var(--no-ink); }
.mi.green { background: var(--ok-soft); color: var(--ok); }
.mi.grey { background: var(--sunk); color: var(--fg); }
.mi.wa { background: oklch(var(--mi-bg) 0.05 150); color: var(--wa); }

.hero { appearance: none; border: 0; text-align: start; cursor: pointer; width: 100%; background: var(--primary); color: var(--on-primary); border-radius: var(--r-l); padding: 16px; display: flex; gap: 14px; align-items: center; }
.hero .sico { width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center; flex: none; background: oklch(1 0 0 / 0.2); }
.hero .sico .ic { width: 30px; height: 30px; }
.hero .k { font-size: var(--t-cap); opacity: 0.88; }
.hero .d { font-weight: var(--w-strong); font-size: 16px; }
.hero .time { font-size: 26px; font-weight: var(--w-strong); line-height: 1.15; display: block; }
.hero .grow { min-width: 0; }
[dir="rtl"] .hero .time { text-align: right; }
.cta { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.cta .h { font-weight: var(--w-strong); font-size: 18px; line-height: 1.3; }
.cta .btn { margin-top: 12px; }
.slim { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-m); background: var(--ok-soft); min-height: 56px; }
.slim.rose { background: var(--no-soft); }
.slim.pine { background: var(--primary-soft); }
.slim .grow { flex: 1; min-width: 0; font-size: 15px; }
.slim .ic.lead { color: var(--ok); }
.slim.rose .ic.lead { color: var(--no-ink); }
.slim.pine .ic.lead { color: var(--primary-ink); }
button.slim { appearance: none; border: 0; text-align: start; cursor: pointer; width: 100%; color: inherit; }
.pill { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: var(--w-strong); padding: 4px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-ink); white-space: nowrap; }
.pill.no { background: var(--no-soft); color: var(--no-ink); }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.grey { background: var(--sunk); color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; flex: none; }

/* avatars */
.av { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 14px; font-weight: 700; color: var(--chip-ink); flex: none; overflow: hidden; position: relative; }
.av img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* who + pin */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { appearance: none; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-m); padding: 16px 6px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; font-size: 15px; transition: transform 140ms var(--spring); min-height: 96px; }
.tile:active { transform: scale(0.96); }
.tile .av { width: 44px; height: 44px; font-size: 17px; }
.pindots { display: flex; justify-content: center; gap: 16px; direction: ltr; margin: 20px 0 6px; }
.pindots i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--fg); display: block; transition: background 150ms, transform 300ms var(--spring); }
.pindots i.f { background: var(--fg); transform: scale(1.1); }
.pindots.shake { animation: shake 360ms; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; direction: ltr; }
.keys button { appearance: none; height: 60px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); font-size: 24px; font-variant-numeric: tabular-nums; cursor: pointer; transition: transform 100ms var(--spring); }
.keys button:active { transform: scale(0.94); background: var(--primary-soft); }
.keys .blank { visibility: hidden; }
.err { color: var(--no-ink); font-size: 14px; text-align: center; min-height: 21px; }
input.field, textarea.field, select.field { width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-m); padding: 12px 14px; min-height: 52px; font-size: 16px; }
input.field:focus, textarea.field:focus, select.field:focus { outline: 2px solid var(--primary); outline-offset: -1px; border-color: transparent; }
textarea.field { min-height: 88px; resize: vertical; }
label.lab { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); font-weight: 500; }

/* progress steps */
.steps { display: flex; gap: 6px; }
.steps i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); display: block; transition: background 300ms; }
.steps i.on { background: var(--primary); }

/* welcome */
.welcome { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding-top: 24px; }
.welcome .word { font-weight: var(--w-strong); font-size: 17px; letter-spacing: 0.01em; }
.feats { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 340px; margin: 12px auto 0; }
.feat { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: center; text-align: start; }
.feat .mi { width: 44px; height: 44px; border-radius: 14px; grid-row: span 2; }
.feat .mi .ic { width: 22px; height: 22px; }
.feat b { font-weight: var(--w-strong); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feat span { color: var(--muted); font-size: 14px; line-height: 1.4; }
.glow { position: absolute; inset: 0 0 auto; height: 320px; background: radial-gradient(110% 80% at 50% 0%, var(--primary-soft), transparent 70%); pointer-events: none; z-index: -1; }

/* week day picker (onboarding) */
.wkpick { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.wkpick button { appearance: none; border: 1.5px solid var(--line); background: var(--surface); border-radius: 14px; aspect-ratio: 1; min-height: 44px; font-weight: var(--w-strong); font-size: 15px; cursor: pointer; transition: background-color 120ms, color 120ms, border-color 120ms, transform 120ms var(--spring); display: grid; place-items: center; padding: 0; }
.wkpick button:active { transform: scale(0.92); }
.wkpick button.on { background: var(--no); color: var(--on-no); border-color: var(--no); }
.readback { min-height: 56px; }

.days { display: flex; flex-direction: column; gap: 8px; }
.dayrow { border-radius: var(--r-m); border: 1.5px solid var(--line); background: var(--surface); overflow: hidden; transition: border-color 150ms, background-color 150ms; }
.dayrow.on { border-color: var(--primary); background: var(--primary-soft); }
.dayrow.never { opacity: 0.55; }
.dayrow > button { appearance: none; border: 0; background: transparent; width: 100%; min-height: 52px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: var(--w-strong); font-size: 15px; cursor: pointer; color: inherit; text-align: start; }
.dayrow.on > button { color: var(--primary-ink); }
.dayrow > button .cap { font-weight: 400; }
.dayrow > button .ic.chev { transition: transform 280ms var(--spring); }
.dayrow.open > button .ic.chev { transform: rotate(180deg); }
.drop { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 280ms var(--spring); }
.drop.open { grid-template-rows: 1fr; }
.drop > div { overflow: hidden; }
.slots { display: flex; gap: 8px; padding: 0 12px 12px; }
.slot { appearance: none; flex: 1; min-width: 0; border-radius: 14px; background: var(--surface); border: 1.5px solid var(--line); padding: 10px 4px 8px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 13.5px; font-weight: var(--w-strong); cursor: pointer; transition: background-color 120ms, color 120ms, border-color 120ms, transform 120ms var(--spring); color: var(--fg); }
.slot:active { transform: scale(0.95); }
.slot small { font-weight: 400; color: var(--muted); font-size: 11.5px; }
.slot.on { border-color: var(--primary); background: var(--primary); color: var(--on-primary); }
.slot.on small { color: var(--on-primary); opacity: 0.85; }
.drop.open .slot { animation: fadein 260ms var(--spring) both; }
.drop.open .slot:nth-child(2) { animation-delay: 30ms; }
.drop.open .slot:nth-child(3) { animation-delay: 60ms; }

/* stepper */
.stepper { display: flex; align-items: center; justify-content: center; gap: 28px; direction: ltr; }
.sbtn { appearance: none; width: 64px; height: 64px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--line); display: grid; place-items: center; cursor: pointer; color: var(--fg); transition: transform 120ms var(--spring); }
.sbtn:active { transform: scale(0.92); background: var(--sunk); }
.sbtn[disabled] { opacity: 0.35; cursor: default; }
.sbtn .ic { width: 28px; height: 28px; }
.num { font-size: 88px; font-weight: var(--w-strong); line-height: 1; font-variant-numeric: tabular-nums; min-width: 96px; text-align: center; height: 96px; overflow: hidden; display: grid; place-items: center; }
.num span { display: block; }
.num span.up { animation: rollup 220ms var(--spring); }
.num span.down { animation: rolldown 220ms var(--spring); }
@keyframes rollup { from { transform: translateY(55%); opacity: 0; } }
@keyframes rolldown { from { transform: translateY(-55%); opacity: 0; } }

/* month calendar (days off) */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; text-align: center; font-variant-numeric: tabular-nums; }
.cal .wd { font-size: 12px; color: var(--muted); padding-bottom: 2px; font-weight: 500; }
.cal button, .cal .d { appearance: none; border: 0; min-width: 0; height: 44px; border-radius: 50%; background: transparent; font-size: 15px; cursor: pointer; position: relative; transition: background-color 120ms, color 120ms, transform 120ms var(--spring); display: grid; place-items: center; color: var(--fg); padding: 0; justify-self: center; width: 44px; max-width: 100%; }
.cal button:active { transform: scale(0.9); }
.cal .e { visibility: hidden; }
.cal .never { color: var(--muted); opacity: 0.45; cursor: default; text-decoration: line-through; }
.cal .x { background: var(--no); color: var(--on-no); font-weight: var(--w-strong); }
.cal .p { color: var(--no-ink); font-weight: var(--w-strong); box-shadow: inset 0 0 0 2px var(--no); }
.cal .me { background: var(--primary); color: var(--on-primary); font-weight: var(--w-strong); }
.cal .today { box-shadow: inset 0 0 0 1.5px var(--fg); }
.cal .me.today { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--primary); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); justify-content: center; }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }

/* done / sent */
.done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding-top: 10vh; }
.okmark { width: 96px; height: 96px; border-radius: 50%; background: var(--ok); color: oklch(1 0 0); display: grid; place-items: center; animation: pop 500ms var(--bouncy) both; margin-bottom: 8px; }
.okmark svg { width: 52px; height: 52px; stroke-width: 2.6; }
.okmark svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 380ms 160ms var(--spring) forwards; }
.okmark.soft { background: var(--primary-soft); color: var(--primary-ink); }
.okmark.soft svg path { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
[data-theme="dark"] .okmark { color: oklch(0.18 0.03 160); }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.tl { display: flex; flex-direction: column; text-align: start; padding: 16px 20px; }
.tl .s { display: flex; gap: 12px; align-items: flex-start; position: relative; padding-bottom: 16px; }
.tl .s:last-child { padding-bottom: 0; }
.tl .s:not(:last-child)::before { content: ""; position: absolute; inset-inline-start: 11px; top: 26px; bottom: 2px; width: 2px; background: var(--line); border-radius: 2px; }
.tl .s.done-s:not(:last-child)::before { background: var(--ok); }
.tl .dotc { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; background: var(--surface); }
.tl .done-s .dotc { background: var(--ok); border-color: var(--ok); color: var(--surface); }
.tl .dotc .ic { width: 14px; height: 14px; }
.tl b { font-weight: var(--w-strong); display: block; font-size: 15px; }
.tl .s span { color: var(--muted); font-size: 13px; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px 16px; font-size: 15px; text-align: start; width: 100%; line-height: 1.45; }

/* segmented tabs with sliding pill */
.seg { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--sunk); border-radius: 999px; padding: 4px; }
.seg button { appearance: none; border: 0; background: transparent; min-height: 40px; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--muted); position: relative; z-index: 1; transition: color 200ms; }
.seg button.on { color: var(--fg); font-weight: var(--w-strong); }
.seg .ind { position: absolute; top: 4px; bottom: 4px; inset-inline-start: 4px; border-radius: 999px; background: var(--raise); box-shadow: var(--shadow-s); transition: transform 300ms var(--spring); z-index: 0; }
[dir="rtl"] .seg .ind { transform: translateX(calc(var(--i, 0) * -100%)); }
[dir="ltr"] .seg .ind { transform: translateX(calc(var(--i, 0) * 100%)); }
.pane { animation: fadein 220ms ease-out both; }
.navrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.navrow .lbl { font-weight: var(--w-strong); font-size: 16px; text-align: center; flex: 1; }

/* week chart (trainer) */
.wg { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.wg .hd { text-align: center; color: var(--muted); font-size: 11.5px; font-weight: 500; line-height: 1.2; padding-bottom: 4px; }
.wg .hd b { display: block; color: var(--fg); font-size: 14px; font-weight: var(--w-strong); }
.wg .hd.today b { color: var(--primary-ink); }
.wg .rl { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; margin-top: 8px; font-weight: 500; }
.wg .rl .ic { width: 14px; height: 14px; }
.wg .c { height: 44px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: var(--w-strong); color: var(--chip-ink); font-size: 11.5px; overflow: hidden; white-space: nowrap; min-width: 0; padding: 0 2px; opacity: 0.72; line-height: 1.15; }
.wg .c small { font-weight: 400; font-size: 9.5px; opacity: 0.8; }
.wg .c.mine { opacity: 1; box-shadow: inset 0 0 0 2px var(--fg); }
.wg .c.e { background: transparent; opacity: 1; }
.wg .c.gap { background: var(--no-soft); color: var(--no-ink); opacity: 1; }
.wg .c.avc { gap: 2px; }
.wg .c .av { width: 20px; height: 20px; font-size: 10px; }

/* manager big grid */
.mgrid-wrap { overflow-x: auto; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); }
.mg { display: grid; grid-template-columns: 60px repeat(7, minmax(52px, 1fr)); gap: 4px; min-width: 420px; }
.mg .hd { text-align: center; color: var(--muted); font-size: 12px; line-height: 1.2; padding: 4px 0; }
.mg .hd b { display: block; color: var(--fg); font-size: 15px; font-weight: var(--w-strong); }
.mg .hd.today b { color: var(--primary-ink); }
.mg .rl { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 11px; line-height: 1.15; }
.mg .rl .ic { width: 14px; height: 14px; }
.mg .c { appearance: none; border: 0; min-height: 48px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: var(--w-strong); color: var(--chip-ink); font-size: 12.5px; overflow: hidden; white-space: nowrap; min-width: 0; padding: 2px; position: relative; line-height: 1.15; cursor: default; }
.mg .c small { font-weight: 400; font-size: 10px; opacity: 0.8; }
.mg button.c { cursor: pointer; transition: transform 120ms var(--spring); }
.mg button.c:active { transform: scale(0.95); }
.mg .c.e { background: transparent; }
.mg .c.gap { background: var(--no-soft); color: var(--no-ink); box-shadow: inset 0 0 0 1.5px var(--no); }
.mg .c.chg::after { content: ""; position: absolute; top: 5px; inset-inline-end: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--chip-ink); opacity: 0.55; }
.mg .c.hl { box-shadow: inset 0 0 0 2px var(--fg); }
.mg.dimmed .c:not(.hl):not(.e) { opacity: 0.35; }
.wkblock { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.mg .c.in { animation: cellin 420ms var(--spring) both; }
@keyframes cellin { from { opacity: 0; transform: scale(0.6); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.mg .c.ghost { background: var(--sunk) !important; color: transparent !important; box-shadow: none !important; }
@media (min-width: 900px) { .mg { grid-template-columns: 80px repeat(7, minmax(80px, 1fr)); gap: 6px; } .mg .c { min-height: 54px; font-size: 14px; } .mg .c small { font-size: 11px; } .mgrid-wrap { margin-inline: 0; padding-inline: 0; } }

/* iOS 26-style floating glass tab bar */
#tabbar { position: fixed; z-index: 15; left: 50%; transform: translateX(-50%); bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); width: min(calc(100% - 40px), 400px); height: var(--tabh);
  border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 0 0 0.5px var(--glass-line), 0 8px 32px oklch(0.2 0.03 172 / 0.16), 0 1px 2px oklch(0.2 0.03 172 / 0.08); display: none; padding: 4px; }
body.tabs-on #tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
#tabbar button { appearance: none; border: 0; background: transparent; border-radius: 999px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; color: var(--fg); font-size: 10.5px; font-weight: 600; position: relative; z-index: 1; transition: color 200ms, transform 160ms var(--spring); min-width: 0; letter-spacing: 0.01em; }
#tabbar button .ic { width: 24px; height: 24px; }
#tabbar button span.l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; padding: 0 4px; }
#tabbar button.on { color: var(--primary-ink); }
#tabbar button:active { transform: scale(0.94); }
#tabbar .ind { position: absolute; top: 4px; bottom: 4px; inset-inline-start: 4px; border-radius: 999px; background: var(--glass-sel); transition: transform 380ms var(--bouncy); z-index: 0; }
[dir="rtl"] #tabbar .ind { transform: translateX(calc(var(--i, 0) * -100%)); }
[dir="ltr"] #tabbar .ind { transform: translateX(calc(var(--i, 0) * 100%)); }
@media (min-width: 900px) {
  body.mgr.tabs-on #tabbar { left: max(24px, env(safe-area-inset-left, 0px)); transform: none; top: 24px; bottom: auto; width: 88px; height: auto; grid-auto-flow: row; grid-auto-rows: 72px; border-radius: 28px; padding: 6px; }
  [dir="rtl"] body.mgr.tabs-on #tabbar, body.mgr.tabs-on[dir="rtl"] #tabbar { left: auto; right: max(24px, env(safe-area-inset-right, 0px)); }
  body.mgr.tabs-on #tabbar .ind { top: 6px; bottom: auto; left: 6px; right: 6px; inset-inline-start: 6px; width: auto !important; height: 72px; border-radius: 22px; transform: translateY(calc(var(--i, 0) * 100%)) !important; }
  body.mgr.tabs-on #tabbar button { font-size: 11.5px; }
  body.mgr.tabs-on #app.wide { padding-inline-start: 128px; max-width: 1300px; }
  body.mgr.tabs-on .screen { padding-bottom: 40px; padding-top: 28px; }
  body.mgr.tabs-on .bottom { bottom: 16px; }
}

/* sheet + dialog + toast */
.scrim { position: fixed; inset: 0; background: var(--scrim); z-index: 40; animation: fade 220ms both; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: fixed; inset: auto 0 0 0; z-index: 41; background: var(--surface); border-radius: var(--r-sheet) var(--r-sheet) 0 0; max-width: 520px; margin: 0 auto; max-height: 86dvh; overflow: auto;
  padding: 10px 20px calc(env(safe-area-inset-bottom, 0px) + 20px); box-shadow: var(--shadow); animation: sheetin 420ms var(--spring) both; display: flex; flex-direction: column; gap: 8px; }
@keyframes sheetin { from { transform: translateY(100%); } }
.grab { width: 40px; height: 5px; border-radius: 5px; background: var(--line); margin: 0 auto 8px; flex: none; }
.dialog { text-align: center; align-items: center; gap: 8px; padding-top: 24px; }
.dialog .mi { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 8px; }
.dialog .mi .ic { width: 30px; height: 30px; }
.dialog h2 { font-size: 20px; }
.dialog .sub { max-width: 34ch; }
.dialog .acts { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: 16px; }
@media (min-width: 700px) {
  .sheet.dialog { inset: 50% auto auto 50%; translate: -50% -50%; border-radius: 28px; width: min(420px, calc(100% - 48px)); max-height: 80dvh; animation: dialogin 320ms var(--spring) both; padding: 28px 24px 24px; }
  .sheet .grab { display: none; }
  .sheet:not(.dialog) { top: 50%; bottom: auto; left: 50%; right: auto; margin: 0; translate: -50% -50%; max-height: calc(100dvh - 48px); border-radius: 28px; width: min(480px, calc(100% - 48px)); animation: dialogin 320ms var(--spring) both; padding-bottom: 24px; }
  @keyframes dialogin { from { opacity: 0; scale: 0.94; } to { opacity: 1; scale: 1; } }
}
.who { appearance: none; border: 0; border-bottom: 1px solid var(--line); background: transparent; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; width: 100%; text-align: start; cursor: pointer; padding: 0; font-size: 15px; color: inherit; }
.who:last-of-type { border-bottom: 0; }
.who.dim { opacity: 0.5; cursor: default; }
.who .l { display: flex; align-items: center; gap: 12px; min-width: 0; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 96px); transform: translateX(-50%); background: var(--fg); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-size: 15px; display: flex; gap: 8px; align-items: center; box-shadow: var(--shadow); animation: toast 420ms var(--spring) both; max-width: calc(100% - 32px); }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 16px); } }

/* manager */
.progress { height: 8px; border-radius: 8px; background: var(--sunk); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--primary); border-radius: 8px; transition: width 700ms var(--spring); }
.stagebar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.stagebar div { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.stagebar div::before { content: ""; height: 4px; border-radius: 4px; background: var(--line); }
.stagebar div.done-s::before { background: var(--ok); }
.stagebar div.cur { color: var(--fg); font-weight: var(--w-strong); }
.stagebar div.cur::before { background: var(--primary); }
.ring { --p: 0; width: 88px; height: 88px; border-radius: 50%; background: conic-gradient(var(--primary) calc(var(--p) * 1%), var(--sunk) 0); display: grid; place-items: center; flex: none; }
.ring > div { width: 70px; height: 70px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-weight: var(--w-strong); font-size: 20px; font-variant-numeric: tabular-nums; }
.ring small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; line-height: 1; }
.avstack { display: flex; flex-wrap: wrap; gap: 6px; }
.lgrid { display: grid; gap: 16px; }
@media (min-width: 900px) { .lgrid.two { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; } .lgrid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.statgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.stat { background: var(--sunk); border-radius: var(--r-m); padding: 12px 14px; }
.stat b { display: block; font-size: 22px; font-weight: var(--w-strong); font-variant-numeric: tabular-nums; line-height: 1.2; }
.stat span { font-size: 12.5px; color: var(--muted); }
.fair { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; }
.fair .bar { height: 10px; border-radius: 10px; background: var(--sunk); position: relative; overflow: hidden; }
.fair .bar i { position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: 10px; background: var(--primary); width: 0; transition: width 800ms var(--spring); }
.fair .bar b { position: absolute; inset-block: -2px; width: 2px; background: var(--fg); opacity: 0.5; }
.wizard { max-width: 640px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: var(--gap); flex: 1; }
.buildhead { display: flex; align-items: center; gap: 12px; }
.counter { font-size: 40px; font-weight: var(--w-strong); font-variant-numeric: tabular-nums; line-height: 1; }
.sweep { position: relative; overflow: hidden; }
.sweep::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, oklch(1 0 0 / 0.35), transparent); transform: translateX(-100%); animation: sweep 1.2s ease-in-out infinite; pointer-events: none; }
@keyframes sweep { to { transform: translateX(100%); } }
.photo { width: 128px; height: 128px; border-radius: 50%; margin: 8px auto 0; display: grid; place-items: center; background: var(--sunk); border: 2px dashed var(--line); color: var(--muted); position: relative; cursor: pointer; appearance: none; padding: 0; overflow: visible; }
.photo .ic { width: 40px; height: 40px; }
.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.photo.has { border: 0; }
.photo .plus { position: absolute; bottom: 2px; inset-inline-end: 2px; width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; border: 3px solid var(--bg); }
.photo .plus .ic { width: 18px; height: 18px; }
.pc { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 8px 0 4px; }
.pc .av { width: 88px; height: 88px; font-size: 32px; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.skeleton { height: 120px; border-radius: var(--r-l); background: var(--sunk); animation: pulse 1.2s infinite alternate; }
@keyframes pulse { to { opacity: 0.5; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 150ms !important; } .screen.enter { animation: fade 150ms both !important; } }

/* ---- round 2 fixes: sticky bottom covers to the edge, grids fit phones ---- */
.bottom { bottom: 0; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); background: linear-gradient(to bottom, color-mix(in oklab, var(--bg) 0%, transparent), var(--bg) 20px); }
body.tabs-on .bottom { bottom: 0; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + var(--tabh) + 28px); }
.screen:has(.bottom) { padding-bottom: 0 !important; }
.bottom.inline { flex-direction: row; align-items: center; gap: 8px; }
.bottom.inline .btn { flex: 1; }
.bottom.inline .btn.ghost { flex: 0 0 auto; width: auto; padding-inline: 16px; }
.ring > div > span { direction: ltr; unicode-bidi: isolate; }
.mgrid-wrap { overflow-x: visible; }
.mg { grid-template-columns: 26px repeat(7, minmax(0, 1fr)); gap: 3px; min-width: 0; }
.mg .rl { justify-content: center; }
.mg .rl span { display: none; }
.mg .rl .ic { width: 16px; height: 16px; }
.mg .c { font-size: 11.5px; min-height: 46px; border-radius: 9px; padding: 2px 1px; }
.mg .c > span, .mg .c { text-overflow: ellipsis; }
.mg .c small { font-size: 9.5px; letter-spacing: -0.01em; }
.mg .hd b { font-size: 14px; }
@media (min-width: 600px) { .mg { grid-template-columns: 64px repeat(7, minmax(0, 1fr)); gap: 4px; } .mg .rl { justify-content: flex-start; } .mg .rl span { display: inline; } .mg .c { font-size: 12.5px; min-height: 50px; } .mg .c small { font-size: 10px; } }
@media (min-width: 900px) { .mg { grid-template-columns: 84px repeat(7, minmax(0, 1fr)); gap: 6px; } .mg .c { min-height: 56px; font-size: 14px; } .mg .c small { font-size: 11px; } body.mgr.tabs-on .bottom { bottom: 0; padding-bottom: 20px; } }
.mg .c .nm { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html, body { overflow-x: clip; }
.row2 > *, .lgrid > *, .stack > * { min-width: 0; }
input.field[type="date"] { min-width: 0; width: 100%; }
.ring small { display: inline; font-size: 12px; }
.buildhead h1.big { font-size: 24px; line-height: 1.2; text-wrap: balance; }

/* ---- round 3: sheets close with motion, swipe-down, no pull-to-refresh behind ---- */
html.sheet-open, html.sheet-open body { overscroll-behavior-y: none; }
html.sheet-open { overflow: hidden; }
.sheet { overscroll-behavior: contain; touch-action: pan-y; will-change: transform; }
.sheet .grab { padding: 0; cursor: grab; position: relative; }
.sheet .grab::before { content: ""; position: absolute; inset: -14px -40px; }
.sheet.swap { animation: fadein 160ms ease-out both; }
.sheet.out { animation: sheetout 240ms cubic-bezier(.3, 0, .8, .15) both; pointer-events: none; }
.sheet.out.dragged { animation: none; }
.scrim.out { animation: fadeout 240ms both; pointer-events: none; }
@keyframes sheetout { to { transform: translateY(105%); } }
@keyframes fadeout { to { opacity: 0; } }
@media (min-width: 700px) {
  .sheet.out { animation: dialogout 180ms ease-in both; }
  @keyframes dialogout { to { opacity: 0; scale: 0.96; } }
}

/* ---- splash: "!" bounces in, C-O-N push it left in quick succession, logo rises, word fades in ---- */
#splash { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center; transition: opacity 320ms ease, visibility 0s 320ms; }
#splash.done { opacity: 0; visibility: hidden; pointer-events: none; }
#splash .sp-in { display: flex; flex-direction: column; align-items: center; gap: 14px; animation: sp-rise 520ms 820ms var(--spring) both; }
#splash .sp-logo { direction: ltr; display: flex; align-items: center; background: var(--fg); color: var(--bg); border-radius: 6px; font: 500 52px/1 var(--logo); letter-spacing: 0.16em; padding: 18px 12px 18px 22px; animation: sp-pop 520ms var(--bouncy) both; }
#splash .sp-c { display: inline-block; overflow: hidden; max-width: 0; opacity: 0; transform: translateX(14px); animation: sp-letter 300ms var(--spring) both; }
#splash .sp-c.b { max-width: none; opacity: 1; transform: none; animation: none; }
#splash .sp-c:nth-child(2) { animation-delay: 420ms; } #splash .sp-c:nth-child(3) { animation-delay: 500ms; } #splash .sp-c:nth-child(4) { animation-delay: 580ms; }
#splash .sp-word { font-weight: 700; font-size: 22px; letter-spacing: 0.01em; color: var(--fg); opacity: 0; animation: sp-word 420ms 900ms var(--spring) both; }
@keyframes sp-pop { 0% { transform: translateY(-40px) scale(0.4); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes sp-letter { to { max-width: 1.2em; opacity: 1; transform: none; } }
@keyframes sp-rise { from { transform: translateY(26px); } to { transform: none; } }
@keyframes sp-word { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #splash .sp-in, #splash .sp-logo, #splash .sp-c, #splash .sp-word { animation: none !important; max-width: none; opacity: 1; transform: none; } }

/* ---- round 3: hero gradients + pager ---- */
.heros-wrap { display: flex; flex-direction: column; gap: 8px; }
.heros { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scroll-padding-inline: var(--pad); }
.heros::-webkit-scrollbar { display: none; }
.heros .hero { flex: 0 0 100%; scroll-snap-align: start; position: relative; overflow: hidden; isolation: isolate; }
.hero[class*="g-"] { background: linear-gradient(120deg, var(--g1), var(--g2), var(--g3), var(--g1)); background-size: 300% 300%; animation: heroflow 14s ease-in-out infinite alternate; box-shadow: 0 10px 30px -12px var(--g2); }
.hero[class*="g-"]::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 85% 0%, oklch(1 0 0 / 0.22), transparent 60%); }
[dir="rtl"] .hero[class*="g-"]::after { background: radial-gradient(120% 90% at 15% 0%, oklch(1 0 0 / 0.22), transparent 60%); }
.hero.g-dawn { --g1: oklch(0.5 0.1 172); --g2: oklch(0.58 0.12 208); --g3: oklch(0.66 0.11 238); }
.hero.g-day { --g1: oklch(0.5 0.1 168); --g2: oklch(0.57 0.13 152); --g3: oklch(0.64 0.14 132); }
.hero.g-dusk { --g1: oklch(0.47 0.1 205); --g2: oklch(0.5 0.13 300); --g3: oklch(0.58 0.15 12); }
.hero.g-night { --g1: oklch(0.38 0.08 200); --g2: oklch(0.36 0.1 262); --g3: oklch(0.33 0.12 292); }
@supports (background: linear-gradient(in oklch, red, blue)) { .hero[class*="g-"] { background-image: linear-gradient(in oklch 120deg, var(--g1), var(--g2), var(--g3), var(--g1)); } }
.hero[class*="g-"] { color: oklch(0.99 0 0); }
.hero .k b { font-weight: var(--w-strong); }
.hero .sico .ic { animation: floaty 4s ease-in-out infinite; }
@keyframes heroflow { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes floaty { 50% { transform: translateY(-3px); } }
.dots { display: flex; justify-content: center; gap: 6px; }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: width 260ms var(--spring), background 200ms; }
.dots i.on { width: 18px; background: var(--primary); }
.cal-g, .cal-o { font-weight: 700; font-size: 16px; }
@media (prefers-reduced-motion: reduce) { .hero[class*="g-"], .hero .sico .ic { animation: none; } }
.nowcard { border-radius: var(--r-l); }
.wholist { display: flex; flex-direction: column; }
.who .wn { display: block; font-weight: var(--w-strong); }
.who .grow { display: flex; flex-direction: column; gap: 4px; }
.meter { display: block; height: 6px; border-radius: 3px; background: var(--sunk); overflow: hidden; max-width: 220px; }
.meter i { display: block; height: 100%; border-radius: 3px; background: var(--primary); }
.meter i.over { background: var(--no); }
.who .l { flex: 1; } .who { padding-block: 8px; }

/* ---- round 3: Ishay dashboard (mobile stack → desktop bento) ---- */
.mtop { min-height: 56px; }
.dash { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.desk-only { display: none !important; }
.dash .seg.sm button { min-height: 36px; }
.li.past { opacity: 0.45; }
.li.past .tm { color: var(--muted); }
button.li { appearance: none; border: 0; width: 100%; text-align: start; font: inherit; color: inherit; background: transparent; cursor: pointer; }
.pill.live { animation: livepulse 2s ease-in-out infinite; }
@keyframes livepulse { 50% { box-shadow: 0 0 0 4px color-mix(in oklab, var(--ok) 25%, transparent); } }
.cardhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cardhead .link { min-height: 0; padding: 0; display: inline-flex; align-items: center; gap: 4px; }
.quiet { display: flex; align-items: center; gap: 12px; }
.quiet .mi { width: 36px; height: 36px; flex: none; }
details.early summary { cursor: pointer; color: var(--primary-ink); font-weight: var(--w-strong); font-size: 15px; list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
details.early summary::-webkit-details-marker { display: none; }
details.early summary::after { content: "›"; transition: transform 240ms var(--spring); font-size: 20px; line-height: 1; }
[dir="rtl"] details.early summary::after { content: "‹"; }
details.early[open] summary::after { transform: rotate(90deg); }
[dir="rtl"] details.early[open] summary::after { transform: rotate(-90deg); }
.swapin { animation: fadein 220ms var(--spring) both; }
.statrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.statrow .stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 16px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.statrow .stat .mi { grid-row: span 2; width: 40px; height: 40px; }
.statrow .stat b { font-size: 22px; }
@media (min-width: 1000px) {
  .desk-only { display: block !important; }
  .statrow.desk-only { display: grid !important; }
  .dash { grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); grid-template-areas: "hi hi" "stats stats" "main side"; gap: 20px 24px; align-items: start; }
  .dash-hi { grid-area: hi; } .statrow { grid-area: stats; } .dash-main { grid-area: main; } .dash-side { grid-area: side; position: sticky; top: 24px; }
  .dash .card.pad { padding: 24px; }
  .dash .round h2 { font-size: 22px; }
  .dash .mg .c { min-height: 52px; }
}
.hlrow { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hlrow > .cap { flex: none; }
.hlpills { display: flex; gap: 6px; overflow-x: auto; padding-block: 2px; scrollbar-width: none; mask-image: linear-gradient(to var(--endside, right), #000 85%, transparent); }
[dir="rtl"] .hlpills { --endside: left; }
.hlpills::-webkit-scrollbar { display: none; }
.hlpills .pill { border: 0; cursor: pointer; padding: 4px 10px 4px 4px; gap: 6px; flex: none; }
[dir="rtl"] .hlpills .pill { padding: 4px 4px 4px 10px; }
/* Round 3: onboarding phone + tappable team cells */
.phonebox{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.phonebox .lh{display:flex;align-items:center;gap:8px;font-weight:600;font-size:15px;color:var(--ink)}
.phonebox .wa-ic{width:22px;height:22px;display:inline-grid;place-items:center}
.phonebox .wa-ic svg{width:20px;height:20px}
.phonebox .field{text-align:left;font-size:18px;letter-spacing:.02em}
.wg button.c{border:0;font:inherit;cursor:pointer;transition:transform .18s var(--spring,ease)}
.wg button.c:active{transform:scale(.95)}
.li.past{opacity:.5}
.wg .c.past{opacity:.3;filter:saturate(.2)}
.wg .c.past.mine{opacity:.55}
/* Round 4: team week as day list (When I Work / Sling pattern) */
.wdays { display: flex; flex-direction: column; gap: 18px; }
.wday { display: flex; flex-direction: column; gap: 8px; scroll-margin-top: 16px; }
.wdh { display: flex; align-items: center; gap: 8px; font-size: 15px; padding-inline: 4px; }
.wdh .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.wday.gone .wdh { color: var(--muted); }
.wday.gone .list { opacity: .55; }
.wday.gone .li.past { opacity: 1; }
.li.me { box-shadow: inset 3px 0 0 var(--primary); }
[dir="rtl"] .li.me { box-shadow: inset -3px 0 0 var(--primary); }
.wdays:not(.showpast) .wday.gone { display: none; }
.wdays .earlier { align-self: center; display: inline-flex; gap: 6px; align-items: center; color: var(--muted); }
/* Round 5: trainer home "statement" header (direction A) */
.hh { margin: calc(-8px - env(safe-area-inset-top, 0px)) calc(-1 * var(--pad)) 0; padding: calc(env(safe-area-inset-top, 0px) + 16px) var(--pad) 52px; color: #fff; display: flex; flex-direction: column; gap: 20px; background-size: 160% 160%; animation: hhflow 18s ease-in-out infinite alternate; }
.hh.g-dawn { background-image: linear-gradient(165deg, #B8601B 0%, #B0422B 52%, #73203A 100%); }
.hh.g-day { background-image: linear-gradient(165deg, #0F7F68 0%, #0B6A57 50%, #0A4446 100%); }
.hh.g-dusk { background-image: linear-gradient(165deg, #B24A2E 0%, #8D3A69 55%, #4A2A6E 100%); }
.hh.g-night { background-image: linear-gradient(165deg, #34488A 0%, #2B2B66 55%, #19173A 100%); }
@keyframes hhflow { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
@media (prefers-reduced-motion: reduce) { .hh { animation: none; } }
.hh-top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.hh .brand { color: #fff; }
.hh .lg { background: #fff; color: #2a1410; }
.hh-main { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 10px; }
.hh-main:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 8px; }
.hh .k { font-size: 13px; font-weight: 500; letter-spacing: .03em; opacity: .88; }
.hh-h { font-size: 34px; line-height: 1.16; font-weight: 700; text-wrap: balance; }
.hh-h .t { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.hh-sub { font-size: 15px; opacity: .9; }
.hh-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.hh-pills span { background: rgba(255,255,255,.18); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 500; }
.hh-with { display: none; align-items: center; gap: 10px; font-size: 13px; opacity: .95; }
.hh-with.on { display: flex; animation: fadein 300ms ease-out both; }
.hh-with .avs { display: flex; }
.hh-with .avs > * { box-shadow: 0 0 0 2px rgba(0,0,0,.25); }
.hh-with .avs > * + * { margin-inline-start: -8px; }
.hh-acts { display: flex; gap: 10px; }
.hh-acts button { flex: 1 1 0; min-width: 0; height: 46px; border-radius: 999px; border: 0; font: inherit; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; transition: transform 160ms var(--spring); white-space: nowrap; }
.hh-acts button:active { transform: scale(.96); }
.hh-acts .ic { width: 18px; height: 18px; }
.hh-acts .hb1 { background: #fff; color: #2a1410; font-weight: 600; }
.hh-acts .hb2 { background: rgba(255,255,255,.16); color: #fff; font-weight: 500; }
.hb { margin: calc(-28px - var(--gap)) calc(-1 * var(--pad)) 0; padding: 22px var(--pad) 0; background: var(--bg); border-radius: 28px 28px 0 0; position: relative; display: flex; flex-direction: column; gap: var(--gap); }
.task { --tk: #B4541A; background: color-mix(in oklch, var(--surface), #F2A65A 12%); border: 1px solid color-mix(in oklch, var(--line), #F2A65A 35%); border-radius: 24px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.task-top { display: flex; align-items: center; gap: 8px; }
.task .chip { background: var(--tk); color: #fff; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; }
.task h2 { margin: 0; font-size: 21px; }
.task .btn { margin-top: 6px; }
[data-theme="dark"] .task { --tk: #F2B36B; } [data-theme="dark"] .task .chip { color: #3A1F05; }
.li.up .dnum { width: 40px; display: flex; flex-direction: column; align-items: center; line-height: 1.1; flex: none; }
.li.up .dnum span { font-size: 12px; color: var(--muted); }
.li.up .dnum b { font-size: 19px; }

/* ===== Round 5 ===== */
.mob-only { display: block; }
@media (min-width: 1000px) { .mob-only { display: none !important; } }
/* trainer shifts calendar */
.mstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: 8px; }
.mstats > div { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mstats b { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.mstats b small { font-size: 15px; color: var(--muted); font-weight: 500; }
.mstats b.pc { color: var(--primary-ink); }
.mstats span { font-size: 12px; color: var(--muted); }
.cal.big { gap: 4px; }
.cal.big button { width: 100%; height: 54px; border-radius: 16px; display: flex; flex-direction: column; gap: 2px; justify-content: center; }
.cal.big button b { font-size: 16px; font-weight: 500; }
.cal.big button.me b, .cal.big button.today b { font-weight: 700; }
.cal.big button small { font-size: 10px; font-weight: 600; line-height: 1; height: 10px; font-variant-numeric: tabular-nums; }
.cal.big button.today { box-shadow: inset 0 0 0 2px var(--fg); }
.cal.big button.me.today { box-shadow: inset 0 0 0 2px var(--on-primary), 0 0 0 2px var(--primary); }
.cal.big button.gone { opacity: 0.38; filter: grayscale(1) blur(0.4px); }
.cal.big button.me.gone { background: var(--sunk); color: var(--muted); }
.sheetacts { display: flex; gap: 10px; }
.sheetacts .btn { flex: 1; }
.btn.warm { background: oklch(0.80 0.12 62); color: oklch(0.25 0.06 50); }
.btn.sq { flex: 0 0 var(--btn) !important; width: var(--btn); padding: 0; }
/* tick drawn after build */
.tickdraw { width: 64px; height: 64px; flex: none; animation: pop 600ms var(--bouncy) both; }
.tickdraw .tc { fill: var(--primary-soft); stroke: var(--primary); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 183; stroke-dashoffset: 183; transform: rotate(-90deg); transform-origin: 32px 32px; animation: tdraw 600ms cubic-bezier(.65,0,.35,1) forwards; }
.tickdraw .tp { fill: none; stroke: var(--primary); stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: tdraw 420ms 480ms cubic-bezier(.65,0,.35,1) forwards; }
@keyframes tdraw { to { stroke-dashoffset: 0; } }
.progress.gone { opacity: 0; height: 0; margin: 0; transition: opacity 300ms, height 300ms 200ms; }
/* Ishay hub home */
.mdash { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.mhub { margin-inline: calc(-1 * var(--pad)); margin-top: calc(-1 * (env(safe-area-inset-top, 0px) + 8px)); padding: calc(env(safe-area-inset-top, 0px) + 18px) 20px 20px; border-radius: 0 0 32px 32px; color: #fff; display: flex; flex-direction: column; gap: 16px;
  background: radial-gradient(120% 70% at 15% 30%, oklch(0.74 0.13 50 / 0.45), transparent 60%), linear-gradient(180deg, oklch(0.36 0.12 262), oklch(0.50 0.13 258)); }
.mhub .brand { color: #fff; } .mhub .brand .lg { background: #fff; color: oklch(0.36 0.12 262); }
.mhub .cap { color: oklch(1 0 0 / 0.82); }
.mh-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mh-open { display: flex; align-items: center; gap: 14px; }
.mh-open .av { border-radius: 22px; box-shadow: 0 8px 24px oklch(0 0 0 / 0.25); }
.mh-k { display: block; font-size: 14px; opacity: 0.85; }
.mh-n { display: block; font-size: 28px; line-height: 1.15; font-weight: 700; }
.mh-list { background: oklch(0.2 0.08 262 / 0.32); border-radius: 22px; padding: 4px; display: flex; flex-direction: column; }
.mh-row { appearance: none; border: 0; background: transparent; color: #fff; font: inherit; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 10px; border-radius: 16px; cursor: pointer; text-align: start; }
.mh-row:hover { background: oklch(1 0 0 / 0.08); }
.mh-row > .t:first-child { width: 44px; font-size: 13px; opacity: 0.85; }
.mh-row b { font-weight: 500; font-size: 15px; }
.mh-row .cap { color: oklch(1 0 0 / 0.8) !important; }
.btn.mh-wa { background: #fff; color: oklch(0.36 0.12 262); }
.btn.mh-wa svg { color: var(--wa); }
.att { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); width: 100%; text-align: start; color: inherit; font: inherit; }
button.att { cursor: pointer; appearance: none; }
.att .grow { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.att.hot { background: var(--no-soft); border-color: transparent; }
.att .btn.hotb { background: var(--no); color: var(--on-no); }
.att-b { display: flex; gap: 6px; flex: none; }
.att-b.wide { flex-wrap: wrap; } .att-b.wide .btn { flex: 1 1 160px; }
.gapic { width: 40px; height: 40px; border-radius: 14px; border: 2px dashed var(--warn); color: var(--warn); display: grid; place-items: center; font-weight: 700; flex: none; }
.quietline { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 10px 14px; }
.quietline summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; font-size: 14px; }
.quietline summary::-webkit-details-marker { display: none; }
.nowin { display: flex; flex-direction: column; gap: 10px; }
.livedot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-inline-end: 6px; vertical-align: middle; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.35; } }
.nowppl { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.np { display: flex; align-items: center; gap: 8px; } .np > span { display: flex; flex-direction: column; line-height: 1.2; }
@media (min-width: 1000px) {
  .mdash { grid-template-columns: minmax(0, 1fr) 340px; gap: 20px 24px; align-items: start; }
  .mhub { grid-column: 1 / -1; margin: 0; padding: 24px 28px; border-radius: 30px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "top top top" "open list wa"; align-items: center; column-gap: 28px; }
  .mh-top { grid-area: top; } .mh-open { grid-area: open; } .mh-list { grid-area: list; flex-direction: row; flex-wrap: wrap; gap: 6px; background: none; padding: 0; }
  .mh-row { background: oklch(0.2 0.08 262 / 0.32); flex: 1 1 150px; }
  .btn.mh-wa { grid-area: wa; width: auto; padding-inline: 20px; }
  .md-side { position: sticky; top: 24px; }
}
/* week-at-a-time schedule */
.schedhead { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.schedhead .pill { flex: none; }
.hlbtn span { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.monthbtn, .hlbtn { appearance: none; font: inherit; color: var(--fg); background: var(--surface); border: 1px solid var(--line); min-height: 44px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.monthbtn { font-size: 18px; white-space: nowrap; font-weight: 700; padding: 0 12px 0 14px; }
.hlbtn { font-size: 14px; font-weight: 600; padding: 0 12px; }
.hlbtn.on { border-color: var(--primary); color: var(--primary-ink); background: var(--primary-soft); padding-inline-start: 4px; }
.pill.warmp { background: var(--warn-soft); color: oklch(0.45 0.10 65); }
[data-theme="dark"] .pill.warmp { color: var(--warn); }
.wknav .lbl { display: flex; flex-direction: column; gap: 1px; }
.wk { display: flex; flex-direction: column; gap: 6px; }
.wrow { display: flex; gap: 10px; padding: 10px 8px; border-radius: 20px; }
.wrow.out { display: none; }
.wrow.today { background: var(--primary-soft); }
.wrow.gone { opacity: 0.5; }
.wrd { width: 40px; flex: none; display: flex; flex-direction: column; align-items: center; padding-top: 4px; line-height: 1.15; }
.wrd span { font-size: 12px; color: var(--muted); } .wrd b { font-size: 20px; }
.wchips { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; align-content: start; }
.wc { appearance: none; border: 0; font: inherit; min-width: 0; min-height: 48px; border-radius: 14px; padding: 6px 10px; display: flex; flex-direction: column; justify-content: center; text-align: start; color: var(--chip-ink); cursor: pointer; transition: opacity 200ms, transform 120ms var(--spring); position: relative; }
.wc:active { transform: scale(0.96); }
.wc b { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wc small { font-size: 11.5px; opacity: 0.85; }
.wc.gap { background: transparent; color: var(--no-ink); box-shadow: inset 0 0 0 1.5px var(--no); border: 0; }
.wc.chg::after { content: ""; position: absolute; top: 7px; inset-inline-end: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--chip-ink); opacity: 0.5; }
.wk.dimmed .wc:not(.hl):not(.gap) { opacity: 0.22; }
.wc.hl { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--fg); }
.wk.inr { animation: wkin 380ms var(--spring) both; --dx: -28px; } .wk.inl { animation: wkin 380ms var(--spring) both; --dx: 28px; } .wk.fadein { animation: wkin 300ms ease both; --dx: 0px; }
[dir="ltr"] .wk.inr { --dx: 28px; } [dir="ltr"] .wk.inl { --dx: -28px; }
@keyframes wkin { from { opacity: 0; transform: translateX(var(--dx)); } }
.avgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 6px; margin-top: 12px; }
.avgrid button { appearance: none; border: 0; background: transparent; color: var(--fg); font: inherit; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; padding: 4px 0; border-radius: 16px; }
.avgrid button:hover { background: var(--sunk); }
.avgrid b { font-size: 13px; font-weight: 600; } .avgrid .cap { font-size: 11px; }
@media (min-width: 1000px) {
  #app.wide .wk { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
  #app.wide .wrow, #app.wide .wrow.out { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); padding: 12px 8px; min-height: 360px; }
  #app.wide .wrow.out { visibility: hidden; }
  #app.wide .wrow.today { background: var(--primary-soft); border-color: var(--primary); }
  #app.wide .wrd { width: auto; flex-direction: row; gap: 6px; align-items: baseline; padding: 0 4px 4px; }
  #app.wide .wchips { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .wk.inr, .wk.inl, .wk.fadein, .tickdraw, .livedot { animation: none !important; } .tickdraw .tc, .tickdraw .tp { animation: none; stroke-dashoffset: 0; } }

.themeseg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.themeseg button { appearance: none; font: inherit; color: var(--fg); background: var(--sunk); border: 1.5px solid transparent; border-radius: 18px; min-height: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
.themeseg button.on { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-ink); font-weight: 600; }
.mhub .iconbtn { color: #fff; background: oklch(1 0 0 / 0.14); }
html { transition: background-color 250ms; }

/* ===== Round 8 (approved: A3 home, live hero, E2 chips, month C, build grid, team cards) ===== */
/* hero states */
.hh.g-amber { background-image: linear-gradient(165deg, #E0A21B 0%, #C9731A 55%, #9A4A17 100%); }
.hh-acts a { flex: 1 1 0; min-width: 0; height: 46px; border-radius: 999px; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; white-space: nowrap; transition: transform 160ms var(--spring); }
.hh-acts a:active, a.hb2.wide:active { transform: scale(.96); }
.hh-acts .hb1, .hh-acts a.hb1 { color: #2a1410; }
a.hb2.wide { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 999px; background: #fff; color: #2a1410; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform 160ms var(--spring); }
a.hb2.wide .ic { width: 18px; height: 18px; }
.hbar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.22); overflow: hidden; margin-top: -6px; }
.hbar i { display: block; height: 100%; background: #fff; border-radius: 6px; transition: width 600ms var(--spring); }
.hh-on { display: flex; align-items: center; gap: 16px; }
.hh-on .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.hh-big { display: flex; align-items: baseline; gap: 8px; }
.hh-big .t { font-size: 48px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.hh-big b { font-size: 16px; font-weight: 500; opacity: .9; }
.hring { flex: none; transform: rotate(-90deg); }
.hring circle:last-child { transition: stroke-dashoffset 800ms var(--spring); }
.latechips { display: flex; gap: 8px; }
.latechips button { flex: 1; min-height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.14); color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color 160ms, color 160ms, transform 160ms var(--spring); }
.latechips button:active { transform: scale(.95); }
.latechips button.on { background: #fff; color: #2a1410; border-color: #fff; }

/* home body: section titles + horizontally scrolling square cards */
.hb .sect { color: var(--fg); font-size: 15px; font-weight: 600; margin: 4px 4px -2px; display: flex; align-items: center; }
.hb .sect .link { margin-inline-start: auto; font-size: 13px; }
.hrow { display: flex; gap: 10px; overflow-x: auto; margin-inline: calc(-1 * var(--pad)); padding: 2px var(--pad) 6px; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; overscroll-behavior-x: contain; }
.hrow::-webkit-scrollbar { display: none; }
.sq { appearance: none; border: 0; font: inherit; text-align: start; cursor: pointer; flex: none; width: 148px; aspect-ratio: 1; border-radius: 24px; padding: 14px; display: flex; flex-direction: column; gap: 4px; position: relative; overflow: hidden; scroll-snap-align: start; color: var(--fg); transition: transform 160ms var(--spring); }
.sq:active { transform: scale(.96); }
.sq:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.sq .ib { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.7); margin-bottom: auto; }
.sq .ib .ic { width: 19px; height: 19px; }
.sq b { font-size: 15px; line-height: 1.25; font-weight: 700; }
.sq .c { font-size: 12.5px; opacity: .8; line-height: 1.3; }
.sq .go { position: absolute; inset-inline-end: 12px; top: 12px; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; color: #fff; background: var(--ink); }
.q-fill { --a: oklch(0.95 0.04 55); --b: oklch(0.89 0.08 40); --ink: oklch(0.36 0.1 38); }
.q-swap { --a: oklch(0.96 0.035 170); --b: oklch(0.90 0.07 165); --ink: oklch(0.34 0.07 168); }
.q-open { --a: oklch(0.96 0.03 255); --b: oklch(0.90 0.06 260); --ink: oklch(0.36 0.1 262); }
[data-theme="dark"] .q-fill { --a: oklch(0.34 0.06 45); --b: oklch(0.27 0.06 30); --ink: oklch(0.92 0.06 55); }
[data-theme="dark"] .q-swap { --a: oklch(0.33 0.05 170); --b: oklch(0.26 0.05 170); --ink: oklch(0.92 0.06 165); }
[data-theme="dark"] .q-open { --a: oklch(0.33 0.05 258); --b: oklch(0.26 0.05 262); --ink: oklch(0.92 0.05 255); }
.sq.q-fill, .sq.q-swap, .sq.q-open { background: linear-gradient(155deg, var(--a), var(--b)); color: var(--ink); }
[data-theme="dark"] .sq .go { color: #1a1a1a; }
[data-theme="dark"] .sq .ib { background: rgba(255,255,255,.1); }
.sq.up { background: var(--surface); border: 1px solid var(--line); gap: 2px; }
.sq.up.nx { border-color: transparent; background: linear-gradient(155deg, var(--primary-soft), color-mix(in oklch, var(--primary-soft), var(--primary) 18%)); }
.sq .row1 { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; }
.sq .big { font-size: 26px; line-height: 1.1; font-weight: 700; justify-self: start; text-align: start; }
.kic { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.kic .ic { width: 19px; height: 19px; }
.k-m { background: oklch(0.93 0.07 70); color: oklch(0.48 0.13 55); }
.k-a { background: oklch(0.94 0.08 95); color: oklch(0.50 0.12 85); }
.k-e { background: oklch(0.92 0.06 25); color: oklch(0.50 0.14 30); }
.k-n { background: oklch(0.91 0.05 275); color: oklch(0.45 0.13 275); }
[data-theme="dark"] .k-m { background: oklch(0.35 0.07 60); color: oklch(0.85 0.12 70); }
[data-theme="dark"] .k-a { background: oklch(0.36 0.07 90); color: oklch(0.88 0.12 95); }
[data-theme="dark"] .k-e { background: oklch(0.34 0.07 30); color: oklch(0.84 0.1 30); }
[data-theme="dark"] .k-n { background: oklch(0.33 0.07 275); color: oklch(0.84 0.08 275); }
@media (min-width: 1000px) { .hrow { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; } .sq { width: 168px; } }

/* 4-icon legend */
.legend4 { display: flex; gap: 6px 14px; flex-wrap: wrap; justify-content: center; font-size: 12px; color: var(--muted); }
.legend4 span { display: inline-flex; align-items: center; gap: 4px; }
.legend4 .ic { width: 14px; height: 14px; }

/* week chips E2 */
.ce { appearance: none; border: 0; font: inherit; cursor: pointer; text-align: start; position: relative; min-width: 0; border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; color: var(--chip-ink); transition: opacity 200ms, transform 120ms var(--spring), box-shadow 200ms; }
.ce:active { transform: scale(.96); }
.ce:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.ce-n { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; line-height: 16px; min-width: 0; max-width: 100%; }
.ce-n .nn { opacity: .78; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ce .av { width: 16px !important; height: 16px !important; font-size: 9px !important; background: rgba(255,255,255,.55) !important; box-shadow: 0 0 0 1px rgba(0,0,0,.12); color: #1d1d1d; }
.ce-t { display: flex; align-items: center; gap: 6px; }
.ce-t .ic { width: 16px; height: 16px; flex: none; }
.ce-t b { font-size: 18px; line-height: 22px; font-weight: 700; }
.ce.gap { background: transparent; color: var(--no-ink); box-shadow: inset 0 0 0 1.5px var(--no); border: 1.5px dashed transparent; }
.ce.gap .ce-n .nn { opacity: 1; }
.ce.me { box-shadow: inset 0 0 0 2px var(--chip-ink); }
.ce.hl { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--fg); }
.ce.chg::after { content: ""; position: absolute; top: 8px; inset-inline-end: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--chip-ink); opacity: .5; }
.wk.dimmed .ce:not(.hl):not(.gap) { opacity: .22; }
/* days sit outside, shifts inside one card */
.wk .wrow { padding: 0; gap: 8px; align-items: flex-start; border-radius: 0; background: none; }
.wk .wrow.today { background: none; }
.wk .wrd { width: 44px; padding-top: 10px; }
.wrd.tdy span { color: var(--primary-ink); font-weight: 600; }
.wrd.tdy b { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; font-size: 17px; margin-top: 2px; }
.wk .wchips { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 8px; gap: 8px; }
.wk { gap: 10px; }
@media (min-width: 1000px) {
  #app.wide .wk .wrow, #app.wide .wk .wrow.out { flex-direction: column; align-items: stretch; min-height: 0; padding: 0; border: 0; background: none; }
  #app.wide .wk .wrow.today { background: none; border: 0; }
  #app.wide .wk .wrd { width: auto; flex-direction: row; justify-content: center; align-items: center; gap: 6px; padding: 0 0 4px; }
  #app.wide .wk .wchips { grid-template-columns: 1fr; flex: 1; min-height: 320px; }
}

/* month C */
.calc { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.calc .wd { font-size: 12px; color: var(--muted); text-align: center; padding-bottom: 2px; }
.calc .d { appearance: none; font: inherit; color: var(--fg); cursor: pointer; height: 62px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-rows: 1fr 24px 16px 1fr; justify-items: center; align-items: center; padding: 0; min-width: 0; transition: transform 120ms var(--spring); }
.calc .d:active { transform: scale(.94); }
.calc .d .n { grid-row: 2; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.calc .d .k { grid-row: 3; height: 16px; line-height: 0; color: var(--primary-ink); }
.calc .d .k .ic { width: 15px; height: 15px; }
.calc .d.me { background: var(--primary-soft); border-color: transparent; color: var(--primary-ink); }
.calc .d.me .n { font-weight: 700; }
.calc .d.today .n { background: var(--fg); color: var(--bg); font-weight: 700; }
.calc .d.gone { opacity: .42; }
.calc .d.me.gone { background: var(--sunk); color: var(--muted); }
.calc .d.me.gone .k { color: var(--muted); }
.calc .d.e { visibility: hidden; height: 62px; border: 0; }
@media (min-width: 700px) { .calc .d, .calc .d.e { height: 76px; } }

/* build-the-month grid: names in every slot */
.bgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.bgrid .hd { font-size: 11px; color: var(--muted); text-align: center; }
.bc { border-radius: 10px; background: var(--surface); border: 1px solid var(--line); padding: 4px 2px 3px; display: flex; flex-direction: column; gap: 2px; min-height: 98px; min-width: 0; }
.bc b { font-size: 11.5px; line-height: 1; text-align: center; margin-bottom: 1px; font-weight: 600; }
.bc.e { visibility: hidden; }
.bc i { display: block; height: 17px; border-radius: 5px; font-style: normal; font-size: 10px; font-weight: 600; line-height: 17px; text-align: center; color: var(--chip-ink); overflow: hidden; white-space: nowrap; text-overflow: clip; padding: 0 2px; }
.bc i.sp { visibility: hidden; }
.bc i.gh { background: var(--sunk); animation: ghpulse 1.4s ease-in-out infinite; }
@keyframes ghpulse { 50% { opacity: .5; } }
.bc i.gap { background: transparent; box-shadow: inset 0 0 0 1.2px var(--no); color: var(--no-ink); }
.bgrid i.b { opacity: 0; transform: scale(.6); transition: opacity 260ms ease-out var(--d, 0ms), transform 420ms var(--bouncy) var(--d, 0ms); }
.bgrid.in i.b { opacity: 1; transform: none; }
@media (min-width: 700px) { .bgrid { gap: 6px; } .bc { min-height: 112px; padding: 6px 4px; gap: 3px; } .bc b { font-size: 13px; } .bc i { height: 20px; line-height: 20px; font-size: 11.5px; } }
@media (prefers-reduced-motion: reduce) { .bgrid i.b { transition: opacity 150ms; transform: none; } .bc i.gh { animation: none; } }

/* team as cards */
.tgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
@media (min-width: 700px) { .tgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
.tcard { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; cursor: pointer; transition: transform 140ms var(--spring), box-shadow 200ms; }
.tcard:active { transform: scale(.97); }
.tcard:hover { box-shadow: var(--shadow-s); }
.tcard:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.tc-top { display: flex; align-items: flex-start; justify-content: space-between; }
.tc-wa { background: var(--sunk); color: var(--wa); min-width: 40px; min-height: 40px; padding: 0; }
.tc-wa .ic { width: 20px; height: 20px; }
.tc-n { display: block; font-size: 16px; font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcard .cap { display: block; font-size: 12.5px; color: var(--muted); }
.tcard .bar { height: 6px; border-radius: 6px; background: var(--sunk); overflow: hidden; }
.tcard .bar i { display: block; height: 100%; background: var(--primary); border-radius: 6px; }
.tag2 { font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; }
.ok2 { background: var(--primary-soft); color: var(--primary-ink); }
.no2 { background: var(--no-soft); color: var(--no-ink); }

/* he / she picker */
.gseg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.gseg button { appearance: none; font: inherit; font-size: 15px; font-weight: 500; color: var(--fg); background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; min-height: 48px; cursor: pointer; transition: background-color 160ms, border-color 160ms, color 160ms, transform 120ms var(--spring); }
.gseg button:active { transform: scale(.96); }
.gseg button.on { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-ink); font-weight: 600; }
#wtoday { scroll-margin-top: 16px; }
.sq { width: 156px; }
.sq .go { font-size: 12px; padding: 5px 10px; max-width: calc(100% - 68px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
button.link { padding-block: 11px; margin-block: -11px; }

/* ===== Round 9 ===== */
/* hero buttons: room for the longer Hebrew label */
.hh-acts button, .hh-acts a { padding-inline: 18px; }
.hh-acts .hb2 { overflow: hidden; text-overflow: ellipsis; }
.hh-acts .wa-ic, .hh-acts a .ic { flex: none; }
/* this week tag */
.nowpill { display: inline-flex; align-items: center; margin-inline-start: 8px; font-size: 12px; font-weight: 600; line-height: 1; padding: 5px 9px; border-radius: 999px; background: var(--primary); color: var(--on-primary); vertical-align: 2px; white-space: nowrap; }
button.nowpill.ghost { appearance: none; border: 0; font-family: inherit; cursor: pointer; background: var(--primary-soft); color: var(--primary-ink); min-height: 28px; padding: 0 12px; }
.navrow .lbl .nowpill { margin-top: 0; }
/* folded earlier days */
.wk .wrow.fold { flex-direction: column; gap: 0; }
.wfold { appearance: none; border: 0; font: inherit; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; width: 100%; min-height: 52px; padding: 6px 12px 6px 6px; display: flex; align-items: center; gap: 8px; cursor: pointer; text-align: start; transition: background-color 160ms; }
[dir="rtl"] .wfold { padding: 6px 6px 6px 12px; }
.wfold:active { background: var(--sunk); }
.wfold .wrd { padding-top: 0; flex-direction: row; gap: 6px; align-items: baseline; width: 64px; justify-content: center; }
.wfold .wrd b { font-size: 17px; }
.wf-s { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.wf-s .avs { display: flex; } .wf-s .avs > * { box-shadow: 0 0 0 2px var(--surface); } .wf-s .avs > * + * { margin-inline-start: -6px; }
.wf-n { font-size: 13px; }
.wf-c { width: 18px; height: 18px; flex: none; transition: transform 300ms var(--spring); }
.fold.open .wf-c { transform: rotate(180deg); }
.wf-b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 320ms var(--spring); }
.wf-b > div { overflow: hidden; min-height: 0; }
.fold.open .wf-b { grid-template-rows: 1fr; }
.wf-b .wchips { margin-top: 8px; margin-inline-start: 52px; }
.fold .ce { opacity: .72; }
@media (min-width: 1000px) {
  .wk .wrow.fold { gap: 0; }
  .wfold { pointer-events: none; background: none; border: 0; min-height: 0; padding: 0 0 4px !important; justify-content: center; }
  .wf-s, .wf-c { display: none; }
  .wf-b { grid-template-rows: 1fr; flex: 1; } .wf-b > div { display: flex; flex-direction: column; } .wf-b .wchips { margin: 0; flex: 1; min-height: 320px; }
}
@media (prefers-reduced-motion: reduce) { .wf-b, .wf-c { transition: none; } }
/* shift sheet */
.shs { gap: 14px; }
.ssh { display: flex; align-items: center; gap: 14px; }
.ssh .kic { width: 52px; height: 52px; border-radius: 16px; }
.ssh .kic .ic { width: 24px; height: 24px; }
.ssh .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ssh b.t { font-size: 28px; line-height: 1.15; font-weight: 700; text-align: start; }
.kic.sm { width: 32px; height: 32px; border-radius: 10px; } .kic.sm .ic { width: 17px; height: 17px; }
.slim.late { background: var(--warn-soft); border-color: transparent; }
.slim.late .ic.lead { color: oklch(0.50 0.11 65); }
[data-theme="dark"] .slim.late .ic.lead { color: var(--warn); }
/* Ishay hub: who is on now */
.mh-row.now { background: oklch(1 0 0 / 0.14); }
/* he / she picker with icons */
.mi.sky { background: oklch(0.94 0.04 245); color: oklch(0.45 0.12 250); }
[data-theme="dark"] .mi.sky { background: oklch(0.32 0.06 250); color: oklch(0.85 0.08 245); }
.gbig { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gbig button { appearance: none; font: inherit; color: var(--fg); background: var(--surface); border: 1.5px solid var(--line); border-radius: 22px; min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; cursor: pointer; transition: border-color 160ms, background-color 160ms, transform 120ms var(--spring); }
.gbig button:active { transform: scale(.96); }
.gbig button.on { border-color: var(--primary); background: var(--primary-soft); }
.gbig .mi { width: 48px; height: 48px; border-radius: 16px; }
.gbig .mi .ic { width: 24px; height: 24px; }
.gbig b { font-size: 15px; font-weight: 600; }
.wk .wrow.fold { align-items: stretch; }

/* ===== Round 9b ===== */
/* folded days: date outside, closed box with mini bars */
.wk .wrow.fold { flex-direction: row; align-items: flex-start; gap: 8px; }
.wbox { flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.wbox .wfold { background: none; border: 0; border-radius: 0; min-height: 52px; padding: 8px !important; gap: 8px; color: var(--muted); }
.wbox .wfold:active { background: var(--sunk); }
.mbars { flex: 1; min-width: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; }
.mbars i { height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 4px; color: var(--chip-ink); font-style: normal; font-size: 11.5px; font-weight: 600; min-width: 0; overflow: hidden; opacity: .8; }
.mbars i .ic { width: 15px; height: 15px; flex: none; }
.mbars i .fn { display: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mbars i.gap { background: transparent; box-shadow: inset 0 0 0 1.2px var(--no); color: var(--no-ink); }
.wk.fb .mbars i .ic { display: none; } .wk.fb .mbars i .fn { display: block; padding: 0 4px; }
.wbox .wf-b .wchips { margin: 0; background: none; border: 0; border-radius: 0; padding: 0 8px 8px; }
.wk .wrow.fold > .wrd { padding-top: 14px; }
.fold.open .mbars { opacity: 0; transition: opacity 200ms; }
.fold .mbars { transition: opacity 200ms; }
.fold.open .wfold { min-height: 40px; }
.fold.open .wfold .mbars { visibility: hidden; height: 0; }
@media (min-width: 1000px) {
  .wk .wrow.fold { flex-direction: column; align-items: stretch; }
  .wk .wrow.fold > .wrd { padding-top: 0; }
  .wbox { display: flex; flex-direction: column; flex: 1; }
  .wbox .wfold { display: none; }
  .wbox .wf-b { grid-template-rows: 1fr; } .wbox .wf-b .wchips { padding: 8px; min-height: 320px; }
}
/* this week sits above the dates, like "today" above the day number */
.navrow .lbl { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.wk-k { font-size: 12px; font-weight: 600; color: var(--primary-ink); line-height: 16px; height: 16px; }
button.wk-k.go { appearance: none; border: 0; background: none; font-family: inherit; cursor: pointer; padding: 14px 10px; margin: -14px 0; height: auto; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.wknav .lbl .wk-k, #wklbl .wk-k { display: block; }
/* shift sheet rows */
.li.srow { gap: 10px; }
.li.srow .sw { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.li.srow .sw > span:last-child, .li.srow .who > b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li.srow .tr { display: flex; align-items: center; gap: 6px; flex: none; }
.li.srow .tr .ic { width: 17px; height: 17px; color: var(--muted); }
.li.srow .tr b { font-size: 16px; font-weight: 600; }
.gapav { background: var(--no-soft) !important; color: var(--no-ink); width: 28px !important; height: 28px !important; font-size: 13px !important; }
.li.me, [dir="rtl"] .li.me { box-shadow: none; }
.li.srow.me { background: var(--primary-soft); }
/* Ishay hub rows: one time range */
.mh-tr { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; opacity: .92; }
.mh-tr .ic { width: 16px; height: 16px; }
/* Ishay to-do cards */
.todo .sq { cursor: default; }
.todo .sq .go { appearance: none; border: 0; font-family: inherit; cursor: pointer; }
.todo .sq .ib { background: rgba(255,255,255,.7); }
.todo .sq .ib .av { box-shadow: none; }
.sq-x { appearance: none; border: 0; position: absolute; inset-inline-end: 8px; bottom: 8px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.55); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.sq-x .ic { width: 17px; height: 17px; }
.todo .sq:has(.sq-x) .c { padding-inline-end: 44px; }
.ring.xs { width: 30px; height: 30px; } .ring.xs > span { width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.9); display: block; }
[data-theme="dark"] .ring.xs > span { background: oklch(0.3 0.04 258); }
/* option B: wide ticket cards */
.todo.tb .sq { width: 236px; aspect-ratio: auto; min-height: 150px; padding: 14px; gap: 2px; }
.todo.tb .sq .ib { width: 40px; height: 40px; margin-bottom: 10px; }
.todo.tb .sq .go { position: static; order: 9; margin-top: auto; align-self: stretch; text-align: center; padding: 10px 12px; font-size: 14px; max-width: none; border-radius: 999px; }
.todo.tb .sq b { font-size: 16px; }
.todo.tb .sq-x { top: 14px; bottom: auto; inset-inline-end: 14px; }
.todo.tb .sq:has(.sq-x) b, .todo.tb .sq:has(.sq-x) .c { padding-inline-end: 0; }
/* legend breathing room */
.legend4 { margin-bottom: 4px; }
#mgrid .legend4 { margin-bottom: 16px; }
.todo .sq .go::after { content: ""; position: absolute; inset: -8px -4px; }

/* ===== Round 9c ===== */
.fold > .wrd { opacity: .42; }
.fold .mbars i { filter: grayscale(1); opacity: .45; }
.fold .ce { filter: grayscale(.85); opacity: .55; }
.hb .sect, .md-side .sect { margin-bottom: 4px; }
.bottom, body.tabs-on .bottom { background: none; }
.bottom .btn.ghost, .bottom .btn.sq, .bottom .iconbtn { background: var(--surface); } .bottom .btn { box-shadow: var(--shadow); }

/* ── Round 9d ── */
.wrow.past > .wrd { opacity: .42; }
.wrow.past .ce { filter: grayscale(.85); opacity: .55; }
.tsk { position: sticky; top: 0; z-index: 6; background: var(--bg); padding-block: 8px; margin-block: -8px; }
#pane .navrow.stk { position: sticky; top: 64px; z-index: 5; background: var(--bg); padding-block: 4px; }
.navrow.wknav.stk { position: sticky; top: 0; z-index: 5; background: var(--bg); padding-block: 6px; }
.li.srow .sw { justify-content: flex-end; }
.li.srow .tr b { font-size: 15px; }
:root { --late-bg: oklch(0.95 0.045 62); --late-ic: oklch(0.80 0.12 62); --late-ink: oklch(0.30 0.07 50); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --late-bg: oklch(0.32 0.06 60); --late-ic: oklch(0.78 0.12 62); --late-ink: oklch(0.92 0.04 70); } }
:root[data-theme="dark"] { --late-bg: oklch(0.32 0.06 60); --late-ic: oklch(0.78 0.12 62); --late-ink: oklch(0.92 0.04 70); }
.slim.late { background: var(--late-bg); color: var(--late-ink); border: 0; align-items: center; gap: 12px; padding: 14px; }
.slim.late .lc { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--late-ic); color: oklch(0.25 0.06 50); }
.slim.late .lc svg { width: 20px; height: 20px; }
.slim.late .grow { font-weight: 500; line-height: 1.4; }
.mh-acts { display: flex; gap: 8px; }
.mh-acts .btn { flex: 1; }
.iconbtn.mh-call { flex: none; width: 52px; height: auto; min-height: 52px; border-radius: 999px; background: oklch(1 0 0 / .18); color: #fff; border: 0; }
@media (min-width: 1000px) { .mh-acts { grid-area: wa; } .mh-acts .btn { width: auto; padding-inline: 20px; } }
body.tabs-on .bottom { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + var(--tabh) + 24px); }

/* profile picture sheet */
.picacts .btn { flex: 1; }
.pkgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pkgrid button { appearance: none; border: 0; padding: 0; background: none; border-radius: 50%; aspect-ratio: 1; cursor: pointer; overflow: hidden; transition: transform 160ms var(--spring); }
.pkgrid button img { width: 100%; height: 100%; display: block; border-radius: 50%; }
.pkgrid button:active { transform: scale(.92); }
.pkgrid button.on { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--primary); }

/* ── Round 9e ── */
.li.ed .strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.picprev { display: flex; justify-content: center; padding: 4px 0 8px; }
.pp { position: relative; width: 112px; height: 112px; border-radius: 50%; display: block; }
.pp > img, .pp > .av { width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; object-fit: cover; box-shadow: 0 6px 20px oklch(0 0 0 / .14); }
.pp.pop { animation: pppop 320ms var(--spring); }
@keyframes pppop { 0% { transform: scale(.9); } 100% { transform: scale(1); } }
.ppx { position: absolute; top: 2px; inset-inline-end: 2px; width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--raise, var(--surface)); background: var(--fg); color: var(--bg); display: grid; place-items: center; padding: 0; cursor: pointer; }
.ppx::after { content: ""; position: absolute; inset: -8px; }
.ppx .ic, .ppx svg { width: 16px; height: 16px; }
#picok { margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .pp.pop { animation: none; } }

.mh-open .av { border-radius: 50%; }
.mh-row { justify-content: space-between; }
.mh-row .mh-who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mh-row .mh-who b { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mh-list.hue { gap: 6px; background: none; padding: 0; }
.mh-list.hue .mh-row { background: var(--hb); color: var(--chip-ink); min-height: 48px; padding-inline: 12px; }
.mh-list.hue .mh-row .mh-tr, .mh-list.hue .mh-row .mh-tr .t { color: var(--chip-ink); opacity: 1; }
.mh-list.hue .mh-row.gap { background: oklch(1 0 0 / .12); color: #fff; box-shadow: inset 0 0 0 1.5px oklch(1 0 0 / .5); }
.mh-list.hue .mh-row.gap .mh-tr, .mh-list.hue .mh-row.gap .mh-tr .t { color: #fff; }
.mh-list.hue .mh-row.now { box-shadow: 0 0 0 2px #fff; }
.sect-n { margin-inline-start: 8px; color: var(--no-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.ce.chg::after { display: none; }
.ce { position: relative; }
.chgi { margin-inline-start: auto; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: oklch(1 0 0 / .55); color: var(--chip-ink); flex: none; }
.chgi .ic, .chgi svg { width: 12px; height: 12px; }
.ce-n { display: flex; align-items: center; gap: 4px; }
.legend4 .lg-chg { color: var(--muted); }

/* English/Russian/Spanish wordmark in caps, like the !CON logo (Hebrew has no capitals) */
html:not([lang="he"]) .sp-word, html:not([lang="he"]) .welcome .word, html:not([lang="he"]) .brand { text-transform: uppercase; letter-spacing: .08em; }
html:not([lang="he"]) .brand .lg { letter-spacing: normal; }
/* sign-in code screen: one centred column */
.pinhead { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; margin-top: 8px; }
.pinhead .av { margin-bottom: 16px; }
.pinhead h1.big { margin: 0; }
.pinhead .sub { margin: 4px 0 0; }
.pinhead + .pindots, .pinhead ~ .pindots { margin-top: 28px; }

/* ── Round 9f · sign in ── */
.pintop { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-block: 16px 24px; }
.pinhead .av { margin-bottom: 16px; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--line); }
.pinhead ~ .pindots { margin-top: 32px; }
.psteps { display: flex; gap: 6px; margin-top: 14px; }
.psteps i { width: 20px; height: 4px; border-radius: 2px; background: var(--line); transition: background 200ms, width 300ms var(--spring); }
.psteps i.on { background: var(--primary); width: 28px; }
.pindots.ok i { background: var(--primary); border-color: var(--primary); transform: scale(1.15); }
.pindots.ok { position: relative; }
.pindots.ok::after { content: ""; position: absolute; inset-inline: 0; margin-inline: auto; top: calc(100% + 14px); width: 28px; height: 28px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/16px no-repeat; animation: pppop 320ms var(--spring); }
.keys button { height: 64px; }

/* ── Round 9f ── */
/* outlined avatars everywhere */
:root { --av-ring: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --av-ring: oklch(0.92 0.01 172); } }
:root[data-theme="dark"] { --av-ring: oklch(0.92 0.01 172); }
.av { box-shadow: 0 0 0 var(--rw, 2px) var(--av-ring); }
.pinhead .av { box-shadow: 0 0 0 3px var(--av-ring), 0 0 0 4px var(--line); }
.mh-open .av { box-shadow: 0 0 0 3px #fff; }
/* photo preview: white ring, no drop shadow */
.pp > img, .pp > .av { box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }
/* swap mark: small, right after the name, no circle */
.chgi { margin-inline-start: 2px; width: auto; height: auto; background: none; border-radius: 0; opacity: .75; }
.chgi .ic, .chgi svg { width: 13px; height: 13px; }
/* toast with undo */
.toast.has-act { padding-inline-end: 8px; gap: 10px; }
.toast .t-undo { appearance: none; border: 0; background: oklch(1 0 0 / .16); color: inherit; font: inherit; font-weight: 600; border-radius: 999px; padding: 8px 14px; min-height: 36px; cursor: pointer; }
/* week header: floating glass pills over a soft fade (iOS 26 scroll edge) */
.tsk { background: none; padding-block: 8px; }
.tsk::before { content: ""; position: absolute; z-index: -1; pointer-events: none; inset: calc(-1 * env(safe-area-inset-top, 0px) - 8px) -20px -76px; background: linear-gradient(to bottom, var(--bg) 0%, color-mix(in oklab, var(--bg) 85%, transparent) 55%, transparent 100%); }
.tsk .seg { background: var(--glass); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: 0 6px 20px oklch(0 0 0 / .08), inset 0 0 0 1px oklch(1 0 0 / .5); }
#pane .navrow.stk { top: 68px; background: var(--glass); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border-radius: 999px; padding: 4px; box-shadow: 0 6px 20px oklch(0 0 0 / .08), inset 0 0 0 1px oklch(1 0 0 / .5); }
.navrow.wknav.stk { background: var(--glass); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border-radius: 999px; padding: 4px; top: 8px; box-shadow: 0 6px 20px oklch(0 0 0 / .08), inset 0 0 0 1px oklch(1 0 0 / .5); }
.navrow.wknav.stk::before { content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -40px -20px -40px; background: linear-gradient(to bottom, var(--bg) 0%, color-mix(in oklab, var(--bg) 80%, transparent) 50%, transparent 100%); }
.navrow.stk .lbl { line-height: 1.2; }
/* Ishay hub B: compact 2-column tiles */
.mh-list.hue { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mh-list.hue .mh-row { flex-direction: column-reverse; align-items: stretch; justify-content: center; gap: 4px; min-height: 0; padding: 10px 12px; border-radius: 18px; }
.mh-list.hue .mh-row .mh-who { justify-content: flex-start; flex-direction: row-reverse; gap: 6px; }
.mh-list.hue .mh-row .mh-who b { font-size: 14px; }
.mh-list.hue .mh-row .mh-tr { font-size: 17px; font-weight: 700; }
.mh-list.hue .mh-row .mh-tr .ic { width: 17px; height: 17px; }
.toast.has-act { width: max-content; max-width: calc(100vw - 32px); }
.toast.has-act > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.toast.has-act .t-undo { flex: none; }

/* ── Round 9g ── */
.keys .kforgot { background: none; border: 0; font-size: 14px; font-weight: 500; color: var(--muted); }
.keys .kforgot:active { background: var(--sunk); }
.mh-list.hue .av { box-shadow: none; }
.mh-list.hue .mh-row { padding: 12px 14px; gap: 8px; min-height: 84px; justify-content: space-between; }
.mh-list.hue .mh-row .mh-who { flex-direction: row-reverse; align-items: center; gap: 8px; }
.mh-list.hue .mh-row .mh-who b { font-size: 16px; font-weight: 700; }
.mh-list.hue .mh-row .mh-tr { font-size: 15px; font-weight: 600; padding-inline-start: 0; }
.mh-list.hue .mh-row .mh-tr .ic { width: 16px; height: 16px; }
.toast.has-act { padding: 6px; padding-inline-start: 16px; min-height: 48px; }
.toast .t-undo { min-height: 36px; padding: 0 14px; }

/* ── Round 10 · desktop ── */
.tb-brand, .tb-sp { display: none; }
.schedwrap { display: contents; }
.wgrp { display: flex; flex-direction: column; gap: 6px; }
.wgrp + .wgrp { margin-top: 10px; }
.wg-t { font-size: 13px; font-weight: 600; color: var(--muted); padding-inline: 4px; }
.wg-t span { color: var(--fg); margin-inline-start: 4px; }
.wgrp.cant .wg-t { color: var(--muted); }
@media (min-width: 1000px) {
  /* side panel instead of a centred modal for picking who takes a shift */
  .sheet.side:not(.dialog) { top: 16px; bottom: 16px; translate: none; inset-inline-end: 16px; inset-inline-start: auto; left: auto; right: auto; width: 440px; max-height: none; border-radius: 28px; animation: sidein 360ms var(--spring) both; padding: 24px; }
  [dir="rtl"] .sheet.side:not(.dialog) { left: 16px; } [dir="ltr"] .sheet.side:not(.dialog) { right: 16px; }
  .wholist.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; background: none; border: 0; }
  .wholist.cards .who { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 12px; min-height: 96px; align-items: flex-start; }
  .wholist.cards .who .l { flex-direction: column; align-items: flex-start; gap: 8px; }
  .wholist.cards .who .chev { display: none; }
  /* schedule: one toolbar row */
  #app.wide .schedwrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "head nav acts" "slim slim slim" "hl hl hl" "grid grid grid"; gap: 12px 20px; align-items: center; }
  #app.wide .schedwrap > .schedhead { grid-area: head; margin: 0; }
  #app.wide .schedwrap > .schedhead .grow { display: none; }
  #app.wide .schedwrap > .slim { grid-area: slim; }
  #app.wide .schedwrap > .wknav { grid-area: nav; position: static; justify-self: center; width: min(440px, 100%); }
  #app.wide .schedwrap > .wknav::before { display: none; }
  #app.wide .schedwrap > #hlsum { grid-area: hl; } #app.wide .schedwrap > #hlsum:empty { display: none; }
  #app.wide .schedwrap > #mgrid { grid-area: grid; }
  #app.wide .schedwrap > .bottom { grid-area: acts; position: static; padding: 0; background: none; flex-direction: row; gap: 8px; }
  #app.wide .schedwrap > .bottom .btn { width: auto; padding-inline: 20px; box-shadow: none; }
  #app.wide #mgrid .legend4 { justify-content: flex-start; margin-bottom: 10px; }
  #app.wide .wrow, #app.wide .wrow.out { min-height: 0; }
  #app.wide .wk .wchips { min-height: 0; }
}
@keyframes sidein { from { transform: translateX(calc(var(--sx, -1) * 110%)); } }
[dir="ltr"] .sheet.side { --sx: 1; }
@media (min-width: 1200px) {
  /* labelled sidebar instead of the floating rail */
  body.mgr.tabs-on #tabbar { display: flex; flex-direction: column; align-items: stretch; gap: 2px; top: 16px; bottom: 16px; height: auto; width: 232px; border-radius: 24px; padding: 16px 12px; }
  body.mgr.tabs-on #tabbar .tb-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; padding: 4px 8px 16px; color: var(--fg); }
  body.mgr.tabs-on #tabbar .tb-sp { display: block; flex: 1; }
  body.mgr.tabs-on #tabbar .ind { display: none; }
  body.mgr.tabs-on #tabbar button { flex-direction: row; justify-content: flex-start; gap: 12px; height: 44px; padding-inline: 12px; border-radius: 12px; font-size: 15px; font-weight: 500; flex: none; }
  body.mgr.tabs-on #tabbar button .ic { width: 20px; height: 20px; }
  body.mgr.tabs-on #tabbar button.on { background: var(--glass-sel); font-weight: 600; }
  body.mgr.tabs-on #tabbar button span.l { padding: 0; }
  body.mgr.tabs-on #app.wide { padding-inline-start: 264px; max-width: 1480px; }
}
@media (min-width: 1000px) {
  #app.wide .wizard { max-width: 760px; }
  #app.wide .wizard .bottom { position: static; padding: 8px 0 0; }
  #app.wide .tgrid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
@media (min-width: 1000px) and (max-width: 1279px) {
  #app.wide .schedwrap { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "head acts" "nav nav" "slim slim" "hl hl" "grid grid"; }
  #app.wide .schedwrap > .bottom { justify-self: end; }
}

/* ── Round 11 ── */
/* one toast everywhere: 48px pill, icon + one line, optional action with even 6px inset */
.toast, .toast.has-act { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 20px; padding-inline-start: 16px; width: max-content; max-width: calc(100vw - 32px); box-sizing: border-box; font-size: 15px; font-weight: 500; line-height: 1.3; border-radius: 999px; box-shadow: 0 10px 30px oklch(0 0 0 / .18); }
.toast.has-act { padding: 6px; padding-inline-start: 16px; }
.toast .t-ic, .toast > .ic { width: 20px; height: 20px; flex: none; }
.toast .t-msg { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.toast.bad .t-ic { color: oklch(0.78 0.14 25); }
.toast .t-undo { flex: none; min-height: 36px; padding: 0 14px; margin-inline-start: 4px; }
@media (min-width: 1000px) { body.tabs-on #app.wide ~ .toast, #app.wide ~ .toast { bottom: 32px; } }
/* hub tiles: name and time on the same (start) edge, avatar at the far end */
.mh-list.hue .mh-row { align-items: stretch; text-align: start; }
.mh-list.hue .mh-row .mh-who { flex-direction: row; justify-content: space-between; width: 100%; }
.mh-list.hue .mh-row .mh-tr { justify-content: flex-start; }
/* schedule toolbar */
.schedhead .monthbtn .pubdot { color: var(--primary); display: inline-flex; }
.wrow.out .wo-h { display: none; }
@media (min-width: 1000px) {
  #app.wide .schedwrap .monthbtn, #app.wide .schedwrap .hlbtn, #app.wide .schedwrap > .bottom .btn, #app.wide .schedwrap > .wknav { height: 48px; min-height: 48px; box-sizing: border-box; }
  #app.wide .schedwrap .monthbtn { font-size: 17px; padding-inline: 16px 12px; }
  #app.wide .schedwrap .hlbtn, #app.wide .schedwrap > .bottom .btn { font-size: 15px; font-weight: 600; }
  #app.wide .schedwrap > .bottom .btn.ghost { width: 48px; padding: 0; justify-content: center; }
  #app.wide .schedwrap > .wknav { padding: 0 4px; border: 1px solid var(--line); background: var(--surface); box-shadow: none; }
  #app.wide .schedwrap > .wknav .iconbtn { width: 40px; height: 40px; min-height: 40px; }
  #app.wide .schedwrap > .wknav .lbl { font-size: 15px; line-height: 1.2; }
  #app.wide .schedwrap > .wknav .lbl .cap { font-size: 12.5px; }
  #app.wide .schedwrap > .schedhead { gap: 8px; }
  #app.wide .wk { width: 100%; }
  #app.wide .wk .wrow.out { visibility: visible; display: flex; flex-direction: column; opacity: .6; }
  #app.wide .wk .wrow.out::after { content: ""; flex: 1; min-height: 120px; border: 1.5px dashed var(--line); border-radius: 20px; }
  #app.wide .schedwrap .hlbtn span { max-width: 160px; }
  #app.wide .wrow.out .wo-h { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 0 4px; color: var(--muted); font-size: 13px; }
  #app.wide .wrow.out .wo-h b { font-size: 17px; font-weight: 600; }
  /* give-it-to: a centred dialog on desktop */
  .sheet.side:not(.dialog) { top: 50%; bottom: auto; left: 50% !important; right: auto !important; inset-inline: auto; translate: -50% -50%; width: min(760px, calc(100vw - 64px)); max-height: min(86vh, 900px); border-radius: 28px; padding: 28px; animation: dlgin 320ms var(--spring) both; overflow: auto; }
  .wholist.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@keyframes dlgin { from { opacity: 0; scale: .96; } }
/* "currently on this shift" row */
.nowcard2 { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 20px; background: color-mix(in oklab, var(--hb, var(--sunk)) 28%, var(--surface)); border: 1px solid color-mix(in oklab, var(--hb, var(--line)) 45%, transparent); }
.nowcard2.empty { background: var(--no-soft, var(--sunk)); border-color: transparent; }
.nowcard2 .nc-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nowcard2 .nc-k { font-size: 13px; color: var(--muted); }
.nowcard2 .nc-n { font-size: 17px; font-weight: 700; color: var(--fg); }
.nowcard2 .nc-r { flex: none; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--surface); color: var(--fg); }
/* cards in each trainer's colour (soft tint so text stays readable) */
.wholist.cards .who { background: color-mix(in oklab, var(--hb) 26%, var(--surface)); border-color: color-mix(in oklab, var(--hb) 50%, transparent); }
.wholist.cards .who:hover { background: color-mix(in oklab, var(--hb) 38%, var(--surface)); }
.wholist.cards .who.dim { background: var(--sunk); border-color: transparent; }
.wholist.cards .who .meter { background: color-mix(in oklab, var(--fg) 12%, transparent); }
/* wizard: who has sent, as coloured name chips */
.pchips { display: flex; flex-wrap: wrap; gap: 6px; }
.pchip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding-inline: 4px 10px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--hb); color: oklch(0.22 0.02 172); }
.pchip .av { box-shadow: none; }
.pchip.no { background: transparent; border: 1px dashed var(--line); color: var(--muted); font-weight: 500; }
.pchip.no .av { filter: grayscale(1); opacity: .6; }

/* ── Round 12 (options) ── */
/* hub tiles: avatar right next to the name, name over time */
.mh-list.hue .mh-row { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "av nm" "av tm"; column-gap: 10px; row-gap: 2px; align-items: center; align-content: center; }
.mh-list.hue .mh-row .mh-who { display: contents; }
.mh-list.hue .mh-row .mh-who .av, .mh-list.hue .mh-row .mh-who .mi { grid-area: av; width: 40px !important; height: 40px !important; font-size: 16px !important; box-shadow: 0 0 0 2px oklch(1 0 0 / .85); }
.mh-list.hue .mh-row .mh-who b { grid-area: nm; }
.mh-list.hue .mh-row .mh-tr { grid-area: tm; }
/* needs-you cards: avatars sit round and outlined, no square tile behind them */
.todo .sq .ib:has(.av), .todo .sq .ib:has(.avb) { background: none; width: auto; height: auto; border-radius: 0; }
.todo .sq .ib .av { box-shadow: 0 0 0 2px #fff; }
.avb { position: relative; display: inline-flex; flex: none; }
.avb-i { position: absolute; inset-inline-end: -4px; bottom: -4px; width: 20px; height: 20px; border-radius: 50%; background: var(--no); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--surface); }
.avb-i .ic, .avb-i svg { width: 11px; height: 11px; }
/* cell dialog */
.cs-day { display: flex; align-items: center; gap: 12px; }
.cs-day h2 { font-size: 22px; line-height: 1.2; }
.cs-time { font-size: 17px; font-weight: 600; color: var(--muted); }
.cs-side, .cs-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cs2 { display: flex; flex-direction: column; gap: 14px; }
/* neutral cards: colour only in the avatar */
.wv-n .wholist.cards .who { background: var(--surface); border-color: var(--line); }
.wv-n .wholist.cards .who:hover { background: var(--sunk); border-color: color-mix(in oklab, var(--hb) 60%, var(--line)); }
.wv-n .wholist.cards .who.dim { background: transparent; border-style: dashed; }
.wv-n .nowcard2 { background: var(--sunk); border-color: transparent; }
@media (min-width: 1000px) {
  /* landscape dialog: 880 × up to 600, summary on the side, people scroll */
  .sheet.side:not(.dialog) { width: min(880px, calc(100vw - 64px)); height: min(600px, calc(100vh - 64px)); max-width: none; max-height: none; padding: 0; overflow: hidden; display: flex; }
  .sheet.side:not(.dialog) > .grab, .sheet.side:not(.dialog) .handle { display: none; }
  .cs2 { flex-direction: row; gap: 0; flex: 1; min-height: 0; width: 100%; }
  .cs-side { width: 300px; flex: none; padding: 32px 28px; border-inline-end: 1px solid var(--line); background: var(--sunk); gap: 20px; }
  .cs-day { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cs-day h2 { font-size: 28px; font-weight: 700; }
  .cs-time { font-size: 20px; }
  .cs-side .nowcard2 { background: var(--surface); }
  .cs-main { flex: 1; overflow: auto; padding: 28px; }
  .wholist.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wholist.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; background: none; border: 0; }
  .wholist.two .who { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 10px 12px; }
}

@media (max-width: 999px) {
  /* phone list: actions sit under the text so titles get the full width */
  .att:has(.att-b) { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 10px; align-items: center; }
  .att:has(.att-b) > .att-b, .att:has(.att-b) > .btn { grid-column: 2; justify-self: start; }
  .att > .btn.sm { grid-column: 2; justify-self: start; }
}
@media (min-width: 1000px) {
  .cs-side .nowcard2 { flex-wrap: wrap; row-gap: 10px; }
  .cs-side .nowcard2 .nc-r { margin-inline-start: 58px; }
  .cs-main > .sect:first-child { display: none; }
}

/* ── Round 13 (options) ── */
/* Ishay hub gradients, blended in OKLCH so the middle never goes grey or brown */
.mhub.hg-a { background: radial-gradient(90% 60% at 85% 0%, oklch(0.62 0.16 250 / .55), transparent 70%), linear-gradient(in oklch 165deg, oklch(0.27 0.09 268), oklch(0.47 0.17 256)); }
.mhub.hg-b { background: radial-gradient(70% 55% at 10% 10%, oklch(0.60 0.17 290 / .45), transparent 70%), radial-gradient(80% 60% at 95% 100%, oklch(0.70 0.13 220 / .45), transparent 70%), linear-gradient(in oklch 160deg, oklch(0.25 0.10 275), oklch(0.40 0.16 262)); }
.mhub.hg-c { background: radial-gradient(80% 60% at 90% 10%, oklch(0.72 0.11 200 / .40), transparent 70%), linear-gradient(in oklch 170deg, oklch(0.30 0.09 250), oklch(0.50 0.14 232)); }
/* the other shifts today: one row */
.mh-list.hue.row3 { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 8px; }
.mh-list.hue.row3 .mh-row { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; min-height: 0; padding: 12px 6px 10px; border-radius: 20px; }
.mh-list.hue.row3 .mh-row .mh-who { display: flex; flex-direction: column-reverse; align-items: center; gap: 6px; width: auto; }
.mh-list.hue.row3 .mh-row .mh-who .av, .mh-list.hue.row3 .mh-row .mh-who .mi { width: 36px !important; height: 36px !important; font-size: 15px !important; box-shadow: 0 0 0 2px oklch(1 0 0 / .85); }
.mh-list.hue.row3 .mh-row .mh-who b { font-size: 15px; font-weight: 700; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mh-list.hue.row3 .mh-row .mh-tr { justify-content: center; font-size: 13px; font-weight: 600; gap: 4px; }
.mh-list.hue.row3 .mh-row .mh-tr .ic { width: 14px; height: 14px; }
/* schedule */
.draftban { appearance: none; font: inherit; color: inherit; text-align: start; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); width: 100%; }
.draftban .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.draftban b { font-size: 16px; }
.navrow.wknav.stk::before { inset: -8px -20px -40px; }
@media (max-width: 999px) {
  .schedwrap > .schedbar { position: fixed; z-index: 14; left: 16px; right: 16px; bottom: calc(env(safe-area-inset-bottom, 0px) + var(--tabh) + 24px); padding: 0; background: none; max-width: 480px; margin-inline: auto; }
  .schedwrap > .schedbar .btn { box-shadow: 0 10px 28px oklch(0.3 0.08 172 / .28); }
  .schedwrap:has(.schedbar) { padding-bottom: 76px; }
}
@media (min-width: 1000px) {
  #app.wide .schedwrap > .draftban { grid-area: slim; }
  .mhub.hg-a, .mhub.hg-b, .mhub.hg-c { background-size: 100% 100%; }
  .mh-list.hue.row3 { grid-template-columns: repeat(var(--n, 3), minmax(120px, 1fr)); }
}

/* one floating toolbar on phones: month + highlight, then the week arrows */
.schedtop { position: sticky; top: 8px; z-index: 6; display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 26px; background: var(--glass); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: 0 6px 20px oklch(0 0 0 / .08), inset 0 0 0 1px oklch(1 0 0 / .5); }
.schedtop::before { content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -24px -20px -28px; background: linear-gradient(to bottom, var(--bg) 0%, color-mix(in oklab, var(--bg) 80%, transparent) 60%, transparent 100%); }
.schedtop .schedhead { margin: 0; }
.schedtop .monthbtn, .schedtop .hlbtn { background: transparent; border-color: transparent; }
.schedtop .wknav { position: static; background: var(--surface); border-radius: 999px; padding: 2px; box-shadow: none; }
.schedtop .wknav::before { display: none; }
.btn.draftgo { background: var(--fg); color: var(--bg); }
@media (min-width: 1000px) {
  #app.wide .schedtop { display: contents; }
  #app.wide .schedtop::before { display: none; }
  #app.wide .schedwrap .schedhead { grid-area: head; margin: 0; }
  #app.wide .schedwrap .wknav { grid-area: nav; justify-self: center; width: min(440px, 100%); }
  #app.wide .schedwrap .schedhead .grow { display: none; }
  #app.wide .schedwrap .monthbtn, #app.wide .schedwrap .hlbtn { background: var(--surface); border-color: var(--line); }
  #app.wide .schedwrap .wknav { height: 48px; min-height: 48px; box-sizing: border-box; padding: 0 4px; border: 1px solid var(--line); background: var(--surface); }
}

/* ── Round 14 ── */
/* desktop modals: × in the corner, title clear of it */
.sh-x { display: none; }
@media (min-width: 1000px) {
  .sheet:not(.dialog):not(.pop):not(.side) { padding-top: 28px; }
  .cs-main > p.cap:only-child { margin: auto; text-align: center; font-size: 15px; }
  .sheet .sh-x { display: grid; place-items: center; position: absolute; top: 16px; inset-inline-end: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sunk); color: var(--fg); cursor: pointer; z-index: 2; }
  .sheet .sh-x:hover { background: var(--line); }
  .sheet:not(.dialog):not(.pop) > h2:first-of-type, .sheet:not(.dialog) .cs-day { padding-inline-end: 52px; }
  .sheet.side .sh-x { inset-inline-end: 20px; top: 20px; }
  .sheet.side .cs-side { padding-top: 32px; }
  /* dropdowns anchored to their button */
  .scrim.clear { background: transparent !important; backdrop-filter: none !important; }
  .sheet.pop { position: fixed; inset: auto; translate: none; margin: 0; width: 360px; max-width: calc(100vw - 32px); max-height: min(70vh, 560px); border-radius: 20px; padding: 14px; box-shadow: 0 18px 48px oklch(0 0 0 / .18), 0 0 0 1px var(--line); animation: popin 200ms cubic-bezier(.2, .9, .3, 1.2) both; transform-origin: var(--ox, 24px) 0; }
  .sheet.pop .grab { display: none; }
  .sheet.pop > h2 { font-size: 13px; font-weight: 600; color: var(--muted); padding: 4px 6px 8px; margin: 0; }
  .sheet.pop .list .li { min-height: 44px; padding-block: 8px; }
  .sheet.pop .sect { font-size: 13px; padding-inline: 6px; }
  .sheet.pop .avgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .sheet.pop .avgrid button { padding: 8px 2px; border-radius: 14px; }
  .sheet.pop .avgrid button:hover { background: var(--sunk); }
  .sheet.pop .avgrid .av { width: 40px !important; height: 40px !important; font-size: 16px !important; }
  .sheet.pop .avgrid .cap { font-size: 11px; }
  .sheet.pop.out { animation: popout 140ms ease both; }
}
@keyframes popin { from { opacity: 0; transform: scale(.94) translateY(-6px); } }
@keyframes popout { to { opacity: 0; transform: scale(.97) translateY(-4px); } }
/* home: only the first "needs you" item keeps a filled button */
.attn-list .att:not(:first-child) .btn.sm:not(.ghost) { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line); }
.attn-list .att:first-child .btn.sm.soft, .attn-list .att:first-child .btn.sm.hotb { background: var(--primary); color: var(--on-primary, #fff); }
.mh-acts.small .mh-wa { background: oklch(1 0 0 / .16); color: #fff; box-shadow: inset 0 0 0 1px oklch(1 0 0 / .3); }
.mh-acts.small .mh-wa svg path { fill: currentColor; }
/* build: wand with twinkling sparkles */
.buildhead .wand { position: relative; width: 56px; height: 56px; border-radius: 18px; flex: none; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-ink); }
.buildhead .wand .ic { width: 28px; height: 28px; animation: wandwave 1.4s ease-in-out infinite; transform-origin: 30% 80%; }
.buildhead .wand i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: oklch(0.82 0.15 85); animation: twinkle 1.2s ease-in-out infinite; }
.buildhead .wand i:nth-of-type(1) { top: 6px; right: 8px; } .buildhead .wand i:nth-of-type(2) { top: 18px; left: 6px; animation-delay: .3s; width: 4px; height: 4px; }
.buildhead .wand i:nth-of-type(3) { bottom: 8px; right: 6px; animation-delay: .6s; width: 5px; height: 5px; } .buildhead .wand i:nth-of-type(4) { top: 4px; left: 22px; animation-delay: .9s; width: 3px; height: 3px; }
@keyframes wandwave { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(10deg); } }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.3); } 50% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .buildhead .wand .ic, .buildhead .wand i { animation: none; } .sheet.pop { animation: none; } }

/* ── Round 15 ── */
/* schedule: pinned publish button never covers the last day */
@media (max-width: 999px) {
  body.tabs-on .screen:has(.schedbar) { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + var(--tabh) + 24px + 56px + 24px) !important; }
}
/* the week bar is the date picker */
.wknav .wkpick { appearance: none; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; flex: 1; min-width: 0; padding: 4px 6px; border-radius: 18px; text-align: center; align-items: center; }
.wknav .wkpick:hover { background: var(--sunk); }
.wknav .wkpick:active { transform: scale(.98); }
.wk-top { display: inline-flex !important; align-items: center; justify-content: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--primary-ink); }
.wk-top .pubdot, .wk-top .drdot { display: inline-flex; } .wk-top .drdot { color: var(--muted); }
.wk-top .ic:last-child { opacity: .7; }
#wklbl.sw > b, #wklbl.sw > .cap { animation: lblin 320ms cubic-bezier(.22, 1, .36, 1) both; }
@keyframes lblin { from { opacity: 0; transform: translateY(4px); } }
.wk.inr, .wk.inl { animation: wkin 460ms cubic-bezier(.22, 1, .36, 1) both; }
@keyframes wkin { from { opacity: 0; transform: translateX(var(--dx)) scale(.985); } }
/* picker sheet */
.ds { display: flex; flex-direction: column; gap: 12px; }
.ds-months { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.ds-m { appearance: none; font: inherit; flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font-weight: 600; cursor: pointer; }
.ds-m.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.ds-m .ic { opacity: .75; }
.ds-w .pill { flex: none; }
.ds-w.me { background: var(--primary-soft); }
.sheet.pop .ds h2 { padding: 4px 6px 0; }
@media (min-width: 1000px) {
  #app.wide .schedwrap { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "nav acts" "slim slim" "hl hl" "grid grid"; }
  #app.wide .schedwrap .wknav { justify-self: start; width: min(460px, 100%); height: 56px; min-height: 56px; }
}
/* theme: inline segmented control with sliding thumb + circular reveal */
.themerow { border-bottom: 0 !important; padding-bottom: 4px; }
.th-ic { position: relative; } .th-ic .ic { position: absolute; transition: transform 500ms cubic-bezier(.34, 1.56, .64, 1), opacity 300ms; }
[data-theme="dark"] .th-ic .ic:first-child, [data-theme="light"] .th-ic .ic:last-child { opacity: 0; transform: rotate(-90deg) scale(.4); }
.tseg { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 14px 14px; padding: 4px; border-radius: 16px; background: var(--sunk); }
.tseg-th { position: absolute; top: 4px; bottom: 4px; inset-inline-start: 4px; width: calc((100% - 8px) / 3); border-radius: 12px; background: var(--surface); box-shadow: 0 2px 8px oklch(0 0 0 / .12); transform: translateX(calc(var(--i, 0) * 100%)); transition: transform 420ms cubic-bezier(.34, 1.3, .64, 1); }
[dir="rtl"] .tseg-th { transform: translateX(calc(var(--i, 0) * -100%)); }
.tseg button { position: relative; appearance: none; font: inherit; background: none; border: 0; color: var(--muted); min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 600; cursor: pointer; border-radius: 12px; transition: color 200ms; }
.tseg button.on { color: var(--fg); }
.tseg button.on .ic { animation: thpop 520ms cubic-bezier(.34, 1.56, .64, 1); }
@keyframes thpop { 0% { transform: rotate(-60deg) scale(.5); } 100% { transform: none; } }
html.vt-theme::view-transition-old(root), html.vt-theme::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.vt-theme::view-transition-new(root) { animation: threveal 620ms cubic-bezier(.4, 0, .2, 1) both; }
@keyframes threveal { from { clip-path: circle(0 at var(--vtx, 50%) var(--vty, 50%)); } to { clip-path: circle(150vmax at var(--vtx, 50%) var(--vty, 50%)); } }
@media (prefers-reduced-motion: reduce) { .tseg-th, .th-ic .ic { transition: none; } .tseg button.on .ic, #wklbl.sw > b, #wklbl.sw > .cap { animation: none; } }

/* home hub: text on the gradient, no boxes */
.mhub.hd2 { position: relative; overflow: hidden; gap: 18px; }
.hx-k { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .02em; opacity: .78; }
.hx-now, .hx-next { display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 1; }
.hx-big { display: flex; align-items: center; gap: 10px; font-size: 32px; line-height: 1.1; font-weight: 800; flex-wrap: wrap; }
.hx-big .av { flex: none; box-shadow: 0 0 0 2.5px currentColor !important; }
.hx-sep { opacity: .5; font-weight: 500; }
.hx-line { appearance: none; font: inherit; color: inherit; background: none; border: 0; padding: 6px 0; cursor: pointer; display: flex; align-items: center; gap: 10px; text-align: start; min-height: 44px; }
.hx-line b { font-size: 20px; font-weight: 700; }
.hx-line .av, .hl-row .av, .hr-w .av { box-shadow: 0 0 0 2px oklch(1 0 0 / .9) !important; flex: none; }
.hx-m { display: inline-flex; align-items: center; gap: 5px; font-size: 16px; font-weight: 500; opacity: .8; margin-inline-start: auto; }
.hx-m .ic { width: 16px; height: 16px; } .hx-m .t { font-weight: 700; opacity: 1; margin-inline-start: 4px; }
.hx-gap { color: oklch(0.85 0.12 20); } .lite .hx-gap { color: var(--no-ink); }
.hx-line + .hx-line { border-top: 1px solid oklch(1 0 0 / .14); } .lite .hx-line + .hx-line { border-top-color: oklch(0 0 0 / .08); }
.mhub.hd2 .mh-acts { position: relative; z-index: 1; }
/* list with small titles */
.hl-card { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 6px; border-radius: 22px; background: oklch(1 0 0 / .10); box-shadow: inset 0 0 0 1px oklch(1 0 0 / .14); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.lite .hl-card { background: oklch(1 0 0 / .45); box-shadow: inset 0 0 0 1px oklch(1 0 0 / .6); }
.hl-card .hx-k { padding-bottom: 4px; }
.hl-row { appearance: none; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 8px 0; min-height: 52px; text-align: start; }
.hl-row + .hl-row { border-top: 1px solid oklch(1 0 0 / .12); } .lite .hl-row + .hl-row { border-top-color: oklch(0 0 0 / .07); }
.hl-row .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hl-row b { font-size: 17px; font-weight: 700; } .hl-row.big b { font-size: 24px; font-weight: 800; }
.hl-m { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; opacity: .78; } .hl-m .ic { width: 15px; height: 15px; }
.hl-row > .t { font-size: 16px; font-weight: 700; }
/* timeline rail */
.hr { display: flex; flex-direction: column; position: relative; }
.hr::before { content: ""; position: absolute; inset-block: 22px; inset-inline-start: 62px; width: 2px; background: oklch(1 0 0 / .25); border-radius: 2px; } .lite .hr::before { background: oklch(0 0 0 / .12); }
.hr-i { appearance: none; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; display: grid; grid-template-columns: 52px 20px minmax(0, 1fr) auto; align-items: center; column-gap: 10px; min-height: 48px; text-align: start; }
.hr-t { font-size: 15px; font-weight: 700; text-align: end; opacity: .9; }
.hr-d { width: 12px; height: 12px; border-radius: 50%; justify-self: center; background: transparent; box-shadow: inset 0 0 0 2px currentColor; position: relative; z-index: 1; }
.hr-i.now .hr-d { background: var(--ok); box-shadow: 0 0 0 4px oklch(0.8 0.15 150 / .3); }
.hr-w { display: flex; align-items: center; gap: 8px; min-width: 0; } .hr-w b { font-size: 18px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hr-k { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; opacity: .75; } .hr-k .ic { width: 15px; height: 15px; }
/* gradients */
.mhub.g-glow { background: radial-gradient(130% 70% at 50% 120%, oklch(0.60 0.22 305) 0%, oklch(0.45 0.19 300 / .8) 30%, oklch(0.28 0.11 295 / .4) 56%, transparent 78%), oklch(0.15 0.012 290); }
.mhub.g-ember { background: radial-gradient(120% 65% at 50% -12%, oklch(0.60 0.21 28) 0%, oklch(0.45 0.17 25 / .75) 32%, transparent 70%), radial-gradient(90% 40% at 50% 115%, oklch(0.50 0.18 30 / .55), transparent 70%), oklch(0.14 0.012 25); }
.mhub.g-glow::before, .mhub.g-ember::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(oklch(1 0 0 / .09) 1px, transparent 1.6px) 0 0 / 14px 14px; -webkit-mask: linear-gradient(to bottom, transparent, #000 30%, #000 60%, transparent); mask: linear-gradient(to bottom, transparent, #000 30%, #000 60%, transparent); }
.mhub.g-glow::after, .mhub.g-ember::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; background: linear-gradient(to bottom, transparent 55%, oklch(0.78 0.17 305)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.mhub.g-ember::after { background: linear-gradient(to bottom, transparent 55%, oklch(0.72 0.17 30)); }
.mhub.g-sun { background: radial-gradient(90% 70% at 88% -5%, oklch(0.96 0.07 92), transparent 70%), linear-gradient(in oklch 165deg, oklch(0.91 0.09 75), oklch(0.80 0.14 52)); }
.mhub.g-sky { background: radial-gradient(90% 70% at 88% -5%, oklch(0.98 0.025 215), transparent 70%), linear-gradient(in oklch 170deg, oklch(0.91 0.055 225), oklch(0.78 0.10 242)); }
.mhub.lite { color: oklch(0.26 0.06 255); }
.mhub.g-sun.lite { color: oklch(0.28 0.08 40); }
.mhub.lite .brand { color: inherit; } .mhub.lite .brand .lg { background: currentColor; color: #fff; }
.mhub.lite .brand .lg { -webkit-text-fill-color: #fff; }
.mhub.lite .cap { color: inherit; opacity: .72; }
.mhub.lite .hx-big .av { box-shadow: 0 0 0 2.5px #fff !important; }
.mhub.lite .mh-wa { box-shadow: 0 6px 18px oklch(0.4 0.08 50 / .18); }
.mhub.dots .hx-big .t, .mhub.dots .hr-i.now .hr-t { font-family: "Px71", "Doto", "Google Sans", system-ui, sans-serif; font-weight: 900; letter-spacing: .02em; }
.mhub.dots .hx-big .t { font-size: 38px; }
@media (min-width: 1000px) {
  .mhub.hd2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "top top" "now next" "acts next"; align-items: start; column-gap: 40px; row-gap: 16px; }
  .mhub.hd2 > .hx-now, .mhub.hd2 > .hl-card:first-of-type { grid-area: now; }
  .mhub.hd2 > .hx-next, .mhub.hd2 > .hl-card + .hl-card { grid-area: next; }
  .mhub.hd2 > .mh-acts { grid-area: acts; align-self: end; }
  .mhub.hd2 .hx-big { font-size: 40px; }
}
.mhub.lite .brand .lg { background: oklch(0.26 0.06 255); color: #fff; }
.mhub.g-sun.lite .brand .lg { background: oklch(0.28 0.08 40); }
.mhub.lite .mh-acts.small .mh-wa, .mhub.lite .mh-call { background: oklch(1 0 0 / .6); color: inherit; box-shadow: inset 0 0 0 1px oklch(1 0 0 / .8); }
.mhub .hx-k .livedot { background: oklch(0.80 0.19 150); margin: 0; box-shadow: 0 0 0 3px oklch(0.80 0.19 150 / .25); }

/* ── Round 15b ── */
.gseg button .ic { width: 18px; height: 18px; margin-inline-end: 6px; vertical-align: -3px; }
.gbig button.on { border-color: var(--primary); background: var(--primary-soft); }
.gbig .mi { width: 52px; height: 52px; } .gbig .mi .ic { width: 26px; height: 26px; }
.obcal-hero { display: grid; place-items: center; margin: 8px 0 4px; } .obcal-hero .mi { width: 88px; height: 88px; border-radius: 28px; } .obcal-hero .mi .ic { width: 44px; height: 44px; }
/* schedule views */
.gvseg { background: var(--surface); }
.dayv { display: grid; grid-template-columns: 1fr; gap: 10px; }
.dayv > * { min-height: 84px; }
.mview .bc { cursor: pointer; border-radius: 12px; transition: background-color 160ms; }
.mview .bc:hover { background: var(--sunk); }
.mview .bc.tdy > b { background: var(--primary); color: var(--on-primary, #fff); border-radius: 999px; padding: 0 6px; }
.mview .bc.past { opacity: .5; }
.mview > p.cap { display: none; }
@media (min-width: 1000px) {
  #app.wide .schedwrap { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "seg nav acts" "slim slim slim" "hl hl hl" "grid grid grid"; }
  #app.wide .schedwrap .gvseg { grid-area: seg; width: 300px; height: 56px; box-sizing: border-box; border: 1px solid var(--line); }
  #app.wide .schedwrap .wknav { justify-self: center; }
  .dayv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* hub: square cards that scroll sideways */
.hc { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -20px; padding: 2px 20px 6px; scroll-padding-inline: 20px; }
.hc::-webkit-scrollbar { display: none; }
.hc-i { appearance: none; font: inherit; color: inherit; cursor: pointer; flex: none; width: 148px; aspect-ratio: 1 / 1.08; scroll-snap-align: start; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 14px; border-radius: 26px; border: 0; text-align: start; background: linear-gradient(160deg, oklch(1 0 0 / .16), oklch(1 0 0 / .06)); box-shadow: inset 0 0 0 1px oklch(1 0 0 / .16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); position: relative; overflow: hidden; }
.hc-i::before { content: ""; position: absolute; inset: auto -30% -45% auto; width: 110%; aspect-ratio: 1; border-radius: 50%; background: var(--hb); opacity: .28; filter: blur(22px); pointer-events: none; }
.lite .hc-i { background: linear-gradient(160deg, oklch(1 0 0 / .7), oklch(1 0 0 / .45)); box-shadow: inset 0 0 0 1px oklch(1 0 0 / .8), 0 8px 20px oklch(0.4 0.06 250 / .1); }
.hc-k { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; opacity: .85; } .hc-k .ic { width: 15px; height: 15px; }
.hc-i b { font-size: 18px; font-weight: 800; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-t { font-size: 15px; font-weight: 700; opacity: .9; }
.hc-i .av { box-shadow: 0 0 0 2.5px oklch(1 0 0 / .9) !important; position: relative; }
.hc-i.gap { box-shadow: inset 0 0 0 1.5px oklch(0.8 0.12 20 / .7); }
/* build: full screen, solid blocks, tick over blur, wipe */
body.buildfs #tabbar, body.buildfs .side, body.buildfs #side { display: none !important; }
body.buildfs .screen { padding-bottom: 32px !important; }
.bgrid.solid i.b { color: transparent; }
.bgrid.named i.b { color: inherit; transition: color 400ms ease 250ms, opacity 260ms, transform 420ms; }
.bdone { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: color-mix(in oklab, var(--bg) 40%, transparent); -webkit-backdrop-filter: blur(0px); backdrop-filter: blur(0px); opacity: 0; transition: opacity 320ms ease, backdrop-filter 420ms ease, -webkit-backdrop-filter 420ms ease; clip-path: inset(0 0 0 0); }
.bdone.on { opacity: 1; -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); }
.bdone .bd-in { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; transform: scale(.9); opacity: 0; transition: transform 520ms cubic-bezier(.34, 1.56, .64, 1) 80ms, opacity 240ms 80ms; }
.bdone.on .bd-in { transform: none; opacity: 1; }
.bdone .tickdraw { width: 120px; height: 120px; }
.bdone b { font-size: 26px; font-weight: 800; } .bdone span { font-size: 16px; color: var(--muted); }
.bdone.wipe { transition: clip-path 620ms cubic-bezier(.65, 0, .35, 1); clip-path: inset(0 100% 0 0); }
[dir="ltr"] .bdone.wipe { clip-path: inset(0 0 0 100%); }

/* ── Round 15c ── */
/* sliding theme switch */
.themerow { border-bottom: 1px solid var(--line) !important; padding-bottom: 0; }
.tsw { appearance: none; position: relative; flex: none; width: 56px; height: 34px; border-radius: 999px; border: 0; padding: 0; cursor: pointer; background: color-mix(in oklab, var(--muted) 35%, var(--sunk)); transition: background-color 280ms ease; }
.tsw.on { background: var(--primary); }
.tsw[aria-disabled="true"] { opacity: .45; cursor: default; }
.tsw > i { position: absolute; top: 3px; inset-inline-start: 3px; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px oklch(0 0 0 / .25); display: grid; place-items: center; transition: transform 420ms cubic-bezier(.34, 1.45, .64, 1); color: oklch(0.55 0.12 70); }
.tsw.on > i { transform: translateX(22px); color: oklch(0.45 0.12 270); }
[dir="rtl"] .tsw.on > i { transform: translateX(-22px); }
.tsw:active > i { width: 32px; }
.tsw > i .ic { position: absolute; width: 16px; height: 16px; transition: transform 420ms cubic-bezier(.34, 1.45, .64, 1), opacity 220ms; }
.tsw > i .ic:last-child, .tsw.on > i .ic:first-child { opacity: 0; transform: rotate(-90deg) scale(.4); }
.tsw.on > i .ic:last-child { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .tsw, .tsw > i, .tsw > i .ic { transition: none; } }
/* centred hub: taller, airy, 8-bit icons over dot numerals, no white rings */
.pxic { display: block; flex: none; }
.mhub.pc { min-height: min(84svh, 720px); gap: 22px; }
.mhub.pc .av { box-shadow: none !important; }
.mhub.pc .t { font-family: "Px71", "Doto", "Google Sans", system-ui, sans-serif; font-weight: 900; letter-spacing: .02em; }
.pc-now { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; position: relative; z-index: 1; padding-block: 8px; }
.pc-ic { opacity: .95; margin-bottom: 2px; }
.pc-time { font-size: 64px; line-height: 1; }
.pc-who { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; } .pc-who b { font-size: 26px; font-weight: 800; }
.pc-now .hx-k, .pc-next > .hx-k { justify-content: center; }
.pc-next { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.pc-next > .hx-k { display: flex; align-items: center; gap: 10px; } .pc-next > .hx-k::before, .pc-next > .hx-k::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .2; }
.pc-cols { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 8px; }
.pc-col { appearance: none; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 4px; border-radius: 20px; min-width: 0; }
.pc-col:hover { background: oklch(1 0 0 / .06); }
.pc-col .t { font-size: 22px; } .pc-col b { font-size: 17px; font-weight: 700; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-col .pxic { opacity: .8; }
.pc-cards { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; justify-content: safe center; margin-inline: -20px; padding: 2px 20px 6px; scroll-snap-type: x mandatory; }
.pc-cards::-webkit-scrollbar { display: none; }
.pc-card { appearance: none; font: inherit; color: inherit; cursor: pointer; flex: none; width: 150px; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px 14px; border-radius: 26px; border: 0; background: linear-gradient(170deg, oklch(1 0 0 / .14), oklch(1 0 0 / .04)); box-shadow: inset 0 0 0 1px oklch(1 0 0 / .14); position: relative; overflow: hidden; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.pc-card::before { content: ""; position: absolute; left: 50%; bottom: -60%; width: 120%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: var(--hb); opacity: .3; filter: blur(24px); pointer-events: none; }
.lite .pc-card { background: linear-gradient(170deg, oklch(1 0 0 / .7), oklch(1 0 0 / .45)); box-shadow: inset 0 0 0 1px oklch(1 0 0 / .8); }
.pc-card .t { font-size: 24px; position: relative; } .pc-card b { font-size: 17px; font-weight: 800; position: relative; } .pc-card .av { position: relative; margin-top: 4px; }
.pc-k { font-size: 13px; opacity: .7; position: relative; margin-top: -4px; }
.pc-card.gap { box-shadow: inset 0 0 0 1.5px oklch(0.8 0.12 20 / .7); }
.pc-lines { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pc-line { appearance: none; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 12px; border-radius: 999px; }
.pc-line:hover { background: oklch(1 0 0 / .06); }
.pc-line .t { font-size: 22px; } .pc-line b { font-size: 19px; font-weight: 700; } .pc-line .pxic { opacity: .8; }
.pc-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .4; }
@media (min-width: 1000px) {
  .mhub.pc { min-height: 0; }
  .mhub.hd2 > .pc-now { grid-area: now; } .mhub.hd2 > .pc-next { grid-area: next; align-self: center; }
  .mhub.pc { grid-template-areas: "top top" "now next" "acts acts"; }
  .mhub.pc > .mh-acts { justify-self: center; width: min(520px, 100%); }
  .pc-time { font-size: 72px; }
}

/* ── Round 15d ── */
/* glow colour follows the shift on now: morning amber, afternoon sky, evening rose, night violet */
.mhub { --glow: oklch(0.60 0.22 305); --rim: oklch(0.78 0.17 305); }
.mhub.sk-m { --glow: oklch(0.68 0.17 62); --rim: oklch(0.85 0.14 70); }
.mhub.sk-a { --glow: oklch(0.62 0.15 235); --rim: oklch(0.80 0.12 225); }
.mhub.sk-e { --glow: oklch(0.62 0.20 10); --rim: oklch(0.80 0.15 15); }
.mhub.sk-n { --glow: oklch(0.58 0.22 300); --rim: oklch(0.78 0.17 305); }
.mhub.g-glow { background: radial-gradient(130% 70% at 50% 120%, var(--glow) 0%, color-mix(in oklch, var(--glow) 80%, transparent) 30%, color-mix(in oklch, var(--glow) 35%, transparent) 56%, transparent 78%), oklch(0.15 0.012 290); }
.mhub.g-glow::after { background: linear-gradient(to bottom, transparent 55%, var(--rim)); }
/* light version: white card, dark dots, the glow at the bottom */
.mhub.g-pearl { color: oklch(0.22 0.02 280); background: radial-gradient(130% 62% at 50% 122%, color-mix(in oklch, var(--glow) 75%, white) 0%, color-mix(in oklch, var(--glow) 35%, white) 34%, transparent 70%), oklch(0.995 0.003 280); box-shadow: 0 1px 0 oklch(0 0 0 / .06), 0 12px 32px oklch(0.3 0.05 280 / .08); }
.mhub.g-pearl::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(oklch(0.2 0.02 280 / .10) 1px, transparent 1.6px) 0 0 / 14px 14px; -webkit-mask: linear-gradient(to bottom, transparent, #000 25%, #000 65%, transparent); mask: linear-gradient(to bottom, transparent, #000 25%, #000 65%, transparent); }
.mhub.g-pearl::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; background: linear-gradient(to bottom, transparent 55%, var(--glow)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.mhub.g-pearl .brand { color: inherit; } .mhub.g-pearl .brand .lg { background: oklch(0.22 0.02 280); color: #fff; } .mhub.g-pearl .cap { color: inherit; opacity: .65; }
.mhub.g-pearl .pc-card { background: linear-gradient(170deg, oklch(1 0 0 / .9), oklch(1 0 0 / .6)); box-shadow: inset 0 0 0 1px oklch(0 0 0 / .06), 0 6px 18px oklch(0.3 0.05 280 / .08); }
/* avatar sized to the name it sits beside (≈ the name’s line height) */
.pc-who { gap: 10px; } .pc-who b { font-size: 30px; line-height: 1.15; } .pc-who .av { width: 1.15em !important; height: 1.15em !important; font-size: 30px !important; }
.pc-who .av { font-size: 15px !important; } .pc-who { font-size: 30px; } .pc-who .av { width: 35px !important; height: 35px !important; }
/* glass bottom buttons with dotted icons */
.mhub.pc .mh-acts .mh-wa, .mhub.pc .mh-acts .mh-call { background: linear-gradient(170deg, oklch(1 0 0 / .16), oklch(1 0 0 / .05)) !important; color: inherit !important; box-shadow: inset 0 0 0 1px oklch(1 0 0 / .18) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-weight: 700; }
.mhub.pc.lite .mh-acts .mh-wa, .mhub.pc.lite .mh-acts .mh-call, .mhub.g-pearl .mh-acts .mh-wa, .mhub.g-pearl .mh-acts .mh-call { background: oklch(1 0 0 / .75) !important; box-shadow: inset 0 0 0 1px oklch(0 0 0 / .06), 0 6px 18px oklch(0.3 0.05 280 / .1) !important; }
.mhub.pc .mh-acts { gap: 10px; }
.mhub.pc .mh-acts .mh-wa { flex: 1; min-height: 54px; }
.mhub.pc .mh-acts .mh-call { width: 54px; height: 54px; display: grid; place-items: center; }
.wa-dots { color: oklch(0.78 0.19 150); }
/* next + blurred stack */
.pcs-wrap { position: relative; display: flex; flex-direction: column; }
.pc-row { appearance: none; font: inherit; color: inherit; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 22px; border: 0; text-align: start; background: linear-gradient(170deg, oklch(1 0 0 / .14), oklch(1 0 0 / .05)); box-shadow: inset 0 0 0 1px oklch(1 0 0 / .14); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); position: relative; z-index: 2; }
.lite .pc-row, .g-pearl .pc-row { background: oklch(1 0 0 / .8); box-shadow: inset 0 0 0 1px oklch(0 0 0 / .06), 0 6px 18px oklch(0.3 0.05 280 / .08); }
.pc-rt { display: flex; flex-direction: column; gap: 0; } .pc-rt .t { font-size: 22px; line-height: 1.1; }
.pc-rw { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 8px; } .pc-rw b { font-size: 19px; font-weight: 800; line-height: 1.2; } .pc-rw .av { width: 23px !important; height: 23px !important; font-size: 11px !important; }
.pcs-peek { appearance: none; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; position: relative; height: 40px; margin-top: -6px; display: flex; justify-content: center; align-items: flex-end; }
.pcs-l { position: absolute; top: 0; left: 50%; translate: -50% 0; height: 22px; border-radius: 0 0 18px 18px; background: oklch(1 0 0 / .10); box-shadow: inset 0 -1px 0 oklch(1 0 0 / .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lite .pcs-l, .g-pearl .pcs-l { background: oklch(1 0 0 / .55); box-shadow: 0 4px 10px oklch(0.3 0.05 280 / .06); }
.pcs-l.l1 { width: 92%; z-index: 1; } .pcs-l.l2 { width: 84%; top: 6px; opacity: .7; }
.pcs-lbl { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; opacity: .75; }
.pcs-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms cubic-bezier(.22, 1, .36, 1), opacity 300ms; opacity: 0; }
.pcs-more > * { min-height: 0; overflow: hidden; }
.pcs-more { display: flex; flex-direction: column; gap: 8px; max-height: 0; overflow: hidden; transition: max-height 460ms cubic-bezier(.22, 1, .36, 1), opacity 300ms, margin 300ms; }
.pc-stack.open .pcs-more { max-height: 400px; opacity: 1; margin-top: 8px; }
.pc-stack.open .pcs-l { opacity: 0; } .pc-stack.open .pcs-lbl .ic { transform: rotate(180deg); }
.pcs-lbl .ic { transition: transform 300ms; }
/* dropdown */
.pcd-head { appearance: none; font: inherit; color: inherit; cursor: pointer; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 54px; padding: 0 16px; border-radius: 999px; border: 0; background: linear-gradient(170deg, oklch(1 0 0 / .14), oklch(1 0 0 / .05)); box-shadow: inset 0 0 0 1px oklch(1 0 0 / .14); }
.lite .pcd-head, .g-pearl .pcd-head { background: oklch(1 0 0 / .8); box-shadow: inset 0 0 0 1px oklch(0 0 0 / .06); }
.pcd-head .hx-k { opacity: 1; font-size: 15px; }
.pcd-head .hx-k::before, .pcd-head .hx-k::after { display: none; }
.pcd-peek { display: inline-flex; margin-inline-start: auto; } .pcd-peek .av { margin-inline-start: -6px; box-shadow: 0 0 0 2px oklch(0.2 0.02 290) !important; }
.lite .pcd-peek .av, .g-pearl .pcd-peek .av { box-shadow: 0 0 0 2px #fff !important; }
.pcd-n { font-size: 14px; font-weight: 700; opacity: .7; }
.pcd-head > .ic { transition: transform 300ms; } .pc-drop.open .pcd-head > .ic { transform: rotate(180deg); }
.pcd-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms cubic-bezier(.22, 1, .36, 1); }
.pcd-body > div { min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 8px; }
.pc-drop.open .pcd-body { grid-template-rows: 1fr; } .pc-drop.open .pcd-body > div { padding-top: 8px; }
.pc-drop .pc-row { opacity: 0; transform: translateY(-6px); transition: opacity 260ms, transform 360ms cubic-bezier(.22, 1, .36, 1); }
.pc-drop.open .pc-row { opacity: 1; transform: none; } .pc-drop.open .pc-row:nth-child(2) { transition-delay: 50ms; } .pc-drop.open .pc-row:nth-child(3) { transition-delay: 100ms; }
@media (prefers-reduced-motion: reduce) { .pcs-more, .pcd-body, .pc-drop .pc-row { transition: none; } }

/* ── Round 15e: live hub that morphs into notifications ── */
@property --glow { syntax: "<color>"; inherits: true; initial-value: oklch(0.58 0.22 300); }
@property --rim { syntax: "<color>"; inherits: true; initial-value: oklch(0.78 0.17 305); }
.mhub { transition: --glow 900ms cubic-bezier(.4, 0, .2, 1), --rim 900ms cubic-bezier(.4, 0, .2, 1); }
.mhub.sk-y { --glow: oklch(0.72 0.17 80); --rim: oklch(0.86 0.14 85); }
.mhub.sk-r { --glow: oklch(0.60 0.22 22); --rim: oklch(0.78 0.17 22); }
.mhub.sk-t { --glow: oklch(0.66 0.14 175); --rim: oklch(0.82 0.12 175); }
.hub-stage { display: contents; }
@media (max-width: 999px) { .mhub.pc .hub-stage { display: flex; flex-direction: column; gap: 22px; flex: 1; position: relative; z-index: 1; } }
.hub-stage.out > * { opacity: 0; filter: blur(10px); transform: translateY(-8px) scale(.98); transition: opacity 220ms ease, filter 240ms ease, transform 260ms ease; }
.hub-stage.in > * { animation: hubin 520ms cubic-bezier(.22, 1, .36, 1) both; }
.hub-stage.in > :nth-child(2) { animation-delay: 70ms; } .hub-stage.in > :nth-child(3) { animation-delay: 140ms; }
@keyframes hubin { from { opacity: 0; filter: blur(12px); transform: translateY(10px) scale(.98); } }
.hub-pulse { position: absolute; left: 50%; bottom: -30%; width: 140%; aspect-ratio: 2 / 1; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); opacity: 0; pointer-events: none; z-index: 0; }
.mhub.pulse .hub-pulse { animation: hubpulse 1400ms cubic-bezier(.4, 0, .2, 1) 1; }
@keyframes hubpulse { 0% { opacity: 0; transform: scale(.85); } 35% { opacity: .75; transform: scale(1.05); } 100% { opacity: 0; transform: scale(1.12); } }
.hub-alert { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding-inline: 8px; }
.ha-back { appearance: none; font: inherit; color: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 0; background: oklch(1 0 0 / .1); box-shadow: inset 0 0 0 1px oklch(1 0 0 / .14); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.lite .ha-back, .g-pearl .ha-back { background: oklch(1 0 0 / .7); box-shadow: inset 0 0 0 1px oklch(0 0 0 / .06); }
.ha-t { font-size: 28px; font-weight: 800; line-height: 1.2; text-wrap: balance; } .ha-s { font-size: 16px; opacity: .75; }
.hub-alert .av { box-shadow: none !important; }
.mhub.pc .ha-acts .mh-wa { flex: 1.4; } .mhub.pc .ha-acts .mh-later { flex: 1; min-height: 54px; background: transparent !important; color: inherit; box-shadow: inset 0 0 0 1px oklch(1 0 0 / .22) !important; font-weight: 600; }
.mhub.pc .ha-acts .mh-wa { background: oklch(1 0 0 / .92) !important; color: oklch(0.2 0.02 280) !important; }
.mhub.g-pearl .ha-acts .mh-wa { background: oklch(0.22 0.02 280) !important; color: #fff !important; }
.mhub.g-pearl .ha-acts .mh-later { box-shadow: inset 0 0 0 1px oklch(0 0 0 / .12) !important; }
@media (prefers-reduced-motion: reduce) { .hub-stage.out > *, .hub-stage.in > * { transition: none; animation: none; filter: none; } .mhub.pulse .hub-pulse { animation: none; } .mhub { transition: none; } }

/* ── Round 15f ── */
/* stack: even 10px edges, label clear below them */
.pcs-peek { margin-top: 0; height: 52px; align-items: flex-end; padding-bottom: 2px; }
.pcs-l { top: -14px; border-radius: 0 0 18px 18px; }
.pcs-l.l1 { width: 92%; height: 24px; top: -14px; opacity: 1; } .pcs-l.l2 { width: 84%; height: 34px; top: -14px; opacity: .6; }
.pc-stack.open .pcs-peek { height: 32px; }
/* animated pixel icons: two frames, stepped like a little LED screen */
.pxanim .pa { animation: pxa 1.4s steps(1, end) infinite; } .pxanim .pb { animation: pxb 1.4s steps(1, end) infinite; }
@keyframes pxa { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes pxb { 0% { opacity: 0; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pxanim .pa { animation: none; opacity: 1; } .pxanim .pb { animation: none; opacity: 0; } }
/* glow per shift: morning light blue, afternoon gold, evening rose, night purple */
.mhub.sk-m { --glow: oklch(0.72 0.12 225); --rim: oklch(0.86 0.09 220); }
.mhub.sk-a { --glow: oklch(0.72 0.16 75); --rim: oklch(0.86 0.13 82); }
.mhub.sk-e { --glow: oklch(0.62 0.20 10); --rim: oklch(0.80 0.15 15); }
.mhub.sk-n { --glow: oklch(0.58 0.22 300); --rim: oklch(0.78 0.17 305); }
/* light version: no hard line, a soft glow at the bottom edge instead */
.mhub.g-pearl::after { padding: 0; background: none; -webkit-mask: none; mask: none; box-shadow: inset 0 -28px 36px -26px color-mix(in oklch, var(--glow) 70%, transparent); }
.mhub.g-pearl { box-shadow: 0 12px 32px oklch(0.3 0.05 280 / .08); }
/* dotty buttons */
.mhub.pc .mh-acts .wa-dots { width: 24px; height: 24px; }
/* live alert order */
.hub-alert .ha-back { margin: 2px 0 10px; }

/* Round 15g: stack layers only show below the card, open label, bolder call/WA dots */
.pcs-l, .pcs-l.l1, .pcs-l.l2 { clip-path: inset(14px 0 0 0); }
.pcs-lbl .ll { display: none; } .pc-stack.open .pcs-lbl .lm { display: none; } .pc-stack.open .pcs-lbl .ll { display: inline; }
.mhub.pc .mh-call .pxic { width: 22px; height: 22px; }
.mhub.pc .mh-acts .wa-dots { color: currentColor; }

/* Round 15h: week picker top line never wraps */
.wk-top { white-space: nowrap; max-width: 100%; overflow: hidden; }

/* Round 15i: hero avatar optically matched to the name, alert name line, smaller WA logo */
.pc-who .av { width: 26px !important; height: 26px !important; font-size: 13px !important; }
.pc-who { gap: 8px; }
.mhub.pc .mh-acts .wa-dots { width: 18px; height: 18px; }
.ha-who { display: inline-flex; align-items: center; gap: 8px; } .ha-who b { font-size: 28px; font-weight: 800; line-height: 1.2; }
.ha-who .av { width: 24px !important; height: 24px !important; font-size: 12px !important; }
.ha-t2 { font-size: 20px; font-weight: 600; margin-top: -6px; }
@media (max-width: 400px) { .wknav .wkpick { padding: 4px 0; } .wk-top { gap: 3px; } }

/* Round 15j: picture sheet: category chips stick to the top, Save pinned to the bottom */
.pkcats { position: sticky; top: -1px; z-index: 2; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 8px 20px 10px; background: var(--surface); }
.pkcats::-webkit-scrollbar { display: none; }
.pkcats button { appearance: none; flex: none; height: 36px; padding: 0 14px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--surface); color: inherit; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color 160ms, color 160ms, border-color 160ms; }
.pkcats button.on { background: var(--fg); color: var(--surface); border-color: transparent; }
.pksec { padding-bottom: 16px; scroll-margin-top: 56px; }
.pkh { font-size: 13px; font-weight: 600; color: var(--muted); margin: 4px 0 10px; }
.pkfoot { position: sticky; bottom: 0; z-index: 2; margin: 0 -20px -20px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to bottom, transparent, var(--surface) 14px); }
.pkfoot .btn { width: 100%; }
.pkcats, .pksec, .pkfoot { flex: none; }
.pkfoot { bottom: calc(-20px - env(safe-area-inset-bottom, 0px)); margin-bottom: calc(-20px - env(safe-area-inset-bottom, 0px)); }
.pkcats { top: -10px; padding-top: 12px; }

/* Round 15k: hub buttons. A one full white button, B two equal (white + glass), C the same pair under the name */
.pc-acts { display: flex; gap: 10px; width: 100%; position: relative; z-index: 1; }
.pc-acts .btn { flex: 1 1 0; min-width: 0; min-height: 52px; border-radius: 999px; font-weight: 700; font-size: 16px; gap: 8px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; padding: 0 16px; white-space: nowrap; }
.pc-acts .btn .ic, .pc-acts .btn svg { width: 20px; height: 20px; }
.mhub.pc .pcb-wa { background: oklch(1 0 0 / .94) !important; color: oklch(0.2 0.02 280) !important; box-shadow: none !important; }
.mhub.pc .pcb-wa svg path { fill: currentColor; }
.mhub.pc .pcb-call { background: transparent !important; color: inherit !important; box-shadow: inset 0 0 0 1px oklch(1 0 0 / .26) !important; }
.mhub.g-pearl .pcb-wa, .mhub.lite .pcb-wa { background: oklch(0.22 0.02 280) !important; color: #fff !important; }
.mhub.g-pearl .pcb-call, .mhub.lite .pcb-call { box-shadow: inset 0 0 0 1px oklch(0 0 0 / .14) !important; }
.pc-acts.in { margin-top: 18px; max-width: 300px; }
.pc-acts.in .btn { min-height: 46px; font-size: 15px; }
.pc-now:has(.pc-acts.in) { width: 100%; align-items: center; }
/* lines: one shows, the rest open on tap or swipe */
.pc-lstack .pcs-more { gap: 2px; align-items: center; }
.pc-lstack.open .pcs-more { margin-top: 2px; }
.pcl-peek { height: auto !important; padding: 6px 12px; margin-top: 2px; }
.mhub.pc .mh-wa .ic + * { margin: 0; }
.mhub.pc .ha-acts .mh-wa { gap: 8px; } .mhub.pc .ha-acts .mh-wa .ic { width: 20px; height: 20px; }
.pc-acts:not(.in) { align-self: stretch; width: auto; margin-top: auto; }
@media (max-width: 999px) { .mhub.pc .hub-stage { align-self: stretch; align-items: center; } .mhub.pc .hub-stage > .pc-next { align-self: stretch; } }
@media (max-width: 999px) { .mhub.pc .hub-stage > .mh-acts, .mhub.pc .hub-stage .ha-acts { align-self: stretch; } }
.mhub.pc .ha-acts .mh-wa .ic { color: inherit !important; }

/* Round 15l: lines on a fixed grid. Icon | time | avatar | name, same columns folded and open */
.mhub.pc .pc-lines { display: grid; grid-template-columns: 20px auto 24px minmax(0, 1fr); column-gap: 12px; row-gap: 0; align-items: center; width: min(100%, 290px); margin: 0 auto; }
.mhub.pc .pc-lines > .pc-line, .mhub.pc .pc-lstack .pcs-more > .pc-line { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: center; min-height: 44px; padding: 0; border-radius: 12px; gap: 0 12px; width: auto; }
.mhub.pc .pc-lstack .pcs-more { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; gap: 0; margin: 0 !important; align-items: center; }
.mhub.pc .pc-line .pl-ic, .mhub.pc .pc-line .pl-av { display: grid; place-items: center; width: 100%; }
.mhub.pc .pc-line .t { justify-self: start; font-size: 22px; line-height: 1; font-variant-numeric: tabular-nums; }
.mhub.pc .pc-line b { justify-self: start; text-align: start; font-size: 19px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.mhub.pc .pc-line .pc-dot { display: none; }
.mhub.pc .pcl-peek { margin-top: 6px; }
/* notification buttons: icons black like the text, both 20px, centred on the label */
.mhub.pc .ha-acts .mh-wa { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.mhub.pc .ha-acts .mh-wa .ic { display: block; flex: none; width: 20px; height: 20px; color: currentColor !important; }
.mhub.pc .ha-acts .mh-wa .ic svg { display: block; width: 20px; height: 20px; stroke: currentColor; }
.mhub.pc .pc-lines { grid-template-columns: 20px auto 24px auto; width: max-content; max-width: 100%; }
.mhub.pc .ha-acts .mh-wa .ic svg, .mhub .pc-acts .btn svg { color: inherit !important; stroke: currentColor; }
.mhub.pc .ha-acts .mh-wa .ic svg path[d^="M20 6"] { stroke-width: 2.5; }
.mhub.pc .ha-acts .mh-wa .ic:has(path[d^="M20 6"]), .mhub.pc .ha-acts .mh-wa .ic:has(path[d^="M20 6"]) svg { width: 22px; height: 22px; }

/* Round 15m: lines grouped in pairs (icon+time, avatar+name); smaller, optically centred button icons */
.mhub.pc .pc-lines { column-gap: 0; grid-template-columns: 20px auto 24px auto; }
.mhub.pc .pc-lines > .pc-line, .mhub.pc .pc-lstack .pcs-more > .pc-line { column-gap: 0; }
.mhub.pc .pc-line .t { margin-inline-start: 8px; margin-inline-end: 24px; }
.mhub.pc .pc-line b { margin-inline-start: 8px; }
.mhub.pc .ha-acts .mh-wa .ic, .mhub.pc .ha-acts .mh-wa .ic svg, .mhub.pc .ha-acts .mh-wa .ic:has(path[d^="M20 6"]), .mhub.pc .ha-acts .mh-wa .ic:has(path[d^="M20 6"]) svg { width: 18px; height: 18px; }
.mhub.pc .ha-acts .mh-wa .ic { transform: translateY(-1px); }
.mhub.pc .ha-acts .mh-wa .ic:has(path[d^="M20 6"]) svg path { stroke-width: 2.4; }
.mhub.pc .pc-line .t, .mhub.pc .pc-line b { margin-inline: 0; }
.mhub.pc .pc-lines { grid-template-columns: 28px auto 56px auto; }
.mhub.pc .pc-line .pl-ic { justify-items: start; padding-inline-end: 8px; }
.mhub.pc .pc-line .pl-av { justify-items: end; padding-inline-end: 8px; }
.mhub.pc .ha-acts .mh-wa .ic:has(rect) { transform: translateY(-3px); }
.mhub.pc .ha-acts .mh-wa .ic:has(path[d^="M20 6"]) { transform: translateY(0); }
.mhub.pc .ha-acts .mh-wa .ic:has(rect) { transform: translateY(-4px); }
.mhub.pc .ha-acts .mh-wa .ic:has(rect) { transform: translateY(-2px); }

/* Round 15n: no layout shift when the page scrollbar appears on tab switch */
html { scrollbar-gutter: stable; }
/* Round 18b: name-first hero (LS icon_hubN "n"; "t" = time-first). Order: status, icon, NAME, time + kind */
.pc-now.pn { gap: 8px; }
.pc-now.pn .pn-st { font-size: 15px; opacity: .85; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.pc-now.pn .pc-ic { margin: 0 0 4px; }
.pc-now.pn .pn-who { margin: 0; gap: 12px; }
.pc-now.pn .pn-who b { font-size: 44px; line-height: 1.1; font-weight: 700; letter-spacing: -.01em; }
.pc-now.pn .pn-who .av { width: 40px !important; height: 40px !important; font-size: 16px !important; }
.pc-now.pn .pn-tl { display: inline-flex; align-items: baseline; gap: 10px; opacity: .9; }
.pc-now.pn .pn-tl .t { font-size: 28px; line-height: 1; }
.pc-now.pn .pn-k { font-size: 16px; opacity: .8; }
@media (min-width: 1000px) { .pc-now.pn .pn-who b { font-size: 52px; } .pc-now.pn .pn-tl .t { font-size: 32px; } }
.pc-now.pn .pn-gap { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 0; background: oklch(0.62 0.17 20 / .9); color: #fff; font: 600 15px var(--font); margin-bottom: 8px; cursor: pointer; }

/* Round 19: hero = icon, NAME, what, centred time. Greeting is the card title (bigger), not a label on the icon */
.pc-now.pn2 { gap: 0; position: relative; }
.pc-now.pn2 .pn-hi { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 64px); text-align: center; font-size: 22px; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; text-wrap: balance; }
.pc-now.pn2 .pc-ic { margin: 0 0 12px; }
.pc-now.pn2 .pn-name { display: block; font-size: 56px; line-height: 1.05; font-weight: 700; letter-spacing: -.015em; }
.pc-now.pn2 .pn-what { display: block; margin-top: 6px; font-size: 20px; font-weight: 400; opacity: .82; }
.pc-now.pn2 .pn-time { display: block; margin-top: 16px; font-size: 32px; line-height: 1; text-align: center; }
.pc-now.pn2 .pn-name.dotty { -webkit-mask: radial-gradient(circle, #000 0 1.25px, transparent 1.55px) 0 0 / 3.4px 3.4px; mask: radial-gradient(circle, #000 0 1.25px, transparent 1.55px) 0 0 / 3.4px 3.4px; font-weight: 800; font-size: 64px; }
.pc-now.pn2 .pn-name.huec { color: oklch(from var(--hb) .86 calc(c * 1.4) h); }
.pc-now.pn2 .pn-name.huechip { background: var(--hb); color: #fff; padding: 2px 22px 8px; border-radius: 999px; font-size: 48px; }
.pc-now.pn2 .pn-two { display: flex; gap: 28px; justify-content: center; }
.pc-now.pn2 .pn-one { display: grid; justify-items: center; }
.pc-now.pn2 .pn-two .pn-name { font-size: 40px; }
.pc-now.pn2 .pn-two .pn-time { font-size: 24px; margin-top: 8px; }
@media (min-width: 1000px) { .pc-now.pn2 .pn-name { font-size: 64px; } .pc-now.pn2 .pn-time { font-size: 36px; } }
.pc-now.pn2 .pc-ic svg { width: 60px; height: 60px; }
.pc-now.pn2 .pn-two { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 16px; width: 100%; max-width: 340px; } .pc-now.pn2 .pn-amp { font-style: normal; font-size: 28px; opacity: .5; width: 20px; } .pc-now.pn2 .pn-two .pn-time { margin-top: 16px; }
.pc-now.pn2 i.pn-amp { all: unset; font-size: 28px; opacity: .45; width: 20px; text-align: center; }

/* Round 20: avatar first, small icon beside the time; squared chip option (same 14px radius family as the week chips) */
.pc-now.pn2 .pn-av { margin-bottom: 16px; display: grid; } .pc-now.pn2 .pn-av .av { box-shadow: 0 0 0 4px oklch(1 0 0 / .12); font-size: 32px !important; }
.pc-now.pn2 .pn-tr { display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; direction: ltr; }
.pc-now.pn2 .pn-tr .pn-time { margin-top: 0; }
.pc-now.pn2 .pn-tr svg { width: 28px; height: 28px; opacity: .9; }
.pc-now.pn2 .pn-sq { display: inline-flex; align-items: center; gap: 14px; padding: 10px 24px 10px 10px; padding-inline: 10px 24px; border-radius: 20px; background: var(--hb); color: var(--chip-ink, oklch(0.25 0.03 250)); }
.pc-now.pn2 .pn-sq b { font-size: 44px; line-height: 1.1; font-weight: 700; letter-spacing: -.01em; }
.pc-now.pn2 .pn-sq .av { box-shadow: 0 0 0 3px oklch(1 0 0 / .5); }
.pc-now.pn2.ly-sq .pn-what { margin-top: 12px; }
.pc-now.pn2 .pn-tr { direction: rtl; } .pc-now.pn2 .pn-tr .t { direction: ltr; }
/* r20 multi-frame pixel icons */
.mf g{opacity:0}@keyframes mf2{0%{opacity:1}50.000%{opacity:0}100%{opacity:0}}@keyframes mf4{0%{opacity:1}25.000%{opacity:0}100%{opacity:0}}@keyframes mf8{0%{opacity:1}12.500%{opacity:0}100%{opacity:0}}@keyframes mf11{0%{opacity:1}9.091%{opacity:0}100%{opacity:0}}@media (prefers-reduced-motion:reduce){.mf g{animation:none!important}.mf g:first-of-type{opacity:1}}
/* Round 23: the fade under the sticky Month/Week switch reached 76px down and covered the month name. Keep it to 16px. */
.tsk::before { inset: calc(-1 * env(safe-area-inset-top, 0px) - 8px) -20px -16px; }
/* Round 23: "add phone" icon takes the text colour (it is not a WhatsApp action) */
.btn.mh-wa[data-act="phoneSheet"] svg, .btn[data-act="phoneSheet"] svg { color: currentColor; }

/* ===== r28: desktop top card (follows the theme) ===== */
@media (min-width: 1000px) {
  .mdash:has(> .dtop) { grid-template-columns: minmax(0, 1fr); }
  .mdash:has(> .dtop) > .mhub, .mdash:has(> .dtop) > .md-side { display: none !important; }
  .dtop.desk-only { display: grid !important; }
}
.dtop { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; background: var(--surface); color: var(--fg); border: 1px solid var(--line); grid-template-columns: minmax(0, 1.25fr) 1px minmax(0, 1fr); height: 392px; }
.dtop::before { content: ""; position: absolute; inset: 0 0 0 auto; width: 60%; z-index: -1; opacity: .35; background: radial-gradient(80% 90% at 60% 120%, oklch(0.62 0.12 220 / .85), oklch(0.5 0.1 230 / .3) 50%, transparent 80%); }
[dir="ltr"] .dtop::before { inset: 0 auto 0 0; }
.dtop.st-build::before { background: radial-gradient(80% 90% at 60% 120%, oklch(0.62 0.20 300 / .9), oklch(0.55 0.17 280 / .35) 50%, transparent 80%); }
.dtop.st-prob::before { background: radial-gradient(80% 90% at 60% 120%, oklch(0.78 0.16 65 / .8), oklch(0.62 0.17 45 / .3) 50%, transparent 80%); }
.dtop.open { height: auto; min-height: 392px; }
.dt-vd { background: var(--line); margin-block: 32px; }
.dt-f { padding: 40px 48px; display: grid; align-content: center; justify-items: start; gap: 12px; min-width: 0; }
.dt-k { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--muted); }
.dt-f h2 { margin: 0; font-size: 64px; line-height: 1.05; font-weight: 700; letter-spacing: -.01em; }
.dt-f h2.dt-sm { font-size: 36px; }
.dt-who { display: flex; align-items: center; gap: 24px; min-width: 0; } .dt-who > div { display: grid; gap: 10px; min-width: 0; } .dt-who .av { box-shadow: 0 0 0 4px var(--sunk); }
.dt-tr { display: inline-flex; align-items: center; gap: 12px; } .dt-tr .t { font: 900 40px/1 var(--px, monospace); }
.dt-tr .pxic { color: oklch(0.70 0.14 75); }
.dt-nx { margin-top: 8px; display: flex; align-items: baseline; gap: 10px; font-size: 18px; } .dt-nx .k { font-size: 15px; color: var(--muted); } .dt-nx b { font-weight: 600; } .dt-nx .t { font: 900 18px/1 var(--px, monospace); }
.dt-what { font-size: 18px; } .dt-moon { width: 72px; height: 72px; border-radius: 50%; background: var(--sunk); display: grid; place-items: center; color: var(--muted); }
.dt-ans { display: flex; align-items: center; gap: 12px; font-size: 16px; } .dt-avs { display: flex; } .dt-avs .av { margin-inline-end: -6px; box-shadow: 0 0 0 2px var(--surface); }
.dt-mg { margin-top: 12px; height: 64px; padding-inline: 28px 36px; border-radius: 999px; background: oklch(0.42 0.16 295); color: #fff; font-size: 22px; font-weight: 600; display: inline-flex; align-items: center; gap: 12px; box-shadow: 0 8px 24px oklch(0.42 0.16 295 / .3); }
.dt-mg .ic { width: 24px; height: 24px; }
.st-prob .dt-k { color: oklch(0.55 0.14 60); } .st-prob .dt-who .av { box-shadow: 0 0 0 4px oklch(0.86 0.13 75); } .st-prob h2 { font-size: 48px; }
.dt-pb { margin-top: 12px; height: 56px; padding-inline: 28px; border-radius: 999px; background: oklch(0.86 0.13 75); color: oklch(0.22 0.05 60); font-size: 18px; font-weight: 600; }
/* list */
.dt-l { padding: 28px 28px 20px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-width: 0; min-height: 0; }
.dt-lh { display: flex; align-items: center; gap: 10px; height: 32px; margin-bottom: 8px; } .dt-lh h3 { margin: 0; font-size: 18px; font-weight: 600; }
.dt-n { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding-inline: 8px; border-radius: 13px; background: var(--sunk); color: var(--muted); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; }
.dt-pk { position: relative; overflow: hidden; min-height: 0; } .dtop.open .dt-pk { overflow: visible; }
.dt-pk ul { list-style: none; margin: 0; padding: 0; }
.dt-r { height: 72px; display: grid; grid-template-columns: 44px minmax(0, 1fr) 136px; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); } .dt-r:last-child { border-bottom: 0; }
.dt-tx { display: grid; gap: 2px; min-width: 0; } .dt-tx b { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .dt-tx > span { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dt-r.red .dt-tx b { color: oklch(0.52 0.17 18); }
.dt-fb { position: relative; width: 44px; height: 44px; } .dt-fb i { position: absolute; inset-block-end: -3px; inset-inline-end: -3px; width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--surface); } .dt-fb i .ic { width: 12px; height: 12px; }
.dt-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; } .dt-ic .ic { width: 20px; height: 20px; }
.dt-b { height: 40px; width: 136px; padding-inline: 8px; border-radius: 999px; background: var(--sunk); color: var(--fg); font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dt-r.red .dt-b { background: oklch(0.60 0.17 18); color: #fff; }
.dt-fade { position: absolute; inset: auto 0 0; height: 44px; background: linear-gradient(to bottom, transparent, color-mix(in oklab, var(--surface) 90%, transparent)); backdrop-filter: blur(1px); -webkit-backdrop-filter: blur(1px); pointer-events: none; }
.dtop.open .dt-fade { display: none; }
.dt-more { justify-self: center; margin-top: 4px; height: 40px; padding-inline: 16px; border-radius: 999px; background: var(--sunk); color: var(--fg); font-size: 15px; font-weight: 600; } .dt-more .ll, .dtop.open .dt-more .lm { display: none; } .dtop.open .dt-more .ll { display: inline; }
.dt-empty { align-self: center; grid-row: 1 / -1; display: grid; justify-items: center; text-align: center; gap: 6px; color: var(--muted); } .dt-empty b { font-size: 20px; color: var(--fg); }
.dt-tick { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: oklch(0.93 0.05 160); color: oklch(0.45 0.12 160); margin-bottom: 6px; } .dt-tick .ic { width: 32px; height: 32px; }
:root[data-theme="dark"] .dt-tick { background: oklch(0.30 0.05 160); color: oklch(0.85 0.12 160); }
:root[data-theme="dark"] .dt-r.red .dt-tx b { color: oklch(0.78 0.12 18); } :root[data-theme="dark"] .st-prob .dt-k { color: oklch(0.86 0.13 75); }
:root[data-theme="dark"] .dt-mg { background: oklch(0.55 0.17 295); }
.dt-b, .dt-mg, .dt-more, .dt-pb { border: 0; font-family: inherit; cursor: pointer; appearance: none; }
.dt-b:hover, .dt-more:hover { background: color-mix(in oklab, var(--fg) 10%, var(--sunk)); } .dt-r.red .dt-b:hover { background: oklch(0.55 0.17 18); }
.dt-b:focus-visible, .dt-mg:focus-visible, .dt-more:focus-visible, .dt-pb:focus-visible { outline: 2px solid var(--primary, currentColor); outline-offset: 2px; }
.dtop .dt-tr .t, .dtop .dt-nx .t { font-family: "Px71", "Doto", "Google Sans", system-ui, sans-serif; font-weight: 900; letter-spacing: .02em; }
.dt-nx b .hx-gap { color: oklch(0.55 0.17 18); }
:root[data-theme="dark"] .dt-b, :root[data-theme="dark"] .dt-more, :root[data-theme="dark"] .dt-n { background: color-mix(in oklab, var(--fg) 12%, var(--surface)); }

/* ---- r31: fix-gaps panel, send dialog, sent screen, trainer confirm ---- */
.fixp { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 16px; display: grid; gap: 12px; }
.fx-h { display: grid; gap: 6px; }
.fx-k { font-size: 13px; font-weight: 600; color: var(--no-ink); }
.fx-when { display: flex; align-items: center; gap: 10px; color: var(--fg); }
.fx-when b { font-size: 18px; font-weight: 600; }
.fx-when .t { color: var(--muted); font-size: 16px; }
.fx-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.fx-o { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px; border-radius: 16px; background: var(--sunk); color: var(--fg); transition: transform .15s, background .15s; }
.fx-o:hover { background: color-mix(in oklab, var(--sunk), var(--fg) 6%); }
.fx-o:active { transform: scale(.98); }
.fx-o:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.fx-o[disabled] { opacity: .5; }
.fx-ot { display: grid; gap: 2px; min-width: 0; }
.fx-ot b { font-size: 15px; font-weight: 600; }
.fx-ot span { font-size: 13px; color: var(--muted); }
.fx-more { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.fx-l { border: 0; font: inherit; font-size: 14px; font-weight: 500; min-height: 44px; padding: 0 16px; border-radius: 999px; background: transparent; color: var(--fg); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.fx-l.no { color: var(--no-ink); }
.fx-done { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.fx-tick { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.fx-tick svg { width: 18px; height: 18px; }
#mgrid .fxcur { outline: 3px solid var(--no-ink); outline-offset: 1px; background: var(--no-soft); animation: fxpulse 1.6s ease-in-out infinite; }
@keyframes fxpulse { 50% { outline-color: color-mix(in oklab, var(--no-ink) 35%, transparent); } }
@media (prefers-reduced-motion: reduce) { #mgrid .fxcur { animation: none; } }

.sendm { display: grid; gap: 12px; text-align: center; justify-items: center; }
.sendm h2 { margin: 4px 0 0; text-wrap: balance; }
.sendm .acts { width: 100%; }
.mm { width: min(100%, 320px); background: var(--sunk); border-radius: 20px; padding: 14px; box-sizing: border-box; }
.mm-t { font-size: 13px; font-weight: 600; margin-bottom: 8px; text-align: start; }
.mm-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.mm-g em { font-style: normal; font-size: 10px; color: var(--muted); }
.mm-g span { display: grid; gap: 2px; align-content: start; min-height: 30px; padding: 3px; border-radius: 6px; background: var(--surface); }
.mm-g span.e { background: none; }
.mm-g b { font-size: 9px; font-weight: 500; color: var(--muted); line-height: 1; }
.mm-g i { display: block; height: 3px; border-radius: 2px; }
@media (min-width: 1000px) { .sheet.sendsh { max-width: 440px; } }

.sentscr .tickdraw.big { width: 96px; height: 96px; }
.sentscr .done { display: grid; justify-items: center; gap: 8px; text-align: center; margin-top: 12vh; }

.confsh .cf-l { max-height: 44vh; overflow: auto; }
.confsh .li { gap: 12px; }
.cf-d { display: grid; justify-items: center; width: 32px; line-height: 1.1; }
.cf-d b { font-size: 16px; }
.cf-d span { font-size: 11px; color: var(--muted); }
.confsh [hidden], .sheet [hidden] { display: none !important; }
.dt-what.dt-q { display: block; margin-top: 6px; color: var(--fg); font-size: 18px; }

/* ---- r31 part 2: Ishay's phone ---- */
.mh-me { border: 0; padding: 0; background: none; border-radius: 50%; cursor: pointer; display: grid; }
.mh-me .av { width: 40px; height: 40px; box-shadow: 0 0 0 2px oklch(1 0 0 / .5); }
@media (max-width: 999px) {
  .mhub.pc { min-height: 0; gap: 12px; padding-bottom: 20px; }
  .mhub.pc .hub-stage { gap: 12px; }
  .mdash.haswarn > .mhub { display: none; }
  .m31 { display: grid !important; gap: 24px; }
}
.mwarn31 { display: none; }
@media (max-width: 999px) {
  .mwarn31 { display: grid; gap: 16px; justify-items: start; margin-inline: calc(-1 * var(--pad)); margin-top: calc(-1 * (env(safe-area-inset-top, 0px) + 8px)); padding: calc(env(safe-area-inset-top, 0px) + 28px) 20px 24px; border-radius: 0 0 32px 32px;
    background: radial-gradient(120% 80% at 50% 0%, oklch(0.93 0.07 75), var(--surface) 70%); box-shadow: inset 0 -1px 0 var(--line); }
  .mwarn31 .dt-k { color: oklch(0.52 0.13 60); }
  .mwarn31 .dt-who { flex-direction: column; align-items: flex-start; gap: 14px; }
  .mwarn31 .dt-who .av { width: 72px; height: 72px; box-shadow: 0 0 0 4px oklch(0.86 0.13 75); }
  .mwarn31 h2 { font-size: 40px; line-height: 1.05; margin: 0; }
  .mwarn31 .dt-pb { width: 100%; }
  :root[data-theme="dark"] .mwarn31 { background: radial-gradient(120% 80% at 50% 0%, oklch(0.36 0.07 70), var(--surface) 70%); }
  :root[data-theme="dark"] .mwarn31 .dt-k { color: oklch(0.86 0.13 75); }
}
.ny31 { display: grid; gap: 12px; }
.ny31 .nyh { display: flex; align-items: center; gap: 10px; }
.ny31 .nyh h2 { margin: 0; font-size: 20px; }
.nys31 { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); margin-inline: calc(-1 * var(--pad)); padding: 2px var(--pad) 6px; scrollbar-width: none; }
.nys31::-webkit-scrollbar { display: none; }
.nyc { flex: none; width: 180px; height: 180px; box-sizing: border-box; scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 24px; background: var(--c); color: #fff; }
.nyc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.nyi { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: oklch(1 0 0 / .2); }
.nyi .ic { width: 20px; height: 20px; }
.nyc .av { width: 36px; height: 36px; box-shadow: 0 0 0 2px oklch(1 0 0 / .6); }
.nyc b { font-size: 16px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nyc .s { font-size: 13px; opacity: .88; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nyb { margin-top: auto; border: 0; font: inherit; font-size: 14px; font-weight: 600; height: 40px; border-radius: 999px; background: #fff; color: var(--c); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-inline: 12px; }
.nyb:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bc31 { display: grid; gap: 6px; padding: 20px; border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.bc31 .k { font-size: 14px; font-weight: 600; color: var(--muted); }
.bc31 > b { font-size: 32px; font-weight: 700; line-height: 1.1; }
.bc31 .s { font-size: 14px; color: var(--muted); }
.bc31 .dt-mg { width: 100%; height: 56px; font-size: 18px; justify-content: center; }
.bc31 .dt-ans { margin-top: 4px; font-size: 14px; }
.bc31 .dt-avs .av { width: 28px; height: 28px; }
h1.sch31 { display: none; }
@media (max-width: 999px) {
  .schedtop { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 12px; }
  h1.sch31 { display: block; margin: 0; padding-inline: 8px; font-size: 26px; }
  .schedtop .gvseg { justify-self: end; width: min(100%, 220px); }
  .schedtop .wknav { grid-column: 1 / -1; min-height: 52px; }
  #mgrid .legend4 { display: none; }
}
.mwarn31 .mh-top { display: flex; align-items: center; gap: 8px; width: 100%; margin-bottom: 4px; }
.mwarn31 .mh-top .brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
/* r51h: same logo as every other header (was the dotted Doto version) */
@media (max-width: 999px) { #wklbl .wk-top { display: none !important; } #wklbl b { font-size: 16px; } #wklbl .cap { font-size: 12px; } }

/* ---- r31: desktop team table + code box ---- */
.tsum31 { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.tsum31 > div { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); border-radius: 20px; padding: 20px 24px; display: grid; gap: 4px; }
.tsum31 b { font-family: "Px71", "Doto", monospace; font-size: 44px; font-weight: 800; line-height: 1; }
.tsum31 b.warn { color: oklch(0.58 0.14 60); }
.tsum31 span { font-size: 15px; color: var(--muted); }
.tbl31w { padding: 8px 0; overflow-x: auto; }
.tbl31 { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl31 th { text-align: start; font-size: 13px; font-weight: 600; color: var(--muted); padding: 10px 16px; }
.tbl31 td { padding: 10px 16px; border-top: 1px solid var(--line); height: 52px; }
.tbl31 tbody tr { cursor: pointer; transition: background .15s; }
.tbl31 tbody tr:hover { background: var(--sunk); }
.tbl31 tbody tr:focus-visible { outline: 2px solid var(--fg); outline-offset: -2px; }
.tbl31 .nm { display: inline-flex; align-items: center; gap: 12px; }
.tbl31 .nm b { font-weight: 600; }
.tbl31 .mut { color: var(--muted); }
.tbl31 .tnum { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl31 .over { color: oklch(0.58 0.14 60); font-weight: 600; }
.tbl31 .chev { width: 24px; color: var(--muted); }
.st31 { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; }
.st31.ok { color: var(--ok); }
.st31.no { color: oklch(0.55 0.14 60); background: oklch(0.95 0.05 75); padding: 3px 10px; border-radius: 999px; }
:root[data-theme="dark"] .st31.no { background: oklch(0.32 0.06 70); color: oklch(0.88 0.12 75); }
:root[data-theme="dark"] .tsum31 b.warn, :root[data-theme="dark"] .tbl31 .over { color: oklch(0.84 0.13 75); }
.codebox { display: grid; justify-items: center; text-align: center; gap: 10px; }
.codebox h2 { margin: 8px 0 0; font-size: 26px; }
.codebox .acts { width: 100%; }
.codedots { display: flex; gap: 10px; margin: 8px 0; }
.codedots span { display: grid; place-items: center; width: 56px; height: 68px; border-radius: 16px; background: var(--sunk); font-family: "Px71", "Doto", monospace; font-size: 40px; font-weight: 800; }
@media (min-width: 1000px) { .sheet:has(.codebox) { max-width: 440px; } }

/* ---- r32: trainer month-first confirm ---- */
.conf32 { --px: "Px71", "Doto", ui-monospace, monospace; }
.conf32 .thd { display: grid; gap: 4px; margin: 4px 0 12px; }
.conf32 .thd h1 { margin: 0; font-size: 28px; line-height: 1.2; }
.conf32 .thd .cap { font-size: 15px; }
.conf32 .thd .cnt { display: flex; align-items: baseline; gap: 8px; font-size: 16px; color: var(--muted); }
.conf32 .thd .pxn { font: 900 44px/1 var(--px); color: var(--fg); }
.conf32 .wkh { margin: 16px 4px 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.tmon { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.tmon .dn { text-align: center; font-size: 13px; color: var(--muted); padding-bottom: 2px; }
.tmon i, .tmon button { all: unset; box-sizing: border-box; min-height: 60px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; justify-items: center; align-content: start; gap: 2px; padding-top: 6px; font-style: normal; }
.tmon b { font-size: 13px; font-weight: 600; color: var(--muted); }
.tmon button.on { cursor: pointer; box-shadow: none; color: oklch(0.25 0.03 250); }
.tmon button.on b { color: inherit; }
.tmon button.on:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.tmon button span { font: 900 13px/1 var(--px); }
.tmon i.o { visibility: hidden; }
.tmon i.td b { color: var(--fg); }
.trow { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px 64px; align-items: center; gap: 12px; min-height: 64px; padding: 8px 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); border-radius: 16px; cursor: pointer; }
.trow.pick { grid-template-columns: 24px 44px minmax(0, 1fr) 24px 64px; }
.trow.on { box-shadow: inset 0 0 0 2px var(--fg); }
.trow:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.trow .dd { width: 44px; height: 44px; border-radius: 50%; background: var(--sunk); display: grid; place-items: center; font: 900 22px/1 var(--px); }
.trow .tx b { display: block; font-size: 16px; font-weight: 600; line-height: 1.2; }
.trow .k { display: grid; color: var(--muted); }
.trow .t { font: 900 20px/1 var(--px); text-align: end; }
.cb { width: 24px; height: 24px; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--line); display: grid; place-items: center; }
.trow.on .cb { background: var(--fg); box-shadow: none; color: var(--bg); }
.cb svg, .cb .ic { width: 16px; height: 16px; stroke-width: 3; }
.tdone { display: grid; justify-items: center; text-align: center; gap: 12px; padding-top: 14vh; }
.tdone h1 { margin: 8px 0 0; font-size: 28px; }
.tdone p { margin: 0; color: var(--muted); max-width: 30ch; }
.dtk { width: 128px; height: 128px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; }
.dtick { width: 80px; height: 80px; }
.dtick circle { animation: dpop 260ms cubic-bezier(.34, 1.56, .64, 1) both; transform-box: fill-box; transform-origin: center; }
@keyframes dpop { from { opacity: 0; transform: scale(.2); } }
@media (prefers-reduced-motion: reduce) { .dtick circle { animation: none; } }
.conf32 .bottom .link { display: block; margin: 8px auto 0; }
.conf32 { padding-bottom: 24px; }

/* ---- r32: review layout + who-can radio list (approved K3/K4) ---- */
.fxwrap { display: flex; flex-direction: column; gap: 16px; grid-column: 1 / -1; min-width: 0; }
.fxwrap .fxmain { min-width: 0; display: grid; gap: 12px; }
.fxwrap.on .fixp { order: -1; }
@media (min-width: 1000px) {
  .fxwrap.on { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 24px; }
  .fxwrap.on .fixp { order: 0; position: sticky; top: 16px; }
}
.fixp { padding: 20px; }
.fx-day { margin: 2px 0 0; font-size: 22px; font-weight: 600; line-height: 1.2; }
.fx-k { justify-self: start; background: var(--no-soft); color: var(--no-ink); padding: 3px 10px; border-radius: 999px; font-size: 13px; }
.fx-when { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; }
.fx-when .t { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }
.whobox { display: grid; gap: 10px; }
.wlist { display: grid; gap: 8px; }
.wr { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 24px auto minmax(0, 1fr); align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); cursor: pointer; transition: box-shadow .15s, background .15s; }
.wr:hover:not([disabled]) { background: var(--sunk); }
.wr.on { box-shadow: inset 0 0 0 2px var(--primary, var(--ok)); background: color-mix(in oklab, var(--ok-soft) 60%, var(--surface)); }
.wr:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.wr[disabled] { cursor: default; opacity: .55; }
.wr[disabled] .rd { visibility: hidden; }
.wr .cap { font-size: 13px; line-height: 1.3; }
.rd { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); display: grid; place-items: center; }
.wr.on .rd { background: var(--primary, var(--ok)); box-shadow: none; color: #fff; }
.rd svg, .rd .ic { width: 14px; height: 14px; stroke-width: 3; }
.wchip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; color: oklch(0.22 0.03 250); white-space: nowrap; }
[dir="rtl"] .wchip { padding: 4px 4px 4px 12px; }
.wchip b { font-size: 15px; font-weight: 600; }
.wchip .av { width: 28px; height: 28px; }
.wsect { font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 8px; }
.whoput { width: 100%; margin-top: 4px; }
.cs32 { display: grid; gap: 12px; min-height: 100%; align-content: start; }
.cs32 .cs-h { display: grid; gap: 6px; padding-bottom: 4px; }
.cs32 .cs-h h2 { margin: 0; font-size: 22px; }
.cs-now { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.cs-foot { position: sticky; bottom: 0; display: grid; gap: 6px; padding: 12px 0 4px; background: linear-gradient(to top, var(--surface) 75%, transparent); }
.cs-foot .link { justify-self: center; }

/* r32: desktop week rows + month chips with avatars */
.wk32card .mg { grid-template-columns: 96px repeat(7, minmax(0, 1fr)); }
.wk32card .hd.out { opacity: .4; }
.cst { display: grid; gap: 4px; }
.c.wk32 { display: grid; gap: 2px; justify-items: center; align-content: center; min-height: 56px; border: 0; font: inherit; cursor: pointer; border-radius: 12px; color: oklch(0.22 0.03 250); }
.c.wk32 .nm { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; }
.c.wk32 .nm b { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c.wk32 .av { width: 22px; height: 22px; flex: none; }
.c.wk32 .t { font-size: 12px; opacity: .8; font-variant-numeric: tabular-nums; }
.c.wk32.past { opacity: .55; }
.c.wk32.gap { background: var(--no-soft); color: var(--no-ink); box-shadow: inset 0 0 0 1.5px var(--no-ink); }
.bgrid i.b { display: flex; align-items: center; justify-content: center; gap: 4px; overflow: hidden; }
.bgrid i.b .av { width: 16px; height: 16px; flex: none; }
.bgrid i.b span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- r33: complete new design (approved D3/AB2/S2/K4/K5/S3/S6/S7/V2/Y3) ---- */
.tb-me, .tb-n { display: none; }
@media (min-width: 1200px) {
  body.mgr.tabs-on #tabbar { top: 0 !important; bottom: 0 !important; height: auto; border-radius: 0 !important; box-shadow: none !important; background: var(--bg) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border: 0 !important; padding: 24px 16px 20px; width: 248px; }
  body.mgr.tabs-on[dir="rtl"] #tabbar, [dir="rtl"] body.mgr.tabs-on #tabbar { right: 0 !important; left: auto !important; border-left: 1px solid var(--line) !important; }
  body.mgr.tabs-on[dir="ltr"] #tabbar, [dir="ltr"] body.mgr.tabs-on #tabbar { left: 0 !important; right: auto !important; border-right: 1px solid var(--line) !important; }
  body.mgr.tabs-on #tabbar button.on { background: var(--ok-soft) !important; color: var(--primary-ink); }
  body.mgr.tabs-on #tabbar .tb-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--no); color: var(--on-no); font-size: 12px; font-weight: 600; margin-inline-start: auto; }
  body.mgr.tabs-on #tabbar .tb-n[hidden] { display: none; }
  body.mgr.tabs-on #tabbar .tb-me { display: flex; align-items: center; gap: 10px; padding: 8px; }
  body.mgr.tabs-on #tabbar .tb-me .av { width: 40px; height: 40px; flex: none; }
  body.mgr.tabs-on #tabbar .tb-me span { display: grid; line-height: 1.25; }
  body.mgr.tabs-on #tabbar .tb-me b { font-size: 15px; font-weight: 600; }
  body.mgr.tabs-on #tabbar .tb-me small { font-size: 13px; color: var(--muted); }
  body.mgr.tabs-on #app.wide { padding-inline-start: 280px; }
}
.dgreet { margin: 8px 0 0; font-size: 28px; font-weight: 600; line-height: 1.2; grid-column: 1 / -1; }
.dtop .dt-ans { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }

/* week: rows = shifts */
.w3card { padding: 20px 20px 12px; }
.w3card .cardhead h2 .w3rg { font-size: 15px; font-weight: 400; color: var(--muted); margin-inline-start: 8px; }
.w3g { --td: color-mix(in oklab, var(--ok-soft) 75%, transparent); display: grid; grid-template-columns: 132px repeat(7, minmax(0, 1fr)); margin-top: 4px; }
.w3h { display: grid; justify-items: center; gap: 2px; padding: 10px 4px 8px; font-size: 13px; color: var(--muted); }
.w3h b { font-size: 16px; font-weight: 600; color: var(--fg); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; }
.w3h.td { background: var(--td); border-radius: 16px 16px 0 0; }
.w3h.td span { color: var(--fg); font-weight: 600; }
.w3h.td b { background: var(--fg); color: var(--bg); }
.w3h.pd b { color: var(--muted); font-weight: 400; }
.w3h.out, .w3c.out { opacity: .4; }
.w3l { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding: 8px 0; padding-inline-end: 8px; min-width: 0; }
.w3l b { display: block; font-size: 16px; font-weight: 600; line-height: 1.2; }
.w3l small { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.w3i { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; background: color-mix(in oklab, currentColor 14%, transparent); }
.w3i .ic { width: 18px; height: 18px; }
.w3i.k-dawn { color: oklch(0.62 0.13 70); } .w3i.k-day { color: oklch(0.66 0.13 90); } .w3i.k-dusk { color: oklch(0.6 0.15 30); } .w3i.k-night { color: oklch(0.55 0.13 280); }
.w3c { border-top: 1px solid var(--line); padding: 6px 4px; display: grid; gap: 6px; align-content: center; min-height: 84px; min-width: 0; }
.w3c.td { background: var(--td); }
.c.w3 { all: unset; box-sizing: border-box; width: 100%; min-height: 64px; border-radius: 14px; display: flex; align-items: center; justify-content: flex-start; gap: 8px; padding: 8px 10px; cursor: pointer; color: oklch(0.22 0.03 250); transition: transform 150ms, opacity 200ms; min-width: 0; }
.c.w3:hover { transform: translateY(-1px); }
.c.w3:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.c.w3 .av { width: 28px; height: 28px; flex: none; order: 2; }
.w3t { display: grid; min-width: 0; }
.w3t b { font-size: 18px; font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w3t small { font-size: 13px; opacity: .75; font-variant-numeric: tabular-nums; }
.c.w3.gap { background: transparent; color: var(--no-ink); outline: 1.5px dashed var(--no); outline-offset: -1.5px; }
.c.w3.gap .w3t b { font-size: 15px; }
.w3c.pd .c.w3:not(.gap) { background: var(--sunk) !important; color: var(--muted); }
.w3c.pd .c.w3 .av { filter: grayscale(1); opacity: .6; }
.w3g.dimmed .c.w3:not(.hl) { opacity: .35; }
@media (max-width: 1279px) { .w3g { grid-template-columns: 112px repeat(7, minmax(0, 1fr)); } .w3t b { font-size: 16px; } .c.w3 .av { width: 24px; height: 24px; } }

/* schedule header: one plain date row, today button, status line */
#wklbl b { font-size: 17px; font-weight: 600; }
#wklbl b em { font-style: normal; color: var(--primary-ink); }
.wknav .wktoday { min-height: 36px; height: 36px; padding: 0 14px; width: auto; flex: none; font-size: 14px; }
.wknav .wktoday[hidden] { display: none; }
.wkstat { display: flex; justify-content: center; font-size: 14px; color: var(--primary-ink); }
.wkstat span { display: inline-flex; align-items: center; gap: 6px; }
.wkstat .bad { color: var(--no-ink); }
.wkstat:empty { display: none; }
@media (min-width: 1000px) {
  #app.wide .schedwrap { grid-template-areas: "head nav acts" "stat stat stat" "slim slim slim" "hl hl hl" "grid grid grid"; }
  #app.wide .schedwrap > .wkstat { grid-area: stat; justify-content: flex-start; }
  #app.wide .schedwrap > .fxwrap { grid-column: 1 / -1; }
  #app.wide .schedwrap > .wknav { border: 0 !important; background: none !important; justify-content: flex-start; gap: 8px; width: auto; justify-self: start; }
}
@media (max-width: 999px) {
  .schedwrap > .wknav { position: sticky; top: 0; z-index: 12; height: 52px; min-height: 52px; margin-inline: -16px; padding-inline: 8px; background: var(--bg) !important; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .schedwrap > .wknav::before, .schedwrap > .wknav::after { display: none !important; }
  .schedwrap > .wknav .lbl { flex-direction: row; justify-content: center; align-items: center; }
  .schedwrap > .wkstat { padding: 4px 0 4px; }
  .schedwrap > .schedbar { position: static !important; padding: 8px 0 0; max-width: none; }
  .schedwrap > .schedbar .btn { box-shadow: none !important; }
  .schedwrap:has(.schedbar) { padding-bottom: 0; }
  body.tabs-on .screen:has(.schedbar) { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + var(--tabh) + 24px) !important; }
}

/* month: taller days, bigger chips (K5) */
@media (min-width: 1000px) {
  #mgrid .mview .bgrid { gap: 8px; }
  #mgrid .mview .bgrid .hd { font-size: 13px; padding-bottom: 4px; }
  #mgrid .mview .bc { min-height: 168px; padding: 8px 6px; gap: 6px; border-radius: 16px; }
  #mgrid .mview .bc > b { font-size: 16px; margin: 0 auto 2px; width: 30px; height: 30px; display: grid; place-items: center; line-height: 1; }
  #mgrid .mview .bc i { height: 28px; line-height: 28px; font-size: 15px; border-radius: 9px; padding: 0 8px; justify-content: flex-start; }
  #mgrid .mview .bc i.b .av { width: 20px; height: 20px; order: 2; }
  #mgrid .mview .bc i.sp { display: none; }
  #mgrid .mview .bc.tdy > b { background: var(--fg); color: var(--bg); border-radius: 50%; padding: 0; }
}
.mview .bc.past { opacity: 1; }
.mview .bc.past i.b:not(.gap) { background: var(--sunk) !important; color: var(--muted); }
.mview .bc.past i.b .av { filter: grayscale(1); opacity: .6; }

/* side panels slide in from the edge on desktop (S3/S6) */
@media (min-width: 1000px) {
  .sheet.side:not(.dialog) { top: 16px !important; bottom: 16px !important; translate: none !important; width: 440px !important; height: auto !important; max-width: none !important; max-height: none !important; padding: 24px !important; display: block !important; overflow: auto !important; border-radius: 28px !important; animation: sidein 300ms var(--spring) both !important; }
  [dir="rtl"] .sheet.side:not(.dialog) { left: 16px !important; right: auto !important; }
  [dir="ltr"] .sheet.side:not(.dialog) { right: 16px !important; left: auto !important; }
  .sheet.side .sh-x { top: 20px; inset-inline-end: 20px; }
  .sheet .tside { max-width: none !important; margin: 0 !important; padding: 8px 0 0 !important; }
  .sheet .tside .pc { padding-top: 8px; }
}

/* settings: grouped cards (S7) */
.set33 { display: grid; gap: 16px; width: 100%; }
.set33 h1 { margin: 12px 0 0; }
.sgrid33 { display: grid; gap: 16px; align-items: start; }
@media (min-width: 1000px) { .sgrid33 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.sg33 h2 { font-size: 20px; font-weight: 600; margin: 0 0 8px; padding-inline: 4px; }
.st33 .v { color: var(--muted); font-size: 15px; white-space: nowrap; }

/* build: "December ready" page (K3) and the phone version (Y3) */
.rdy33 { display: flex; align-items: center; gap: 16px; }
.rdy33 .rt { flex: 1; display: grid; gap: 2px; min-width: 0; }
.rdy33 h1 { margin: 0; font-size: 28px; line-height: 1.2; }
.rdy33 .cap { font-size: 15px; }
.rdy33 .rs33 { width: auto; flex: none; padding-inline: 20px; }
.rdy33 .rx33 { display: none; }
.draft33 > .schedtop, .draft33 > .wkstat, .draft33 > .schedbar { display: none !important; }
@media (min-width: 1000px) { #app.wide .schedwrap.draft33 { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: none; gap: 20px; } #app.wide .schedwrap.draft33 > * { grid-area: auto; } }
@media (max-width: 999px) {
  body.bmode #tabbar { display: none !important; }
  .rdy33 { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; text-align: center; gap: 8px; padding: 4px 0 8px; }
  .rdy33 .rx33 { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--sunk); color: var(--fg); grid-column: 3; grid-row: 1; cursor: pointer; }
  .rdy33 .rt { grid-column: 2; grid-row: 1; }
  .rdy33 h1 { font-size: 22px; }
  .rdy33 .cap { font-size: 14px; }
  .rdy33 .rs33 { display: none; }
  .draft33:has(.fx-done) .rs33 { display: flex; position: fixed; z-index: 21; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: auto; justify-content: center; }
  .draft33 .fxwrap.on .fixp { order: 0; position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; max-height: 62vh; overflow: auto; border-radius: 28px 28px 0 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -12px 40px oklch(0 0 0 / .18); background: var(--surface); }
  .draft33:has(.fx-done) .fixp { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important; }
  .draft33 .fxmain { padding-bottom: 46vh; }
  .draft33 .bgrid i.b span, .draft33 .bgrid i.b .av { display: none; }
  .draft33 .bgrid i.b { height: 8px; line-height: 8px; border-radius: 4px; }
  .draft33 .bgrid i.gap { height: 8px; color: transparent; }
  .draft33 .bc { min-height: 64px; }
  body.bmode .screen { padding-bottom: 0 !important; }
}
@media (min-width: 1000px) {
  #app.wide .schedwrap:not(.draft33) { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-areas: "title seg nav acts" "stat stat stat stat" "grid grid grid grid"; gap: 12px 16px; align-items: center; }
  #app.wide .schedwrap:not(.draft33) h1.sch31 { display: block; grid-area: title; margin: 0; font-size: 28px; line-height: 1.2; }
  #app.wide .schedwrap:not(.draft33) .gvseg { grid-area: seg; width: 200px; }
  #app.wide .schedwrap:not(.draft33) .wknav { grid-area: nav; justify-self: start; width: auto; }
  #app.wide .schedwrap:not(.draft33) > .wkstat { grid-area: stat; }
  #app.wide .schedwrap:not(.draft33) > .fxwrap { grid-area: grid; }
  #app.wide .schedwrap:not(.draft33) > .schedbar { grid-area: acts; }
}

/* r33b: phone week (V2): title+seg scroll away, solid 52px date row stays pinned */
@media (max-width: 999px) {
  .schedtop { position: sticky; top: -52px; z-index: 12; gap: 8px 12px; margin-inline: -16px; padding: 0 16px; border-radius: 0; background: var(--bg) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: 0 1px 0 var(--line) !important; }
  .schedtop::before { display: none !important; }
  .schedtop h1.sch31 { line-height: 44px; padding-inline: 0; }
  .schedtop .gvseg { height: 44px; }
  .schedtop .wknav { height: 52px; min-height: 52px; margin-inline: -8px; padding: 0; border-radius: 0; background: transparent !important; box-shadow: none !important; }
  .schedtop .wknav .lbl { flex-direction: row; justify-content: center; align-items: center; }
  .schedwrap > .schedbar.bottom { position: static !important; inset: auto !important; transform: none !important; padding: 8px 0 0 !important; background: none !important; }
}
@media (max-width: 999px) {
  .schedwrap:not(.draft33) { display: flex; flex-direction: column; }
  .schedwrap:not(.draft33) > .schedtop { order: 0; } .schedwrap:not(.draft33) > .wkstat { order: 1; }
  .schedwrap:not(.draft33) > .schedbar { order: 2; padding: 4px 0 8px !important; }
  .schedwrap:not(.draft33) > .schedbar .btn { width: 100%; background: var(--ok-soft, var(--surface)); color: var(--fg); }
  .schedwrap:not(.draft33) > :not(.schedtop):not(.wkstat):not(.schedbar) { order: 3; }
}
@media (max-width: 999px) { .schedwrap:not(.draft33) > .schedbar { display: block; } }

/* r33: WhatsApp picture preview in the send question + personal links after sending (Q4/F1) */
.ogprev { width: 100%; max-width: 440px; aspect-ratio: 1200 / 630; border-radius: 16px; overflow: hidden; background: #121318; box-shadow: 0 0 0 1px var(--line); }
.ogprev img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sendsh.sheet.dialog { max-width: 520px; }
.spin34 { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-top-color: transparent; animation: spin34 .8s linear infinite; }
@keyframes spin34 { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin34 { animation-duration: 2.4s; } }
.sentscr:has(.sent34) .done { margin-top: 4vh; }
.sent34 { width: 100%; max-width: 560px; margin: 24px auto 0; display: grid; gap: 8px; }
.sent34 h2 { margin: 0; font-size: 18px; font-weight: 600; }
.sl34 { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.sl34 .grow { min-width: 0; }
.sl34 .btn.sm { min-height: 44px; width: auto; padding-inline: 14px; white-space: nowrap; }
.sl34 .wa34:not(.soft) { background: #1fa855; color: #fff; }
.sl34.done .wa34 { background: var(--ok-soft, var(--surface)) !important; color: var(--ok-ink, var(--fg)) !important; }
.sl34 .btn.sm { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none; }
.sl34 .btn.sm .ic { width: 18px; height: 18px; }
.sentscr:has(.sent34) .bottom { position: static !important; inset: auto !important; transform: none !important; background: none !important; padding: 16px 0 24px !important; max-width: 560px; width: 100%; margin-inline: auto; box-shadow: none !important; }
.sentscr:has(.sent34) .spacer { display: none; }
.sentscr:has(.sent34) { padding-bottom: 24px !important; }
@media (min-width: 1000px) { .sl34 .btn.sm.desk-only { display: inline-flex !important; } }

/* ===== r34 proposals ===== */
/* unified chip: colour fill, avatar at the start edge on a soft white disc, name, time */
.c.w3 .av, .bc i.b .av, .nxc .av { order: -1 !important; background: oklch(1 0 0 / .55) !important; box-shadow: none !important; color: oklch(0.25 0.03 250) !important; font-weight: 700; }
.c.w3 .av { font-size: 12px !important; }
.bc i.b .av { font-size: 10px !important; }
.c.w3 { gap: 10px; padding-inline: 10px 12px; }
.w3c.pd .c.w3 .av { background: oklch(1 0 0 / .7) !important; }
/* top card: hugs its content, both columns start on one line, glow sits behind the face */
.dtop, .dtop.open { height: auto !important; min-height: 320px; align-items: stretch; }
.dt-f { align-content: center; padding: 40px 48px; }
.dt-l { padding: 40px 32px 28px; grid-template-rows: auto auto 1fr; align-content: start; }
.dtop::before { background: radial-gradient(42% 70% at 78% 50%, oklch(0.62 0.12 220 / .7), oklch(0.5 0.1 230 / .2) 55%, transparent 80%); width: 62%; }
.dt-tail { margin: 16px 0 0; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; }
.dt-tail .ic { width: 18px; height: 18px; color: var(--ok-ink, var(--muted)); }
.dt-nx { align-items: center; margin-top: 16px; }
.nxc { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding-inline: 8px 16px; border-radius: 14px; color: oklch(0.22 0.03 250); }
.nxc b { font-size: 17px; font-weight: 600; } .nxc .t { font: 900 16px/1 var(--px, monospace); opacity: .8; }
.nxc.gap { background: transparent; color: var(--no-ink); outline: 1.5px dashed var(--no); outline-offset: -1.5px; padding-inline: 16px; }
.nxc:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
/* week nav: big round arrows, label between, "today" as its own even pill */
@media (min-width: 1000px) {
  #app.wide .wknav { gap: 8px !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; min-height: 48px; align-items: center; }
  #app.wide .wknav .iconbtn { width: 48px; height: 48px; border-radius: 50%; background: var(--surface) !important; border: 1px solid var(--line); display: grid; place-items: center; }
  #app.wide .wknav .iconbtn .ic { width: 24px; height: 24px; }
  #app.wide .wknav .lbl { min-width: 240px; justify-content: center; font-size: 20px; }
  #app.wide .wknav .wktoday { height: 48px; padding: 0 20px !important; border-radius: 999px; margin-inline-start: 8px; font-size: 16px; }
}
/* team: big colour cards (r34) */
.tg34 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
@media (min-width: 700px) { .tg34 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tg34 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } #app.wide .wizard:has(.tg34) { max-width: 1120px !important; } }
.tc34 { all: unset; box-sizing: border-box; cursor: pointer; position: relative; overflow: hidden; display: grid; justify-items: center; align-content: start; gap: 6px; padding: 0 12px 18px; min-height: 196px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); text-align: center; transition: transform 140ms var(--spring), box-shadow 200ms; min-width: 0; }
.tc34:hover { box-shadow: var(--shadow-s); transform: translateY(-2px); } .tc34:active { transform: scale(.98); }
.tc34:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.tc34-b { position: absolute; inset: 0 0 auto; height: 64px; background: var(--c); }
.tc34 .av { margin-top: 24px; position: relative; box-shadow: 0 0 0 4px var(--surface) !important; background: color-mix(in oklab, var(--c) 70%, white) !important; color: oklch(0.25 0.03 250); font-size: 28px; }
.tc34-n { margin-top: 6px; font-size: 22px; font-weight: 700; line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc34-s { font-size: 15px; color: var(--muted); } .tc34-s em { font-style: normal; color: oklch(0.55 0.13 60); font-weight: 600; }
.tc34 .tag2 { margin-top: 4px; }
@media (max-width: 699px) { .tc34 { min-height: 172px; } .tc34-b { height: 52px; } .tc34 .av { margin-top: 16px; width: 64px !important; height: 64px !important; } .tc34-n { font-size: 19px; } }
/* empty month (r34) */
.em34w { position: relative; margin-top: 16px; }
.em34g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; opacity: .55; filter: grayscale(1); }
.em34g em { font-style: normal; text-align: center; font-size: 13px; color: var(--muted); padding-bottom: 4px; }
.em34g span { min-height: 96px; border-radius: 14px; background: var(--sunk); border: 1px dashed var(--line); padding: 8px; }
.em34g span.e { background: none; border: 0; }
.em34g b { font-size: 14px; color: var(--muted); font-weight: 600; }
@media (min-width: 1000px) { .em34g span { min-height: 132px; } }
.em34c { position: absolute; inset: 0; margin: auto; width: min(440px, calc(100% - 32px)); height: fit-content; display: grid; justify-items: center; gap: 12px; padding: 32px 28px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 60px oklch(0.2 0.02 250 / .14); text-align: center; }
.em34c h2 { margin: 0; font-size: 26px; text-wrap: balance; } .em34c p { margin: 0; color: var(--muted); font-size: 16px; text-wrap: pretty; }
.em34i { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--ok-soft, var(--sunk)); color: var(--ok-ink, var(--fg)); } .em34i .ic { width: 30px; height: 30px; }
.em34b { width: 100%; height: 56px; font-size: 17px; margin-top: 8px; } .em34s { width: 100%; }
.em34 .wknav .iconbtn[disabled] { opacity: .35; }
@media (max-width: 999px) { .em34 .schedtop { position: static; } }
/* draft header arrows */
.rdn34 { display: flex; gap: 6px; }
.rdn34 .iconbtn { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; }
@media (min-width: 1000px) { .rdy33 { gap: 16px; } }
@media (max-width: 999px) { .rdn34 { grid-column: 1; grid-row: 1; } .rdn34 .iconbtn + .iconbtn { display: none; } .rdn34 .iconbtn { background: var(--sunk); border: 0; } }
/* trainer week: only my shifts (r34) */
.my34l { display: grid; gap: 8px; }
.my34 { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 64px; }
.my34d { display: grid; justify-items: center; gap: 2px; color: var(--muted); } .my34d span { font-size: 13px; } .my34d b { font-size: 20px; color: var(--fg); font-weight: 600; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; }
.my34.td .my34d b { background: var(--fg); color: var(--bg); } .my34.td .my34d span { color: var(--fg); font-weight: 600; }
.my34c { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 12px 16px; border-radius: 20px; background: var(--c); color: oklch(0.22 0.03 250); min-width: 0; }
.my34c:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.my34c .kic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: oklch(1 0 0 / .55); flex: none; }
.my34c .grow { display: grid; gap: 2px; min-width: 0; } .my34c .t { font: 900 22px/1 var(--px, monospace); } .my34c .grow > span { font-size: 14px; opacity: .8; }
.my34x { font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 999px; background: oklch(1 0 0 / .6); white-space: nowrap; }
.my34n { color: var(--muted); font-size: 15px; padding-inline: 4px; border-bottom: 1px dashed var(--line); padding-block: 22px; }
.my34.gone .my34c { background: var(--sunk); color: var(--muted); } .my34.gone .my34d b { color: var(--muted); }
.em34c { grid-template-columns: minmax(0, 1fr); } .em34c > * { min-width: 0; justify-self: center; } .em34c .btn { justify-self: stretch; white-space: normal; height: auto; min-height: 56px; }
#app.wide .schedwrap.em34 { display: block !important; }
#app.wide .schedwrap.em34 .schedtop { display: flex !important; align-items: center; gap: 24px; }
#app.wide .schedwrap.em34 h1.sch31 { margin: 0; font-size: 28px; }
@media (max-width: 999px) { .em34c { padding: 24px 20px; } .em34c h2 { font-size: 22px; } }
#app.wide .schedwrap.em34 .schedtop { position: static !important; flex-direction: row !important; background: none !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; padding: 0 !important; border-radius: 0 !important; margin: 0 !important; }
#app.wide .schedwrap.em34 .schedtop::before { display: none !important; }
#app.wide .schedwrap.em34 .em34w { margin-top: 24px; }
/* r34: phone week chips exactly as approved V2 — name big with the face, time small in pixel digits, bright colours, no grey day box */
@media (max-width: 999px) {
  #mgrid .wchips { background: none !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; gap: 8px; }
  #mgrid .ce { min-height: 64px; padding: 10px 12px !important; border-radius: 16px; display: grid; align-content: center; gap: 4px; }
  #mgrid .wrow.past .ce, #mgrid .ce.past { opacity: 1 !important; filter: none !important; }
  #mgrid .ce .ce-n { display: flex; align-items: center; gap: 8px; min-width: 0; }
  #mgrid .ce .ce-n .av { width: 26px !important; height: 26px !important; order: -1; background: oklch(1 0 0 / .55) !important; box-shadow: none !important; font-size: 11px !important; color: oklch(0.25 0.03 250) !important; }
  #mgrid .ce .nn { font-size: 19px; font-weight: 700; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: oklch(0.2 0.03 250); }
  #mgrid .ce .ce-t { display: flex; justify-content: flex-start; padding-inline-start: 34px; }
  #mgrid .ce .ce-t .ic { display: none; }
  #mgrid .ce .ce-t .t { font: 900 16px/1 "Px71", "Doto", monospace; color: oklch(0.25 0.03 250); opacity: .85; letter-spacing: .02em; }
  #mgrid .ce.gap { background: transparent; outline: 1.5px dashed var(--no); outline-offset: -1.5px; }
  #mgrid .ce.gap .nn, #mgrid .ce.gap .t { color: var(--no-ink); }
  .schedwrap > .wkstat { display: none !important; } /* the status line goes (your note): a calendar doesn't need the count */
}
@media (max-width: 999px) { #mgrid .ce { min-height: 56px; padding: 8px 12px !important; gap: 2px; } #mgrid .wrow { margin-bottom: 8px; } }
@media (max-width: 999px) { .mhub .mh-top { align-self: stretch; width: auto; } }

/* ===== r34c: week-change slide on every view, floating "back to today", no status line ===== */
#mgrid > .inr, #mgrid > .inr ~ *, #mgrid > .inl, #mgrid > .inl ~ *, #pane .pane > .inr, #pane .pane > .inl { animation: wkin 420ms cubic-bezier(.22, 1, .36, 1) both; }
#mgrid > .inr, #mgrid > .inr ~ *, #pane .pane > .inr { --dx: -48px; } #mgrid > .inl, #mgrid > .inl ~ *, #pane .pane > .inl { --dx: 48px; }
[dir="ltr"] #mgrid > .inr, [dir="ltr"] #mgrid > .inr ~ *, [dir="ltr"] #pane .pane > .inr { --dx: 48px; } [dir="ltr"] #mgrid > .inl, [dir="ltr"] #mgrid > .inl ~ *, [dir="ltr"] #pane .pane > .inl { --dx: -48px; }
#mgrid > .fadein, #mgrid > .fadein ~ *, #pane .pane > .fadein { animation: wkin 300ms ease both; --dx: 0px; }
.wkstat, #wkstat { display: none !important; }
#wktoday, #app.wide #wktoday { position: fixed; z-index: 40; left: 50%; right: auto; transform: translateX(-50%); margin: 0; bottom: calc(108px + env(safe-area-inset-bottom, 0px)); height: 48px; min-height: 48px; padding: 0 20px 0 18px !important; gap: 8px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 16px; font-weight: 700; box-shadow: 0 8px 24px oklch(0 0 0 / .22); display: inline-flex; align-items: center; white-space: nowrap; animation: jt34 260ms cubic-bezier(.22, 1, .36, 1) both; }
#wktoday[hidden] { display: none !important; }
@media (min-width: 1000px) { #wktoday, #app.wide #wktoday { bottom: 32px; left: calc(50% - 120px); } [dir="ltr"] #wktoday { left: calc(50% + 120px); } }
@keyframes jt34 { from { opacity: 0; translate: 0 16px; } }
@media (prefers-reduced-motion: reduce) { #mgrid > *, #pane .pane > *, #wktoday { animation: none !important; } }

/* r34c: phone hero sized to the approved X1 mock (measured at 390px: avatar 64, name 44, what 16, time 28, button 48, hero ≈ 360) */
@media (max-width: 999px) {
  .mhub .pn2.ly-av .pn-av { width: 64px; height: 64px; margin-bottom: 12px; }
  .mhub .pn2.ly-av .pn-av .av, .mhub .pn2.ly-av .pn-av .av img { width: 64px !important; height: 64px !important; }
  .mhub .pn2.ly-av .pn-name { font-size: 44px; line-height: 1.15; }
  .mhub .pn2.ly-av .pn-what { font-size: 16px; margin-top: 4px; }
  .mhub .pn2.ly-av .pn-tr { margin-top: 12px; }
  .mhub .pn2.ly-av .pn-time { font-size: 28px; }
  .mhub .pn2.ly-av .pxic { width: 24px; height: 24px; }
  .mhub .hub-stage { gap: 12px; }
  .mhub .pcb-wa { min-height: 48px; height: 48px; }
}
/* r34c: settings groups as titled cards on desktop (S7) */
@media (min-width: 1000px) {
  .sg33 { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
  .sg33 h2 { margin: 0; padding: 18px 20px 14px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .sg33 .list { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: none !important; margin: 0; }
  .sg33 .st33 { min-height: 56px; padding-inline: 20px; }
}
/* r34c: review month (K3) = names only, like the mock, so long names fit next to the fix panel */
@media (min-width: 1000px) { .draft33 .bc i.b .av { display: none !important; } .draft33 .bc i.b { justify-content: center; } .draft33 .bc i.b > span { overflow: visible; text-overflow: clip; } }
/* r34c: person side panel header + month progress (S6) */
.ph34-hide { display: none !important; }
.ph34 { display: flex; align-items: center; gap: 14px; padding-inline-end: 48px; }
.ph34-t { display: grid; gap: 2px; min-width: 0; }
.ph34-t b { font-size: 24px; font-weight: 700; line-height: 1.2; }
.ph34-t .t { color: var(--muted); font-size: 15px; justify-self: start; }
.pg34 { display: grid; gap: 10px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.pg34-l { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pg34-l b { font-size: 17px; }
.pg34 i { display: block; height: 8px; border-radius: 99px; background: var(--sunk); position: relative; overflow: hidden; }
.pg34 i::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--p); border-radius: inherit; background: var(--brand, oklch(0.55 0.11 172)); }
/* r34c: who-can footer covers the sheet's bottom padding, so no row peeks under the buttons */
.sheet .cs-foot { bottom: -20px; margin-bottom: -20px; padding-bottom: 24px; background: linear-gradient(to top, var(--surface) 85%, transparent); }
.sheet.side .cs-foot { bottom: -24px; margin-bottom: -24px; padding-bottom: 28px; }
html.sheet-open #wktoday { display: none !important; }
/* r34d: no phone yet = a quiet link under the hero, not a big button */
.mhub .mh-noph { justify-content: center; }
.mhub .mh-addph { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; font-size: 15px; font-weight: 500; color: inherit; opacity: .8; background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; }

/* ===== r35: time-of-day icon on every week chip, locked running shift, jump pill lower ===== */
.ce-t .pxic { display: none; }
@media (max-width: 999px) {
  #mgrid .ce .ce-t { padding-inline-start: 0; gap: 8px; }
  #mgrid .ce .ce-t .pxic { display: block; width: 26px; height: 18px; flex: none; color: oklch(0.25 0.03 250); opacity: .85; } /* 26px slot = avatar column, so icon sits under the face */
  #mgrid .ce.gap .ce-t .pxic { color: var(--no-ink); }
}
.lock35 { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: var(--soft, oklch(0.5 0 0 / .08)); font-size: 16px; line-height: 1.4; margin-top: 16px; }
.lock35 .ic { flex: none; opacity: .8; }
#wktoday, #app.wide #wktoday { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); } /* r35: 12px above the tab bar (was 32px) */
@media (min-width: 1000px) { #wktoday, #app.wide #wktoday { bottom: 32px; } }
/* r35: no visible scrollbar on any sheet or modal; skeleton rows match the real list so nothing jumps */
.sheet { scrollbar-width: none; } .sheet::-webkit-scrollbar { display: none; width: 0; height: 0; }
.sk35 { display: grid; gap: 12px; margin-top: 24px; } .sk35 .skeleton { height: 64px; margin: 0; border-radius: 16px; }
/* r35 preview: chip -> centred modal (LS icon_morph=1) */
.sheet.m35, .sheet.m35.out, .scrim.out:has(+ .sheet.m35) { animation: none !important; }
@media (max-width: 699px) {
  .sheet.m35 { inset: 0; margin: auto; width: calc(100% - 32px); max-width: 440px; height: fit-content; max-height: calc(100dvh - 176px); top: -40px; border-radius: 28px; translate: none; padding: 24px 20px 20px; transform-origin: center; }
  .sheet.m35 .grab { display: none; }
}
.sheet.m35 .sh-x { display: grid; place-items: center; position: absolute; top: 16px; inset-inline-end: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sunk); color: var(--fg); z-index: 2; }
.sheet.m35 .cs-h h2 { padding-inline-end: 48px; }
/* r35 preview: day modal list (same chips as the week view) */
.dm35 { display: grid; gap: 16px; text-align: start; }
.dm35 h2 { font-size: 22px; margin: 0; padding-inline-end: 48px; text-wrap: balance; }
.dm35l { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dm35l .ce, #mgrid .ms35 .ce { min-height: 64px; padding: 10px 12px !important; border-radius: 16px; display: grid; align-content: center; gap: 4px; border: 0; text-align: start; color: oklch(0.2 0.03 250); cursor: pointer; }
.dm35l .ce .ce-n { display: flex; align-items: center; gap: 8px; min-width: 0; }
.dm35l .ce .ce-n .av { width: 26px !important; height: 26px !important; order: -1; background: oklch(1 0 0 / .55) !important; box-shadow: none !important; font-size: 11px !important; color: oklch(0.25 0.03 250) !important; }
.dm35l .ce .nn { font-size: 19px; font-weight: 700; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm35l .ce .ce-t { display: flex; align-items: center; gap: 8px; }
.dm35l .ce .ce-t .ic { display: none; }
.dm35l .ce .ce-t .pxic { display: block; width: 26px; height: 18px; flex: none; opacity: .85; }
.dm35l .ce .ce-t .t { font: 900 16px/1 "Px71", "Doto", monospace; opacity: .85; letter-spacing: .02em; }
.dm35l .ce.gap { background: transparent; outline: 1.5px dashed var(--no); outline-offset: -1.5px; color: var(--no-ink); }
/* A: faces grid + selected day below */
.mg35 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.mg35 .hd { text-align: center; font-size: 13px; color: var(--muted); padding-bottom: 4px; }
.d35 { display: grid; justify-items: center; align-content: start; gap: 4px; min-height: 76px; padding: 6px 2px; border-radius: 14px; border: 0; background: var(--surface); color: var(--fg); font: inherit; cursor: pointer; }
.d35 b { font-size: 15px; font-weight: 700; line-height: 20px; width: 28px; border-radius: 99px; }
.d35.tdy b { background: var(--accent, oklch(0.6 0.12 172)); color: var(--bg); }
.d35.sel { outline: 2px solid var(--fg); outline-offset: -2px; }
.d35.past { opacity: .55; }
.f35 { display: grid; grid-template-columns: 20px 20px; gap: 3px; }
.f35 .av { width: 20px !important; height: 20px !important; font-size: 10px !important; box-shadow: none !important; border: 0 !important; }
.f35 .g35 { display: grid; place-items: center; border-radius: 50%; outline: 1.5px dashed var(--no); outline-offset: -1.5px; color: var(--no-ink); font-size: 11px; background: none; }
.ms35 { margin-top: 20px; display: grid; gap: 12px; }
.ms35 h3 { margin: 0; font-size: 18px; }
#mgrid .ms35 .dm35l .ce .ce-t { padding-inline-start: 0; }
/* B: real names, scroll sideways */
.mbs35 { overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
.mbs35::-webkit-scrollbar { display: none; }
.mbs35 .bgrid { width: 860px !important; max-width: none !important; }
.mbs35 .bgrid .b span { overflow: visible !important; text-overflow: clip !important; max-width: none !important; }
/* C: the month as one long list */
.mc35 .wrow { margin-bottom: 8px; }

@media (max-width: 699px) { .sheet.m35:has(.whobox .sk35), .sheet.m35:has(.whobox .wsect) { height: min(640px, calc(100dvh - 176px)); } }
.ma35 { padding-bottom: 96px; }
/* r35 preview: calm empty home */
.ok35 { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 24px; background: var(--surface); margin-top: 24px; }
.ok35i { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: oklch(0.72 0.13 165); color: oklch(0.2 0.04 165); }
.ok35i .ic { width: 26px; height: 26px; stroke-width: 2.6; }
.ok35 div { display: grid; gap: 2px; } .ok35 b { font-size: 20px; } .ok35 span { color: var(--muted); font-size: 15px; }
.ok35b { display: flex; align-items: center; gap: 8px; margin: 24px 4px 0; color: var(--muted); font-size: 16px; }
.ok35b .ic { color: oklch(0.72 0.13 165); }
.sent35 { margin-top: 16px; padding: 20px; border-radius: 24px; background: var(--surface); display: grid; gap: 16px; }
.s35h { display: grid; gap: 4px; } .s35h .k { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 15px; } .s35h b { font-size: 24px; line-height: 1.2; }
.sent35.v-b .s35h { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; } .sent35.v-b .s35h b { font-size: 18px; }
.s35bar { height: 8px; border-radius: 8px; background: var(--sunk); overflow: hidden; } .s35bar i { display: block; height: 100%; border-radius: 8px; background: oklch(0.72 0.13 165); }
.s35avs { display: flex; flex-wrap: wrap; gap: 6px; }
.s35a { position: relative; opacity: .38; filter: grayscale(1); } .s35a.on { opacity: 1; filter: none; }
.s35a .av { box-shadow: none !important; }
.s35a i { position: absolute; inset-inline-end: -3px; bottom: -3px; width: 16px; height: 16px; border-radius: 50%; background: oklch(0.72 0.13 165); color: oklch(0.2 0.04 165); display: grid; place-items: center; border: 2px solid var(--surface); }
.s35a i .ic { width: 10px; height: 10px; stroke-width: 3.5; }
.s35b { justify-self: stretch; justify-content: center; gap: 6px; }
/* r35 preview: main card edge */
html[data-rim="n"] .mhub.g-glow::after, html[data-rim="n"] .mhub.g-ember::after { display: none; }
html[data-rim="h"] .mhub.g-glow::after { background: linear-gradient(to bottom, transparent 40%, oklch(1 0 0 / .16)); }
html[data-rim="h"][data-theme="light"] .mhub.g-glow::after { background: linear-gradient(to bottom, transparent 40%, oklch(0 0 0 / .10)); }
/* r35b preview: light main card in light mode (LS icon_hubL=1) */
html[data-hubl="1"]:not([data-theme="dark"]) .mhub.g-glow { background: radial-gradient(130% 70% at 50% 120%, color-mix(in oklch, var(--glow) 42%, transparent) 0%, color-mix(in oklch, var(--glow) 22%, transparent) 34%, color-mix(in oklch, var(--glow) 8%, transparent) 58%, transparent 80%), oklch(0.995 0.003 290); color: oklch(0.22 0.02 280); box-shadow: 0 1px 0 oklch(0 0 0 / .06), 0 12px 32px oklch(0.3 0.05 290 / .10); }
html[data-hubl="1"]:not([data-theme="dark"]) .mhub.g-glow :where(h1, h2, h3, b, span, p, a, .t, .cap, .brand, .link, button.link, .mh-k, .mh-n):not(.av, .av *, .lg) { color: oklch(0.22 0.02 280) !important; }
html[data-hubl="1"]:not([data-theme="dark"]) .mhub.g-glow :where(.cap, .mh-k):not(.av, .av *) { color: oklch(0.45 0.02 280) !important; }
html[data-hubl="1"]:not([data-theme="dark"]) .mhub.g-glow .brand .lg { background: oklch(0.36 0.12 262); color: #fff !important; }
html[data-hubl="1"]:not([data-theme="dark"]) .mhub.g-glow::before { background: radial-gradient(oklch(0 0 0 / .07) 1px, transparent 1.6px) 0 0 / 14px 14px; }
html[data-hubl="1"]:not([data-theme="dark"]) .mhub.g-glow::after { display: none; }
html[data-hubl="1"]:not([data-theme="dark"]) .mhub.g-glow .pxic { color: oklch(0.30 0.03 280); }
html[data-hubl="1"]:not([data-theme="dark"]) .mhub.g-glow [class*="line"], html[data-hubl="1"]:not([data-theme="dark"]) .mhub.g-glow hr { border-color: oklch(0 0 0 / .14); }
/* r35b: tick readable in both themes (white tick 3px on deep green, 5.2:1) */
.ok35i { background: oklch(0.50 0.11 165); color: #fff; }
.ok35i .ic { color: #fff; stroke: #fff; }
/* r35b M1/M2: today's month, bigger, scrolls sideways */
.mk35 { overflow-x: auto; margin-inline: -16px; padding: 0 16px 112px; scrollbar-width: none; overscroll-behavior-x: contain; }
.mk35::-webkit-scrollbar { display: none; }
.bk35 { display: grid; gap: 12px; width: max-content; }
.bk35w { display: grid; grid-template-columns: repeat(7, 156px); gap: 8px; align-items: start; }
.mk35.tc .bk35w { grid-template-columns: 36px repeat(7, 156px); }
.bk35d { background: var(--surface); border-radius: 18px; padding: 8px; display: grid; grid-auto-rows: 40px; gap: 6px; min-height: 216px; }
.bk35d.e { visibility: hidden; }
.bk35h { height: 28px; display: flex; align-items: center; justify-content: space-between; padding-inline: 6px 2px; }
.bk35h span { font-size: 13px; color: var(--muted); }
.bk35h b { font-size: 16px; font-weight: 700; min-width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.bk35d.tdy { outline: 2px solid var(--fg); outline-offset: -2px; } .bk35d.tdy .bk35h b { background: var(--fg); color: var(--bg); }
.bk35c { height: 40px; border: 0; border-radius: 20px; padding-block: 0; padding-inline: 6px 14px; display: flex; align-items: center; gap: 8px; font: 600 15px/1 inherit; font-family: inherit; color: oklch(0.2 0.03 250); cursor: pointer; white-space: nowrap; min-width: 0; text-align: start; }
.bk35c .av { width: 28px !important; height: 28px !important; border-radius: 50% !important; aspect-ratio: 1; flex: none; font-size: 12px !important; background: oklch(1 0 0 / .6) !important; color: oklch(0.25 0.03 250) !important; box-shadow: none !important; }
.bk35c .av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.bk35c.gap { background: transparent; outline: 1.5px dashed var(--no); outline-offset: -1.5px; color: var(--no-ink); }
.bk35c.gap .g35 { width: 28px; height: 28px; outline: 0; }
.bk35d.past .bk35c:not(.gap) { opacity: .5; }
.bk35t { position: sticky; inset-inline-start: 0; z-index: 2; display: grid; grid-auto-rows: 40px; gap: 6px; padding-block: 8px; background: var(--bg); border-radius: 12px; }
[dir="rtl"] .bk35t { --tcd: left; } [dir="ltr"] .bk35t { --tcd: right; }
.bk35t .bk35h { padding: 0; }
.bk35i { display: grid; place-items: center; color: var(--muted); }
/* r35b M3: roster by trainer */
.mr35 { overflow-x: auto; margin-inline: -16px; padding: 0 16px 112px; scrollbar-width: none; }
.mr35::-webkit-scrollbar { display: none; }
.ro35 { display: grid; gap: 4px; width: max-content; }
.ro35r { display: grid; grid-template-columns: 140px; grid-auto-flow: column; grid-auto-columns: 40px; gap: 4px; align-items: center; min-height: 48px; }
.ro35n { position: sticky; inset-inline-start: 0; z-index: 2; height: 48px; display: flex; align-items: center; gap: 8px; padding-inline: 8px; background: var(--bg); }
.ro35n b { font-size: 15px; font-weight: 600; white-space: nowrap; } .ro35n em { font-style: normal; font-size: 13px; color: var(--muted); margin-inline-start: auto; }
.ro35n .av { width: 28px !important; height: 28px !important; border-radius: 50%; flex: none; box-shadow: none !important; font-size: 12px !important; }
.ro35c { height: 48px; display: grid; place-items: center; border-radius: 12px; }
.ro35c.tdy { background: var(--surface); }
.ro35c button { width: 36px; height: 36px; border: 0; border-radius: 12px; display: grid; place-items: center; color: oklch(0.22 0.03 250); cursor: pointer; padding: 0; }
.ro35c button.g { background: transparent; outline: 1.5px dashed var(--no); outline-offset: -1.5px; color: var(--no-ink); }
.ro35c.past button { opacity: .45; }
.ro35hd .ro35c { display: grid; place-items: center; align-content: center; gap: 2px; } .ro35hd .ro35c i { font-style: normal; font-size: 11px; color: var(--muted); } .ro35hd .ro35c b { font-size: 15px; }
.ro35hd .ro35c.tdy b { color: var(--fg); }
/* r35b M4: small month + list */
.mcal35 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 12px; border-radius: 20px; background: var(--surface); margin-bottom: 16px; }
.mcal35 .hd { text-align: center; font-size: 12px; color: var(--muted); }
.mc35d { position: relative; height: 48px; border: 0; background: none; border-radius: 12px; display: grid; justify-items: center; align-content: center; gap: 4px; font: inherit; color: var(--fg); cursor: pointer; }
.mc35d b { font-size: 15px; font-weight: 600; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.mc35d.tdy b { background: var(--fg); color: var(--bg); } .mc35d.past { opacity: .45; }
.mc35k { display: flex; gap: 2px; height: 5px; } .mc35k i { width: 5px; height: 5px; border-radius: 50%; }
.mc35k .k-m { background: oklch(0.75 0.12 225); } .mc35k .k-a { background: oklch(0.78 0.15 80); } .mc35k .k-e { background: oklch(0.68 0.17 12); } .mc35k .k-n { background: oklch(0.6 0.18 300); }
.mc35d em { position: absolute; top: 4px; inset-inline-end: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--no); }
.mg35v .wrow { margin-bottom: 8px; }
.mk35, .mr35 { width: 100vw; max-width: 100vw; box-sizing: border-box; }
#mgrid:has(.mk35, .mr35) { min-width: 0; max-width: 100%; }
[dir="rtl"] .bk35t, [dir="rtl"] .ro35n { box-shadow: 16px 0 0 var(--bg); } [dir="ltr"] .bk35t, [dir="ltr"] .ro35n { box-shadow: -16px 0 0 var(--bg); }
/* r35c preview: light-mode page vs card (LS icon_lt): g = grey page + white cards (Apple grouped), gs = same + soft shadow, w = white page + grey cards */
:root[data-theme="light"][data-lt="g"], :root[data-theme="light"][data-lt="gs"] { --bg: oklch(0.955 0.006 172); --surface: oklch(1 0 0); --sunk: oklch(0.94 0.007 172); --line: oklch(0.895 0.008 172); }
:root[data-theme="light"][data-lt="gs"] :is(.ok35, .sent35, .bk35d, .d35, .mcal35, .bc, .card, .wk32card, .dtop, .tc34, .li, .sg33 .card) { box-shadow: 0 1px 2px oklch(0.3 0.02 172 / .06), 0 4px 12px oklch(0.3 0.02 172 / .05); }
:root[data-theme="light"][data-lt="w"] { --bg: oklch(1 0 0); --surface: oklch(0.962 0.006 172); --sunk: oklch(0.94 0.007 172); --line: oklch(0.9 0.008 172); }
:root[data-theme="light"][data-lt="g"] body, :root[data-theme="light"][data-lt="gs"] body, :root[data-theme="light"][data-lt="w"] body { background: var(--bg); }
/* r35c preview: month blocks as rounded rectangles instead of pills (LS icon_mChip r) */
:root[data-mchip="r"] .bk35c { border-radius: 10px; padding-inline: 6px 10px; }
:root[data-mchip="r"] .bk35c .av { width: 26px !important; height: 26px !important; }
:root[data-mchip="r"] .bk35d { border-radius: 14px; }
/* r35 build: month days 140px so the next day peeks (~34px) at the scroll edge, under a soft blur */
.mk35 .bk35w { grid-template-columns: repeat(7, 140px); } .mk35.tc .bk35w { grid-template-columns: 36px repeat(7, 140px); }
.mkw35 { position: relative; }
.pk35 { position: absolute; top: 0; bottom: 96px; inset-inline-end: -16px; width: 48px; pointer-events: none; z-index: 3; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); background: linear-gradient(to var(--pkd), color-mix(in oklch, var(--bg) 70%, transparent), transparent); -webkit-mask-image: linear-gradient(to var(--pkd), #000 30%, transparent); mask-image: linear-gradient(to var(--pkd), #000 30%, transparent); transition: opacity 220ms ease; }
[dir="rtl"] .pk35 { --pkd: right; } [dir="ltr"] .pk35 { --pkd: left; }
.mkw35.atend .pk35 { opacity: 0; }
/* r35d: gym-closed greeting sits above the face instead of on top of it */
.pc-now.pn2 .pn-hi { position: static; transform: none; width: auto; max-width: 100%; margin: 0 0 8px; font-size: 17px; font-weight: 500; opacity: .8; }
/* r35d: peek on both sides of the sideways month */
.pk35.s { inset-inline-end: auto; inset-inline-start: 36px; --pkd: left; } [dir="rtl"] .pk35.s { --pkd: left; } [dir="ltr"] .pk35.s { --pkd: right; }
.mk35:not(.tc) ~ .pk35.s { inset-inline-start: -16px; }
.mkw35.atstart .pk35.s { opacity: 0; }
/* morph modal: no CSS radius transition fighting the keyframes */
.sheet.m35 { overflow: hidden auto; }
/* r35d: week chips get room to breathe: 12px padding, 6px between the name row and the time row, so the time icon no longer touches the face */
@media (max-width: 999px) { #mgrid .ce, .dm35l .ce, #mgrid .ms35 .ce { min-height: 76px; padding: 12px 12px !important; gap: 6px; } #mgrid .wchips { gap: 10px; } }
/* r36 preview: day timeline */
.tl36 { position: relative; margin: 8px 0 120px; padding-inline-start: 40px; }
.tl36h { position: absolute; inset-inline-start: 0; translate: 0 -50%; font: 600 13px/1 "Px71", "Doto", monospace; color: var(--muted); width: 28px; text-align: center; }
.tl36g { position: absolute; inset-inline: 40px 0; height: 1px; background: var(--line); }
.tl36c { position: absolute; inset: 0 0 0 0; inset-inline-start: 48px; }
.tl36b { position: absolute; inset-inline-start: calc(var(--l) * (100% / var(--n))); width: calc(100% / var(--n) - 6px); border: 0; border-radius: 16px; padding: 12px; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; text-align: start; color: oklch(0.2 0.03 250); font: inherit; cursor: pointer; overflow: hidden; }
.tl36b.short { justify-content: flex-start; }
.tl36w { display: flex; align-items: center; gap: 10px; min-width: 0; } .tl36w b { font-size: 20px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl36w .av { width: 36px !important; height: 36px !important; border-radius: 50%; flex: none; background: oklch(1 0 0 / .6) !important; box-shadow: none !important; color: oklch(0.25 0.03 250) !important; }
.tl36t { display: flex; align-items: center; gap: 8px; } .tl36t .t { font: 900 16px/1 "Px71", "Doto", monospace; opacity: .85; }
.tl36b.gap { background: transparent; outline: 1.5px dashed var(--no); outline-offset: -1.5px; color: var(--no-ink); }
.tl36b.live { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--fg); }
.tl36now { position: absolute; inset-inline: 32px 0; height: 2px; background: oklch(0.63 0.2 25); z-index: 2; } .tl36now::before { content: ""; position: absolute; inset-inline-start: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: oklch(0.63 0.2 25); }
/* r36 preview: day = 4 slots */
.ds36 { display: grid; gap: 10px; margin: 8px 0 120px; }
.ds36s { position: relative; min-height: 132px; border: 0; border-radius: 22px; padding: 14px 16px; display: grid; grid-template-rows: auto 1fr auto; gap: 8px; text-align: start; font: inherit; color: oklch(0.2 0.03 250); background: var(--hb, var(--surface)); cursor: pointer; overflow: hidden; }
.ds36k { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; opacity: .85; }
.ds36k em { font-style: normal; margin-inline-start: auto; font-size: 13px; font-weight: 700; background: oklch(0.2 0.03 250); color: #fff; padding: 3px 10px; border-radius: 99px; opacity: 1; }
.ds36w { display: flex; align-items: center; gap: 12px; } .ds36w b { font-size: 28px; font-weight: 700; line-height: 1.1; }
.ds36w .av { width: 56px !important; height: 56px !important; border-radius: 50%; flex: none; background: oklch(1 0 0 / .6) !important; box-shadow: none !important; font-size: 20px !important; color: oklch(0.25 0.03 250) !important; }
.ds36t { font: 900 20px/1 "Px71", "Doto", monospace; opacity: .85; }
.ds36p { position: absolute; inset-inline: 0; bottom: 0; height: 5px; background: oklch(0 0 0 / .12); } .ds36p i { display: block; height: 100%; background: oklch(0.2 0.03 250 / .55); }
.ds36s.none { min-height: 64px; grid-template-rows: auto; grid-template-columns: 1fr auto; align-items: center; background: transparent; outline: 1.5px dashed var(--line); outline-offset: -1.5px; color: var(--muted); cursor: default; }
.ds36s.none .ds36e { font-size: 15px; }
.ds36s.gap { background: transparent; outline: 1.5px dashed var(--no); outline-offset: -1.5px; color: var(--no-ink); }
/* r36 preview: home balance (LS icon_homeV) */
/* sheet: a full-bleed panel with rounded top corners mirrors the hero's rounded bottom; rows sit flat on it */
@media (max-width: 999px) {
html[data-homev="sheet"] .m31 { margin: 16px calc(-1 * var(--pad)) 0; padding: 8px 20px 140px; background: var(--surface); border-radius: 32px 32px 0 0; min-height: 52dvh; display: grid; align-content: start; }
html[data-homev="sheet"] .m31 :is(.ok35, .sent35) { background: none; border-radius: 0; padding: 20px 0; margin: 0; box-shadow: none !important; }
html[data-homev="sheet"] .m31 .sent35 { border-top: 1px solid var(--line); }
html[data-homev="sheet"] .m31 .ny31 { margin-top: 12px; }
/* inset: the hero becomes a card with the same 16px side margins as everything below */
html[data-homev="inset"] .mhub { margin: 8px 0 0 !important; border-radius: 28px !important; padding-top: 18px !important; }
html[data-homev="inset"] .m31 { padding-bottom: 140px; }
/* flat: hero stays full bleed, the rest sits straight on the page, centred, no boxes */
html[data-homev="flat"] .m31 { padding: 8px 4px 140px; }
html[data-homev="flat"] .m31 .ok35 { background: none; flex-direction: column; text-align: center; gap: 10px; padding: 28px 0 8px; margin: 0; box-shadow: none !important; }
html[data-homev="flat"] .m31 .ok35 div { justify-items: center; }
html[data-homev="flat"] .m31 .ok35i { width: 64px; height: 64px; } html[data-homev="flat"] .m31 .ok35i .ic { width: 32px; height: 32px; }
html[data-homev="flat"] .m31 .sent35 { background: none; padding: 24px 0 0; margin-top: 16px; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none !important; }
}
/* r36b preview (html[data-edge]): month scroll edges. o = live (blur). b/f/m/n give the days room so ~36px of the neighbouring day shows past the time column; b = blur, f = colour fade over the content, m = mask fade of the content itself (Chrome / eBay technique), n = no effect, peek only */
:root:not([data-edge="o"]) .mk35 { --dw35: clamp(124px, calc((100vw - 124px) / 2), 180px); }
:root:not([data-edge="o"]) .mk35 .bk35w { grid-template-columns: repeat(7, var(--dw35)); } :root:not([data-edge="o"]) .mk35.tc .bk35w { grid-template-columns: 36px repeat(7, var(--dw35)); }
:root:not([data-edge="o"]) .mk35 .bk35 { padding-inline-end: 16px; }
:root[data-edge="b"] .pk35.s { inset-inline-start: 36px; }
:root[data-edge="f"] .pk35 { -webkit-backdrop-filter: none; backdrop-filter: none; -webkit-mask-image: none; mask-image: none; width: 44px; background: linear-gradient(to var(--pkd), color-mix(in oklch, var(--bg) 85%, transparent), transparent); }
:root[data-edge="f"] .pk35.s { width: 40px; inset-inline-start: 36px; }
:root[data-edge="m"] .pk35, :root[data-edge="n"] .pk35 { display: none; }
:root[data-edge="m"] .mk35 { --ms: .2; --me: .2; --mdir: right; -webkit-mask-image: linear-gradient(to var(--mdir), #000 0 52px, rgb(0 0 0 / var(--ms)) 52px, #000 92px, #000 calc(100% - 48px), rgb(0 0 0 / var(--me)) 100%); mask-image: linear-gradient(to var(--mdir), #000 0 52px, rgb(0 0 0 / var(--ms)) 52px, #000 92px, #000 calc(100% - 48px), rgb(0 0 0 / var(--me)) 100%); }
[dir="rtl"]:root[data-edge="m"] .mk35, :root[data-edge="m"] [dir="rtl"] .mk35 { --mdir: left; }
:root[data-edge="m"] .mkw35.atstart .mk35 { --ms: 1; } :root[data-edge="m"] .mkw35.atend .mk35 { --me: 1; }

/* r36c: day slot card = face | name over (icon + hours); "now" badge top end; 16px padding, 14px gap */
.ds36s:not(.none) { grid-template-rows: none; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; min-height: 0; padding: 16px; }
.ds36s .av { width: 56px !important; height: 56px !important; border-radius: 50%; flex: none; background: oklch(1 0 0 / .6) !important; box-shadow: none !important; font-size: 20px !important; color: oklch(0.25 0.03 250) !important; }
.ds36x { display: grid; gap: 6px; min-width: 0; } .ds36x b { font-size: 24px; font-weight: 700; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds36tm { display: flex; align-items: center; gap: 8px; opacity: .85; } .ds36tm .ds36t { font-size: 18px; opacity: 1; }
.ds36n { align-self: start; font-style: normal; font-size: 13px; font-weight: 700; background: oklch(0.2 0.03 250); color: #fff; padding: 3px 10px; border-radius: 99px; }
.ds36s.none { grid-template-columns: auto 1fr; gap: 12px; min-height: 56px; padding: 0 16px; }
/* r36c: pinned time column is a straight rectangle so day-card corners don't peek round it */
.bk35t { border-radius: 0; }
/* r37: the Panel runs past the page bottom (no line + colour change under it): stacked downward copies of the panel fill the screen's bottom padding without adding scroll */
@media (max-width: 999px) { html[data-homev="sheet"] .m31 { box-shadow: 0 200px 0 0 var(--surface), 0 400px 0 0 var(--surface); } }
/* r37: trainer schedule top bar = title and Month/Week switch on one row, like Ishay's */
.tsk.tt37 { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.tsk.tt37 h1 { margin: 0; font-size: 30px; font-weight: 700; line-height: 1.1; }
.tsk.tt37 .seg { flex: 0 0 auto; width: min(58%, 240px); }
/* r37: trainer month uses the "your December" look: day in the trainer's colour, icon and start hour */
#pane .calc .d.me { background: var(--c, var(--primary-soft)); border-color: transparent; color: oklch(0.25 0.03 250); }
#pane .calc .d { height: auto; min-height: 72px; grid-template-rows: auto; align-content: start; justify-items: center; gap: 2px; padding: 8px 0 6px; }
#pane .calc .d .n { grid-row: auto; }
#pane .calc .d .h37 { font: 900 13px/1 var(--px); }
#pane .calc .d.me .px, #pane .calc .d.me svg { color: inherit; }
#pane .calc .d.gone.me { opacity: .5; }
/* r37: "all good / there's a problem" sit 12px above the tab bar with a fade under them */
.conf32 .bottom, body.tabs-on .conf32 .bottom { padding-top: 32px; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + var(--tabh) + 12px); background: linear-gradient(to bottom, transparent, var(--bg) 32px); margin-inline: calc(-1 * var(--pad, 20px)); padding-inline: var(--pad, 20px); }
/* r37 preview: hero grouping options (icon_hero a/b/c) */
.pc-now.pn2.h37 { display: grid; justify-items: center; gap: 14px; text-align: center; }
.h37g { font-size: 17px; font-weight: 500; opacity: .75; }
.h37s { font-size: 30px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; max-width: 16ch; }
.h37c { display: inline-flex; align-items: center; gap: 12px; padding-block: 8px; padding-inline: 8px 22px; border-radius: 999px; background: var(--hb); color: oklch(0.22 0.03 250); }
.h37c b { font-size: 22px; font-weight: 700; line-height: 1; }
.h37c.big { gap: 14px; padding-inline: 10px 28px; padding-block: 10px; } .h37c.big b { font-size: 38px; letter-spacing: -.01em; }
.h37c .av { box-shadow: none !important; background: oklch(1 0 0 / .55) !important; color: oklch(0.25 0.03 250) !important; }
.h37l { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; opacity: .9; } .h37l i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }
.h37l .t { font: 900 24px/1 var(--px); }
.pc-now.pn2.h37-c { gap: 12px; }
.h37r { display: flex; align-items: center; gap: 16px; text-align: start; } .h37rt { display: grid; gap: 4px; } .h37rt b { font-size: 44px; line-height: 1.05; font-weight: 700; } .h37rt span { font-size: 18px; opacity: .8; }
.h37-a.closed .h37l .t { font-size: 20px; }
/* r37 preview: whole month on one screen */
.m37 { margin-inline: -12px; }
.mg37 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.mg37 .hd { text-align: center; font-size: 13px; color: var(--muted); padding-bottom: 4px; }
.d37 { all: unset; box-sizing: border-box; min-width: 0; display: grid; gap: 2px; align-content: start; padding: 4px 2px 3px; border-radius: 10px; background: var(--surface); cursor: pointer; }
.d37 b { font-size: 13px; font-weight: 600; text-align: center; padding-bottom: 1px; }
.d37.tdy { outline: 2px solid var(--fg); outline-offset: -2px; } .d37.past { opacity: .5; }
.b37 { display: block; height: 17px; border-radius: 5px; background: var(--hb); color: oklch(0.22 0.03 250); font-size: 11px; font-weight: 600; line-height: 17px; padding-inline: 3px; overflow: hidden; white-space: nowrap; text-overflow: clip; text-align: center; }
.b37.no { background: transparent; } .b37.gap { background: transparent; outline: 1.5px dashed var(--no); outline-offset: -1.5px; color: var(--no-ink); }
.m37i .b37 { height: 9px; border-radius: 3px; } .m37i .d37 { gap: 3px; min-height: 64px; }
/* r37 preview: easter egg at the very bottom of home (icon_egg p/w/e). Shows once you reach it; reduced motion = static */
.egg37 { all: unset; box-sizing: border-box; display: grid; justify-items: center; gap: 10px; margin: 40px auto 0; padding-block: 8px; color: var(--muted); font-size: 14px; opacity: 0; transform: translateY(12px); transition: opacity 500ms ease, transform 600ms cubic-bezier(.2,.9,.3,1.2); }
.egg37.go { opacity: 1; transform: none; }
.egg37 .pxic { color: var(--muted); }
.egg37 .ew { display: flex; justify-content: center; } .egg37 .ew i { margin-inline: -4px; display: block; }
.egg37 .ew .av { box-shadow: 0 0 0 2px var(--surface) !important; }
.egg37.go .ew i { animation: wave37 900ms cubic-bezier(.3,.7,.4,1) both; animation-delay: calc(var(--k) * 70ms + 200ms); }
@keyframes wave37 { 0% { transform: translateY(0); } 35% { transform: translateY(-14px); } 70% { transform: translateY(2px); } 100% { transform: translateY(0); } }
.e-w { cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .egg37 { opacity: 1; transform: none; transition: none; } .egg37.go .ew i { animation: none; } }
/* r37 preview: action card greets once a day (icon_ntf f = floats in over the page then docks, p = pulses in place) */
.bc31.fly37 { position: fixed; z-index: 60; inset-inline: 16px; bottom: calc(104px + env(safe-area-inset-bottom, 0px)); margin: 0; box-shadow: 0 18px 48px oklch(0 0 0 / .35); animation: fly37 520ms cubic-bezier(.2,.9,.3,1.1) both; }
@keyframes fly37 { from { opacity: 0; transform: translateY(40px) scale(.96); } }
.fly37s { position: fixed; inset: 0; z-index: 59; background: oklch(0 0 0 / .35); animation: fadein37 300ms ease both; }
@keyframes fadein37 { from { opacity: 0; } }
.bc31.pulse37 { animation: pulse37 1.4s ease-out 2 both; }
@keyframes pulse37 { 0% { box-shadow: 0 0 0 0 color-mix(in oklch, var(--primary, oklch(.7 .12 165)) 55%, transparent); } 100% { box-shadow: 0 0 0 18px transparent; } }
/* r37b: trainer month = the "your December" grid; past days dimmed, today ringed */
#pane .tmon button.gone { opacity: .5; } #pane .tmon button.td { box-shadow: inset 0 0 0 2px var(--fg); } #pane .tmon button.td b { color: var(--fg); } #pane .tmon button.on.td b { color: inherit; }
#pane .tmon button { cursor: pointer; }
.tmon { --px: "Px71", "Doto", ui-monospace, monospace; }
/* r37 preview (icon_prob 2): picking shifts has a real selection animation; step 2 = one-tap reason per shift */
.p37 .trow.pick { transition: background-color 220ms ease, box-shadow 220ms ease, transform 120ms ease; }
.p37 .trow.pick:active { transform: scale(.98); }
.p37 .trow.pick.on { background: color-mix(in oklch, var(--primary, oklch(.72 .12 165)) 18%, var(--surface)); box-shadow: inset 0 0 0 2px var(--primary, oklch(.72 .12 165)); }
.p37 .trow .cb { transition: background-color 200ms ease, border-color 200ms ease; }
.p37 .trow.on .cb { background: var(--primary, oklch(.72 .12 165)); border-color: transparent; color: var(--bg); }
.p37 .trow.on .cb svg { animation: cb37 320ms cubic-bezier(.2,.9,.3,1.4) both; }
@keyframes cb37 { from { transform: scale(0) rotate(-20deg); } }
.why37 { background: var(--surface); border-radius: 20px; padding: 14px; display: grid; gap: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.why37h { display: flex; align-items: center; gap: 10px; } .why37h .dd { width: 36px; height: 36px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font: 900 16px/1 "Px71", "Doto", monospace; } .why37h b { font-size: 17px; } .why37h .t { font: 900 18px/1 "Px71", "Doto", monospace; }
.why37c { display: flex; flex-wrap: wrap; gap: 8px; }
.why37c button { all: unset; box-sizing: border-box; min-height: 44px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 15px; font-weight: 500; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: background-color 180ms ease, color 180ms ease, transform 120ms ease; }
.why37c button:active { transform: scale(.95); }
.why37c button.on { background: var(--fg); color: var(--bg); box-shadow: none; }
.why37n { min-height: 64px; }
@media (prefers-reduced-motion: reduce) { .p37 .trow.on .cb svg { animation: none; } }
/* r38: reason buttons = equal 2x2 grid, lighter than the card, picked one turns green with a tick (no lone chip on its own line) */
.why37c { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.why37c button { justify-content: center; min-height: 48px; border-radius: 14px; padding: 0 12px; background: color-mix(in oklch, var(--fg) 7%, var(--surface)); box-shadow: none; font-weight: 600; text-align: center; }
.why37c button.on { background: var(--primary); color: var(--on-primary); }
.why37c button.on::before { content: ""; width: 16px; height: 16px; margin-inline-end: 6px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; animation: cb37 300ms cubic-bezier(.2,.9,.3,1.4) both; }
/* r38 preview: hero like the trainer's (icon_hero d/e/f) — face beside name, real buttons in the card */
.mhub .h38 { display: grid; gap: 10px; justify-items: start; text-align: start; width: 100%; padding-top: 8px; }
.mhub .h38.h38-e { justify-items: center !important; text-align: center; } .h38-e > * { justify-self: center !important; } .h38-e .h38r { flex-direction: column; gap: 10px; } .h38-e .h38n { text-align: center; justify-items: center; } .h38-e .h38r .av { width: 96px !important; height: 96px !important; } .h38-e .h38n b { font-size: 52px; }
.h38k { font-size: 17px; font-weight: 500; opacity: .8; }
.h38r { display: flex; align-items: center; gap: 14px; } .h38r .av { box-shadow: 0 0 0 3px oklch(1 0 0 / .14) !important; }
.h38n { display: grid; gap: 2px; text-align: start; } .h38n b { font-size: 44px; line-height: 1.05; font-weight: 700; letter-spacing: -.01em; } .h38n span { font-size: 16px; opacity: .8; }
.h38t { display: inline-flex; align-items: center; gap: 10px; } .h38t .t { font: 900 30px/1 "Px71", "Doto", monospace; }
.h38l { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; min-height: 40px; font-size: 15px; opacity: .9; cursor: pointer; } .h38l span:first-child { opacity: .75; } .h38l .t { font: 900 17px/1 "Px71", "Doto", monospace; }
.h38a { display: flex; gap: 10px; width: 100%; margin-top: 16px; }
.hb38 { all: unset; box-sizing: border-box; flex: 1; min-height: 52px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: oklch(1 0 0 / .16); color: #fff; font-size: 17px; font-weight: 600; cursor: pointer; } .hb38.sq { flex: 0 0 52px; } .hb38 svg { width: 20px; height: 20px; }
html[data-hubl="1"]:not([data-theme="dark"]) .hb38 { background: oklch(0 0 0 / .07); color: inherit; }
.st38 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; width: 100%; margin-top: 6px; }
.st38i { all: unset; box-sizing: border-box; display: grid; justify-items: center; gap: 6px; padding: 10px 4px; border-radius: 16px; background: oklch(1 0 0 / .08); cursor: pointer; } .st38i.on { background: oklch(1 0 0 / .22); } .st38i.past { opacity: .5; } .st38i .t { font: 900 14px/1 "Px71", "Doto", monospace; }
html[data-hubl="1"]:not([data-theme="dark"]) .st38i { background: oklch(0 0 0 / .05); } html[data-hubl="1"]:not([data-theme="dark"]) .st38i.on { background: oklch(0 0 0 / .12); }
/* r38 preview (icon_lap 1): the panel overlaps the hero's square bottom, like the trainer home */
@media (max-width: 999px) { html[data-lap="1"] .mhub { border-radius: 0; padding-bottom: 56px; } html[data-lap="1"][data-homev="sheet"] .m31 { margin-top: -32px; position: relative; z-index: 2; } html[data-lap="1"] .mhub.g-glow::after, html[data-lap="1"] .mhub.g-ember::after { display: none; } }

/* r38 hero notification centre (icon_ntf "h") */
.mhub { position: relative; }
.nc38 { position: absolute; inset-inline: 0; top: calc(env(safe-area-inset-top, 0px) + 84px); padding: 0 24px; display: grid; gap: 8px; justify-items: start; text-align: start; color: #fff; z-index: 3; opacity: 0; transform: translateY(-36px); pointer-events: none; transition: opacity 320ms ease, transform 560ms cubic-bezier(.22, 1, .36, 1); }
.nc38k { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: oklch(1 0 0 / .14); } .nc38k svg { width: 16px; height: 16px; }
.nc38 b { font-size: 40px; line-height: 1.08; font-weight: 700; } .nc38s { font-size: 16px; opacity: .8; }
.nc38a { display: flex; gap: 10px; width: 100%; margin-top: 12px; } .hb38.pri { background: #fff; color: oklch(0.25 0.03 250); } .nc38a .hb38:not(.pri) { flex: 0 0 auto; padding: 0 22px; }
.nc38p { display: block; width: 100% !important; justify-self: stretch; min-width: 0; font-size: 0; height: 3px; border-radius: 3px; background: oklch(1 0 0 / .15); overflow: hidden; margin-top: 10px; position: relative; } .nc38p::after { content: ""; position: absolute; inset: 0; background: oklch(1 0 0 / .7); transform-origin: right; transform: scaleX(1); }
.mhub.nc-on .nc38 { opacity: 1; transform: none; pointer-events: auto; } .mhub.nc-on .nc38p::after { transition: transform var(--ms, 6000ms) linear 400ms; transform: scaleX(0); }
.mhub .hub-stage > * { transition: opacity 260ms ease, transform 520ms cubic-bezier(.22, 1, .36, 1); }
.mhub.nc-on .hub-stage > * { opacity: 0; transform: translateY(48px); pointer-events: none; }
html[data-hubl="1"]:not([data-theme="dark"]) .nc38 { color: inherit; } html[data-hubl="1"]:not([data-theme="dark"]) .nc38k, html[data-hubl="1"]:not([data-theme="dark"]) .nc38p { background: oklch(0 0 0 / .07); } html[data-hubl="1"]:not([data-theme="dark"]) .hb38.pri { background: var(--primary); color: var(--on-primary); }
@media (prefers-reduced-motion: reduce) { .nc38, .mhub .hub-stage > * { transition: opacity 200ms ease; transform: none !important; } }

/* r38 pixel character egg */
.spr38 { position: relative; display: block; width: var(--w); height: var(--h); color: var(--primary); } .spr38 svg { position: absolute; inset: 0; fill: currentColor; shape-rendering: crispEdges; }
.spr38 .f1 { opacity: 0; }
.egg37.go .s-c .f0 { animation: f0 1400ms steps(1) 300ms 3; } .egg37.go .s-c .f1 { animation: f1 1400ms steps(1) 300ms 3; }
.egg37.go .s-c { animation: lift38 1400ms cubic-bezier(.3,.7,.4,1) 300ms 3; }
@keyframes f0 { 0%, 100% { opacity: 1; } 35%, 75% { opacity: 0; } } @keyframes f1 { 0%, 100% { opacity: 0; } 35%, 75% { opacity: 1; } }
@keyframes lift38 { 0%, 30%, 100% { transform: none; } 38% { transform: translateY(-4px); } 50% { transform: none; } }
.egg37.e-r { width: 100%; } .egg37.e-r .spr38 { justify-self: start; }
.egg37.go .s-r { animation: run38 3200ms linear 200ms both; } .egg37.go .s-r .f0 { animation: f0 300ms steps(1) infinite; } .egg37.go .s-r .f1 { animation: f1 300ms steps(1) infinite; }
@keyframes run38 { from { transform: translateX(calc(100vw - 32px)); } to { transform: translateX(calc(50vw - 52px)); } }
[dir="rtl"] .egg37.go .s-r { animation-name: run38r; } @keyframes run38r { from { transform: translateX(calc(-100vw + 32px)) scaleX(-1); } to { transform: translateX(calc(-50vw + 52px)) scaleX(-1); } }
@media (prefers-reduced-motion: reduce) { .egg37.go .spr38, .egg37.go .spr38 svg { animation: none !important; } }

/* r38 month H: short names + zoom */
.mt38 { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; } .mt38 > :first-child { flex: 1; min-width: 0; }
.nk38 { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px; border-radius: 16px; background: var(--warn-soft); color: var(--fg); cursor: pointer; font-size: 14px; } .nk38 .av { box-shadow: 0 0 0 2px var(--warn-soft) !important; } .nk38 .av + .av { margin-inline-start: -18px; } .nk38 .nk38t { display: grid; flex: 1; min-width: 0; text-align: start; } .nk38 .av { flex: none; } .nk38 svg { width: 18px; height: 18px; }
.zm38 { all: unset; box-sizing: border-box; flex: 0 0 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; background: var(--surface); cursor: pointer; } .zm38 svg { width: 22px; height: 22px; }
.m37h.zoom { overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; } .m37h.zoom::-webkit-scrollbar { display: none; }
.m37h.zoom .mg37 { width: 210%; } .m37h.zoom .b37 { height: 24px; line-height: 24px; font-size: 13px; border-radius: 6px; } .m37h.zoom .d37 b { font-size: 15px; }
.m37h.anim38 { overflow: hidden !important; }
.nk38l .li { gap: 12px; } .nk38l .nk38i { width: 104px !important; min-width: 0; flex: 0 0 104px !important; text-align: center; padding-inline: 8px; } .nk38i[aria-invalid="true"] { outline: 2px solid var(--no); }
html[data-hubl="1"]:not([data-theme="dark"]) .nc38p::after { background: oklch(0 0 0 / .45); }
/* r39: "waiting for you" cards two per line on phones, nothing cut at the screen edge */
@media (max-width: 999px) { .nys31 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; scroll-snap-type: none; } .nys31 .nyc { width: auto; min-width: 0; height: auto; aspect-ratio: 1; } }

/* r39 home variants g/h/i + WhatsApp contrast */
.hb38.wa { background: #fff; color: oklch(0.22 0.03 250); } .hb38.wa svg { color: oklch(0.62 0.17 150); }
html[data-hubl="1"]:not([data-theme="dark"]) .hb38.wa { background: oklch(0.45 0.11 155); color: #fff; } html[data-hubl="1"]:not([data-theme="dark"]) .hb38.wa svg { color: #fff; }
.h39c { display: flex; align-items: center; gap: 14px; width: 100%; box-sizing: border-box; padding: 16px; border-radius: 24px; background: oklch(1 0 0 / .1); border: 1px solid oklch(1 0 0 / .12); }
.h39n { display: grid; gap: 6px; min-width: 0; } .h39n b { font-size: 34px; line-height: 1.05; font-weight: 700; } .h39s { font-size: 15px; opacity: .8; } .h39c .h38t .t { font-size: 24px; }
.h39big { font-size: 52px; line-height: 1.02; font-weight: 700; letter-spacing: -.01em; }
.h39l { display: grid; width: 100%; border-radius: 20px; background: oklch(1 0 0 / .08); overflow: hidden; margin-top: 4px; }
.h39r { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 20px 92px 28px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 48px; padding: 6px 14px; cursor: pointer; } .h39r + .h39r { border-top: 1px solid oklch(1 0 0 / .08); }
.h39r .t { font: 900 16px/1 "Px71", "Doto", monospace; } .h39r b { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .h39r.on { background: oklch(1 0 0 / .16); } .h39r.past { opacity: .5; }
.h39g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; margin-top: 6px; }
.h39t { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 60px; padding: 10px 12px; border-radius: 18px; background: oklch(1 0 0 / .08); cursor: pointer; } .h39t > span { display: grid; gap: 3px; min-width: 0; } .h39t b { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h39t .tt { display: inline-flex; align-items: center; gap: 5px; opacity: .85; } .h39t .t { font: 900 13px/1 "Px71", "Doto", monospace; } .h39t.on { background: oklch(1 0 0 / .2); } .h39t.past { opacity: .5; } .h39t .av { flex: none; }
html[data-hubl="1"]:not([data-theme="dark"]) :is(.h39c, .h39l, .h39t) { background: oklch(0 0 0 / .05); border-color: oklch(0 0 0 / .06); } html[data-hubl="1"]:not([data-theme="dark"]) :is(.h39r.on, .h39t.on) { background: oklch(0 0 0 / .1); } html[data-hubl="1"]:not([data-theme="dark"]) .h39r + .h39r { border-color: oklch(0 0 0 / .07); }
.mh-noph { width: 100%; } .mh-noph .hb38 { width: 100%; }
/* r39b: pinch on the month zooms the month, never the page; real gutter at both edges when zoomed */
.m37h { touch-action: pan-x pan-y; }
.mt38 .nk38sp { flex: 1; } .nk38a { display: flex; flex: none; } .nk38a .av + .av { margin-inline-start: -18px; }
.m37h.zoom { padding-inline: 0 !important; } .m37h.zoom .mg37 { width: calc(210% - 32px); margin-inline: 16px; box-sizing: content-box; } .m37h.zoom .mg37::after { content: ""; grid-column: 1 / -1; height: 0; }
.m37h.zoom::after { content: ""; display: block; width: 16px; height: 1px; }
/* r39b: WhatsApp in a light hero: calm white pill, dark text, green mark */
html[data-hubl="1"]:not([data-theme="dark"]) .hb38.wa, :root:not([data-theme="dark"]) .mhub .hb38.wa { background: #fff; color: var(--fg); box-shadow: 0 1px 2px oklch(0 0 0 / .08), 0 0 0 1px oklch(0 0 0 / .06); } html[data-hubl="1"]:not([data-theme="dark"]) .hb38.wa svg, :root:not([data-theme="dark"]) .mhub .hb38.wa svg { color: oklch(0.55 0.15 150); }
.h39g.n3 > :last-child, .h39g.n1 > :last-child { grid-column: 1 / -1; }

/* r40: home I tiles = one row of up to 3 (never the person already at the top); WhatsApp = the trainer home's calm glass button */
.h39g { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } .h39g.n3 > :last-child, .h39g.n1 > :last-child { grid-column: auto; }
.h39g.n3 .h39t { flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 12px 6px; } .h39g.n3 .h39t > span { justify-items: center; }
.h39g.n2 .h39t, .h39g.n1 .h39t { min-height: 64px; }
.mhub .hb38.wa, html[data-hubl="1"]:not([data-theme="dark"]) .hb38.wa, :root:not([data-theme="dark"]) .mhub .hb38.wa { background: oklch(1 0 0 / .18); color: #fff; box-shadow: none; font-weight: 600; } .mhub .hb38.wa svg, :root:not([data-theme="dark"]) .mhub .hb38.wa svg, html[data-hubl="1"]:not([data-theme="dark"]) .hb38.wa svg { color: currentColor; }
:root:not([data-theme="dark"])[data-hubl="1"] .mhub .hb38.wa { background: oklch(0 0 0 / .07); color: var(--fg); }

/* r40 easter egg under the page */
@media (max-width: 999px) {
  html[data-homev="sheet"] .m31:has(+ .egg40) { border-radius: 32px 32px 32px 32px; box-shadow: 0 24px 40px -18px oklch(0 0 0 / .55); padding-bottom: 40px; min-height: calc(100dvh - 380px); position: relative; z-index: 2; }
  .egg40 { position: relative; z-index: 1; height: 196px; margin-top: -60px; display: flex; flex-direction: column; justify-content: flex-end; }
  body.tabs-on .screen:has(.egg40) { padding-bottom: 0; }
  .e40s { position: sticky; bottom: calc(env(safe-area-inset-bottom, 0px) + var(--tabh) + 36px); display: grid; justify-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
  .e40s > span:not(.spr38) { opacity: 0; transform: translateY(6px); transition: opacity 300ms ease, transform 400ms cubic-bezier(.2, .8, .2, 1); }
  .egg40 .spr38 { transform: translateY(calc((1 - var(--p, 0)) * 18px)) scaleY(calc(.9 + var(--p, 0) * .1)); transform-origin: bottom; }
  .egg40.strain .spr38 { animation: strain40 120ms steps(2) infinite; }
  .egg40.up .f0 { opacity: 0; } .egg40.up .f1 { opacity: 1; } .egg40.up > .e40s > span:not(.spr38) { opacity: 1; transform: none; }
  .egg40.up .spr38 { animation: press40 520ms cubic-bezier(.3, 1.6, .5, 1); }
}
@keyframes strain40 { 0% { translate: -1px 0; } 100% { translate: 1px 0; } }
@keyframes press40 { 0% { translate: 0 4px; } 60% { translate: 0 -4px; } 100% { translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .egg40 .spr38, .egg40.strain .spr38, .egg40.up .spr38 { animation: none !important; transform: none !important; } }

/* r40 month-collecting box */
.c40 { display: grid; gap: 8px; } .c40 .pr40 { height: 8px; border-radius: 8px; background: var(--sunk, oklch(0.5 0 0 / .15)); overflow: hidden; margin-top: 6px; } .c40 .pr40 i { display: block; height: 100%; min-width: 8px; border-radius: 8px; background: var(--primary); }
.av40 { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; } .a40 { position: relative; display: block; } .a40:not(.ok) .av { opacity: .38; filter: grayscale(1); }
.a40 i { position: absolute; inset-inline-end: -3px; bottom: -3px; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); box-shadow: 0 0 0 2px var(--surface); } .a40 i .ic, .a40 i svg { width: 11px; height: 11px; }
.hb40 { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; margin-top: 8px; border-radius: 999px; background: var(--sunk, oklch(0.5 0 0 / .12)); color: var(--fg); font-weight: 600; font-size: 16px; text-decoration: none; } .hb40 svg { width: 20px; height: 20px; color: oklch(0.62 0.17 150); }
.ok40 { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); }
/* r40: day sheet stacks its (max 4) shifts, one per row: face + name, hours at the end — easier to scan top to bottom */
.dm35 .dm35l { grid-template-columns: 1fr; gap: 8px; }
.dm35 .dm35l .ce { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; padding: 10px 16px !important; }
.dm35 .dm35l .ce .ce-n { flex: 1; min-width: 0; gap: 12px; } .dm35 .dm35l .ce .ce-n .av { width: 36px !important; height: 36px !important; font-size: 14px !important; }
.dm35 .dm35l .ce .ce-t { flex: none; flex-direction: row-reverse; } .dm35 .dm35l .ce .ce-t .t, .dm35 .dm35l .ce .ce-t [dir="ltr"] { font-size: 20px; }
/* r40: square "waiting" cards that fit their content */
.nys31 .nyc { padding: 14px; gap: 2px; overflow: hidden; } .nys31 .nyc .nyc-top { margin-bottom: 4px; } .nys31 .nyc b { font-size: 15px; } .nys31 .nyb { height: 38px; }
.nk38[hidden] { display: none !important; } .mt38 .nk38:not([hidden]) { flex: 1; min-width: 0; }
/* r41: trainer week, calm cards with pixel hours and pixel icons */
.tw41 { display: grid; gap: 12px; }
.s41 { margin: 0; color: var(--muted); font-size: 15px; padding-inline: 4px; } .s41 b { color: var(--fg); font-weight: 600; }
.l41 { display: grid; gap: 8px; }
.r41 { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 12px; }
.r41 .d41 { display: grid; justify-items: center; gap: 2px; color: var(--muted); }
.r41 .d41 span { font-size: 13px; } .r41 .d41 b { font: 800 20px/1 "Px71", "Doto", "Google Sans", monospace; color: var(--fg); width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; }
.r41.td .d41 b { background: var(--fg); color: var(--bg); } .r41.td .d41 span { color: var(--fg); font-weight: 600; }
.cs41 { display: grid; gap: 8px; min-width: 0; }
.r41.off { min-height: 52px; } .n41 { color: var(--muted); font-size: 15px; padding-inline: 4px; }
.c41 { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 12px 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); color: var(--fg); min-width: 0; transition: transform 120ms; -webkit-tap-highlight-color: transparent; }
.c41:active { transform: scale(.98); } .c41:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.c41 .p41 { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.c41 .p41 svg { fill: currentColor; }
.c41 .grow { display: grid; gap: 4px; min-width: 0; }
.c41 .t { font: 900 24px/1 "Px71", "Doto", "Google Sans", monospace; letter-spacing: .02em; }
.c41 .grow > span { font-size: 14px; color: var(--muted); }
.c41 .chev { color: var(--muted); width: 18px; height: 18px; flex: none; }
.c41.gone, .r41.gone .d41 { opacity: .5; }
/* A: calm card, your colour as a thin edge */
.va .c41 { box-shadow: inset 4px 0 0 var(--hue); } [dir="rtl"] .va .c41 { box-shadow: inset -4px 0 0 var(--hue); }
.va .c41.gone { box-shadow: none; }
/* B: soft tint of your colour */
.vb .c41 { background: color-mix(in oklab, var(--hue) 14%, var(--surface)); border-color: color-mix(in oklab, var(--hue) 35%, var(--line)); }
.vb .c41.gone { background: var(--surface); border-color: var(--line); }
.vb .r41.off .n41 { border-bottom: 1px dashed var(--line); padding-block: 14px; display: block; }
/* C: only the days you work, days off folded into one line */
.l41.c .c41 { min-height: 84px; background: var(--surface); }
.l41.c .d41 { display: grid; justify-items: center; gap: 2px; min-width: 44px; padding-inline-end: 12px; border-inline-end: 1px solid var(--line); }
.l41.c .d41 b { font: 800 26px/1 "Px71", "Doto", "Google Sans", monospace; } .l41.c .d41 span { font-size: 13px; color: var(--muted); }
.o41 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; padding: 4px; }
.oc41 { padding: 6px 10px; border-radius: 999px; background: var(--sunk); color: var(--fg); font-size: 14px; } .oc41.td { outline: 1.5px solid var(--fg); }
.e41 { color: var(--muted); text-align: center; padding: 32px 0; }
.tw41s .px41 { display: inline-flex; gap: 3px; color: var(--muted); } .tw41s .px41 svg { fill: currentColor; } .tw41s .gone .grow { opacity: .6; }
.tw41n .wkpick { display: flex; flex-direction: column; }
/* r41: reason chips with pixel icons; "other" opens a text box */
.rs41 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rc41 { all: unset; box-sizing: border-box; cursor: pointer; display: grid; justify-items: center; align-content: center; gap: 8px; min-height: 92px; padding: 12px 6px; border-radius: 20px; background: var(--surface); border: 1.5px solid var(--line); color: var(--fg); font-size: 16px; text-align: center; transition: transform 120ms, border-color 120ms, background-color 120ms; -webkit-tap-highlight-color: transparent; }
.rc41 .pxic { color: var(--muted); transition: color 120ms; }
.rc41:active { transform: scale(.96); } .rc41:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.rc41.on { border-color: var(--primary); background: var(--primary-soft); } .rc41.on .pxic { color: var(--primary); }
.rt41 { width: 100%; box-sizing: border-box; resize: none; animation: rt41 220ms cubic-bezier(.2,.8,.2,1); }
@keyframes rt41 { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .rt41 { animation: none; } }
.li .p41 { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.px41t { font-family: "Px71", "Doto", "Google Sans", monospace !important; font-weight: 900 !important; font-size: 24px !important; letter-spacing: .02em; }
/* r41: lifter only appears when you pull past the end of the page */
@media (max-width: 999px) {
  html[data-homev="sheet"] .m31:has(+ .egg40) { border-radius: 32px 32px 0 0; box-shadow: 0 200px 0 0 var(--surface), 0 400px 0 0 var(--surface); padding-bottom: calc(env(safe-area-inset-bottom, 0px) + var(--tabh) + 48px); min-height: calc(100dvh - 300px); will-change: auto; transition: border-radius 200ms; }
  html[data-homev="sheet"] .m31.pull41 { border-radius: 32px; box-shadow: 0 24px 40px -18px oklch(0 0 0 / .45); }
  .egg40 { position: fixed; inset: auto 0 calc(env(safe-area-inset-bottom, 0px) + var(--tabh) + 30px); height: auto; margin: 0; z-index: 1; pointer-events: none; visibility: hidden; display: block; }
  .egg40.vis { visibility: visible; }
  .egg40 .e40s { position: static; }
  .egg40 .spr38 { transform: translateY(calc((1 - var(--p, 0)) * 40px)) scaleY(calc(.85 + var(--p, 0) * .15)); }
  .m31:has(+ .egg40) { position: relative; z-index: 2; }
}
/* r41: day sheets use the day-view cards; sheets always scroll to their last card */
.ds36.dm41 { margin: 4px 0 0; gap: 10px; }
.ds36.dm41 .ds36s { padding: 14px 16px; } .ds36.dm41 .ds36s .av { width: 48px !important; height: 48px !important; } .ds36.dm41 .ds36s:not(.none) { grid-template-columns: 48px 1fr auto; } .ds36.dm41 .ds36x b { font-size: 21px; }
.sheet:has(.dm41) { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 28px); }
.sheet .dm41:last-child, .sheet .dm35:last-child { padding-bottom: 8px; }
/* r41c: label small on top, big pixel time with its icon beside it, arrow at the very end, no boxes, no edge */
.c41 { gap: 12px; padding: 14px 18px; min-height: 76px; }
.c41 .grow { flex: 1; gap: 6px; }
.k41 { font-size: 14px; color: var(--muted); line-height: 1.2; }
.tm41 { display: flex; align-items: center; gap: 10px; min-width: 0; } .tm41 .pxic { flex: none; color: var(--fg); opacity: .8; }
.tm41 .t { font: 900 26px/1 "Px71", "Doto", "Google Sans", monospace; letter-spacing: .02em; }
.c41 .chev { margin-inline-start: auto; }
.va .c41, [dir="rtl"] .va .c41 { box-shadow: none; }
.f41 { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: 20px; border: 1.5px dashed var(--line); color: var(--muted); font-size: 15px; box-sizing: border-box; }
.f41 .pxic { flex: none; opacity: .7; }
.r41.gone .f41 { opacity: .5; }
.r41.off { min-height: 0; }
.tm41.a41 { margin-top: 4px; } .tm41.a41 .t { font-size: 28px; }
/* r41d: week cards with pop: full-contrast time, shift-coloured pixel icon, a light wash of your colour */
.tw41 .c41:not(.gone) { background: color-mix(in oklab, var(--hue) 16%, var(--surface)); border-color: color-mix(in oklab, var(--hue) 45%, transparent); }
.tw41 .c41:not(.gone) .k41 { color: var(--fg); opacity: .75; font-weight: 600; }
.tw41 .c41:not(.gone) .tm41 .t { color: var(--fg); }
.tw41 .c41:not(.gone) .chev { color: var(--fg); opacity: .7; }
.tm41 .pxic { opacity: 1; }
.tm41.q-m .pxic { color: oklch(0.62 0.15 60); } .tm41.q-a .pxic { color: oklch(0.66 0.15 85); } .tm41.q-e .pxic { color: oklch(0.6 0.17 25); } .tm41.q-n .pxic { color: oklch(0.55 0.15 280); }
[data-theme="dark"] .tm41.q-m .pxic { color: oklch(0.8 0.14 65); } [data-theme="dark"] .tm41.q-a .pxic { color: oklch(0.86 0.14 90); } [data-theme="dark"] .tm41.q-e .pxic { color: oklch(0.76 0.14 25); } [data-theme="dark"] .tm41.q-n .pxic { color: oklch(0.78 0.11 280); }
.c41.gone .tm41 .pxic { color: var(--muted); }
/* r41d: lifter: no drop shadow, a darker floor under the page; he stands clear above the tab bar */
@media (max-width: 999px) {
  html[data-homev="sheet"] .m31.pull41 { box-shadow: none; }
  .egg40 { inset: auto 0 0 0; height: 60vh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + var(--tabh) + 40px); box-sizing: border-box; background: color-mix(in oklab, var(--bg) 88%, black); }
  [data-theme="dark"] .egg40 { background: color-mix(in oklab, var(--bg) 70%, black); }
  .egg40 .spr38 { transform: translateY(calc((1 - var(--p, 0)) * 24px)); }
}
/* r41: month zoom 2 = its own scroll box; the page and top bar stay still */
.m37h.z41 { overflow: auto; scrollbar-width: none; overscroll-behavior: contain; touch-action: pan-x pan-y; margin-inline: -16px; padding: 0 16px calc(env(safe-area-inset-bottom, 0px) + var(--tabh) + 40px); box-sizing: border-box; }
.m37h.z41::-webkit-scrollbar { display: none; }
.m37h.z41 .mg37 { transform-origin: 0 0; }
.m37h.z41 .mg37 { width: var(--w41, calc(100vw - 32px)); box-sizing: border-box; }
.m37h.z41 { min-width: 0; max-width: calc(100vw); contain: inline-size; width: auto; } .mview.m37h.z41 { inline-size: calc(100% + 32px); }
/* r41e: lifter: the page ends on a white strip above the tab bar; the floor and the lifter wait between them */
@media (max-width: 999px) {
  html:has(.egg40) { overscroll-behavior-y: none; }
  body.tabs-on .screen:has(.egg40) { --z41: calc(env(safe-area-inset-bottom, 0px) + var(--tabh) + 28px); padding-bottom: var(--z41); }
  body.tabs-on .screen.park41:has(.egg40) { padding-bottom: calc(var(--z41) + var(--egg41, 200px)); }
  html[data-homev="sheet"] .m31:has(+ .egg40) { box-shadow: none !important; padding-bottom: 32px; min-height: calc(100dvh - 320px); border-radius: 32px 32px 0 0; }
  html[data-homev="sheet"] .m31.pull41, html[data-homev="sheet"] .park41 .m31:has(+ .egg40) { border-radius: 32px; }
  .egg40 { position: fixed; inset: auto 0 0 0; height: auto; margin: 0; padding: 0; background: none !important; visibility: hidden; z-index: 1; display: block; pointer-events: none; }
  .egg40.vis { visibility: visible; }
  .egg40 .e40z { height: calc(env(safe-area-inset-bottom, 0px) + var(--tabh) + 28px); background: var(--surface); }
  .egg40::before { content: ""; position: absolute; inset-inline: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + var(--tabh) + 28px); height: 60vh; background: color-mix(in oklab, var(--bg) 88%, black); }
  [data-theme="dark"] .egg40::before { background: color-mix(in oklab, var(--bg) 70%, black); }
  .egg40 .e40s { position: absolute; inset-inline: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + var(--tabh) + 28px); padding: 0 0 10px; }
  .egg40 .spr38 { transform: translateY(calc((1 - var(--p, 0)) * 28px)); }
  .egg40.up .spr38 { transform: none; }
}
@media (max-width: 999px) { .mdash:has(.egg40) > :is(.md-main, .md-side):not(:has(*:not(:empty))) { display: none; } .mdash:has(.egg40) > .md-main:empty, .mdash:has(.egg40) > .md-side:empty { display: none; } }
@media (max-width: 999px) {
  .egg40 .e40z { height: var(--zh, calc(env(safe-area-inset-bottom, 0px) + var(--tabh) + 28px)); }
  .egg40::before, .egg40 .e40s { bottom: var(--zh, calc(env(safe-area-inset-bottom, 0px) + var(--tabh) + 28px)); }
}
/* r41f: roomy zoomed layout inside the still box; zoom button floats with the tab bar's blur */
.m37h.z41.zoom { padding-inline: 16px !important; margin-inline: -16px; overflow: auto; }
.m37h.z41.zoom .mg37 { width: calc(var(--w41, 343px) * 2.1); margin-inline: 0; box-sizing: border-box; }
.m37h.z41.zoom::after { display: none; }
.zx41 .mg37 { pointer-events: none; }
@media (max-width: 999px) {
  .mt38:has(.zm38) { height: 0; margin: 0; padding: 0; position: relative; z-index: 6; }
  body > .zm38 { position: fixed; left: 16px; right: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + var(--tabh) + 40px); width: 52px; height: 52px; flex: none; background: var(--glass, color-mix(in oklab, var(--surface) 70%, transparent)); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: 0 6px 20px oklch(0 0 0 / .1), inset 0 0 0 1px oklch(1 0 0 / .4); z-index: 30; }
  .mt38 .nk38:not([hidden]) { position: relative; margin-bottom: 8px; }
  .mt38:has(.nk38:not([hidden])) { height: auto; }
}
/* r41f: month cells: even 3px padding all round, radius = bar radius + padding so the last bar sits snug */
.m37h .d37 { padding: 4px 3px 3px; border-radius: 8px; } .m37h .b37 { border-radius: 5px; }
/* zoomed: today is just the date in a filled pill (like Google Calendar), not a box round the whole day */
.m37h.z41.zk .d37.tdy { outline: 0; }
.m37h.z41.zk .d37.tdy b { justify-self: center; background: var(--fg); color: var(--bg); border-radius: 999px; padding: 0 6px; min-width: 22px; line-height: 20px; box-sizing: border-box; }
html.sheet-open body > .zm38 { display: none !important; }
/* r41e: logo always on black; the "!" is a straight bar of even width, then a square dot */
.brand .lg, .tb-brand .lg, .hh .lg, .mhub .brand .lg, .mhub.lite .brand .lg, .mhub.g-sun.lite .brand .lg, .mhub.g-pearl .brand .lg { background: oklch(0.16 0.005 260) !important; color: #fff !important; -webkit-text-fill-color: #fff; }
[data-theme="dark"] :is(.brand, .tb-brand) .lg { box-shadow: inset 0 0 0 1px oklch(1 0 0 / .18); }
.lg .bang { display: inline-block; width: .17em; height: .74em; margin-inline-end: .2em; background: linear-gradient(currentColor 0 66%, transparent 66% 80%, currentColor 80% 100%); align-self: center; flex: none; }
.lg { direction: ltr; }
/* r41e: no dot pattern on the home hero */
.mhub:is(.g-glow, .g-ember, .g-pearl)::before, html[data-hubl="1"] .mhub.g-glow::before { display: none !important; }
.sp-c .bang { display: inline-block; width: .17em; height: .74em; background: linear-gradient(currentColor 0 66%, transparent 66% 80%, currentColor 80% 100%); vertical-align: baseline; }
/* r41e home tiles: 1 = day-view card, 2 = halves */
.h39g.n1 .h39t { min-height: 76px; padding: 12px 14px; gap: 14px; border-radius: 20px; }
.h39g.n1 .h39t b { font-size: 18px; } .h39g.n1 .h39t > span { gap: 6px; } .h39g.n1 .h39t .t { font-size: 17px; }
.h39g.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* r41e team: header button at the far end, cards without outline, status pill pinned to the bottom */
.schedhead.th41 { justify-content: space-between; } .schedhead.th41 > .grow { display: none; }
.tc34 { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; border: 0; }
.tc34 .tag2 { margin-top: auto; align-self: center; } .tc34 .tc34-s + .tag2 { margin-block-start: auto; }
.tc34 > .tc34-s { margin-bottom: 10px; }
@media (max-width: 999px) { .screen:not(.park41):not(:has(.pull41)) .egg40::before { display: none; } }
/* r42 preview: shift-time colours (light = day → night gets darker, so it also reads in greyscale) */
:root { --sh-m: oklch(0.80 0.12 240); --sh-a: oklch(0.87 0.16 90); --sh-e: oklch(0.76 0.15 45); --sh-n: oklch(0.70 0.16 300); --sh-ink: oklch(0.25 0.03 250); }
[data-theme="dark"] { --sh-m: oklch(0.78 0.12 240); --sh-a: oklch(0.85 0.16 90); --sh-e: oklch(0.74 0.15 45); --sh-n: oklch(0.68 0.16 300); }
.legend42 { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 6px 0 2px; }
.legend42 span { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--sh-ink); }
.legend42 .ic { width: 15px; height: 15px; }
.legend42 .k-m { background: var(--sh-m); } .legend42 .k-a { background: var(--sh-a); } .legend42 .k-e { background: var(--sh-e); } .legend42 .k-n { background: var(--sh-n); }
.legend42 .k-chg { background: var(--surface); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.tmon button.on[style*="--sh-"] { color: var(--sh-ink); }
/* replaced marker: b = small swap badge in the corner (rec), d = dashed ring, i = icon only (no marker) */
.tmon button.on { position: relative; }
.legend42 .bd42 { position: relative; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--fg) no-repeat center / 10px 10px; }
.tmon[data-chg="b"] button.chg42::after { content: ""; position: absolute; top: -4px; inset-inline-end: -4px; width: 18px; height: 18px; border-radius: 50%; background: var(--fg) no-repeat center / 11px 11px; box-shadow: 0 0 0 2px var(--bg); -webkit-mask: none; }
.legend42 .bd42, .tmon[data-chg="b"] button.chg42::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3 4 7l4 4M4 7h16M16 21l4-4-4-4M20 17H4'/%3E%3C/svg%3E"); }
[data-theme="dark"] .legend42 .bd42, [data-theme="dark"] .tmon[data-chg="b"] button.chg42::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3 4 7l4 4M4 7h16M16 21l4-4-4-4M20 17H4'/%3E%3C/svg%3E"); }
.tmon[data-chg="d"] button.chg42 { outline: 2px dashed var(--fg); outline-offset: -2px; }
.tmon { overflow: visible; } .tmon button.on.chg42 { z-index: 1; }
.legend42 > span[class] { color: var(--sh-ink) !important; } .legend42 > span.k-chg { color: var(--fg) !important; }
/* past days: neutral tile, shift colour kept as a bar at the bottom (dimmed pastel turns muddy on dark) */
.tmon button.on.gone[style*="--sh-"] { background: color-mix(in oklab, var(--k42, var(--line)) 34%, var(--surface)) !important; color: var(--sh-ink); opacity: 1; box-shadow: none; }
.tmon button.on.gone[style*="--sh-m"] { --k42: var(--sh-m); } .tmon button.on.gone[style*="--sh-a"] { --k42: var(--sh-a); } .tmon button.on.gone[style*="--sh-e"] { --k42: var(--sh-e); } .tmon button.on.gone[style*="--sh-n"] { --k42: var(--sh-n); }
#pane .tmon button.on.gone[style*="--sh-"] { opacity: 1; } #pane .tmon button.on.gone[style*="--sh-"] :is(b, span, .pxic), .tmon button.on.gone[style*="--sh-"] :is(b, span, .pxic) { opacity: .6; }
/* r42 splash matches the new logo: black box, white letters, straight "!" */
#splash .sp-logo { background: oklch(0.16 0.005 260); color: #fff; }
[data-theme="dark"] #splash .sp-logo { box-shadow: inset 0 0 0 1.5px oklch(1 0 0 / .22); }
#splash .sp-c .bang { width: .16em; height: .72em; margin-inline-end: .2em; }

/* r42c pick-on-calendar (icon_cpk "1"): tap days you can't make; picked = ink ring + tick badge, others fade back */
.tmon.pk42 button.on { transition: transform 160ms var(--spring), opacity 160ms; }
.tmon.pk42 button.on:active { transform: scale(.94); }
.tmon.pk42:has(.sel) button.on:not(.sel):not(.gone) { opacity: .55; }
.tmon.pk42 button.on.sel { outline: 3px solid var(--fg); outline-offset: 2px; z-index: 1; }
.tmon.pk42 button.on.sel::before { content: ""; position: absolute; top: -7px; inset-inline-start: -7px; width: 20px; height: 20px; border-radius: 50%; background: var(--fg) no-repeat center / 12px 12px; box-shadow: 0 0 0 2px var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
[data-theme="dark"] .tmon.pk42 button.on.sel::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.tmon.pk42 button.on.gone { cursor: default; }
/* dark: a tint of yellow/orange on near-black turns muddy, so past days keep the full colour and only the text fades */
[data-theme="dark"] .tmon button.on.gone[style*="--sh-"] { background: var(--k42) !important; }
[data-theme="dark"] .tmon.pk42:has(.sel) button.on:not(.sel):not(.gone) { opacity: .7; }
/* r43 preview: the month task takes over the home hero (icon_hp "1") */
.hh.g-task { background-image: linear-gradient(165deg, oklch(0.30 0.03 260) 0%, oklch(0.20 0.02 265) 60%, oklch(0.14 0.01 265) 100%); }
.tk42 .hh-main { cursor: default; gap: 12px; }
.tk42h { font-size: 34px; line-height: 1.12; font-weight: 700; }
.mini42 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin: 4px 0 6px; }
.mini42 i { aspect-ratio: 1.5; border-radius: 6px; background: oklch(1 0 0 / .07); }
.mini42 i.on { background: var(--c); animation: mn42 420ms cubic-bezier(.2,.9,.3,1.2) both; animation-delay: calc(var(--i) * 22ms + 200ms); }
.mini42 i:not(.on):not(.e) { visibility: hidden; }
@keyframes mn42 { from { transform: scale(.4); opacity: 0; } }
.tk42b { background: #fff !important; color: oklch(0.2 0.02 260) !important; justify-content: center; gap: 8px; position: relative; overflow: hidden; }
.tk42b::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, oklch(1 0 0 / .0) 40%, oklch(0.9 0.05 90 / .9) 50%, transparent 60%); transform: translateX(-120%); animation: tk42g 3.2s 1.2s ease-in-out infinite; mix-blend-mode: multiply; }
@keyframes tk42g { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
/* reveal: tiles deal in one by one (40ms stagger, spring), then one gleam sweeps across in a diagonal wave */
.tmon.rv42 > * { animation: rv42 520ms cubic-bezier(.2,.9,.25,1.25) both; animation-delay: calc(var(--i, 0) * 28ms); }
.tmon.rv42 > button.on { animation-name: rv42on; animation-duration: 620ms; }
@keyframes rv42 { from { opacity: 0; transform: translateY(10px); } }
@keyframes rv42on { 0% { opacity: 0; transform: translateY(18px) rotateX(55deg) scale(.85); } 60% { opacity: 1; } }
.tmon.rv42 { perspective: 600px; }
.tmon.gl42 > button.on { background-image: linear-gradient(115deg, transparent 30%, oklch(1 0 0 / .85) 48%, oklch(1 0 0 / .0) 62%) !important; background-repeat: no-repeat !important; background-size: 260% 100% !important; animation: gl42 900ms ease-out both; animation-delay: calc(var(--i, 0) * 18ms); }
@keyframes gl42 { from { background-position: 130% 0; } to { background-position: -40% 0; } }
/* sealed card first (icon_rev "b"): tap to open */
.conf32.sealed42 > :not(.env42):not(.topbar) { visibility: hidden; }
.env42 { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; background: var(--bg); transition: opacity 360ms 160ms; }
.env42.out { opacity: 0; pointer-events: none; }
.env42c { all: unset; box-sizing: border-box; cursor: pointer; width: min(320px, 86vw); aspect-ratio: .72; border-radius: 28px; padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--sh-m) 0%, oklch(0.55 0.15 280) 55%, oklch(0.3 0.08 285) 100%); box-shadow: 0 30px 60px -20px oklch(0.2 0.05 280 / .5); animation: env42in 700ms cubic-bezier(.2,.9,.3,1.15) both, env42f 3s 700ms ease-in-out infinite alternate; }
.env42c::after { content: ""; position: absolute; inset: -50%; background: linear-gradient(115deg, transparent 40%, oklch(1 0 0 / .55) 50%, transparent 60%); animation: env42g 2.6s 900ms ease-in-out infinite; }
.env42k { font-size: 14px; opacity: .9; } .env42n { font-size: 30px; line-height: 1.1; } .env42f { margin-top: auto; } .env42f .pxn { font: 900 88px/1 "Px71", "Doto", monospace; }
.env42t { align-self: stretch; text-align: center; background: #fff; color: oklch(0.2 0.03 280); border-radius: 999px; padding: 14px; font-weight: 700; font-size: 17px; }
.env42.out .env42c { animation: env42o 600ms cubic-bezier(.5,0,.2,1) both; }
@keyframes env42in { from { transform: translateY(40px) scale(.9); opacity: 0; } }
@keyframes env42f { to { transform: translateY(-6px) rotate(-1deg); } }
@keyframes env42g { 0% { transform: translateX(-60%); } 60%, 100% { transform: translateX(60%); } }
@keyframes env42o { to { transform: translateY(-30px) scale(1.15); opacity: 0; filter: blur(6px); } }
@media (prefers-reduced-motion: reduce) { .tmon.rv42 > *, .tmon.gl42 > button.on, .mini42 i.on, .tk42b::after, .env42c, .env42c::after { animation: none !important; } }
/* r43b sealed card v2: black like the logo, dotted texture, the month as a pixel dot grid in shift colours */
.env42c { width: min(360px, 90vw); aspect-ratio: auto; min-height: min(560px, 74vh); padding: 22px 20px 20px; gap: 14px; border-radius: 30px; color: #fff;
  background: radial-gradient(oklch(1 0 0 / .07) 1.1px, transparent 1.4px) 0 0 / 14px 14px, oklch(0.16 0.006 260); box-shadow: inset 0 0 0 1px oklch(1 0 0 / .12), 0 30px 70px -24px oklch(0 0 0 / .55); }
.env42c::after { background: linear-gradient(115deg, transparent 42%, oklch(1 0 0 / .16) 48%, oklch(0.92 0.08 240 / .22) 50%, oklch(0.92 0.1 90 / .18) 52%, transparent 58%); }
.env42top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.env42c .lg { background: #fff !important; color: oklch(0.16 0.006 260) !important; font: 500 15px/1 var(--logo); letter-spacing: .14em; padding: 6px 7px 6px 9px; border-radius: 5px; display: inline-flex; align-items: center; direction: ltr; }
.env42k { font-size: 14px; opacity: .75; } .env42n { font-size: 34px; line-height: 1.1; }
.env42m { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 4px; }
.env42m em { font-style: normal; font-size: 11px; text-align: center; opacity: .5; }
.env42m i { aspect-ratio: 1; border-radius: 9px; display: grid; place-items: center; }
.env42m i.e { background: oklch(1 0 0 / .06); }
.env42m i.on { background: var(--c); color: oklch(0.2 0.02 260); }
.env42f { display: flex; align-items: baseline; gap: 10px; } .env42f .pxn { font-size: 72px; } .env42f span { font-size: 18px; opacity: .8; }
.env42c .env42t { margin-top: auto; }
/* r43b logo: "!" measured from Oswald 500 (cap .81em, stem .16em, dot .14em) so it matches the letters; box follows the theme */
.lg .bang, .sp-c .bang, #splash .sp-c .bang { width: .16em; height: .81em; margin-inline-end: .18em; align-self: baseline; vertical-align: baseline; background: linear-gradient(currentColor 0 72.5%, transparent 72.5% 82.7%, currentColor 82.7% 100%); }
#splash .sp-c.b { display: inline-flex; align-items: baseline; }
[data-theme="dark"] :is(.brand .lg, .tb-brand .lg, .hh .lg, .mhub .brand .lg, .mhub.lite .brand .lg, .mhub.g-sun.lite .brand .lg, .mhub.g-pearl .brand .lg, #splash .sp-logo) { background: #fff !important; color: oklch(0.16 0.005 260) !important; -webkit-text-fill-color: oklch(0.16 0.005 260); box-shadow: none !important; }
.lg:has(.bang), #splash .sp-logo { align-items: baseline !important; } #splash .sp-c.b { overflow: visible; }
/* r43 trainer schedule header = Ishay's: flat segmented picker, 26px title, full-width date row with a hairline, no subtext */
.tsk.ish43 h1 { font-size: 26px; font-weight: 600; line-height: 44px; }
.tsk.ish43 .seg { height: 44px; background: var(--surface) !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border: 0 !important; width: min(58%, 220px); }
#pane .navrow.wknav, #pane .navrow.wknav.stk { position: sticky; top: 0; z-index: 5; height: 52px; box-sizing: border-box; margin: 0 -16px; padding: 0 8px; border-radius: 0; background: var(--bg) !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border-bottom: 1px solid var(--line); }
#pane .navrow.wknav::before { display: none !important; }
#pane .navrow.wknav #wklbl b { font-size: 17px; font-weight: 600; }
/* r43 review fits one phone screen: title + count on one row, tiles size to the screen, link centred above the tab bar */
.conf32 .thd { grid-template-columns: 1fr auto; align-items: end; column-gap: 12px; row-gap: 0; margin: 0 0 10px; }
.conf32 .thd > .cap { grid-column: 1 / -1; font-size: 14px; }
.conf32 .thd .cnt { gap: 6px; font-size: 15px; padding-bottom: 3px; }
.conf32 .thd .pxn { font-size: 30px; }
.conf32 .tmon i, .conf32 .tmon button { min-height: clamp(46px, calc((100dvh - 460px) / 6), 64px); }
.conf32 .bottom, body.tabs-on .conf32 .bottom { padding-top: 20px; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + var(--tabh) + 4px); }
.conf32 .bottom .link { margin: 4px auto 0; min-height: 52px; display: flex; align-items: center; justify-content: center; }
.conf32 .topbar { margin-bottom: 0; }
.lg .bang, .sp-c .bang, #splash .sp-c .bang { background: linear-gradient(currentColor 0 66.7%, transparent 66.7% 80.25%, currentColor 80.25% 100%); } /* dot = .16em square, gap .11em */
/* r43: the review / pick / reason steps are a focused task, so the tab bar steps aside (back arrow returns home) */
body:not(.tabs-on) .conf32 .bottom { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 12px) !important; }
body:not(.tabs-on) .conf32 .tmon i, body:not(.tabs-on) .conf32 .tmon button { min-height: clamp(48px, calc((100dvh - 380px) / 6), 68px); }
.tmon.pk42:has(.sel) button.on:not(.sel):not(.gone), [data-theme="dark"] .tmon.pk42:has(.sel) button.on:not(.sel):not(.gone) { opacity: 1; } /* unpicked days stay full colour so they still look tappable */
/* r43g reasons: the day reads as one line ("יום ראשון, 15 בנובמבר"), time in full contrast */
.why37h .wd43 { font-size: 17px; font-weight: 600; }
.why37h .tm43 { display: inline-flex; align-items: center; gap: 6px; color: var(--fg); } .why37h .tm43 .t { font: 900 17px/1 "Px71", "Doto", monospace; }
/* picked days: ring drawn inside the tile + tick inside the corner, so neighbours never overlap */
.tmon.pk42 button.on.sel { outline: 0; box-shadow: inset 0 0 0 3px var(--fg), inset 0 0 0 5px var(--sh-x, transparent) !important; }
.tmon.pk42 button.on.sel::before { top: 4px; inset-inline-start: 4px; width: 16px; height: 16px; background-size: 10px 10px; box-shadow: none; }
/* key chips: smaller so all five fit on one line */
.legend42 { flex-wrap: nowrap; gap: 4px; }
.legend42 span { height: 26px; padding: 0 8px; gap: 4px; font-size: 12.5px; white-space: nowrap; }
.legend42 .pxic { width: 12px; height: 12px; } .legend42 .bd42 { width: 14px; height: 14px; background-size: 9px 9px; }
/* picked: the tick takes the place of the start hour (bottom centre), so it never covers the day number */
.tmon.pk42 button.on.sel > span[dir] { visibility: hidden; }
.tmon.pk42 button.on.sel::before { top: auto; bottom: 7px; inset-inline-start: 50%; transform: translateX(-50%); width: 18px; height: 18px; background-size: 11px 11px; }
[dir="rtl"] .tmon.pk42 button.on.sel::before { transform: translateX(50%); }
/* r44: availability calendar = month-view tiles */
.off44 { margin-top: 10px; }
.off44 .d44, .off44 i:not(.o) { min-height: clamp(48px, calc((100dvh - 420px) / 6), 64px); }
.off44 .d44 { cursor: pointer; position: relative; transition: transform 160ms var(--spring), background 160ms; -webkit-tap-highlight-color: transparent; }
.off44 .d44 b { color: var(--fg); }
.off44 .d44:active { transform: scale(.94); }
.off44 .d44.x { background: var(--no); box-shadow: none; color: var(--on-no); }
.off44 .d44.x b { color: inherit; }
.off44 .d44.p { box-shadow: inset 0 0 0 2.5px var(--no); color: var(--no-ink); }
.off44 .d44.p b { color: inherit; }
.off44 .d44 .pxic { margin-top: 1px; }
.off44 i.nv { opacity: .45; background: repeating-linear-gradient(135deg, transparent 0 6px, color-mix(in oklab, var(--line) 70%, transparent) 6px 7px), var(--surface); }
.off44 i.nv b { text-decoration: line-through; }
.lg44 { margin-top: 10px; }
.legend42.lg44 > span { color: var(--fg) !important; }
.legend42.lg44 .k-x { background: var(--no); color: var(--on-no) !important; }
.legend42.lg44 .k-p { background: var(--surface); box-shadow: inset 0 0 0 2px var(--no); }
.legend42.lg44 .k-nv { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); opacity: .7; }
/* r44: trainer week cards in shift colours (icon_wkc f = full like the month, t = tint) */
.tw41[data-wc="f"] .c41:not(.gone) { background: var(--c) !important; border-color: transparent !important; color: var(--sh-ink); }
.tw41[data-wc="f"] .c41:not(.gone) :is(.k41, .tm41 .t, .chev, .tm41 .pxic) { color: var(--sh-ink) !important; opacity: 1; }
.tw41[data-wc="f"] .c41:not(.gone) .k41 { opacity: .78; }
.tw41[data-wc="t"] .c41:not(.gone) { background: color-mix(in oklab, var(--c) 22%, var(--surface)) !important; border-color: color-mix(in oklab, var(--c) 55%, transparent) !important; }
.tw41[data-wc="t"] .c41:not(.gone) .tm41 .pxic { color: var(--c) !important; opacity: 1; }
.tw41[data-wc] .c41.gone { background: color-mix(in oklab, var(--c) 12%, var(--surface)); }
.f41.tbd44 { border-style: dotted; border-color: color-mix(in oklab, var(--muted) 45%, transparent); font-style: normal; }
.f41.tbd44 .pxic { opacity: .6; }
/* r44: home "next" square cards: dotted icon, time in the signature pixel font on the same side as the text */
.sq.u44 { gap: 3px; }
.sq.u44 .row1 .pxic { flex: none; }
.sq.u44 .t44 { font: 900 30px/1.05 "Px71", "Doto", "Google Sans", monospace; letter-spacing: .02em; align-self: flex-start; direction: ltr; unicode-bidi: isolate; }
.sq.u44 .c { font-size: 13px; }
.sq.u44[data-u="f"] { background: var(--c); border-color: transparent; color: var(--sh-ink); }
.sq.u44[data-u="f"] .pill { background: oklch(0 0 0 / .14); color: var(--sh-ink); }
.sq.u44[data-u="f"] .c { opacity: .78; }
.sq.u44[data-u="t"] { background: color-mix(in oklab, var(--c) 10%, var(--surface)); border-color: color-mix(in oklab, var(--c) 40%, transparent); }
.sq.u44[data-u="t"].nx { border-width: 2px; border-color: var(--c); }
.sq.u44[data-u="t"] .t44 { color: var(--c); }
:root:not([data-theme="dark"]) .sq.u44[data-u="t"] .t44, :root:not([data-theme="dark"]) .sq.u44[data-u="t"] .row1 .pxic { color: color-mix(in oklab, var(--c) 55%, black); }
.sq.u44[data-u="t"] .row1 .pxic, .sq.u44[data-u="o"] .row1 .pxic { color: var(--c); }
.sq.u44[data-u="o"] { background: var(--surface); box-shadow: inset 0 4px 0 var(--c); }
.sq.u44[data-u="o"].nx { background: var(--surface); border-color: var(--c); }
/* r44: urgent "fill in your days" hero: warm amber instead of blue */
.hh.g-task.urg44 { background-image: linear-gradient(160deg, oklch(0.84 0.15 75) 0%, oklch(0.75 0.17 55) 100%); color: oklch(0.22 0.04 50); }
.hh.g-task.urg44 :is(.k, .tk42h, .hh-sub, .brand) { color: oklch(0.22 0.04 50) !important; }
.hh.g-task.urg44 .k, .hh.g-task.urg44 .hh-sub { opacity: .78; }
.hh.g-task.urg44 .lg { background: oklch(0.2 0.03 50) !important; color: oklch(0.86 0.14 75) !important; }
.hh.g-task.urg44 .tk42b { background: oklch(0.2 0.03 50) !important; color: #fff !important; }
.hh.g-task.urg44 .tk42b .pxic { color: oklch(0.86 0.14 75); }
.tk42b .pxic { flex: none; }
/* r44: summary rows with unboxed dotted icons */
.r44 .ic44 { flex: none; display: grid; place-items: center; width: 32px; }
.ic44.k-calx { color: var(--no-ink); } .ic44.k-wk { color: var(--primary); } .ic44.k-heart { color: var(--sh-e); }
.l44 .r44 .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.l44 .r44 .cap { font-size: 12.5px; }
.l44 .r44 b.strong { font-weight: 600; line-height: 1.35; }
.l44 .r44 .link { min-height: 0; padding: 0; flex: none; }
.sh-foot { margin-top: 16px; display: grid; }
.sheet .off44 .d44, .sheet .off44 i:not(.o) { min-height: 50px; }
/* r44: sent screen: dotted tick that draws in dot by dot, unboxed dotted timeline */
.sent44 { display: flex; flex-direction: column; min-height: 100%; flex: 1; }
.sent44 .done { padding-top: 6vh; }
.tk44 { color: var(--ok); margin-bottom: 10px; }
.tk44 circle { opacity: 0; transform-box: fill-box; transform-origin: center; animation: tk44 260ms cubic-bezier(.2,.9,.3,1.4) forwards; animation-delay: calc(120ms + var(--k) * 34ms); }
@keyframes tk44 { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
.tl44 { display: grid; gap: 0; margin-top: 18px; padding: 18px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.s44 { display: flex; gap: 14px; align-items: flex-start; position: relative; padding-bottom: 18px; color: var(--muted); }
.s44:last-child { padding-bottom: 0; }
.s44:not(:last-child)::before { content: ""; position: absolute; inset-inline-start: 11px; top: 30px; bottom: 4px; border-inline-start: 2px dotted var(--line); }
.s44 .pxic { flex: none; }
.s44.on { color: var(--ok); }
.s44 div { display: grid; gap: 2px; } .s44 b { color: var(--fg); font-weight: 600; } .s44 span { font-size: 13.5px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .tk44 circle { animation: none; opacity: 1; } }
/* r44b preview: book days off ahead */
.sq.q-ahd { background: var(--surface); border: 1.5px dashed color-mix(in oklab, var(--no) 60%, transparent); }
.sq.q-ahd .ib44 { color: var(--no-ink); margin-bottom: auto; display: grid; }
.ahn44 { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 4px; }
.ahn44 b { font-size: 17px; font-weight: 600; }
.pre44 { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: color-mix(in oklab, var(--ok) 14%, var(--surface)); color: var(--fg); font-size: 14px; margin-top: 8px; }
.pre44 .pxic { color: var(--ok); flex: none; }
.off44 .d44.pre::after { content: ""; position: absolute; top: 5px; inset-inline-end: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px var(--no); }
/* r44c: big dotted calendar above the fill-in question, the cross gently breathes */
.hx44 { display: block; color: oklch(0.22 0.04 50); margin: 2px 0 6px; }
.hx44 circle.c { animation: hx44 2.8s ease-in-out infinite; animation-delay: calc(var(--k) * 90ms); }
@keyframes hx44 { 0%, 100% { opacity: 1; } 45% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .hx44 circle.c { animation: none; } }
.hh.g-task.urg44 { background-image: linear-gradient(160deg, oklch(0.88 0.13 85) 0%, oklch(0.78 0.17 62) 55%, oklch(0.68 0.19 42) 100%); }
/* r44c: next-shift squares get a real gradient of their shift colour */
.sq.u44[data-u="t"] { background: linear-gradient(155deg, color-mix(in oklab, var(--c) 34%, var(--surface)) 0%, color-mix(in oklab, var(--c) 12%, var(--surface)) 55%, var(--surface) 100%); }
.sq.u44[data-u="f"] { background: linear-gradient(155deg, color-mix(in oklab, var(--c) 80%, white) 0%, var(--c) 50%, color-mix(in oklab, var(--c) 82%, black) 100%); }
/* r44c: days off listed one per line */
.l44 .r44 b.strong:has(.dl44) { display: grid; gap: 3px; }
.dl44 { display: block; } .dl44 .t { color: var(--muted); font-weight: 500; margin-inline-start: 4px; } .dl44.more { color: var(--muted); font-weight: 500; }
/* r44c: dotted icons sit in the same 36px column as the boxed icons so every title starts on one line */
.r44 .ic44 { width: 36px; height: 36px; }
.l44 .r44 { align-items: flex-start; } .l44 .r44 .ic44 { margin-top: 2px; } .l44 .r44 .link { align-self: center; }
/* r44c preview (icon_pv "1"): settings rows without subtext, value on the far side, all icons unboxed */
.prof44[data-pv="1"] .list .li .mi { background: none !important; width: 36px; }
.prof44[data-pv="1"] .list .li .mi .ic { width: 22px; height: 22px; }
.prof44[data-pv="1"] .list .li .mi.rose { color: var(--no-ink); } .prof44[data-pv="1"] .list .li .mi.pine { color: var(--primary); } .prof44[data-pv="1"] .list .li .mi.grey { color: var(--muted); }
.prof44:is([data-pv="1"], [data-pv="2"]) .list .li > .grow { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.prof44:is([data-pv="1"], [data-pv="2"]) .list .li > .grow > .cap { margin: 0; color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 48%; text-align: end; }
.prof44:is([data-pv="1"], [data-pv="2"]) .list .li { min-height: 56px; }
.prof44:is([data-pv="1"], [data-pv="2"]) .list .li:has(.tsw) > .grow > .cap { display: none; }
/* r45 preview: part-day sheet (all day on its own, part day reveals shift choices) */
.all45, .pt45 { border: 0; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); margin-top: 12px; min-height: 68px; padding: 10px 16px; gap: 14px; text-align: start; cursor: pointer; }
.all45.on { box-shadow: inset 0 0 0 2px var(--no); background: color-mix(in oklab, var(--no) 14%, var(--surface)); }
.all45 .grow, .pt45 .grow { display: grid; gap: 2px; } .all45 .cap, .pt45 .cap { font-size: 13px; }
.ix45 { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--no); color: var(--on-no); }
.ix45.ring { background: none; box-shadow: inset 0 0 0 2.5px var(--no); color: var(--no-ink); }
.pd45 { margin-top: 12px; border-radius: 18px; }
.pd45 .pt45 { margin-top: 0; width: 100%; }
.pd45 .pt45 .chev { transition: transform 200ms var(--spring); }
.pd45.open .pt45 { border-radius: 18px 18px 0 0; } .pd45.open .pt45 .chev { transform: rotate(180deg); }
.sl45 { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 260ms var(--spring); }
.sl45 > div { overflow: hidden; display: grid; gap: 8px; }
.pd45.open .sl45 { grid-template-rows: 1fr; }
.pd45.open .sl45 > div { padding: 10px 12px 14px; background: var(--surface); border-radius: 0 0 18px 18px; box-shadow: inset 0 0 0 1px var(--line); }
.sl45 .cap { margin: 2px 4px 2px; }
.sh45 { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 12px; border-radius: 14px; background: color-mix(in oklab, var(--c) 14%, var(--bg)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 40%, transparent); }
.sh45 .c45 { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--c); color: var(--sh-ink); }
.sh45 .grow { display: grid; gap: 1px; } .sh45 b { font-weight: 600; } .sh45 .t { font-size: 13px; color: var(--muted); }
.sh45 .cb45 { flex: none; width: 26px; height: 26px; border-radius: 8px; box-shadow: inset 0 0 0 2px var(--line); display: grid; place-items: center; color: transparent; }
.sh45 .cb45 .ic { width: 16px; height: 16px; }
.sh45.on { box-shadow: inset 0 0 0 2px var(--no); }
.sh45.on .cb45 { background: var(--no); color: var(--on-no); box-shadow: none; }
.sl45 .btn { margin-top: 4px; }
.sheet .link[data-act=pd45clear] { margin-top: 10px; }
.off44 .d44 .pi45 { display: flex; gap: 1px; }
.hint45 { margin: 8px 0 0; }
.ap45 .li.on { color: var(--fg); font-weight: 600; }

.lg44 > [hidden] { display: none !important; }
/* r45b: shift rows = full shift colour like the month tiles, icon unboxed, tick box on the far end, times aligned */
.sh45 { width: 100%; background: var(--c) !important; box-shadow: none !important; color: var(--sh-ink); min-height: 60px; padding: 8px 14px; }
.sh45 .c45 { background: none; width: 28px; height: 28px; color: var(--sh-ink); }
.sh45 .grow { flex: 1; min-width: 0; justify-items: start; text-align: start; }
.sh45 .t { color: var(--sh-ink); opacity: .72; font: 800 14px/1.1 "Px71", "Doto", ui-monospace, monospace; direction: ltr; unicode-bidi: isolate; }
.sh45 b { color: var(--sh-ink); }
.sh45 .cb45 { margin-inline-start: auto; box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--sh-ink) 55%, transparent); }
.sh45.on { box-shadow: inset 0 0 0 3px var(--sh-ink) !important; }
.sh45.on .cb45 { background: var(--sh-ink); color: var(--c); box-shadow: none; }
.ix45 .pxic { width: 15px; height: 15px; }
/* r45 preview: summary cards */
.s46 { display: grid; gap: 10px; }
.c46 { background: var(--surface); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); padding: 14px 16px 16px; display: grid; gap: 12px; }
.h46 { display: flex; align-items: center; gap: 12px; }
.h46 b { flex: 1; font-size: 16px; font-weight: 600; }
.h46 .link { min-height: 0; padding: 4px 0; font-size: 15px; }
.c46.row46 { padding-block: 14px; }
.h46 .n46 { margin-inline-end: 6px; }
.n46 .pxn { font: 900 30px/1 "Px71", "Doto", ui-monospace, monospace; }
.ch46w { display: flex; flex-wrap: wrap; gap: 6px; }
.ch46 { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.ch46.off { background: var(--no); color: var(--on-no); }
.ch46.off em { font-style: normal; font-weight: 500; opacity: .75; } .ch46.off b { font-variant-numeric: tabular-nums; }
.ch46.off.pt { background: transparent; box-shadow: inset 0 0 0 2px var(--no); color: var(--no-ink); }
.ch46.sh { background: var(--c); color: var(--sh-ink); }
.pr46 { display: grid; gap: 8px; }
.pd46 { display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 12px; }
.dn46 { width: 36px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; }
.e46 { margin: 0; color: var(--muted); font-size: 14px; }
/* r45c: day sheet opens taller so its choices land in the middle of the screen (thumb + accuracy sweet spot) */
.sheet:has(.ds45) { min-height: 66dvh; display: flex; flex-direction: column; }
.ds45 { display: flex; flex-direction: column; flex: 1; }
.ds45 h2 { margin-top: 6px; }
.ds45 .sp45 { flex: 1; min-height: 12px; }
.ds45 .link[data-act=pd45clear] { margin-bottom: 6px; }
/* r45c: part-day ring readable in dark mode */
/* r45c: per-week number sits under its title */
.n46 { display: flex; align-items: baseline; gap: 8px; padding-inline-start: 48px; }
.n46 span { color: var(--muted); font-size: 14px; }
/* r45c: days off as a mini month in the send step */
.mc46 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.mc46 em { font-style: normal; text-align: center; font-size: 11.5px; color: var(--muted); }
.mc46 i { font-style: normal; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 12.5px; font-weight: 600; color: var(--muted); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-variant-numeric: tabular-nums; }
.mc46 i.o { visibility: hidden; }
.mc46 i.x { background: var(--no); color: var(--on-no); box-shadow: none; }
.mc46 i.p { background: transparent; box-shadow: inset 0 0 0 2px var(--no); color: var(--no-ink); }
.mc46 i.nv { opacity: .4; text-decoration: line-through; }
/* r45d: empty lead cells never stretch the first row (bug: first row was taller) */
.tmon i.o { min-height: 0 !important; padding: 0; }
/* r45d: part day = red outline everywhere, a bit stronger */
.off44 .d44.p { box-shadow: inset 0 0 0 3px var(--no); }
/* r45d: picked shift row gets an outline outside the row, visible in light and dark */
.sh45.on { box-shadow: none !important; outline: 3px solid var(--fg); outline-offset: 2px; }
/* r45d: mini month cells look like the big tiles */
.mc46 i { height: 40px; display: grid; align-content: center; justify-items: center; gap: 1px; }
.mc46 i b { font-weight: 600; font-size: 12px; }
.mc46 i.x .pxic, .mc46 i.p .pxic { display: block; }
.mc46.sm46 i { height: 30px; } .mc46.sm46 i b { font-size: 11px; }
/* r45d: shifts per week = big pixel number under the icon, no repeated text */
.wk46 { gap: 6px; }
.n46b { font: 900 34px/1 "Px71", "Doto", ui-monospace, monospace; width: 36px; text-align: center; }
/* r45d: confirmation = one centred group (tick, title, line, what you sent, what's next) */
.sent46 { display: flex; flex-direction: column; flex: 1; min-height: calc(100dvh - 40px); }
.mid46 { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; }
.mid46 .tk44 { margin: 0 0 4px; }
.mid46 h1 { margin: 0; } .mid46 .sub { margin: 0 0 8px; }
.mid46 .mc46 { width: min(300px, 100%); margin: 6px 0; }
.nx46 { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 0; color: var(--muted); font-size: 14px; }
/* r46 dotted stepper number + day cards (previews) */
.num:has(.dm47) { height: auto; min-width: 0; overflow: visible; }
.num .dm47, .dm47 { display: grid; grid-template-columns: repeat(5, 14px); gap: 5px; direction: ltr; }
.dm47 s { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--fg); position: relative; text-decoration: none; transition: background-color .16s, transform .22s cubic-bezier(.3,1.6,.5,1); transition-delay: var(--d, 0ms); }
.dm47 s.off { background: color-mix(in oklab, var(--fg) 4%, transparent); transform: scale(.82); }
@media (prefers-reduced-motion: reduce) { .dm47 s { transition: none; } }
.dc47 { display: flex; flex-wrap: wrap; gap: 8px; }
.dc47 i { font-style: normal; width: 60px; height: 74px; border-radius: 14px; display: grid; justify-items: center; align-content: center; gap: 2px; background: var(--no); color: var(--on-no); }
.dc47 i.p { background: transparent; box-shadow: inset 0 0 0 3px var(--no); color: var(--no-ink); }
.dc47 em { font-style: normal; font-size: 12px; font-weight: 500; opacity: .85; }
.dc47 b { font-size: 20px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.dc47 .ic47 { display: flex; gap: 2px; }
.dc47.sm47 { justify-content: center; }
/* r46d shifts-a-week card options */
.dm47.sm { grid-template-columns: repeat(5, 7px); gap: 3px; flex: none; }
.dm47.sm s { width: 7px; height: 7px; transform: none; }
.dm47.sm s.off { background: color-mix(in oklab, var(--fg) 4%, transparent); }
.wkA .vr47 { width: 1px; align-self: stretch; background: var(--line); margin-inline: 4px; }
.seg47 { display: flex; gap: 4px; direction: rtl; }
.seg47 i { width: 22px; height: 8px; border-radius: 9px; background: var(--line); }
.seg47 i.on { background: var(--primary); }
.wkB { gap: 14px; }
.wkB .mt47 { display: flex; align-items: center; gap: 18px; padding-inline-start: 48px; }
.wkB .mt47 .dm47.sm { grid-template-columns: repeat(5, 6px); gap: 3px; }
.wkB .mt47 .dm47.sm s { width: 6px; height: 6px; }
.mtw47 { flex: 1; display: grid; gap: 8px; min-width: 0; }
.wkB .seg47 { gap: 5px; } .wkB .seg47 i { flex: 1; width: auto; height: 10px; }
.wkB .mtw47 .cap { font-size: 13px; color: var(--muted); }
.wkC .band47 { appearance: none; border: 0; font: inherit; color: inherit; text-align: start; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.wkC .band47 .grow { display: grid; gap: 6px; } .wkC .band47 b { font-size: 15px; font-weight: 600; }
.wkC .band47 .ic { width: 18px; height: 18px; color: var(--muted); }
/* r47 desktop login (icon_dlg) */
.dl47 { min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; padding: 28px 48px 40px; box-sizing: border-box; gap: 24px; }
.dl-top { display: flex; justify-content: space-between; align-items: center; }
.dl-top .brand { font-size: 20px; }
.dl-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; max-width: 1080px; width: 100%; margin: 0 auto; }
.dl-n { display: grid; gap: 20px; align-content: center; }
.dl-n h1 { margin: 0; font-size: 34px; }
.dl-t { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dl-t .tile { min-height: 112px; font-size: 16px; }
.dl-t .tile .av { width: 52px; height: 52px; font-size: 20px; }
.dl47 .tile.on, .dl47 .dl-m.on { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 1px var(--primary); }
.dl-m { justify-self: start; min-width: 260px; }
.dl-s { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; min-height: 560px; display: grid; place-items: center; padding: 40px; box-sizing: border-box; }
.dl-hero { display: grid; justify-items: center; gap: 14px; text-align: center; }
.dl-hero .hx44 { width: 150px; height: 150px; }
.dl-tag { margin: 6px 0 0; font-size: 22px; font-weight: 600; }
.dl-pin, .dl-card { width: 340px; display: grid; gap: 18px; }
.dl-pin .pintop, .dl-card .pintop { display: grid; justify-items: center; text-align: center; }
.dl-pin .keys button, .dl-card .keys button { height: 56px; }
.dl-kb { margin: 0; text-align: center; font-size: 13px; color: var(--muted); }
.dl47.ish { justify-items: center; }
.dl47.ish .dl-card { align-self: center; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 40px 44px; width: 440px; box-sizing: border-box; }
.dl-alt { justify-self: center; }
.dl-hero .hx44 { color: var(--primary); }
.dl-hero .hx44 circle { opacity: 1; }
.dl-cols { align-self: center; }
.dl47.ish .dl-top { justify-self: stretch; }
/* r47b: desktop code = 4 type-in lines, side panel same height as the names */
.pindots.dl4 { gap: 14px; margin: 26px 0 4px; }
.pindots.dl4 i { width: 56px; height: 64px; border: 0; border-radius: 0; border-bottom: 3px solid var(--line); background: none !important; transform: none !important; position: relative; transition: border-color 150ms; }
.pindots.dl4 i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--fg); transform: scale(0); transition: transform 260ms var(--spring); }
.pindots.dl4 i.f::after { transform: scale(1); }
.pindots.dl4 i.f { border-bottom-color: var(--fg); }
.pindots.dl4 i:first-child:not(.f), .pindots.dl4 i.f + i:not(.f) { border-bottom-color: var(--primary); }
.pindots.dl4 i:first-child:not(.f)::before, .pindots.dl4 i.f + i:not(.f)::before { content: ""; position: absolute; left: 50%; top: 18px; bottom: 14px; width: 2px; margin-left: -1px; background: var(--primary); animation: caret47 1s steps(1) infinite; }
@keyframes caret47 { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pindots.dl4 i::before { animation: none; } }
.dl-fg { justify-self: center; font-size: 15px; }
.dl-cols { align-items: stretch; }
.dl-s { min-height: 0; padding: 32px; }
.dl47.ish .dl-card { padding: 48px 56px 40px; width: 460px; }
.dl-pin, .dl-card { gap: 14px; }
/* r47b shifts-a-week card: three more boxes */
.wkB1 { gap: 14px; }
.wkB1 .in47 { display: flex; align-items: center; gap: 18px; padding: 14px 16px; border-radius: 14px; background: var(--bg); }
.wkB1 .in47 .dm47.sm { grid-template-columns: repeat(5, 6px); gap: 3px; } .wkB1 .in47 .dm47.sm s { width: 6px; height: 6px; }
.wkB1 .seg47, .wkB3 .seg47 { gap: 5px; } .wkB1 .seg47 i { flex: 1; width: auto; height: 10px; }
.wkB1 .cap { font-size: 13px; color: var(--muted); }
.wkB2 { gap: 14px; }
.pl47 { flex: none; min-width: 32px; height: 28px; padding: 0 8px; box-sizing: border-box; border-radius: 99px; background: var(--primary-soft); color: var(--primary-ink); font: 900 18px/28px "Px71", "Doto", ui-monospace, monospace; text-align: center; margin-inline-end: 6px; }
.tl47 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.tl47 i { aspect-ratio: 1; border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; }
.tl47 i.on { background: var(--primary); box-shadow: none; color: var(--on-primary, #fff); }
.wkB3 { gap: 14px; }
.bn47 { display: flex; align-items: center; gap: 16px; padding-inline-start: 48px; }
.dm47.md { grid-template-columns: repeat(5, 8px); gap: 3px; flex: none; }
.dm47.md s { width: 8px; height: 8px; transform: none; }
.dm47.md s.off { background: color-mix(in oklab, var(--fg) 4%, transparent); }
.bt47 { display: grid; gap: 4px; } .bt47 b { font-size: 16px; font-weight: 600; } .bt47 .cap { font-size: 13px; color: var(--muted); }
.wkB2 .h46 b { flex: none; } .wkB2 .pl47 { margin-inline-end: auto; }
/* r47c: panel lines up with the name cards (title sits above, outside the row) */
.dl-cols { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto auto; row-gap: 20px; align-content: center; }
.dl47 .dl-h { grid-column: 1; grid-row: 1; margin: 0; font-size: 34px; }
.dl-n { grid-column: 1; grid-row: 2; align-content: start; }
.dl-s { grid-column: 2; grid-row: 2; }
/* r48 preview: Ishay desktop (html.mg48) */
.av { line-height: 1; } /* letter avatars: the chip's line-height pushed the letter to a corner */
html.mg48 .w3l .w3i { background: none !important; width: auto; height: auto; color: var(--fg); }
html.mg48 .c.w3, html.mg48 .mview i.b, html.mg48 .ds36s { color: oklch(0.22 0.03 250) !important; }
@media (min-width: 900px) {
  html.mg48 .sheet.side:not(.dialog), html.mg48 .sheet.m35, html.mg48 .sheet:has(> .dm35), html.mg48 .sheet:has(> .whobox) { position: fixed !important; inset: 0 !important; margin: auto !important; translate: none !important; transform: none; max-width: none !important; width: min(780px, calc(100vw - 64px)) !important; height: fit-content !important; max-height: min(78vh, 620px) !important; border-radius: 28px !important; padding: 28px 32px !important; display: flex !important; flex-direction: column; overflow: auto !important; animation: cm48in 260ms var(--spring) both !important; }
  html.mg48 .sheet.m35, html.mg48 .sheet:has(> .dm35), html.mg48 .sheet:has(> .whobox) { transition: none !important; max-width: none !important; width: min(780px, calc(100vw - 64px)) !important; }
  @keyframes cm48in { from { opacity: 0; scale: .96; } }
  html.mg48 .sheet .whobox .wlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  html.mg48 .sheet .whobox .wlist .wr { margin: 0; }
  html.mg48 .sheet .whobox .cs-h { display: flex; flex-wrap: wrap; align-items: center; column-gap: 16px; row-gap: 6px; }
  html.mg48 .sheet .whobox .cs-h h2 { flex-basis: 100%; }
  html.mg48 .sheet .whobox .cs-foot { display: flex; flex-direction: row-reverse; align-items: center; justify-content: flex-start; gap: 20px; position: sticky; bottom: -28px; background: var(--surface); padding-block: 14px 0; }
  html.mg48 .sheet .whobox .cs-foot .btn { width: auto; min-width: 280px; }
  html.mg48 .dm41 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  html.mg48 .ds36s { position: relative; transition: transform 160ms var(--spring), box-shadow 160ms; }
  html.mg48 .sw48 { position: absolute; inset-inline-end: 14px; top: 50%; translate: 0 -50%; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: oklch(1 0 0 / .75); color: oklch(0.22 0.03 250); font-size: 14px; font-weight: 600; opacity: 0; scale: .9; transition: opacity 140ms, scale 160ms var(--spring); pointer-events: none; }
  html.mg48 .sw48 .ic { width: 16px; height: 16px; }
  html.mg48 .ds36s:hover, html.mg48 .ds36s:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 18px oklch(0 0 0 / .14); }
  html.mg48 .ds36s:hover .sw48, html.mg48 .ds36s:focus-visible .sw48 { opacity: 1; scale: 1; }
  html.mg48 .c.w3:hover, html.mg48 .mview i.b:hover { filter: brightness(1.04); }
}
@media (prefers-reduced-motion: reduce) { html.mg48 .sw48, html.mg48 .ds36s { transition: none; } }
/* r48 sidebar: clearer selected row (M3 nav drawer active indicator: filled pill + bold label + coloured icon) and a profile menu */
@media (min-width: 1200px) {
  html.mg48 body.mgr.tabs-on #tabbar button.on { background: color-mix(in oklab, var(--primary) 16%, var(--bg)) !important; color: var(--primary-ink) !important; font-weight: 700; position: relative; }
  html.mg48 body.mgr.tabs-on #tabbar button.on::before { content: ""; position: absolute; inset-inline-start: -6px; top: 10px; bottom: 10px; width: 4px; border-radius: 4px; background: var(--primary); }
  html.mg48 body.mgr.tabs-on #tabbar button:not(.on):hover { background: color-mix(in oklab, var(--fg) 5%, transparent) !important; }
  html.mg48 body.mgr.tabs-on #tabbar .tb-me { cursor: pointer; border-radius: 16px; transition: background 140ms; }
  html.mg48 body.mgr.tabs-on #tabbar .tb-me:hover { background: color-mix(in oklab, var(--fg) 5%, transparent); }
  html.mg48 .pop48 { position: absolute; bottom: 76px; inset-inline: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 32px oklch(0 0 0 / .16); padding: 8px; display: grid; gap: 4px; z-index: 5; animation: pop48 180ms var(--spring) both; transform-origin: bottom center; }
  @keyframes pop48 { from { opacity: 0; transform: translateY(6px) scale(.97); } }
  html.mg48 .pop48h { display: flex; align-items: center; gap: 10px; padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
  html.mg48 .pop48h span { display: grid; line-height: 1.25; } html.mg48 .pop48h small { color: var(--muted); font-size: 13px; }
  html.mg48 .pop48 button { appearance: none; border: 0; background: none; font: inherit; color: var(--no-ink, var(--fg)); display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; cursor: pointer; font-weight: 600; }
  html.mg48 .pop48 button:hover { background: color-mix(in oklab, var(--no) 12%, transparent); }
  html.mg48 .pop48 button .ic { width: 20px; height: 20px; }
}
@media (min-width: 900px) {
  html.mg48 .sheet .whobox .cs-foot { bottom: -28px; padding-block: 16px 28px; margin-bottom: -28px; }
  html.mg48 .sheet .whobox .cs-foot::before { content: ""; position: absolute; inset-inline: 0; bottom: 100%; height: 36px; background: linear-gradient(to bottom, transparent, var(--surface)); pointer-events: none; }
}
/* r48c: no edge bar on the selected sidebar row; desktop "back to this week" sits just under the header, not at the screen bottom */
html.mg48 body.mgr.tabs-on #tabbar button.on::before { display: none !important; }
html.mg48 .c.w3, html.mg48 .mview i.b, html.mg48 .ds36s { color: inherit !important; }
@media (min-width: 1000px) { #wktoday, #app.wide #wktoday { bottom: auto !important; top: 32px; left: 32px !important; transform: none !important; } [dir="ltr"] #wktoday { left: auto !important; right: 32px; } }
/* r49: unbuilt month keeps the week/month switch; week view = its first week greyed */
.em34g.wk49 span { min-height: 420px; }
@media (min-width: 1000px) { .em34g.wk49 span { min-height: 520px; } }
#app.wide .schedwrap.em34 .gvseg { width: 200px; height: 44px; margin-inline-start: auto; }
#app.wide .schedwrap.em34 .schedtop { flex-wrap: nowrap; }
@media (max-width: 999px) { .em34 .schedtop .gvseg { width: 100%; } }
/* r49: desktop toasts at the top centre, larger, icon in a tinted circle (people look at the top of the page, not the bottom) */
@media (min-width: 1000px) {
  body .toast, body.tabs-on #app.wide ~ .toast, #app.wide ~ .toast { top: 24px; bottom: auto; min-height: 56px; box-sizing: border-box; padding-block: 10px; padding-inline: 12px 24px; gap: 12px; font-size: 16px; font-weight: 600; border-radius: 18px; box-shadow: 0 18px 48px oklch(0.2 0.02 250 / .28), 0 2px 6px oklch(0.2 0.02 250 / .18); animation: toast49 460ms var(--spring) both; max-width: min(560px, calc(100% - 64px)); }
  .toast .t-ic { width: 36px; height: 36px; padding: 8px; box-sizing: border-box; border-radius: 50%; background: color-mix(in oklch, var(--primary) 85%, transparent); color: #fff; }
  .toast.bad .t-ic { background: oklch(0.6 0.19 25); color: #fff; }
  .toast.has-act { padding-block: 8px; }
  .toast .t-undo { min-height: 40px; }
  .toast.out { animation: toast49o 240ms ease-in both; }
}
@keyframes toast49 { from { opacity: 0; transform: translate(-50%, -24px) scale(.96); } }
@keyframes toast49o { to { opacity: 0; transform: translate(-50%, -16px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .toast, .toast.out { animation-duration: 1ms; } }
/* ---- r49 preview: collecting phase (icon_wt49) ---- */
.pr49 { height: 10px; border-radius: 10px; background: var(--sunk); overflow: hidden; width: 100%; }
.pr49 i { display: block; height: 100%; border-radius: 10px; background: var(--primary); transition: width 700ms var(--spring); }
.av49 { gap: 8px; }
.w49l { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; box-sizing: border-box; padding: 8px 20px; border-radius: 999px; border: 1.5px dashed var(--line); background: transparent; color: var(--muted); font: inherit; text-align: start; cursor: not-allowed; }
.w49l > span:last-child { display: grid; gap: 2px; min-width: 0; } .w49l b { font-size: 16px; font-weight: 600; } .w49l small { font-size: 13px; }
.w49l .ic { flex: none; width: 20px; height: 20px; }
.w49l.on { border-style: solid; color: var(--fg); cursor: pointer; justify-content: center; }
.dtop.st-wait .dt-f { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.dtop.st-wait .dt-k { display: inline-flex; align-items: center; gap: 8px; }
.w49n { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.w49n b { font-family: "Px71", "Doto", "Google Sans", system-ui, sans-serif; font-weight: 900; font-size: 112px; line-height: .9; letter-spacing: .02em; }
.w49n span { font-size: 22px; font-weight: 600; } .w49n em { font-style: normal; color: var(--muted); font-size: 16px; margin-inline-start: 8px; }
.w49a { display: grid; grid-template-columns: auto auto; gap: 12px; align-items: center; justify-content: start; }
.w49a .dt-mg { margin: 0; } .w49a .w49l { width: auto; }
.em34c .pr49 { margin-top: 4px; } .em34c .av49 { justify-content: center; } .em34c .w49l { justify-content: center; text-align: center; }
.em34i.w49i { background: color-mix(in oklch, var(--primary) 14%, transparent); }
.c40 .w49l { margin-top: 8px; }
/* month action in the schedule header */
.ma49 { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding-inline: 14px 16px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.ma49.wt { border: 1px solid var(--line); background: var(--surface); color: var(--fg); }
.ma49.go { padding-inline: 20px 24px; }
.rg49 { width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(var(--primary) calc(var(--p) * 1%), var(--sunk) 0); -webkit-mask: radial-gradient(circle, transparent 6px, #000 6.5px); mask: radial-gradient(circle, transparent 6px, #000 6.5px); flex: none; }
/* ---- r49 preview: desktop schedule header as one card, calendar width (icon_tb49) ---- */
@media (min-width: 1000px) {
  html.tb49 #app.wide .schedwrap:not(.draft33) { grid-template-columns: minmax(0, 1fr) !important; grid-template-areas: none !important; gap: 16px !important; }
  html.tb49 #app.wide .schedwrap:not(.draft33) > * { grid-area: auto !important; grid-column: 1 / -1 !important; }
  html.tb49 #app.wide .schedwrap .schedtop, html.tb49 #app.wide .schedwrap.em34 .schedtop { display: grid !important; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; position: sticky !important; top: 16px; z-index: 12; min-height: 80px; box-sizing: border-box; padding: 12px 12px !important; padding-inline-start: 28px !important; margin: 0 !important; border-radius: 28px !important; background: var(--surface) !important; border: 1px solid var(--line); box-shadow: 0 1px 2px oklch(0.2 0.02 250 / .06), 0 8px 24px oklch(0.2 0.02 250 / .06) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; flex-direction: row !important; }
  html.tb49 #app.wide .schedtop::before { display: none !important; }
  html.tb49 #app.wide .schedtop h1.sch31 { grid-column: 1; grid-row: 1; justify-self: start; margin: 0; font-size: 26px; line-height: 1.2; }
  html.tb49 #app.wide .schedtop .wknav { grid-column: 2; grid-row: 1; justify-self: center; width: auto !important; height: 56px !important; min-height: 56px !important; border: 0 !important; background: none !important; display: flex; align-items: center; gap: 8px; padding: 0 !important; margin: 0 !important; }
  html.tb49 #app.wide .schedtop .wknav .lbl { font-size: 18px; min-width: 260px; justify-content: center; text-align: center; }
  html.tb49 #app.wide .schedtop .wknav .iconbtn { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--bg); }
  html.tb49 #app.wide .schedtop .gvseg { grid-column: 3; grid-row: 1; justify-self: end; width: 200px !important; height: 48px !important; margin: 0 !important; background: var(--bg) !important; border: 0 !important; }
  html.tb49 #app.wide .schedtop:has(.ma49) .gvseg { justify-self: end; margin-inline-end: 0 !important; }
  html.tb49 #app.wide .schedtop .ma49 { grid-column: 3; grid-row: 1; justify-self: end; }
  html.tb49 #app.wide .schedtop:has(.ma49) { grid-template-columns: auto minmax(0, 1fr) auto auto; }
  html.tb49 #app.wide .schedtop:has(.ma49) .wknav { grid-column: 2; justify-self: center; }
  html.tb49 #app.wide .schedtop:has(.ma49) .gvseg { grid-column: 3; }
  html.tb49 #app.wide .schedtop:has(.ma49) .ma49 { grid-column: 4; }
  html.tb49 #app.wide #wktoday { position: static !important; transform: none !important; margin-inline-start: 4px; height: 44px; animation: none; }
  html.tb49 #app.wide .schedwrap.em34 .em34w { margin-top: 16px; }
}
.w49n b { font-size: 88px; font-weight: 700; }
.w49a { grid-template-columns: auto minmax(0, 1fr); width: 100%; } .w49a .dt-mg { white-space: nowrap; }
.em34c .av49 { gap: 6px; }
/* r49b: header = week label fixed width in the middle (nothing jumps when paging), plain arrows like the phone */
@media (min-width: 1000px) {
  html.tb49 #app.wide .schedtop .wknav .lbl { width: 320px; min-width: 320px; max-width: 320px; box-sizing: border-box; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; justify-content: center; }
  html.tb49 #app.wide .schedtop .wknav .iconbtn { border: 0 !important; background: none !important; box-shadow: none !important; width: 48px; height: 48px; }
  html.tb49 #app.wide .schedtop .wknav .iconbtn:hover:not([disabled]) { background: var(--sunk) !important; }
  html.tb49 #app.wide .schedwrap > #wktoday { position: static !important; justify-self: center; grid-column: 1 / -1 !important; margin: 4px auto 0; height: 48px; padding-inline: 20px; display: inline-flex; }
  html.tb49 #app.wide .schedwrap > #wktoday[hidden] { display: none; }
  html.tb49 #app.wide .schedwrap.em34 .gvseg { margin-inline-start: 0; }
  .w3card { position: relative; }
  .ub49 { position: absolute; top: 0; bottom: 0; display: grid; place-items: center; padding: 16px; box-sizing: border-box; z-index: 2; }
  .ub49c { display: grid; justify-items: center; gap: 10px; text-align: center; width: min(360px, 100%); padding: 24px 20px; box-sizing: border-box; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 48px oklch(0.2 0.02 250 / .14); }
  .ub49c b { font-size: 18px; text-wrap: balance; } .ub49c > span:not(.em34i) { color: var(--muted); font-size: 14px; }
  .ub49c .em34i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
  .ub49c .btn { width: 100%; justify-content: center; white-space: normal; height: auto; min-height: 44px; }
  .ub49.cp .ub49c { padding: 16px 12px; } .ub49.cp .ub49c b { font-size: 15px; }
}
/* r49b preview: side blocks (icon_cl49) */
.x49 { display: grid; gap: 12px; padding: 20px; border-radius: 22px; background: var(--bg); margin-bottom: 16px; }
.x49k { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; font-weight: 600; }
.x49n { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; } .x49n b { font-family: "Px71", "Doto", "Google Sans", system-ui, sans-serif; font-weight: 700; font-size: 56px; line-height: .9; } .x49n span { font-size: 18px; font-weight: 600; } .x49n em { font-style: normal; color: var(--muted); font-size: 14px; }
.x49a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: center; } .x49a .btn { white-space: nowrap; } .x49a .w49l { min-height: 48px; padding: 6px 16px; } .x49a .w49l b { font-size: 14px; } .x49a .w49l small { font-size: 12px; }
.x49p { all: unset; cursor: pointer; display: flex; align-items: center; gap: 16px; } .x49p b { display: block; font-size: 28px; font-weight: 700; } .x49t { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; } .x49t .t { font-family: "Px71", "Doto", "Google Sans", system-ui, sans-serif; font-weight: 900; font-size: 22px; }
/* r49e: F layout balanced. Focus side fills the card top to bottom; on-shift is one compact row above the list */
@media (min-width: 1000px) {
  .dtop.st-wait { height: auto; min-height: 392px; }
  .dtop.st-wait .dt-f { justify-content: space-between; gap: 20px; }
  .dtop.st-wait .w49n b { font-size: 96px; }
  .dtop.st-wait .w49a { grid-template-columns: auto; justify-content: start; }
  .dtop.st-wait .w49a .w49l { width: auto; border: 0; padding-inline: 8px; min-height: 44px; color: var(--primary-ink, var(--fg)); text-decoration: underline; text-underline-offset: 3px; }
  button.x49.on { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border-radius: 20px; background: var(--bg); margin-bottom: 16px; }
  button.x49.on:hover { background: var(--sunk); }
  .x49w { display: grid; gap: 2px; min-width: 0; } .x49w .x49k { font-size: 13px; } .x49w b { font-size: 20px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  button.x49.on .x49t { margin: 0; } button.x49.on .x49t .t { font-size: 20px; }
}
@media (min-width: 1000px) { .dt-l .dt-pk + button.x49.on, .dt-l .dt-more + button.x49.on { margin: 16px 0 0; } }
@media (min-width: 1000px) { .dt-l button.x49.on { flex: none; height: auto; align-self: end; } }
/* r49g: ask-for-December main card + custom date picker */
.a49s { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; max-width: 46ch; text-wrap: pretty; }
.a49d { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 520px; }
.dch49 { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px 16px; min-height: 64px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); transition: border-color 160ms, background 160ms; }
.dch49:hover { border-color: color-mix(in oklch, var(--primary) 45%, var(--line)); }
.dch49:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.dch49 .dk { grid-column: 1; font-size: 13px; color: var(--muted); } .dch49 b { grid-column: 1; font-size: 18px; font-weight: 700; } .dch49 .ic { grid-column: 2; grid-row: 1 / 3; color: var(--primary-ink, var(--primary)); }
.dch49.pop49 b { animation: pop49 360ms var(--spring); } @keyframes pop49 { 40% { transform: scale(1.08); } }
.dtop.st-ask { height: auto; min-height: 392px; } .dtop.st-ask .dt-f { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; justify-content: space-between; }
.dtop.st-ask .dt-k { display: inline-flex; align-items: center; gap: 8px; } .dtop.st-ask .dt-month { margin: 0; }
.a49m { display: grid; gap: 14px; } .a49m .dt-k { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); } .a49m .dt-month { margin: 0; font-size: 40px; } .a49m .a49d { grid-template-columns: 1fr 1fr; } .a49m .a49b { width: 100%; justify-content: center; }
.dp49pop { position: fixed; z-index: 60; width: 360px; box-sizing: border-box; padding: 20px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 64px oklch(0.2 0.02 250 / .22); animation: dp49in 220ms var(--spring) both; }
@keyframes dp49in { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.dp49t { margin: 0 0 12px; font-size: 17px; text-align: center; }
.dp49h { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; text-align: center; margin-bottom: 8px; } .dp49h b { font-size: 16px; } .dp49h .iconbtn { border: 0; background: none; width: 44px; height: 44px; }
.dp49w, .dp49g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.dp49w em { font-style: normal; font-size: 12px; color: var(--muted); padding-block: 4px; }
.dp49g > * { height: 42px; display: grid; place-items: center; border-radius: 50%; font-size: 15px; font-style: normal; }
.dp49g button { all: unset; box-sizing: border-box; height: 42px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; font-size: 15px; font-weight: 500; }
.dp49g button:hover { background: var(--sunk); }
.dp49g button.rg { background: color-mix(in oklch, var(--primary) 12%, transparent); border-radius: 10px; }
.dp49g button.td { box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; }
.dp49g button.ref { box-shadow: inset 0 0 0 1.5px color-mix(in oklch, var(--primary) 50%, transparent); }
.dp49g button.on { background: var(--primary); color: var(--on-primary, #fff); font-weight: 700; }
.dp49g i.off { color: var(--muted); opacity: .4; }
.sheet .dp49 { padding-bottom: 8px; } .sheet .dp49g button, .sheet .dp49g > * { height: 46px; }
@media (max-width: 999px) { .a49m .dch49 { padding: 10px 12px; } .a49m .dch49 b { font-size: 17px; white-space: nowrap; } .a49m .a49b { font-size: 17px; white-space: nowrap; } .a49m .a49b span { overflow: hidden; text-overflow: ellipsis; } }
.dch49 b { white-space: nowrap; }
/* r49h: booking-style range field (white box), presets, two-month picker, solo full-width card */
.rng49 { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: grid; gap: 6px; width: 100%; max-width: 460px; padding: 16px 64px 16px 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px oklch(0.2 0.02 250 / .06), 0 6px 18px oklch(0.2 0.02 250 / .06); transition: border-color 160ms, box-shadow 160ms; }
[dir="rtl"] .rng49 { padding: 16px 20px 16px 64px; }
.rng49:hover { border-color: color-mix(in oklch, var(--primary) 45%, var(--line)); box-shadow: 0 1px 2px oklch(0.2 0.02 250 / .06), 0 10px 26px oklch(0.2 0.02 250 / .1); }
.rng49:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.r49k { font-size: 13px; font-weight: 600; color: var(--muted); }
.r49v { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; min-width: 0; } .r49v b { font-size: 20px; font-weight: 700; white-space: nowrap; }
.r49a { display: inline-grid; color: var(--muted); }
.r49n { margin-inline-start: 4px; padding: 3px 10px; border-radius: 999px; background: color-mix(in oklch, var(--primary) 12%, transparent); color: var(--primary-ink, var(--fg)); font-size: 13px; font-weight: 600; white-space: nowrap; }
.r49p { font-size: 14px; color: var(--muted); }
.rng49 .r49i { position: absolute; inset-inline-end: 20px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; color: var(--primary); }
.r49e.pop49 { display: inline-block; animation: pop49 360ms var(--spring); }
.ps49 { display: flex; gap: 8px; justify-content: center; margin-bottom: 16px; flex-wrap: wrap; }
.ps49b { all: unset; box-sizing: border-box; cursor: pointer; min-height: 40px; padding: 0 16px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.ps49b:hover { border-color: color-mix(in oklch, var(--primary) 45%, var(--line)); } .ps49b.on { background: var(--primary); border-color: var(--primary); color: var(--on-primary, #fff); }
.dp49pop { width: 680px; padding: 24px; }
.dp49two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.sheet .dp49two { grid-template-columns: minmax(0, 1fr); }
.dp49two > .dp49:first-child .dp49h button:last-child, .dp49two > .dp49:last-child .dp49h button:first-child { visibility: hidden; }
.dp49two > .dp49:only-child .dp49h button { visibility: visible; }
@media (min-width: 1000px) {
  .dtop.solo49 { grid-template-columns: minmax(0, 1fr); min-height: 0; height: auto; }
  .dtop.solo49 .dt-vd, .dtop.solo49 .dt-l { display: none; }
  .dtop.solo49 .dt-f { position: relative; padding: 40px 48px; justify-content: flex-start; }
  .dtop.solo49 .dt-f > button.x49.on { position: absolute; inset-inline-end: 40px; bottom: 40px; width: 360px; margin: 0; }
  .dtop.solo49 .dt-f > .x49.cl { position: absolute; inset-inline-end: 40px; top: 40px; width: 360px; margin: 0; }
}
.a49m .rng49 { max-width: none; }
/* r49i: one-month picker with Airbnb-style range band, confirm footer; today side panel */
.dp49pop { width: 400px; padding: 24px; }
.dp49h { display: block; text-align: center; margin-bottom: 8px; } .dp49h b { font-size: 17px; }
.dp49g { column-gap: 0; row-gap: 6px; }
.dp49g > button { all: unset; box-sizing: border-box; position: relative; height: 44px; display: grid; place-items: center; cursor: pointer; border-radius: 0; background: none; }
.dp49g > button:hover { background: none; }
.dp49g > button span { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 500; transition: background 140ms, color 140ms; }
.dp49g > button:hover span { background: var(--sunk); }
.dp49g > button.in::before { content: ""; position: absolute; inset-block: 2px; inset-inline: 0; background: color-mix(in oklch, var(--primary) 14%, transparent); }
.dp49g > button.in.rs::before { border-start-start-radius: 20px; border-end-start-radius: 20px; }
.dp49g > button.in.re::before { border-start-end-radius: 20px; border-end-end-radius: 20px; }
.dp49g > button.st::before { inset-inline-start: 50%; border-radius: 0; }
.dp49g > button.en::before { inset-inline-end: 50%; border-radius: 0; }
.dp49g > button.st.en::before { display: none; }
.dp49g > button.st span { background: color-mix(in oklch, var(--primary) 30%, var(--surface)); font-weight: 700; }
.dp49g > button.en span, .dp49g > button.en:hover span { background: var(--primary); color: var(--on-primary, #fff); font-weight: 700; }
.dp49g > i { height: 44px; border-radius: 0; }
.dp49fw:empty { display: none; }
.dp49f { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.dp49f > span { display: grid; gap: 2px; min-width: 0; } .dp49f b { font-size: 16px; white-space: nowrap; } .dp49f small { font-size: 13px; color: var(--muted); }
.dp49ok { min-width: 112px; flex: none; }
.dp49f.up { animation: dp49up 260ms var(--spring) both; } @keyframes dp49up { from { opacity: 0; transform: translateY(10px); } }
.sheet .dp49g > button { height: 48px; } .sheet .dp49g > button span { width: 44px; height: 44px; } .sheet .dp49f .dp49ok { min-width: 132px; min-height: 52px; }
.dt-l:has(> .td49) { display: flex; flex-direction: column; }
.td49 { display: flex; flex-direction: column; gap: 10px; flex: 1; min-height: 0; }
.td49 button.x49.on { align-self: stretch; margin: 0; }
.td49k { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--muted); padding-inline: 4px; }
.td49l { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.td49r { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 16px; }
.td49r:hover { background: var(--sunk); }
.td49r b { font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.td49t { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 15px; } .td49t .t { font-family: "Px71", "Doto", "Google Sans", system-ui, sans-serif; font-weight: 900; }
.td49g { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1.5px dashed oklch(0.6 0.18 25); color: oklch(0.55 0.18 25); box-sizing: border-box; }
.td49r.gap b { color: oklch(0.55 0.18 25); }
.td49ok { margin: auto 0 0; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); padding-inline: 4px; }
.td49ok .ic { width: 22px; height: 22px; padding: 3px; box-sizing: border-box; border-radius: 50%; background: color-mix(in oklch, oklch(0.7 0.15 150) 22%, transparent); color: oklch(0.5 0.13 150); }
.dp49ok.btn { width: auto; min-width: 112px; padding-inline: 24px; }
.dp49g > button.en.rs::before, .dp49g > button.st.re::before { display: none; }
.dp49g > button.in::before { background: color-mix(in oklab, var(--primary) 14%, var(--surface)); }
.dp49g > button.st span { background: color-mix(in oklab, var(--primary) 32%, var(--surface)); }
/* r49j: send lives in the calendar footer (date first, then send; no disabled button) */
.dp49f { display: grid; gap: 12px; justify-content: stretch; }
.dp49f > span { text-align: center; }
.dp49ok.btn { width: 100%; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 17px; font-weight: 700; background: oklch(0.45 0.17 295); border-color: transparent; color: #fff; box-shadow: 0 10px 24px oklch(0.45 0.17 295 / .28); }
.dp49ok.btn:hover { background: oklch(0.41 0.17 295); }
/* r49k: band joins today (rounded cap, no separate circle); quieter date box same width as the button; centred dotted tick */
.dp49g > button.in::before { inset-block: auto; top: 50%; height: 40px; translate: 0 -50%; }
.dp49g > button.st::before { inset-inline-start: 3px; border-start-start-radius: 20px; border-end-start-radius: 20px; }
.dp49g > button.st.re::before { display: block; border-radius: 20px; inset-inline-end: 3px; }
.dp49g > button.st span { background: none; font-weight: 700; color: var(--primary-ink, var(--fg)); }
.dp49g > button.st:hover span { background: none; }
.dp49g > button.en.rs::before { display: none; }
.dtop.st-ask .rng49, .dtop.st-ask .a49b { width: 100%; max-width: 440px; box-sizing: border-box; }
.dtop.st-ask .a49b { justify-content: center; margin-top: 0; }
.rng49 { padding: 12px 56px 12px 18px; gap: 2px; border-radius: 18px; box-shadow: none; border-color: var(--line); }
[dir="rtl"] .rng49 { padding: 12px 18px 12px 56px; }
.rng49:hover { box-shadow: none; }
.r49v b { font-size: 18px; } .r49k { font-size: 12px; } .r49p { font-size: 13px; }
.rng49 .r49i { width: 22px; height: 22px; inset-inline-end: 18px; }
.td49ok { flex-direction: column; justify-content: center; text-align: center; gap: 8px; margin: auto 0 8px; padding: 0; font-size: 15px; }
.td49ok .dt49 { width: 36px; height: 36px; color: oklch(0.55 0.13 160); }
/* r49l: title "אילוצים לדצמבר" + share page with WhatsApp preview */
.dt-month.a49t { font-size: clamp(44px, 4.6vw, 72px); line-height: 1.05; letter-spacing: -.01em; }
.a49m .dt-month.a49t { font-size: 36px; }
.sh49 { max-width: 1040px; margin: 0 auto; padding: 40px 0 64px; display: grid; gap: 32px; }
.sh49h { display: grid; justify-items: center; text-align: center; gap: 10px; } .sh49h .dt49 { width: 56px; height: 56px; color: oklch(0.55 0.13 160); animation: pop49 520ms var(--spring) both; }
.sh49h h1 { margin: 0; font-size: clamp(28px, 3vw, 40px); text-wrap: balance; } .sh49h p { margin: 0; color: var(--muted); font-size: 17px; max-width: 52ch; text-wrap: pretty; }
.sh49b { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.sh49k { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.wa49 { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #efeae2; box-shadow: 0 10px 30px oklch(0.2 0.02 250 / .08); }
.wa49h { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #f0f2f5; color: #111b21; } .wa49h b { display: block; font-size: 16px; } .wa49h small { color: #667781; font-size: 13px; }
.wa49a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #dfe5e7; color: #54656f; }
.wa49w { padding: 20px 16px 24px; min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; background-color: #efeae2; background-image: radial-gradient(rgba(0,0,0,.035) 1.2px, transparent 1.3px); background-size: 18px 18px; }
.b49 { align-self: flex-end; max-width: 88%; background: #d9fdd3; color: #111b21; border-radius: 12px 2px 12px 12px; padding: 4px 4px 6px; box-shadow: 0 1px .5px rgba(11,20,26,.13); }
[dir="rtl"] .b49 { align-self: flex-start; border-radius: 2px 12px 12px 12px; }
.b49c { border-radius: 8px; overflow: hidden; background: #c8f0c0; }
.b49i { aspect-ratio: 1200 / 630; background: #121318; } .b49i img, .b49i .sk34 { display: block; width: 100%; height: 100%; object-fit: cover; }
.b49x { display: grid; gap: 2px; padding: 8px 10px 10px; } .b49x b { font-size: 15px; } .b49x span { font-size: 13px; color: #3b4a54; } .b49x em { font-style: normal; font-size: 12px; color: #667781; direction: ltr; text-align: start; }
.b49 p { margin: 6px 8px 0; font-size: 15px; line-height: 1.45; white-space: normal; overflow-wrap: anywhere; } .b49l { color: #027eb5; }
.b49m { display: flex; justify-content: flex-end; align-items: center; gap: 4px; font-size: 11px; color: #667781; margin: 2px 8px 0; direction: ltr; } .b49v { color: #53bdeb; display: inline-grid; }
.sh49e { display: grid; gap: 12px; padding-top: 28px; } .sh49e label { font-size: 14px; font-weight: 600; color: var(--muted); }
.sh49e textarea { box-sizing: border-box; width: 100%; resize: vertical; min-height: 170px; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font: inherit; font-size: 16px; line-height: 1.5; }
.sh49e textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.sh49c.btn { min-height: 56px; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 17px; font-weight: 700; }
.sh49c.home { animation: dp49up 260ms var(--spring) both; }
.sh49w { justify-self: center; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-inline: 12px; color: var(--fg); font-size: 15px; font-weight: 600; text-decoration: none; } .sh49w .ic { color: #25D366; width: 20px; height: 20px; }
@media (max-width: 999px) { .sh49 { padding: 16px 0 120px; gap: 24px; } .sh49b { grid-template-columns: minmax(0, 1fr); gap: 20px; } .sh49e { padding-top: 0; } .wa49w { min-height: 0; } }
/* r49m: description no wider than the date box + button */
.dtop.st-ask .a49s { max-width: 440px; }
/* r49m: locked shift modal */
.whobox:has(.lk49b) .fx-when { display: none; }
.lk49c { margin-top: 16px; } .lk49c .ds36s { cursor: default; }
.lk49b { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 36px 24px 28px; margin-top: 16px; border-radius: 22px; background: var(--sunk, oklch(0.5 0 0 / .06)); }
.lk49b .dl49 { width: 96px; height: 96px; color: var(--fg); opacity: .85; animation: pop49 420ms var(--spring) both; }
.lk49b b { font-size: 18px; font-weight: 600; max-width: 34ch; text-wrap: balance; }
.whobox:has(.lk49b) .cs-foot .btn { width: 100%; min-width: 0; }
.lk49b { padding: 28px 24px 24px; } .lk49b .dl49 { width: 80px; height: 80px; }
.whobox:has(.lk49b) .cs-h { padding-bottom: 0; }
html.mg48 .sheet .whobox:has(.lk49b) .cs-foot { display: block; position: static; } html.mg48 .sheet .whobox:has(.lk49b) .cs-foot .btn { width: 100%; min-width: 0; }
/* r49n: ask card controls span the full width (less top-heavy) */
.dtop.st-ask .rng49, .dtop.st-ask .a49b { max-width: none; }
.dtop.st-ask .a49s { max-width: 56ch; }
/* progress line stays inside the rounded chip */
.ds36p { inset-inline: 18px; bottom: 7px; height: 4px; border-radius: 4px; overflow: hidden; } .ds36p i { border-radius: 4px; }
.ds36n.soon { background: oklch(0.25 0.03 250 / .85); }
/* solid, clearly pressable button under the lock */
.lk49ok.btn { background: var(--primary); color: var(--on-primary, #fff); border-color: transparent; min-height: 52px; font-size: 17px; font-weight: 700; box-shadow: 0 6px 16px color-mix(in oklab, var(--primary) 30%, transparent); }
.lk49ok.btn:hover { filter: brightness(1.06); }
/* who-can list: the same coloured chips as the calendar */
.wr.wr49 { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; min-height: 68px; padding: 10px 14px; border-radius: 18px; background: var(--hb); color: oklch(0.2 0.03 250); box-shadow: none; position: relative; }
.wr.wr49 .rd { order: 3; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: oklch(1 0 0 / .7); box-shadow: inset 0 0 0 2px oklch(0.2 0.03 250 / .25); color: #fff; }
.wr.wr49 .rd .ic { width: 16px; height: 16px; }
.wr49x { display: grid; gap: 2px; min-width: 0; } .wr49x b { font-size: 18px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .wr49 .cap { color: oklch(0.2 0.03 250 / .72); font-size: 13px; }
.wr.wr49:hover:not([disabled]) { background: var(--hb); filter: brightness(1.04); }
.wr.wr49.on { background: var(--hb); box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--fg); }
.wr.wr49.on .rd { background: oklch(0.2 0.03 250); box-shadow: none; }
.wr.wr49[disabled] { background: var(--sunk); color: var(--muted); opacity: 1; } .wr.wr49[disabled] .av { filter: grayscale(1); opacity: .6; } .wr.wr49[disabled] .cap { color: var(--muted); }
html.mg48 .sheet .whobox .wlist { gap: 10px; }
/* r49o: every shift popup opens with the full chip of who's on it (replaces the small "כרגע במשמרת" pill + time line) */
.whobox:has(.lk49c) .fx-when, .whobox:has(.lk49c) .cs-now { display: none; }
.whobox .lk49c { margin: 14px 0 6px; }
.whobox .lk49c .ds36s { min-height: 76px; }
.lk49k { font-size: 14px; font-weight: 600; color: var(--muted); }
.whobox .lk49c { padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.lk49c { gap: 8px; }
.whobox .lk49c { margin-bottom: 4px; }
.ob49x { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; font-weight: 600; color: inherit; opacity: .85; }

/* r49q: chips keep dark ink in dark mode (r48c "inherit" made times white on light chips); ask card leads the phone home and rises in; picker send button sits higher */
.ds36s:not(.none):not(.gap) { color: oklch(0.2 0.03 250) !important; }
.ds36s:not(.none):not(.gap) :is(.ds36tm, .ds36t, .ds36x b, .ds36x span) { color: inherit; }
html[data-homev="sheet"] .m31 .a49m.up49 { margin-top: 12px; }
.a49m.up49 { animation: up49 520ms var(--spring) 120ms both; }
@keyframes up49 { from { opacity: 0; transform: translateY(48px) scale(.97); } }
@media (prefers-reduced-motion: reduce) { .a49m.up49 { animation: none; } }
.sheet .dp49f { padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }

/* r49r: ask task in the phone hero */
.mhub .a49hs { display: block !important; }
.a49m.a49h { padding: 4px 0 8px; background: none; box-shadow: none; border: 0; }
.a49m.a49h .dt-month.a49t { font-size: 44px; line-height: 1.05; }
.on49 { display: grid; gap: 10px; padding-top: 12px; }
.on49k { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.on49 .ds36.dm41 { display: grid; gap: 10px; }
.mhub .a49hs, .a49m.a49h, .a49m.a49h :is(p, .a49s, .dt-k) { text-align: start; justify-self: stretch; align-self: stretch; }
.mhub .a49hs .a49s { margin-inline: 0; }
.mhub .a49h .a49b, .mhub .a49h .a49b .ic { color: #fff !important; }
html .mhub .a49h .a49b, html .mhub .a49h .a49b * { color: #fff !important; } html[data-hubl="1"] .mhub .a49h .a49b :where(span) { color: #fff !important; }
html[data-hubl="1"]:not([data-theme="dark"]) .mhub.g-glow .a49h .a49b span { color: #fff !important; }
/* r49s: ask hero glow = violet, same hue as its purple CTA (analogous, no orange/purple clash); sheet overlaps the hero by more than its corner radius so the glow runs behind the rounded corners */
.mhub.sk-ask { --glow: oklch(0.56 0.17 295); --rim: oklch(0.78 0.12 295); }
@media (max-width: 999px) { html[data-lap="1"][data-homev="sheet"] .mdash .m31 { margin-top: -48px !important; } html[data-lap="1"] .mdash .mhub { padding-bottom: 72px; } }
/* r49t: coloured chips keep dark ink in dark mode on every view (r48c "color: inherit" turned week-grid and month chip text white) */
html .c.w3:not(.gap), html .mview i.b:not(.gap), html.mg48 .c.w3:not(.gap), html.mg48 .mview i.b:not(.gap) { color: oklch(0.2 0.03 250) !important; }
html .mview .bc.past i.b:not(.gap), html.mg48 .mview .bc.past i.b:not(.gap) { color: var(--muted) !important; }
/* r49u preview: balanced desktop card (icon_bal49 a/b/c). Shared: both columns start on the same top line (the eyebrow) and end on the same bottom line (the main button) */
.dtop.bal49 { height: auto !important; min-height: 392px; grid-template-columns: minmax(0, 1.6fr) 1px minmax(0, 1fr) !important; }
.dtop.bal49 .dt-f { padding: 40px 48px !important; display: flex !important; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 16px; }
.dtop.bal49 .dt-vd { margin-block: 40px; }
.dtop.bal49 .dt-l { padding: 40px 40px 40px 36px !important; display: flex !important; flex-direction: column; min-height: 0; }
.bl49 { display: flex; flex-direction: column; gap: 14px; flex: 1; min-height: 0; }
.bl49 .dt-k { min-height: 24px; } .bl49 .dt-k .dt-n { margin-inline-start: 4px; }
.bl-tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; } .bl-tl .dt-r { padding-block: 10px; }
.bl-ok { margin: auto 0 0; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; min-height: 56px; }
.bl-ok .dt49 { width: 22px; height: 22px; color: var(--ok, oklch(0.7 0.14 160)); }
.bl-tm { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font: 600 15px/1 "Px71", "Doto", monospace; margin-inline-start: auto; }
/* A: quiet rail — plain rows, no boxes */
.bl-rl { display: grid; gap: 2px; }
.bl-r { appearance: none; border: 0; background: none; font: inherit; color: inherit; display: flex; align-items: center; gap: 12px; padding: 8px 0; text-align: start; cursor: pointer; border-radius: 12px; }
.bl-r b { font-size: 17px; } .bl-r:hover b { text-decoration: underline; text-underline-offset: 4px; }
.bl-a .bl-tl + .dt-k { margin-top: auto; }
/* B: mirror — eyebrow / big / detail / action, one step quieter than the task side */
.bl-big { appearance: none; border: 0; background: none; font: inherit; color: inherit; display: flex; align-items: center; gap: 18px; padding: 0; text-align: start; cursor: pointer; }
.bl-big > span { display: grid; gap: 8px; } .bl-big b { font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -.01em; } .bl-big .bl-tm { margin: 0; font-size: 20px; }
.bl-nx { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .bl-nx .k { color: var(--muted); font-size: 14px; font-weight: 600; margin-inline-end: 4px; }
.bl-nxi { appearance: none; border: 1px solid var(--line); background: none; color: inherit; font: inherit; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 99px; cursor: pointer; } [dir="rtl"] .bl-nxi { padding: 4px 4px 4px 12px; }
.bl-nxi .t { font: 600 14px/1 "Px71", "Doto", monospace; }
.bl-foot { margin-top: auto; display: grid; }
.bl-wa.btn { min-height: 56px; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: transparent !important; color: var(--fg) !important; border: 1.5px solid var(--line) !important; box-shadow: none !important; font-weight: 700; }
.bl-wa svg { width: 20px; height: 20px; }
.bl-c.ds36s:not(.none) { grid-template-columns: 36px 1fr auto !important; padding: 10px 14px !important; gap: 12px !important; border-radius: 16px; min-height: 56px; }
.bl-c .ds36x b { font-size: 16px; } .bl-c .ds36tm .ds36t { font-size: 15px; }
/* C: single focus + strip — the task owns the card; today and tasks sit in one low strip along the bottom */
.dtop.bal49.b-c { grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: 1fr auto; }
.dtop.bal49.b-c .dt-f { max-width: 820px; }
.dtop.bal49.b-c .dt-f .a49s { max-width: 60ch; }
.bl-st { display: flex; align-items: center; gap: 32px; padding: 18px 48px; border-top: 1px solid var(--line); background: color-mix(in oklab, var(--fg) 3%, transparent); }
.bl-st .bl-ok { margin: 0; min-height: 0; }
.bl-stt { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; } .bl-stt .bl-tl { display: flex; gap: 16px; } .bl-stt .dt-r { padding: 0; }
.bl-std { display: flex; align-items: center; gap: 14px; margin-inline-start: auto; } .bl-cs { display: flex; gap: 10px; } .bl-cs .bl-c { min-width: 0; }
.dtop.bal49:not(.b-c) { grid-template-columns: minmax(0, 1.35fr) 1px minmax(0, 1fr) !important; }
.bl-td { display: grid; gap: 8px; } .bl-a .bl-tl + .bl-td { margin-top: auto; }
.bl-c .av { width: 36px !important; height: 36px !important; font-size: 14px !important; }
.bl-st { flex-wrap: wrap; row-gap: 14px; } .bl-st .dt-k { white-space: nowrap; }
.bl-stt { flex-basis: 100%; } .bl-stt .bl-tl { flex: 1; } .bl-stt .dt-r { flex: 1; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 12px; border: 1px solid var(--line); border-radius: 18px; min-width: 0; } .bl-stt .dt-r .dt-tx { flex: 1; min-width: 0; } .bl-stt .dt-r .dt-tx b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.bl-std { margin-inline-start: 0; flex: 1; justify-content: flex-start; } .bl-st .bl-ok + .bl-std { justify-content: flex-end; }
.bl-cs .bl-c.ds36s:not(.none) { min-width: 180px; }
/* r49u preview: date box options */
.rv49 { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; gap: 14px; padding: 18px 20px; border-radius: 20px; background: var(--surface); border: 1.5px solid var(--line); box-shadow: 0 1px 2px oklch(0.2 0.02 250 / .06), 0 8px 24px oklch(0.2 0.02 250 / .06); transition: border-color 160ms, box-shadow 160ms; }
.rv49:hover { border-color: color-mix(in oklab, var(--primary) 50%, var(--line)); } .rv49:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.rv49 .k { font-size: 14px; font-weight: 600; color: var(--muted); }
.rv49e { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--primary-ink, var(--primary)); padding: 8px 14px; border-radius: 99px; background: color-mix(in oklab, var(--primary) 12%, transparent); white-space: nowrap; }
.rp49 { display: inline-grid; justify-items: center; width: 64px; border-radius: 14px; overflow: hidden; background: var(--bg); border: 1.5px solid var(--line); line-height: 1; padding-bottom: 6px; }
.rp49m { width: 100%; text-align: center; padding: 5px 0 4px; font-size: 12px; font-weight: 700; color: #fff; background: oklch(0.55 0.03 250); }
.rp49 b { font-size: 28px; font-weight: 800; margin-top: 6px; } .rp49w { font-size: 12px; color: var(--muted); margin-top: 3px; }
.rp49.on { border-color: oklch(0.45 0.17 295); } .rp49.on .rp49m { background: oklch(0.45 0.17 295); }
.rv1t { display: flex; align-items: center; gap: 14px; } .rv1c { display: grid; justify-items: center; gap: 6px; }
.rv1m { flex: 1; display: grid; justify-items: center; gap: 6px; align-self: center; padding-top: 18px; } .rv1m i { display: block; width: 100%; height: 3px; border-radius: 3px; background: linear-gradient(to left, oklch(0.45 0.17 295), color-mix(in oklab, oklch(0.45 0.17 295) 30%, var(--line))); }
[dir="ltr"] .rv1m i { background: linear-gradient(to right, oklch(0.45 0.17 295), color-mix(in oklab, oklch(0.45 0.17 295) 30%, var(--line))); }
.rv1f { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 14px; color: var(--muted); }
.rv2h { display: flex; align-items: center; justify-content: space-between; }
.rv2tr { position: relative; height: 18px; margin-inline: 8px; } .rv2tr i { position: absolute; top: 7px; height: 4px; border-radius: 4px; }
.rv2a { inset-inline-start: 0; width: var(--pc); background: oklch(0.45 0.17 295); } .rv2b { inset-inline-end: 0; width: calc(100% - var(--pc)); background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 11px); }
.rv2d { position: absolute; top: 1px; width: 16px; height: 16px; border-radius: 50%; translate: 50% 0; background: var(--surface); border: 3px solid oklch(0.45 0.17 295); box-sizing: border-box; }
[dir="ltr"] .rv2d { translate: -50% 0; }
.rv2d.d0 { inset-inline-start: 0; background: oklch(0.45 0.17 295); } .rv2d.d1 { inset-inline-start: var(--pc); width: 20px; height: 20px; top: -1px; } .rv2d.d2 { inset-inline-start: 100%; border-color: var(--muted); }
.rv2l { position: relative; display: grid; grid-template-columns: var(--pc) 1fr auto; } .rv2l > span { display: grid; gap: 2px; } .rv2l b { font-size: 17px; } .rv2l small { font-size: 13px; color: var(--muted); }
.rv2l .l1 { translate: 50% 0; justify-items: center; text-align: center; } [dir="ltr"] .rv2l .l1 { translate: -50% 0; } .rv2l .l2 { text-align: end; justify-items: end; }
.rv3 { grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; } .rp49.big { width: 76px; } .rp49.big b { font-size: 34px; }
.rv3x { display: grid; gap: 4px; min-width: 0; } .rv3x b { font-size: 22px; } .rv3x .s { font-size: 14px; color: var(--muted); }
.dtop.bal49 .rv49 { max-width: none; } .a49m .rv49 { max-width: none; }
.bl-cl { display: grid; gap: 10px; }
.rv2tr i { display: block !important; } .rv2tr .rv2d { display: block !important; }
@media (max-width: 999px) { .rv3 { gap: 14px; padding: 16px; } .rv3 .rv49e { padding: 10px; } .rv3 .rv49e > span:not(.ic) { display: none; } .rv3x b { font-size: 20px; } .rv1t { gap: 10px; } }
.rv49.rv2 .rv2tr i.rv2a { width: var(--pc) !important; height: 4px !important; background: oklch(0.45 0.17 295) !important; }
.rv49.rv2 .rv2tr i.rv2b { width: calc(100% - var(--pc)) !important; height: 4px !important; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 11px) !important; }
.mhub .rv49e .ic, .mhub .rv49e svg { color: inherit !important; stroke: currentColor !important; }
/* r49v/w: sign-in intro (animations run in JS via the Web Animations API) */
.hi49 { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; background: var(--bg); cursor: pointer; }
.hi49c { display: grid; justify-items: center; gap: 28px; padding: 24px; }
.hi49t { width: min(58vw, 260px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: oklch(0.9 0.18 135); box-shadow: 0 24px 60px oklch(0.55 0.15 135 / .3); will-change: transform; transform-origin: 50% 50%; }
.hi49t video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hi49h { margin: 0; font-size: clamp(40px, 8vw, 72px); font-weight: 800; letter-spacing: -.01em; line-height: 1; text-align: center; }
html.hi49on #app, html.hi49on #tabbar { opacity: 0; }
/* r49x: "אחר כך" under the big name is a light line, not a filled chip (user: "the Steven below in a heavy chip doesn't work") */
.dt-nx .nxc:not(.gap) { background: none !important; box-shadow: none !important; padding: 2px 0; gap: 8px; color: var(--fg) !important; }
.dt-nx .nxc:not(.gap) b { font-weight: 700; } .dt-nx .nxc:not(.gap) .t { color: var(--muted) !important; font-family: "Px71", "Doto", monospace; font-weight: 700; }
.dt-nx .nxc:not(.gap):hover b { text-decoration: underline; text-underline-offset: 4px; }
/* r49x preview: date box as one clear field (icon_rng49 4 = outlined like a flight-search field, 5 = filled field) */
.fx49w { display: grid; gap: 8px; width: 100%; }
.fx49 { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 14px 20px; border-radius: 14px; background: var(--surface); border: 2px solid color-mix(in oklab, var(--fg) 70%, transparent); transition: border-color 140ms, box-shadow 140ms; }
.fx49:hover { border-color: var(--fg); box-shadow: 0 0 0 4px color-mix(in oklab, var(--fg) 8%, transparent); } .fx49:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.fx49x { display: grid; gap: 4px; flex: 1; min-width: 0; } .fx49k { font-size: 15px; font-weight: 700; } .fx49v { font-size: 21px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; } .fx49a { display: inline-flex; color: var(--muted); }
.fx49 .fx49i { width: 28px; height: 28px; flex: none; color: var(--fg); }
.fx49c { font-size: 14px; color: var(--muted); padding-inline: 4px; }
.fx49.fl { border: 0; border-bottom: 3px solid oklch(0.45 0.17 295); border-radius: 14px 14px 4px 4px; background: color-mix(in oklab, var(--fg) 7%, var(--surface)); }
.fx49.fl:hover { background: color-mix(in oklab, var(--fg) 11%, var(--surface)); box-shadow: none; }
.mhub .fx49 .fx49i, .mhub .fx49 .fx49i svg { color: inherit !important; }
/* r49x preview: on-shift chip variants */
.lkv.ds36s:not(.none) { grid-template-columns: 56px 1fr auto !important; padding: 18px 20px 30px !important; min-height: 104px; position: relative; }
.lkv .lkl { display: grid; justify-items: end; gap: 8px; } [dir="rtl"] .lkv .lkl { justify-items: start; }
.lkv .lklt { font: 800 22px/1 "Px71", "Doto", monospace; color: inherit; white-space: nowrap; }
.lkv .lkb { position: absolute; inset-inline: 20px; bottom: 14px; height: 6px; border-radius: 6px; background: oklch(0 0 0 / .14); overflow: hidden; } .lkv .lkb > i { position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: 6px; background: oklch(0.2 0.03 250 / .75); }
.lkv .ds36n { position: static !important; }
.lkv2.ds36s:not(.none) { grid-template-columns: 56px 1fr auto auto !important; padding: 16px 20px !important; }
.lkv2 .lkr { position: relative; width: 60px; height: 60px; display: grid; place-items: center; } .lkv2 .lkr svg { position: absolute; inset: 0; transform: rotate(-90deg); } [dir="rtl"] .lkv2 .lkr svg { transform: rotate(-90deg) scaleY(-1); }
.lkv2 .lkr circle { fill: none; stroke-width: 6; } .lkv2 .lkr .tr { stroke: oklch(0 0 0 / .12); } .lkv2 .lkr .fg { stroke: oklch(0.2 0.03 250 / .8); stroke-linecap: round; }
.lkv2 .lkrt b { font: 800 13px/1 "Px71", "Doto", monospace; } .lkv2 .ds36n { align-self: start; }
.lkv .ds36x { min-width: 0; } .lkv .lklt { font-size: 16px; } .lkv2 .lkrt b { font-size: 15px; }
@media (max-width: 999px) { .lkv.ds36s:not(.none) { grid-template-columns: 48px 1fr auto !important; padding: 16px 16px 30px !important; gap: 12px !important; } .lkv .av { width: 48px !important; height: 48px !important; } .lkv .lkb { inset-inline: 16px; } }
@media (max-width: 999px) { .lkv2.ds36s:not(.none) { grid-template-columns: 48px 1fr auto auto !important; padding: 16px !important; } }
/* r49y pop-out portrait: circle + keyed figure; body clipped by the circle, everything above its centre (the waving hand) is free */
.po49 { --d: 132px; position: relative; display: inline-block; width: var(--d); height: var(--d); flex: none; isolation: isolate; -webkit-tap-highlight-color: transparent; }
.po49b { position: absolute; inset: 0; border-radius: 50%; background: var(--pbg); }
.po49f { position: absolute; left: calc(var(--d) * -0.0603); top: 0; width: calc(var(--d) * 1.2644); height: calc(var(--d) * 1.0345); pointer-events: none; }
.po49f img, .po49f canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; user-select: none; }
.po49f canvas { opacity: 0; }
.po49.pl .po49f canvas { opacity: 1; }
.po49.pl .po49f img { opacity: 0; }
.po49[data-wink] { cursor: pointer; }
.hi49t.p { width: auto; aspect-ratio: auto; border-radius: 0; overflow: visible; background: none; box-shadow: none; filter: drop-shadow(0 22px 40px oklch(0.55 0.15 135 / .28)); }
.hi49t.p .po49 { display: block; }
.hi49.p49 .hi49t { will-change: transform; }
/* settings header */
.me49 h2 { margin: 0; font-size: 26px; font-weight: 800; line-height: 1.1; }
.me49 p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
@media (max-width: 899px) { .me49 .po49 { --d: 104px !important; } .me49 h2 { font-size: 22px; } }
/* r49z preview (icon_ns49): on shift now, big and simple, beside / under the December ask */
.ns49 { display: grid; align-content: center; justify-items: start; gap: 16px; min-width: 0; }
.ns49w { display: flex; align-items: center; gap: 18px; background: none; border: 0; padding: 0; text-align: start; color: inherit; cursor: pointer; font: inherit; }
.ns49w > span:last-child { display: grid; gap: 8px; }
.ns49w b { font-size: 34px; font-weight: 800; line-height: 1.05; }
.ns49w .dt-tr .t { font-size: 30px; }
.ns49 .dt-nx { margin-top: 0; }
.dtop .dt-l:has(> .ns49) { padding: 40px 40px; grid-template-rows: 1fr; align-content: stretch; }
.dtop .dt-l > .ns49 { align-self: center; }
/* compact answer-window field: one tappable field, no caption, no second button */
.fx49 { min-height: 64px; padding: 10px 18px; gap: 14px; border-radius: 14px; }
.fx49x { gap: 2px; } .fx49k { font-size: 13px; color: var(--muted); font-weight: 600; } .fx49v { font-size: 19px; font-weight: 600; }
.fx49 .fx49i { width: 24px; height: 24px; color: var(--primary-ink, var(--fg)); }
.dtop.st-ask .dt-f { gap: 0; } .dtop.st-ask .dt-f .dt-k { margin-bottom: 10px; } .dtop.st-ask .dt-f .a49t { margin: 0 0 24px; } .dtop.st-ask .dt-f .fx49w { max-width: 460px; }
.dtop.st-ask .dt-f .a49b { margin-top: 16px; }
/* phone: hero holds the ask, a hairline, then who is on shift; even top/bottom weight */
.mhub .a49hs:has(.ns49m) { display: grid !important; gap: 0; }
.ns49m { margin-top: 22px; padding-top: 22px; border-top: 1px solid color-mix(in oklab, currentColor 14%, transparent); }
.ns49m .ns49 { gap: 12px; }
.ns49m .ns49w .av { width: 64px !important; height: 64px !important; }
.ns49m .ns49w b { font-size: 24px; } .ns49m .ns49w .dt-tr .t { font-size: 22px; } .ns49m .ns49w .dt-tr .pxic { width: 22px; height: 22px; }
.ns49m .dt-k { font-size: 14px; opacity: .75; }
.ns49m .dt-nx { font-size: 16px; } .ns49m .dt-nx .k { font-size: 14px; }
@media (max-width: 999px) { .a49m.a49h .dt-month.a49t { font-size: 38px; margin-bottom: 4px; } .a49m .fx49 { min-height: 56px; padding: 8px 14px; } .a49m .fx49v { font-size: 17px; } }
/* settings: centred profile header (Google Account / iOS Apple Account pattern): photo, name, role */
.me49 { display: grid; justify-items: center; text-align: center; gap: 0; margin: 8px 0 32px; padding-top: 12px; }
.me49 .po49 { margin-bottom: 14px; }
.me49 .po49b { box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px color-mix(in oklab, rgb(150 210 70) 70%, var(--line)); }
.me49 h2 { margin: 0; font-size: 26px; font-weight: 800; line-height: 1.15; }
.me49 p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
@media (max-width: 899px) { .me49 .po49 { --d: 112px !important; } .me49 h2 { font-size: 24px; } .me49 { margin-bottom: 24px; } }
.dtop.st-ask .dt-f { justify-content: center; }
.ns49w { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 18px; cursor: pointer; text-align: start; }
.ns49w:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; border-radius: 16px; }
/* r50 phone: on shift now alone in the dark hero; the ask leads the panel */
.ns49m.solo { margin: 0; padding: 4px 0 8px; border: 0; }
.m31 .bc31.as50 { gap: 0; padding: 22px 20px 20px; margin-top: 4px; }
.m31 .bc31.as50 .dt-k { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); margin-bottom: 8px; }
.m31 .bc31.as50 .dt-month.a49t { font-size: 34px; margin: 0 0 18px; }
.m31 .bc31.as50 + .ok35 { margin-top: 16px; }
/* r50 preview icon_two50: two on shift at once = overlapping faces + "A + B" */
.two50 { cursor: default; }
.st50 { display: inline-flex; flex: none; }
.st50 .s50 { display: block; position: relative; z-index: calc(5 - var(--k)); }
.st50 .s50 + .s50 { margin-inline-start: -30px; }
.st50 .av { box-shadow: 0 0 0 4px var(--surface); }
.mhub .st50 .av { box-shadow: 0 0 0 4px var(--hub-bg, #0d1110); }
.tw50 { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.tw50c { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.tw50c .t { font: 900 24px/1 "Px71", "Doto", "Google Sans", system-ui, sans-serif; letter-spacing: .02em; }
.ns49m .st50 .av { width: 60px !important; height: 60px !important; } .ns49m .st50 .s50 + .s50 { margin-inline-start: -20px; } .ns49m .tw50c .t { font-size: 19px; }
.pinhead .po49 { margin-bottom: 16px; }
/* r50c: finished shifts (also earlier today) are grey and inert */
.ce.past, .ds36s.past, .tl36b.past, .c.wk32.past { pointer-events: none; cursor: default; }
.ce.past, .ds36s.past, .tl36b.past { filter: grayscale(.85); opacity: .5; }
.wrow.past .ce.past { opacity: .55; }
.d37.past, .d35.past, .mc35d.past, .mview .bc.past { pointer-events: none; cursor: default; }
html #mgrid .ce.past, html #mgrid .wrow.past .ce { opacity: .5 !important; filter: grayscale(.85) !important; }
/* r50d preview: whole page lifts, he stands on the tab bar, black underneath */
@media (max-width: 999px) {
  html[data-lift="1"] .mdash.lift41 > :not(.egg40) { transform: translateY(calc(var(--lift, 0px) * -1)); will-change: transform; }
  html[data-lift="1"] .mdash.lifta > :not(.egg40) { transition: transform 360ms cubic-bezier(.22, .9, .3, 1); }
  html[data-lift="1"] .egg40 { --ft: calc(env(safe-area-inset-bottom, 0px) + var(--tabh) + 12px); }
  html[data-lift="1"] .egg40 { --under: color-mix(in oklab, var(--bg) 92%, black); }
  html[data-lift="1"][data-theme="dark"] .egg40 { --under: oklch(0.1 0.005 160); }
  html[data-lift="1"] .egg40 .e40z { height: var(--ft); background: var(--under); }
  html[data-lift="1"] .egg40::before { display: block !important; bottom: var(--ft); height: calc(var(--lift, 0px) + 2px); background: var(--under) !important; }
  html[data-lift="1"] .egg40 .e40s { bottom: var(--ft); padding: 0; }
  html[data-lift="1"] .egg40 .e40s > span:not(.spr38) { display: none; }
  html[data-lift="1"] .egg40 .spr38 { transform: none; }
  html[data-lift="1"] .mdash:not(.lift41) > .egg40 { visibility: hidden; }
  html[data-lift="1"] .mdash.lift41 .m31 { border-radius: 32px; }
}
/* r50g preview icon_ab50: plain date line + one big purple button */
.ab50l { margin: 0; font-size: 18px; color: var(--muted); } .ab50l b { color: var(--fg); font-weight: 700; }
.a49m .ab50b, .dtop .ab50b { width: 100%; max-width: none; height: 60px; font-size: 20px; justify-content: center; margin-top: 4px; }
/* r50h preview icon_sh50: share screen with pinned CTA */
.sh50 { max-width: 560px; margin: 0 auto; padding: 12px 0 calc(140px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 20px; }
.r50a { animation: r50rise 420ms cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 70ms + 120ms); }
@keyframes r50rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.sh50h { display: flex; align-items: center; gap: 14px; } .sh50h .dt49 { width: 48px; height: 48px; flex: none; color: oklch(0.55 0.13 160); animation: pop49 520ms var(--spring) both; } .sh50h h1 { margin: 0; font-size: 28px; line-height: 1.15; text-wrap: balance; }
.sh50s { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sh50s li { display: flex; align-items: center; gap: 12px; font-size: 18px; line-height: 1.35; } .sh50s li.ok { color: var(--muted); } .sh50s li.cur { font-weight: 700; }
.sh50s .n { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.sh50s li.ok .n { background: color-mix(in oklab, oklch(0.55 0.13 160) 18%, transparent); color: oklch(0.45 0.12 160); } .sh50s li.cur .n { background: #1fa855; color: #fff; }
:root[data-theme="dark"] .sh50s li.ok .n { color: oklch(0.8 0.12 160); }
.sh50p { display: grid; gap: 8px; } .sh50w .wa49w { padding: 12px; min-height: 0; }
.sh50w #b49t { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sh50e { all: unset; cursor: pointer; justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-inline: 4px; font-size: 16px; font-weight: 600; color: var(--fg); text-decoration: underline; text-underline-offset: 4px; }
.sh50bar { position: fixed; inset: auto 0 0 0; z-index: 20; display: grid; justify-items: center; gap: 4px; padding: 14px max(16px, env(safe-area-inset-left, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)); background: color-mix(in oklab, var(--bg) 92%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); animation: r50bar 420ms cubic-bezier(.2, .9, .25, 1.05) 260ms both; }
@keyframes r50bar { from { transform: translateY(100%); } to { transform: none; } }
.sh50bar > .btn { width: min(100%, 560px); min-height: 60px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 19px; font-weight: 700; text-decoration: none; box-sizing: border-box; }
.sh50wa { background: #1fa855 !important; color: #fff !important; } .sh50wa svg { width: 24px; height: 24px; }
.sh50bar.dn > * { animation: r50rise 320ms cubic-bezier(.2, .8, .2, 1) both; }
.sh50c { all: unset; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; font-size: 16px; font-weight: 600; color: var(--muted); }
body.flow50 #tabbar { display: none !important; }
.sh50ed { display: grid; gap: 14px; } .sh50ed h2 { margin: 0; font-size: 20px; } .sh50ed textarea { box-sizing: border-box; width: 100%; min-height: 180px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font: inherit; font-size: 17px; line-height: 1.5; } .sh50sv.btn { min-height: 56px; font-size: 18px; }
@media (min-width: 1000px) { .sh50bar { inset: auto 0 0 0; } }
@media (prefers-reduced-motion: reduce) { .r50a, .sh50bar, .sh50bar.dn > * { animation: none; } }
body.flow50 .toast { bottom: calc(env(safe-area-inset-bottom, 0px) + 150px); }
/* r50h: everyone's face under "0 of 11 answered" in the hero notice (user: "the avatars of everybody to give it some life") */
.nc38v { display: flex; flex-wrap: nowrap; padding-inline-start: 10px; margin-top: 6px; max-width: 100%; }
.nc38v .a40 { flex: none; margin-inline-start: -10px; border-radius: 50%; box-shadow: 0 0 0 3px var(--nc38ring, var(--bg)); opacity: 0; transform: scale(.6); }
.mhub.nc-on .nc38v .a40 { animation: nc38pop 420ms cubic-bezier(.3, 1.5, .5, 1) both; }
.nc38v .a40:nth-child(1) { animation-delay: 260ms } .nc38v .a40:nth-child(2) { animation-delay: 300ms } .nc38v .a40:nth-child(3) { animation-delay: 340ms } .nc38v .a40:nth-child(4) { animation-delay: 380ms } .nc38v .a40:nth-child(5) { animation-delay: 420ms } .nc38v .a40:nth-child(6) { animation-delay: 460ms } .nc38v .a40:nth-child(7) { animation-delay: 500ms } .nc38v .a40:nth-child(8) { animation-delay: 540ms } .nc38v .a40:nth-child(9) { animation-delay: 580ms } .nc38v .a40:nth-child(10) { animation-delay: 620ms } .nc38v .a40:nth-child(n+11) { animation-delay: 660ms }
@keyframes nc38pop { to { opacity: 1; transform: none; } }
.nc38v .a40 .av { width: 36px !important; height: 36px !important; }
.nc38v .a40:not(.ok) .av { opacity: .45; filter: grayscale(1); }
@media (prefers-reduced-motion: reduce) { .nc38v .a40 { opacity: 1; transform: none; animation: none !important; } }
/* r50i: share screen v2 (user: no confirmations, paper plane, bubble + edit above the fold) */
.sh50.v2 { gap: 16px; padding-top: 8px; }
.sh50.v2 .sh50h { gap: 14px; } .sh50.v2 .sh50h h1 { font-size: 26px; } .sh50.v2 .sh50h p { margin: 2px 0 0; color: var(--muted); font-size: 16px; }
.pl50 { position: relative; flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1fa855; color: #fff; animation: pop49 520ms var(--spring) both; }
.pl50 .ic { width: 26px; height: 26px; transform: translate(-1px, 1px); animation: pl50fly 900ms cubic-bezier(.2, .8, .2, 1) 120ms both; }
[dir="rtl"] .pl50 .ic { transform: scaleX(-1) translate(-1px, 1px); animation-name: pl50flyR; }
@keyframes pl50fly { 0% { opacity: 0; transform: translate(-30px, 30px) scale(.5); } 55% { opacity: 1; transform: translate(5px, -5px) scale(1.08); } 100% { transform: translate(-1px, 1px); } }
@keyframes pl50flyR { 0% { opacity: 0; transform: scaleX(-1) translate(-30px, 30px) scale(.5); } 55% { opacity: 1; transform: scaleX(-1) translate(5px, -5px) scale(1.08); } 100% { transform: scaleX(-1) translate(-1px, 1px); } }
.pl50 > i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #1fa855; opacity: 0; animation: pl50dot 900ms ease-out both; }
.pl50 .t1 { inset-inline-start: -6px; bottom: 2px; animation-delay: 380ms; } .pl50 .t2 { inset-inline-start: -14px; bottom: -6px; animation-delay: 450ms; } .pl50 .t3 { inset-inline-start: -22px; bottom: -14px; animation-delay: 520ms; }
@keyframes pl50dot { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: .9; transform: none; } 100% { opacity: 0; } }
.sh50h.dn .pl50 .ic { animation: pl50again 700ms cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes pl50again { 0% { transform: scaleX(-1) translate(0, 0); } 40% { transform: scaleX(-1) translate(14px, -14px); opacity: 0; } 41% { transform: scaleX(-1) translate(-14px, 14px); opacity: 0; } 100% { transform: scaleX(-1) translate(-1px, 1px); opacity: 1; } }
.sh50r { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .sh50r .sh49k { margin: 0; font-size: 16px; }
.sh50.v2 .sh50e { justify-self: auto; text-decoration: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 15px; gap: 6px; }
.sh50.v2 #b49t { display: block; -webkit-line-clamp: unset; overflow: visible; }
.sh50.v2 .wa49w { padding: 10px; } .sh50.v2 .b49 { max-width: 94%; }
@media (prefers-reduced-motion: reduce) { .pl50, .pl50 .ic, .pl50 > i { animation: none !important; } .pl50 > i { display: none; } }
/* r50l: phone December waiting card = desktop card */
.m31 .bc31.w50m { display: grid; gap: 14px; text-align: start; justify-items: stretch; }
.bc31.w50m .dt-k { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-size: 16px; }
.bc31.w50m .w49n b { font-size: 76px; } .bc31.w50m .w49n span { font-size: 20px; } .bc31.w50m .w49n em { margin: 0; flex-basis: 100%; }
.bc31.w50m .av49 { display: flex; flex-wrap: wrap; gap: 6px; }
.bc31.w50m .w49a { grid-template-columns: minmax(0, 1fr); } .bc31.w50m .w49a .dt-mg { width: 100%; height: 60px; font-size: 18px; justify-content: center; }
.bgrid .bc.past > .b, .bgrid .bc.past > i { filter: grayscale(.85); opacity: .5; } .bgrid .bc.past { pointer-events: none; } .bgrid .bc.past > b { color: var(--muted); }
/* r50m preview icon_set50: settings redo */
.set50 { display: grid; gap: 24px; width: 100%; max-width: 640px; margin: 0 auto; padding-bottom: 40px; } .set50 h1 { margin: 12px 0 0; }
.s50g { display: grid; gap: 8px; } .s50g h2 { margin: 0; padding-inline: 4px; font-size: 15px; font-weight: 600; color: var(--muted); }
.s50l { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.s50r { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 16px; cursor: pointer; }
.s50r + .s50r, .s50l > .s50r:not(:first-child) { border-top: 1px solid var(--line); }
.s50r.s50th { cursor: default; min-height: 56px; padding-bottom: 4px; }
.s50t { flex: 1; min-width: 0; display: grid; gap: 2px; } .s50t b { font-size: 17px; font-weight: 600; } .s50t small { font-size: 14px; color: var(--muted); line-height: 1.35; }
.s50r .v { color: var(--muted); font-size: 16px; white-space: nowrap; }
.s50s { flex: none; width: auto !important; max-width: 100px; min-height: 44px; font-size: 15px; padding-inline: 8px; }
.s50c { margin: 0; padding-inline: 4px; font-size: 14px; color: var(--muted); }
.s50seg.tseg { margin: 4px 16px 16px; } .s50seg.tseg button { min-height: 48px; font-size: 15px; }
.s50out { all: unset; box-sizing: border-box; justify-self: stretch; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); color: var(--no-ink); font-size: 17px; font-weight: 600; cursor: pointer; }
/* r50n preview: theme pickers with mini app pictures (icon_th50 A/B/C) */
.s50seg[hidden] { display: none !important; }
.th50 { display: grid; gap: 12px; padding: 4px 16px 16px; }
.th50A { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 300px; margin-inline: auto; width: 100%; box-sizing: border-box; gap: 28px; }
.th50B { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.th50t { all: unset; box-sizing: border-box; display: grid; justify-items: center; gap: 8px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.th50l { font-size: 16px; font-weight: 600; color: var(--fg); }
.th50r { width: 24px; height: 24px; border-radius: 50%; border: 2px solid color-mix(in oklab, var(--muted) 60%, transparent); box-sizing: border-box; display: grid; place-items: center; transition: border-color 200ms, background-color 200ms; }
.th50t.on .th50r { border-color: var(--primary); background: var(--primary); }
.th50t.on .th50r::after { content: ""; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: translateY(-1px) rotate(-45deg); }
.thp50 { --b: #f7fbf9; --c: #fff; --k: #dfe6e2; --a: oklch(0.55 0.2 295); position: relative; display: grid; align-content: start; gap: 6px; width: 100%; max-width: 104px; aspect-ratio: 9 / 16; box-sizing: border-box; padding: 16% 12% 0; border-radius: 16px; background: var(--b); border: 1px solid var(--k); overflow: hidden; outline: 3px solid transparent; outline-offset: 3px; transition: outline-color 220ms, transform 320ms cubic-bezier(.34, 1.4, .64, 1); }
.thp50.dark { --b: #111a17; --c: #1f2b27; --k: #2f3e38; --a: oklch(0.78 0.13 295); }
.thp50 > i { display: block; height: 18%; min-height: 14px; border-radius: 7px; background: var(--c); border: 1px solid var(--k); }
.thp50 > i:first-child { height: 8%; min-height: 8px; width: 55%; background: var(--k); border: 0; border-radius: 4px; }
.thp50 > i:last-child { background: var(--a); border: 0; height: 9%; min-height: 10px; }
.thp50.system { padding: 0; display: block; }
.thp50.system > .thp50 { position: absolute; inset: 0; max-width: none; border: 0; border-radius: 0; outline: 0; padding: 16% 12% 0; }
.thp50.system > .thp50.dark { clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.th50t.on .thp50:not(.thp50 .thp50) { outline-color: var(--primary); }
.th50t:active .thp50 { transform: scale(.96); }
.th50C { grid-template-columns: 1fr; padding: 4px 0 8px; gap: 10px; }
.th50C .th50t { grid-template-columns: 56px 1fr auto; justify-items: start; align-items: center; gap: 16px; padding: 10px 12px; border-radius: 18px; background: var(--sunk); min-height: 88px; }
.th50C .th50t.on { box-shadow: inset 0 0 0 2px var(--primary); }
.th50C .thp50 { max-width: 56px; border-radius: 10px; gap: 4px; outline: 0; }
.th50C .thp50 > i { min-height: 8px; border-radius: 4px; } .th50C .thp50 > i:first-child { min-height: 5px; } .th50C .thp50 > i:last-child { min-height: 6px; }
.th50C .th50l { display: grid; gap: 2px; font-size: 17px; } .th50C .th50l small { font-size: 14px; font-weight: 400; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .thp50, .th50r { transition: none; } }
.th50A .thp50, .th50B .thp50 { max-width: 86px; aspect-ratio: 9 / 15; }
/* r50q: highlight a trainer from the schedule header (desktop), and it now works on the month grid */
.sch50 { display: flex; align-items: center; gap: 16px; min-width: 0; grid-column: 1; grid-row: 1; justify-self: start; }
.sch50 h1.sch31 { margin: 0; }
.hlb50 { appearance: none; font: inherit; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background-color 160ms, box-shadow 160ms; }
.hlb50:hover { background: var(--sunk); }
.hlb50 .ic { color: var(--muted); }
.hlb50.on { padding-inline: 6px 12px; background: var(--fg); color: var(--bg); border-color: var(--fg); }
.hlb50.on .ic { color: inherit; opacity: .8; }
.hlb50 .av { flex: none; }
.bgrid.dim .b:not(.hl), .bgrid.dim .b.gap { opacity: .22; transition: opacity 200ms; }
.bgrid.dim .b.hl { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--fg); position: relative; z-index: 1; }
/* r50q: popup lists show a soft shadow at the edge that still has more to scroll (scroll-shadow pattern), and get more room */
@media (min-width: 700px) { .sheet.pop { max-height: min(84vh, 740px); padding-block: 16px; overscroll-behavior: contain;
  background: linear-gradient(var(--surface) 40%, transparent) top / 100% 48px no-repeat local, linear-gradient(transparent, var(--surface) 60%) bottom / 100% 48px no-repeat local,
    radial-gradient(farthest-side at 50% 0, oklch(0 0 0 / .14), transparent) top / 100% 14px no-repeat scroll, radial-gradient(farthest-side at 50% 100%, oklch(0 0 0 / .14), transparent) bottom / 100% 14px no-repeat scroll, var(--surface); } }
/* r50r: "add trainer" is a real button (user: contrast sucks) */
.btn.add50 { min-height: 48px; padding: 0 20px; gap: 8px; font-size: 16px; font-weight: 700; border-radius: 999px; background: var(--primary); color: var(--on-primary); box-shadow: 0 4px 14px color-mix(in oklab, var(--primary) 30%, transparent); }
.btn.add50:hover { filter: brightness(1.06); } .btn.add50 .ic { width: 20px; height: 20px; }
.hlb50 small { font-size: 13px; font-weight: 600; opacity: .7; }
/* r50t preview: trainer detail (icon_tm50 A side panel / B workspace) */
.t50 { --tc: var(--sunk); display: grid; gap: 24px; padding-bottom: 8px; }
.t50h { position: relative; display: grid; justify-items: center; gap: 10px; padding: 28px 16px 4px; text-align: center; }
.t50band { position: absolute; inset: 0 0 auto; height: 96px; border-radius: 24px; background: var(--tc); }
.t50h > .av { position: relative; z-index: 1; box-shadow: 0 0 0 5px var(--surface) !important; font-size: 44px !important; }
.t50h h2 { margin: 6px 0 0; font-size: 28px; line-height: 1.15; display: inline-flex; align-items: center; gap: 8px; }
.t50ed { all: unset; cursor: pointer; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--muted); }
.t50ed:hover { background: var(--sunk); color: var(--fg); }
.t50a { display: flex; gap: 10px; justify-content: center; margin-top: 6px; }
.t50a .btn { width: auto; min-height: 48px; padding: 0 20px; gap: 8px; border-radius: 999px; }
.t50k { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.t50k > div { position: relative; display: grid; gap: 2px; padding: 16px; border-radius: 20px; background: var(--sunk); overflow: hidden; }
.t50k b { font-size: 24px; font-weight: 700; } .t50k small { font-size: 14px; color: var(--muted); }
.t50k i { display: block; height: 8px; margin-top: 10px; border-radius: 99px; background: color-mix(in oklab, var(--muted) 22%, transparent); position: relative; overflow: hidden; }
.t50k i::after { content: ""; position: absolute; inset: 0; inset-inline-end: auto; width: var(--p); border-radius: inherit; background: var(--primary); }
.t50s { display: grid; gap: 10px; } .t50s h3 { margin: 0; padding-inline: 4px; font-size: 15px; font-weight: 600; color: var(--muted); } .t50s .cap { margin: -4px 0 2px; padding-inline: 4px; }
.t50l { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--surface); }
.t50r { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 16px; }
button.t50r { cursor: pointer; } button.t50r:hover { background: var(--sunk); }
.t50r + .t50r { border-top: 1px solid var(--line); }
.t50i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--sunk); color: var(--fg); }
.t50t { flex: 1; min-width: 0; display: grid; gap: 2px; } .t50t small { font-size: 13px; color: var(--muted); } .t50t b { font-size: 16px; font-weight: 600; }
.t50r .chev { color: var(--muted); }
.t50pal { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 10px; }
.t50sw { all: unset; box-sizing: border-box; cursor: pointer; aspect-ratio: 1; border-radius: 50%; background: var(--c); display: grid; place-items: center; color: oklch(0.25 0.03 250); box-shadow: inset 0 0 0 1px oklch(0 0 0 / .08); transition: transform 200ms cubic-bezier(.34, 1.5, .64, 1); }
.t50sw:hover { transform: scale(1.08); }
.t50sw.on { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--fg); }
.t50sw.tk { filter: saturate(.35); opacity: .55; } .t50sw.tk:hover { filter: none; opacity: 1; }
.t50sw.tk .av { box-shadow: 0 0 0 2px var(--surface) !important; }
.t50x { all: unset; cursor: pointer; justify-self: center; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; color: var(--no-ink); font-weight: 600; }
.t50x:hover { background: color-mix(in oklab, var(--no-ink) 10%, transparent); }
/* B: workspace */
.tw50 { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; max-width: 1180px; margin: 0 auto; width: 100%; }
.tw50d { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 16px 32px 28px; }
.tw50d .t50 { max-width: 640px; margin: 0 auto; }
.tw50l { position: sticky; top: 16px; display: grid; gap: 8px; }
.tw50b { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--muted); font-weight: 600; text-decoration: none; justify-self: start; }
.tw50b:hover { background: var(--sunk); color: var(--fg); }
.tw50s { display: grid; gap: 4px; padding: 8px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); max-height: calc(100vh - 120px); overflow: auto; }
.t50li { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 10px; border-radius: 16px; color: var(--fg); text-decoration: none; font-size: 16px; }
.t50li b { flex: 1; font-weight: 600; } .t50li i { width: 12px; height: 12px; border-radius: 50%; background: var(--tc); flex: none; }
.t50li:hover { background: var(--sunk); }
.t50li.on { background: color-mix(in oklab, var(--tc) 45%, var(--surface)); }
.sheet.side .t50 { padding: 8px 8px 0; }
/* r50v: band runs edge to edge of the card; add-trainer under the list */
.tw50d { overflow: hidden; }
.tw50d { background: linear-gradient(var(--tc) 0 132px, var(--surface) 132px); }
.tw50d .t50band { display: none; }
.tw50d .t50h { padding-top: 40px; }
.t50add { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; margin-top: 6px; border-radius: 16px; background: var(--primary); color: var(--on-primary); font-weight: 700; font-size: 16px; }
.t50add:hover { filter: brightness(1.06); }
/* r50w preview icon_tm51 */
.tw51h { margin: 4px 8px 4px; font-size: 26px; }
.t51k { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
.t51k > div { display: grid; align-content: start; gap: 4px; padding: 14px 16px; border-radius: 20px; background: var(--sunk); }
.t51k small { font-size: 14px; color: var(--muted); } .t51k b { font-size: 26px; font-weight: 700; line-height: 1.1; }
.t51k i { display: block; height: 8px; margin-top: 6px; border-radius: 99px; background: color-mix(in oklab, var(--muted) 22%, transparent); position: relative; overflow: hidden; }
.t51k i::after { content: ""; position: absolute; inset: 0; inset-inline-end: auto; width: var(--p); border-radius: inherit; background: var(--primary); }
.t51w { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.t51d { display: grid; align-content: start; justify-items: center; gap: 6px; min-height: 120px; padding: 10px 4px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.t51d > b { font-size: 15px; font-weight: 700; }
.t51d.no { background: repeating-linear-gradient(135deg, var(--sunk) 0 6px, transparent 6px 12px); border-style: dashed; }
.t51x { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: color-mix(in oklab, var(--no-ink) 14%, transparent); color: var(--no-ink); margin-top: 8px; }
.t51p { display: grid; justify-items: center; gap: 2px; padding: 4px 6px; border-radius: 10px; background: color-mix(in oklab, var(--tc) 40%, var(--surface)); width: 100%; box-sizing: border-box; }
.t51p small { font-size: 12px; font-weight: 600; }
.t51a { margin-top: 10px; font-size: 13px; color: var(--muted); }
.t51n { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--sunk); font-size: 15px; }
.t51c { width: 28px; height: 28px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px oklch(0 0 0 / .1); }
.t51rm .t50i { color: var(--no-ink); background: color-mix(in oklab, var(--no-ink) 12%, transparent); } .t51rm b { color: var(--no-ink); }
/* r50v2: list card top = detail card top; add button on its own row */
.tw50l { gap: 20px; }
.tw50s { max-height: calc(100vh - 160px); }
.tw50s .tw50b { margin: 0 0 4px; }
.t50add { margin-top: 0; }
.sheet .t50pal { width: 100%; grid-template-columns: repeat(5, 48px); justify-content: center; }
/* r50y: weekly max stepper, colour dialog header */
.t51wm .t50t { flex: 1; } .t51wl { font-weight: 600; }
.t51st { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--sunk); }
.t51st button { all: unset; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--fg); box-shadow: 0 1px 2px rgb(0 0 0 / .08); }
.t51st button:hover { background: color-mix(in oklab, var(--fg) 6%, var(--surface)); }
.t51st input { all: unset; width: 56px; text-align: center; font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield; border-radius: 10px; }
.t51st input::-webkit-outer-spin-button, .t51st input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.t51st input:focus-visible { outline: 2px solid var(--primary); }
.t51ch { display: grid; justify-items: center; gap: 6px; text-align: center; margin-bottom: 16px; }
.t51cv { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--c); margin-bottom: 4px; }
.t51cv .av { box-shadow: 0 0 0 3px var(--surface); }
/* r50z preview: compact header icon_hd52, can't-work look icon_nw52 */
.t51nl { display: none; font-size: 13px; font-weight: 600; color: var(--no-ink); }
.nw-a .t51nl, .nw-b .t51nl { display: block; }
.nw-a .t51d.no .t51x { margin-top: 4px; }
.nw-b .t51d.no { background: color-mix(in oklab, var(--no-ink) 10%, var(--surface)); border: 1px solid color-mix(in oklab, var(--no-ink) 35%, transparent); }
.nw-b .t51d.no > b { color: var(--no-ink); }
.tw50d:has(.t52) { background: var(--surface); }
.tw50d .t50.t52 { max-width: 960px; gap: 20px; }
.t52h { display: flex; align-items: center; gap: 20px; margin: -16px -32px 0; padding: 28px 32px; background: var(--tc); }
.t52h > .av { flex: none; box-shadow: 0 0 0 4px var(--surface) !important; font-size: 36px !important; }
.t52id { flex: 1; min-width: 0; display: grid; justify-items: start; gap: 8px; }
.t52id h2 { margin: 0; font-size: 30px; line-height: 1.1; display: inline-flex; align-items: center; gap: 8px; color: oklch(0.2 0.02 150); }
.t52id .t50ed { color: oklch(0.2 0.02 150); }
.t52a { display: flex; gap: 10px; align-self: flex-start; }
.t52a .btn { width: auto; min-height: 44px; padding: 0 18px; gap: 8px; border-radius: 999px; }
.t52a .btn.ghost { background: var(--surface); }
.t52 .t51d { min-height: 96px; }
.t52c { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1279px) { .t52c { grid-template-columns: 1fr; } }
.t52h { padding: 24px 32px; } .t52a { align-self: center; }
.t51wl { white-space: normal; }
.t52 .t51st button { width: 38px; height: 38px; } .t52 .t51st input { width: 40px; font-size: 24px; } .t52 .t51wm { gap: 12px; }
/* r50y2: profile settings text weight + section title spacing */
.prof44 .sect { margin: 24px 18px 8px; font-size: 15px; font-weight: 600; color: var(--muted); }
.prof44:is([data-pv="1"], [data-pv="2"]) .list .li > .grow { font-size: 17px; font-weight: 500; white-space: nowrap; }
.prof44:is([data-pv="1"], [data-pv="2"]) .list .li > .grow > .cap { font-size: 15px; font-weight: 400; min-width: 0; flex: 0 1 auto; }
/* r51a preview icon_hd52 "2": centred hero, wider page, tag beside זמינות */
.tw50d .t50.t53 { max-width: 980px; }
.t53hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; }
.t53hd .pill { margin: 0; }
.t53 .t51d { min-height: 104px; }
.tw50d:has(.t53) { background: linear-gradient(var(--tc) 0 132px, var(--surface) 132px); }
.t53 .t50h h2 { font-size: 36px; }
/* r51d: regular week */
.set50.wk52 { max-width: 1100px; gap: 16px; } .wk52 .sub { margin: -8px 0 4px; }
.wk52card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 16px; overflow-x: auto; }
.wk52g { display: grid; grid-template-columns: 92px repeat(7, minmax(96px, 1fr)); gap: 8px; align-items: stretch; }
.wk52h { text-align: center; font-weight: 700; font-size: 15px; padding: 4px 0 6px; }
.wk52k { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.wk52c { all: unset; box-sizing: border-box; cursor: pointer; display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 104px; padding: 10px 6px; border-radius: 16px; background: color-mix(in oklab, var(--c) 30%, var(--surface)); border: 1px solid color-mix(in oklab, var(--c) 55%, transparent); text-align: center; }
.wk52c:hover { background: color-mix(in oklab, var(--c) 45%, var(--surface)); }
.wk52c .av { box-shadow: 0 0 0 2px var(--surface); }
.wk52n { font-weight: 700; font-size: 15px; line-height: 1.15; } .wk52c small { color: var(--muted); font-size: 13px; }
.wk52c.gap { background: transparent; border: 1.5px dashed var(--line); } .wk52c.gap .wk52n { color: var(--muted); font-weight: 600; }
.wk52e { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--sunk); color: var(--muted); }
.wk52 .s50r .av { flex: none; } .wk52 .s50t small { display: inline-flex; align-items: center; gap: 4px; }
/* r51d: phone trainer page = desktop sections */
.tmp52 { display: grid; gap: 8px; width: 100%; }
.tmp52 .tw50d { padding: 12px 16px 24px; border-radius: 24px; }
.tmp52 .tw50d .t50h { padding-top: 36px; }
.tmp52 .t53 .t50h h2 { font-size: 30px; }
.tmp52 .t50a { flex-wrap: wrap; }
.tmp52 .t51k { grid-template-columns: 1fr 1fr; } .tmp52 .t51k .w2 { grid-column: 1 / -1; }
.tmp52 .t51w { gap: 4px; } .tmp52 .t51d { min-height: 88px; padding: 8px 2px; border-radius: 12px; } .tmp52 .t51p small, .tmp52 .t51nl { font-size: 11px; } .tmp52 .t51a { font-size: 12px; }
.tmp52 .t53hd { flex-wrap: wrap; }
.tmp52 .t51wm .t50t small { display: block; }
/* r51e: separate remove, scrolling team list */
.t51rmx { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; margin-top: 12px; border-radius: 16px; border: 1px solid color-mix(in oklab, var(--no-ink) 30%, var(--line)); color: var(--no-ink); font-weight: 600; font-size: 16px; }
.t51rmx:hover { background: color-mix(in oklab, var(--no-ink) 8%, transparent); }
.tw50s { max-height: none; overflow: visible; }
.tw50sc { display: grid; gap: 4px; max-height: min(640px, calc(100vh - 240px)); overflow-y: auto; overscroll-behavior: contain; margin: 0 -4px; padding: 0 4px;
  background: linear-gradient(var(--surface) 30%, transparent) top / 100% 24px no-repeat local, linear-gradient(transparent, var(--surface) 70%) bottom / 100% 24px no-repeat local, radial-gradient(farthest-side at 50% 0, rgb(0 0 0 / .12), transparent) top / 100% 10px no-repeat scroll, radial-gradient(farthest-side at 50% 100%, rgb(0 0 0 / .12), transparent) bottom / 100% 10px no-repeat scroll; }
/* r51e preview icon_kp52: equal KPI tiles */
.t52k { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.t52k > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.t52ki { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: color-mix(in oklab, var(--tc) 35%, var(--surface)); color: var(--fg); }
.t52k b { font-size: 30px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.t52k small { font-size: 14px; color: var(--muted); line-height: 1.25; }
@media (max-width: 600px) { .t52k { grid-template-columns: 1fr; gap: 8px; } .t52k > div { padding: 12px 14px; } }
/* r51e: selfie -> avatar inbox + celebration */
.av52in { display: grid; gap: 6px; padding: 14px; border-radius: 20px; background: var(--surface); border: 1px solid color-mix(in oklab, var(--warn) 45%, var(--line)); }
.av52h { display: flex; align-items: center; justify-content: space-between; } .av52h b { font-size: 16px; } .av52in .cap { margin: 0 0 4px; }
.av52r { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 6px; border-radius: 12px; color: var(--fg); text-decoration: none; font-weight: 600; } .av52r span { flex: 1; } .av52r:hover { background: var(--sunk); }
.av52s { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 18px; background: var(--warn-soft); border: 1px solid color-mix(in oklab, var(--warn) 40%, transparent); }
.av52sh { display: inline-flex; align-items: center; gap: 8px; } .av52sb { display: inline-flex; gap: 8px; } .av52sb .btn { width: auto; min-height: 44px; padding: 0 16px; gap: 6px; }
.av52c { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; background: color-mix(in oklab, var(--bg) 70%, transparent); backdrop-filter: blur(10px); animation: av52f .3s ease both; }
.av52c.out { animation: av52f .3s ease reverse both; }
.av52cb { position: relative; display: grid; justify-items: center; gap: 10px; width: min(360px, 100%); padding: 32px 24px 24px; border-radius: 32px; background: var(--surface); box-shadow: 0 24px 60px rgb(0 0 0 / .18); text-align: center; }
.av52cb h2 { margin: 8px 0 0; font-size: 26px; } .av52cb p { margin: 0 0 8px; color: var(--muted); } .av52cb .btn { width: 100%; }
.av52ci { width: 160px; height: 160px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px var(--surface), 0 0 0 9px var(--primary); animation: av52p .7s linear(0, .25 9%, .9 22%, 1.12 32%, 1.02 45%, .98 60%, 1) both .1s; }
.av52ci img { width: 100%; height: 100%; object-fit: cover; }
.av52cb i { position: absolute; top: 110px; left: 50%; width: 10px; height: 10px; border-radius: 3px; background: var(--c); opacity: 0; animation: av52b 1.1s cubic-bezier(.2, .7, .3, 1) both calc(.25s + var(--i) * 18ms); --a: calc(var(--i) * 20deg); }
@keyframes av52f { from { opacity: 0; } }
@keyframes av52p { from { transform: scale(.3); opacity: 0; } }
@keyframes av52b { 0% { opacity: 1; transform: translate(-50%, 0) rotate(var(--a)) translateY(0); } 100% { opacity: 0; transform: translate(-50%, 0) rotate(var(--a)) translateY(-150px) rotate(180deg); } }
@media (prefers-reduced-motion: reduce) { .av52c, .av52ci, .av52cb i { animation: none !important; } .av52cb i { display: none; } }

/* r51f: the "find cover" button was cut off by the sheet peeking under the problem hero */
@media (max-width: 999px) { html[data-lap="1"] .mdash .mwarn31 { padding-bottom: 72px; } }
.dt-pb { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.dt-pb .ic { width: 20px; height: 20px; }
/* r51f: volunteers Ishay picks from */
.vol51 { display: grid; gap: 8px; margin-bottom: 8px; }
.vol51 .wsect { display: flex; align-items: center; gap: 6px; }
.vol51r { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 1.5px solid var(--primary); border-radius: 16px; background: var(--surface); color: inherit; font: inherit; cursor: pointer; text-align: start; }
.vol51r b { flex: 1; font-weight: 600; }
.vol51b { padding: 8px 14px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: 14px; font-weight: 600; }
.vol51n { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
/* r51f: can-you-cover screen + sent screen */
.cv51h { display: flex; align-items: center; gap: 14px; } .cv51h h1 { margin: 0; }
.cv51b { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--r-l); background: oklch(0.95 0.03 25); color: oklch(0.45 0.14 25); font-weight: 500; }
:root[data-theme="dark"] .cv51b { background: oklch(0.30 0.06 25); color: oklch(0.85 0.08 25); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cv51b { background: oklch(0.30 0.06 25); color: oklch(0.85 0.08 25); } }
.bottom .btn .pxic { flex: none; }
.cv51t { margin-top: 6px; padding: 10px 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); align-items: center; gap: 8px; }
.cv51t .cap { color: var(--muted); }
/* r51h: WhatsApp preview on Ishay's share step (light/dark follow WhatsApp's own colours) */
.wa52 { --wa-bg: #efeae2; --wa-bub: #d9fdd3; --wa-card: #c9f0c1; --wa-fg: #111b21; --wa-mut: #667781; --wa-head: #ffffff; --wa-tick: #53bdeb;
  border-radius: 24px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 12px 30px -18px rgba(0,0,0,.35); margin-top: 8px; color: var(--wa-fg); }
:root[data-theme="dark"] .wa52 { --wa-bg: #0b141a; --wa-bub: #005c4b; --wa-card: #025144; --wa-fg: #e9edef; --wa-mut: #a7b3ba; --wa-head: #202c33; }
.wa52h { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--wa-head); }
.wa52g { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; flex: none; }
.wa52n { display: grid; line-height: 1.25; } .wa52n b { font-weight: 600; } .wa52n small { color: var(--wa-mut); font-size: 13px; }
.wa52b { background: var(--wa-bg); padding: 18px 14px 22px; display: flex; justify-content: flex-end; }
.wa52m { width: min(88%, 340px); background: var(--wa-bub); border-radius: 12px 0 12px 12px; padding: 4px 4px 6px; box-shadow: 0 1px .5px rgba(11,20,26,.13); animation: wa52in 520ms var(--spring, cubic-bezier(.34,1.56,.64,1)) both; }
[dir="rtl"] .wa52m { border-radius: 0 12px 12px 12px; }
.wa52c { display: block; border-radius: 8px; overflow: hidden; background: var(--wa-card); color: inherit; text-decoration: none; }
.wa52c img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.wa52ct { display: grid; gap: 2px; padding: 8px 10px 10px; } .wa52ct b { font-size: 14px; font-weight: 600; } .wa52ct small { font-size: 13px; color: var(--wa-mut); line-height: 1.3; } .wa52ct em { font-style: normal; font-size: 12px; color: var(--wa-mut); justify-self: end; }
.wa52x { margin: 6px 6px 0; font-size: 15px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; } .wa52x u { color: #027eb5; text-decoration: none; }
:root[data-theme="dark"] .wa52x u { color: #53bdeb; }
.wa52t { display: flex; justify-content: flex-start; align-items: center; gap: 3px; font-size: 11px; color: var(--wa-mut); margin: 2px 6px 0; } .wa52t svg { color: var(--wa-tick); }
@keyframes wa52in { from { opacity: 0; transform: translateY(14px) scale(.96); } }
@media (prefers-reduced-motion: reduce) { .wa52m { animation: none; } }
/* r51i: trainer page polish (user feedback on phone) */
.nm51 { display: block !important; text-align: center; }
.nm51b { all: unset; position: relative; cursor: pointer; display: inline-block; font: inherit; line-height: 1.1; border-radius: 10px; }
.nm51b:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
.nm51p { position: absolute; inset-inline-start: calc(100% + 8px); top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: var(--sunk); }
.nm51b:hover .nm51p { color: var(--fg); }
.t53 .t50h h2.nm51 { font-size: 40px; } .tmp52 .t53 .t50h h2.nm51 { font-size: 36px; }
.tmp52 .t50a { flex-wrap: nowrap; width: 100%; max-width: 420px; margin-inline: auto; }
.tmp52 .t50a .btn { flex: 1 1 0; min-width: 0; padding: 0 12px; }
.t52k { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) { .t52k { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .t52k > div { padding: 12px; column-gap: 10px; } .t52ki { width: 36px; height: 36px; border-radius: 12px; } .t52k b { font-size: 26px; } .t52k small { font-size: 13px; } }
.av51 { display: grid; gap: 10px; }
.dn46.no { background: var(--no); color: var(--on-no); box-shadow: none; }
.av51l { align-self: center; color: var(--muted); font-size: 13px; }
.t50h h2.nm51 { font-size: 36px; }
/* r51j: availability as a row of calendar day tiles */
.av51r i { min-height: 56px; align-content: center; padding-top: 0; gap: 3px; }
.av51r i.on { box-shadow: none; color: var(--sh-ink); }
.av51r i.on .pxic { color: var(--sh-ink); }
.av51s { display: grid; justify-items: center; gap: 2px; } .av51s > span { font: 900 13px/1 var(--px); }
.av51r i.nv { background: repeating-linear-gradient(135deg, var(--sunk) 0 6px, var(--surface) 6px 12px); color: var(--no, oklch(0.55 0.18 25)); box-shadow: inset 0 0 0 1px var(--line); }
.av51k { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.av51k .k-nv { background: var(--sunk); color: var(--fg) !important; } .av51k .k-any { background: transparent; color: var(--muted) !important; padding: 0 4px; }
.legend42.av51k > span.k-nv { background: var(--sunk); color: var(--fg) !important; } .legend42.av51k > span.k-any { background: transparent; color: var(--muted) !important; }

/* r53 upcoming: truly square, date first in the dotted digits */
.sq.u53, .lk53 { --px: "Px71", "Doto", ui-monospace, monospace; }
.sq.u53 { width: 148px; height: 148px; aspect-ratio: auto; gap: 0; padding: 12px 14px 14px; }
.sq.u53 .row1 { display: flex; align-items: center; justify-content: space-between; min-height: 24px; }
.sq.u53 .dd53 { font: 900 50px/.92 var(--px); letter-spacing: -.01em; margin-top: 8px; align-self: flex-start; unicode-bidi: isolate; }
.sq.u53 .dw53 { font-size: 15px; font-weight: 700; line-height: 1.2; margin-top: 4px; }
.sq.u53 .hh53 { margin-top: auto; font: 900 14px/1 var(--px); opacity: .8; align-self: flex-start; unicode-bidi: isolate; }
.sq.u53[data-u="t"] .dd53 { color: var(--fg); }
/* r53 split stat card */
.t53k { display: grid; grid-template-columns: 1fr 1px 1fr; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px 8px; }
.t53k:has(> div:only-child) { grid-template-columns: 1fr; }
.t53k > i { align-self: stretch; background: var(--line); }
.t53k > div { display: grid; justify-items: center; gap: 4px; text-align: center; }
.t53k b { font-size: 34px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.t53k small { font-size: 13px; color: var(--muted); }
/* r53 preferred times */
.lk53 { display: grid; gap: 14px; }
.lk53b { display: grid; gap: 8px; }
.lk53t { margin: 0; font-size: 15px; font-weight: 600; }
.lk53s { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.lk53s > * { all: unset; box-sizing: border-box; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; }
.lk53s .on { color: var(--sh-ink); cursor: pointer; padding: 0 6px; }
.lk53s .on span { overflow: hidden; text-overflow: ellipsis; }
.lk53s .e { border: 1.5px dashed color-mix(in oklab, var(--muted) 45%, transparent); color: var(--muted); font-weight: 600; }
.lk53s.shake { animation: lk53sh 360ms; }
@keyframes lk53sh { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .lk53s.shake { animation: none; } }
.lk53r button { min-height: 58px; align-content: center; padding-top: 0; cursor: pointer; justify-items: center; }
.lk53r button.on { box-shadow: none; color: var(--sh-ink); }
.lk53r button.sel { box-shadow: inset 0 0 0 2.5px var(--fg); }
.lk53p { background: var(--surface); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); padding: 14px; display: grid; gap: 10px; }
.lk53p h3 { margin: 0; font-size: 16px; }
.lk53c { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lk53c button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; justify-items: center; gap: 4px; padding: 12px 6px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line); background: var(--surface); font-weight: 600; font-size: 14px; color: var(--fg); transition: transform 160ms var(--spring); }
.lk53c button:active { transform: scale(.95); }
.lk53c button small { font: 900 12px/1 var(--px); color: var(--muted); }
.lk53c button.on { background: var(--c); box-shadow: none; color: var(--sh-ink); }
.lk53c button.on small { color: var(--sh-ink); opacity: .8; }
.lk53c button:focus-visible, .lk53r button:focus-visible, .lk53s .on:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* r53 replacement picker */
.wr.wr53 { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.wr.wr53 .rd { order: 4; }
.wk53 { order: 3; display: grid; justify-items: center; gap: 4px; }
.wk53 .d { display: flex; gap: 3px; direction: ltr; }
.wk53 .d i { width: 7px; height: 7px; border-radius: 50%; background: oklch(0.2 0.03 250 / .18); }
.wk53 .d i.f { background: oklch(0.2 0.03 250 / .85); }
.wk53 small { font-size: 11px; color: oklch(0.2 0.03 250 / .7); white-space: nowrap; }
.wr.wr53[disabled] .wk53 { display: none; }
.wsect.sw53k { display: flex; align-items: center; gap: 6px; }
.wr.sw53 .rd.sw { display: none; }
.wr.sw53 { grid-template-columns: auto minmax(0, 1fr) auto; }
.sw53t { display: inline-flex; align-items: center; gap: 5px; } .sw53t span { font: 900 13px/1 "Px71", "Doto", ui-monospace, monospace; }
.sw53b { order: 3; display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; background: oklch(0.2 0.03 250); color: #fff; font-size: 13px; font-weight: 700; }
.cant53 { border-radius: 16px; background: var(--sunk); margin-top: 8px; }
.cant53 > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--muted); }
.cant53 > summary::-webkit-details-marker { display: none; }
.cant53 > summary .cap { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; }
.cant53 > summary .chev { transition: transform .2s; } .cant53[open] > summary .chev { transform: rotate(180deg); }
.cant53 .wlist { padding: 0 8px 8px; }
.sw53e { background: var(--sunk); border-radius: 16px; padding: 12px 14px; display: grid; gap: 10px; }
.sw53l { display: flex; align-items: center; gap: 8px; font-size: 15px; flex-wrap: wrap; }
.sw53l .t { font: 900 15px/1 "Px71", "Doto", ui-monospace, monospace; }
.sw53s .cs-foot { display: grid; gap: 0; }

.wr.wr53 .wr49x .cap { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* r53: room between a main button and the quieter link under it (user: always too close) */
.btn + .link, .btn + a.link { margin-top: 12px; }
html.mg48 .sheet .whobox .cs-foot .link, #app.wide .schedwrap > .bottom .link { margin-top: 0; }
/* r53: the drag handle stays at the top while the sheet scrolls */
.sheet > .grab { position: sticky; top: -10px; z-index: 3; width: auto; height: 24px; margin: -10px -20px 0; padding: 0; background: var(--surface); border-radius: var(--r-sheet) var(--r-sheet) 0 0; flex: none; }
.sheet > .grab::after { content: ""; position: absolute; left: 50%; top: 10px; width: 40px; height: 5px; margin-left: -20px; border-radius: 5px; background: var(--line); }
.sheet > .grab::before { inset: 0; }
/* r53c: phone week view, each day in its own white box (user go); #app is .wide on phone too, so gate by width */
@media (max-width: 899px) {
  .wk { display: grid; gap: 10px; }
  .wk .wrow:not(.out) { background: var(--surface); border-radius: 22px; padding: 10px 8px 10px 10px; box-shadow: inset 0 0 0 1px var(--line); }
  .wk .wrow:not(.out):has(> .wrd.tdy), .wk .wrow.today { box-shadow: inset 0 0 0 2px var(--primary); }
}

/* r53e: week count sits in the subtext line: dots + 2/3 השבוע */
.wr.wr53 { grid-template-columns: auto minmax(0, 1fr) auto; }
.wr49x .wk53 { order: 0; display: flex; align-items: center; gap: 6px; justify-items: initial; font-size: 14px; }
.wr49x .wk53 .d { display: flex; gap: 3px; direction: ltr; }
.wr49x .wk53 .d i { width: 8px; height: 8px; border-radius: 50%; background: oklch(0.2 0.03 250 / .2); }
.wr49x .wk53 .d i.f { background: oklch(0.2 0.03 250 / .85); }
.wr49x .wk53 [dir="ltr"] { font-weight: 700; font-variant-numeric: tabular-nums; }
/* r53f: swap mark = small white badge on the chip's top corner, so the name keeps its full width (user) */
.ce { overflow: visible; }
.ce .chgi { position: absolute; top: -6px; inset-inline-end: -6px; margin: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--fg); opacity: 1; box-shadow: 0 1px 4px oklch(0 0 0 / .18); z-index: 1; }
.ce .chgi .ic, .ce .chgi svg { width: 13px; height: 13px; }
.ce.past .chgi { opacity: .7; }
/* r53g: badge reads as its own mark: dark fill, white icon, white gap ring, so it never melts into the white day box */
.ce .chgi { background: var(--fg); color: var(--surface); box-shadow: 0 0 0 2.5px var(--surface), 0 2px 6px oklch(0 0 0 / .25); width: 26px; height: 26px; top: -8px; inset-inline-end: -8px; }
.ce .chgi .ic, .ce .chgi svg { width: 14px; height: 14px; }
/* r53h: smaller swap badge that stays inside the day box; finished chips grey but solid, not see-through (user) */
.ce .chgi { width: 20px; height: 20px; top: -5px; inset-inline-end: -4px; box-shadow: 0 0 0 2px var(--surface), 0 1px 3px oklch(0 0 0 / .2); }
.ce .chgi .ic, .ce .chgi svg { width: 11px; height: 11px; }
.ce.past, .wrow.past .ce, .fold .ce { opacity: 1 !important; filter: grayscale(1) contrast(.55) brightness(1.18) !important; }
:root[data-theme="dark"] .ce.past, :root[data-theme="dark"] .wrow.past .ce { filter: grayscale(1) contrast(.6) brightness(.7) !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ce.past, :root:not([data-theme="light"]) .wrow.past .ce { filter: grayscale(1) contrast(.6) brightness(.7) !important; } }
.ce.past .chgi { opacity: 1; }

/* r53i: shift time as a shift-coloured chip under the title; the person card is only the person */
.whobox .cs-h .fx-when.sh53 { display: inline-flex !important; align-self: flex-start; justify-self: start; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--c); color: var(--sh-ink); font-size: 14px; font-weight: 600; }
.whobox .cs-h .fx-when.sh53 .t { color: var(--sh-ink); font: 900 15px/1 "Px71", "Doto", ui-monospace, monospace; }
.whobox .cs-h .fx-when.sh53 .pxic { color: var(--sh-ink); }
.whobox:has(.cs-h .sh53) .lk49c .ds36tm { display: none; }
/* r53i list C: white rows, only the pick fills with its colour; the person on the shift greys once Ishay taps someone */
.wr.wr53 { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--fg); transition: background .3s ease, box-shadow .3s ease; }
.wr.wr53:hover:not([disabled]) { background: var(--surface); filter: none; }
.wr.wr53 .cap { color: var(--muted); }
.wr.wr53 .wk53 .d i { background: color-mix(in oklab, var(--fg) 15%, transparent); } .wr.wr53 .wk53 .d i.f { background: var(--fg); }
.wr.wr53 .rd { background: var(--surface); box-shadow: inset 0 0 0 2px var(--line); }
.wr.wr53.on { background: var(--hb); box-shadow: none; color: oklch(0.2 0.03 250); }
.wr.wr53.on:hover { background: var(--hb); }
.wr.wr53.on .cap { color: oklch(0.2 0.03 250 / .72); }
.wr.wr53.on .wk53 .d i { background: oklch(0.2 0.03 250 / .2); } .wr.wr53.on .wk53 .d i.f { background: oklch(0.2 0.03 250 / .85); }
.wr.wr53.on .rd { background: oklch(0.2 0.03 250); color: #fff; box-shadow: none; }
.wr.wr53.sw53 { background: var(--surface); } .wr.wr53.sw53 .sw53b { background: var(--fg); color: var(--surface); }
.wr.wr53[disabled] { background: var(--sunk); box-shadow: none; }
.lk49c .ds36s { transition: filter .45s ease, opacity .45s ease; }
.whobox.picked53 .lk49c .ds36s { filter: grayscale(1) contrast(.6) brightness(1.15); }
@media (prefers-reduced-motion: reduce) { .lk49c .ds36s, .wr.wr53 { transition: none; } }
:root[data-theme="dark"] .whobox.picked53 .lk49c .ds36s { filter: grayscale(1) contrast(.6) brightness(.6); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .whobox.picked53 .lk49c .ds36s { filter: grayscale(1) contrast(.6) brightness(.6); } }
/* r53j: confirm sheet with swap animation (one 0.8s spring on X + sine arc; colour drains after landing) */
.cf53 .cs-h{justify-items:center;text-align:center;gap:8px}.cf53 .dt53{font-size:15px;font-weight:600;color:var(--muted)}
.pair53{position:relative;height:210px;display:flex;justify-content:center;align-items:center;gap:30px;margin-block:8px}
.mv53{position:relative;will-change:transform}.mv53.l{z-index:1}.mv53.r{z-index:2}
.p53{position:relative;display:grid;justify-items:center;gap:6px;padding:14px 10px;border-radius:22px;width:124px;isolation:isolate;will-change:transform}
.p53::before,.p53::after{content:"";position:absolute;inset:0;border-radius:inherit;z-index:-1}
.p53::before{background:color-mix(in oklab,var(--fg) 9%,var(--surface))}.p53::after{background:var(--c);transition:opacity .5s ease}
.p53 .av{box-shadow:0 0 0 3px oklch(1 0 0 / .7)!important;transition:opacity .5s ease}
.p53 b{font-size:17px;color:oklch(0.2 0.03 250);transition:color .5s ease}.p53 small{font-size:12px;font-weight:600;color:oklch(0.2 0.03 250 / .72);transition:color .5s ease}
.sw53i{position:absolute;left:50%;top:50%;width:36px;height:36px;margin:-18px 0 0 -18px;z-index:3;display:grid;place-items:center;border-radius:50%;background:var(--fg);color:var(--surface);box-shadow:0 0 0 3px var(--surface);will-change:transform}
.pair53.two.go .mv53.l{animation:mx53L .8s var(--spring) both}.pair53.two.go .mv53.r{animation:mx53R .8s var(--spring) both}
.pair53.two.go .p53.l{animation:arc53U .8s cubic-bezier(.37,0,.63,1) both}.pair53.two.go .p53.r{animation:arc53D .8s cubic-bezier(.37,0,.63,1) both}
.pair53.two.go .sw53i{animation:spin53 .8s var(--spring) both}
[dir="ltr"] .pair53.two.go .mv53.l{animation-name:mx53R}[dir="ltr"] .pair53.two.go .mv53.r{animation-name:mx53L}
@keyframes mx53L{to{transform:translateX(-154px)}}@keyframes mx53R{to{transform:translateX(154px)}}
@keyframes arc53U{0%,100%{transform:translateY(0)}50%{transform:translateY(16px)}}
@keyframes arc53D{0%,100%{transform:translateY(0)}50%{transform:translateY(-16px)}}
@keyframes spin53{to{transform:rotate(180deg)}}
.pair53.one.go .p53.r{animation:pop53 .6s var(--spring) both}@keyframes pop53{from{transform:translateY(24px) scale(.9);opacity:0}}
.pair53.out .p53.l::after{opacity:0}.pair53.out .p53.l .av{opacity:.55}.pair53.out .p53.l b,.pair53.out .p53.l small{color:var(--muted)}
@media (prefers-reduced-motion:reduce){.pair53 *{animation-duration:1ms!important}}
/* r53l: shift sheet header B (sticky band in the shift colour, avatar on the edge, shrinks on scroll, frosted under the colour) */
.sheet:has(> .whobox > .hd54), .sheet:has(.whobox > .hd54){padding-top:0}
.sheet:has(.whobox > .hd54) > .grab{background:transparent!important;margin-top:0!important;top:0!important;margin-bottom:-24px!important;z-index:6}
.sheet:has(.whobox > .hd54) > .grab::after{background:oklch(0 0 0 / .22)!important}
.hd54{--k:0;position:sticky;top:0;z-index:5;margin:0 -20px 4px;padding:22px 20px calc(8px - 4px*var(--k));display:grid;justify-items:center;text-align:center;gap:calc(6px - 4px*var(--k));color:var(--sh-ink,oklch(0.2 0.03 250));
  background:linear-gradient(var(--c) 0 calc(116px - 45px*var(--k)),color-mix(in oklab,var(--surface) 72%,transparent) calc(116px - 45px*var(--k)));-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4)}
.sheet.side .hd54{margin-inline:-24px;padding-inline:24px}
.hd54.k1{box-shadow:0 1px 0 var(--line)}
.hd54 .dt{font-size:14px;font-weight:600;opacity:calc(.8 - var(--k)*1.2);max-height:calc(20px - 20px*var(--k));overflow:hidden}
.hd54 .tm{display:flex;align-items:center;gap:8px;font:900 calc(28px - 6px*var(--k))/1 Px71,Doto,monospace;letter-spacing:.02em}
.hd54 .tm .k{font:600 15px Rubik,system-ui,sans-serif;opacity:.85}
.hd54 .w54{display:grid;justify-items:center;gap:2px;margin-top:4px;color:var(--fg)}
.hd54 .w54 .av{margin:0!important;width:calc(60px - 22px*var(--k))!important;height:calc(60px - 22px*var(--k))!important;box-shadow:0 0 0 calc(4px - 1px*var(--k)) #fff!important;transition:filter .45s ease}
.hd54 .w54 b{font-size:17px}.hd54 .w54 small{font-size:12px;font-weight:600;color:var(--muted);max-height:calc(16px - 16px*var(--k));opacity:calc(1 - var(--k)*1.6);overflow:hidden}
.whobox.picked53 .hd54 .w54 .av{filter:grayscale(1) contrast(.7) brightness(1.1)}
:root[data-theme="dark"] .whobox.picked53 .hd54 .w54 .av{filter:grayscale(1) contrast(.7) brightness(.7)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .whobox.picked53 .hd54 .w54 .av{filter:grayscale(1) contrast(.7) brightness(.7)}}
.whoput.b54{display:flex;align-items:center;justify-content:center;gap:10px;background:var(--hb)!important;color:oklch(0.2 0.03 250)!important;transition:background .35s ease}
.whoput.b54 .av{box-shadow:0 0 0 2px #fff!important}
/* confirm B: chip centred under the date */
.cf53 .fx-when.sh53{justify-self:center!important;margin-inline:auto!important;width:max-content}
/* r53n: cover request A2, sent, waiting screen + home hourglass card */
:root{--r57s:oklch(0.86 0.08 15);--r57p:oklch(0.87 0.07 250);--r57o:oklch(0.87 0.06 300);--ink57:oklch(0.22 0.03 250)}
.hk57{background:var(--c);color:var(--ink57);border-radius:26px;padding:16px 18px;min-height:116px;box-sizing:border-box;display:grid;grid-template-rows:auto 1fr;gap:10px}
.hk57 .dt{font-size:19px;font-weight:700;line-height:1.25}
.hk57 .tm{align-self:end;justify-self:end;display:flex;align-items:center;gap:8px;font:900 32px/1 Px71,Doto,monospace}
.rq57{display:grid;gap:10px;margin-top:6px}
.rq57h{margin:0;font-size:17px;font-weight:700}
.rs57{gap:10px!important}
.rs57 .rc41{background:color-mix(in oklab,var(--t) 38%,var(--surface))!important;border:1.5px solid color-mix(in oklab,var(--t) 70%,transparent)!important;color:var(--fg);font-size:17px;font-weight:700;min-height:104px;position:relative}
.rs57 .rc41 .pxic{color:color-mix(in oklab,var(--t) 45%,var(--fg))!important}
.rs57 .rc41.on{background:var(--t)!important;border-color:var(--ink57)!important;box-shadow:inset 0 0 0 1px var(--ink57);color:var(--ink57)}
.rs57 .rc41.on .pxic{color:var(--ink57)!important}
.bt57{display:flex;align-items:center;justify-content:center;gap:10px}.bt57 svg{width:20px;height:20px;transform:translateX(-1px)}
.sent57{padding-top:8vh}.sent57 .dtk{background:var(--c);color:var(--ink57)}
.sent57 + .hk57{margin-top:24px}
.bd57{margin:calc(-8px - env(safe-area-inset-top, 0px)) calc(-1 * var(--pad)) 4px;padding:calc(env(safe-area-inset-top, 0px) + 8px) var(--pad) 20px;background:var(--c);color:var(--ink57);border-radius:0 0 30px 30px;display:grid;justify-items:center;gap:6px;text-align:center}
.bd57 .top{width:100%;color:var(--ink57)}.bd57 .top .iconbtn{color:var(--ink57)}
.bd57 .dt{font-size:16px;font-weight:700}.bd57 .tm{display:flex;align-items:center;gap:8px;font:900 34px/1 Px71,Doto,monospace}.bd57 .k{font-size:15px;font-weight:600;opacity:.8}
.st57{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:22px;background:color-mix(in oklab,var(--c) 22%,var(--surface));box-shadow:inset 0 0 0 1.5px color-mix(in oklab,var(--c) 60%,transparent)}
.st57 .hg57{color:color-mix(in oklab,var(--c) 40%,var(--fg));flex:none}
.st57 b{font-size:17px;display:block}.st57 small{color:var(--muted);font-size:14px}
.dl57{display:grid;gap:8px}
.dr57{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:18px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}
.dr57 .kc{width:40px;height:40px;border-radius:13px;background:var(--k);color:var(--ink57);display:grid;place-items:center;flex:none}
.dr57 b{font-size:16px}.dr57 .t{font:900 17px Px71,Doto,monospace}
.dr57.me{background:color-mix(in oklab,var(--hb) 40%,var(--surface));box-shadow:inset 0 0 0 2px var(--hb)}
.sq.w57{background:color-mix(in oklab,var(--c) 26%,var(--surface));border-color:color-mix(in oklab,var(--c) 60%,transparent)}
.sq.w57 .ib57{color:color-mix(in oklab,var(--c) 35%,var(--fg));display:block}
/* hourglass: sand drains top to bottom, then the glass flips */
.hg57{animation:hgR 4.2s cubic-bezier(.65,0,.35,1) infinite;transform-origin:center}
.hg57 .t1{animation:hgT1 4.2s linear infinite}.hg57 .t2{animation:hgT2 4.2s linear infinite}.hg57 .t3{animation:hgT3 4.2s linear infinite}
.hg57 .b9{animation:hgB9 4.2s linear infinite}.hg57 .b8{animation:hgB8 4.2s linear infinite}.hg57 .b7{animation:hgB7 4.2s linear infinite}.hg57 .st{animation:hgS 4.2s steps(1) infinite}
@keyframes hgR{0%,80%{transform:rotate(0)}100%{transform:rotate(180deg)}}
@keyframes hgT1{0%{opacity:1}22%,100%{opacity:0}}@keyframes hgT2{0%,22%{opacity:1}44%,100%{opacity:0}}@keyframes hgT3{0%,44%{opacity:1}66%,100%{opacity:0}}
@keyframes hgB9{0%{opacity:0}22%,100%{opacity:1}}@keyframes hgB8{0%,22%{opacity:0}44%,100%{opacity:1}}@keyframes hgB7{0%,44%{opacity:0}66%,100%{opacity:1}}
@keyframes hgS{0%{opacity:1}68%,100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.hg57,.hg57 *{animation:none!important}}
.sent57 .dtk .tk44{color:var(--ink57);margin:0}
/* r54a: cover sheet polish: no strip above the band, time centred between two icons, fixed button colour, room above the button, confirm keeps the sheet height */
.sheet:has(.whobox > .hd54){gap:0}
.hd54 .tm{justify-content:center}
.whoput.b54{background:var(--primary)!important;color:var(--on-primary)!important}
.whoput.b54:disabled{opacity:1;background:color-mix(in oklab,var(--primary) 38%,var(--surface))!important;color:color-mix(in oklab,var(--on-primary) 92%,transparent)!important;cursor:default}
.whoput.b54 .av{box-shadow:0 0 0 2px var(--on-primary)!important}
.sheet .whobox:has(> .hd54) > .cs-foot{padding-top:36px;background:linear-gradient(to top,var(--surface) calc(100% - 24px),transparent)}
.sheet:has(> .cf53){display:flex;flex-direction:column}
.sheet > .cf53{flex:1;display:flex;flex-direction:column;gap:16px}
.cf53 > .pair53{margin-block:auto}
.cf53 > .cs-foot{margin-top:auto}
.fx-when.tw54{gap:8px}
/* r54b: request page A, colour top with a swap signal, reasons as a list */
.rq58{display:contents}
.tp58{margin:calc(-8px - env(safe-area-inset-top, 0px)) calc(-1 * var(--pad)) 0;padding:calc(env(safe-area-inset-top, 0px) + 8px) var(--pad) 44px;background:var(--c);color:var(--ink57);display:grid;justify-items:center;gap:6px;text-align:center}
.tp58 .top{width:100%;color:var(--ink57)}.tp58 .top .iconbtn{color:var(--ink57)}
.q58{margin:6px 0 0;font-size:17px;font-weight:600;opacity:.8}
.dt58{font-size:20px;font-weight:700}
.tm58{display:flex;align-items:center;justify-content:center;gap:10px;font:900 34px/1 Px71,Doto,monospace;margin-top:2px}
.pn58{margin:-26px calc(-1 * var(--pad)) 0;padding:22px var(--pad) 8px;background:var(--bg);border-radius:28px 28px 0 0;display:grid;gap:12px;position:relative}
.sg58{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:2px}
.sg58 .av{margin:0!important;box-shadow:0 0 0 3px #fff!important}
.sg58.a{position:relative}
.bdg58{position:absolute;inset-inline-start:calc(50% + 14px);bottom:-4px;width:30px;height:30px;border-radius:50%;background:var(--ink57);color:#fff;display:grid;place-items:center;box-shadow:0 0 0 3px var(--c)}
.ring58{width:72px;height:72px;border-radius:50%;background:oklch(1 0 0 / .5);display:grid;place-items:center;color:var(--ink57)}
.ar58{color:var(--ink57);display:grid;place-items:center}
.q58c{width:52px;height:52px;border-radius:50%;border:2.5px dashed color-mix(in oklab,var(--ink57) 55%,transparent);display:grid;place-items:center;font:700 22px Rubik,system-ui,sans-serif;color:color-mix(in oklab,var(--ink57) 70%,transparent);background:oklch(1 0 0 / .35);box-sizing:border-box}
.rl58{display:grid;gap:10px}
.rl58 .rw58{all:unset;box-sizing:border-box;cursor:pointer;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;min-height:68px;padding:12px 16px;border-radius:20px;background:var(--surface);border:1.5px solid var(--line);color:var(--fg);-webkit-tap-highlight-color:transparent;transition:border-color .15s,background-color .15s,transform .12s}
.rl58 .rw58:active{transform:scale(.98)}
.rl58 .rw58:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.rw58 b{font-size:17px;font-weight:600}
.ri58{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:color-mix(in oklab,var(--t) 55%,var(--surface));color:var(--ink57)}
.ri58 .ic svg{width:20px;height:20px}
.rd58{width:24px;height:24px;border-radius:50%;border:2px solid var(--line);box-sizing:border-box;display:grid;place-items:center;transition:all .15s}
.rl58 .rw58.on{border-color:var(--fg);background:color-mix(in oklab,var(--t) 22%,var(--surface))}
.rl58 .rw58.on .rd58{border:7px solid var(--fg)}
.rl58.grp{gap:0;background:var(--surface);border:1.5px solid var(--line);border-radius:20px;overflow:hidden}
.rl58.grp .rw58{border:0;border-radius:0;min-height:60px}
.rl58.grp .rw58 + .rw58{box-shadow:inset 0 1px 0 var(--line)}
.rl58.grp .rw58.on{background:color-mix(in oklab,var(--t) 22%,var(--surface))}
.st58{margin:2px 0 0;text-align:center}
.rq58 .bottom{margin-top:auto}
:root[data-theme="dark"] .ri58{background:color-mix(in oklab,var(--t) 20%,var(--surface));color:var(--t)}
:root[data-theme="dark"] .rl58 .rw58.on{border-color:var(--t);background:color-mix(in oklab,var(--t) 14%,var(--surface))}
:root[data-theme="dark"] .rl58 .rw58.on .rd58{border-color:var(--t)}
:root[data-theme="dark"] .rl58.grp .rw58.on{background:color-mix(in oklab,var(--t) 14%,var(--surface))}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .ri58{background:color-mix(in oklab,var(--t) 20%,var(--surface));color:var(--t)}
:root:not([data-theme="light"]) .rl58 .rw58.on{border-color:var(--t);background:color-mix(in oklab,var(--t) 14%,var(--surface))}
:root:not([data-theme="light"]) .rl58 .rw58.on .rd58{border-color:var(--t)}
:root:not([data-theme="light"]) .rl58.grp .rw58.on{background:color-mix(in oklab,var(--t) 14%,var(--surface))}}
.ar58 svg{width:30px;height:30px}
/* r54c: swap audit fixes */
.dialog .acts{gap:16px}
.st57{flex-wrap:wrap}
.cx57{all:unset;box-sizing:border-box;cursor:pointer;flex-basis:100%;text-align:center;margin-top:10px;padding:10px 14px;min-height:44px;border-radius:999px;border:1.5px solid color-mix(in oklab,var(--no-ink,oklch(0.55 0.18 25)) 55%,transparent);color:var(--no-ink,oklch(0.55 0.18 25));font-weight:600;font-size:15px}
.cx57:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.cx54{margin-top:4px!important}
.rq54{display:flex;align-items:center;gap:12px;margin:8px 0 6px;padding:12px 14px;border-radius:18px;background:color-mix(in oklab,var(--no-ink,oklch(0.55 0.18 25)) 9%,var(--surface));border:1px solid color-mix(in oklab,var(--no-ink,oklch(0.55 0.18 25)) 25%,transparent)}
.rq54 > .pxic{color:var(--no-ink,oklch(0.55 0.18 25));flex:none}
.rq54 .grow{display:grid;gap:2px;min-width:0}.rq54 b{font-size:15px}.rq54 small{font-size:13px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cl54{all:unset;cursor:pointer;flex:none;font-size:14px;font-weight:600;color:var(--fg);text-decoration:underline;text-underline-offset:3px;padding:8px 2px;min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center}
.cl54:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.op58{font-size:13px;font-weight:500;color:var(--muted)}
/* r55 preview: one look for the swap screens */
.ch55{display:grid;justify-items:center;gap:8px;margin:4px auto 0;text-align:center}
.ch55 .dt{font-size:15px;font-weight:600;color:var(--muted)}
.ch55 .pl{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border-radius:999px;background:var(--c);color:var(--ink57);font:900 22px/1 Px71,Doto,monospace}
.pn55{gap:14px}
.hk55{background:var(--c);color:var(--ink57);border-radius:22px;padding:14px 18px;display:grid;justify-items:center;gap:6px;text-align:center}
.hk55 .dt{font-size:16px;font-weight:700}.hk55 .tm{display:flex;align-items:center;gap:8px;font:900 30px/1 Px71,Doto,monospace}
.btn .pxic{flex:none}
.st57 > span{flex:1;min-width:0}
/* r56: one shared date + time header for every swap screen (A stacked, B calendar tile, C ticket) */
.hd56{display:grid;justify-items:center;gap:6px;text-align:center;padding:4px 0 8px}
.hd56 .k{font-size:15px;font-weight:600;color:var(--muted)}
.hd56 b{font-size:32px;font-weight:800;line-height:1.1;letter-spacing:-.01em}
.hd56 .cp56{margin-top:6px}
.cp56{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;background:var(--c);color:var(--ink57);font:900 20px/1 Px71,Doto,monospace;pointer-events:none}
.hd56.b{display:flex;align-items:center;justify-content:center;gap:16px;text-align:start}
.hd56.b .grow{display:grid;gap:8px;justify-items:start}
.cal56{flex:none;width:80px;height:84px;border-radius:20px;background:var(--surface);box-shadow:inset 0 0 0 1.5px var(--line),0 2px 8px oklch(0 0 0/.06);display:grid;grid-template-rows:26px 1fr;overflow:hidden}
.cal56 small{display:grid;place-items:center;background:var(--c);color:var(--ink57);font-size:13px;font-weight:800}
.cal56 b{display:grid;place-items:center;font:900 38px/1 Px71,Doto,monospace!important}
.hd56.c{display:flex;align-items:center;gap:14px;text-align:start;padding:16px 18px;border-radius:22px;background:var(--surface);box-shadow:inset 0 0 0 1.5px var(--line)}
.hd56.c .grow{flex:1;display:grid;gap:2px;justify-items:start}.hd56.c b{font-size:28px}
.hd56.c .cp56{margin:0;flex-direction:column;gap:6px;padding:10px 12px;border-radius:16px;font-size:18px}
.cut56{align-self:stretch;width:0;border-inline-start:2px dotted var(--line)}
.tdone + .hd56{margin-top:20px}
.sent57 .dtk{background:var(--ok-soft)!important;color:var(--ok)!important}.sent57 .dtk .tk44{color:var(--ok)!important}
/* r56b: the date + time header is a "shift block" card, used on every swap screen; no orange tops */
.hd56.a,.hd56.b{padding:20px 18px 18px;border-radius:24px;background:linear-gradient(165deg,color-mix(in oklch,var(--c) 34%,var(--surface)) 0%,var(--surface) 78%);box-shadow:inset 0 0 0 1.5px color-mix(in oklch,var(--c) 40%,var(--line))}
.hd56.b{justify-content:flex-start}
.hd56.c{background:linear-gradient(to left,var(--surface) 0%,var(--surface) 62%,color-mix(in oklch,var(--c) 30%,var(--surface)) 100%);box-shadow:inset 0 0 0 1.5px color-mix(in oklch,var(--c) 40%,var(--line))}
[dir="rtl"] .hd56.c{background:linear-gradient(to right,var(--surface) 0%,var(--surface) 62%,color-mix(in oklch,var(--c) 30%,var(--surface)) 100%)}
.tdone + .hd56{margin-top:24px;width:100%}
.pg56{display:grid;gap:16px;padding-top:4px}
.pg56 .st57{margin:0}
.qw56{display:grid;justify-items:center;gap:10px;text-align:center;padding:4px 0 2px}.qw56 h1{font-size:22px;margin:0}
.qw56 .sg58{position:relative}
.btn.tk56{justify-content:center;gap:10px}.btn.tk56 .tt{font-size:18px;padding:5px 12px;gap:6px;box-shadow:0 0 0 2px oklch(1 0 0/.35)}
.shs .hd56{margin-bottom:4px}
/* r56c: content sits in the middle of the free space (no dead gap above a low button); calm neutral status card */
.pg56{flex:1;align-content:center;padding-bottom:24px}
.pg56 ~ .spacer{display:none}
.pg56 .hd56 b{font-size:38px}
.pg56 .st57,.shs .st57{background:var(--surface);box-shadow:inset 0 0 0 1.5px var(--line)}
.dn56{display:flex;align-items:center;justify-content:center;gap:8px;min-height:56px;border-radius:999px;background:var(--ok-soft);color:var(--ok);font-weight:700;font-size:17px}
.dn56 .ic{width:20px;height:20px}
.sent57{padding-top:11vh}
/* r56d: thumb-reach rule (Hoober: people tap most accurately away from the edges; the bottom edge and corners are the least accurate).
   The main button sits at about 80% of the screen height on every page and sheet, never on the bottom edge.
   The space under it holds the secondary / "no" action (harder to hit by accident) or stays calm and empty. */
/* stacked shift block: plain card, no gradient */
.hd56.a, .hd56.b, .hd56.c { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line), 0 2px 10px oklch(0 0 0 / .04); }
/* r56e: sent screen = one main action + one link; leaving is a close X at the top */
.xb56{display:flex;justify-content:flex-start;padding-top:4px}
.x56{width:44px;height:44px;border-radius:50%;border:0;background:var(--surface);box-shadow:inset 0 0 0 1.5px var(--line);color:var(--fg,inherit);display:grid;place-items:center;cursor:pointer}
.x56 .ic{width:22px;height:22px}
.xb56 + .sent57{padding-top:6vh}
[dir] .hd56.a,[dir] .hd56.b,[dir] .hd56.c{background:var(--surface)}
/* r57 preview: "swapped" mark placement options (replaces the corner circle that broke the card's padding) */
.ce .cg57{display:inline-flex;align-items:center;gap:5px;align-self:flex-start;width:fit-content;padding:3px 9px 3px 10px;border-radius:999px;background:oklch(1 0 0 / .55);color:oklch(0.22 0.03 250);font-size:12px;font-weight:700;line-height:1.2;white-space:nowrap}
.ce .cg57 svg{flex:none}
.ce .cg57.a{margin-bottom:6px}.ce .cg57.c{margin-top:6px}
.ce.past .cg57{opacity:.7}
.av57{position:relative;display:inline-grid;flex:none;order:-1}
.av57 .cb57{position:absolute;bottom:-4px;inset-inline-start:-4px;width:40%;min-width:16px;max-width:22px;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:oklch(0.22 0.03 250);color:#fff;box-shadow:0 0 0 2px oklch(1 0 0 / .9)}
.av57 .cb57 svg{width:60%;height:60%}
/* r57: shift page + waiting page: date card snug at the top, one clear thing in the middle */
.pg57{flex:1;display:flex;flex-direction:column;gap:0;padding-top:4px}
.pg57 > .hd56{flex:none}
.mid57{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;padding:24px 8px 32px}
.pg57 ~ .spacer{display:none}
.mk57{font-size:16px;font-weight:600;color:var(--muted)}
.cd57{display:flex;align-items:baseline;justify-content:center;gap:12px;line-height:1}
.cd57 .n{font:900 76px/1 Px71,Doto,monospace}
.cd57 .u{font-size:30px;font-weight:800}
.pr57{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:18px}
.pill57{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:999px;border:0;background:var(--surface);box-shadow:inset 0 0 0 1.5px var(--line);color:inherit;font:inherit;font-size:15px;font-weight:600;text-decoration:none;cursor:pointer}
.pill57 .ic,.pill57 svg{width:18px;height:18px}
.trio57{display:flex;align-items:center;gap:14px;margin-bottom:8px}
.trio57 .av{width:64px!important;height:64px!important}
.trio57 .sw{color:var(--muted);display:grid}
.qav57{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;border:2.5px dotted color-mix(in oklab,var(--fg) 45%,transparent);color:color-mix(in oklab,var(--fg) 70%,transparent);animation:qp57 2.4s ease-in-out 3}
@keyframes qp57{50%{border-color:color-mix(in oklab,var(--fg) 20%,transparent)}}
@media (prefers-reduced-motion:reduce){.qav57{animation:none}}
.mt57{font-size:24px;font-weight:800}
.ms57{margin:0;color:var(--muted);font-size:15px;max-width:300px}
.cr57{margin:4px 0 0}
/* r57: done tick = solid green circle, white dots (the pale mint had no contrast) */
.sent57 .dtk{background:var(--ok)!important;color:#fff!important}.sent57 .dtk .tk44{color:#fff!important}
/* r57b: swap chip sits ON the card edge, centred (a = top edge, c = bottom edge); card size never changes */
.ce:has(.cg57){position:relative;overflow:visible}
.ce .cg57.a,.ce .cg57.c{position:absolute;left:50%;margin:0;translate:-50% 0;z-index:2;padding:2px 9px;gap:4px;font-size:11.5px;background:oklch(0.22 0.03 250);color:#fff}
.ce .cg57.a{top:0;transform:translateY(-50%)}
.ce .cg57.c{bottom:0;transform:translateY(50%)}
:root[data-theme="dark"] .ce .cg57.a,:root[data-theme="dark"] .ce .cg57.c{background:oklch(0.96 0.01 250);color:oklch(0.2 0.02 250)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .ce .cg57.a,:root:not([data-theme="light"]) .ce .cg57.c{background:oklch(0.96 0.01 250);color:oklch(0.2 0.02 250)}}
/* avatar badge: no heavy white ring */
.av57 .cb57{box-shadow:0 0 0 1px oklch(0 0 0 / .12)}
/* r57c: C = icon-only tab on the bottom edge, softly squared corners (user) */
.ce .cg57.c > span{display:none}
.ce .cg57.c{padding:3px 10px;border-radius:7px}
.ce .cg57.c svg{width:14px;height:14px}
/* r57d: C = icon tab tucked INTO the card's bottom-left corner (always left, so a long name never collides); outer corner follows the card's curve */
.ce .cg57.c{left:0;bottom:0;right:auto;top:auto;translate:none;transform:none;padding:6px 10px 6px 11px;border-radius:0 12px 0 0;border-bottom-left-radius:inherit;background:oklch(0.22 0.03 250 / .88);color:#fff}
:root[data-theme="dark"] .ce .cg57.c{background:oklch(0.22 0.03 250 / .88);color:#fff}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .ce .cg57.c{background:oklch(0.22 0.03 250 / .88);color:#fff}}
.ce:has(.cg57.c){overflow:hidden}
.ce .cg57.c{display:grid;place-items:center;width:38px;height:30px;padding:0}.ce .cg57.c svg{translate:2px -1px}
/* r57e: icon sits on the tab shape's centroid (measured 19.3, 14.8 in a 38x30 tab with 16px/12px corners = practically centred); the dotted glyph's ink is half a dot low, so lift it 0.5px */
.ce .cg57.c svg{translate:0.3px -0.5px}
/* r57a: legend chips wrap onto a second line instead of running off-screen (English/Russian/Spanish labels are longer, and big phone text sizes) */
.legend42{flex-wrap:wrap!important;justify-content:center;row-gap:6px;max-width:100%}
.legend42 > span{flex:none;max-width:100%}
/* r57c: legend chips get real breathing room above the Next button */
.off44w .lg44{margin-bottom:28px}
a.hb2.wide svg{width:20px;height:20px;flex:none}
.dc47.pf57 i.s{background:var(--c);color:var(--sh-ink,oklch(0.22 0.03 250))}
.dc47.pf57 i.s em{font-size:11.5px;font-weight:600;opacity:.8;white-space:nowrap;max-width:56px;overflow:hidden;text-overflow:ellipsis}
.dc47.pf57 i.s b{font-size:22px}
/* r58: one bottom rule for every sheet and page (user picked "back to normal").
   Main button sits just above the home bar: safe area + 16px (iPhone 34+16 = 50px from the edge; phones without a home bar 24px).
   A secondary link under it gets 16px of air and a 44px tap height (Apple minimum), then the same bottom distance.
   The footer is the sheet/page colour itself, 12px above the button; a hairline shows only while content is scrolled under it (Apple scroll-edge). */
:root { --bb58: max(24px, calc(env(safe-area-inset-bottom, 0px) + 16px)); }
@media (max-width: 699px) {
  .sheet { padding-bottom: var(--bb58) !important; }
  .sheet .pkfoot, .sheet .cs-foot, .sheet .sh-foot, .sheet .bl-foot { position: sticky; z-index: 3;
    bottom: calc(-1 * var(--bb58)) !important; margin-bottom: calc(-1 * var(--bb58)) !important;
    padding-top: 12px !important; padding-bottom: var(--bb58) !important;
    background: var(--surface) !important; box-shadow: none; transition: box-shadow .2s; }
  .sheet.ov58 .pkfoot, .sheet.ov58 .cs-foot, .sheet.ov58 .sh-foot, .sheet.ov58 .bl-foot { box-shadow: 0 -1px 0 var(--line); }
  .sheet .pkfoot::before, .sheet .cs-foot::before, .sheet .sh-foot::before, .sheet .bl-foot::before { display: none !important; }
  body:not(.tabs-on) .bottom, body:not(.tabs-on) .conf32 .bottom { bottom: 0 !important; padding-top: 12px !important; padding-bottom: var(--bb58) !important;
    background: var(--bg) !important; box-shadow: none; transition: box-shadow .2s; }
  body.ov58:not(.tabs-on) .bottom { box-shadow: 0 -1px 0 var(--line); }
  .bottom::before { display: none !important; }
  .sentscr:has(.sent34) .bottom { background: none !important; box-shadow: none !important; }
}
/* stacked main button + secondary link: 16px of air, link is a full 44px tap target */
.bottom, .cs-foot, .sh-foot, .bl-foot, .pkfoot, .dialog .acts { row-gap: 16px !important; }
.bottom > .link, .cs-foot > .link, .sh-foot > .link, .bl-foot > .link, .dialog .acts > .link, .conf32 .bottom .link { min-height: 44px; margin: 0 auto !important; display: flex; align-items: center; justify-content: center; }
/* r58: Ishay's send-to-group bar follows the same bottom rule */
@media (max-width: 699px) {
  .sh50bar { row-gap: 16px; padding-top: 12px; padding-bottom: var(--bb58); background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.ov58 .sh50bar { box-shadow: 0 -1px 0 var(--line); }
  .sh50bar:has(> .sh50c) { padding-bottom: calc(var(--bb58) - 0px); }
}
/* r59: home hero times in the dotted digits like every shift card (no plain colons) */
.hh-h .t, .hh-big .t, .hh-sub .t { font-family: "Px71", "Doto", "Google Sans", monospace; font-weight: 900; letter-spacing: .02em; }
/* r59b: hero time gets the animated dotted shift icon beside it */
.hh-tm { display: inline-flex; align-items: center; gap: 12px; }
.hh-tm { align-items: flex-end; gap: 14px; } .hh-tm svg { flex: none; } .hh-tm .pxic { translate: 0 4px; } /* r61: icon and digits share one dot grid (4px pitch); the cup's empty bottom row hangs below so the dot rows line up */
/* r60: days that already happened are clearly greyed: the shift colour stays recognisable but faded and less saturated (user) */
.tmon button.on.gone, .tmon button.on.gone[style] { opacity: .42 !important; filter: saturate(.45) !important; }
.tmon button.on.gone :is(b, span, .pxic) { opacity: 1 !important; }
.tmon button.gone:not(.on) b { opacity: .5; }
.c41.gone, .r41.gone .d41, .my34.gone { opacity: .45 !important; filter: saturate(.45); }
@media (max-width: 999px) { #mgrid .wrow.past .ce, #mgrid .ce.past { opacity: .5 !important; filter: saturate(.45) !important; } }
/* r62: past days in the week view use the same faded shift colour as the month calendar (user) */
.tw41[data-wc="f"] .c41.gone { background: var(--c) !important; border-color: transparent !important; color: var(--sh-ink); box-shadow: none; }
.tw41[data-wc="f"] .c41.gone :is(.k41, .tm41 .t, .chev, .tm41 .pxic) { color: var(--sh-ink) !important; opacity: 1; }
.tw41[data-wc] .c41.gone, .c41.gone { opacity: .42 !important; filter: saturate(.45) !important; }
/* r63: no going back before the first month */
.navrow .iconbtn[disabled] { opacity: .28; pointer-events: none; }

/* r64: empty month state */
.es64 { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 40px 16px 8px; }
.es64 .cal64 { color: var(--primary); margin-bottom: 8px; }
.es64 b { font-size: 18px; line-height: 1.3; }
.es64 p { margin: 0; color: var(--muted); max-width: 36ch; text-wrap: balance; line-height: 1.45; }
.es64 .es64b { margin-top: 8px; min-height: 44px; font-weight: 600; color: var(--primary); }
.cal64 .f64 { opacity: 0; animation: f64d0 9s linear infinite; }
@keyframes f64d0{0%,5%{opacity:0}5.5%,92%{opacity:1}93%,100%{opacity:0}}.cal64 .d0{animation-name:f64d0}
@keyframes f64d1{0%,12%{opacity:0}12.5%,92%{opacity:1}93%,100%{opacity:0}}.cal64 .d1{animation-name:f64d1}
@keyframes f64d2{0%,19%{opacity:0}19.5%,92%{opacity:1}93%,100%{opacity:0}}.cal64 .d2{animation-name:f64d2}
@keyframes f64d3{0%,26%{opacity:0}26.5%,92%{opacity:1}93%,100%{opacity:0}}.cal64 .d3{animation-name:f64d3}
@keyframes f64d4{0%,33%{opacity:0}33.5%,92%{opacity:1}93%,100%{opacity:0}}.cal64 .d4{animation-name:f64d4}
@keyframes f64d5{0%,40%{opacity:0}40.5%,92%{opacity:1}93%,100%{opacity:0}}.cal64 .d5{animation-name:f64d5}
@keyframes f64d6{0%,47%{opacity:0}47.5%,92%{opacity:1}93%,100%{opacity:0}}.cal64 .d6{animation-name:f64d6}
@keyframes f64d7{0%,54%{opacity:0}54.5%,92%{opacity:1}93%,100%{opacity:0}}.cal64 .d7{animation-name:f64d7}
@keyframes f64d8{0%,61%{opacity:0}61.5%,92%{opacity:1}93%,100%{opacity:0}}.cal64 .d8{animation-name:f64d8}
@keyframes f64d9{0%,68%{opacity:0}68.5%,92%{opacity:1}93%,100%{opacity:0}}.cal64 .d9{animation-name:f64d9}
@keyframes f64d10{0%,75%{opacity:0}75.5%,92%{opacity:1}93%,100%{opacity:0}}.cal64 .d10{animation-name:f64d10}
@media (prefers-reduced-motion: reduce) { .cal64 .f64 { animation: none; opacity: 1; } }
[dir="rtl"] .cal64 { transform: scaleX(-1); } /* days fill from the right in RTL */

/* r65: upcoming squares K3 (user pick): date in Google Sans 500/60, day line, pixel time + icon centred; today/tomorrow = filled in the shift colour */
.sq.u65 { width: 148px; height: 148px; aspect-ratio: auto; padding: 14px 12px 13px; gap: 0; align-items: center; text-align: center; border: 1px solid color-mix(in oklab, var(--c) 40%, transparent); background: linear-gradient(155deg, color-mix(in oklab, var(--c) 34%, var(--surface)) 0%, color-mix(in oklab, var(--c) 12%, var(--surface)) 55%, var(--surface) 100%); color: var(--fg); }
.sq.u65 .dd65 { font: 500 60px/.9 "Google Sans", Rubik, system-ui, sans-serif; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: auto; }
.sq.u65 .dw65 { font-size: 15px; font-weight: 700; line-height: 1.2; margin-top: 8px; white-space: nowrap; }
.sq.u65 .hh65 { margin-top: auto; display: flex; align-items: flex-end; gap: 7px; opacity: .9; }
.sq.u65 .hh65 svg { flex: none; display: block; }
.sq.u65 .hh65 .pxic { color: color-mix(in oklab, var(--c) 55%, black); }
:root[data-theme="dark"] .sq.u65 .hh65 .pxic { color: var(--c); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sq.u65 .hh65 .pxic { color: var(--c); } }
.sq.u65.on { background: var(--c) !important; border-color: transparent; color: var(--sh-ink); }
.sq.u65.on .hh65 .pxic { color: var(--sh-ink) !important; }
/* r65: hero icon now sits on the digits' bottom row, no nudge */
.hh-tm .pxic { translate: none !important; }
/* r66: hero time back in the regular font; only the shift icon stays pixel */
.hh-tm { align-items: center; gap: 12px; }
.hh-tm .t66 { font: inherit; font-family: "Google Sans", system-ui, sans-serif; font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
.hh-tm .pxic { width: 36px; height: 36px; }
/* r67: full times (06:00–12:00) in the regular font; the pixel icon sits on its own line above */
.hh-main .ic67 { display: block; line-height: 0; margin: 4px 0 -4px; }
.hh-main .ic67 .pxic { width: 40px; height: 40px; }
/* r70: upcoming square H (user pick): date line, icon, start time, end time */
.sq.u70 { width: 148px; height: 148px; aspect-ratio: auto; padding: 13px 10px 13px; gap: 0; align-items: center; text-align: center; border: 1px solid color-mix(in oklab, var(--c) 40%, transparent); background: linear-gradient(155deg, color-mix(in oklab, var(--c) 30%, var(--surface)) 0%, color-mix(in oklab, var(--c) 10%, var(--surface)) 60%, var(--surface) 100%); color: var(--fg); font-family: "Google Sans", Rubik, system-ui, sans-serif; }
.sq.u70 .dl70 { font-size: 13px; font-weight: 700; line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sq.u70 .ic70 { margin-top: 10px; line-height: 0; color: color-mix(in oklab, var(--c) 55%, black); }
.sq.u70 .ic70 svg { display: block; }
:root[data-theme="dark"] .sq.u70 .ic70 { color: var(--c); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sq.u70 .ic70 { color: var(--c); } }
.sq.u70 .t70 { margin-top: auto; font-size: 26px; font-weight: 700; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sq.u70 .e70 { margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--muted, currentColor); opacity: .85; font-variant-numeric: tabular-nums; }
/* r71: the home "on shift now" times share the .tw50 name with the desktop trainer workspace grid; keep them a plain row (they overlapped) */
.ns49 .tw50 { display: flex; flex-wrap: wrap; grid-template-columns: none; gap: 6px 16px; max-width: none; margin: 0; width: auto; align-items: center; }
/* r72: smaller swap tab that never covers the time (user; was only on the preview branch as r57e) */
.ce .cg57.c{width:24px;height:20px;border-radius:0 8px 0 0;border-bottom-left-radius:inherit}
.ce .cg57.c svg{width:10px;height:10px;translate:0.3px -0.4px}
.ce:has(.cg57.c){padding-left:28px!important}
.ce:has(.cg57.c) .ce-t{min-width:0}
/* r72: Ishay's "month not built yet" week view keeps the same top bar as every other week (title + tabs, then the arrows and month on their own row), and the content fades in instead of popping */
.em34 > .schedtop { display: grid !important; grid-template-columns: auto 1fr; align-items: center; gap: 8px 12px; }
.em34 > .schedtop .gvseg { justify-self: end; }
.em34 > .schedtop .wknav { grid-column: 1 / -1; min-height: 52px; }
.em34 > .schedtop .wknav .lbl, .em34 > .schedtop .wknav .lbl b { white-space: nowrap; }
.em34w { animation: wkin 320ms cubic-bezier(.22, 1, .36, 1) both; --dx: 0px; }
@media (prefers-reduced-motion: reduce) { .em34w { animation: none; } }
/* r73: swap cards keep the full-size time like every other card (user); the tab just reserves its corner */
/* r75: "switch user" sits alone under the settings list, centred */
.lo75 { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin: 28px auto 8px; padding: 0 20px; border-radius: 999px; color: var(--no-ink); font-weight: 600; font-size: 17px; }
.lo75 .ic { width: 20px; height: 20px; }
.lo75:active { background: color-mix(in oklab, var(--no-ink) 12%, transparent); }
/* r76: Ishay's unbuilt-month week on a phone: same top bar as every other week (title + tabs, arrows and month on their own row),
   placeholder = stacked dashed day rows like a real week, reminder button on one line */
@media (max-width: 999px) {
  #app.wide .schedwrap.em34 > .schedtop { display: grid !important; grid-template-columns: auto 1fr; align-items: center; gap: 8px 12px; }
  #app.wide .schedwrap.em34 > .schedtop .gvseg { justify-self: end; }
  #app.wide .schedwrap.em34 > .schedtop .wknav { grid-column: 1 / -1; width: auto !important; min-height: 52px; display: flex; align-items: center; justify-content: space-between; }
  #app.wide .schedwrap.em34 > .schedtop .wknav .lbl { flex: 1; width: auto !important; min-width: 0 !important; max-width: none !important; text-align: center; white-space: nowrap; }
  .em76 { display: grid; gap: 10px; opacity: .5; }
  .r76 { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: stretch; }
  .r76 .d76 { display: grid; justify-items: center; align-content: start; padding-top: 8px; line-height: 1.1; }
  .r76 .d76 em { font-style: normal; font-size: 13px; color: var(--muted); } .r76 .d76 b { font-size: 20px; color: var(--muted); font-weight: 600; }
  .r76 i { display: block; height: 64px; border-radius: 20px; border: 1.5px dashed var(--line); background: color-mix(in oklab, var(--sunk) 60%, transparent); }
  .r76.e { display: none; }
  .em34w:has(.em76) { display: flex; flex-direction: column; gap: 20px; }
  .em34w:has(.em76) .em34c { position: static; order: -1; inset: auto; width: auto; margin: 0; padding: 24px 16px; box-shadow: none; }
  .em76 { -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
  .em34c .btn { font-size: 16px; padding-inline: 16px; gap: 8px; text-wrap: balance; }
}
/* r77: swap button on Ishay's day sheet = soft see-through chip (user picked option A): icon + word in one pill, centred on the card */
@media (max-width: 899px) {
  .ds36.dm41 .ds36s .sw48 { align-self: center; justify-self: end; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: oklch(1 0 0 / .5); color: oklch(0.25 0.03 250); font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap; }
  .ds36.dm41 .ds36s .sw48 .ic { width: 18px; height: 18px; flex: none; }
}
/* r78: desktop availability row on a trainer's page = calendar-sized day cells, bigger icon + time */
@media (min-width: 1000px) {
  .av51r i { min-height: 104px; border-radius: 18px; gap: 6px; }
  .av51s { gap: 6px; } .av51s > span { font-size: 20px; }
  .av51r i.nv .ic, .av51r i.nv svg { width: 24px; height: 24px; }
}
/* r78: team sidebar list: hidden scrollbar + bottom fade while there's more to scroll */
.tw50sc { scrollbar-width: none; background: none; -webkit-mask-image: linear-gradient(#000 calc(100% - 56px), transparent); mask-image: linear-gradient(#000 calc(100% - 56px), transparent); }
.tw50sc::-webkit-scrollbar { display: none; }
.tw50sc.end { -webkit-mask-image: none; mask-image: none; }
/* r78: custom-hours line under a name lines up with the name (it's dir=ltr, so it used to sit on the left when the name was longer) */
.w3t > small[dir="ltr"] { justify-self: start; }
/* r79: cover sheet: scroll length stays constant while the header shrinks (no jitter) */
.sheet:has(.whobox > .hd54) .whobox > .cs-foot { margin-top: var(--hd79, 0px); }
/* r79: desktop cover sheet: colour band runs edge to edge from the very top, close X sits on top of it */
@media (min-width: 900px) {
  html.mg48 .sheet.side:has(.whobox > .hd54) { padding-top: 0 !important; }
  html.mg48 .sheet.side .hd54 { margin-inline: -32px !important; padding-inline: 32px !important; padding-top: 28px; }
  .sheet:has(.whobox > .hd54) > .sh-x { z-index: 8; position: sticky; top: 16px; inset-inline-end: auto; margin-inline-start: auto; margin-inline-end: -16px; margin-top: 16px; margin-bottom: -56px; flex: none; height: 40px; min-height: 40px; background: oklch(0.2 0.02 250 / .28); color: oklch(0.18 0.03 250); }
  .sheet:has(.whobox > .hd54) > .sh-x:hover { background: oklch(0.2 0.02 250 / .4); }
}
/* r80: "asked for a replacement" = information card (no button inside); close-request lives under the main button */
.rq80 { display: flex; align-items: center; gap: 12px; padding: 16px; margin: 0 0 8px; border-radius: 20px; background: color-mix(in oklab, oklch(0.82 0.14 75) 10%, var(--surface)); border: 1px solid color-mix(in oklab, oklch(0.82 0.14 75) 32%, transparent); }
.rq80 .i { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklab, oklch(0.82 0.14 75) 20%, transparent); color: oklch(0.62 0.14 70); }
.rq80 .i .ic { width: 20px; height: 20px; }
.rq80 .t { display: grid; gap: 4px; flex: 1; min-width: 0; text-align: start; }
.rq80 .t b { font-size: 16px; font-weight: 700; line-height: 1.2; } .rq80 .t small { font-size: 14px; color: var(--muted); line-height: 1.2; }
:root[data-theme="dark"] .rq80 .i { color: oklch(0.86 0.13 75); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rq80 .i { color: oklch(0.86 0.13 75); } }
/* r81: week-calendar shift labels (user pick: B2 swapped): usual hours small + light on top, shift name big below with the pixel icon on its baseline */
.w3l { display: grid !important; grid-template-columns: auto 1fr; grid-template-areas: "t t" "i n"; column-gap: 8px; row-gap: 6px; align-items: end; align-content: center; }
.w3l > span:last-child { display: contents !important; }
.w3l .w3i { grid-area: i; align-self: end; line-height: 0; }
.w3l .w3i svg { width: 20px !important; height: 20px !important; display: block; }
.w3l small { grid-area: t; justify-self: start; font-size: 13px !important; font-weight: 500 !important; color: var(--muted) !important; line-height: 1.1; font-variant-numeric: tabular-nums; }
.w3l b { grid-area: n; font-size: 18px !important; font-weight: 700 !important; color: var(--fg); line-height: .95 !important; }
/* r82: trainer page header (user pick 1): photo → 16 → name → 8 → status pill → 24 → one row of 48px actions (reminder joins it when not sent) → 32 → cards */
.tw50d .t50h { gap: 0 !important; padding-bottom: 0 !important; }
.tw50d .t50h > .av + h2, .tw50d .t50h > .av + .nm51 { margin-top: 16px !important; }
.tw50d .t50h h2 { margin-bottom: 0 !important; }
.tw50d .t50h .st82 { margin-top: 8px; display: flex; justify-content: center; }
.tw50d .t50a { margin-top: 24px !important; gap: 12px !important; align-items: center; flex-wrap: wrap; }
.tw50d .t50a .btn { height: 48px; min-height: 48px; }
.tw50d .t53k { margin-top: 12px !important; }
.p82 { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 15px; font-weight: 600; line-height: 1; }
.p82 .ic { width: 18px; height: 18px; }
.p82.ok { background: color-mix(in oklab, oklch(0.72 0.15 160) 16%, transparent); color: oklch(0.45 0.12 160); }
.p82.no { background: color-mix(in oklab, oklch(0.82 0.14 75) 18%, transparent); color: oklch(0.5 0.12 70); }
:root[data-theme="dark"] .p82.ok { color: oklch(0.84 0.14 160); } :root[data-theme="dark"] .p82.no { color: oklch(0.86 0.13 75); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .p82.ok { color: oklch(0.84 0.14 160); } :root:not([data-theme="light"]) .p82.no { color: oklch(0.86 0.13 75); } }
.btn.rm82 { background: oklch(0.82 0.14 75) !important; color: oklch(0.2 0.04 70) !important; border-color: transparent !important; font-weight: 700; }
/* r83: replacement sheet header A: one line (date | time + one icon, bottom-aligned), no "on shift" word, swap badge on the photo, "replace X" title; tick centred */
.sheet .hd54.h83,.hd54.h83{display:block;justify-self:stretch;align-self:start;padding:0!important;gap:0;text-align:center;background:color-mix(in oklab,var(--surface) 72%,transparent)}
.h83 .l83{width:100%;box-sizing:border-box;background:var(--c);color:var(--sh-ink,oklch(0.2 0.03 250));display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:calc(28px - 8px*var(--k)) 20px calc(16px - 4px*var(--k))}
.sheet.side .h83 .l83{padding-inline:24px}
.h83 .l83 .dt{font-size:16px;font-weight:600;line-height:24px;opacity:.9;max-height:none;overflow:visible;text-align:start}
.h83 .l83 .tm{display:flex;align-items:baseline;gap:8px;font:900 18px/1 Px71,Doto,monospace;letter-spacing:.02em;flex:none}
.h83 .w54{display:flex;flex-direction:column;align-items:center;gap:0;margin:0;padding:calc(24px - 12px*var(--k)) 20px calc(8px - 4px*var(--k))}
.h83 .a83{position:relative;display:block}
.hd54.h83 .w54 .av{width:calc(64px - 24px*var(--k))!important;height:calc(64px - 24px*var(--k))!important;box-shadow:none!important}
.h83 .bd83{position:absolute;bottom:-4px;inset-inline-end:-6px;width:28px;height:28px;border-radius:50%;background:oklch(0.82 0.14 75);color:oklch(0.22 0.03 60);display:grid;place-items:center;box-shadow:0 0 0 3px var(--surface);transform:scale(calc(1 - .3*var(--k)))}
.h83 .bd83 .ic{display:block;width:14px;height:14px;line-height:0}.h83 .bd83 .ic svg{width:14px;height:14px;display:block;stroke-width:2.6}
.hd54.h83 .w54 b{font-size:calc(22px - 5px*var(--k));font-weight:700;line-height:1.25;margin-top:calc(12px - 6px*var(--k))}
.hd54.h83 .w54 small{font-size:14px;font-weight:500;line-height:20px;margin-top:2px;max-height:calc(20px - 20px*var(--k))}
.wr.wr49 .rd .ic{display:block;width:16px;height:16px;line-height:0;margin:0}.wr.wr49 .rd .ic svg{display:block;width:16px;height:16px}
@media (min-width:900px){
  html.mg48 .sheet .hd54.h83{padding:0!important;margin-inline:-32px!important}
  html.mg48 .sheet .h83 .l83{padding:24px 32px 16px;padding-inline-end:80px}
}
/* r83: shift picker A: one row per day, three shift buttons, never-days in words */
.lk83n{display:flex;align-items:center;gap:8px;margin:16px 0 0;font-size:15px;font-weight:600;min-height:24px}
.lk83n i{width:10px;height:10px;border-radius:50%;box-shadow:inset 0 0 0 2px var(--muted);flex:none;transition:background .2s,box-shadow .2s}
.lk83n i.f{background:var(--primary);box-shadow:none}
.lk83n span{margin-inline-start:4px}
.lk83n.shake{animation:sh83 .35s}@keyframes sh83{25%{translate:-6px}50%{translate:6px}75%{translate:-3px}}
.lk83{display:grid;grid-template-columns:max-content repeat(3,minmax(0,1fr));gap:6px;align-items:center;margin-top:12px}
.lk83d{font-size:15px;font-weight:600;padding-inline-end:6px;color:var(--fg)}
.lk83c{height:44px;border-radius:14px;border:1px solid var(--line);background:transparent;color:var(--fg);display:flex;align-items:center;justify-content:center;gap:6px;font:inherit;font-size:14px;font-weight:600;padding:0 6px;min-width:0;cursor:pointer;transition:background .18s,border-color .18s,color .18s}
.lk83c span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lk83c .pxic{color:var(--c);flex:none}
.lk83c.on{background:var(--c);border-color:transparent;color:oklch(0.22 0.03 250)}
.lk83c.on .pxic{color:currentColor}
.lk83c:active{scale:.97}
.lk83e{height:44px}
.lk83x{grid-column:span 3;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;color:var(--muted);background:repeating-linear-gradient(135deg,var(--sunk,oklch(0.5 0 0 / .08)) 0 8px,transparent 8px 16px);box-shadow:inset 0 0 0 1px var(--line)}
.lk83x .pxic{color:oklch(0.65 0.15 20)}
/* r86: preferred shifts one pick at a time */
.lk86s{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:16px}
.lk86b{height:48px;border-radius:14px;border:1.5px dashed var(--line);display:flex;align-items:center;justify-content:center;gap:6px;padding:0 8px;font:inherit;font-size:13px;font-weight:600;color:var(--muted);background:none;min-width:0;transition:background .25s var(--spring),border-color .25s}
.lk86b b{font:900 17px/1 Px71,Doto,monospace}
.lk86b.now{border:2px solid var(--fg);color:var(--fg)}
.lk86b.done{border:none;background:var(--c);color:oklch(0.22 0.03 250);cursor:pointer}
.lk86b.done span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lk86b .pxic{flex:none}
.lk86p.in{animation:enter var(--dur) var(--spring) both}.lk86p.in.back{animation-name:enter-back}
.lk86t{font-size:24px;font-weight:700;line-height:1.25;margin:24px 0 0}
.lk86p .sub{margin-top:4px}
.lk86l{display:flex;flex-direction:column;gap:8px;margin-top:16px}
.lk86d{border-radius:16px;box-shadow:inset 0 0 0 1px var(--line);transition:box-shadow .25s}
.lk86d.open{box-shadow:inset 0 0 0 2px var(--fg)}
.lk86h{width:100%;height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;background:none;border:0;color:var(--fg);font:inherit;font-size:16px;font-weight:600;cursor:pointer}
.lk86h .chev{width:18px;height:18px;color:var(--muted);transition:rotate 280ms var(--spring)}
.lk86d.open .lk86h .chev{rotate:180deg}
.lk86o{display:flex;flex-direction:column;gap:8px;padding:0 12px 12px}
.lk86c{height:52px;border-radius:12px;border:1px solid var(--line);background:none;display:flex;align-items:center;gap:12px;padding:0 12px;color:var(--fg);font:inherit;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.lk86c .pxic{color:var(--c);flex:none}
.lk86c b{flex:1;text-align:start;font-size:16px;font-weight:600}
.lk86c .t{font:900 17px/1 Px71,Doto,monospace;color:var(--muted)}
.lk86c.on{background:var(--c);border-color:transparent;color:oklch(0.22 0.03 250)}
.lk86c.on .pxic,.lk86c.on .t{color:currentColor}
.lk86c:active{scale:.98}
.lk86d.off,.lk86d.used{height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;font-size:16px}
.lk86d.off{box-shadow:none;border:1.5px dashed var(--line);color:var(--muted)}
.lk86d.used{box-shadow:none;background:var(--sunk,oklch(0.5 0 0 / .08));color:var(--muted)}
.lk86d small{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600}
.lk86d.used small{color:var(--fg)}
.lk86d small i{width:20px;height:20px;border-radius:50%;background:var(--c);color:oklch(0.22 0.03 250);display:grid;place-items:center;font:900 12px/1 Px71,Doto,monospace;font-style:normal}
.lk86r{display:flex;flex-direction:column;gap:8px;margin-top:24px}
.lk86rr{min-height:68px;border-radius:16px;background:var(--c);color:oklch(0.22 0.03 250);display:flex;align-items:center;gap:12px;padding:0 8px 0 16px}
[dir="rtl"] .lk86rr{padding:0 16px 0 8px}
.lk86rr .n{width:28px;height:28px;border-radius:50%;background:oklch(0.22 0.03 250 / .14);display:grid;place-items:center;font:900 14px/1 Px71,Doto,monospace;flex:none}
.lk86rr .x{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.lk86rr b{font-size:16px;font-weight:700}
.lk86rr small{font-size:14px;opacity:.8;display:flex;align-items:baseline;gap:4px}
.lk86rr small .t{font:900 15px/1 Px71,Doto,monospace}
.lk86rr .pxic{flex:none}
.lk86ch{min-height:44px;padding:0 8px;background:none;border:0;color:inherit;font:inherit;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.lk86b,.lk86c,.lk86h{flex-direction:row!important}
.lk86rr{align-items:center!important}
.lk86b .pxic,.lk86c .pxic,.lk86rr .pxic{display:block}
/* r87: centred pixel digits in the pick badges */
.pxd87{display:block;flex:none}
.lk86b{display:flex;align-items:center;justify-content:center}
.lk86d small i,.lk86rr .n{display:grid;place-items:center;line-height:0}
/* r89 countdown hero: a = recessed glass, b = recessed with pixel bar, c = no box, groove bar */
.hh89{display:flex;flex-direction:column}
.hh89 .k{font-size:15px;font-weight:600;opacity:.85}
.hh89 .big{font-size:26px;font-weight:700;line-height:1.15;margin:4px 0 14px}
.hh89 .bx{display:flex;flex-direction:column;gap:16px;padding:18px 18px 16px;border-radius:18px;background:oklch(0.2 0.06 28 / .26);box-shadow:inset 0 2px 6px oklch(0.12 0.05 25 / .45),inset 0 1px 1px oklch(0.1 0.05 25 / .35),0 1px 0 oklch(1 0 0 / .18)}
.hh89.v-c .bx,.hh89.v-d .bx,.hh89.v-e .bx,.hh89.v-f .bx,.hh89.v-g .bx{background:none;box-shadow:none;padding:0;gap:14px}
.hh89.v-b,.hh89.v-d{align-items:center;text-align:center}
.hh89.v-b .bx,.hh89.v-d .bx{align-self:stretch}
.hh89 .r{display:flex;justify-content:space-between;align-items:flex-end}
.hh89 .tt{display:flex;align-items:baseline;gap:2px}
.hh89 .r .t{font-family:"Px71",monospace;font-weight:900;font-size:48px;line-height:1;letter-spacing:.02em}
.hh89 .r .t.s{font-size:22px;opacity:.7}
.hh89 .r .pxic{flex:none}
.hh89 .bar{display:flex;align-items:center;gap:10px}
.hh89 .bar>.t{font-family:"Px71",monospace;font-weight:900;font-size:13px;line-height:1;opacity:.85}
.hh89 .tr{position:relative;flex:1;height:8px;border-radius:2px;background:oklch(1 0 0 / .16);overflow:visible}
.hh89.v-c .tr,.hh89.v-d .tr,.hh89.v-e .tr,.hh89.v-f .tr,.hh89.v-g .tr{height:10px;background:oklch(0.2 0.06 28 / .3);box-shadow:inset 0 1px 3px oklch(0.12 0.05 25 / .5),0 1px 0 oklch(1 0 0 / .16)}
.hh89 .tr i{position:absolute;top:0;bottom:0;inset-inline-end:0;border-radius:2px;background:linear-gradient(to left,oklch(1 0 0 / .1),oklch(1 0 0 / .55) 55%,#fff);transition:width 900ms linear}
[dir="rtl"] .hh89 .tr i{background:linear-gradient(to right,oklch(1 0 0 / .1),oklch(1 0 0 / .55) 55%,#fff)}
.hh89 .tr i::after{content:"";position:absolute;inset-inline-start:-8px;top:50%;width:18px;height:20px;transform:translateY(-50%);background:radial-gradient(closest-side,oklch(1 0.02 60 / .75),transparent);filter:blur(2px)}
.hh89 .px89{flex:1;display:flex;gap:3px;flex-direction:row-reverse}
.hh89 .px89 i{flex:1;height:8px;background:oklch(1 0 0 / .14)}
.hh89 .px89 i.on{background:#fff}
.hh89 .px89 i.on:has(+ i:not(.on)){box-shadow:0 0 8px oklch(1 0.02 60 / .8)}
.hh89 .nx89{margin-top:14px;display:flex;align-items:center;gap:10px;align-self:flex-start;padding:6px 18px 6px 6px;border-radius:999px;background:oklch(1 0 0 / .12);box-shadow:inset 0 0 0 1px oklch(1 0 0 / .1)}
[dir="rtl"] .hh89 .nx89{padding:6px 6px 6px 18px}
.hh89.v-b .nx89,.hh89.v-d .nx89{align-self:center}
.hh89.v-b .r,.hh89.v-d .r{justify-content:center;gap:18px}
.hh89 .nx89.none{background:none;box-shadow:none;padding:0}
.hh89 .nx89 .av{flex:none;box-shadow:0 0 0 2px oklch(1 0 0 / .5)}
.hh89 .nx89 .w{flex:1;display:flex;flex-direction:column;gap:1px;text-align:start;line-height:1.2}
.hh89 .nx89 small{font-size:13px;opacity:.75}
.hh89 .nx89 b{font-size:17px;font-weight:600}
.hh89 .nx89 .h{font-family:"Px71",monospace;font-weight:900;font-size:17px;opacity:.9}

/* r89 round 3: a = box with small shift-colour icon in its corner; c = plain, no icon; e = icon by the top line; f = icon beside the title */
.hh89 .bx{position:relative}
.hh89 .r{justify-content:flex-end}
.hh89.v-a .bx>.ic89{position:absolute;top:14px;inset-inline-start:16px}
.hh89.v-a .bx{padding-top:30px}
.hh89 .ic89 .pxic{display:block}
.hh89 .k{display:flex;align-items:center;gap:8px}
.hh89 .bt{display:flex;align-items:center;justify-content:space-between;margin:4px 0 14px}
.hh89 .bt .big{margin:0}
.hh89.v-f .bt .ic89 .pxic{width:30px;height:30px}
.hh89 .nx89.n-r{background:none;box-shadow:none;padding:12px 0 0;border-radius:0;align-self:stretch;border-top:1px solid oklch(1 0 0 / .2);gap:10px;font-size:16px}
.hh89 .nx89.n-r b{font-size:16px}
.hh89 .nx89.n-h small .t{font-family:"Px71",monospace;font-weight:900;font-size:13px}
.hh89 .nx89.n-s{background:none;box-shadow:none;padding:0;gap:12px;font-size:16px}
.hh89 .nx89.n-s b{font-size:16px}
.hh89 .nx89.n-s .pr{display:flex;align-items:center}
.hh89 .nx89.n-s .pr .av:first-child{opacity:.55;box-shadow:none}
.hh89 .nx89.n-s .pr .av+.av{margin-inline-start:-10px}
.hh89.v-c .r,.hh89.v-e .r,.hh89.v-f .r,.hh89.v-g .r{justify-content:flex-start}
.hh89 .ch89{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px 0 10px;box-sizing:border-box;line-height:1;border-radius:10px;background:color-mix(in oklch,var(--c),black 28%);color:#fff;font-size:14px;font-weight:600;box-shadow:inset 0 1px 0 oklch(1 0 0 / .2);flex:none}
[dir="rtl"] .hh89 .ch89{padding:0 10px 0 12px}
.hh89 .ch89 .pxic{display:block;flex:none}
.hh89 .ch89 .ci{display:inline-flex;align-items:flex-end;gap:6px;height:18px;transform:translateY(-2px)} /* r97: icon + word centred as one block; the block is exactly the icon box, the word sits on its bottom line */
.hh89 .ch89 .ci>span{line-height:1;margin-bottom:-.13em}
.hh89 .ch89 .ci .pxic{display:block;flex:none}
.hh89.v-g .r:has(.ch89){justify-content:space-between;align-items:flex-end}
.hh89.v-g .k .ch89{align-self:flex-start}
.hh89.v-g>.ch89{align-self:flex-start}
.hh89 .bt[hidden]{display:none}
.hh89 .r .ul{font-size:20px;font-weight:600;line-height:1;margin-inline-start:14px;padding-bottom:2px;white-space:nowrap}
.hh89.v-g .k:has(.ch89){margin-bottom:16px}
.hh89.v-g .r:has(.tc){justify-content:space-between;align-items:flex-end}
.hh89 .tc{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.hh89 .tc .ul2{font-size:17px;font-weight:600;opacity:.9;line-height:1.1}
.hh89 .tc .tt{align-self:flex-start}
.hh89.v-g .r:has(.tc) .ch89{margin-bottom:-2px}
.hh89.v-g.ch-f .r:has(.tc){align-items:flex-start}
.hh89.v-g.ch-f .r:has(.tc) .ch89{margin:16px 0 0}
/* r99 preview: j = bar beside the time (one row), k = bar right under the time */
.hh89.ch-j .bt .big,.hh89.ch-k .bt .big{font-size:22px;font-weight:700;margin:0}
.hh89.ch-j .bt,.hh89.ch-k .bt{margin:0 0 12px}
.hh89.ch-j .r{align-items:center;gap:16px}
.hh89.ch-j .r .bar{flex:1;min-width:0}
.hh89.ch-k .bx{gap:12px}
.hh89.ch-j .nx89.n-r,.hh89.ch-k .nx89.n-r{margin-top:20px;padding-top:16px}
.hh89 .ft89{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;padding-top:16px;border-top:1px solid oklch(1 0 0 / .2)}
.hh89 .ft89 .nx89.n-r{margin:0;padding:0;border:0}
/* r100: smaller, lighter chip to sit level with the 28px avatar line */
.hh89 .ch89{height:28px;padding:0 10px 0 8px;border-radius:8px;font-size:13px;gap:5px}
[dir="rtl"] .hh89 .ch89{padding:0 8px 0 10px}
.hh89 .ch89 .ci{height:14px;gap:5px;transform:translateY(-1px)}

/* r101: handover hero: avatar of who takes over, plain-font time, bar fills up with the shift (same look as the countdown bar) */
.hd101{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.hd101 .av101{flex:none;display:flex;border-radius:50%;box-shadow:0 0 0 3px oklch(1 0 0 / .85)}
.hb101{position:relative;height:10px;border-radius:2px;margin-top:2px;background:oklch(0.2 0.06 28 / .3);box-shadow:inset 0 1px 3px oklch(0.12 0.05 25 / .5),0 1px 0 oklch(1 0 0 / .16)}
.hb101 i{position:absolute;top:0;bottom:0;inset-inline-start:0;border-radius:2px;background:linear-gradient(to right,oklch(1 0 0 / .1),oklch(1 0 0 / .55) 55%,#fff);transition:width 900ms linear}
[dir="rtl"] .hb101 i{background:linear-gradient(to left,oklch(1 0 0 / .1),oklch(1 0 0 / .55) 55%,#fff)}
.hb101 i::after{content:"";position:absolute;inset-inline-end:-8px;top:50%;width:18px;height:20px;transform:translateY(-50%);background:radial-gradient(closest-side,oklch(1 0.02 60 / .75),transparent);filter:blur(2px)}
/* r104: pickable with a warning (weekly max / short rest) */
.wr53.wn104 .wn104t{display:inline-flex;align-items:center;gap:4px;color:oklch(0.8 0.14 70)}
.wr53.wn104 .wn104t svg{flex:none}
/* audit: trainer page actions never overlap. Equal columns, icon above label (contact-card pattern), one row at any width */
.t50a { display: grid !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px !important; width: 100%; max-width: 360px; margin-inline: auto; }
.t50a .btn { flex-direction: column; gap: 4px !important; min-height: 64px !important; height: auto !important; padding: 10px 6px !important; border-radius: 18px !important; font-size: 14px; line-height: 1.15; white-space: nowrap; min-width: 0; }
.t50a .btn > * { flex: none; }
/* audit: on desktop the centred dialog sizes to its content instead of 66% of the screen */
@media (min-width: 700px) { .sheet:has(.ds45) { min-height: 0; } }
/* audit: "עריכה" link gets a full 44px tap area without changing how it looks */
.h46 .link { min-height: 44px; min-width: 44px; padding-inline: 8px; margin-block: -8px; display: inline-flex; align-items: center; justify-content: center; }
/* r106: trainer page availability = the trainer's own send-screen cards */
.av51.av6 { display: grid; gap: 16px; }
.av6g2 { display: grid; gap: 8px; }
.av6g2 > small { font-size: 14px; color: var(--muted); }
.av6n i { gap: 6px; }
.cu108 { display: inline-flex; align-self: start; justify-self: start; align-items: center; gap: 6px; margin: -6px 0 4px; padding: 6px 12px; border-radius: 999px; background: var(--sunk); color: var(--fg); font-size: 15px; font-weight: 500; line-height: 1; width: fit-content; }
/* r108 preview: month cycle status */
.mfa, .mfc { background: var(--surface); border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line); padding: 16px; display: grid; gap: 14px; }
.mf-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.mf-h > b { font-size: 17px; font-weight: 700; }
.mf-h .link { min-height: 44px; margin-block: -8px; display: inline-flex; align-items: center; padding-inline: 8px; }
.mf-st { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.mf-st li { position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; font-size: 13px; color: var(--muted); }
.mf-st li::before { content: ""; position: absolute; top: 13px; inset-inline-start: 50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.mf-st li:last-child::before { display: none; }
.mf-st li.done::before { background: var(--primary); }
.mf-st i { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-style: normal; font-size: 13px; font-weight: 700; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line); color: var(--muted); }
.mf-st li.done i { background: var(--primary); box-shadow: none; color: var(--on-primary, #fff); }
.mf-st li.cur i { box-shadow: inset 0 0 0 2px var(--primary), 0 0 0 4px color-mix(in oklab, var(--primary) 18%, transparent); color: var(--primary); }
.mf-st li.done, .mf-st li.cur { color: var(--fg); font-weight: 600; }
.mf-st small { font-size: 12px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.mf-s { margin: 0; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: var(--sunk); font-size: 15px; font-weight: 500; }
.mfb { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.mfb[disabled] { cursor: default; }
.mfb .mi { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in oklab, var(--primary) 16%, transparent); color: var(--primary); flex: none; }
.mfb.lock .mi { background: var(--sunk); color: var(--muted); }
.mfb .grow { flex: 1; display: grid; gap: 2px; min-width: 0; }
.mfb b { font-size: 16px; font-weight: 600; } .mfb small { font-size: 14px; color: var(--muted); }
.mfb .link { color: var(--primary); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.mf-chip { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: color-mix(in oklab, var(--primary) 16%, transparent); color: var(--primary); line-height: 1; }
.mf-chip.lock { background: var(--sunk); color: var(--muted); }
.mf-g { display: grid; gap: 8px; } .mf-g > small { font-size: 13px; color: var(--muted); }
.mfc .dc47 { gap: 6px; } .mfc .dc47 i { width: 48px; height: 60px; border-radius: 12px; } .mfc .dc47 b { font-size: 17px; } .mfc .dc47.pf57 i.s b { font-size: 18px; } .mfc .dc47 em, .mfc .dc47.pf57 i.s em { font-size: 10.5px; }
.mf-f { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.mf-btn { width: auto !important; min-height: 44px !important; height: 44px; padding: 0 16px !important; flex: none; gap: 6px; font-size: 15px; }
.mf-st li { align-content: start; grid-template-rows: 28px auto auto; }
.mf-st li, .mf-st li.done, .mf-st li.cur { padding: 0 !important; margin: 0 !important; background: none !important; }
/* r108b: status row styles */
.mfb1 { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; margin-top: 14px; padding: 8px 8px 8px 14px; padding-inline: 14px 8px; border-radius: 18px; background: rgba(255,255,255,.16); color: #fff; }
.mfb1[disabled] { cursor: default; }
.mfb1 .grow { flex: 1; display: grid; gap: 1px; min-width: 0; } .mfb1 b { font-size: 15px; font-weight: 600; } .mfb1 small { font-size: 13px; opacity: .85; }
.mfb1 .pl { flex: none; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; color: #2a1410; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; }
.mfb2 { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 14px; border-radius: 24px; --a: oklch(0.96 0.035 170); --b: oklch(0.90 0.07 165); --ink: oklch(0.34 0.07 168); background: linear-gradient(155deg, var(--a), var(--b)); color: var(--ink); }
.mfb2.lock { --a: oklch(0.96 0.03 255); --b: oklch(0.90 0.06 260); --ink: oklch(0.36 0.1 262); cursor: default; }
.mfb2 .ib { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.7); flex: none; }
.mfb2 .grow { flex: 1; display: grid; gap: 2px; min-width: 0; } .mfb2 b { font-size: 16px; font-weight: 700; } .mfb2 small { font-size: 14px; opacity: .8; }
.mfb2 .go { flex: none; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; color: #fff; background: var(--ink); }
[data-theme="dark"] .mfb2 { --a: oklch(0.33 0.05 170); --b: oklch(0.26 0.05 170); --ink: oklch(0.92 0.06 165); } [data-theme="dark"] .mfb2.lock { --a: oklch(0.33 0.05 258); --b: oklch(0.26 0.05 262); --ink: oklch(0.92 0.05 255); } [data-theme="dark"] .mfb2 .ib { background: rgba(255,255,255,.1); } [data-theme="dark"] .mfb2 .go { color: #1a1a1a; }
.mfb3 { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 14px; min-height: 80px; padding: 12px 16px; border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.mfb3[disabled] { cursor: default; }
.mfb3 .dg { flex: none; display: grid; justify-items: center; min-width: 56px; padding-inline-end: 14px; border-inline-end: 1px solid var(--line); }
.mfb3 .dg b { font: 900 34px/1 "Px71", "Doto", monospace; letter-spacing: .02em; color: var(--primary); }
.mfb3.lock .dg b { font-size: 24px; color: var(--fg); }
.mfb3 .dg small { font-size: 12px; color: var(--muted); margin-top: 4px; }
.mfb3 .grow { flex: 1; display: grid; gap: 3px; min-width: 0; } .mfb3 .grow > b { font-size: 16px; font-weight: 700; }
.mfb3 .grow small { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--muted); }
.mfb3 .ch { flex: none; display: inline-flex; align-items: center; gap: 2px; color: var(--primary); font-weight: 600; font-size: 15px; min-height: 44px; }
.mfb4 { margin: -6px 0 -4px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; font-size: 14px; color: var(--muted); text-align: center; }
.mfb4 .ic { color: var(--primary); } .mfb4.lock .ic { color: var(--muted); }
.mfb4 .link { min-height: 44px; display: inline-flex; align-items: center; padding-inline: 6px; color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.mfb2 .bar { display: block; height: 6px; margin-top: 6px; border-radius: 6px; background: color-mix(in oklab, var(--ink) 16%, transparent); overflow: hidden; }
.mfb2 .bar i { display: block; height: 100%; border-radius: 6px; background: var(--ink); margin-inline-start: auto; }
.hh-with.sw { gap: 8px; } .sw108 { font-size: 14px; opacity: .85; }
.mfb2 .bar i { margin-inline-start: 0; }
/* r108d: status card layout */
.mfb2 { display: grid !important; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; column-gap: 12px; row-gap: 14px; padding: 16px !important; min-height: 0 !important; }
.mfb2 .ib { grid-row: 1; margin: 0; }
.mfb2 .tx { display: grid; gap: 2px; min-width: 0; } .mfb2 .tx b { font-size: 16px; font-weight: 700; line-height: 1.25; } .mfb2 .tx small { font-size: 14px; opacity: .8; line-height: 1.3; }
.mfb2 .go { align-self: center; height: 36px; padding: 0 16px !important; display: inline-flex; align-items: center; }
.mfb2 .bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; height: auto; margin: 0; background: none; border-radius: 0; overflow: visible; }
.mfb2 .bar .tr { position: relative; flex: 1; height: 10px; border-radius: 2px; background: color-mix(in oklab, var(--ink) 16%, transparent); box-shadow: inset 0 1px 2px color-mix(in oklab, var(--ink) 30%, transparent); }
.mfb2 .bar .tr i { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; border-radius: 2px; background: linear-gradient(to right, color-mix(in oklab, var(--ink) 25%, transparent), var(--ink)); margin: 0; width: auto; }
[dir="rtl"] .mfb2 .bar .tr i { background: linear-gradient(to left, color-mix(in oklab, var(--ink) 25%, transparent), var(--ink)); }
.mfb2 .bar .t { font: 900 13px/1 "Px71", monospace; letter-spacing: .02em; opacity: .85; flex: none; }
.mf108s { margin: 4px 0 12px; } .es64 .mf108s { width: 100%; margin: 12px 0 4px; text-align: start; }
.mfb2 .bar .tr i { background: linear-gradient(to left, color-mix(in oklab, var(--ink) 25%, transparent), var(--ink)); }
[dir="rtl"] .mfb2 .bar .tr i { background: linear-gradient(to right, color-mix(in oklab, var(--ink) 25%, transparent), var(--ink)); }
/* r108e: bar glow (works on light too), same-day list, December page */
.mfb2 .bar .tr i, .bar108 .tr i { overflow: visible; }
.mfb2 .bar .tr i::after, .bar108 .tr i::after { content: ""; position: absolute; inset-inline-start: -7px; top: 50%; width: 16px; height: 22px; transform: translateY(-50%); background: radial-gradient(closest-side, color-mix(in oklab, var(--glow, var(--primary)) 85%, white), transparent); filter: blur(2px); animation: gl108 2.4s ease-in-out infinite; }
.mfb2 { --glow: oklch(0.72 0.17 160); } .mfb2 .bar .tr i { background: linear-gradient(to left, oklch(0.6 0.13 165 / .35), oklch(0.5 0.13 165)) !important; }
[dir="rtl"] .mfb2 .bar .tr i { background: linear-gradient(to right, oklch(0.6 0.13 165 / .35), oklch(0.5 0.13 165)) !important; }
[data-theme="dark"] .mfb2 .bar .tr i { background: linear-gradient(to left, oklch(0.8 0.12 165 / .3), oklch(0.88 0.12 165)) !important; } [dir="rtl"][data-theme="dark"] .mfb2 .bar .tr i, [data-theme="dark"] [dir="rtl"] .mfb2 .bar .tr i { background: linear-gradient(to right, oklch(0.8 0.12 165 / .3), oklch(0.88 0.12 165)) !important; }
@keyframes gl108 { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
.hh-with.sw { display: none; flex-direction: column; align-items: stretch; gap: 0; } .hh-with.sw.on { display: flex; }
.sw108b { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; align-self: flex-start; }
.sw108b .ic { transition: transform 280ms var(--spring); opacity: .85; } .hh-with.open .sw108b .ic { transform: rotate(180deg); }
.sw108l { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 320ms cubic-bezier(.2, .8, .2, 1); }
.hh-with.open .sw108l { grid-template-rows: 1fr; }
.sw108i { overflow: hidden; display: grid; gap: 8px; }
.hh-with.open .sw108i { padding: 4px 0 6px; }
.sw108r { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.sw108r b { flex: 1; font-weight: 600; }
.sw108c { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.18); }
.sw108c .t { font: 900 14px/1 "Px71", monospace; letter-spacing: .02em; }
.es108 { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 40px 8px 24px; max-width: 360px; margin: 0 auto; }
.es108 h2 { margin: 12px 0 0; font-size: 24px; font-weight: 700; line-height: 1.25; text-wrap: balance; }
.es108 > p { margin: 0; font-size: 16px; color: var(--muted); }
.es108 .px108 { color: var(--primary); }
.es108.lock .px108 { color: oklch(0.52 0.15 295); }
.bar108 { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 10px; }
.bar108 .tr { position: relative; flex: 1; height: 10px; border-radius: 2px; background: color-mix(in oklab, var(--primary) 16%, transparent); box-shadow: inset 0 1px 2px color-mix(in oklab, var(--primary) 30%, transparent); }
.bar108 .tr i { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; border-radius: 2px; background: linear-gradient(to left, color-mix(in oklab, var(--primary) 30%, transparent), var(--primary)); }
[dir="rtl"] .bar108 .tr i { background: linear-gradient(to right, color-mix(in oklab, var(--primary) 30%, transparent), var(--primary)); }
.bar108 .t { font: 900 13px/1 "Px71", monospace; color: var(--muted); }
.es108o { font-size: 14px !important; }
.es108b { margin-top: 18px; width: 100%; }
.px108.snd .pl { animation: snd108 2.2s cubic-bezier(.3, 0, .2, 1) infinite; }
[dir="rtl"] .px108.snd { transform: scaleX(-1); }
@keyframes snd108 { 0% { transform: translateX(-2px); opacity: 0; } 15% { opacity: 1; } 60% { transform: translateX(0); opacity: 1; } 85%, 100% { transform: translateX(3px); opacity: 0; } }
.px108.lift .up { animation: up108 1.6s steps(1) infinite; } .px108.lift .dn { animation: dn108 1.6s steps(1) infinite; }
@keyframes up108 { 0%, 49% { opacity: 0; } 50%, 100% { opacity: 1; } } @keyframes dn108 { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .px108 *, .mfb2 .bar .tr i::after, .bar108 .tr i::after { animation: none !important; } .px108.lift .dn { opacity: 0; } .sw108l { transition: none; } }
.bar108 { --glow: oklch(0.72 0.17 160); }
/* r108f: same-day faces slide into rows (replaces r108e list) */
.sw108l { display: none !important; }
.sw108b { --row: 38px; --dx: -20px; position: relative; display: block !important; width: 100%; height: 30px; min-height: 30px !important; padding: 7px 0; margin: -7px 0; box-sizing: content-box; transition: height 360ms cubic-bezier(.2, .8, .2, 1); }
[dir="ltr"] .sw108b { --dx: 20px; }
.hh-with.open .sw108b { height: calc(var(--n) * var(--row) - 8px); }
.sw108r { position: absolute; inset-inline: 0; top: 7px; height: 30px; display: flex; align-items: center; gap: 10px; transform: translate(calc(var(--i) * var(--dx)), 0); transition: transform 360ms cubic-bezier(.2, .8, .2, 1); z-index: calc(10 - var(--i)); }
.hh-with.open .sw108r { transform: translate(0, calc(var(--i) * var(--row))); }
.sw108r .av { flex: none; box-shadow: 0 0 0 2px rgba(0,0,0,.25); }
.sw108r b, .sw108r .sw108c { opacity: 0; transition: opacity 200ms ease-out; pointer-events: none; }
.hh-with.open .sw108r b, .hh-with.open .sw108r .sw108c { opacity: 1; transition: opacity 240ms ease-out 160ms; }
.sw108r b { flex: 1; font-size: 15px; font-weight: 600; white-space: nowrap; }
.sw108c { display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.18); }
.sw108c .in { display: inline-flex; align-items: flex-end; gap: 6px; line-height: 1; }
.sw108c .t { font: 900 14px/1 "Px71", monospace; letter-spacing: .02em; display: block; }
.sw108c .pxic { display: block; }
.sw108b > .sw108 { position: absolute; top: 7px; height: 30px; display: flex; align-items: center; inset-inline-start: calc(30px + (var(--n) - 1) * 20px + 10px); transition: opacity 200ms; }
.hh-with.open .sw108b > .sw108 { opacity: 0; }
.sw108b > .ic { position: absolute; top: 14px; inset-inline-start: calc(30px + (var(--n) - 1) * 20px + 10px + 4.6em); transition: transform 300ms var(--spring), inset-inline-start 360ms cubic-bezier(.2, .8, .2, 1); }
.hh-with.open .sw108b > .ic { display: none; }
/* bar: no extra glow dot; dark tail to bright tip in light mode, like the on-shift bar */
.mfb2 .bar .tr i::after, .bar108 .tr i::after { content: none !important; }
:root:not([data-theme="dark"]) .mfb2 .bar .tr { background: oklch(0.35 0.07 168 / .14) !important; box-shadow: inset 0 1px 3px oklch(0.3 0.07 168 / .35), 0 1px 0 oklch(1 0 0 / .6) !important; }
.mfb2 .bar .tr i { background: linear-gradient(to left, oklch(0.42 0.09 168 / .25), oklch(0.5 0.12 166) 50%, oklch(0.78 0.16 160)) !important; }
[dir="rtl"] .mfb2 .bar .tr i { background: linear-gradient(to right, oklch(0.42 0.09 168 / .25), oklch(0.5 0.12 166) 50%, oklch(0.78 0.16 160)) !important; }
.bar108 .tr i { background: linear-gradient(to left, oklch(0.42 0.09 168 / .25), oklch(0.5 0.12 166) 50%, oklch(0.78 0.16 160)) !important; }
[dir="rtl"] .bar108 .tr i { background: linear-gradient(to right, oklch(0.42 0.09 168 / .25), oklch(0.5 0.12 166) 50%, oklch(0.78 0.16 160)) !important; }
/* r108f motion: one spring (the app's Apple-style --spring) for faces, height and the buttons below, both ways */
.sw108b { transition: height 380ms var(--spring); }
.sw108r { transition: transform 380ms var(--spring); }
.hh-with.open .sw108b { transition: height 450ms var(--spring); }
.hh-with.open .sw108r { transition: transform 450ms var(--spring); }
.sw108r b, .sw108r .sw108c { transition: opacity 120ms ease-out; }
.hh-with.open .sw108r b, .hh-with.open .sw108r .sw108c { transition: opacity 220ms ease-out 180ms; }
.sw108b > .sw108, .sw108b > .ic { transition: opacity 180ms ease-out 240ms; }
.hh-with.open .sw108b > .sw108 { transition: opacity 100ms ease-out; }
.hh-with.open .sw108b > .ic { display: block; opacity: 0; transition: opacity 100ms ease-out; }
@media (prefers-reduced-motion: reduce) { .sw108b, .sw108r, .hh-with.open .sw108b, .hh-with.open .sw108r { transition: none !important; } }
/* r108g: hairline above same-day row, like the on-shift hero */
.hh-with.sw.on { border-top: 1px solid oklch(1 0 0 / .2); padding-top: 14px; }
/* r108g preview: light card colour options (icon_mfc 1|2|3) */
:root:not([data-theme="dark"]) .mfc1 .mfb2 { --a: oklch(0.99 0.004 165); --b: oklch(0.99 0.004 165); --ink: oklch(0.36 0.07 168); background: var(--card, #fff); box-shadow: 0 1px 2px oklch(0.3 0.03 165 / .08), 0 6px 20px oklch(0.3 0.03 165 / .06); }
:root:not([data-theme="dark"]) .mfc1 .mfb2 .ib { background: oklch(0.95 0.04 165); }
:root:not([data-theme="dark"]) .mfc1 .mfb2 .bar .tr { background: oklch(0.93 0.01 165) !important; box-shadow: inset 0 1px 2px oklch(0.3 0.03 165 / .18) !important; }
:root:not([data-theme="dark"]) .mfc1 .mfb2 .bar .tr i { background: linear-gradient(to right, oklch(0.55 0.11 166 / .15), oklch(0.6 0.13 165)) !important; }
:root:not([data-theme="dark"]) [dir="ltr"] .mfc1 .mfb2 .bar .tr i { background: linear-gradient(to left, oklch(0.55 0.11 166 / .15), oklch(0.6 0.13 165)) !important; }
/* 2: dark card, same as dark mode, in light mode too */
:root:not([data-theme="dark"]) .mfc2 .mfb2 { --a: oklch(0.33 0.05 170); --b: oklch(0.26 0.05 170); --ink: oklch(0.92 0.06 165); }
:root:not([data-theme="dark"]) .mfc2 .mfb2 .ib { background: rgba(255,255,255,.1); }
:root:not([data-theme="dark"]) .mfc2 .mfb2 .go { color: #1a1a1a; }
:root:not([data-theme="dark"]) .mfc2 .mfb2 .bar .tr { background: oklch(1 0 0 / .1) !important; box-shadow: inset 0 1px 2px oklch(0 0 0 / .4) !important; }
:root:not([data-theme="dark"]) .mfc2 .mfb2 .bar .tr i { background: linear-gradient(to right, oklch(0.8 0.12 165 / .3), oklch(0.88 0.12 165)) !important; }
:root:not([data-theme="dark"]) [dir="ltr"] .mfc2 .mfb2 .bar .tr i { background: linear-gradient(to left, oklch(0.8 0.12 165 / .3), oklch(0.88 0.12 165)) !important; }
/* 3: neutral grey card (app surface), bar in the app's dark ink */
:root:not([data-theme="dark"]) .mfc3 .mfb2 { --a: oklch(0.95 0.005 165); --b: oklch(0.92 0.006 165); --ink: oklch(0.25 0.02 165); }
:root:not([data-theme="dark"]) .mfc3 .mfb2 .ib { background: #fff; color: oklch(0.5 0.12 165); }
:root:not([data-theme="dark"]) .mfc3 .mfb2 .bar .tr { background: oklch(0.86 0.006 165) !important; box-shadow: inset 0 1px 2px oklch(0 0 0 / .15) !important; }
:root:not([data-theme="dark"]) .mfc3 .mfb2 .bar .tr i { background: linear-gradient(to right, oklch(0.3 0.02 165 / .2), oklch(0.28 0.02 165)) !important; }
:root:not([data-theme="dark"]) [dir="ltr"] .mfc3 .mfb2 .bar .tr i { background: linear-gradient(to left, oklch(0.3 0.02 165 / .2), oklch(0.28 0.02 165)) !important; }
/* r108h: status directions 5-8 (icon_mfb). Shared glowing bar: dark track, fill fades in toward a bright tip, the bloom is a drop-shadow on the fill so it is strongest where the fill is brightest */
.mf6 { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 14px; width: 100%; color: #fff; -webkit-tap-highlight-color: transparent; transition: transform 160ms var(--spring); }
.mf6:active { transform: scale(.98); } .mf6:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.mf6.lock { cursor: default; } .mf6.lock:active { transform: none; }
.mf6 .r1 { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tx6 { flex: 1; min-width: 0; display: grid; gap: 2px; } .tx6 b { font-size: 16px; font-weight: 700; line-height: 1.25; } .tx6 small { font-size: 14px; line-height: 1.3; opacity: .78; }
.go6 { flex: none; height: 36px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 700; background: #fff; color: oklch(0.3 0.06 170); }
.ib6 { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: oklch(1 0 0 / .14); }
.gb6 { display: flex; align-items: center; gap: 10px; --tip: oklch(0.9 0.13 160); }
.gb6 .e { flex: none; font: 900 13px/1 "Px71", monospace; letter-spacing: .02em; opacity: .7; }
.gb6 .tr { position: relative; flex: 1; height: 6px; border-radius: 2px; background: oklch(1 0 0 / .16); }
.gb6 .tr i { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; border-radius: 2px; background: linear-gradient(to right, oklch(1 0 0 / .1), color-mix(in oklab, var(--tip) 80%, white) 70%, #fff); filter: drop-shadow(0 0 3px var(--tip)) drop-shadow(0 0 9px color-mix(in oklab, var(--tip) 60%, transparent)); }
[dir="rtl"] .gb6 .tr i { background: linear-gradient(to left, oklch(1 0 0 / .1), color-mix(in oklab, var(--tip) 80%, white) 70%, #fff); }
/* 5 player: deep green card */
.pl6 { padding: 16px; border-radius: 24px; background: linear-gradient(150deg, oklch(0.44 0.09 168), oklch(0.29 0.065 175)); box-shadow: 0 8px 24px oklch(0.3 0.07 170 / .25); }
[data-theme="dark"] .pl6 { background: linear-gradient(150deg, oklch(0.34 0.07 168), oklch(0.23 0.05 175)); box-shadow: none; }
/* 6 journey: night card, three stops on one line */
.jr6 { padding: 16px 16px 14px; border-radius: 24px; background: linear-gradient(160deg, oklch(0.29 0.025 200), oklch(0.2 0.02 210)); --tip: oklch(0.88 0.12 175); }
.jr6 .go6 { color: oklch(0.24 0.02 205); }
.st6 { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); --tip: oklch(0.88 0.12 175); }
.st6::before, .st6::after { content: ""; position: absolute; top: 8px; height: 4px; border-radius: 2px; inset-inline-start: 16.67%; }
.st6::before { inset-inline-end: 16.67%; background: oklch(1 0 0 / .16); }
.st6::after { width: calc(66.67% * var(--p) / 2); background: linear-gradient(to right, oklch(1 0 0 / .1), #fff); filter: drop-shadow(0 0 3px var(--tip)) drop-shadow(0 0 9px color-mix(in oklab, var(--tip) 60%, transparent)); }
[dir="rtl"] .st6::after { background: linear-gradient(to left, oklch(1 0 0 / .1), #fff); }
.st6 li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 4px; text-align: center; }
.st6 li i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: oklch(0.3 0.02 205); box-shadow: inset 0 0 0 2px oklch(1 0 0 / .28); color: oklch(0.22 0.02 205); }
.st6 li.done6 i { background: var(--tip); box-shadow: none; } .st6 li.done6 i .ic { width: 13px; height: 13px; stroke-width: 3; }
.st6 li.cur6 i { background: oklch(0.3 0.02 205); box-shadow: inset 0 0 0 2px #fff, 0 0 10px var(--tip); }
.st6 li b { font-size: 14px; font-weight: 600; margin-top: 4px; } .st6 li small { font: 900 12px/1 "Px71", monospace; opacity: .65; }
.st6 li:not(.done6):not(.cur6) b { opacity: .6; }
/* 7 countdown first: one big number */
.cd6 { padding: 16px; border-radius: 24px; background: linear-gradient(150deg, oklch(0.5 0.11 165), oklch(0.36 0.09 172)); --tip: oklch(0.93 0.11 155); }
[data-theme="dark"] .cd6 { background: linear-gradient(150deg, oklch(0.38 0.08 165), oklch(0.26 0.06 172)); }
.num6 { flex: 1; display: flex; align-items: baseline; gap: 10px; } .num6 b { font: 900 52px/0.9 "Px71", monospace; } .num6 small { font-size: 18px; font-weight: 700; }
.ft6 { display: flex; align-items: center; gap: 6px; font-size: 14px; opacity: .82; }
.cd6 .go6 { color: oklch(0.34 0.09 170); }
/* 8 no card: a strip inside the hero gradient, under its buttons */
.hs6 { gap: 12px; margin-top: 4px; padding-top: 16px; border-top: 1px solid oklch(1 0 0 / .2); --tip: oklch(0.93 0.07 30); }
.hs6 .r1 { gap: 8px; } .hs6 .r1 b { font-size: 15px; font-weight: 700; white-space: nowrap; } .hs6 .r1 small { flex: 1; font-size: 14px; opacity: .85; text-align: end; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .mf6 { transition: none; } }

.st6 li { padding: 0 !important; margin: 0 !important; }
/* r108j preview: where the same-day row sits (icon_swp a|b|c|d) */
/* a: back under the date, no line, buttons last */
.hswp-a .hh-acts { order: 3; } .hswp-a .hh-with { order: 2; } .hswp-a > * { order: 1; }
.hh-with.swp-a.on { border-top: 0; padding-top: 0; }
/* b: full width, label at the start, faces at the far end */
.swp-b .sw108r { transform: translate(calc(-100% + 30px + (var(--n) - 1 - var(--i)) * 20px), 0); }
[dir="ltr"] .swp-b .sw108r { transform: translate(calc(100% - 30px - (var(--n) - 1 - var(--i)) * 20px), 0); }
.swp-b.open .sw108r, [dir="ltr"] .swp-b.open .sw108r { transform: translate(0, calc(var(--i) * var(--row))); }
.swp-b .sw108b > .sw108 { inset-inline-start: 0; } .swp-b .sw108b > .ic { inset-inline-start: 4.9em; }
/* c: faces centred, label and arrow centred under them */
.swp-c .sw108b { height: 58px; } .swp-c.open .sw108b { height: calc(var(--n) * var(--row) - 8px); }
.swp-c .sw108r { transform: translate(calc(-50% + 15px + ((var(--n) - 1) / 2 - var(--i)) * 20px), 0); }
[dir="ltr"] .swp-c .sw108r { transform: translate(calc(50% - 15px - ((var(--n) - 1) / 2 - var(--i)) * 20px), 0); }
.swp-c.open .sw108r, [dir="ltr"] .swp-c.open .sw108r { transform: translate(0, calc(var(--i) * var(--row))); }
.swp-c .sw108b > .sw108 { inset-inline: 0; justify-content: center; top: 40px; height: 24px; gap: 4px; padding-inline-end: 22px; } .swp-c .sw108b > .ic { top: 44px; inset-inline-start: calc(50% + 2.2em); }
/* d: on the white page, above the status card */
.hh-with.swp-d.on { border-top: 0; padding: 0; margin: 4px 0 16px; color: var(--fg); }
.swp-d .sw108r .av { box-shadow: 0 0 0 2px var(--bg); }
.swp-d .sw108c { background: var(--card, #fff); box-shadow: inset 0 0 0 1px var(--line); }
/* r108k: square-pixel umbrella on "no shift" days, about the height of the text; tap = one hop-and-wiggle on the app spring */
.f41[data-act="umb41"] { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.f41 .u41 { opacity: .75; overflow: visible; }
.f41 .u41 .cn { transform-box: fill-box; transform-origin: 50% 100%; }
.f41.tap .u41 .cn { animation: umb41 640ms var(--spring); }
@keyframes umb41 { 0% { transform: none; } 30% { transform: translateY(-2.5px) rotate(-12deg); } 62% { transform: translateY(-1px) rotate(9deg); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .f41.tap .u41 .cn { animation: none; } }
/* r109: week date rail uses the regular UI font (user 2026-11-19); pixel digits stay for shift times */
.r41 .d41 b { font: 600 17px/1 var(--font) !important; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.r41.td .d41 b { font-weight: 700 !important; }
.l41.c .d41 b { font: 600 22px/1 var(--font) !important; font-variant-numeric: tabular-nums; }
/* r89: Ishay fixes who worked a past shift */
.fx89b{display:inline-flex;align-items:center;justify-content:center;gap:10px}
.fx89b svg{width:20px;height:20px}
.fx89 .wr.cur89{opacity:1;cursor:default}
.fx89 .wr.cur89 .rd{visibility:hidden}
.fx89 .wr.cur89 .cap{color:var(--muted)}
.fx89 .fx89o{display:inline-flex;align-items:center;gap:6px}
.fx89c .fx89n{display:flex;align-items:flex-start;gap:10px;margin:0 auto 8px;max-width:340px;padding:12px 14px;border-radius:14px;background:var(--sunk);color:var(--muted);font-size:14px;line-height:1.45;text-align:start}
.fx89c .fx89n svg{flex:none;width:18px;height:18px;margin-top:1px}
.ce.past[data-act=cell], .ds36s.past[data-act=cell], .tl36b.past[data-act=cell], .c.wk32.past[data-act=cell] { pointer-events: auto; cursor: pointer; } /* r89: Ishay can open past shifts to fix who worked */
.fx89p .fx89cap{margin:16px 0 4px}
.fx89p .fx89cap{margin:16px 0 4px}
.whobox .cs-h .fx-when.sh53{height:auto!important;padding-block:7px 8px} /* r89: icon + digits stay on one baseline (al72), the pill pads around them so the digits sit in the vertical middle (was 34px tall with everything stuck to the top) */
.lk89 span{font-size:15px;line-height:1.5;color:var(--muted);max-width:34ch;text-wrap:balance;margin-top:-6px}
.whobox .cs-h .fx-when.sh53 > span:not(.t){line-height:1}
.fx89 .wlist{margin-top:20px}
.pst89{gap:12px}
.pst89 .who89{display:inline-flex;align-items:center;gap:10px;margin-top:4px;padding:8px 16px 8px 8px;border-radius:999px;background:var(--bg);text-align:start}
[dir=rtl] .pst89 .who89{padding:8px 8px 8px 16px}
.pst89 .who89>span{display:grid;gap:2px}.pst89 .who89 b{font-size:16px}.pst89 .who89 small{font-size:13px;color:var(--muted)}
.sheet:has(.fx89p), .sheet:has(> .fx89), .sheet:has(.fx89c) { height: min(88dvh, 760px); } /* r89b: one height for the whole fix flow, tall enough for the list */
.fx89p .pst89 { margin-block: auto; }
.fx89c .fx89n { margin-top: 24px; }
.sheet .cs32.fx89p{min-height:calc(100% - 34px)}
.fx89p .cs-foot{display:grid;gap:16px}.fx89p .cs-foot .btn{margin-top:4px}
html .sheet .whobox:has(.lk89) .cs-foot, html.mg48 .sheet .whobox:has(.lk89) .cs-foot { display: grid; gap: 16px; } /* r89b: button and link keep the standard 16px gap (lk49b foot was block) */
.cf53.fx89 .cs-h, .cf53.fx89c .cs-h, .cf53.fx89p .cs-h { display: grid !important; justify-items: center; text-align: center; gap: 8px; }
/* r89c (user): who worked = avatar centred, name under it, "worked this shift" under that */
.pst89 .who89, [dir=rtl] .pst89 .who89 { display: grid; justify-items: center; gap: 10px; margin-top: 12px; padding: 0; background: none; border-radius: 0; text-align: center; }
.pst89 .who89 > span { display: grid; gap: 4px; justify-items: center; }
.pst89 .who89 b { font-size: 18px; font-weight: 600; } .pst89 .who89 small { font-size: 14px; color: var(--muted); }
.pst89 .who89 b { color: var(--fg); opacity: 1; } .pst89 .who89 { margin-top: 16px; }
/* r107b (user): who worked sits at the top under the date (the point of the sheet); the card below only says the shift is over, clock centred */
.fx89p > .who89 { display: grid; justify-items: center; gap: 6px; margin-top: 28px; text-align: center; }
.fx89p > .who89 b { font-size: 22px; font-weight: 700; color: var(--fg); margin-top: 6px; }
.fx89p > .who89 small { font-size: 15px; color: var(--muted); }
.fx89p .pst89 { margin-block: auto; justify-items: center; align-content: center; gap: 14px; }
/* r107c (user): date, then avatar, name, "worked this shift", then the time pill */
.fx89p > .who89 { margin-top: 20px; }
.fx89p > .who89 .fx-when.sh53 { display: inline-flex !important; align-items: baseline; gap: 8px; margin-top: 10px; padding: 7px 12px 8px; border-radius: 999px; background: var(--c); color: var(--sh-ink); }
.fx89p > .who89 .fx-when.sh53 .t { color: var(--sh-ink); font: 900 15px/1 "Px71", "Doto", ui-monospace, monospace; }
.fx89p > .who89 .fx-when.sh53 .pxic { color: var(--sh-ink); }
.fx89p > .who89 { margin-top: 28px; } /* r107d: date + time pill stay together on top (what/when), person below */
/* r107e (user): who was on the shift first (that's why Ishay tapped it), then the date and time pill */
.fx89p > .who89 { margin-top: 12px; }
.fx89p > .who89 b { font-size: 24px; }
.fx89p > .when89 { display: grid; justify-items: center; gap: 10px; margin-top: 20px; }
.fx89p > .when89 .dt89 { font-size: 16px; font-weight: 600; color: var(--muted); }
.fx89p > .when89 .fx-when.sh53 { display: inline-flex !important; align-items: baseline; gap: 8px; padding: 7px 12px 8px; border-radius: 999px; background: var(--c); color: var(--sh-ink); }
.fx89p > .when89 .fx-when.sh53 .t { color: var(--sh-ink); font: 900 15px/1 "Px71", "Doto", ui-monospace, monospace; }
.fx89p > .when89 .fx-when.sh53 .pxic { color: var(--sh-ink); }
.fx89p > .when89 { margin-top: 8px; gap: 8px; } /* r107f: name, date, pill read as one group */
.fx89p > .who89.v89b b { font-size: 24px; font-weight: 700; text-wrap: balance; }
.fx89p > .who89.v89c { margin-top: 28px; }
.fx89p > .who89.v89c small { font-size: 15px; color: var(--muted); }
/* r107g option d: header row like the shift cards: date at the start (right in Hebrew), time chip at the end */
.fx89p > .row89 { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--line, oklch(.5 0 0 / .12)); }
.fx89p > .row89 h2 { margin: 0; font-size: 22px; font-weight: 700; text-align: start; }
.fx89p > .row89 .fx-when.sh53 { display: inline-flex !important; flex: none; align-items: baseline; gap: 8px; padding: 7px 12px 8px; border-radius: 999px; background: var(--c); color: var(--sh-ink); }
.fx89p > .row89 .fx-when.sh53 .t { color: var(--sh-ink); font: 900 15px/1 "Px71", "Doto", ui-monospace, monospace; }
.fx89p > .row89 .fx-when.sh53 .pxic { color: var(--sh-ink); }
.fx89p > .who89.v89d { margin-top: 32px; } .fx89p > .who89.v89d small { font-size: 15px; color: var(--muted); }
.fx89p > .e89 { margin-top: 20px; text-align: start; } .fx89p > .e89 .lk49k { display: block; } /* r107h option e (user): date centred on top, then the full trainer chip with a full bar, like the running-shift sheet */
.fx89p .pst89 > * { position: relative; top: 1px; } /* r107i: Hebrew line box leaves more room under the text; nudge so icon + text sit in the true middle (measured by tools/align-check.cjs) */
.whobox .cs-h .fx-when.sh53 { padding-block: 7px 8px; } /* r107i: centre icon + digits as ONE block (icon is taller than the digits), measured 10.5 / 10.5 */
.fx89p.p89e > .e89 { border: 0; padding-bottom: 0; margin-bottom: 0; } .fx89p.p89e > .e89::after { display: none; } .fx89p.p89e .pst89 { margin-block: 24px auto; } /* r107j: long trainer card, no stray divider, clock card right under it */
/* r107k: finished shift (g) = the trainer's date card on top (day, big date, dotted cut, shift tile), then just the name chip, no time, no bar */
.fx89p.p89g > .hd56 { margin-top: 4px; }
.fx89p.p89g > .g89 { margin-top: 24px; text-align: start; } .fx89p.p89g > .g89 .lk49k { display: block; }
.fx89p.p89g > .g89 .ds36s { min-height: 0; padding-block: 14px; } .fx89p.p89g > .g89 .ds36x b { font-size: 20px; }
.fx89p.p89g > .g89 { border: 0; padding-bottom: 0; } .fx89p.p89g > .g89::after { display: none; } .fx89p.p89g .pst89 { margin-block: 24px auto; }
/* r107k: running shift chip = thick groove bar with a glowing head that fills as the shift goes (same look as the trainer's on-shift countdown) */
.ds36s.live .ds36p { height: 10px; border-radius: 3px; bottom: 10px; overflow: visible; background: oklch(0 0 0 / .16); box-shadow: inset 0 1px 3px oklch(0 0 0 / .28), 0 1px 0 oklch(1 0 0 / .35); }
.ds36s.live .ds36p > i { position: relative; border-radius: 3px; background: linear-gradient(to right, oklch(1 0 0 / .5), oklch(1 0 0 / .8) 55%, #fff); transition: width 900ms linear; }
[dir=rtl] .ds36s.live .ds36p > i { background: linear-gradient(to left, oklch(1 0 0 / .5), oklch(1 0 0 / .8) 55%, #fff); margin-inline-start: 0; }
.ds36s.live .ds36p > i::after { content: ""; position: absolute; inset-inline-end: -8px; top: 50%; width: 18px; height: 22px; transform: translateY(-50%); background: radial-gradient(closest-side, oklch(1 0.02 60 / .95), transparent); filter: blur(2px); }
.ds36s.live:has(.ds36p) { padding-bottom: 30px; }
/* r107l: three grouping directions for the finished shift. Spacing scale: 8 inside a group, 24 between groups */
.box89 { margin-top: 4px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line), 0 2px 10px oklch(0 0 0 / .04); overflow: hidden; }
.box89 > .hd56.c, [dir] .box89 > .hd56.c { background: none; box-shadow: none; border-radius: 0; }
.pr89 { display: flex; align-items: center; gap: 12px; padding: 14px 18px 16px; text-align: start; }
.box89 .pr89 { border-top: 1.5px solid var(--line); }
.pr89 .av { flex: none; } .pr89x { flex: 1; display: grid; gap: 2px; } .pr89x b { font-size: 18px; font-weight: 700; } .pr89x small { font-size: 14px; color: var(--muted); }
.pr89.solo { margin-top: 8px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); }
.fx89p.p89i .pst89 { margin-block: auto 0; margin-bottom: 24px; }
.st89 { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-block: auto; color: var(--muted); font-size: 18px; font-weight: 600; }
.st89 .dl49 { width: 56px; height: 56px; color: var(--fg); }
.end89 { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px 6px; border-radius: 999px; background: var(--sunk); color: var(--fg); font-style: normal; font-size: 13px; font-weight: 600; }
.end89 .dl49 { width: 16px; height: 16px; }
.fx89p.p89j .cs-foot { margin-top: auto; }
.fx89p.p89i .cs-foot { margin-top: 0; } .fx89p.p89i .pst89 { margin-top: auto; }
.fx89p.p89i .pst89 > * { top: 2px; } /* I sits on a half pixel (margin-top:auto); measured 29.5/31.5 with 1px */
/* r107m: k = h's one card (date + who worked) + i's grey clock card at the end, above the button */
.fx89p.p89k .cs-foot { margin-top: 0; } .fx89p.p89k .pst89 { margin-top: auto; margin-bottom: 24px; } .fx89p.p89k .pst89 > * { top: 2px; }
/* r107n: finished shift sheet fits its content (no empty gap): card, 24px, grey clock card, 24px, button */
.sheet:has(.fx89p.p89k) { height: auto; } .sheet .cs32.fx89p.p89k { min-height: 0; } .fx89p.p89k .pst89 { margin-top: 24px; }
.fx89p.p89k .pst89 > * { top: 1px; } /* r107n: sheet fits content now, no half pixel */
/* r107n: her colour in the card. row = the person row in her colour; all = the whole card in her colour */
.box89.c89row .pr89 { background: var(--hb); border-top-color: transparent; color: oklch(0.2 0.03 250); } .box89.c89row .pr89x b { color: oklch(0.2 0.03 250); } .box89.c89row .pr89x small { color: oklch(0.2 0.03 250 / .7); }
.box89.c89all { background: var(--hb); box-shadow: none; color: oklch(0.2 0.03 250); } .box89.c89all .hd56 .k, .box89.c89all .pr89x small { color: oklch(0.2 0.03 250 / .7); } .box89.c89all b { color: oklch(0.2 0.03 250); } .box89.c89all .pr89 { border-top-color: oklch(0.2 0.03 250 / .14); } .box89.c89all .cut56 { border-color: oklch(0.2 0.03 250 / .25); }

/* r107o: one type scale on the card: 28 date / 20 name / 15 labels (day + "worked this shift" match), 13 tag. Row padding = header padding (16/18) */
.box89 .pr89 { padding: 16px 18px; gap: 14px; } .box89 .pr89x b { font-size: 20px; font-weight: 700; line-height: 1.2; } .box89 .pr89x small { font-size: 15px; font-weight: 600; }
.box89 .end89 { background: oklch(0.2 0.03 250); color: #fff; font-size: 13px; font-weight: 700; } .box89 .end89 .dl49 { color: #fff; }
/* r107o: whole-pixel line heights so the bottom-anchored sheet never lands on a half pixel (that shifted pills by 1-2px between builds) */
.box89 .hd56 .k { line-height: 20px; } .box89 .hd56 b { line-height: 34px; } .box89 .pr89x small { line-height: 20px; } .box89 .end89 { line-height: 16px; } .fx89p.p89k .pst89 b { line-height: 28px; } .fx89p.p89k .cs-foot .link { line-height: 24px; }
/* r110 preview: December "sent" icons. Pixel-art idle: no tweening, only a few pixels swap (steps), 3 short cycles after the page opens, then still; tapping the icon replays */
.px110 { color: var(--primary); overflow: visible; cursor: pointer; -webkit-tap-highlight-color: transparent; }
[dir="rtl"] .px110.e-plane { transform: scaleX(-1); }
.px110 .f1, .px110 .f2 { opacity: 0; }
.px110 .f1 { animation: e110a 900ms steps(1) 700ms 3; } .px110 .f2 { animation: e110b 900ms steps(1) 700ms 3; }
.px110.e-plane .f1, .px110.e-plane .f2 { animation-duration: 500ms; animation-iteration-count: 5; animation-delay: 300ms; }
@keyframes e110a { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 0; } }
@keyframes e110b { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 1; } }
.px110 .tk rect { animation: e110t 1ms steps(1) both; animation-delay: calc(var(--k) * 50ms + 200ms); }
@keyframes e110t { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .px110 * { animation: none !important; } .px110 .f1, .px110 .f2 { opacity: 0; } }
.ib110 { height: 100px; display: grid; place-items: center; }
/* r112: December page uses the home card's glowing bar (fills from the start side, bright tip = now) */
.es108 .gb6 { width: 100%; margin-top: 10px; }
:root:not([data-theme="dark"]) .es108 .gb6 { --tip: oklch(0.62 0.15 160); }
:root:not([data-theme="dark"]) .es108 .gb6 .tr { background: oklch(0.35 0.07 168 / .14); }
:root:not([data-theme="dark"]) .es108 .gb6 .tr i { background: linear-gradient(to right, oklch(0.6 0.13 165 / .15), oklch(0.62 0.15 160)); }
:root[dir="rtl"]:not([data-theme="dark"]) .es108 .gb6 .tr i, :root:not([data-theme="dark"]) [dir="rtl"] .es108 .gb6 .tr i { background: linear-gradient(to left, oklch(0.6 0.13 165 / .15), oklch(0.62 0.15 160)); }

/* r104b: connected calendar = a status pill under the main button (tap = manage) */
.cs104{all:unset;box-sizing:border-box;cursor:pointer;align-self:center;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;margin-top:8px;padding:0 16px;border-radius:999px;background:var(--sunk);font-size:15px;font-weight:500;line-height:1;white-space:nowrap}
.cs104:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.cs104 .bi{display:grid;place-items:center;width:20px;height:20px}.cs104 .bi svg{width:18px;height:18px;display:block}
.cs104 .tk104{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--ok);color:#fff;flex:none}
.cs104 .tk104 svg{display:block}
.btn.ghost.w104{border-style:dashed;opacity:.8}

/* r104d: back arrow on the calendar sheet when it was opened from a shift */
.cbk104{display:flex;margin:-6px 0 6px;margin-inline-start:-8px}
.cal91ok svg{display:block}
/* r113: schedule tab header (title + month/week switch) stays pinned on a solid background; the date row scrolls away under it instead of sliding behind a see-through header */
.tsk.ish43 { position: sticky; top: 0; z-index: 8; background: var(--bg) !important; margin-inline: -16px; padding-inline: 16px; margin-top: 0; padding-block: 12px 8px; }
#pane .navrow.wknav, #pane .navrow.wknav.stk, #pane .navrow.stk { position: relative !important; top: auto !important; }
/* r115 preview: on now + finished shifts + dark past grey */
@keyframes nw115 { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }
.now115 { position: relative; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ok) !important; }
.now115::after { content: "עכשיו"; position: absolute; inset-block-start: -9px; inset-inline-end: 8px; font: 700 11px/1 var(--font); padding: 3px 7px; padding-inline-start: 17px; border-radius: 999px; background: var(--ok) linear-gradient(#04150c, #04150c) no-repeat; background-size: 6px 6px; background-position: calc(100% - 7px) 50%; color: #04150c; z-index: 2; pointer-events: none; }
:root[dir="ltr"] .now115::after { content: "Now"; }
@media (prefers-reduced-motion: no-preference) { .now115::after { animation: none; } }
.b37.now115 { box-shadow: 0 0 0 2px var(--ok) !important; }
.b37.now115::after { content: ""; inset-block-start: -3px; inset-inline-end: -3px; width: 8px; height: 8px; padding: 0; background: var(--ok); background-image: none; border: 2px solid var(--bg); border-radius: 2px; }
html[data-nw="a"] .now115 { box-shadow: none !important; } html[data-nw="a"] .now115::after { display: none; }
/* finished shifts today: same grey as past days */
html:not([data-pg="a"]) .w3c .c.w3.pa:not(.gap) { background: var(--sunk) !important; color: var(--muted); }
html:not([data-pg="a"]) .w3c .c.w3.pa .av { filter: grayscale(1); opacity: .6; }
html:not([data-pg="a"]) .b37.pa { filter: grayscale(1); opacity: .5; }
/* b: soft grey, readable names (dark: lifted surface instead of near-black) */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"])[data-pg="b"] .w3c .c.w3.pa:not(.gap) { background: oklch(0.3 0.008 165) !important; color: oklch(0.78 0.01 165); } :root:not([data-theme="light"])[data-pg="b"] .w3c .c.w3.pa .av { opacity: .85; } }
:root[data-theme="dark"][data-pg="b"] .w3c .c.w3.pa:not(.gap) { background: oklch(0.3 0.008 165) !important; color: oklch(0.78 0.01 165); } :root[data-theme="dark"][data-pg="b"] .w3c .c.w3.pa .av { opacity: .85; }
/* c: keep the trainer colour, just washed out */
html[data-pg="c"] .w3c .c.w3.pa:not(.gap) { background: var(--c0) !important; color: var(--chip-ink, #111); filter: grayscale(1); opacity: .5; }
html[data-pg="c"] .w3c .c.w3.pa .av { filter: none; opacity: 1; }
/* r115 preview pk=b: compact picker header (one row: photo, name, "on this shift") */
html[data-pk="b"] .hd54.h83 .w54, html[data-pk="c"] .hd54.h83 .w54 { flex-direction: row; justify-content: flex-start; align-items: center; gap: 12px; padding: 14px 20px 12px; text-align: start; width: 100%; box-sizing: border-box; margin: 0 !important; }
html[data-pk="b"] .hd54.h83 .w54 .av, html[data-pk="c"] .hd54.h83 .w54 .av { width: 44px !important; height: 44px !important; }
html[data-pk="b"] .hd54.h83 .w54 b, html[data-pk="c"] .hd54.h83 .w54 b { margin: 0; font-size: 18px; }
html[data-pk="b"] .hd54.h83 .w54 b::after, html[data-pk="c"] .hd54.h83 .w54 b::after { content: "עובד במשמרת"; display: block; font: 500 13px/18px var(--font); color: var(--muted); }
html[data-pk="b"] .sheet.side .h83 .w54, html[data-pk="c"] .sheet.side .h83 .w54 { padding-inline: 24px; }
@media (min-width: 900px) {
  html.mg48[data-pk="b"] .sheet .h83 .w54, html.mg48[data-pk="c"] .sheet .h83 .w54 { padding-inline: 32px; }
  /* desktop: the list gets the width, same-day people visible, buttons grouped at the end like a desktop dialog */
  html.mg48[data-pk="b"] .sheet .whobox .cs-foot, html.mg48[data-pk="c"] .sheet .whobox .cs-foot { flex-direction: row; justify-content: flex-start; gap: 12px; }
  html.mg48[data-pk="b"] .sheet .whobox .cs-foot .btn, html.mg48[data-pk="c"] .sheet .whobox .cs-foot .btn { min-width: 240px; }
  html.mg48[data-pk="b"] .sheet .whobox .cs-foot .link, html.mg48[data-pk="c"] .sheet .whobox .cs-foot .link { margin: 0 !important; padding-inline: 20px; }
  html.mg48[data-pk="b"] .sheet.side:has(.whobox > .hd54), html.mg48[data-pk="c"] .sheet.side:has(.whobox > .hd54) { height: min(760px, calc(100vh - 64px)) !important; max-height: none !important; }
}
.c.w3.now115, .ce.now115 { overflow: visible !important; }
.w3c:has(.now115) { overflow: visible; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"])[data-pg="b"] .w3c .c.w3.pa .w3t b, :root:not([data-theme="light"])[data-pg="b"] .w3c .c.w3.pa .w3t small { color: oklch(0.8 0.01 165) !important; } }
:root[data-theme="dark"][data-pg="b"] .w3c .c.w3.pa .w3t b { color: oklch(0.8 0.01 165) !important; }
html[data-pg="c"] .w3c .c.w3.pa .w3t b { color: oklch(0.2 0.01 165) !important; }
.c.w3.now115, .ce.now115, .b37.now115 { position: relative !important; }

:root[dir="ltr"] .now115::after { background-position: 7px 50%; }
@media (prefers-reduced-motion: no-preference) { @keyframes nw115b { 50% { background-size: 0 0; } } .now115::after { animation: nw115b 2s steps(1) infinite; } }
.b37.now115::after { animation: none !important; }
/* r115 preview: Ishay's waiting card uses the trainers' glowing bar */
.wb115 { width: 100%; margin-block: 6px 2px; } .wb115 .gb6 { width: 100%; } .wb115 .gb6 .tr { height: 8px; }
:root:not([data-theme="dark"]) .wb115 .gb6 { --tip: oklch(0.62 0.15 160); }
:root:not([data-theme="dark"]) .wb115 .gb6 .tr { background: oklch(0.35 0.07 168 / .14); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wb115 .gb6 { --tip: oklch(0.9 0.13 160); } :root:not([data-theme="light"]) .wb115 .gb6 .tr { background: oklch(1 0 0 / .16); } }
.w49n b.sl115 { display: inline-flex; align-items: baseline; direction: ltr; unicode-bidi: isolate; }
.w49n b.sl115 i { font-style: normal; font-family: var(--font); font-weight: 300; opacity: .55; margin-inline: .04em; font-size: .8em; }
/* r115 preview tp=b: desktop trainer page, can't-days and preferred side by side, full day names */
.av6w { display: grid; gap: 16px; }
.dc47 .dl6 { display: none; }
@media (min-width: 900px) {
  html[data-tp="b"] .av6w { grid-template-columns: auto 1fr; gap: 32px; align-items: start; }
  html[data-tp="b"] .av6w .av6g2:only-child { grid-column: 1 / -1; }
  html[data-tp="b"] .av6w .dc47 .ds6 { display: none; } html[data-tp="b"] .av6w .dc47 .dl6 { display: inline; }
  html[data-tp="b"] .av6w .dc47 i { width: 76px; }
  html[data-tp="b"] .av6w .dc47 b { font-size: 16px; }
  html[data-tp="b"] .av6w .dc47.pf57 i.s b { font-size: 16px; }
  html[data-tp="b"] .av6w .dc47.pf57 i.s em { max-width: 70px; }
}
/* r115 preview tl=b: list sits next to the main menu (reading start), details after it */
html[data-tl="b"] .tw50 { grid-template-columns: 280px minmax(0, 1fr); }
html[data-tl="b"] .tw50 > .tw50l { grid-column: 1; grid-row: 1; }
html[data-tl="b"] .tw50 > .tw50d { grid-column: 2; grid-row: 1; }
.gbtn115 { background: #fff !important; color: #1f1f1f !important; box-shadow: inset 0 0 0 1px oklch(0.85 0 0) !important; gap: 10px; }
.fg115b { display: grid; row-gap: 16px; width: 100%; margin-top: 8px; }
.fg115 .sub { text-align: center; text-wrap: balance; }
/* r115b: team list hugs the main menu (same 24px gap as list-to-details), full height, add button floats over a fade */
@media (min-width: 900px) {
  html[data-tl="b"] .tw50 { max-width: none; margin-inline-start: -24px; width: calc(100% + 24px); }
  html[data-tl="b"] .tw50l { height: calc(100dvh - 32px); display: flex; flex-direction: column; gap: 12px; }
  html[data-tl="b"] .tw50l > .tw50s { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; max-height: none; padding-bottom: 0; }
  html[data-tl="b"] .tw50l .tw50sc { flex: 1; min-height: 0; max-height: none; padding-bottom: 96px; -webkit-mask-image: none; mask-image: none; }
  html[data-tl="b"] .tw50l > .t50add { order: 1; position: relative; z-index: 2; margin: -84px 16px 16px; width: auto; }
  html[data-tl="b"] .tw50l > .tw50s { position: relative; }
  html[data-tl="b"] .tw50l > .tw50s::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 120px; background: linear-gradient(to bottom, transparent, var(--surface) 60%); pointer-events: none; z-index: 1; }
  html[data-tl="b"] .tw50l > :not(.tw50s):not(.t50add) { order: 2; }
}
/* r115b: soft grey for finished shifts in every view (user picked B) */
:root { --pg-bg: var(--sunk); --pg-ink: var(--muted); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --pg-bg: oklch(0.3 0.008 165); --pg-ink: oklch(0.8 0.01 165); } }
:root[data-theme="dark"] { --pg-bg: oklch(0.3 0.008 165); --pg-ink: oklch(0.8 0.01 165); }
html[data-pg="b"] .ce.past:not(.gap), html[data-pg="b"] #mgrid .ce.past:not(.gap), html[data-pg="b"] #mgrid .wrow.past .ce:not(.gap) { background: var(--pg-bg) !important; color: var(--pg-ink) !important; filter: none !important; opacity: 1 !important; }
html[data-pg="b"] .ce.past .nn, html[data-pg="b"] .ce.past .t, html[data-pg="b"] .ce.past .pxic { color: var(--pg-ink) !important; }
html[data-pg="b"] .ce.past .av { filter: grayscale(1); opacity: .85; }
html[data-pg="b"] .d37.past { opacity: 1; } html[data-pg="b"] .d37.past > b { color: var(--muted); font-weight: 400; }
html[data-pg="b"] .d37.past .b37:not(.gap):not(.no), html[data-pg="b"] .b37.pa { background: var(--pg-bg) !important; color: var(--pg-ink) !important; filter: none !important; opacity: 1 !important; }
html[data-pg="b"] .w3c .c.w3.pa:not(.gap) { background: var(--pg-bg) !important; color: var(--pg-ink); }
html[data-pg="b"] .w3c .c.w3.pa .w3t b, html[data-pg="b"] .w3c .c.w3.pa .w3t small { color: var(--pg-ink) !important; }
html[data-pg="b"] .w3c .c.w3.pa .av { filter: grayscale(1); opacity: .85; }
/* r115b now mark: chip only (no square), centred on the top edge; month = inner ring only, nothing sticks out */
.now115::after { background: var(--ok) !important; padding: 3px 8px !important; inset-inline: 0 !important; margin-inline: auto; width: max-content; animation: none !important; }
.ce.now115 { box-shadow: none !important; } /* phone week: the day card is already outlined */
.b37.now115 { box-shadow: inset 0 0 0 2px var(--ok) !important; } .b37.now115::after { display: none !important; }
/* r115c picker rethink previews. d = no colour band, person centred with a ring in the shift colour, date + time pill under */
html[data-pk="d"] .hd54.h83, html[data-pk="e"] .hd54.h83, html[data-pk="f"] .hd54.h83 { background: transparent !important; display: flex !important; flex-direction: column; }
html[data-pk="d"] .h83 .l83, html[data-pk="e"] .h83 .l83, html[data-pk="f"] .h83 .l83 { background: transparent; color: var(--fg); }
html[data-pk="d"] .h83 .l83, html[data-pk="f"] .h83 .l83 { order: 2; justify-content: center; align-items: center; gap: 10px; padding: 2px 20px 12px; }
html[data-pk="d"] .h83 .l83 .dt, html[data-pk="e"] .h83 .l83 .dt, html[data-pk="f"] .h83 .l83 .dt { opacity: 1; color: var(--muted); font-weight: 500; }
html[data-pk="d"] .h83 .l83 .tm, html[data-pk="e"] .h83 .l83 .tm, html[data-pk="f"] .h83 .l83 .tm { background: var(--c); color: var(--sh-ink, oklch(0.2 0.03 250)); padding: 7px 10px; border-radius: 999px; align-items: center; font-size: 16px; }
html[data-pk="d"] .h83 .w54 { order: 1; padding-top: 28px; }
html[data-pk="d"] .hd54.h83 .w54 .av { box-shadow: 0 0 0 3px var(--surface), 0 0 0 6px var(--c) !important; }
/* e = top line is just the task; who is on now floats above the button and greys when someone is picked */
html[data-pk="e"] .h83 .w54 { display: none; }
html[data-pk="e"] .h83 .l83 { padding: 28px 20px 8px; align-items: center; }
html[data-pk="e"] .h83 .l83 .dt { font-size: 20px; font-weight: 700; color: var(--fg); }
.sw115 { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 4px 0 4px; }
.sw115 > span:not(.ar) { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sw115 b { font-size: 16px; font-weight: 600; white-space: nowrap; }
.sw115 .a { display: grid; place-items: center; width: 40px; height: 40px; flex: none; }
.sw115 .ph { width: 36px; height: 36px; border-radius: 50%; border: 2px dashed var(--muted); display: grid; place-items: center; color: var(--muted); font-weight: 700; }
.sw115 .nw b { color: var(--muted); font-weight: 500; }
.sw115 .ar { color: var(--muted); display: grid; } .sw115 .ar svg { width: 20px; height: 20px; }
.whobox.picked53 .sw115 .cu { opacity: .45; filter: grayscale(1); transition: opacity .3s, filter .3s; }
.whobox.picked53 .sw115 .nw b { color: var(--fg); font-weight: 600; }
.whobox.picked53 .sw115 .nw .av { animation: pop115 .28s cubic-bezier(.3,1.4,.5,1) both; }
@keyframes pop115 { from { transform: scale(.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .whobox.picked53 .sw115 .nw .av { animation: none; } }
html[data-pk="e"] .h83 .l83 { flex-wrap: wrap; justify-content: flex-start; row-gap: 10px; column-gap: 10px; }
html[data-pk="e"] .h83 .l83::before { content: "מי עובד במשמרת?"; flex-basis: 100%; font: 700 22px/1.25 var(--font); color: var(--fg); text-align: start; }
html[data-pk="e"] .h83 .l83 .dt { font-size: 15px; font-weight: 500; color: var(--muted); flex: none; }

/* f = the user's idea: a short band in the shift colour with the photo overlapping it, like the profile pages */
html[data-pk="f"] .hd54.h83::before { content: ""; order: 0; height: 88px; background: var(--c); flex: none; }
html[data-pk="f"] .h83 .w54 { order: 1; margin-top: -44px !important; padding-top: 0; }
html[data-pk="f"] .hd54.h83 .w54 .av { width: 80px !important; height: 80px !important; box-shadow: 0 0 0 4px var(--surface) !important; }
@media (min-width: 900px) {
  html.mg48:is([data-pk="d"], [data-pk="e"], [data-pk="f"]) .sheet .whobox .cs-foot { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 12px; }
  html.mg48:is([data-pk="d"], [data-pk="e"], [data-pk="f"]) .sheet .whobox .cs-foot .btn { min-width: 240px; }
  html.mg48:is([data-pk="d"], [data-pk="e"], [data-pk="f"]) .sheet .whobox .cs-foot .link { margin: 0 !important; padding-inline: 20px; }
  html.mg48:is([data-pk="d"], [data-pk="e"], [data-pk="f"]) .sheet.side:has(.whobox > .hd54) { height: min(760px, calc(100vh - 64px)) !important; max-height: none !important; }
  html.mg48 .sheet .whobox .cs-foot .sw115 { flex-basis: 100%; justify-content: flex-start; padding-bottom: 8px; }
  html.mg48:is([data-pk="d"], [data-pk="e"]) .sheet.side .sh-x { background: var(--sunk); color: var(--fg); }
  html.mg48[data-pk="d"] .sheet .h83 .w54, html.mg48[data-pk="f"] .sheet .h83 .w54 { padding-inline: 32px; }
  html.mg48:is([data-pk="d"], [data-pk="f"]) .sheet .h83 .l83 { padding-inline: 32px; }
}
/* r115d */
.c.w3.now115::after { display: none !important; }
.c.w3 .w3t small.nw3 { display: inline-flex; align-self: flex-start; margin-top: 3px; padding: 2px 7px; border-radius: 999px; background: oklch(0.2 0.03 165); color: var(--ok); font: 700 11px/1.3 var(--font); }
html[data-pk="d"] .h83 .l83 .d2 { white-space: nowrap; }
html[data-pk="d"] .h83 .l83 { order: 0 !important; justify-content: space-between !important; align-items: center !important; padding: 26px 20px 4px !important; }
html[data-pk="d"] .h83 .l83 .dt { display: grid; text-align: start; line-height: 1.25; }
html[data-pk="d"] .h83 .l83 .d1 { font-size: 17px; font-weight: 700; color: var(--fg); }
html[data-pk="d"] .h83 .l83 .d2 { font-size: 14px; font-weight: 500; color: var(--muted); }
.h83 .l83 .d2::before { content: ", "; } html[data-pk="d"] .h83 .l83 .d2::before { content: none; }
html[data-pk="d"] .h83 .w54 { padding-top: 6px !important; }
html[data-pk="d"] .sheet:not(.side) .h83 .l83 { padding-inline-end: 20px !important; }
.nw115c { display: grid; gap: 8px; margin: 4px 0 8px; }
.nw115 { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 10px; padding: 14px 14px 12px; border-radius: 18px; background: var(--c); color: var(--sh-ink, oklch(0.2 0.03 250)); }
.nw115 .k { font-size: 13px; font-weight: 600; opacity: .8; }
.nw115 .r { display: flex; align-items: center; gap: 10px; } .nw115 .r b { font-size: 18px; font-weight: 700; flex: 1; min-width: 0; } .nw115 .lt { font-size: 14px; font-weight: 600; white-space: nowrap; }
.nw115 .gb6 { --tip: #fff; } .nw115 .gb6 .tr { background: oklch(0.2 0.04 250 / .22); height: 6px; }
.nw115 .gb6 .e { display: inline-flex; align-items: center; gap: 4px; opacity: .85; }
.tw50s .nw115c { margin: 0 4px 8px; }

/* r115e: D final. phone = even 20px both sides; desktop = time chip under the date (clear of the close button), button centred with the link under it */
@media (min-width: 900px) {
  html.mg48[data-pk="d"] .sheet .h83 .l83 { flex-direction: column !important; align-items: flex-start !important; justify-content: flex-start !important; gap: 10px !important; padding: 28px 32px 4px !important; }
  html.mg48[data-pk="d"] .sheet .whobox .cs-foot { flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 0 !important; }
  html.mg48[data-pk="d"] .sheet .whobox .cs-foot .btn { width: min(360px, 100%) !important; min-width: 0 !important; }
  html.mg48[data-pk="d"] .sheet .whobox .cs-foot .link { margin-top: 16px !important; min-height: 44px; }
}
@media (min-width: 900px) {
  /* r115f: desktop D, photo + name move up into the top row, centred between the date and the close button */
  html.mg48[data-pk="d"] .sheet .hd54.h83 { position: relative; min-height: 122px; }
  html.mg48[data-pk="d"] .sheet .h83 .w54 { position: absolute; top: 28px; inset-inline: 0; margin: 0 auto !important; width: max-content !important; padding: 0 !important; }
  html.mg48[data-pk="d"] .sheet .hd54.h83 .w54 .av { width: 56px !important; height: 56px !important; }
  html.mg48[data-pk="d"] .sheet .hd54.h83 .w54 b { margin-top: 8px; font-size: 18px; }
}
/* r115h: team page now card = the exact running-shift chip from the shift sheet (her colour, inset glowing bar, "עכשיו" pill) */
.nw115b { all: unset; display: block; cursor: pointer; border-radius: 22px; }
.nw115b:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.nw115b .lk49c, .nw115b .ds36 { margin: 0 !important; }
.nw115k { font-size: 14px; font-weight: 600; color: var(--muted); padding-inline: 4px; }
/* r115h: smaller team cards on the phone (no "over target" line). a = short colour band, b = no band, ring in her colour */
@media (max-width: 699px) {
  html[data-tc] .tg34 { gap: 10px; }
  html[data-tc] .tc34 { min-height: 0 !important; padding: 0 10px 14px; gap: 2px; }
  html[data-tc] .tc34 > .tc34-s { margin-bottom: 8px; font-size: 14px; }
  html[data-tc] .tc34-n { font-size: 18px; margin-top: 4px; }
  html[data-tc="a"] .tc34-b { height: 36px; }
  html[data-tc="a"] .tc34 .av { margin-top: 10px; width: 52px !important; height: 52px !important; }
  html[data-tc="b"] .tc34-b { display: none; }
  html[data-tc="b"] .tc34 { padding-top: 16px; }
  html[data-tc="b"] .tc34 .av { margin-top: 0; width: 56px !important; height: 56px !important; box-shadow: 0 0 0 3px var(--surface), 0 0 0 6px var(--c) !important; }
  html[data-tc="b"] .tc34 .av + .tc34-n { margin-top: 10px; }
}

/* r116: "start" grows into the dates step (stage) */
.ab50b.st116b { flex-direction: row; gap: 12px; }
.ab50b.st116b .ic { width: 24px; height: 24px; }
.ab50b.st116p { visibility: hidden; }
.stg116 { position: absolute; z-index: 70; box-sizing: border-box; overflow: hidden; background: var(--surface); color: var(--fg); }
.stg116.mob { position: fixed; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; }
.stg116.desk { border: 1px solid var(--line); }
html.stg-on, html.stg-on body { overflow: hidden; }
.stg116in { box-sizing: border-box; min-height: 100%; display: flex; flex-direction: column; padding: 32px 40px; }
.stg-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stg-h .dt-k { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 16px; font-weight: 500; }
.stg-x { all: unset; box-sizing: border-box; width: 44px; height: 44px; margin: -8px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; color: var(--muted); }
.stg-x:hover { background: var(--sunk); color: var(--fg); } .stg-x:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.stg-b { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "q c" "f c"; grid-template-rows: auto 1fr; column-gap: 56px; margin-top: 16px; }
.stg-q { grid-area: q; display: grid; gap: 8px; align-content: start; }
.stg-q h2 { margin: 0; font-size: 34px; line-height: 1.15; text-wrap: balance; }
.stg-s { margin: 0; color: var(--muted); font-size: 16px; }
.stg-q .ps49 { justify-content: flex-start; margin: 16px 0 0; }
.stg116 .dp49one { grid-area: c; align-self: center; }
.stg116 .dp49fw { grid-area: f; align-self: end; }
.stg116 .dp49f { display: grid; gap: 14px; margin-top: 0; padding-top: 0; border-top: 0; justify-content: stretch; }
.stg116 .dp49f > span { text-align: start; }
.stg116 .dp49f b { font-size: 18px; }
.stg116 .dp49ok.btn { min-height: 56px; font-size: 18px; border-radius: 999px; }
.stg116 .dp49h { margin-bottom: 8px; }
.stg116.desk .dp49g > button { height: 48px; } .stg116.desk .dp49g > button span { width: 44px; height: 44px; }
.stg116.mob .stg116in { padding: calc(16px + env(safe-area-inset-top, 0px)) 16px calc(34px + 16px + env(safe-area-inset-bottom, 0px)); }
.stg116.mob .stg-b { grid-template-columns: minmax(0, 1fr); grid-template-areas: "q" "c" "f"; grid-template-rows: auto auto 1fr; margin-top: 24px; row-gap: 20px; }
.stg116.mob .stg-q h2 { font-size: 28px; }
.stg116.mob .ps49 { justify-content: flex-start; }
.stg116.mob .dp49one { align-self: start; }
.stg116.mob .dp49g > button { height: 48px; } .stg116.mob .dp49g > button span { width: 44px; height: 44px; }
.stg116.mob .dp49f > span { text-align: center; }
.stg116in { position: absolute; top: 0; inset-inline-start: 0; min-height: 0; }
.stg116.mob .stg116in { position: relative; }
.stg116.mob { z-index: 95; }
.stg116lab { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; color: #fff; font-size: 20px; font-weight: 700; pointer-events: none; opacity: 0; }
.stg116lab .ic { width: 24px; height: 24px; }
/* r116: the share step hides the side menu on desktop, so drop the space kept for it (content was off-centre) */
body.flow50.mgr.tabs-on #app.wide { padding-inline-start: 0; }

/* r116: trainer page header = photo with her colour ring, name, two buttons */
.th116w .t50band { display: none; }
.t50h.th116 { padding: 24px 16px 4px !important; gap: 0 !important; }
.t50h.th116 > .av { box-shadow: 0 0 0 4px var(--surface), 0 0 0 8px var(--tc) !important; margin: 8px 0 0; }
.t50h.th116 > .av + .nm51 { margin-top: 20px !important; }
.th116a { display: flex; justify-content: center; gap: 12px; margin-top: 20px; width: 100%; max-width: 340px; }
.th116a .btn { flex: 1 1 0; min-width: 0; width: auto; height: 52px; min-height: 52px; padding: 0 16px; gap: 8px; border-radius: 999px; font-size: 16px; font-weight: 700; white-space: nowrap; flex-direction: row; }
.th116a .btn .ic, .th116a .btn svg { width: 20px; height: 20px; flex: none; }
.th116a .btn.warm { flex: none; padding: 0 24px; }
.tw50d .th116 { padding-top: 40px !important; }
/* availability: one week in a row */
.av116h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.av116h h3 { margin: 0 !important; }
.av116h .p82 { height: 32px; padding: 0 12px; font-size: 14px; }
.av116 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.av116 .d { display: grid; gap: 6px; justify-items: center; min-width: 0; }
.av116 small { font-size: 13px; font-weight: 600; color: var(--muted); line-height: 1; }
.av116 i { box-sizing: border-box; width: 100%; aspect-ratio: 1; max-width: 64px; border-radius: 12px; background: var(--sunk); display: flex; flex-direction: column; overflow: hidden; }
.av116 i.nv { background: oklch(0.6 0.19 25); color: #fff; align-items: center; justify-content: center; }
.av116 i.nv .pxg, .av116 i.nv svg { width: 22px; height: 22px; }
.av116 i.on span { flex: 1; display: grid; place-items: center; background: var(--c); color: var(--sh-ink, oklch(0.22 0.03 250)); }
.av116k { display: flex; gap: 16px; flex-wrap: wrap; margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.av116k span { display: inline-flex; align-items: center; gap: 6px; }
.av116k i { width: 12px; height: 12px; border-radius: 4px; background: var(--sunk); }
.av116k i.nv { background: oklch(0.6 0.19 25); }
.av116k i.on { background: linear-gradient(90deg, var(--sh-m) 0 33%, var(--sh-a) 33% 66%, var(--sh-e) 66%); }
@media (min-width: 1000px) { .av116 i { max-width: 84px; } .av116 { gap: 10px; } .av116 i { border-radius: 14px; } .av116 i.nv svg { width: 26px; height: 26px; } }
/* team page: calmer add button */
html:not([data-ab116="a"]) .btn.add50 { min-height: 40px; padding: 0 14px; font-size: 15px; font-weight: 600; gap: 6px; box-shadow: none; }
html:not([data-ab116="a"]) .btn.add50 .ic { width: 18px; height: 18px; }
/* home: glowing bar under who is on shift */
.ns49w .gb6, .two50 .gb6 { width: 100%; min-width: 220px; margin-top: 6px; }
:root:not([data-theme="dark"]) .dtop .gb6 { --tip: oklch(0.62 0.15 160); }
:root:not([data-theme="dark"]) .dtop .gb6 .tr { background: oklch(0.35 0.07 168 / .14); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dtop .gb6 { --tip: oklch(0.9 0.13 160); } :root:not([data-theme="light"]) .dtop .gb6 .tr { background: oklch(1 0 0 / .16); } }
:root:not([data-theme="dark"]) .dtop .gb6 .tr i { background: linear-gradient(to left, oklch(0.6 0.13 165 / .15), oklch(0.62 0.15 160)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dtop .gb6 .tr i { background: linear-gradient(to left, oklch(1 0 0 / .1), color-mix(in oklab, var(--tip) 80%, white) 70%, #fff); } }
.tw50d:has(.th116w) { background: var(--surface) !important; }
.av116 i:not(.nv):not(.on), .av116k i:not(.nv):not(.on) { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
html:not([data-ab116="a"]) .schedhead .btn.add50 { min-height: 38px !important; height: 38px; padding: 0 14px !important; font-size: 15px !important; font-weight: 600; box-shadow: none !important; background: color-mix(in oklab, var(--primary) 16%, transparent) !important; color: var(--primary) !important; filter: none !important; }
/* r116d: thick white running bar under the on-shift faces + names (one bar even for two) */
.hb116w { display: inline-grid; gap: 16px; justify-items: stretch; max-width: 100%; }
.hb116w .ns49w > span:last-child { flex: none; }
.hb116 { position: relative; display: block; height: 10px; border-radius: 3px; background: oklch(1 0 0 / .1); box-shadow: inset 0 1px 3px oklch(0 0 0 / .35), 0 1px 0 oklch(1 0 0 / .06); }
.hb116 > i { position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: 3px; background: linear-gradient(to left, oklch(1 0 0 / .45), oklch(1 0 0 / .8) 55%, #fff); }
[dir=ltr] .hb116 > i { background: linear-gradient(to right, oklch(1 0 0 / .45), oklch(1 0 0 / .8) 55%, #fff); }
.hb116 > i::after { content: ""; position: absolute; inset-inline-end: -8px; top: 50%; width: 18px; height: 22px; transform: translateY(-50%); background: radial-gradient(closest-side, oklch(1 0.02 60 / .95), transparent); filter: blur(2px); }
:root:not([data-theme="dark"]) .hb116 { background: oklch(0.35 0.03 168 / .1); box-shadow: inset 0 1px 2px oklch(0 0 0 / .15); }
:root:not([data-theme="dark"]) .hb116 > i { background: linear-gradient(to left, oklch(0.55 0.1 165 / .4), oklch(0.5 0.12 165)); }
:root:not([data-theme="dark"]) .hb116 > i::after { background: radial-gradient(closest-side, oklch(0.6 0.13 165 / .7), transparent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hb116 { background: oklch(1 0 0 / .1); box-shadow: inset 0 1px 3px oklch(0 0 0 / .35), 0 1px 0 oklch(1 0 0 / .06); } :root:not([data-theme="light"]) .hb116 > i { background: linear-gradient(to left, oklch(1 0 0 / .45), oklch(1 0 0 / .8) 55%, #fff); } :root:not([data-theme="light"]) .hb116 > i::after { background: radial-gradient(closest-side, oklch(1 0.02 60 / .95), transparent); } }
.two50 .tw50 { margin: 0 !important; max-width: none !important; } /* r116d: the team-page .tw50 rule pulled the times 24px into the faces */
.mo116 { margin: -4px 0 12px; font-size: 15px; color: var(--muted); }
/* r116: share step on desktop = preview + open message box side by side */
.sh116e { display: none; }
@media (min-width: 1000px) {
  .sh50.v2:has(.sh116e) { max-width: 1040px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-items: start; }
  .sh50.v2:has(.sh116e) > .sh50h { grid-column: 1 / -1; }
  .sh116e { display: grid; gap: 10px; align-content: start; }
  .sh116e textarea { box-sizing: border-box; width: 100%; min-height: 300px; resize: vertical; padding: 18px 20px; border-radius: 20px; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); font: 400 18px/1.6 var(--font, inherit); }
  .sh116e textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary) 20%, transparent); }
  .sh116h { margin: 0; font-size: 14px; color: var(--muted); }
  .sh50.v2:has(.sh116e) .sh50e { display: none; }
  .sh50.v2:has(.sh116e) .sh50r { min-height: 40px; align-items: center; }
}
@media (min-width: 1000px) { .sh50.v2:has(.sh116e) > .sh116e { grid-column: 1; grid-row: 2; } .sh50.v2:has(.sh116e) > .sh50p { grid-column: 2; grid-row: 2; } }
@media (min-width: 1000px) { .sh116e > label { min-height: 40px; display: flex; align-items: center; } .sh50.v2:has(.sh116e) .sh50r { min-height: 40px; } }
/* r116e: start step as a full page on desktop; calendar keeps its compact size */
.stg116.full .stg116in { padding: 40px max(48px, calc((100% - 1040px) / 2)) 48px; }
.stg116.full .stg-b { align-content: center; grid-template-rows: auto auto; row-gap: 32px; column-gap: 80px; margin-top: 0; }
.stg116.full .stg-q h2 { font-size: 40px; }
.stg116 .dp49one { width: 100%; max-width: 420px; justify-self: center; }
.stg116.full .dp49fw { align-self: start; }
.stg116.full .dp49ok.btn { min-height: 60px; font-size: 19px; }
.stg116.full .stg-b { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); grid-template-areas: "q c" "f c"; }
.stg116.full .dp49one { align-self: center; }
.stg116.full .dp49f > span { text-align: start; }
/* r116e (user): finished and running shift sheets share one design; grey card once finished (like the calendar); full-width main button */
.ds36s.pa116 { --hb: var(--pg-bg, var(--sunk)); background: var(--pg-bg, var(--sunk)) !important; color: var(--pg-ink, var(--muted)) !important; }
.ds36s.pa116 .av { filter: grayscale(1); opacity: .85; }
.ds36s.pa116 .ds36n { background: oklch(0 0 0 / .55); color: #fff; }
.l116 { margin-top: 4px; }
.sheet .cs32.whobox .cs-foot .btn.fx89b, .sheet .cs32.whobox .cs-foot .btn.lk49ok { width: 100%; max-width: none; justify-content: center; }
.ds36s.pa116 .ds36x b { color: var(--pg-ink, var(--muted)) !important; }
.sheet .cs32.whobox .cs-foot .btn.fx89b, .sheet .cs32.whobox .cs-foot .btn.lk49ok { width: 100% !important; max-width: none !important; justify-content: center; }
/* home on-shift: one bar the same length as with two people; white shift icons */
.hb116w { min-width: min(100%, 380px); }
.dtop .ns49 .dt-tr .pxic, .dtop .ns49 .tw50c .pxic, .dtop .ns49 .dt-tr svg, .dtop .ns49 .tw50c svg { color: #fff !important; fill: #fff; }
:root:not([data-theme="dark"]) .dtop .ns49 .dt-tr .pxic, :root:not([data-theme="dark"]) .dtop .ns49 .tw50c .pxic { color: var(--fg) !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dtop .ns49 .dt-tr .pxic, :root:not([data-theme="light"]) .dtop .ns49 .tw50c .pxic { color: #fff !important; } }
html.mg48 .sheet .cs32.whobox.fx89p .cs-foot .btn.fx89b, html.mg48 .sheet .cs32.whobox .cs-foot .btn.fx89b, html.mg48 .sheet .cs32.whobox .cs-foot .btn.lk49ok { width: 100% !important; max-width: none !important; }
.sheet .cs32.whobox:has(.fx89b, .lk49ok) .cs-foot { grid-template-columns: minmax(0, 1fr) !important; justify-content: stretch !important; justify-items: stretch !important; }
.sheet .cs32.whobox:has(.fx89b, .lk49ok) .cs-foot .link { justify-self: center; }
/* r116f (user): full-page start step = one centred column: question, prominent tabs, calendar in its own outlined box, one clear summary line, button */
.stg116.desk .stg-b { grid-template-areas: "q c" "s c" "f c"; grid-template-rows: auto auto 1fr; }
.stg116 .seg116 { grid-area: s; }
.stg116.mob .stg-b { grid-template-columns: minmax(0, 1fr); grid-template-areas: "q" "s" "c" "f"; grid-template-rows: auto auto auto 1fr; row-gap: 0; column-gap: 0; }
.stg116.full .stg-b { grid-template-columns: minmax(0, 480px); grid-template-areas: "q" "s" "c" "f"; grid-template-rows: auto auto auto auto; justify-content: center; align-content: center; row-gap: 0; }
.stg116.mob .stg-q { gap: 6px; }
.stg116.full .stg-q h2 { font-size: 34px; }
.stg116 .seg116 { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; margin: 24px 0 0; border-radius: 16px; background: var(--sunk); justify-content: stretch; }
.stg116 .seg116 .ps49b { min-height: 48px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font-size: 16px; font-weight: 600; text-align: center; }
.stg116 .seg116 .ps49b:hover { color: var(--fg); }
.stg116 .seg116 .ps49b.on { background: var(--surface); color: var(--fg); box-shadow: 0 1px 2px rgb(0 0 0 / .12), 0 0 0 1px var(--line); }
.stg116 .seg116 .ps49b:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.stg116 .cal116 { max-width: none; width: auto; justify-self: stretch; align-self: start; margin-top: 16px; padding: 16px 12px 12px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.stg116.mob .cal116 { background: var(--surface); }
.stg116 .cal116 .dp49h { margin-bottom: 4px; }
.stg116 .f116 { gap: 16px; margin-top: 24px; }
.stg116.full .dp49fw { align-self: start; }
.stg116.mob:not(.full) .dp49fw { align-self: end; }
.sum116 { margin: 0; display: grid; gap: 2px; text-align: center; }
.sum116 b { font-size: 18px; font-weight: 700; }
.sum116 span { font-size: 14px; color: var(--muted); }
.stg116.desk .sum116 { text-align: start; }
/* r116g (user): month view greys today's shifts that already ended, same as finished days */
.mview .bc i.b.pa:not(.gap) { background: var(--sunk) !important; color: var(--muted) !important; }
.mview .bc i.b.pa .av { filter: grayscale(1); opacity: .6; }
/* r116g (user): week view, the running shift keeps its outline and gets the glowing count-up bar instead of the "עכשיו" tag */
.c.w3.now115::after { display: none !important; }
.c.w3.now115 { padding-bottom: 18px !important; }
.gb116 { position: absolute; inset-inline: 12px; bottom: 8px; height: 8px; border-radius: 3px; background: oklch(0 0 0 / .16); box-shadow: inset 0 1px 2px oklch(0 0 0 / .28), 0 1px 0 oklch(1 0 0 / .35); pointer-events: none; }
.gb116 > i { position: relative; display: block; height: 100%; border-radius: 3px; background: linear-gradient(to right, oklch(1 0 0 / .5), oklch(1 0 0 / .8) 55%, #fff); }
[dir=rtl] .gb116 > i { background: linear-gradient(to left, oklch(1 0 0 / .5), oklch(1 0 0 / .8) 55%, #fff); }
.gb116 > i::after { content: ""; position: absolute; inset-inline-end: -6px; top: 50%; width: 14px; height: 16px; transform: translateY(-50%); background: radial-gradient(closest-side, oklch(1 0.02 60 / .95), transparent); filter: blur(2px); }
/* today's sheet from the month: finished shifts grey like the day view */
.dm41 .ds36s.past:not(.gap) { background: var(--pg-bg, var(--sunk)) !important; color: var(--pg-ink, var(--muted)) !important; }
.dm41 .ds36s.past .av { filter: grayscale(1); opacity: .7; }
/* r116g (user): calendar link reads as a clear tappable action: tinted button, calendar icon, arrow */
.cb116 { background: color-mix(in oklch, var(--primary) 14%, var(--surface)) !important; box-shadow: inset 0 0 0 1.5px color-mix(in oklch, var(--primary) 45%, transparent) !important; color: var(--fg) !important; }
.cb116 > .ic:first-child { color: var(--primary); }
.cb116 .ar116 { display: inline-grid; place-items: center; margin-inline-start: auto; padding-inline-start: 4px; color: var(--primary); }
.pill57.cb116 { gap: 8px; padding-inline-end: 12px; }
/* r116g (user): December step after sign-up: animated dot tick, big clear copy, usual week in the new 7-tile design */
.ob116 { display: grid; gap: 28px; }
.ob116 .tdone { padding-top: 4vh; gap: 14px; }
.ob116 .tdone h1 { font-size: 32px; line-height: 1.15; }
.ob116 .tdone p { font-size: 18px; line-height: 1.45; max-width: 32ch; color: var(--fg); opacity: .78; }
.ob116w { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.ob116k { font-size: 15px; font-weight: 700; color: var(--muted); }
.ob116c { margin: 0; font-size: 14px; color: var(--muted); }
.ob116l { display: grid; justify-items: center; text-align: center; gap: 14px; padding-top: 18vh; }
.ob116l p { margin: 8px 0 0; font-size: 18px; line-height: 1.45; max-width: 30ch; color: var(--fg); opacity: .78; }
.ob116d { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--sunk); font-size: 15px; font-weight: 700; }
.ob116d .ic { color: var(--muted); }
/* r116g (user): desktop start page uses the page width; the calendar is a real month of day tiles (like the schedule's month view), not a stretched phone picker */
.tl116 { display: none; }
.stg116.full .stg-b { grid-template-columns: minmax(0, 640px); }
.stg116.full .cal116 { padding: 20px; }
.stg116.full .cal116 .dp49h { margin-bottom: 12px; } .stg116.full .cal116 .dp49h b { font-size: 18px; }
.stg116.full .cal116 .dp49w { gap: 8px; margin-bottom: 8px; } .stg116.full .cal116 .dp49w em { font-size: 13px; font-weight: 600; color: var(--muted); font-style: normal; }
.stg116.full .cal116 .dp49g { gap: 8px; }
.stg116.full .cal116 .dp49g > i { height: auto; aspect-ratio: 5 / 4; border-radius: 14px; }
.stg116.full .cal116 .dp49g > i.off { display: flex; align-items: flex-start; justify-content: flex-start; padding: 10px 12px; box-sizing: border-box; background: transparent; box-shadow: inset 0 0 0 1px var(--line); opacity: .45; font-weight: 600; }
.stg116.full .cal116 .dp49g > button { height: auto !important; aspect-ratio: 5 / 4; border-radius: 14px; background: var(--sunk); display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 10px 12px; box-shadow: inset 0 0 0 1px var(--line); transition: background 140ms, box-shadow 140ms; }
.stg116.full .cal116 .dp49g > button::before { display: none !important; }
.stg116.full .cal116 .dp49g > button span { width: auto !important; height: auto !important; background: none !important; border-radius: 0; font-size: 18px; font-weight: 700; line-height: 1; color: inherit; }
.stg116.full .cal116 .dp49g > button:hover { box-shadow: inset 0 0 0 1.5px color-mix(in oklch, var(--primary) 60%, transparent); }
.stg116.full .cal116 .dp49g > button.in { background: color-mix(in oklch, var(--primary) 18%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--primary) 30%, transparent); }
.stg116.full .cal116 .dp49g > button.en { background: var(--primary); color: var(--on-primary, #fff); box-shadow: 0 6px 18px color-mix(in oklch, var(--primary) 35%, transparent); }
.stg116.full .cal116 .dp49g > button.st span { color: var(--primary); }
.stg116.full .cal116 .dp49g > button.en.st span { color: inherit; }
.stg116.full .tl116 { display: block; font-size: 13px; font-weight: 700; line-height: 1; opacity: .9; }
.stg116.full .cal116 .dp49g > button.st:not(.en) .tl116 { color: var(--primary); }
.stg116.full .cal116 .dp49g > button:not(.in):not(.en) { background: color-mix(in oklch, var(--fg) 6%, var(--surface)); }
/* r116h (user): urgency countdown */
.ob116l { padding-top: 10vh; gap: 16px; }
.ob116l h1 { margin: 0; font-size: 32px; line-height: 1.15; text-wrap: balance; }
.ob116u { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 700; color: oklch(0.78 0.16 55); background: color-mix(in oklch, oklch(0.72 0.18 50) 16%, transparent); }
.cd116 { display: flex; align-items: flex-start; justify-content: center; gap: 6px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.cd116 .c { display: grid; justify-items: center; gap: 6px; min-width: 76px; }
.cd116 .c b { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.01em; }
.cd116 .c small { font-size: 13px; font-weight: 600; color: var(--muted); }
.cd116 .c[data-k="s"] b { color: oklch(0.78 0.16 55); }
.cd116 .col { font-style: normal; font-size: 44px; font-weight: 700; line-height: 1.1; color: var(--muted); }
.cd116 .sep { width: 10px; }
.ub116 { position: relative; display: block; width: min(100%, 320px); height: 12px; margin-top: 8px; border-radius: 4px; background: oklch(0 0 0 / .28); box-shadow: inset 0 1px 3px oklch(0 0 0 / .45), 0 1px 0 oklch(1 0 0 / .08); }
.ub116 > i { position: relative; display: block; height: 100%; border-radius: 4px; background: linear-gradient(to right, oklch(0.6 0.2 30), oklch(0.72 0.19 45) 60%, oklch(0.82 0.16 65)); transition: width 900ms linear; }
[dir=rtl] .ub116 > i { background: linear-gradient(to left, oklch(0.6 0.2 30), oklch(0.72 0.19 45) 60%, oklch(0.82 0.16 65)); }
.ub116 > i::after { content: ""; position: absolute; inset-inline-end: -8px; top: 50%; width: 20px; height: 26px; transform: translateY(-50%); background: radial-gradient(closest-side, oklch(0.88 0.14 70 / .95), transparent); filter: blur(2px); }
@media (prefers-reduced-motion: no-preference) { .ub116 > i::after { animation: ub116p 1.6s ease-in-out infinite; } @keyframes ub116p { 50% { opacity: .55; } } }
:root[data-theme="light"] .ub116 { background: oklch(0 0 0 / .1); }
/* r116i (user): smaller hourglass on not-yet-published days; tap = flip + sand runs down (ends looking like it started) */
.f41.tbd44[data-act] { cursor: pointer; }
.hg116 { overflow: visible; transform-origin: 50% 50%; }
.hg116 .s2, .hg116 .sm { opacity: 0; }
.hg116.go { animation: hg116f 520ms cubic-bezier(.34, 1.45, .64, 1) both; }
.hg116.go .s1 { animation: hg116o 120ms linear both; animation-delay: calc(560ms + var(--i) * 95ms); }
.hg116.go .s2 { animation: hg116i 120ms linear both; animation-delay: calc(600ms + var(--i) * 95ms); }
.hg116.go .sm { animation: hg116s 220ms steps(1) 4 both; animation-delay: 540ms; }
.hg116.go .sm2 { animation-delay: 650ms; }
@keyframes hg116f { from { rotate: 0deg; } to { rotate: 180deg; } }
@keyframes hg116o { to { opacity: 0; } }
@keyframes hg116i { from { opacity: 0; } to { opacity: 1; } }
@keyframes hg116s { 0% { opacity: 1; } 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hg116.go, .hg116.go * { animation: none !important; } }
.hg116 > rect:not([class]) { opacity: .7; } .f41.tbd44 .hg116 { opacity: .85; }

/* r117 (user pick A): desktop availability = half-size tiles + the status on the same line, centred, no box, no December line. Phone stays as r116. */
.av117s { display: none; }
@media (min-width: 1000px) {
  .av116s.sd117 .av116h .p82, .av116s.sd117 .mo116 { display: none; }
  .av117 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
  .av117 .av116 { gap: 6px; max-width: 390px; }
  .av117 .av116 i { max-width: 48px; border-radius: 12px; }
  .av117 .av116 i.nv svg, .av117 .av116 i.nv .pxg { width: 18px; height: 18px; }
  .av117s { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; padding-top: 19px; text-align: center; }
  .av117s:has(.nt117) { padding-top: 0; }
  .av117s .nt117 { font-size: 14px; font-weight: 600; line-height: 1.2; color: oklch(0.5 0.12 70); }
  :root[data-theme="dark"] .av117s .nt117 { color: oklch(0.86 0.13 75); }
  .av117s .p82 { height: 40px; }
  .av117s .btn.rm117 { width: auto; flex: 0 0 auto; height: 44px; min-height: 44px; padding: 0 20px; border-radius: 999px; gap: 8px; display: inline-flex; align-items: center; }
}
/* r117d (user): not sent yet = blank tiles except the never days (red X stays), so it doesn't read as his answer for the month */
.av116s.ns117 .av116 i:not(.nv) { background: transparent !important; box-shadow: inset 0 0 0 1.5px var(--line) !important; }
.av116s.ns117 .av116 i:not(.nv) > * { visibility: hidden; }
/* r116j (user): home calendar button = quiet translucent like "can't come", only the icon tinted; real side padding */
.hh-acts .hb2.cq116 { padding-inline: 18px; gap: 10px; }

/* r116j (user): trainer week = one even rhythm: shift rows compact, one line (time left, shift name right), same height as "no shift" rows; chevron stays centred */
.tw41 .r41 { gap: 12px; }
.tw41 .r41 .c41, .tw41 .r41 .f41 { min-height: 64px !important; height: 64px; padding-block: 0 !important; padding-inline: 16px !important; }
.tw41 .r41 .c41 .grow { display: flex !important; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 12px; }
.tw41 .r41 .c41 .k41 { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tw41 .cs41 { gap: 8px; }
.tw41 .l41 { row-gap: 8px; }
/* r116k (user): trainer week label sized to sit with the big time, centred on it; worked shifts grey like Ishay's past cards (grey B), week + month */
.tw41 .r41 .c41 .grow { align-items: center !important; }
.tw41 .r41 .c41 .tm41 { align-items: center; }
.tw41 .r41 .c41 .k41 { font-size: 16px !important; font-weight: 600; line-height: 1 !important; display: block; padding-top: 2px; }
.tw41 .c41.gone, .tw41[data-wc] .c41.gone { opacity: 1 !important; background: var(--pg-bg) !important; border-color: transparent !important; box-shadow: none !important; }
.tw41[data-wc] .c41.gone :is(.k41, .tm41 .t, .chev, .tm41 .pxic) { color: var(--pg-ink) !important; opacity: 1 !important; }
.tw41 .c41.gone .tm41 .pxic { opacity: .7 !important; }
.tw41 .r41.gone .d41 { opacity: .6; }
:root .tmon button.on.gone[style][class] { background: var(--pg-bg) !important; color: var(--pg-ink) !important; opacity: 1 !important; filter: none !important; }
.tmon button.on.gone :is(b, span, .pxic) { color: var(--pg-ink) !important; opacity: 1 !important; }
.tmon button.on.gone .pxic { opacity: .7 !important; }
/* r116l (user): when the hero is left with only "can't come", it spans the row */
.hh-acts:has(> :only-child) > * { grid-column: 1 / -1; flex: 1; }
/* r116m (user): a lone "needs you" card fills the row as a wide card (icon | title + line | button) instead of a square with empty space beside it */
.hrow > .sq:only-child { width: 100% !important; flex: 1 1 100%; aspect-ratio: auto; min-height: 84px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ib b go" "ib c go"; align-items: center; column-gap: 14px; row-gap: 2px; padding: 16px; }
.hrow > .sq:only-child .ib { grid-area: ib; width: 48px; height: 48px; border-radius: 14px; margin: 0; }
.hrow > .sq:only-child .ib .ic { width: 22px; height: 22px; }
.hrow > .sq:only-child b { grid-area: b; align-self: end; font-size: 16px; }
.hrow > .sq:only-child b br { display: none; }
.hrow > .sq:only-child .c { grid-area: c; align-self: start; font-size: 13.5px; }
.hrow > .sq:only-child .go { grid-area: go; position: static; max-width: none; font-size: 14px; padding: 9px 16px; }
/* r117e (user): on phone the trainer page sits straight on the background, no big card; desktop keeps the card */
@media (max-width: 999.98px) { .tw50d:has(.th116w) { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 0 24px !important; border-radius: 0 !important; } }
@media (max-width: 999.98px) {
  /* r117e (user): one 16px edge for every block, 24px between blocks, 12px heading to content */
  .tw50d .th116w { display: flex !important; flex-direction: column !important; gap: 24px !important; padding-bottom: 0 !important; }
  .tw50d .th116w > *, .tw50d .th116w > .t52c > * { margin-top: 0 !important; margin-bottom: 0 !important; margin-inline: 0 !important; width: 100% !important; max-width: none !important; box-sizing: border-box; }
  .tw50d .th116w > .t52c { display: flex !important; flex-direction: column !important; gap: 24px !important; }
  .tw50d .th116w .th116 { padding: 24px 0 0 !important; }
  .tw50d .th116w .th116a { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px !important; width: 100%; margin: 24px 0 0 !important; padding: 0 !important; box-sizing: border-box; }
  .tw50d .th116w .th116a .btn { width: 100%; min-width: 0; margin: 0 !important; }
  .tw50d .th116w .t50s > h3, .tw50d .th116w .av116h { margin: 0 0 12px !important; }
  .tw50d .th116w .t51wl { white-space: nowrap; }
  .tw50d .th116w .t50s { gap: 0 !important; }
  .tw50d .th116w .th116a { justify-self: stretch !important; align-self: stretch !important; max-width: none !important; width: 100% !important; }
}
/* r117f (user): on phone the sent / not sent status sits under the name (important status), not beside the availability heading */
.st117 { display: none; }
@media (max-width: 999.98px) {
  .tw50d .th116w .st117 { display: flex; justify-content: center; margin-top: 12px; }
  .tw50d .th116w .st117 .p82 { height: 36px; }
  .tw50d .th116w .av116h .p82 { display: none; }
}
/* r116n (user): skeletons are a quiet tint with a soft shimmer, never a dark hole with a bright edge or glow */
.skeleton, .sk35 .skeleton { background: color-mix(in oklch, var(--fg) 6%, transparent) !important; border: 0 !important; outline: 0 !important; box-shadow: none !important; filter: none !important; position: relative; overflow: hidden; animation: none !important; }
.skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, color-mix(in oklch, var(--fg) 6%, transparent) 50%, transparent 80%); transform: translateX(-100%); }
@media (prefers-reduced-motion: no-preference) { .skeleton::after { animation: sk116 1.6s ease-in-out infinite; } @keyframes sk116 { to { transform: translateX(100%); } } }
[dir=rtl] .skeleton::after { animation-direction: reverse; }
:root[data-theme="light"] .skeleton, :root[data-theme="light"] .sk35 .skeleton { background: color-mix(in oklch, var(--fg) 5%, transparent) !important; }
/* r116n (user): Ishay phone home: keep the December card as a box, gap above it = side gap (20px) */
.m31:has(> .bc31:first-child) { padding-top: 20px !important; }
/* r116n (user): phone home on-shift bar spans the row (a mobile flex rule shrank it to its glow dot) */
.hb116w > .hb116 { width: 100% !important; min-width: 0; justify-self: stretch !important; align-self: stretch; flex: 1 0 100%; box-sizing: border-box; }
/* r116o (user): home "on shift now" bar (desktop + phone) = thicker, squarer, clearly indented groove */
@media all {
  .hb116w > .hb116 { height: 16px !important; border-radius: 3px !important; background: oklch(0 0 0 / .35) !important; box-shadow: inset 0 2px 4px oklch(0 0 0 / .6), inset 0 -1px 0 oklch(1 0 0 / .05), 0 1px 0 oklch(1 0 0 / .08) !important; padding: 3px; }
  .hb116w > .hb116 > i { inset-block: 3px !important; inset-inline-start: 3px !important; border-radius: 2px !important; max-width: calc(100% - 6px); }
  .hb116w > .hb116 > i::after { width: 22px; height: 28px; }
  :root[data-theme="light"] .hb116w > .hb116 { background: oklch(0.35 0.03 168 / .14) !important; box-shadow: inset 0 2px 3px oklch(0 0 0 / .22), 0 1px 0 oklch(1 0 0 / .7) !important; }
}
/* r116p (user): phone week: the running shift shows the same count-up groove bar as desktop instead of the "עכשיו" tag */
.ce.now115::after { display: none !important; }
.ce.now115 .ce-t { visibility: hidden; }
.ce.now115 .gb116 { inset-inline: 14px; bottom: auto; top: auto; inset-block-end: 22px; }
/* r116p (user): Ishay home "on shift now": the shift icon is the same colour as its time (white on dark), on phone and desktop */
.hb116w .pxic { color: inherit !important; }
.hb116w .pxic rect { fill: currentColor !important; }
/* r117g (user): selected shift outlines (3px + 2px offset) touched at 8px gap; 14px gap leaves 4px clear between two selected tiles */
.sl45 > div { gap: 14px; }
.sl45 .cap { margin-bottom: 0; }
.sl45 .btn { margin-top: 6px; }
/* r116q (user): the !CON logo "!" is square like the letters (a generic .dots i rule rounded it) */
.lg .bang, .sp-c .bang { border-radius: 0 !important; }
/* r116q (user): the shift icon in Ishay's home hero is white like its time, also before the shift starts */
.ns49w .pxic { color: inherit !important; } .ns49w .pxic rect { fill: currentColor !important; }
/* r116q (user): before the shift starts, the home hero shows the same groove, empty (no light) */
.hb116.e116 > i { display: none; }
/* r116q (user): trainer week rows: the shift name sits centred on the big time digits */
.tw41 .r41 .c41 .k41 { position: relative; top: 2px; }
/* r116r (user): week view running bar = the same thick, squared, indented groove as the home hero (phone + desktop) */
.gb116 { height: 14px !important; padding: 3px; box-sizing: border-box; border-radius: 3px !important; background: oklch(0 0 0 / .32) !important; box-shadow: inset 0 2px 4px oklch(0 0 0 / .55), 0 1px 0 oklch(1 0 0 / .3) !important; }
.gb116 > i { border-radius: 2px !important; max-width: 100%; }
.gb116 > i::after { width: 18px; height: 22px; }
.c.w3.now115 { padding-bottom: 24px !important; }
/* r117h (user): December intro uses the proper two-row dotted tick that draws in (same as the sent screens) */
.ob116 .dtk .tk44 { margin: 0; }
/* r116t (user pick H): trainer home upcoming cards = dark shift tint, big day + date on top, icon beside the dotted time (icon bottom on the digits' baseline) */
.sq.u70 { display: flex !important; flex-direction: column !important; align-items: flex-start !important; justify-content: space-between !important; text-align: start !important; padding: 16px !important; gap: 0 !important; background: color-mix(in oklch, var(--c) 22%, #0a0a0a) !important; border: 0 !important; box-shadow: none !important; color: #fff !important; }
.sq.u70 .dl70 { font-size: 22px !important; font-weight: 800 !important; line-height: 1.1 !important; white-space: normal !important; color: inherit !important; }
.sq.u70 .dd116 { display: block; font-size: 17px; font-weight: 600; opacity: .8; margin-top: 2px; text-align: start; }
.sq.u70 .t70.t116 { margin: 0 !important; display: flex; align-items: flex-end; gap: 8px; line-height: 1; font-family: "Px71", "Doto", system-ui, sans-serif; font-weight: 900; letter-spacing: .02em; font-size: 24px !important; color: #fff; }
.sq.u70 .t116 .ic70 { margin: 0 !important; line-height: 0; color: var(--c) !important; display: block; transform: translateY(-4px); }
.sq.u70 .t116 .tt116 { display: block; line-height: 1; }
:root[data-theme="light"] .sq.u70 { background: color-mix(in oklch, var(--c) 30%, white) !important; color: #0b1210 !important; }
:root[data-theme="light"] .sq.u70 .t70.t116 { color: #0b1210; }
:root[data-theme="light"] .sq.u70 .t116 .ic70 { color: color-mix(in oklch, var(--c) 55%, black) !important; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .sq.u70 { background: color-mix(in oklch, var(--c) 30%, white) !important; color: #0b1210 !important; } :root:not([data-theme="dark"]) .sq.u70 .t70.t116 { color: #0b1210; } :root:not([data-theme="dark"]) .sq.u70 .t116 .ic70 { color: color-mix(in oklch, var(--c) 55%, black) !important; } }
/* r116u (user): onboarding "הכול מוכן!" uses the same two-row dotted tick in the soft green circle as the December step */
.dn116 .dtk { margin: 0 auto 16px; }
.dn116 .dtk .tk44 { margin: 0; }
/* r116u (user): December step: one-line subtitle, and without the week card the content sits lower instead of hugging the top */
.ob116 .tdone p { text-wrap: balance; }
.ob116:not(:has(.ob116w)) .tdone { padding-top: 12vh; }
.ob116a .tdone { padding-top: calc(4vh + 56px) !important; }
/* r116v (user pick): toasts = full-width dark glass bar above the nav (desktop: 440px at top centre), tick inset in a tinted circle, undo at the end, swipe to close */
html body .toast.tq116 { left: 16px; right: 16px; width: auto; max-width: none; transform: none; translate: 0 0; display: flex; align-items: center; gap: 12px; min-height: 52px; box-sizing: border-box; padding: 6px 16px; padding-inline-start: 10px; border-radius: 18px; background: color-mix(in oklch, var(--bg) 72%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); color: var(--fg); border: 1px solid color-mix(in oklch, var(--fg) 12%, transparent); box-shadow: 0 10px 30px oklch(0 0 0 / .45); font: 600 15px/1.3 var(--font); touch-action: none; user-select: none; animation: tq116 320ms cubic-bezier(.2,.9,.3,1.15) both; }
html body .toast.tq116 .tq-ic { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklch, var(--ok) 22%, transparent); color: var(--ok); line-height: 0; }
html body .toast.tq116 .tq-ic svg, html body .toast.tq116 .tq-ic .ic { width: 14px; height: 14px; display: block; }
html body .toast.tq116.bad .tq-ic { background: oklch(0.6 0.19 25 / .22); color: oklch(0.78 0.14 25); }
html body .toast.tq116 .t-msg { flex: 1; min-width: 0; white-space: normal; overflow: visible; }
html body .toast.tq116 .t-undo { flex: none; margin: 0; margin-inline-start: auto; min-height: 40px; padding: 0 14px; border: 0; border-radius: 12px; background: color-mix(in oklch, var(--ok) 16%, transparent); color: var(--ok); font: 700 15px/1 var(--font); }
@keyframes tq116 { from { opacity: 0; translate: 0 16px; } }
@media (min-width: 1000px) { html body .toast.tq116, html body.tabs-on #app.wide ~ .toast.tq116 { top: 24px; bottom: auto; right: auto; width: 440px; transform: translateX(-50%); animation-name: tq116d; } }
@keyframes tq116d { from { opacity: 0; translate: 0 -16px; } }
@media (prefers-reduced-motion: reduce) { html body .toast.tq116 { animation-duration: 1ms; } }
/* r116v (user pick C): back to this week / month = small dark glass pill with green text, like the nav bar */
html body .wktoday.wktoday { height: 40px !important; min-height: 40px !important; padding: 0 16px !important; font-size: 15px !important; font-weight: 700 !important; background: color-mix(in oklch, var(--bg) 70%, transparent) !important; -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); color: var(--ok) !important; border: 1px solid color-mix(in oklch, var(--fg) 12%, transparent) !important; box-shadow: 0 8px 24px oklch(0 0 0 / .5) !important; }
html body .wktoday.wktoday .ic { color: var(--ok) !important; }
/* r116v (user pick A): December step after setup = the home December card as a full screen (orange gradient, pixel calendar, dark pill + dark button) */
.screen:has(.ob116o) { --ink116: oklch(0.22 0.04 50); background: linear-gradient(160deg, oklch(0.84 0.15 75) 0%, oklch(0.75 0.17 55) 100%) !important; color: var(--ink116) !important; }
.screen:has(.ob116o) .topbar, .screen:has(.ob116o) .topbar * { color: var(--ink116) !important; }
.ob116o .tdone, .ob116o .tdone h1, .ob116o .tdone p { color: var(--ink116) !important; }
.ob116o .tdone p { opacity: .85 !important; }
.ob116o .ob116x { line-height: 0; color: var(--ink116); }
.ob116o .ob116x .hx44 { width: 72px; height: 72px; margin: 0; color: var(--ink116); }
.ob116o .ob116d { background: oklch(0.2 0.03 50) !important; color: oklch(0.88 0.13 75) !important; }
.ob116o .ob116d .ic { color: inherit !important; }
.ob116o .ob116w { background: oklch(0.2 0.03 50 / .92) !important; border: 0 !important; }
html body .screen:has(.ob116o) .bottom.bottom, html body .screen:has(.ob116o) .bottom.bottom::before { background: transparent !important; box-shadow: none !important; border: 0 !important; }
.screen:has(.ob116o) .bottom .btn { background: oklch(0.2 0.03 50) !important; color: #fff !important; box-shadow: none !important; }
.screen:has(.ob116o) .bottom .link { color: var(--ink116) !important; }
/* r116v (user): the date sits right under the day name (same edge), not on the far side */
.sq.u70 .dd116 { text-align: right; } [dir=ltr] .sq.u70 .dd116 { text-align: left; }
.sq.u70 .dl70 { align-self: stretch; text-align: right !important; } [dir=ltr] .sq.u70 .dl70 { text-align: left !important; }
/* r116v (user): the calendar "connected" pill stands off the sheet (lighter fill + hairline), and the tick is dark on green for contrast */
html body .cs104 { background: color-mix(in oklch, var(--fg) 10%, var(--bg)) !important; border: 1px solid color-mix(in oklch, var(--fg) 16%, transparent) !important; color: var(--fg) !important; }
html body .cs104 .bi svg { width: 20px; height: 20px; }
html body .cs104 .tk104 { background: var(--ok) !important; color: oklch(0.2 0.05 165) !important; }
html body .screen:has(.ob116o) .top, html body .screen:has(.ob116o) .top * { color: oklch(0.22 0.04 50) !important; }
/* r116w (user): while a floating "back to this week/month" pill shows, the page gets extra room at the end so the last row can scroll above it */
body:has(> #wktoday) #app .screen::after, body:has(> .zm38) #app .screen::after { content: ""; display: block; height: 64px; flex: none; }
/* r116x (user): trainer week shift rows: label, icon+time group and chevron share one vertical centre; time and icon 22px so the row matches the "no shift" rows */
.tw41 .r41 .c41 .k41 { padding-top: 0 !important; top: 0 !important; }
.tw41 .r41 .c41 .tm41 { gap: 8px !important; }
.tw41 .r41 .c41 .tm41 .t { font-size: 22px !important; }
.tw41 .r41 .c41 .tm41 .pxic { width: 22px !important; height: 22px !important; }
/* r119 (user): desktop team page fits the screen: no page scroll, list scrolls in its card, trainer page without KPI cards, status under the name, availability in an outlined box, account actions in a ⋯ menu, details in a 2x2 grid */
.nx119 .ds36p.e119 > i { display: none; }
.mn119w { display: none; }
.t51.th116w .t53k { display: none !important; }
@media (min-width: 1000px) {
  html:has(.tw50), body:has(.tw50) { overflow: hidden; }
  html[data-tl="b"] .tw50 { height: calc(100dvh - 44px); align-items: stretch; grid-template-rows: minmax(0, 100%); }
  html[data-tl="b"] .tw50 > .tw50d { height: 100%; max-height: 100%; min-height: 0; box-sizing: border-box; overflow-y: auto; scrollbar-width: none; position: relative; padding-block: 24px; }
  html[data-tl="b"] .tw50 > .tw50d::-webkit-scrollbar { display: none; }
  /* list: Material one-line list with avatar = 56px rows, 40px avatar, 16px between avatar and name, no extra gap between rows */
  html[data-tl="b"] .tw50 > .tw50l { height: 100%; max-height: 100%; min-height: 0; box-sizing: border-box; }
  html[data-tl="b"] .tw50sc { gap: 0; }
  html[data-tl="b"] .tw50sc .t50li { min-height: 56px; height: 56px; padding-block: 0; padding-inline: 12px 16px; gap: 16px; box-sizing: border-box; }
  html[data-tl="b"] .tw50sc .t50li .av { width: 40px !important; height: 40px !important; }
  .tw50d .mn119w { display: block; position: absolute; top: 16px; inset-inline-end: 16px; z-index: 4; }
  .mn119 { width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: color-mix(in oklch, var(--fg) 8%, transparent); color: var(--fg); cursor: pointer; }
  .mn119:hover, .mn119[aria-expanded="true"] { background: color-mix(in oklch, var(--fg) 14%, transparent); }
  .mn119p { position: absolute; top: 48px; inset-inline-end: 0; min-width: 210px; padding: 6px; border-radius: 16px; background: var(--surface); border: 1px solid color-mix(in oklch, var(--fg) 12%, transparent); box-shadow: 0 12px 32px oklch(0 0 0 / .45); display: grid; gap: 2px; }
  .mn119p[hidden] { display: none; }
  .mn119p button { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--fg); font: 600 15px/1 var(--font); text-align: start; cursor: pointer; }
  .mn119p button:hover { background: color-mix(in oklch, var(--fg) 7%, transparent); }
  .mn119p button.rm { color: var(--no-ink); }
  .mn119p .ic { width: 18px; height: 18px; }
  .tw50d .t51.th116w > .t50s:has(.t51rmx), .tw50d .t52c > .t50s:has(.t51rmx) { display: none !important; }
  .tw50d .t51.th116w { gap: 24px !important; row-gap: 24px !important; padding-bottom: 0 !important; }
  .tw50d .t51.th116w > *, .tw50d .t52c > .t50s { margin-block: 0 !important; }
  .tw50d .th116w .th116 { gap: 0 !important; padding-top: 0 !important; }
  .tw50d .th116w .th116 > .av { width: 96px !important; height: 96px !important; margin: 0 !important; }
  .tw50d .th116w .th116 .nm51 { margin: 12px 0 0 !important; }
  .tw50d .th116w .st117 { display: flex; justify-content: center; margin-top: 16px; }
  .tw50d .th116w .th116a { margin-top: 20px !important; }
  .tw50d .th116w .av116h .p82, .tw50d .th116w .av117s { display: none !important; }
  .tw50d .th116w .av116h { margin: 0 0 12px !important; min-height: 0 !important; }
  .tw50d .th116w .av116h h3, .tw50d .t52c .t50s h3 { margin: 0 !important; line-height: 1.2 !important; }
  .tw50d .t52c .t50s h3 { margin-bottom: 12px !important; }
  .tw50d .th116w .av117 { display: block !important; padding: 14px 16px 16px !important; border: 1px solid color-mix(in oklch, var(--fg) 12%, transparent); border-radius: 20px; }
  .tw50d .th116w .av116 { width: 100% !important; max-width: none !important; display: grid !important; grid-template-columns: repeat(7, 1fr); gap: 10px !important; }
  .tw50d .th116w .av116 .d { justify-items: stretch !important; }
  .tw50d .th116w .av116 .d i { width: auto !important; max-width: none !important; height: 44px !important; }
  .tw50d .t52c { display: block !important; }
  .tw50d .t52c .t50l { display: grid !important; grid-template-columns: 1fr 1fr; }
  .tw50d .t52c .t50l > * { border-bottom: 0 !important; min-height: 64px !important; }
  .tw50d .t52c .t50l > *:nth-child(odd) { border-inline-end: 1px solid color-mix(in oklch, var(--fg) 8%, transparent) !important; }
  .tw50d .t52c .t50l > *:nth-child(-n+2) { border-bottom: 1px solid color-mix(in oklch, var(--fg) 8%, transparent) !important; }
  .tw50d .t51wl { white-space: nowrap; }
}
/* r119b (user): the week grid can get extra height so today scrolls to the top; keep that space below the last day, never inside every day card */
.wk { align-content: start; }
/* r119c (user): one bar everywhere = the team-card "on shift now" bar: 10px groove, fill takes the whole groove (no inner padding) */
html body .hb116w > .hb116 { height: 10px !important; padding: 0 !important; border-radius: 3px !important; background: oklch(1 0 0 / .1) !important; box-shadow: inset 0 1px 3px oklch(0 0 0 / .45), 0 1px 0 oklch(1 0 0 / .06) !important; }
html body .hb116w > .hb116 > i, html body .hb116 > i { inset-block: 0 !important; inset-inline-start: 0 !important; height: auto !important; border-radius: 3px !important; max-width: 100%; }
html body .hb116w > .hb116 > i::after { width: 18px; height: 22px; }
:root[data-theme="light"] body .hb116w > .hb116 { background: oklch(0.35 0.03 168 / .1) !important; box-shadow: inset 0 1px 2px oklch(0 0 0 / .15) !important; }
html body .gb116 { height: 10px !important; padding: 0 !important; border-radius: 3px !important; background: oklch(0 0 0 / .16) !important; box-shadow: inset 0 1px 3px oklch(0 0 0 / .28), 0 1px 0 oklch(1 0 0 / .35) !important; }
html body .gb116 > i { border-radius: 3px !important; }
html body .gb116 > i::after { width: 14px; height: 16px; }
/* r119e (user): appearance sheet = a normal settings list (icon, name, tick), not big preview tiles */
.th119w { display: grid; margin-top: 12px; border-radius: 20px; overflow: hidden; background: color-mix(in oklch, var(--fg) 5%, transparent); }
.th119w .th50t.th119 { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 16px; cursor: pointer; color: var(--fg); }
.th119w .th50t.th119 + .th50t.th119 { border-top: 1px solid color-mix(in oklch, var(--fg) 8%, transparent); }
.th119w .th119l { flex: 1; display: grid; gap: 2px; } .th119w .th119l b { font: 600 16px/1.25 var(--font); } .th119w .th119l small { font: 400 13px/1.3 var(--font); color: var(--muted); }
.th119w .th119c { width: 24px; height: 24px; color: var(--ok); opacity: 0; } .th119w .th119c .ic { width: 22px; height: 22px; }
.th119w .th50t.th119.on .th119c { opacity: 1; }
.th119w .th50t.th119:focus-visible { outline: 2px solid var(--fg); outline-offset: -2px; }
/* r120 (user pick, round 3 option 2): Mac Contacts team page. One card: list | centred profile, split by a hairline; profile pane a shade darker so its white groups stand out */
.tp120 { --wn: oklch(0.5 0.12 70); --okn: oklch(0.45 0.12 160); --ringbg: var(--bg); }
:root[data-theme="dark"] .tp120, :root[data-theme="dark"] .tp120ph { --wn: oklch(0.86 0.13 75); --okn: oklch(0.82 0.13 160); }
.tp120ph { --wn: oklch(0.5 0.12 70); --okn: oklch(0.45 0.12 160); --ringbg: var(--bg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tp120, :root:not([data-theme="light"]) .tp120ph { --wn: oklch(0.86 0.13 75); --okn: oklch(0.82 0.13 160); } }
.tp120 { display: grid; grid-template-columns: 400px minmax(0, 1fr); height: calc(100dvh - 44px); max-width: 1180px; width: 100%; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-sizing: border-box; }
html:has(.tp120), body:has(.tp120) { overflow: hidden; }
.tp120l { display: flex; flex-direction: column; gap: 12px; min-height: 0; padding: 24px 12px 0; border-inline-end: 1px solid var(--line); background: var(--surface); }
.tp120lh { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 12px; }
.tp120lh h1 { margin: 0; }
.tp120add { appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-ink); font: inherit; font-size: 15px; font-weight: 600; }
.tp120add:hover { filter: brightness(1.04); }
.tp120ls { overflow-y: auto; scrollbar-width: none; min-height: 0; padding-bottom: 16px; }
.tp120ls::-webkit-scrollbar { display: none; }
.tp120ls .av52in { margin: 0 4px 12px; }
.tp120g { font-size: 14px; font-weight: 600; color: var(--muted); padding: 8px 12px; line-height: 20px; }
.tp120td { display: grid; gap: 8px; padding-inline: 4px; margin-bottom: 12px; }
.tp120tc { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--sunk); color: var(--fg); text-decoration: none; box-sizing: border-box; }
.tp120tc .av { flex: none; box-shadow: none !important; }
.tp120tc.live { padding-bottom: 30px; background: oklch(0.82 0.09 150); color: oklch(0.22 0.03 160); }
.tp120tc.live .gb116 { inset-inline: 14px; bottom: 11px; }
.tp120tc.on { box-shadow: inset 0 0 0 2px var(--primary); }
.tp120tx { flex: 1; display: grid; gap: 2px; min-width: 0; }
.tp120tx b { font-weight: 600; font-size: 16px; line-height: 20px; }
.tp120tx > span { font-size: 13px; line-height: 18px; color: var(--muted); }
.tp120tc.live .tp120tx > span { color: oklch(0.22 0.03 160 / .75); }
.tp120tm { display: inline-flex; align-items: flex-end; gap: 6px; flex: none; }
.tp120tm .pxic { display: block; }
.tp120tm > span { font-family: "Px71", monospace; font-weight: 900; font-size: 18px; letter-spacing: .02em; line-height: 1; }
.tp120tc.live .pxic { color: oklch(0.32 0.06 160) !important; }
.tp120all { display: grid; }
.tp120r { position: relative; display: flex; align-items: center; gap: 14px; height: 68px; padding: 0 12px; border-radius: 16px; color: var(--fg); text-decoration: none; box-sizing: border-box; }
.tp120r .av { flex: none; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--tc) !important; }
.tp120rx { flex: 1; align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; border-bottom: 1px solid var(--line); }
.tp120r:last-child .tp120rx, .tp120r.on .tp120rx, .tp120r:has(+ .tp120r.on) .tp120rx, .tp120r:hover .tp120rx, .tp120r:has(+ .tp120r:hover) .tp120rx { border-bottom-color: transparent; }
.tp120rx b { font-size: 17px; font-weight: 500; line-height: 22px; }
.tp120s { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; line-height: 18px; color: var(--muted); }
.tp120s.wn { color: var(--wn); }
.tp120s.wn i, .tp120st.wn i { width: 8px; height: 8px; border-radius: 50%; background: oklch(0.78 0.15 70); flex: none; }
.tp120r.on { background: var(--primary-soft); }
.tp120r:not(.on):hover { background: var(--sunk); }
.tp120rm { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: oklch(0.52 0.13 150); color: #fff; opacity: 0; transition: opacity .15s; cursor: pointer; }
.tp120rm svg { width: 18px; height: 18px; }
@media (hover: hover) { .tp120r:hover .tp120rm, .tp120rm:focus-visible { opacity: 1; } }
@media (hover: none) { .tp120rm { display: none; } }
.tp120pane { min-width: 0; min-height: 0; overflow-y: auto; scrollbar-width: none; background: var(--bg); padding: 32px 24px 56px; box-sizing: border-box; }
.tp120pane::-webkit-scrollbar { display: none; }
/* profile */
.tp120p { max-width: 480px; margin: 0 auto; }
.tp120h { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.tp120h > .av { box-shadow: 0 0 0 4px var(--ringbg), 0 0 0 8px var(--tc) !important; margin: 8px 0 0; }
.tp120h .nm51 { margin: 20px 0 0 !important; font-size: 28px; line-height: 36px; }
.tp120sub { color: var(--muted); font-size: 16px; line-height: 22px; }
.tp120lv { margin: 20px auto 0; max-width: 360px; display: grid; gap: 10px; }
.tp120lvt { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 15px; }
.tp120lvt b { font-weight: 600; }
.tp120dot { width: 8px; height: 8px; border-radius: 50%; background: oklch(0.7 0.15 150); box-shadow: 0 0 0 4px oklch(0.7 0.15 150 / .2); }
.tp120lv .tp120tm > span { font-size: 16px; }
.tp120hb { display: block !important; min-width: 0 !important; width: 100%; }
.tp120act { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.tp120act.one { grid-template-columns: 1fr; }
.tp120act .btn { min-height: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; font-weight: 600; text-decoration: none; width: 100%; margin: 0; }
.tp120p .sect { margin: 32px 16px 8px; }
.tp120sh { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 32px 16px 8px; }
.tp120sh .sect { margin: 0 !important; }
.tp120wk { font-size: 14px; color: var(--muted); }
.tp120up { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tp120up .sq.u70 { width: auto !important; height: 132px !important; min-width: 0; border-radius: 22px; }
.tp120up .sq.u70 .t70.t116 { font-size: 22px !important; }
.tp120box { padding: 16px; } .tp120box p { margin: 0; color: var(--muted); font-size: 15px; text-align: center; }
.tp120dec { padding: 16px; }
.tp120dec:not(.nost) { padding-top: 0; }
.tp120st { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; margin: 0 -16px 16px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.tp120st.wn { color: var(--wn); } .tp120st.ok { color: var(--okn); }
.tp120tl { gap: 8px !important; }
.tp120tl i { aspect-ratio: auto !important; height: 56px; max-width: none !important; border-radius: 14px !important; }
.tp120nt { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.tp120sw { display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; box-shadow: inset 0 0 0 1px oklch(0 0 0 / .12); }
.tp120p.prof44 .list .li > .grow > .cap { max-width: 60%; }
.tp120p .list .li .t51st { display: inline-flex; align-items: center; gap: 4px; }
.tp120del { color: var(--no-ink); }
/* phone: same profile full width; list = today group + rows with lines in one card */
@media (max-width: 999px) {
  .tp120ph { padding-bottom: 32px; }
  .tp120ph .tp120l.ph { padding: 8px 0 0; border: 0; background: none; gap: 12px; }
  .tp120ph .tp120lh { padding-inline: 0; }
  .tp120ph .tp120ls { overflow: visible; }
  .tp120ph .tp120td { padding-inline: 0; }
  .tp120ph .tp120g { padding-inline: 4px; }
  .tp120ph .tp120all { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 4px; }
  .tp120ph .tp120pane { background: none; padding: 8px 0 24px; overflow: visible; }
  .tp120ph .tp120p { max-width: none; }
  .tp120ph .tp120up { gap: 8px; }
  .tp120ph .tp120up .sq.u70 { height: 116px !important; padding: 12px !important; border-radius: 18px; }
  .tp120ph .tp120up .sq.u70 .dl70 { font-size: 18px !important; }
  .tp120ph .tp120up .sq.u70 .dd116 { font-size: 14px; }
  .tp120ph .tp120up .sq.u70 .t70.t116 { font-size: 17px !important; gap: 4px; }
  .tp120ph .tp120up .sq.u70 .ic70 svg { width: 20px; height: 20px; }
  .tp120ph .tp120tl { gap: 6px !important; }
  .tp120ph .tp120tl i { height: 48px; border-radius: 12px !important; }
}
.tp120p .list .li { border-bottom: 0 !important; }
.tp120p .list div.li { min-height: 56px; padding-block: 6px; box-sizing: border-box; }
.tp120stp button { width: 36px !important; height: 36px !important; }
.tp120stp input { width: 34px !important; font-size: 20px !important; }
@media (max-width: 999px) { .tp120ph .tp120lv { max-width: min(320px, 82%); } }
.tp120st { box-sizing: border-box; height: 50px; padding-top: 4px; }
/* r120b (user): now card with the black "עכשיו" tag on top of the list, add button back at the bottom, iOS hairlines (1 device pixel, starting at the text, never under the avatar), December box without title with the reminder on its status line */
.tp120ls .nw115c { margin: 0 4px 16px; }
.tp120ad { flex: none; margin: 8px 0 16px !important; }
.tp120rx { border-bottom-width: 0.5px; }
.tp120p > .tp120dec { margin-top: 24px; }
.tp120sh + .tp120dec { margin-top: 0; }
.tp120st.wn { justify-content: space-between; height: auto; min-height: 72px; padding: 12px 16px; gap: 12px; text-align: start; }
.tp120stx { display: grid; gap: 2px; min-width: 0; }
.tp120stx b { font-size: 15px; font-weight: 600; line-height: 20px; }
.tp120stx small { font-size: 13px; line-height: 18px; color: var(--muted); font-weight: 400; }
.tp120rmb { flex: none; width: auto !important; min-height: 40px; height: 40px; margin: 0; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: oklch(0.52 0.13 150); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; }
.tp120rmb svg { width: 18px; height: 18px; }
.tp120stx b, .tp120stx small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } @media (max-width: 999px) { .tp120rmb { padding: 0 14px; font-size: 14px; } }
/* r120c (user): not sent = higher severity: December box moves up under the buttons, reminder button orange; add button floats on iOS 26 style glass with the list scrolling (blurred) behind it */
.tp120rmb { background: oklch(0.80 0.12 62); color: oklch(0.25 0.06 50); }
.tp120rmb:hover { filter: brightness(1.04); }
.tp120rmb svg path, .tp120rmb svg { fill: currentColor; }
.tp120acts-gap { display: none; }
.tp120act + .tp120dec { margin-top: 24px; }
.tp120l { position: relative; }
.tp120ls { padding-bottom: 96px; }
.tp120l::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 104px; pointer-events: none; z-index: 1; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); -webkit-mask-image: linear-gradient(to top, #000 45%, transparent); mask-image: linear-gradient(to top, #000 45%, transparent); background: linear-gradient(to top, color-mix(in oklch, var(--surface) 70%, transparent) 30%, transparent); }
.tp120ad { position: absolute !important; z-index: 2; inset-inline: 12px; bottom: 16px; margin: 0 !important; background: color-mix(in oklch, var(--primary) 88%, transparent) !important; -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); box-shadow: 0 8px 24px oklch(0 0 0 / .18), inset 0 1px 0 oklch(1 0 0 / .25); }
.cal120 { padding: 12px 12px 14px; }
.cal120h, .cal120g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal120h { margin-bottom: 8px; } .cal120h small { text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.c120 { all: unset; box-sizing: border-box; height: 56px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); }
.c120 b { font-size: 14px; font-weight: 600; line-height: 1; }
.c120.on { box-shadow: none; background: var(--c); color: oklch(0.22 0.03 250); cursor: pointer; }
.c120.on span { font-family: "Px71", monospace; font-weight: 900; font-size: 13px; line-height: 1; }
.c120.on .pxic { display: block; }
.c120.pa { opacity: .45; }
.c120.td { box-shadow: inset 0 0 0 2px var(--fg); }
/* r119g (user): desktop shift sheets grow to the screen height (minus 32px each side) so the close link and its padding show without scrolling */
html.mg48 .sheet.side:not(.dialog), html.mg48 .sheet.m35, html.mg48 .sheet:has(> .dm35), html.mg48 .sheet:has(> .whobox) { max-height: calc(100dvh - 64px) !important; }
/* r119h (user): highlighting a trainer in the desktop week view outlines their cards in white, exactly like the month view */
html body .w3g.dimmed .c.w3.hl { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--fg) !important; position: relative; z-index: 1; opacity: 1; }
html body .w3g.dimmed .c.w3:not(.hl) { opacity: .22; }
/* r119j: bigger trainer picker (readable for glasses, user) */
.sheet .avgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
.sheet .avgrid button { gap: 6px; padding: 10px 2px; }
.sheet .avgrid .av { width: 68px !important; height: 68px !important; font-size: 26px !important; }
.sheet .avgrid b { font-size: 17px; font-weight: 700; line-height: 1.2; }
.sheet .avgrid .cap { font-size: 13px; white-space: nowrap; }
@media (min-width: 1000px) {
  .sheet.pop:has(> .avgrid) { width: 520px; max-height: calc(100dvh - 140px); padding: 18px; }
  .sheet.pop:has(> .avgrid) > h2 { font-size: 16px; padding: 4px 8px 6px; }
  .sheet.pop .avgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 6px; }
  .sheet.pop .avgrid button { padding: 12px 2px; border-radius: 16px; }
  .sheet.pop .avgrid .av { width: 64px !important; height: 64px !important; font-size: 24px !important; }
  .sheet.pop .avgrid .cap { font-size: 13px; }
}
/* r120: desktop schedule header without a page title (user, header sheet round 5) */
@media (min-width: 1000px) {
  html body #app.wide .schedwrap .schedtop:has(> .hd120b) { display: block !important; position: static !important; background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; min-height: 0 !important; border-radius: 0 !important; }
  html body #app.wide .schedtop > .hd120r { display: flex; justify-content: flex-end; margin-bottom: 24px; }
  html body #app.wide .schedtop > .hd120r .gvseg { height: 48px !important; width: 200px !important; margin: 0 !important; }
  html body #app.wide .schedtop > .navrow.hd120b { display: flex !important; align-items: center !important; justify-content: flex-start !important; gap: 12px !important; width: auto !important; height: auto !important; min-height: 48px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; position: static !important; }
  html body #app.wide .schedtop > .hd120b .lbl.lbl { flex: 0 0 auto !important; width: max-content !important; min-width: 0 !important; max-width: none !important; display: block !important; padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important; color: var(--fg) !important; white-space: nowrap; text-align: start !important; }
  html body #app.wide .schedtop > .hd120b .lbl, html body #app.wide .schedtop > .hd120b .lbl b { font-size: 34px !important; font-weight: 700 !important; line-height: 1.2 !important; }
  html body #app.wide .schedtop > .hd120b .lbl em { font-style: normal; color: var(--ok); }
  html body #app.wide .schedtop > .hd120b .hd120a { display: flex; align-items: center; gap: 0; }
  html body #app.wide .schedtop > .hd120b .iconbtn { width: 44px !important; height: 44px !important; min-width: 44px !important; border-radius: 50% !important; border: 0 !important; background: none !important; box-shadow: none !important; display: grid !important; place-items: center !important; color: var(--fg) !important; transition: background-color 150ms; }
  html body #app.wide .schedtop > .hd120b .iconbtn:hover:not([disabled]) { background: color-mix(in oklch, var(--fg) 10%, transparent) !important; }
  html body #app.wide .schedtop > .hd120b .iconbtn[disabled] { opacity: .3; }
  html body #app.wide .schedtop > .hd120b .iconbtn .ic svg { width: 24px; height: 24px; }
  html body #app.wide .schedtop > .hd120b .hd120sp { flex: 1; }
  html body #app.wide .schedtop > .hd120b .hd120t { appearance: none; height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid color-mix(in oklch, var(--fg) 70%, transparent); background: transparent; color: var(--fg); font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
  html body #app.wide .schedtop > .hd120b .hd120t[hidden] { display: none; }
  html body #app.wide .schedtop > .hd120b .hd120t:hover { background: color-mix(in oklch, var(--fg) 8%, transparent); }
  html body #app.wide .schedtop > .hd120b .hlb50 { height: 44px !important; min-height: 44px !important; padding: 0 16px !important; font-size: 15px !important; font-weight: 600 !important; border-radius: 999px !important; background: var(--surface) !important; border: 1px solid var(--line) !important; box-sizing: border-box !important; margin: 0 !important; }
}
@media (min-width: 1000px) {
  html body #app.wide .schedwrap .schedtop > .navrow.wknav.hd120b.hd120b { width: 100% !important; max-width: none !important; min-width: 0 !important; margin-inline: 0 !important; translate: none !important; transform: none !important; left: auto !important; right: auto !important; box-sizing: border-box !important; }
  html body #app.wide .schedtop > .hd120b #wktoday.hd120t { background: transparent !important; color: var(--fg) !important; box-shadow: none !important; position: static !important; width: auto !important; min-height: 0 !important; }
  html body #app.wide .schedwrap.em34 > .schedtop:has(> .hd120b) { display: block !important; position: static !important; background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; min-height: 0 !important; border-radius: 0 !important; }
}
/* r120d (user): scrolling must be obvious: taller blur under the add button; soft top/bottom fades on the list and the profile, only on the side with more to scroll (iOS 26 scroll edge effect); hover remind = amber bell */
.tp120rm { background: oklch(0.80 0.12 62); color: oklch(0.25 0.06 50); }
.tp120rm .ic, .tp120rm svg { width: 18px; height: 18px; }
.tp120rmb .ic { width: 18px; height: 18px; }
.tp120l::after { height: 168px; -webkit-mask-image: linear-gradient(to top, #000 55%, transparent); mask-image: linear-gradient(to top, #000 55%, transparent); background: linear-gradient(to top, color-mix(in oklch, var(--surface) 82%, transparent) 40%, transparent); }
.tp120ls { padding-bottom: 120px; }
.tp120ls, .tp120pane { --eT: 0px; --eB: 0px; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--eT), #000 calc(100% - var(--eB)), transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 var(--eT), #000 calc(100% - var(--eB)), transparent 100%); }
.tp120ls.eg-t, .tp120pane.eg-t { --eT: 40px; }
.tp120pane.eg-b { --eB: 72px; }
@media (max-width: 999px) { .tp120pane { -webkit-mask-image: none; mask-image: none; } }
/* r120e (user): no tall blur. Add button back in the flow under the list with even padding; divider between "on shift" and the team; list end shows a half row + a short iOS 26 edge fade; option c adds a thin glass scrollbar sitting in an indented groove like the on-shift bar */
.tp120l::after { display: none !important; }
.tp120ls { padding-bottom: 8px; position: relative; }
.tp120ad { position: relative !important; inset: auto !important; margin: 4px 0 16px !important; background: var(--primary) !important; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.tp120dv { height: 1px; background: var(--line); margin: calc(8px + var(--pk, 0px)) 12px calc(12px + var(--pk, 0px)); }
.tp120ls .nw115c { margin-bottom: 8px; }
.tp120ls.eg-b { --eB: 40px; }
.tp120sb { position: absolute; inset-inline-end: 4px; width: 8px; border-radius: 4px; z-index: 3; pointer-events: none; background: oklch(0.35 0.03 168 / .08); box-shadow: inset 0 1px 2px oklch(0 0 0 / .18); }
.tp120sb > i { display: block; width: 100%; border-radius: 4px; background: linear-gradient(to bottom, oklch(1 0 0 / .95), oklch(1 0 0 / .7)); box-shadow: 0 0 0 .5px oklch(0 0 0 / .12), 0 1px 3px oklch(0 0 0 / .18); }
:root[data-theme="dark"] .tp120sb { background: oklch(1 0 0 / .06); box-shadow: inset 0 1px 3px oklch(0 0 0 / .5); }
:root[data-theme="dark"] .tp120sb > i { background: linear-gradient(to bottom, oklch(1 0 0 / .55), oklch(1 0 0 / .32)); box-shadow: 0 0 6px oklch(1 0 0 / .12); }
.tp120sb { width: 10px; background: oklch(0.35 0.03 168 / .12); box-shadow: inset 0 1px 3px oklch(0 0 0 / .28), 0 1px 0 oklch(1 0 0 / .6); border-radius: 5px; padding: 2px; box-sizing: border-box; }
.tp120sb > i { border-radius: 3px; background: linear-gradient(to bottom, oklch(0.6 0.1 165), oklch(0.5 0.12 165)); box-shadow: 0 0 6px oklch(0.6 0.13 165 / .5); }
:root[data-theme="dark"] .tp120sb > i { background: linear-gradient(to bottom, #fff, oklch(1 0 0 / .75)); box-shadow: 0 0 8px oklch(1 0.02 60 / .5); }
/* r120f: max-a-week sheet */
.wm120h { display: grid; justify-items: center; text-align: center; gap: 8px; }
.wm120h h2 { margin: 8px 0 0; font-size: 22px; }
.wm120h .cap { margin: 0; }
.wm120g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0 8px; }
.wm120g button { all: unset; box-sizing: border-box; cursor: pointer; height: 84px; border-radius: 18px; display: grid; place-content: center; justify-items: center; gap: 4px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); }
.wm120g button b { font-size: 30px; font-weight: 700; line-height: 1; }
.wm120g button small { font-size: 13px; color: var(--muted); }
.wm120g button.on { background: var(--primary); color: var(--on-primary); box-shadow: none; }
.wm120g button.on small { color: inherit; opacity: .85; }
.wm120g button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
/* r120e: header variants (icon_hdv a|b|c): one row at the page-title height, chip always there (green text = current, white outline = go back), no label flash */
@media (min-width: 1000px) {
  html body #app.wide .schedwrap .schedtop:has(> .hd120b) { padding-top: 0 !important; }
  html body #app.wide .schedtop > .navrow.hd120b { min-height: 48px !important; gap: 8px !important; }
  html body #app.wide .schedtop > .hd120b .lbl, html body #app.wide .schedtop > .hd120b .lbl b { font-size: 28px !important; font-weight: 600 !important; line-height: 1.2 !important; animation: none !important; transition: none !important; }
  html body #app.wide .schedtop > .hd120b .hd120e { display: flex; align-items: center; gap: 12px; }
  html body #app.wide .schedtop > .hd120b .gvseg { height: 48px !important; width: 200px !important; margin: 0 !important; background: var(--surface) !important; border: 1px solid var(--line) !important; box-sizing: border-box !important; }
  html body #app.wide .schedtop > .hd120b .hlb50 { height: 48px !important; min-height: 48px !important; }
  html body #app.wide .schedtop > .hd120b .iconbtn:hover:not([disabled]) { background: color-mix(in oklch, var(--fg) 18%, transparent) !important; }
  html body #app.wide .schedtop > .hd120b .iconbtn:active:not([disabled]) { background: color-mix(in oklch, var(--fg) 26%, transparent) !important; }
  html body #app.wide .schedtop > .hd120b #wktoday.hd120t, html body #app.wide .schedtop > .hd120b .hd120t { height: 40px; padding: 0 16px; font-size: 17px; font-weight: 700; border: 1.5px solid color-mix(in oklch, var(--fg) 75%, transparent) !important; color: var(--fg) !important; background: transparent !important; transition: color 150ms, border-color 150ms; }
  html body #app.wide .schedtop > .hd120b #wktoday.hd120t.cur { border-color: transparent !important; color: var(--ok) !important; cursor: default; }
  html body #app.wide .schedtop > .hd120b .hd120t[hidden] { display: inline-flex !important; }
  /* a: date box fixed so arrows never move */
  html body #app.wide .schedtop > .hdv-a .hd120d { flex: none; min-width: 300px; display: flex; }
  /* c: centred date between arrows, fixed width so arrows never move */
  html body #app.wide .schedtop > .hdv-c .hd120c { display: flex; align-items: center; gap: 4px; }
  html body #app.wide .schedtop > .hdv-c .hd120c .lbl.lbl { width: 300px !important; text-align: center !important; }
  html body #app.wide .schedtop > .hdv-c .hd120t { flex: none; }
}
/* r120g: arrows tight to the date; Today pill and the week/month toggle share the same white outline */
@media (min-width: 1000px) {
  html body #app.wide .schedtop > .hdv-a .hd120d { min-width: 0 !important; }
  html body #app.wide .schedtop > .hdv-a .hd120a { margin-inline-start: 4px; }
  html body #app.wide .schedtop > .hd120b .gvseg { border: 1.5px solid color-mix(in oklch, var(--fg) 75%, transparent) !important; background: transparent !important; }
  html body #app.wide .schedtop > .hd120b #wktoday.hd120t, html body #app.wide .schedtop > .hd120b .hd120t { height: 48px; padding: 0 20px; font-size: 15px; font-weight: 600; }
  html body #app.wide .schedtop > .hd120b .hd120t:hover { background: color-mix(in oklch, var(--fg) 10%, transparent) !important; }
}
@media (min-width: 1000px) {
  html body #app.wide .schedtop > .hd120b .hlb50:not(.on) { border: 1.5px solid color-mix(in oklch, var(--fg) 75%, transparent) !important; background: transparent !important; }
  html body #app.wide .schedtop > .hd120b .hlb50:not(.on):hover { background: color-mix(in oklch, var(--fg) 10%, transparent) !important; }
}
/* r120i: green "השבוע" after the arrows on the current period (arrows never move); raised shadow on the selected toggle tab */
@media (min-width: 1000px) {
  html body #app.wide .schedtop > .hd120b .hd120now { font-size: 28px; font-weight: 600; line-height: 1.2; color: var(--ok); margin-inline-start: 4px; }
  html body #app.wide .schedtop > .hd120b .gvseg .ind { background: var(--raise) !important; box-shadow: 0 1px 2px oklch(0 0 0 / .45), 0 3px 10px oklch(0 0 0 / .35) !important; }
}
@media (min-width: 1000px) { html body #app.wide .schedtop > .hd120b #wktoday.hd120t, html body #app.wide .schedtop > .hd120b .hd120t { min-width: 96px; padding: 0 28px; justify-content: center; } }
/* r120j: Today pill stays while a sheet is open; highlight pill keeps one width, name in the trainer's colour; header pinned while scrolling */
@media (min-width: 1000px) {
  html.sheet-open body #app.wide .schedtop > .hd120b #wktoday.hd120t { display: inline-flex !important; }
  html body #app.wide .schedtop > .hd120b .hlb50 { width: 176px !important; min-width: 176px !important; max-width: 176px !important; justify-content: center !important; gap: 8px !important; overflow: hidden; }
  html body #app.wide .schedtop > .hd120b .hlb50.on { border: 1.5px solid color-mix(in oklch, var(--fg) 75%, transparent) !important; background: transparent !important; padding: 0 10px !important; }
  html body #app.wide .schedtop > .hd120b .hlb50.on small { display: none !important; }
  html body #app.wide .schedtop > .hd120b .hlb50 .hl120n { font-weight: 700; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html body #app.wide .schedtop > .hd120b .hlb50 .av { flex: none; }
  html body #app.wide .schedtop > .hd120b .hlb50[disabled] { opacity: .4; cursor: default; }
  html body #app.wide .schedwrap .schedtop:has(> .hd120b) { position: sticky !important; top: 0 !important; z-index: 20 !important; background: var(--bg) !important; padding-block: 12px !important; margin-top: -12px !important; }
}
@media (min-width: 1000px) { html body #app.wide .schedtop > .hd120b .hlb50.on, html body #app.wide .schedtop > .hd120b .hlb50.on .ic { color: var(--fg) !important; } html body #app.wide .schedtop > .hd120b .hlb50.on .ic { opacity: .8; } }
/* r120k: highlighted trainer pill filled with the trainer's chip colour, normal text */
@media (min-width: 1000px) {
  html body #app.wide .schedtop > .hd120b .hlb50.on { background: var(--hlc) !important; border-color: var(--hlc) !important; }
  html body #app.wide .schedtop > .hd120b .hlb50.on, html body #app.wide .schedtop > .hd120b .hlb50.on .ic, html body #app.wide .schedtop > .hd120b .hlb50.on .hl120n { color: var(--chip-ink) !important; }
  html body #app.wide .schedtop > .hd120b .hlb50.on .hl120n { font-weight: 600; }
}
@media (min-width: 1000px) {
  html body #app.wide .schedtop > .hd120b .hlb50.on { justify-content: flex-start !important; padding: 0 10px !important; gap: 8px !important; }
  html body #app.wide .schedtop > .hd120b .hlb50.on .hl120n { flex: 1 1 auto !important; text-align: start; }
  html body #app.wide .schedtop > .hd120b .hlb50.on .ic { flex: 0 0 auto; margin-inline: 0 !important; }
}
/* r120l: fixed header (JS pin120 sets left/width); placeholder keeps the flow */
@media (min-width: 1000px) {
  html body #app.wide .schedwrap > .pin120ph { margin-top: -12px; flex: none; pointer-events: none; }
  html body #app.wide .schedwrap > .schedtop.pin120:has(> .hd120b) { position: fixed !important; top: 16px !important; margin: 0 !important; box-shadow: 0 -16px 0 var(--bg) !important; }
}
/* r120m: Today pill hover always; fixed header survives page changes; unbuilt month = same header + same grid as a real month, slides in like one */
@media (min-width: 1000px) {
  html body #app.wide .schedtop > .hd120b #wktoday.hd120t:hover, html body #app.wide .schedtop > .hd120b button.hd120t:hover { background: color-mix(in oklch, var(--fg) 10%, transparent) !important; }
  html body #app.wide .schedtop > .hd120b #wktoday.hd120t:active, html body #app.wide .schedtop > .hd120b button.hd120t:active { background: color-mix(in oklch, var(--fg) 18%, transparent) !important; }
  main.screen:has(.pin120) { animation-fill-mode: backwards !important; }
  html body #app.wide .schedwrap.em34 > .schedtop:has(> .hd120b) { padding: 12px 0 !important; margin-top: -12px !important; background: var(--bg) !important; }
  html body #app.wide .schedwrap.em34 .em34w { margin-top: 28px !important; }
  html body #app.wide .schedwrap.em34 .em34g { gap: 8px; opacity: 1; filter: none; }
  html body #app.wide .schedwrap.em34 .em34g em { font-size: 13px; padding-bottom: 4px; color: var(--muted); }
  html body #app.wide .schedwrap.em34 .em34g span { min-height: 168px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); padding: 8px 6px; display: flex; flex-direction: column; align-items: center; }
  html body #app.wide .schedwrap.em34 .em34g span.e { background: none; border: 0; }
  html body #app.wide .schedwrap.em34 .em34g b { font-size: 16px; font-weight: 600; color: var(--muted); line-height: 30px; }
  html body #app.wide .schedwrap.em34 .em34w.inr, html body #app.wide .schedwrap.em34 .em34w.inl { animation: wkin 420ms cubic-bezier(.22, 1, .36, 1) both; }
  html body #app.wide .schedwrap.em34 .em34w.inr { --dx: -48px; } html body #app.wide .schedwrap.em34 .em34w.inl { --dx: 48px; }
}
@media (prefers-reduced-motion: reduce) { html body #app .schedwrap.em34 .em34w.inr, html body #app .schedwrap.em34 .em34w.inl { animation: none !important; } }
@media (min-width: 1000px) { html body #app.wide .schedwrap.em34 > .schedtop.pin120:has(> .hd120b) { margin: 0 !important; } }
@media (min-width: 1000px) { html body #app.wide .schedwrap.em34 .em34g.wk49 span { min-height: 520px; } }
/* r120n: unbuilt month background = dark skeleton so the card is the one thing to look at */
@media (min-width: 1000px) {
  html body #app.wide .schedwrap.em34 .em34g { opacity: .38; }
  html body #app.wide .schedwrap.em34 .em34g span { gap: 6px; align-items: stretch; background: color-mix(in oklch, var(--surface) 70%, var(--bg)); }
  html body #app.wide .schedwrap.em34 .em34g span b { align-self: center; }
  html body #app.wide .schedwrap.em34 .em34g span i { display: block; height: 28px; border-radius: 8px; background: color-mix(in oklch, var(--fg) 9%, transparent); }
  html body #app.wide .schedwrap.em34 .em34g span i:nth-of-type(2) { width: 82%; } html body #app.wide .schedwrap.em34 .em34g span i:nth-of-type(3) { width: 92%; } html body #app.wide .schedwrap.em34 .em34g span i:nth-of-type(4) { width: 70%; }
  html body #app.wide .schedwrap.em34 .em34c { border: 1.5px solid color-mix(in oklch, var(--fg) 22%, transparent); box-shadow: 0 0 0 100vmax transparent, 0 30px 80px oklch(0 0 0 / .55), 0 8px 24px oklch(0 0 0 / .35); }
}
/* r122: "אחר כך" line: one line, calmer weights, shift icon + white time grouped and bottom-aligned with the digits */
.ns49 .dt-nx{align-items:center;gap:12px;flex-wrap:nowrap;white-space:nowrap}
.ns49 .dt-nx .k{font-size:15px;font-weight:500;color:var(--muted);flex:none}
.ns49 .dt-nx .nxc:not(.gap){gap:8px;height:auto;padding:0}
.ns49 .dt-nx .nxc:not(.gap) b{font-size:17px;font-weight:600}
.ns49 .dt-nx .tg105{display:inline-flex;align-items:baseline;gap:6px;margin-inline-start:4px;color:var(--fg)}
.ns49 .dt-nx .nxc:not(.gap) .tg105 .t{color:var(--fg)!important;opacity:1;font-size:17px;font-weight:900}
.ns49 .dt-nx .tg105 .pxic{flex:none;display:block}
/* r122 (user): unbuilt month on desktop = one screen, no scrolling; card centred on the viewport; skeleton bars all one length */
@media (min-width: 1000px) {
  html:has(#app.wide .schedwrap.em34), html:has(#app.wide .schedwrap.em34) body { overflow: hidden !important; overscroll-behavior: none; }
  html body #app.wide .schedwrap.em34 .em34w { height: calc(100dvh - var(--emt, 160px) - 24px); overflow: hidden; }
  html body #app.wide .schedwrap.em34 .em34g { height: 100%; grid-template-rows: auto; grid-auto-rows: minmax(0, 1fr); }
  html body #app.wide .schedwrap.em34 .em34g span, html body #app.wide .schedwrap.em34 .em34g.wk49 span { min-height: 0 !important; overflow: hidden; }
  html body #app.wide .schedwrap.em34 .em34g span i, html body #app.wide .schedwrap.em34 .em34g span i:nth-of-type(n) { width: 100% !important; flex: none; }
  html body #app.wide .schedwrap.em34 .em34c { inset: auto 0; top: calc(50dvh - var(--emt, 160px)); margin: 0 auto; transform: translateY(-50%); }
}
/* r122 (user): subtle hover / press on every main button with a mouse */
@media (hover: hover) and (pointer: fine) {
  .btn { transition: filter .15s ease, background-color .15s ease, box-shadow .15s ease; }
  .btn:not(:disabled):not([aria-disabled="true"]):hover { filter: brightness(1.1) saturate(1.05); }
  .btn:not(:disabled):not([aria-disabled="true"]):active { filter: brightness(.94); transition-duration: .05s; }
}
/* r122 (user): switching pages on desktop made the pinned schedule header jump sideways when the scrollbar came or went; keep the scrollbar's space always */
@media (min-width: 1000px) { html { scrollbar-gutter: stable; } }
/* r123 (user pick): desktop Settings title in the same spot and size as Home and the schedule (top 36, right edge, 28px), column lined up under it; Team title same size, stays in its box */
@media (min-width: 1000px) {
  #app.wide .set50:not(.wk52) > h1.big { font-size: 28px !important; line-height: 34px !important; margin: 8px 0 0 !important; }
  /* r123 (user): two columns across the desktop width so every setting shows without scrolling */
  #app.wide .set50:not(.wk52) { max-width: none !important; width: auto !important; margin: 0 !important; display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "h h" "me me" "a c" "b d"; padding-bottom: 0 !important; column-gap: 24px; row-gap: 24px; align-items: start; }
  #app.wide .set50:not(.wk52) > h1.big { grid-area: h; }
  #app.wide .set50:not(.wk52) > .me49 { grid-area: me; margin: 0 !important; padding-top: 0 !important; } #app.wide .set50:not(.wk52) > .me49 .po49 { --d: 104px !important; margin: 8px 0 20px; }
  #app.wide .set50:not(.wk52) > .s50g:nth-of-type(1) { grid-area: a; } #app.wide .set50:not(.wk52) > .s50g:nth-of-type(2) { grid-area: b; } #app.wide .set50:not(.wk52) > .s50g:nth-of-type(3) { grid-area: c; }
  #app.wide .set50:not(.wk52) > .s50out { display: none !important; } #app.wide .set50:not(.wk52) > .s50x { grid-area: d; } #app.wide .set50:not(.wk52) > .me49, #app.wide .set50:not(.wk52) > h1.big { margin-bottom: 0; }
  #app.wide .tp120lh h1.big { font-size: 28px !important; line-height: 34px !important; }
}
/* r123 (user): Ishay's settings ring = the same 4px gap + 4px ring in his colour as every team profile */
.me49 .po49b { box-shadow: 0 0 0 4px var(--bg), 0 0 0 8px var(--pbg) !important; }
.me49 .po49 { margin-bottom: 20px; }

/* r123: the 4th settings box (privacy + sign out) is desktop only; phone keeps the plain sign-out button */
.set50 > .s50x { display: none; }
@media (min-width: 1000px) { #app.wide .set50:not(.wk52) > .s50x { display: grid; } #app.wide .s50xo, #app.wide .s50xo .mi { color: oklch(0.72 0.17 20); } #app.wide .set50:not(.wk52) > .s50g { margin: 0 !important; } }
/* r123 (user): sign-out centred in its row, icon + word as one block */
@media (min-width: 1000px) { #app.wide .s50xo { justify-content: center; gap: 8px; } #app.wide .s50xo b { font-weight: 600; flex: none; } #app.wide .s50xo svg { flex: none; width: 20px; height: 20px; } }
/* r124: the schedule header only shows once it is pinned in its final spot (never drawn mid-layout) */
@media (min-width: 1000px) { html body #app.wide .schedwrap > .schedtop:has(> .hd120b):not(.pin120) { visibility: hidden; } }

/* r125 (user pick A, "just a line"): pinned schedule bar spans from the page edge to the sidebar line, same colour as the page,
   items stay where the title sits on every page (28px from the top) with an even 28px below; a 1px line shows only once the page scrolls */
@media (min-width: 1000px) {
  html body #app.wide .schedwrap > .schedtop.pin120.pin120:has(> .hd120b) { top: 0 !important; padding-top: 28px !important; padding-bottom: 28px !important; box-sizing: border-box !important; background: var(--bg) !important; box-shadow: none !important; transition: box-shadow 160ms ease; }
  html body #app.wide .schedwrap > .schedtop.pin120.pin120.sc125:has(> .hd120b) { box-shadow: inset 0 -1px 0 var(--line) !important; }
  html body #app.wide .schedwrap > .pin120ph { margin-top: -12px !important; }
}
/* r125 (user): week row icons sat ~2.5px below the word; lift so the icon's bottom sits on the word's baseline */
.w3l .w3i { position: relative; top: -3px; } .w3l .w3i.k-day { top: 0; } .w3l .w3i.k-dusk { top: -1.2px; } /* user: afternoon as it was, evening one pixel down */
