/* DTG hub, round 3 design (Architect's mock, 10 Oct 2026), the shared look for every page of the redesign.
   Copied from deliverables/dtg/hub-premium-mock/site/app.css; hub additions are at the end, in the same layer.
   One colour, one job: green = free. Ink = booked. Hi-vis = waiting for you. Team colours on people only. Van paint on vans only. */
@font-face { font-family: 'Geist'; font-weight: 200 700; font-display: swap; src: url(r3/fonts/geist-latin.woff2) format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-weight: 400; font-display: swap; src: url(r3/fonts/geistmono-latin.woff2) format('woff2'); }
@font-face { font-family: 'Newsreader'; font-weight: 400; font-display: swap; src: url(r3/fonts/newsreader-400.woff2) format('woff2'); }
@font-face { font-family: 'Newsreader'; font-weight: 500; font-display: swap; src: url(r3/fonts/newsreader-500.woff2) format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400; font-display: swap; src: url(r3/fonts/newsreader-400i.woff2) format('woff2'); }
@layer hub, legacy;
@layer hub {
/* DTG hub, premium mock. Anvel Solutions, Architect, 10 Oct 2026.
   One colour, one job: green = free. Ink = booked. Hi-vis = waiting for you. Team colours on people only. Van paint on vans only. */






:root {
  --paper: #F2EEE6; --paper2: #E9E3D8; --card: #FFFDF9; --well: #F7F3EC;
  --ink: #132019; --ink2: #47524B; --mute: #8A918B; --hair: #E6E0D5; --hair2: #D9D2C5;
  --forest: #0D2016; --forest2: #153022;
  --free: #11804A; --free-soft: #DCEFE3; --booked: #1B2620;
  --hv: #F2D33C; --hv-ink: #3A3000; --over: #B4432D;
  --lift: inset 0 1px 0 rgba(255,255,255,.9), 0 0 0 1px rgba(19,32,25,.05), 0 1px 2px rgba(19,32,25,.05), 0 6px 16px -8px rgba(19,32,25,.12);
  --lift-hi: inset 0 1px 0 rgba(255,255,255,.9), 0 0 0 1px rgba(19,32,25,.07), 0 2px 4px rgba(19,32,25,.05), 0 14px 30px -12px rgba(19,32,25,.2);
  --spring: cubic-bezier(.32,.72,0,1);
  --sans: 'Geist', ui-sans-serif, system-ui, sans-serif; --serif: 'Newsreader', Georgia, serif; --mono: 'Geist Mono', ui-monospace, monospace;
  --hatch: repeating-linear-gradient(135deg, #D3CAB9 0 3px, #EFE9DE 3px 6px);
  --on-ink: #fff; --ink-hover: #24342b; --tog: #CFC8BB; --nw: #DCD4C6; --past: #E7E1D7; --todaycol: rgba(19,32,25,.045); --well2: #EFE9DE; --free-line: #B9DCC7;
  --glass: rgba(242,238,230,.86); --glass2: rgba(255,253,249,.9); --side: #0D2016; --side-line: transparent; --soon-c: #B98A00; --over-soft: rgba(180,67,45,.1); --hv-soft: rgba(242,211,60,.22);
  --land: #EAE4D8; --landdot: rgba(19,32,25,.13); --sea: #DCE5E2; --tile: rgba(255,253,249,.82); --tile-line: rgba(19,32,25,.06);
  --band-fade: linear-gradient(90deg, var(--paper) 0%, rgba(242,238,230,.92) 34%, rgba(242,238,230,.35) 70%, rgba(242,238,230,.1) 100%);
  --band-fade2: linear-gradient(180deg, rgba(242,238,230,0) 55%, var(--paper) 100%);
  --band-img: saturate(.55) brightness(1.08) contrast(.92);
}
html[data-theme=dark] {
  --paper: #0A120D; --paper2: #18221C; --card: #111A15; --well: #17211B; --well2: #1D2822;
  --ink: #E8EDE9; --ink2: #A6B1AA; --mute: #6F7C74; --hair: rgba(232,237,233,.07); --hair2: rgba(232,237,233,.14);
  --forest: #08100B; --forest2: #0E1812; --side: #070D09; --side-line: rgba(232,237,233,.06);
  --free: #34C47A; --free-soft: rgba(52,196,122,.14); --free-line: rgba(52,196,122,.45); --booked: #3A4842;
  --over: #E46A50; --over-soft: rgba(228,106,80,.13); --hv-soft: rgba(242,211,60,.16); --soon-c: #F2D33C;
  --on-ink: #0A120D; --ink-hover: #FFFFFF; --tog: #2E3A33; --nw: rgba(232,237,233,.1); --past: #141D18; --todaycol: rgba(232,237,233,.04);
  --glass: rgba(10,18,13,.82); --glass2: rgba(12,20,15,.9);
  --lift: inset 0 1px 0 rgba(255,255,255,.035), 0 0 0 1px rgba(232,237,233,.065), 0 12px 30px -16px rgba(0,0,0,.7);
  --lift-hi: inset 0 1px 0 rgba(255,255,255,.05), 0 0 0 1px rgba(232,237,233,.1), 0 18px 40px -16px rgba(0,0,0,.8);
  --hatch: repeating-linear-gradient(135deg, #3B4640 0 3px, #19221D 3px 6px);
  --land: #0D1611; --landdot: rgba(120,200,150,.14); --sea: #0A1F1B; --tile: rgba(17,26,21,.74); --tile-line: rgba(232,237,233,.08);
  --band-fade: linear-gradient(90deg, var(--paper) 0%, rgba(10,18,13,.9) 34%, rgba(10,18,13,.45) 70%, rgba(10,18,13,.25) 100%);
  --band-fade2: linear-gradient(180deg, rgba(10,18,13,.15) 40%, var(--paper) 100%);
  --band-img: saturate(.6) brightness(.82) contrast(1.05);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--paper); color: var(--ink); font: 14px/1.45 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: 'ss01'; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { display: block; }
.muted { color: var(--mute); }
b, strong { font-weight: 600; }

/* ---------- frame ---------- */
#app { display: grid; grid-template-columns: 236px 1fr; height: 100dvh; }
.side { background: var(--side); border-right: 1px solid var(--side-line); color: #E6EDE7; padding: 20px 14px 14px; display: flex; flex-direction: column; position: relative; overflow: hidden; z-index: 2; }
.side:after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px 300px at 0% 0%, rgba(80,140,100,.18), transparent 70%); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 2px 8px 22px; position: relative; z-index: 1; }
.brand img { height: 46px; width: auto; }
.brand span { font: italic 400 22px var(--serif); color: #fff; opacity: .9; letter-spacing: -.01em; }
.nav { display: flex; flex-direction: column; gap: 2px; position: relative; z-index: 1; }
.nv { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 10px; color: rgba(230,237,231,.66); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: background .2s, color .2s, transform .15s var(--spring); }
.nv svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nv:hover { background: rgba(255,255,255,.06); color: #fff; }
.nv:active { transform: scale(.98); }
.nv.on { background: rgba(255,255,255,.1); color: #fff; }
.cnt { margin-left: auto; background: var(--hv); color: var(--hv-ink); font: 700 11.5px/1 var(--sans); border-radius: 99px; padding: 4px 7px; font-variant-numeric: tabular-nums; }
.side-photo { flex: 1; min-height: 110px; margin: 20px -14px 14px; background: linear-gradient(180deg, var(--forest) 0%, rgba(13,32,22,.25) 35%, rgba(13,32,22,.25) 65%, var(--forest) 100%), url(assets/ph/canopy-climb.jpg) center 30% / cover; opacity: .5; filter: saturate(.75); }
.proto { position: relative; z-index: 1; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; padding: 10px; }
.proto p { margin: 0 2px 8px; font-size: 11.5px; color: rgba(230,237,231,.55); }
.rsws { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.rsw { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 8px 2px 7px; border-radius: 9px; border: 0; background: transparent; color: rgba(230,237,231,.7); font-size: 12px; cursor: pointer; transition: background .2s; }
.rsw span { display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.rsw small { font-size: 10px; opacity: .6; }
.rsw .av { width: 28px; height: 28px; font-size: 10.5px; }
.rsw:hover { background: rgba(255,255,255,.06); }
.rsw.on { background: rgba(255,255,255,.13); color: #fff; }
.me { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 14px 4px 2px; margin-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.side .av.user { background: #2E4A3B; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.me b { display: block; font-size: 13px; color: #fff; }
.me small { display: block; font-size: 11.5px; color: rgba(230,237,231,.55); }
.mtop, .tabs { display: none; }
.main { overflow-y: auto; height: 100dvh; scroll-behavior: smooth; }
.page { max-width: 1320px; margin: 0 auto; padding: 34px 44px 90px; }

/* ---------- headings ---------- */
.ph { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 0 0 22px; }
.ph h1 { font: 400 46px/1 var(--serif); letter-spacing: -.02em; margin: 0; }
.ph p { margin: 8px 0 0; color: var(--ink2); font-size: 15px; }
.ph-r { flex: none; }
.todayln { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.todayln b { font-size: 14px; }
.live { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--mute); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink2); position: relative; }
.live i:after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--ink2); opacity: 0; animation: ping 2.4s var(--spring) infinite; }
@keyframes ping { 0% { opacity: .5; transform: scale(.4); } 80%, 100% { opacity: 0; transform: scale(1.3); } }
.greet { font: italic 400 19px var(--serif); color: var(--ink2); margin: 0 0 4px; }
.eyebrow { font-size: 12.5px; color: var(--mute); margin: 0; }
.bigcount { font-size: 14px; color: var(--ink2); } .bigcount b { font: 300 40px/1 var(--sans); color: var(--ink); letter-spacing: -.03em; margin-right: 6px; font-variant-numeric: tabular-nums; }

/* ---------- cards ---------- */
.card { background: var(--card); border-radius: 18px; box-shadow: var(--lift); padding: 18px 20px; position: relative; }
.ch { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; min-height: 26px; }
.ch h3 { font-size: 15.5px; font-weight: 600; margin: 0; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.ch .meta { margin-left: auto; color: var(--mute); font-size: 12.5px; display: inline-flex; align-items: center; gap: 2px; }
.more { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; font-size: 13px; color: var(--ink2); text-decoration: none; background: none; border: 0; cursor: pointer; padding: 0; }
.more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.more:hover { color: var(--ink); }
.cf { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--hair); font-size: 12.5px; flex-wrap: wrap; }
.cf .btn, .cf .more { margin-left: auto; }
.csub { color: var(--ink2); font-size: 13.5px; margin: -4px 0 12px; }
.src { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--mute); cursor: help; white-space: nowrap; }
.src:before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1.3px solid var(--mute); }
.src.real:before { background: var(--ink2); border-color: var(--ink2); }
.lab { font-size: 12px; color: var(--mute); margin: 0 0 6px; }
.soon { font-size: 12.5px; color: var(--ink2); background: var(--well); border-radius: 10px; padding: 9px 12px; margin: 12px 0 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 10px; border: 0; font-size: 13.5px; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .15s var(--spring), background .2s, box-shadow .2s, opacity .2s; }
.btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.btn:active { transform: scale(.97); }
.btn.sm { height: 30px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; }
.btn.sm svg { width: 13px; height: 13px; }
.btn.ink { background: var(--ink); color: var(--on-ink); }
.btn.ink:hover { background: var(--ink-hover); }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair2); }
.btn.line:hover { background: var(--well); }
.btn.light { background: #fff; color: #132019; box-shadow: 0 6px 18px -8px rgba(0,0,0,.5); }
.btn.light:hover { background: #F4F1EA; }
.btn.ghost-l { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.btn.ghost-l:hover { background: rgba(255,255,255,.17); }
.btn[disabled] { opacity: .35; pointer-events: none; }
.iconb { width: 34px; height: 34px; border-radius: 10px; border: 0; background: var(--well); display: grid; place-items: center; cursor: pointer; color: var(--ink); text-decoration: none; transition: background .2s; flex: none; }
.iconb svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.iconb:hover { background: var(--paper2); }
.seg { display: inline-flex; background: var(--paper2); border-radius: 10px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: 6px 13px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--ink2); cursor: pointer; transition: background .2s, color .2s; }
.seg button.on { background: var(--card); color: var(--ink); box-shadow: var(--lift); }
.seg.sm button { padding: 4px 10px; font-size: 12.5px; }
.tog { width: 38px; height: 22px; border-radius: 99px; border: 0; background: var(--tog); position: relative; cursor: pointer; flex: none; padding: 0; transition: background .2s; }
.tog i { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: left .25s var(--spring); }
.tog.on { background: var(--ink); } .tog.on i { background: var(--card); } .tog.on i { left: 18px; }

/* ---------- people and vans ---------- */
.av { width: 32px; height: 32px; border-radius: 50%; background: var(--c, var(--ink)); color: #fff; display: inline-grid; place-items: center; font-size: 11.5px; font-weight: 650; letter-spacing: .02em; flex: none; font-style: normal; }
.av.xs { width: 22px; height: 22px; font-size: 9px; }
.av.sm { width: 26px; height: 26px; font-size: 10px; }
.av.md { width: 38px; height: 38px; font-size: 13px; }
.av.ring { box-shadow: 0 0 0 2px var(--card); }
.av.user { background: #2E4A3B; }
.av.anvel { background: #8A6A3C; }
.av.gina { background: linear-gradient(140deg, #24493A, #10281C); box-shadow: inset 0 0 0 1px rgba(235,217,168,.35); }
.av.gina i { font: italic 400 16px/1 var(--serif); color: #EBD9A8; margin-top: -1px; }
.av.gina.xs i { font-size: 12px; } .av.gina.md i { font-size: 19px; }
.side .av.ring, .hero .av.ring, .jtoday .av.ring { box-shadow: 0 0 0 2px rgba(13,32,22,.9); }
.stack { display: inline-flex; flex: none; }
.stack .av + .av { margin-left: -4px; }
.vt { width: 76px; height: 52px; border-radius: 10px; overflow: hidden; position: relative; flex: none; background: var(--paper2); display: block; }
.vt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vt:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--paint); }
.vt.plate { background: var(--paint); display: grid; place-items: center; }
.vt.plate svg { width: 58%; fill: rgba(255,255,255,.92); }
.vt.plate:after { background: rgba(0,0,0,.18); }
.vt.plate.lt svg { fill: rgba(28,30,29,.78); }
.vt.plate.lt { box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.vt.none { background: transparent; box-shadow: inset 0 0 0 1.5px var(--hair2); display: grid; place-items: center; font-size: 11px; color: var(--mute); }
.vt.none:after { display: none; }
.vt.xs { width: 30px; height: 22px; border-radius: 6px; } .vt.xs:after { height: 2px; }
.vt.sm { width: 50px; height: 34px; border-radius: 8px; } .vt.sm:after { height: 3px; }
.vt.md { width: 64px; height: 44px; }
.vt.lg { width: 100%; height: 84px; border-radius: 12px; }
.vt.xl { width: 100%; height: 160px; border-radius: 0; }
.vchip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink2); }
.vchip i { width: 10px; height: 10px; border-radius: 3px; background: var(--paint); }

/* ---------- layout grids ---------- */
.grid { display: flex; gap: 18px; align-items: flex-start; }
.col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.home .col.l, .giu .col.l { flex: 1.72; }
.home .col.r, .giu .col.r { flex: 1; }
.jon .col.l { flex: 1.5; } .jon .col.r { flex: 1; }
.rise { animation: rise .6s var(--spring) both; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.page.still .rise, .page.still .wbar i { animation: none; }

/* ---------- hero: the next space ---------- */
.hero { padding: 0; overflow: hidden; color: #fff; background: var(--forest); min-height: 372px; display: flex; }
.hero:before { content: ""; position: absolute; inset: 0; background: var(--photo) center 32% / cover; transform: scale(1.02); }
.hero:after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(9,24,16,.96) 0%, rgba(9,24,16,.9) 45%, rgba(9,24,16,.55) 78%, rgba(9,24,16,.35) 100%); }
.hero-in { position: relative; z-index: 1; padding: 20px 26px 22px; display: flex; flex-direction: column; width: 100%; }
.jobbtn { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #fff; border-radius: 10px; padding: 7px 10px 7px 12px; font-size: 13.5px; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s; }
.jobbtn:hover { background: rgba(255,255,255,.16); }
.jobbtn span { opacity: .62; }
.jobbtn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; opacity: .8; }
.hero-when { margin: 26px 0 2px; font-size: 13px; color: rgba(255,255,255,.66); }
.hero-date { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.hero-date .big { font: 300 88px/.98 var(--sans); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.hero-date .to { font-size: 22px; font-weight: 300; opacity: .7; }
.hero-crew { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; font-size: 16.5px; }
.hero-crew em { font-style: normal; color: rgba(255,255,255,.78); margin-left: 6px; }
.hero-act { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.tell { margin: 20px 0 0; padding: 11px 14px; border-left: 2px solid rgba(255,255,255,.45); background: rgba(255,255,255,.07); border-radius: 0 10px 10px 0; font: italic 400 17px/1.4 var(--serif); max-width: 600px; backdrop-filter: blur(6px); }
.tell span { display: block; font: 500 11.5px var(--sans); font-style: normal; opacity: .6; margin-bottom: 3px; }
.pop { position: absolute; top: 60px; left: 26px; z-index: 5; width: 330px; background: var(--card); color: var(--ink); border-radius: 14px; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 24px 50px -16px rgba(0,0,0,.45); padding: 8px; animation: pop .25s var(--spring); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.pop-h { font-size: 12px; color: var(--mute); margin: 4px 10px 6px; }
.popt { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 9px 10px; border-radius: 9px; border: 0; background: transparent; font-size: 14px; text-align: left; cursor: pointer; }
.popt:hover { background: var(--well); }
.popt.on { background: var(--well); font-weight: 600; box-shadow: inset 2px 0 0 var(--ink); }
.popt small { font-size: 11.5px; color: var(--mute); font-weight: 400; }
.pop-custom { border-top: 1px solid var(--hair); margin-top: 6px; padding: 8px 10px 4px; }
.pop-custom p { font-size: 12px; color: var(--mute); margin: 0 0 4px; }
.step { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.step span { flex: 1; font-size: 13.5px; }
.step button:not(.tog) { width: 28px; height: 28px; border-radius: 8px; border: 0; background: var(--well); display: grid; place-items: center; cursor: pointer; }
.step button svg { width: 14px; height: 14px; fill: none; stroke: var(--ink); stroke-width: 2.2; }
.step b { font-variant-numeric: tabular-nums; min-width: 18px; text-align: center; font-size: 15px; }

/* ---------- needs (home card) ---------- */
.card.needs { box-shadow: var(--lift), inset 3px 0 0 var(--hv); }
.hv { background: var(--hv); color: var(--hv-ink); border-radius: 99px; font-size: 12px; font-weight: 700; padding: 2px 8px; font-variant-numeric: tabular-nums; }
.nrow { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 11px 8px; margin: 0 -8px; border-top: 1px solid var(--hair); cursor: pointer; border-radius: 10px; transition: background .2s; }
.nrow:hover { background: var(--well); border-top-color: transparent; }
.nrow-t b { display: block; font-size: 14px; }
.nrow-t span { display: block; font-size: 12.5px; color: var(--ink2); }
.nmore { display: flex; align-items: center; gap: 2px; padding: 10px 0 0; border-top: 1px solid var(--hair); font-size: 13px; color: var(--ink2); text-decoration: none; }
.nmore svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.empty { text-align: center; padding: 22px 10px; color: var(--ink2); }
.empty svg { width: 64px; height: 64px; margin: 0 auto 8px; fill: var(--hair2); stroke: var(--mute); opacity: .9; }
.empty.big { padding: 80px 20px; } .empty.big svg { width: 96px; height: 96px; }

/* ---------- crews ---------- */
.crows { display: flex; flex-direction: column; }
.crow { display: grid; grid-template-columns: 76px minmax(0, 1fr) minmax(0, 230px) 44px; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--hair); }
.crows .crow:first-child { border-top: 0; padding-top: 2px; }
.crow-job b { display: block; font-size: 14.5px; }
.crow-job span { display: block; font-size: 12.5px; color: var(--mute); }
.crow-ppl { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink2); }
.crow-t { font-size: 12.5px; color: var(--mute); text-align: right; font-variant-numeric: tabular-nums; }
.sheet .crow { grid-template-columns: 64px minmax(0, 1fr) auto; }
.sheet .crow .vt { width: 64px; height: 46px; }
.sheet .crow-ppl { grid-column: 2 / 4; grid-row: 2; margin-top: -4px; }
.sheet .crow-t { grid-column: 3; grid-row: 1; }
.warn { font-style: normal; margin-left: 8px; font-size: 11.5px; font-weight: 600; color: var(--over); }
.msg { margin-top: 12px; background: var(--well); border-radius: 14px; padding: 12px 14px; }
.msg-h { display: flex; align-items: center; gap: 10px; }
.msg-h span { display: flex; flex-direction: column; }
.msg-h b { font-size: 13.5px; } .msg-h small { font-size: 12px; color: var(--mute); }
.msg-h .btn { margin-left: auto; }
.msg p { margin: 10px 0 0; font: italic 400 15.5px/1.5 var(--serif); color: var(--ink); }

/* ---------- who's off ---------- */
.offg + .offg { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--hair); }
.orow { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13.5px; color: var(--ink2); }
.orow b { color: var(--ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; margin-left: auto; flex: none; }
.dot.free { background: var(--free); }

/* ---------- this week ---------- */
.ch .meta .k { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin: 0 5px 0 12px; }
.k.b { background: var(--booked); } .k.f { background: var(--free); } .k.o { background: var(--hatch); }
.wcols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.wcol { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 13px; background: var(--well); text-decoration: none; position: relative; transition: background .2s, transform .2s var(--spring); }
.wcol:hover { background: var(--well2); transform: translateY(-1px); }
.wcol.today { box-shadow: inset 0 0 0 1.5px var(--ink); }
.wd { font-size: 12.5px; color: var(--ink2); }
.wd i { font-style: normal; font-weight: 600; color: var(--ink); }
.wbar { height: 92px; display: flex; flex-direction: column-reverse; gap: 2px; border-radius: 8px; overflow: hidden; background: var(--hair); }
.wbar i { display: block; flex: none; transform-origin: bottom; animation: grow .8s var(--spring) both; animation-delay: .25s; }
.wbar i.b { background: var(--booked); } .wbar i.f { background: var(--free); } .wbar i.o { background: var(--hatch); }
@keyframes grow { from { transform: scaleY(0); } }
.wnum { font-size: 12.5px; color: var(--mute); }
.wnum b { font: 300 24px/1 var(--sans); color: var(--ink); letter-spacing: -.03em; margin-right: 3px; font-variant-numeric: tabular-nums; }
.wnum b.g { color: var(--free); }
.wvans { display: flex; gap: 4px; }
.wvans i { width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--paint); opacity: .7; }
.wvans i.on { background: var(--paint); opacity: 1; }
.wflag { font-size: 11.5px; font-weight: 600; color: var(--free); margin-top: -4px; }

/* ---------- money ---------- */
.mbig { font: 300 44px/1 var(--sans); letter-spacing: -.035em; margin: 4px 0 8px; font-variant-numeric: tabular-nums; }
.mbig span { font-size: 15px; color: var(--mute); letter-spacing: 0; margin-right: 8px; }
.mrow { display: grid; grid-template-columns: 1fr 96px; align-items: center; gap: 14px; padding: 9px 0; border-top: 1px solid var(--hair); }
.mrow b { display: block; font-size: 14px; font-variant-numeric: tabular-nums; }
.mrow span { display: block; font-size: 12.5px; color: var(--ink2); }
.mbar { height: 6px; border-radius: 3px; background: var(--paper2); overflow: hidden; }
.mbar i { display: block; height: 100%; background: var(--ink2); border-radius: 3px; }

/* ---------- vans ---------- */
.vstrip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.vcard { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.vc-t b { display: block; font-size: 13.5px; }
.vc-t span { display: block; font-size: 12.5px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-t span.free { color: var(--free); font-weight: 600; }
.vc-t small { display: block; font-size: 11.5px; color: var(--mute); margin-top: 2px; line-height: 1.3; }
.due.over { color: var(--over); font-weight: 600; }

/* ---------- Gina timeline ---------- */
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 62px 1fr; gap: 8px; padding: 9px 8px; margin: 0 -8px; border-top: 1px solid var(--hair); border-radius: 10px; }
.tl li:first-child { border-top: 0; }
.tl li.link { cursor: pointer; } .tl li.link:hover { background: var(--well); }
.tl time { font-size: 12px; color: var(--mute); padding-top: 2px; font-variant-numeric: tabular-nums; }
.tl b { display: block; font-size: 13.5px; }
.tl span { display: block; font-size: 12.5px; color: var(--ink2); }
.tl small { display: block; font-size: 11px; color: var(--mute); margin-top: 2px; }

/* ---------- Giuseppe ---------- */
.rtl { list-style: none; margin: 0; padding: 0; position: relative; }
.rtl li { display: grid; grid-template-columns: 44px 22px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--hair); }
.rtl li:first-child { border-top: 0; }
.rtl time { font-size: 12.5px; color: var(--mute); font-variant-numeric: tabular-nums; }
.rtl i { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--on-ink); font: 600 11px/22px var(--sans); text-align: center; font-style: normal; }
.rtl b { display: block; font-size: 14px; } .rtl span { display: block; font-size: 12.5px; color: var(--ink2); }
.maplink { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--ink2); text-decoration: none; padding: 5px 8px; border-radius: 8px; }
.maplink:hover { background: var(--well); }
.maplink svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.qrow { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--hair); }
.quotes .ch + .qrow { border-top: 0; }
.qrow b { display: block; font-size: 14px; } .qrow span { display: block; font-size: 12.5px; color: var(--ink2); }
.qrow small { font-size: 12px; color: var(--mute); }
.frow { display: grid; grid-template-columns: 10px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--hair); }
.faults .ch + .frow { border-top: 0; }
.frow i { width: 10px; height: 10px; border-radius: 3px; }
.frow.off i { background: var(--over); } .frow.watch i { background: var(--hv); }
.frow b { display: block; font-size: 14px; } .frow span { display: block; font-size: 12.5px; color: var(--ink2); }

/* ---------- month ---------- */
.mstats { display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: center; margin: 0 0 16px; }
.ms b { display: block; font: 300 36px/1 var(--sans); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.ms b.g { color: var(--free); }
.ms span { display: block; font-size: 12.5px; color: var(--ink2); margin-top: 4px; }
.ms.note { max-width: 300px; font-size: 12.5px; color: var(--ink2); display: flex; gap: 8px; align-items: flex-start; }
.ms.note .live { flex: none; margin-top: 5px; }
.legend { margin-left: auto; display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink2); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend .c { width: 20px; height: 16px; display: inline-grid; cursor: default; }
.card.month { padding: 16px 20px 12px; }
.mgrid { display: flex; flex-direction: column; }
.gr { display: grid; grid-template-columns: 196px minmax(0, 1fr) 46px; align-items: center; min-height: 34px; }
.gr.gh { align-items: end; position: sticky; top: 0; background: var(--card); z-index: 2; padding-bottom: 4px; border-bottom: 1px solid var(--hair); margin-bottom: 2px; }
.cells { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); column-gap: 4px; }
.cw { display: flex; padding: 3px 0; }
.cw.wk, .dh.wk { border-left: 1px solid var(--hair); padding-left: 6px; }
.rl { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gr .rtl b { display: block; font-size: 13.5px; }
.gr .rl small { display: block; font-size: 11.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gr .rl > span:last-child { min-width: 0; }
.c { appearance: none; border: 0; padding: 0; width: 100%; height: 26px; border-radius: 7px; display: grid; place-items: center; position: relative; cursor: default; transition: transform .18s var(--spring), box-shadow .2s, background .2s; }
.c svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.c.s-free { background: var(--free); cursor: pointer; }
.c.s-free:hover { transform: scale(1.1); box-shadow: 0 4px 10px -3px rgba(17,128,74,.6); z-index: 1; }
.c.s-booked { background: var(--booked); cursor: pointer; }
.c.s-booked > i { position: absolute; left: 5px; right: 5px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--paint); }
.c.s-booked > i.nov { background: rgba(255,255,255,.28); }
.c.s-off { background: var(--hatch); }
.c.s-nw { background: transparent; box-shadow: inset 0 0 0 1px var(--nw); }
.c.s-bank { background: var(--paper2); }
.c.past { background: var(--past); box-shadow: none; cursor: default; }
.c.past > i, .c.past svg { display: none; }
.c.past.s-nw { background: transparent; box-shadow: inset 0 0 0 1px var(--hair); }
.c.past.s-free:hover { transform: none; box-shadow: none; }
.cw.today { background: var(--todaycol); }
.dh { display: grid; justify-items: center; gap: 1px; color: var(--ink2); text-decoration: none; padding: 2px 0 4px; border-radius: 8px; transition: background .2s; }
.dh:hover { background: var(--well); }
.dh.past { opacity: .45; }
.cap { height: 30px; width: 62%; display: flex; align-items: flex-end; margin-bottom: 2px; }
.cap i { display: block; width: 100%; background: var(--free); opacity: .75; border-radius: 3px 3px 1px 1px; min-height: 2px; }
.cap i.z { background: var(--hair2); }
.capn { font-size: 10.5px; color: var(--mute); font-variant-numeric: tabular-nums; }
.dl { font-size: 10.5px; color: var(--mute); }
.dn { font-size: 13px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; padding: 1px 4px; border-radius: 6px; }
.dh.now .dn { background: var(--ink); color: var(--on-ink); }
.tg { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--ink2); padding: 14px 0 4px; }
.tg i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.tg i.vi { background: none; box-shadow: inset 0 0 0 1.5px var(--ink2); }
.fc { text-align: right; font-size: 13px; color: var(--ink2); font-variant-numeric: tabular-nums; }
.fc.z { color: var(--mute); }
.fc.h { font-size: 11.5px; color: var(--mute); align-self: end; padding-bottom: 6px; }
.wkbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.only-phone { display: none; }

/* ---------- sheet ---------- */
.scrim { position: fixed; inset: 0; background: rgba(13,25,18,.34); opacity: 0; pointer-events: none; transition: opacity .35s; z-index: 40; backdrop-filter: blur(2px); }
.scrim.open { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; top: 0; right: 0; bottom: 0; width: 580px; max-width: 100%; background: var(--card); z-index: 50; transform: translateX(104%); transition: transform .45s var(--spring); display: flex; flex-direction: column; box-shadow: -24px 0 60px -20px rgba(0,0,0,.28); }
.sheet.open { transform: none; }
.sh-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 24px 26px 14px; }
.sh-h h2 { font: 400 34px/1.08 var(--serif); letter-spacing: -.015em; margin: 4px 0 6px; }
.sh-h p { margin: 0; color: var(--ink2); font-size: 13.5px; }
.sh-nav { display: flex; gap: 6px; }
.sh-sum { display: flex; gap: 24px; padding: 4px 26px 16px; border-bottom: 1px solid var(--hair); font-size: 13px; color: var(--ink2); }
.sh-sum b { font: 300 24px/1 var(--sans); color: var(--ink); margin-right: 4px; letter-spacing: -.03em; }
.sh-sum b.g { color: var(--free); }
.sh-b { flex: 1; overflow-y: auto; padding: 4px 26px 26px; }
.sh-b section h4 { display: flex; align-items: baseline; gap: 10px; font-size: 13.5px; margin: 20px 0 10px; }
.sh-b section h4 span { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--mute); }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick.vans { margin-top: 10px; }
.pchip, .vpick { display: inline-flex; align-items: center; gap: 9px; padding: 5px 12px 5px 5px; border-radius: 12px; border: 0; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--free-line); cursor: pointer; text-align: left; transition: background .2s, box-shadow .2s, transform .15s var(--spring); }
.pl { font-size: 13.5px; font-weight: 600; display: flex; flex-direction: column; line-height: 1.2; }
.pchip small { font-size: 11px; font-weight: 400; color: var(--mute); }
.pchip i, .vpick i { width: 18px; height: 18px; border-radius: 50%; background: var(--card); display: grid; place-items: center; }
.pchip i svg, .vpick i svg { width: 11px; height: 11px; fill: none; stroke: var(--free); stroke-width: 3; }
.pchip.on, .vpick.on { background: var(--free); box-shadow: none; color: #06120B; }
.pchip.on .pl small { color: rgba(6,18,11,.65); }
.pchip.on small { color: rgba(255,255,255,.75); }
.pchip:active, .vpick:active { transform: scale(.97); }
.pchip[disabled], .vpick[disabled] { cursor: default; }
.sh-f { display: flex; align-items: center; gap: 12px; padding: 14px 26px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hair); background: var(--card); }
.sh-f > span { flex: 1; font-size: 13px; color: var(--ink2); }
.opts .opt { display: grid; grid-template-columns: 120px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--hair); }
.opts .opt:first-child { border-top: 0; }
.opt-d b { display: block; font-size: 15px; } .opt-d span { font-size: 12px; color: var(--mute); }
.opt-c { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink2); }
.opt-c small { display: block; font-size: 11.5px; color: var(--mute); }
.roles { display: flex; flex-direction: column; gap: 8px; }
.rolec { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; border: 0; background: var(--well); text-align: left; cursor: pointer; }
.rolec.on { box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--card); }
.rolec { color: var(--ink); }
.rolec b { display: block; font-size: 15px; } .rolec small { display: block; font-size: 12.5px; color: var(--ink2); }

/* ---------- needs you page ---------- */
.needs-wrap { display: grid; grid-template-columns: 410px minmax(0, 1fr); gap: 18px; align-items: start; }
.rqlist { padding: 10px; }
.rqlist .lab { padding: 10px 10px 4px; margin: 0; }
.rq { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; width: 100%; text-align: left; border: 0; background: transparent; padding: 12px; border-radius: 12px; cursor: pointer; align-items: start; transition: background .2s; }
.rq:hover { background: var(--well); }
.rq.on { background: var(--well); box-shadow: inset 3px 0 0 var(--hv); }
.rq.done { opacity: .55; }
.rq-t b { display: block; font-size: 14px; }
.rq-t span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; color: var(--ink2); }
.rq-m { text-align: right; display: flex; flex-direction: column; gap: 3px; align-items: flex-end; }
.rq-m small { font-size: 11.5px; color: var(--mute); white-space: nowrap; }
.rq-m em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--ink2); }
.rqdetail { padding: 28px 34px; position: sticky; top: 20px; min-height: 520px; }
.rd-from { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink2); }
.rd-from b { color: var(--ink); }
.kind { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--hv-ink); background: var(--hv); border-radius: 6px; padding: 3px 8px; }
.rd h2 { font: 400 36px/1.1 var(--serif); letter-spacing: -.015em; margin: 18px 0 10px; }
.rd-p { font-size: 15.5px; line-height: 1.55; color: var(--ink2); max-width: 660px; margin: 0; }
.rv { margin: 22px 0 0; }
.rv-crew { display: flex; align-items: center; gap: 14px; padding: 14px; background: var(--well); border-radius: 14px; }
.rv-crew b { display: block; font-size: 15px; } .rv-crew span { font-size: 13px; color: var(--ink2); }
.rv-crew .stack { margin-left: auto; }
.rv-note { font-size: 12.5px; color: var(--mute); margin: 10px 0 0; }
.dates12 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 12px; }
.dchip { background: var(--card); box-shadow: inset 0 0 0 1px var(--hair2); border-radius: 12px; padding: 8px 10px; display: grid; line-height: 1.15; }
.dchip small { font-size: 11px; color: var(--mute); }
.dchip b { font: 300 24px/1.1 var(--sans); letter-spacing: -.03em; }
.dchip em { font-style: normal; font-size: 11px; color: var(--ink2); }
.swap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.sw { background: var(--well); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.sw .lab { margin: 0; }
.sw > div { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; }
.sw.after { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink); }
.arr svg { width: 22px; height: 22px; fill: none; stroke: var(--mute); stroke-width: 1.8; }
.hstrip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.hd { background: var(--well); border-radius: 12px; padding: 12px; }
.hd b { font-size: 13px; }
.hbar { display: flex; gap: 3px; margin: 10px 0 8px; }
.hbar i { flex: 1; height: 24px; border-radius: 4px; background: #E9B596; }
.hbar i.him { background: var(--hatch); }
.hd small { font-size: 12px; color: var(--ink2); }
.mtable div { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px solid var(--hair); font-size: 14px; color: var(--ink2); }
.mtable div:first-child { border-top: 0; }
.mtable b { font-variant-numeric: tabular-nums; color: var(--ink); font-size: 15px; }
.rd-act { display: flex; gap: 10px; margin: 26px 0 0; }
.rd-done { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 10px 14px; border-radius: 10px; background: var(--well); font-weight: 600; }
.rd-done svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 2.4; }
.rd-src { margin: 30px 0 0; padding-top: 14px; border-top: 1px solid var(--hair); font-size: 12.5px; color: var(--mute); }
.rd-src > span:first-child { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink2); margin-bottom: 6px; }

/* ---------- settings ---------- */
.stabs { display: flex; gap: 4px; border-bottom: 1px solid var(--hair2); margin: 0 0 18px; }
.stab { padding: 10px 14px; font-size: 14px; font-weight: 500; color: var(--ink2); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.stab small { margin-left: 6px; font-size: 12px; color: var(--mute); font-variant-numeric: tabular-nums; }
.stab.on { color: var(--ink); border-bottom-color: var(--ink); }
.reg { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px 34px; align-items: center; margin-bottom: 18px; padding: 22px 24px; }
.reg-t h3 { font: 400 26px/1.15 var(--serif); margin: 0 0 6px; letter-spacing: -.01em; }
.reg-t p { margin: 0; color: var(--ink2); font-size: 14px; max-width: 380px; }
.reg-l div { display: grid; grid-template-columns: 1fr 100px 70px; padding: 7px 0; border-top: 1px solid var(--hair); font-size: 13.5px; color: var(--ink2); }
.reg-l div:first-child { border-top: 0; }
.reg-l b { color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.reg-f { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--hair); }
.tbl { padding: 8px 20px 16px; }
.th, .tr { display: grid; grid-template-columns: 2.1fr 1fr 1.3fr 1.2fr 1fr; gap: 14px; align-items: center; padding: 10px 0; }
.th { font-size: 12px; color: var(--mute); border-bottom: 1px solid var(--hair); }
.tr + .tr { border-top: 1px solid var(--hair); }
.tp { display: flex; align-items: center; gap: 12px; }
.tp b { display: block; font-size: 14px; } .tp small { display: block; font-size: 12px; color: var(--mute); }
.tt { font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.tt i { width: 9px; height: 9px; border-radius: 3px; background: var(--c); }
.twd { display: flex; gap: 3px; }
.twd i { width: 21px; height: 21px; border-radius: 6px; display: grid; place-items: center; font-size: 10.5px; font-weight: 600; font-style: normal; background: var(--well); color: var(--mute); }
.twd i.on { background: var(--ink); color: var(--on-ink); }
.th2 { font-size: 13px; color: var(--ink2); }
.th2 b { color: var(--ink); font-variant-numeric: tabular-nums; }
.hb { display: block; width: 92px; height: 4px; border-radius: 2px; background: var(--paper2); margin-top: 6px; overflow: hidden; }
.hb i { display: block; height: 100%; background: var(--ink2); }
.ts .ok { font-size: 13px; font-weight: 600; color: var(--ink); }
.subs { margin-top: 18px; }
.subs-e { display: flex; align-items: center; gap: 8px; }
.ghost:not(.pill):not(.btn) { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--hair2); background: repeating-linear-gradient(135deg, transparent 0 4px, rgba(0,0,0,.025) 4px 8px); }
.subs-e .btn { margin-left: 8px; }
.signins + .signins { margin-top: 18px; }
.srow { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--hair); }
.signins .ch + .srow { border-top: 0; }
.sn b { display: block; font-size: 14px; } .sn small { display: block; font-size: 12px; color: var(--mute); }
.ss { font-size: 13.5px; color: var(--ink2); }
.nogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 10px; }
.nog { background: var(--well); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.nog b { font-size: 14px; }
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vbig { padding: 0; overflow: hidden; }
.vb-t { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px 8px; }
.vb-t b { display: block; font-size: 16px; } .vb-t small { display: block; font-size: 12.5px; color: var(--mute); }
.vb-m { display: flex; justify-content: space-between; gap: 10px; padding: 0 18px 16px; font-size: 12.5px; min-height: 52px; }
.vb-m b.due { display: block; font-size: 13px; } .vb-m small { display: block; color: var(--mute); }
.vb-m em { font-style: normal; color: var(--mute); }
.vlow { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; margin-top: 18px; align-items: start; }
.osrow { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--hair); }
.osrow b { display: block; font-size: 14px; } .osrow span { display: block; font-size: 12.5px; color: var(--ink2); }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team { padding: 20px; }
.team-h { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.team-h > i { width: 42px; height: 42px; border-radius: 12px; background: var(--c); }
.team-h b { display: block; font-size: 17px; } .team-h small { display: block; font-size: 12.5px; color: var(--mute); }
.team-m { display: flex; flex-wrap: wrap; gap: 6px; }
.team-m span { display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px 3px 3px; border-radius: 99px; background: var(--soft); font-size: 13px; font-weight: 500; }
.team-v { display: flex; gap: 14px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--hair); min-height: 30px; }
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 12.5px; color: var(--mute); margin: 16px 0 0; }

/* ---------- Jon ---------- */
.jtoday { padding: 0; overflow: hidden; color: #fff; background: var(--forest); min-height: 300px; display: flex; }
.jtoday:before { content: ""; position: absolute; inset: 0; background: var(--photo) center 30% / cover; }
.jtoday:after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(9,24,16,.94) 0%, rgba(9,24,16,.8) 45%, rgba(9,24,16,.25) 100%); }
.jt-in { position: relative; z-index: 1; padding: 24px 26px; display: flex; flex-direction: column; justify-content: flex-end; width: 100%; }
.jt-in .eyebrow { color: rgba(255,255,255,.66); }
.jt-in h2 { font: 400 44px/1.04 var(--serif); letter-spacing: -.02em; margin: 8px 0 8px; max-width: 520px; }
.jt-place { display: flex; align-items: center; gap: 6px; margin: 0; opacity: .85; font-size: 15px; }
.jt-place svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.jt-with { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 9px 14px 9px 9px; backdrop-filter: blur(10px); }
.jt-with b { display: block; font-size: 14.5px; } .jt-with span { font-size: 13px; opacity: .75; }
.jd { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--hair); }
.jlist .ch + .jd { border-top: 0; }
.jd-d b { display: block; font-size: 14px; } .jd-d small { font-size: 12px; color: var(--mute); }
.jd-b b { display: block; font-size: 14px; } .jd-b small { font-size: 12.5px; color: var(--ink2); }
.jd-n { font-size: 13.5px; color: var(--mute); }
.jd-o { font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.jd-o:before { content: ""; width: 16px; height: 12px; border-radius: 3px; background: var(--hatch); }
.jd.free .jd-n:before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--free); margin-right: 8px; vertical-align: 1px; }
.vdot { width: 10px; height: 10px; border-radius: 3px; background: var(--paint); }
.wsep { font-size: 12px; color: var(--mute); padding: 16px 0 6px; border-top: 1px solid var(--hair); }
.jh { display: flex; align-items: center; gap: 18px; margin: 4px 0 6px; }
.ring { width: 118px; height: 118px; flex: none; }
.ring circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.ring .rt { stroke: var(--paper2); }
.ring .rv2 { stroke: var(--ink); animation: dash 1.1s var(--spring) both .2s; }
@keyframes dash { from { stroke-dasharray: 0 400; } }
.jh-n b { display: block; font: 300 52px/1 var(--sans); letter-spacing: -.04em; }
.jh-n span { font-size: 13px; color: var(--ink2); }
.jh-next { font-size: 13.5px; color: var(--ink2); margin: 8px 0 0; }
.todo { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--hair); }
.jtodo .ch + .todo { border-top: 0; }
.tk { width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--hair2); }
.todo b { display: block; font-size: 14px; } .todo span { display: block; font-size: 12.5px; color: var(--ink2); }
.jnews { background: var(--forest); color: #fff; overflow: hidden; box-shadow: var(--lift); }
.jnews:after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 160px; height: 160px; opacity: .08; background: url(assets/dtg-logo-white.png) center / contain no-repeat; }
.jnews .eyebrow { color: rgba(255,255,255,.55); }
.jnews b { display: block; font: 400 24px/1.2 var(--serif); margin: 6px 0 4px; }
.jnews p { margin: 0; font-size: 14px; opacity: .8; max-width: 320px; }

/* ---------- toast and tips ---------- */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--on-ink); border-radius: 13px; padding: 10px 10px 10px 16px; display: flex; align-items: center; gap: 14px; font-size: 13.5px; max-width: min(640px, 92vw); z-index: 80; transition: transform .45s var(--spring), opacity .3s; box-shadow: 0 18px 40px -16px rgba(0,0,0,.5); }
.toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { display: inline-flex; align-items: center; gap: 6px; background: color-mix(in srgb, var(--on-ink) 12%, transparent); color: var(--on-ink); border: 0; border-radius: 8px; padding: 6px 10px; font-size: 13px; font-weight: 600; cursor: pointer; flex: none; }
.toast button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.tip { position: fixed; pointer-events: none; background: var(--ink); color: var(--on-ink); font-size: 12px; line-height: 1.4; padding: 7px 10px; border-radius: 8px; max-width: 300px; opacity: 0; z-index: 100; transition: opacity .15s; }
.tip.on { opacity: 1; }

/* ================= phone ================= */
@media (max-width: 860px) {
  #app { display: block; height: auto; }
  .side { display: none; }
  .mtop { display: flex; align-items: center; position: sticky; top: 0; z-index: 20; padding: 10px 16px; background: var(--glass); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
  .mbrand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
  .mbrand img { height: 32px; }
  .mbrand span { font: italic 400 19px var(--serif); }
  .mrole { margin-left: 8px; color: var(--ink); display: inline-flex; align-items: center; gap: 7px; background: var(--card); border: 0; border-radius: 99px; padding: 3px 10px 3px 3px; font-size: 13px; font-weight: 600; box-shadow: var(--lift); cursor: pointer; }
  .mrole svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
  .main { height: auto; overflow: visible; }
  .page { padding: 10px 16px 112px; }
  .ph { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
  .ph h1 { font-size: 36px; }
  .ph p { font-size: 14.5px; margin-top: 6px; }
  .todayln { align-items: flex-start; }
  .todayln b { display: none; }
  .grid { flex-direction: column; gap: 14px; align-items: stretch; }
  .col { display: contents; }
  .col > * { order: var(--o); }
  .card { padding: 16px; border-radius: 16px; }
  .hero { min-height: 0; }
  .hero-in { padding: 16px 16px 18px; }
  .hero:after { background: linear-gradient(180deg, rgba(9,24,16,.62) 0%, rgba(9,24,16,.88) 45%, rgba(9,24,16,.95) 100%); }
  .hero-when { margin-top: 40px; }
  .hero-date .big { font-size: 60px; }
  .hero-crew { font-size: 15px; flex-wrap: wrap; gap: 10px; }
  .hero-crew em { display: block; margin-left: 0; }
  .hero-act .btn { flex: 1 1 auto; justify-content: center; }
  .hero-act .btn:nth-child(3) { display: none; }
  .tell { font-size: 15.5px; }
  .pop { left: 12px; right: 12px; width: auto; top: 56px; }
  .crow { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; }
  .crow .vt { width: 60px; height: 44px; }
  .crow-ppl { grid-column: 2; font-size: 12.5px; }
  .crow-t { display: none; }
  .ch { flex-wrap: wrap; }
  .out .ch .seg { order: 3; }
  .wcols { gap: 6px; }
  .wcol { padding: 9px 6px; gap: 6px; border-radius: 11px; }
  .wcol.hl { box-shadow: inset 0 0 0 1.5px var(--free); }
  .wcol.today.hl { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .wd { font-size: 11.5px; }
  .wbar { height: 64px; }
  .wnum { font-size: 11px; } .wnum b { font-size: 19px; display: block; }
  .wvans { flex-wrap: wrap; gap: 3px; } .wvans i { width: 7px; height: 7px; }
  .wflag { font-size: 10px; }
  .ch .meta .k { margin-left: 6px; }
  .vstrip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .vstrip::-webkit-scrollbar { display: none; }
  .vcard { flex: 0 0 136px; scroll-snap-align: start; }
  .mbig { font-size: 38px; }
  .tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--glass2); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); border-top: 1px solid var(--hair); padding: 7px 6px calc(8px + env(safe-area-inset-bottom)); }
  .tb { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 500; color: var(--mute); text-decoration: none; }
  .ti { position: relative; width: 54px; height: 30px; border-radius: 10px; display: grid; place-items: center; transition: background .2s; }
  .ti svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .tb.on { color: var(--ink); font-weight: 600; }
  .tb.on .ti { background: var(--ink); color: var(--on-ink); }
  .ti .cnt { position: absolute; top: -4px; right: 4px; font-size: 10px; padding: 3px 5px; }
  .toast { bottom: 92px; }
  .only-desk { display: none !important; }
  .only-phone { display: block; }
  .mstats { gap: 12px 26px; }
  .ms b { font-size: 30px; }
  .ms.note { max-width: none; width: 100%; }
  .legend { margin-left: 0; gap: 8px 14px; font-size: 12px; }
  .ph-r .seg { width: 100%; } .ph-r .seg button { flex: 1; }
  .ph-r { width: 100%; }
  .card.month.phone { padding: 14px 12px 10px; }
  .gr { grid-template-columns: 104px minmax(0, 1fr) 30px; min-height: 40px; }
  .wk5 .cells { column-gap: 5px; }
  .wk5 .cw.wk, .wk5 .dh.wk { border-left: 0; padding-left: 0; }
  .wk5 .c { height: 32px; border-radius: 8px; }
  .gr .rl { gap: 8px; } .gr .rl small { display: none; } .gr .rl .vt.xs { width: 26px; }
  .wk5 .dl { font-size: 11px; }
  .sheet { top: auto; left: 0; width: 100%; height: 90dvh; border-radius: 22px 22px 0 0; transform: translateY(104%); box-shadow: 0 -20px 50px -20px rgba(0,0,0,.35); }
  .sheet:before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; border-radius: 2px; background: var(--hair2); transform: translateX(-50%); }
  .sh-h { padding: 22px 18px 12px; }
  .sh-h h2 { font-size: 28px; }
  .sh-nav .iconb:not(:last-child) { display: none; }
  .sh-sum { padding: 2px 18px 14px; gap: 16px; }
  .sh-b { padding: 2px 18px 22px; }
  .sh-f { padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); flex-direction: column; align-items: stretch; }
  .sh-f .btn { justify-content: center; height: 44px; }
  .opts .opt { grid-template-columns: 1fr auto; }
  .opts .opt-c { grid-column: 1 / -1; grid-row: 2; }
  .needs-wrap { grid-template-columns: 1fr; }
  .rqlist { padding: 6px; }
  .rd h2 { font-size: 28px; }
  .dates12 { grid-template-columns: repeat(4, 1fr); }
  .swap { grid-template-columns: 1fr; } .arr { justify-self: center; transform: rotate(90deg); }
  .hstrip { grid-template-columns: repeat(5, 1fr); gap: 5px; } .hd { padding: 8px 6px; } .hd small { font-size: 10.5px; }
  .rd-act { flex-direction: column; } .rd-act .btn { justify-content: center; height: 44px; }
  .stabs { overflow-x: auto; scrollbar-width: none; margin: 0 -16px 16px; padding: 0 12px; }
  .reg { grid-template-columns: 1fr; padding: 18px; }
  .reg-l div { grid-template-columns: 1fr 86px 58px; font-size: 13px; }
  .reg-f { flex-direction: column; align-items: flex-start; gap: 10px; }
  .tbl { padding: 4px 16px 12px; }
  .th { display: none; }
  .tr { grid-template-columns: 1fr auto; grid-template-areas: "p s" "w h"; gap: 8px 12px; padding: 12px 0; }
  .tp { grid-area: p; } .ts { grid-area: s; } .twd { grid-area: w; padding-left: 44px; } .th2 { grid-area: h; text-align: right; } .tt { display: none; }
  .hb { margin-left: auto; width: 70px; }
  .srow { grid-template-columns: auto 1fr auto; }
  .ss { grid-column: 2 / -1; grid-row: 2; font-size: 12.5px; margin-top: -8px; }
  .vgrid, .vlow, .tgrid { grid-template-columns: 1fr; }
  .vt.xl { height: 150px; }
  .jt-in h2 { font-size: 34px; }
  .jtoday { min-height: 340px; }
  .jtoday:after { background: linear-gradient(180deg, rgba(9,24,16,.35) 0%, rgba(9,24,16,.85) 55%, rgba(9,24,16,.95) 100%); }
  .rtl li { grid-template-columns: 40px 22px 1fr auto; }
  .qrow { grid-template-columns: 1fr auto; } .qrow small { display: none; }
}

@media (prefers-reduced-motion: reduce) { *, *:before, *:after { animation: none !important; transition: none !important; } }

/* ================= round 2 ================= */
html[data-theme=dark] .seg button.on { background: #27332C; }
html[data-theme=dark] .team-m span { background: color-mix(in srgb, var(--c) 20%, transparent); }
html[data-theme=dark] .hbar i { background: #7A4A30; }
html[data-theme=dark] .hbar i.him { background: var(--hatch); }
html[data-theme=dark] .btn.line:hover { background: var(--well2); }
html[data-theme=dark] .card.needs { box-shadow: var(--lift), inset 3px 0 0 var(--hv); }
html[data-theme=dark] .side-photo { opacity: .38; }
html[data-theme=dark] .vt.none { box-shadow: inset 0 0 0 1.5px var(--hair2); }
html[data-theme=dark] .pop { box-shadow: 0 0 0 1px var(--hair2), 0 24px 50px -16px rgba(0,0,0,.8); }
.lg-d { display: none; } html[data-theme=dark] .lg-d { display: block; } html[data-theme=dark] .lg-l { display: none; }

/* nav groups and theme switch */
.ng { margin: 16px 12px 6px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(230,237,231,.38); }
.nav .ng:first-child { margin-top: 0; }
.nsep { display: block; height: 1px; margin: 12px 12px 10px; background: rgba(255,255,255,.07); }
.cnt.soft { background: rgba(255,255,255,.12); color: #fff; }
.thm { margin-left: auto; width: 32px; height: 32px; border-radius: 9px; border: 0; background: rgba(255,255,255,.06); color: rgba(230,237,231,.8); display: grid; place-items: center; cursor: pointer; flex: none; transition: background .2s; }
.thm:hover { background: rgba(255,255,255,.12); color: #fff; }
.thm svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mtop .thm { margin-left: auto; background: var(--well); color: var(--ink2); }

/* home band (v9's photo and greeting) */
.page.p-today { padding-top: 0; }
.band { position: relative; margin: 0 -44px; padding: 40px 44px 112px; min-height: 380px; overflow: hidden; }
.band:before { content: ""; position: absolute; inset: 0; background: var(--photo) 72% 28% / cover no-repeat; filter: var(--band-img); }
.band:after { content: ""; position: absolute; inset: 0; background: var(--band-fade2), var(--band-fade); }
.band-in { position: relative; z-index: 1; max-width: 760px; }
.eb { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); margin: 18px 0 0; font-variant-numeric: tabular-nums; }
.hello { font: 300 84px/.98 var(--sans); letter-spacing: -.05em; margin: 18px 0 18px; color: var(--ink); }
.summary { font-size: 21px; line-height: 1.45; color: var(--ink2); margin: 0; max-width: 620px; letter-spacing: -.005em; }
.summary a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--hv), var(--hv)) 0 100% / 100% 2px no-repeat; padding-bottom: 1px; transition: background-size .25s; }
.summary a:hover { background-size: 100% 100%; color: var(--hv-ink); }
.band-live { position: absolute; top: 0; right: 0; }
.band .band-live { position: absolute; top: 20px; right: 44px; z-index: 1; background: var(--tile); border: 1px solid var(--tile-line); padding: 7px 12px; border-radius: 99px; backdrop-filter: blur(10px); color: var(--ink2); }
.band-in .band-live { display: none; }

/* tiles */
.tiles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; position: relative; z-index: 2; margin: -84px 0 18px; }
.tiles.five { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 0; }
.p-fleet .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.p-fleet .tiles, .p-safety .tiles { margin-top: 0; }
.tile { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 178px; padding: 18px 20px; border-radius: 18px; background: var(--tile); box-shadow: var(--lift); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); text-decoration: none; color: var(--ink); transition: transform .25s var(--spring), box-shadow .25s; overflow: hidden; }
a.tile:hover { transform: translateY(-2px); box-shadow: var(--lift-hi); }
.tile.mini { min-height: 132px; }
.t-eb { display: flex; align-items: center; justify-content: space-between; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); text-decoration: none; }
.aur { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; opacity: .7; transition: transform .25s var(--spring); }
a.tile:hover .aur, .t-eb:hover .aur { transform: translate(2px, -2px); opacity: 1; }
.t-big { font: 300 40px/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.t-big small { font-size: 14px; letter-spacing: 0; color: var(--ink2); font-weight: 400; }
.t-ft { margin-top: auto; font-size: 12.5px; color: var(--ink2); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.t-p { font-size: 13px; color: var(--ink2); line-height: 1.45; }
.t-list { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; }
.t-list span { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; }
.t-list i { width: 8px; height: 8px; border-radius: 2px; background: var(--paint); flex: none; }
.t-list em { margin-left: auto; font-style: normal; color: var(--mute); font-variant-numeric: tabular-nums; }
.t-list em.warnc { color: var(--over); }
.spark { display: flex; align-items: flex-end; gap: 4px; height: 44px; }
.spark i { flex: 1; border-radius: 3px; background: var(--free); opacity: .32; transform-origin: bottom; animation: grow .8s var(--spring) both .2s; }
.spark i.hit { opacity: 1; box-shadow: 0 0 14px -2px var(--free); }
.tile.alarm { background: linear-gradient(160deg, var(--over-soft), transparent 70%), var(--tile); box-shadow: var(--lift), inset 0 0 0 1px color-mix(in srgb, var(--over) 28%, transparent); }
.tile.alarm .t-eb { color: var(--over); }
.btn.alarm-b { background: var(--over); color: #fff; margin-left: auto; }
.btn.alarm-b:hover { filter: brightness(1.08); }
.sentg { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink2); margin-left: auto; }
.sentg svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.tile.over .t-big, .tile.mini.over .t-big { color: var(--over); }
.tile.due .t-big { color: var(--ink); }
.tile.mini.due { box-shadow: var(--lift), inset 0 2px 0 var(--hv); }
.tile.mini.over { box-shadow: var(--lift), inset 0 2px 0 var(--over); }
.rt-row { display: flex; align-items: center; gap: 16px; }
.rt-t { display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 0; }
.rt-l { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--ink2); line-height: 1.35; }
.rt-l b { font-weight: 600; color: var(--ink); }
.rt-l span { display: block; }
.rt-l span:before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--hv); margin: 0 8px 1px 0; }
.rt-l span.over:before { background: var(--over); }
.segring { position: relative; width: 96px; height: 96px; flex: none; }
.segring svg { width: 100%; height: 100%; }
.sr, .sr-t { fill: none; stroke-width: 9; stroke-linecap: round; }
.sr-t { stroke: var(--hair2); }
.sr.ok { stroke: var(--ink2); } .sr.due { stroke: var(--hv); } .sr.over { stroke: var(--over); }
.sr { animation: dash 1.1s var(--spring) both .25s; }
.sr-v { position: absolute; inset: 0; display: grid; place-items: center; }
.sr-v b { font: 300 27px/1 var(--sans); letter-spacing: -.04em; }
.sr-v small { font-size: 13px; color: var(--mute); margin-left: 1px; }

/* home grid */
.home2 .col.l { flex: 1.55; } .home2 .col.r { flex: 1; }
.mtop2 { margin-bottom: 18px; } .mtop2 .col.l { flex: 1.55; } .mtop2 .col.r { flex: 1; }
.mtop2 .hero { min-height: 340px; }
.six .opts .opt { grid-template-columns: 96px 1fr auto; padding: 10px 0; }
.hol2 .col.l, .saf .col.l, .flt .col.l { flex: 1.55; } .hol2 .col.r, .saf .col.r, .flt .col.r { flex: 1; }
.trn .col.l { flex: 2.2; } .trn .col.r { flex: 1; }
.nrow2 { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--hair); }
.needs .ch + .nrow2 { border-top: 0; padding-top: 2px; }
.nrow2 .nrow-t { cursor: pointer; min-width: 0; }
.nrow2 .nrow-t:hover b { text-decoration: underline; text-decoration-color: var(--hair2); text-underline-offset: 3px; }
.nrow-a { display: flex; align-items: center; gap: 6px; }
.kind2 { font-size: 11px; color: var(--mute); margin-right: 4px; white-space: nowrap; }

/* map */
.map { position: relative; height: 400px; margin: 0 -20px; overflow: hidden; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: var(--land); }
.map-in { position: relative; height: 100%; margin: 0 auto; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mlead { stroke: var(--ink2); stroke-width: .8; fill: none; opacity: .5; }
.mland { fill: var(--land); } .mdot { fill: var(--landdot); }
.msea { fill: var(--sea); stroke: color-mix(in srgb, var(--ink2) 30%, transparent); stroke-width: .8; }
.mriver { fill: none; stroke: var(--sea); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.mlab { font: 500 7.5px var(--sans); letter-spacing: .14em; fill: var(--mute); }
.mlab.sea { font-size: 9px; letter-spacing: .3em; opacity: .7; }
.mtown { fill: var(--mute); }
.mroute { fill: none; stroke: var(--paint); stroke-width: 1.6; stroke-dasharray: 3 4; opacity: .85; animation: rdraw 1.2s var(--spring) both; animation-delay: calc(var(--k) * 120ms + .2s); }
@keyframes rdraw { from { opacity: 0; } }
.mpin .halo { opacity: .22; transform-box: fill-box; transform-origin: center; animation: halo 2.8s ease-out infinite; animation-delay: calc(var(--k) * 400ms); }
@keyframes halo { 0% { transform: scale(.5); opacity: .45; } 100% { transform: scale(1.6); opacity: 0; } }
.mnum { font: 700 7px var(--sans); fill: var(--on-ink); text-anchor: middle; }
.route .mpin circle:not(.halo) { r: 7.5; }
.myard rect { fill: var(--ink); stroke: var(--card); stroke-width: 2; }
.mtag { position: absolute; transform: translate(0, -50%); display: flex; flex-direction: column; padding: 5px 9px 5px 9px; border-radius: 9px; background: var(--tile); border: 1px solid var(--tile-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-decoration: none; color: var(--ink); white-space: nowrap; box-shadow: 0 8px 18px -10px rgba(0,0,0,.5); animation: rise .5s var(--spring) both; animation-delay: calc(var(--k, 0) * 90ms + .3s); transition: transform .2s var(--spring); z-index: 1; }
.mtag.flip { transform: translate(-100%, -50%); }
.mtag:hover { z-index: 3; box-shadow: 0 12px 24px -10px rgba(0,0,0,.6); }
.mtag b { font-size: 12px; font-weight: 600; } .mtag small { font-size: 11px; color: var(--ink2); max-width: 210px; overflow: hidden; text-overflow: ellipsis; }
.mtag.yard { transform: translate(-50%, 12px); background: transparent; border: 0; box-shadow: none; backdrop-filter: none; align-items: center; padding: 0; }
.mtag.yard b { font-size: 11px; } .mtag.yard small { font-size: 10px; }
.inyard { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink2); margin: 12px 0 0; }
.inyard > span { color: var(--mute); }
.rtl.compact li { padding: 8px 0; } .rtl.compact { margin-top: 12px; }

/* safety strip */
.sgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.sa { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; background: var(--well); text-decoration: none; color: var(--ink); transition: background .2s, transform .2s var(--spring); position: relative; }
.sa:hover { background: var(--well2); transform: translateY(-1px); }
.sa-n { font-size: 12.5px; color: var(--ink2); }
.sa-b { font: 300 30px/1 var(--sans); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.sa-b small { font-size: 14px; color: var(--mute); letter-spacing: 0; }
.sa-bar { height: 4px; border-radius: 2px; background: var(--hair2); overflow: hidden; }
.sa-bar i { display: block; height: 100%; background: var(--ink2); border-radius: 2px; transform-origin: left; animation: growx .9s var(--spring) both .3s; }
@keyframes growx { from { transform: scaleX(0); } }
.sa.due .sa-bar i { background: var(--hv); } .sa.over .sa-bar i { background: var(--over); } .sa.over .sa-b { color: var(--over); }
.sa-l { font-size: 12px; color: var(--ink2); line-height: 1.35; min-height: 32px; }
/* Safe and legal on Today: an area with no record in the hub gets no number, bar or colour (11 Oct). */
.sa.nr { background: transparent; border: 1px dashed var(--hair2); }
.sa-b.nr { font: 500 15px/1.2 var(--sans); letter-spacing: 0; color: var(--mute); }
.sa .src { align-self: flex-start; margin-top: auto; }
.sa .src { margin-top: auto; white-space: normal; }

/* holidays */
.hreq { box-shadow: var(--lift), inset 3px 0 0 var(--hv); }
.hr-row { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.hr-t b { display: block; font-size: 16px; } .hr-t span { font-size: 13px; color: var(--ink2); }
.hl { overflow-x: auto; }
.hl-r { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; min-height: 30px; }
.hl-r .rl { gap: 8px; } .hl-r .rl b { font-size: 13px; }
.hl-c { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 0; }
.hl-r:not(.hl-h) .hl-c { background: var(--well); border-radius: 6px; height: 18px; overflow: hidden; }
.hl-c i { height: 18px; }
.hl-c i.mon { box-shadow: inset 1px 0 0 var(--hair2); }
.hl-c i.nw { background: repeating-linear-gradient(90deg, transparent 0 2px, var(--hair) 2px 3px); }
.hl-c i.hol { background: var(--hatch); }
.hl-c i.sick { background: var(--over); opacity: .8; }
.hl-c i.pend { background: var(--hv-soft); box-shadow: inset 0 1.5px 0 var(--hv), inset 0 -1.5px 0 var(--hv); }
.hl-c i.shut { background: var(--paper); }
.hl-h { min-height: 0; } .hl-m span { font-size: 12px; font-weight: 600; color: var(--ink2); padding: 0 0 4px 3px; border-left: 1px solid var(--hair2); }
.hl-d i { height: auto !important; background: none !important; box-shadow: none !important; font: 500 10px var(--sans); font-style: normal; color: var(--mute); text-align: left; padding-bottom: 5px; }
.hl-d i.now { color: var(--ink); }
.hl-key .k { margin-left: 12px; } .k.hol { background: var(--hatch); } .k.sick { background: var(--over); } .k.pend { background: var(--hv-soft); box-shadow: inset 0 0 0 1.5px var(--hv); } .k.shut { background: var(--paper2); }
.ha-r { display: grid; grid-template-columns: auto 80px 1fr auto; gap: 12px; align-items: center; padding: 6px 0; font-size: 13.5px; }
.ha-r .hb { width: 100%; margin: 0; }
.ha-n { font-size: 12.5px; color: var(--ink2); font-variant-numeric: tabular-nums; } .ha-n b { color: var(--ink); }
.hh { display: flex; align-items: baseline; gap: 14px; }
.hh-big { font: 300 44px/1 var(--sans); letter-spacing: -.04em; flex: none; }
.hh span { color: var(--ink2); font-size: 14px; }
.steps { list-style: none; counter-reset: s; margin: 16px 0 0; padding: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; padding: 9px 0; border-top: 1px solid var(--hair); }
.steps li:before { content: counter(s); grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--hair2); display: grid; place-items: center; font-size: 11px; font-weight: 600; color: var(--ink2); }
.steps b { font-size: 14px; } .steps span { font-size: 12.5px; color: var(--ink2); }

/* safety */
.pwr, .ckr, .dr, .rr, .vr { display: grid; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--hair); }
.ch + .pwr, .ckt .ckr:first-child, .ch + .dr, .ch + .rr, .ch + .vr { border-top: 0; }
.pwr { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.pwr > div b, .dr > div b, .rr > div b, .vr > div b { display: block; font-size: 14px; } .pwr > div span, .dr > div span, .rr > div span, .vr > div span { display: block; font-size: 12.5px; color: var(--ink2); }
.pw-ok { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink2); grid-column: 3 / 5; justify-self: end; white-space: nowrap; }
.pw-ok svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.pw-no { font-size: 12.5px; font-weight: 600; color: var(--soon-c); }
.ckr { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto 110px; }
.vt.tool { background: var(--well2); display: grid; place-items: center; color: var(--ink2); }
.vt.tool:after { display: none; }
.vt.tool svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ckr .muted { font-size: 12.5px; }
.ck-a { justify-self: end; }
.chip { font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px; white-space: nowrap; justify-self: start; }
.chip.ok { background: var(--well2); color: var(--ink2); }
.chip.due { background: var(--hv); color: var(--hv-ink); }
.chip.over { background: var(--over-soft); color: var(--over); }
.chip.soft { background: var(--well); color: var(--mute); }
.pu-big { display: flex; flex-direction: column; gap: 4px; margin: 4px 0 14px; }
.pu-big span { font-size: 12.5px; color: var(--ink2); }
.pu-big b { font: 300 52px/1 var(--sans); letter-spacing: -.045em; color: var(--over); }
.pu-line { display: flex; gap: 4px; height: 30px; margin-bottom: 12px; }
.pu-line span { border-radius: 7px; display: flex; align-items: center; padding: 0 10px; font-size: 11.5px; overflow: hidden; white-space: nowrap; }
.pu-line em { font-style: normal; }
.pu-on { background: var(--well2); color: var(--ink2); }
.pu-line .pu-off { flex: 7 !important; }
.pu-off { background: var(--over-soft); color: var(--over); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--over) 35%, transparent); }
.rd-p.sm { font-size: 13.5px; }
.dr { grid-template-columns: minmax(0, 1fr) 120px auto; }
.dr-n { font-size: 12.5px; color: var(--ink2); } .dr-n b { color: var(--ink); font-size: 14px; display: inline; }
.dr .hb { width: 100%; }
.empty.sm { padding: 10px; } .empty.sm svg { width: 44px; height: 44px; } .empty.sm p { font-size: 13px; margin: 0; }

/* training matrix */
.tfil { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.fchip { border: 0; background: var(--well); color: var(--ink2); padding: 6px 11px; border-radius: 99px; font-size: 12.5px; cursor: pointer; transition: background .2s, color .2s; }
.fchip:hover { background: var(--well2); color: var(--ink); }
.fchip.on { background: var(--ink); color: var(--on-ink); }
.mx-wrap { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
.mx-t { min-width: 0; }
.mx-r { display: grid; grid-template-columns: 128px repeat(var(--n, 10), minmax(0, 1fr)); gap: 4px; align-items: center; min-height: 34px; transition: opacity .25s; }
.mx-t { --n: 10; }
.mx-r.dim { opacity: .28; }
.mx-h { font-size: 11px; color: var(--mute); align-items: end; padding-bottom: 6px; border-bottom: 1px solid var(--hair); margin-bottom: 2px; }
.mx-h span { text-align: center; line-height: 1.2; } .mx-h span.hit { color: var(--ink); font-weight: 600; }
.mx-r .rl small { display: block; font-size: 11px; color: var(--mute); }
.mx-r .rl b { display: block; font-size: 13px; }
.mx { height: 26px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: default; }
.mx.ok { background: var(--well2); color: var(--ink2); box-shadow: inset 0 0 0 1px var(--hair); }
.mx.due { background: var(--hv); color: var(--hv-ink); }
.mx.exp { background: var(--over-soft); color: var(--over); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--over) 40%, transparent); }
.mx.none { background: transparent; box-shadow: inset 0 0 0 1px var(--hair); }
.mx.hit { outline: 1.5px solid var(--ink2); outline-offset: 1px; }
.mx-key .k { margin-left: 12px; } .k.ok { background: var(--well2); box-shadow: inset 0 0 0 1px var(--hair2); } .k.due { background: var(--hv); } .k.exp { background: var(--over-soft); box-shadow: inset 0 0 0 1px var(--over); }
.rr { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.jtix .rr { grid-template-columns: 54px minmax(0, 1fr); }
.jtix .mx { font-size: 11px; }
.hstats { display: flex; gap: 26px; }
.hstats span { display: flex; flex-direction: column; font-size: 12px; color: var(--ink2); }
.hstats b { font: 300 36px/1 var(--sans); letter-spacing: -.04em; color: var(--ink); }
.hstats .due b { color: var(--soon-c); } .hstats .exp b { color: var(--over); }
.fact { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--hair); }
.ch + .fact { border-top: 0; }
.fact b { font: 300 28px/1 var(--sans); letter-spacing: -.035em; }
.fact span { font-size: 13px; color: var(--ink2); }
.fact.over b { color: var(--over); }

/* fleet */
.vb-out { display: flex; }
.vb-rows { padding: 0 18px 16px; }
.vb-rows div { display: grid; grid-template-columns: 82px 1fr; gap: 10px; padding: 6px 0; border-top: 1px solid var(--hair); font-size: 12.5px; }
.vb-rows span { color: var(--mute); }
.vb-rows b { font-weight: 500; color: var(--ink); }
.vb-rows b.over { color: var(--over); font-weight: 600; } .vb-rows b.due { color: var(--soon-c); }
.p-fleet .vgrid { margin-bottom: 18px; }
.osrow span.over { color: var(--over); font-weight: 600; }
.frow.done i { background: var(--hair2); } .frow.done b, .frow.done span { opacity: .55; }
.dnu { font-style: normal; font-size: 11px; font-weight: 600; color: var(--over); background: var(--over-soft); padding: 2px 7px; border-radius: 5px; margin-left: 8px; vertical-align: 1px; }
.frow { grid-template-columns: 10px 1fr auto; }

/* settings vans */
.vr { grid-template-columns: auto minmax(0, 1fr) 150px 120px auto; }
.offsheet { margin-top: 18px; }

/* More sheet */
.morel { display: flex; flex-direction: column; gap: 6px; }
.morei { display: grid; grid-template-columns: 24px 1fr auto auto; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; background: var(--well); text-decoration: none; color: var(--ink); }
.morei > svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.morei > svg:last-child { width: 16px; height: 16px; color: var(--mute); }
.morei b { display: block; font-size: 15px; } .morei small { display: block; font-size: 12.5px; color: var(--ink2); }
.morei .cnt { margin: 0; } .morei .cnt.soft { background: var(--well2); color: var(--ink); }
.morethm { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--hair); font-size: 14px; color: var(--ink2); }
.cnt.dot { width: 8px; height: 8px; padding: 0; top: 2px; right: 14px; }
.tb { background: none; border: 0; cursor: pointer; font: inherit; }

@media (max-width: 1280px) {
  .hello { font-size: 68px; }
  .sgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiles.five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .p-fleet .tiles { grid-template-columns: 1fr 1fr; }
  .band { margin: 0 -16px; padding: 18px 16px 78px; min-height: 0; }
  .band:before { background-position: 62% 20%; }
  .band:after { background: linear-gradient(180deg, color-mix(in srgb, var(--paper) 55%, transparent) 0%, color-mix(in srgb, var(--paper) 78%, transparent) 50%, var(--paper) 100%); }
  .band .band-live { position: static; display: inline-flex; margin-top: 14px; }
  .hello { font-size: 46px; margin: 12px 0 10px; }
  .summary { font-size: 16.5px; }
  .eb { font-size: 10.5px; letter-spacing: .08em; margin-top: 6px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: -58px; margin-bottom: 14px; }
  .tiles.five { grid-template-columns: 1fr 1fr; }
  .tile { min-height: 0; padding: 14px; gap: 8px; border-radius: 16px; }
  .t-big { font-size: 30px; gap: 6px; } .t-big small { font-size: 12px; }
  .t-list { font-size: 11.5px; gap: 4px; } .t-list em { display: none; }
  .p-today .tiles .tile:nth-child(2) .t-list span:nth-child(n+4) { display: none; }
  .t-ft { font-size: 11.5px; }
  .spark { height: 30px; gap: 3px; }
  .ringt { grid-column: span 2; }
  .segring { width: 92px; height: 92px; }
  .tile.alarm { grid-column: span 2; }
  .p-today .tiles .tile:nth-child(2) .t-ft { display: none; }
  .nrow2 { grid-template-columns: auto minmax(0, 1fr); }
  .nrow2 .nrow-a { grid-column: 1 / -1; justify-content: flex-end; }
  .nrow2 .nrow-a .btn { flex: 1; justify-content: center; height: 36px; }
  .kind2 { display: none; }
  .map { height: 270px; margin: 0 -16px; }
  .mtag small { display: none; }
  .mtag { padding: 4px 7px; } .mtag b { font-size: 11px; }
  .sgrid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .sgrid::-webkit-scrollbar { display: none; }
  .sa { flex: 0 0 150px; scroll-snap-align: start; }
  .mtop2 .hero { min-height: 0; }
  .hr-row { grid-template-columns: auto 1fr; } .hr-row .nrow-a, .hr-row .sentg { grid-column: 1 / -1; } .hr-row .nrow-a .btn { flex: 1; justify-content: center; height: 40px; }
  .hl-r { grid-template-columns: 74px minmax(0, 1fr); }
  .hl-r .rl .av { display: none; }
  .hl-c { gap: 1px; } .hl-c i { height: 14px; border-radius: 2px; } .hl-c i.mon { margin-left: 1px; }
  .hl-d i { font-size: 8.5px; }
  .hl-key { display: none; }
  .pwr { grid-template-columns: auto minmax(0, 1fr); }
  .pwr .pw-ok, .pwr .pw-no { grid-column: 2; justify-self: start; }
  .pwr .btn, .pwr .sentg { grid-column: 2; justify-self: start; margin: 0; }
  .ckr { grid-template-columns: auto minmax(0, 1fr) auto; }
  .ckr .muted { grid-column: 2; grid-row: 2; margin-top: -8px; font-size: 12px; }
  .ckr .chip { grid-column: 3; grid-row: 1; justify-self: end; }
  .ck-a { grid-column: 3; grid-row: 2; }
  .ck-a:empty { display: none; }
  .dr { grid-template-columns: 1fr auto; } .dr .dr-n { grid-column: 1; } .dr .btn, .dr .sentg { grid-column: 2; grid-row: 1 / 3; }
  .hstats { gap: 18px; } .hstats b { font-size: 28px; }
  .mx-t { min-width: 640px; }
  .mx-r { grid-template-columns: 96px repeat(var(--n, 10), minmax(0, 1fr)); }
  .mx-r .rl .av, .mx-r .rl small { display: none; }
  .mx { font-size: 10px; height: 24px; }
  .mx-key { display: none; }
  .rr { grid-template-columns: auto minmax(0, 1fr) auto; } .rr .btn { grid-column: 3; }
  .rr .chip { grid-column: 3; grid-row: 1; } .rr .btn { grid-row: 2; margin-top: -6px; }
  .vr { grid-template-columns: auto minmax(0, 1fr) auto; } .vr .vchip, .vr > .muted { display: none; }
  .ha-r { grid-template-columns: auto 64px 1fr auto; }
  .pu-big b { font-size: 42px; }
  .fact { grid-template-columns: 74px 1fr; }
  .tabs { grid-auto-columns: 1fr; }
}

/* ================= round 3: calendar and 1-1s ================= */
:root { --mine: #A79BC9; }
html[data-theme=dark] { --mine: #B3A6DA; }
.av.xxs { width: 18px; height: 18px; font-size: 7.5px; }
.cal3 .col.l { flex: 2.6; } .cal3 .col.r { flex: 1; min-width: 290px; }
.oo2 .col.l { flex: 1.15; } .oo2 .col.r { flex: 1; }
/* sync badge */
.sync { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px 7px 10px; border-radius: 12px; background: var(--card); box-shadow: var(--lift); cursor: help; }
.sync svg { width: 18px; height: 18px; fill: none; stroke: var(--free); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sync span { display: flex; flex-direction: column; line-height: 1.2; }
.sync b { font-size: 13px; } .sync small { font-size: 11.5px; color: var(--mute); }
/* toolbar */
.cbar { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; flex-wrap: wrap; }
.cnav { display: flex; align-items: center; gap: 8px; margin-right: auto; }
.cnav b { font-size: 15.5px; min-width: 128px; text-align: center; font-variant-numeric: tabular-nums; }
/* week grid */
.cg { --hh: 46px; border-top: 1px solid var(--hair); }
.cg-h, .cg-a, .cg-b { display: grid; grid-template-columns: 52px repeat(7, minmax(0, 1fr)); }
.cg-h span { text-align: center; padding: 10px 0 8px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.cg-h small { font-size: 11.5px; color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }
.cg-h b { font: 400 22px/1 var(--serif); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; }
.cg-h .now b { background: var(--ink); color: var(--on-ink); }
.cg-h .we { opacity: .6; }
.cg-a { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair2); min-height: 34px; }
.cg-al { font-size: 10.5px; color: var(--mute); padding: 8px 6px 0 0; text-align: right; }
.cg-ac { display: flex; flex-direction: column; gap: 3px; padding: 4px 2px; border-left: 1px solid var(--hair); min-width: 0; }
.cev-a { display: block; text-align: left; border: 0; cursor: pointer; font-size: 11.5px; font-weight: 600; padding: 3px 7px; border-radius: 6px; background: color-mix(in srgb, var(--ec) 22%, transparent); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: inset 2px 0 0 var(--ec); }
.cev-a.jobs { background: transparent; box-shadow: inset 0 0 0 1px var(--hair2); color: var(--ink2); font-weight: 500; }
.cev-a:hover { filter: brightness(1.1); }
.cg-b { position: relative; }
.cg-t i { display: block; height: var(--hh); position: relative; font-style: normal; }
.cg-t span { position: absolute; top: -7px; right: 8px; font-size: 10.5px; color: var(--mute); font-variant-numeric: tabular-nums; }
.cg-t i:first-child span { display: none; }
.cg-c { position: relative; border-left: 1px solid var(--hair); background-image: repeating-linear-gradient(180deg, transparent 0 calc(var(--hh) - 1px), var(--hair) calc(var(--hh) - 1px) var(--hh)); }
.cg-c.now { background-color: var(--todaycol); }
.cg-c.we { background-color: color-mix(in srgb, var(--well) 50%, transparent); }
.cev { position: absolute; border: 0; text-align: left; cursor: pointer; padding: 5px 7px 4px 9px; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; gap: 1px; background: color-mix(in srgb, var(--ec) 26%, var(--card)); color: var(--ink); box-shadow: inset 3px 0 0 var(--ec); transition: filter .2s, transform .15s var(--spring); }
.cev:hover { filter: brightness(1.08); z-index: 3; }
.cev b { font-size: 12px; line-height: 1.2; font-weight: 600; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cev small { font-size: 10.5px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cev.short { flex-direction: row; align-items: center; padding-top: 2px; padding-bottom: 2px; }
.cev.short b { -webkit-line-clamp: 1; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; display: block; }
.cev-o { position: absolute; right: 5px; bottom: 5px; }
.cev.busy { background: var(--hatch); box-shadow: inset 3px 0 0 var(--ec); opacity: .8; }
.cev.busy b { color: var(--ink2); }
.cev.mine { background: color-mix(in srgb, var(--mine) 24%, var(--card)); }
.cev.ping { background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ec) 60%, transparent); }
.cev.pend { background: color-mix(in srgb, var(--ec) 12%, var(--card)); box-shadow: inset 0 0 0 1.5px var(--ec); outline: 1.5px dashed var(--ec); outline-offset: -1.5px; }
.cev.pend em { font-style: normal; font-size: 10px; font-weight: 700; color: var(--ec); text-transform: uppercase; letter-spacing: .05em; }
.cev.clash { box-shadow: inset 3px 0 0 var(--ec), 0 0 0 2px var(--hv); z-index: 2; }
.cg-now { position: absolute; left: -1px; right: 0; height: 2px; background: var(--over); z-index: 4; pointer-events: none; }
.cg-now:before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--over); }
/* list */
.cl { border-top: 1px solid var(--hair); }
.cl-d { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.cl-dl { display: flex; flex-direction: column; } .cl-dl b { font-size: 14px; } .cl-dl small { font-size: 12px; color: var(--mute); }
.cl-d.now .cl-dl b { color: var(--ink); text-decoration: underline; text-decoration-color: var(--over); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.cl-es { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cl-e { display: grid; grid-template-columns: 4px 50px minmax(0, 1fr) auto; align-items: center; gap: 10px; border: 0; background: var(--well); border-radius: 10px; padding: 8px 10px 8px 8px; cursor: pointer; text-align: left; color: var(--ink); }
.cl-e > i { align-self: stretch; border-radius: 3px; background: var(--ec); }
.cl-t { font-size: 12px; color: var(--ink2); font-variant-numeric: tabular-nums; }
.cl-x { display: flex; flex-direction: column; min-width: 0; } .cl-x b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cl-x small { font-size: 12px; color: var(--mute); }
.cl-e.busy .cl-x b { color: var(--ink2); }
.cl-e.pend { box-shadow: inset 0 0 0 1.5px var(--ec); }
.cl-e.clash { box-shadow: 0 0 0 2px var(--hv); }
.cl-none { margin: 4px 0; font-size: 12.5px; color: var(--mute); }
/* layers */
.ly-g { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); margin: 14px 0 4px; }
.ch + .ly-g { margin-top: 2px; }
.ly { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: transparent; padding: 7px 6px; border-radius: 10px; cursor: pointer; text-align: left; color: var(--ink); opacity: .45; transition: opacity .2s, background .2s; }
.ly.on { opacity: 1; } .ly:hover { background: var(--well); }
.ly-k { width: 14px; height: 14px; border-radius: 4px; flex: none; box-shadow: inset 0 0 0 2px var(--ec); display: inline-block; }
.ly.on .ly-k { background: var(--ec); }
.ly-n { display: flex; flex-direction: column; min-width: 0; flex: 1; } .ly-n b { font-size: 13.5px; } .ly-n small { font-size: 11.5px; color: var(--mute); }
.lyb { font-size: 10.5px; font-weight: 600; color: var(--ink2); background: var(--well2); border-radius: 6px; padding: 3px 6px; white-space: nowrap; }
.lyb.o { color: var(--free); background: var(--free-soft); cursor: help; }
.cx { padding: 10px 0; border-top: 1px solid var(--hair); display: flex; flex-direction: column; gap: 3px; }
.ch + .cx { border-top: 0; padding-top: 0; }
.cx span { font-size: 13px; color: var(--ink2); } .cx .nrow-a { margin-top: 6px; justify-content: flex-start; }
.wsw { display: flex; flex-direction: column; gap: 10px; }
.wsw span { font-size: 13px; color: var(--ink2); display: flex; flex-direction: column; } .wsw b { color: var(--ink); font-size: 13.5px; }
/* event sheet */
.sh-h .eyebrow { display: flex; align-items: center; gap: 8px; } .sh-h .eyebrow .ly-k { background: var(--ec); }
.sev { display: grid; grid-template-columns: 110px 1fr; gap: 12px 14px; margin: 8px 0 0; font-size: 14px; }
.sev dt { color: var(--mute); } .sev dd { margin: 0; }
.sev-p { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; } .sev-p .av { margin-right: 6px; }
.sev-a { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
/* 1-1s */
.oo-r { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--hair); }
.ch + .oo-r { border-top: 0; padding-top: 2px; }
.oo-r.sel { background: linear-gradient(90deg, var(--hv-soft), transparent 70%); margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
.oo-rt { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .oo-rt b { font-size: 14.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .oo-rt span { font-size: 12.5px; color: var(--ink2); } .oo-rt em { font-style: normal; font-weight: 600; color: var(--ink); }
.oo-p { font-size: 11px; font-weight: 700; border-radius: 99px; padding: 2px 8px; }
.oo-p.over { background: var(--over-soft); color: var(--over); } .oo-p.due { background: var(--hv-soft); color: var(--soon-c); } .oo-p.sign { background: var(--well2); color: var(--ink2); } .oo-p.bk { background: var(--free-soft); color: var(--free); }
.oo-e { display: grid; grid-template-columns: auto 72px 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--hair); font-size: 13px; }
.ch + .oo-e { border-top: 0; }
.oo-e span { color: var(--ink2); font-variant-numeric: tabular-nums; } .oo-e small { color: var(--mute); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oo-stick { position: sticky; top: 0; }
.oo-c { box-shadow: var(--lift-hi); }
.oo-c.insheet { box-shadow: none; padding: 0; background: transparent; }
.oo-step { padding: 14px 0; border-top: 1px solid var(--hair); }
.ch + .oo-step { border-top: 0; padding-top: 0; }
.oo-n { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; font-weight: 600; font-size: 13.5px; flex-wrap: wrap; }
.oo-n i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--on-ink); font-size: 11px; display: grid; place-items: center; align-self: center; }
.oo-n span { font-weight: 400; color: var(--mute); font-size: 12px; }
.oo-who { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.oo-who::-webkit-scrollbar { display: none; }
.oo-pc { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; background: var(--well); border-radius: 12px; padding: 8px 8px 6px; min-width: 60px; cursor: pointer; font-size: 11.5px; color: var(--ink2); }
.oo-pc.on { background: var(--ink); color: var(--on-ink); }
.oo-pc > i { position: absolute; top: 6px; right: 8px; width: 7px; height: 7px; border-radius: 50%; } .oo-pc > i.over { background: var(--over); } .oo-pc > i.due { background: var(--hv); }
.oo-why { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 12.5px; color: var(--ink2); }
.oo-k { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.oo-k button { border: 0; background: var(--well); border-radius: 10px; padding: 9px 11px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 1px; color: var(--ink); }
.oo-k button b { font-size: 13px; } .oo-k button small { font-size: 11.5px; color: var(--mute); }
.oo-k button.on { box-shadow: inset 0 0 0 2px var(--ink); background: var(--card); }
.oo-sl { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.oo-s { position: relative; display: flex; gap: 10px; align-items: center; border: 0; background: var(--well); border-radius: 12px; padding: 10px 12px; cursor: pointer; text-align: left; color: var(--ink); }
.oo-s.on { box-shadow: inset 0 0 0 2px var(--free); background: var(--free-soft); }
.oo-sd { display: flex; flex-direction: column; align-items: center; min-width: 40px; } .oo-sd b { font: 400 18px/1.1 var(--serif); } .oo-sd small { font-size: 11px; color: var(--mute); }
.oo-st { display: flex; flex-direction: column; min-width: 0; } .oo-st b { font-size: 13px; font-variant-numeric: tabular-nums; } .oo-st small { font-size: 11.5px; color: var(--ink2); line-height: 1.3; }
.oo-s em { position: absolute; top: 6px; right: 8px; font-style: normal; font-size: 10px; font-weight: 700; color: var(--free); text-transform: uppercase; letter-spacing: .05em; }
.oo-no { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.oo-no li { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--mute); }
.oo-no svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; flex: none; }
.oo-wh { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 12.5px; color: var(--mute); }
.oo-ag { display: flex; flex-direction: column; gap: 4px; }
.oo-a { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; border: 0; background: transparent; border-radius: 10px; padding: 7px 6px; text-align: left; cursor: pointer; color: var(--ink); opacity: .5; }
.oo-a.on { opacity: 1; } .oo-a:hover { background: var(--well); }
.oo-a .tk { display: grid; place-items: center; } .oo-a.on .tk { background: var(--ink); box-shadow: none; color: var(--on-ink); }
.oo-a .tk svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.6; }
.oo-a span:last-child { display: flex; flex-direction: column; } .oo-a b { font-size: 13px; } .oo-a small { font-size: 12px; color: var(--ink2); }
.oo-add { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--ink2); font-size: 12.5px; font-weight: 600; padding: 6px; cursor: pointer; }
.oo-add svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.oo-go { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin: 4px -4px 0; border-radius: 14px; background: var(--well); }
.oo-go p { margin: 0; font-size: 13px; color: var(--ink2); flex: 1; } .oo-go p b { color: var(--ink); }
.oo-done { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--free-soft); margin-top: 4px; }
.oo-done > svg { width: 22px; height: 22px; fill: none; stroke: var(--free); stroke-width: 2.4; flex: none; }
.oo-done div { flex: 1; display: flex; flex-direction: column; gap: 2px; } .oo-done b { font-size: 13.5px; } .oo-done span { font-size: 12.5px; color: var(--ink2); }
.oo-q { font: 400 17px/1.45 var(--serif); margin: 0 0 12px; }
.oo-sm { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); margin: 0 0 6px; }
.oo-act { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--hair); font-size: 13px; }
.oo-act span { color: var(--ink2); } .oo-act small { color: var(--mute); font-size: 12px; }
.oo-sig { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.oo-sig span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; border-radius: 99px; padding: 4px 10px; background: var(--well2); color: var(--ink2); }
.oo-sig .ok { background: var(--free-soft); color: var(--free); } .oo-sig .ok svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.6; }
.oo-sig .wait { background: var(--hv-soft); color: var(--soon-c); }
.joo-h { font: 400 24px/1.15 var(--serif); margin: 4px 0 8px; }
.joo-w { display: flex; flex-direction: column; margin: 0; } .joo-w b { font-size: 14.5px; } .joo-w span { font-size: 13px; color: var(--ink2); }
.joo-n { font-size: 12.5px; color: var(--mute); margin: 8px 0 0; }
.joo .sev-a .sentg { margin-left: 0; }
@media (max-width: 1280px) {
  .cal3 .col.r { min-width: 250px; }
  .cev small { display: none; }
}
@media (max-width: 860px) {
  .sync { padding: 6px 10px 6px 8px; } .sync b { font-size: 12.5px; }
  .cbar { gap: 8px; } .cnav b { min-width: 0; font-size: 14.5px; } .cbar .btn.ink { width: 100%; justify-content: center; order: 3; }
  .cl-d { grid-template-columns: 48px minmax(0, 1fr); gap: 8px; }
  .cl-e { grid-template-columns: 4px 44px minmax(0, 1fr) auto; gap: 8px; }
  .cg { overflow-x: auto; } .cg-h, .cg-a, .cg-b { min-width: 640px; }
  .lys .ly { padding: 6px 2px; }
  .sev { grid-template-columns: 92px 1fr; font-size: 13.5px; }
  .oo-r.sel { margin: 0; padding-left: 0; padding-right: 0; background: none; }
  .oo-e { grid-template-columns: auto 64px 48px minmax(0, 1fr) auto; }
  .oo-e small { display: none; } .oo-e { grid-template-columns: auto minmax(0, 1fr) auto auto; }
  .oo-sl, .oo-k { grid-template-columns: 1fr; }
  .oo-go { flex-direction: column; align-items: stretch; } .oo-go .btn { justify-content: center; }
  .oo-stick { position: static; }
}
.cg { --hh: 54px; }
.cping { position: absolute; left: 0; right: 0; height: 0; border: 0; padding: 0; background: none; cursor: pointer; z-index: 1; }
.cping i { position: absolute; left: 0; right: 0; top: -1px; border-top: 2px dotted color-mix(in srgb, var(--ec) 80%, transparent); }
.cping:after { content: ""; position: absolute; right: 3px; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--ec); }
.cev.narrow { padding: 4px 4px 3px 7px; }
.cev.narrow b { font-size: 11px; -webkit-line-clamp: 3; word-break: break-word; hyphens: auto; }
.cev.narrow small, .cev.narrow .cev-o { display: none; }
.ckey { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 11.5px; color: var(--mute); }
.ckey span { display: inline-flex; align-items: center; gap: 6px; }
.ckey i { width: 14px; height: 10px; border-radius: 3px; display: inline-block; }
.ckey .k1 { background: color-mix(in srgb, #7FA3C2 30%, var(--card)); box-shadow: inset 3px 0 0 #7FA3C2; }
.ckey .k2 { background: var(--hatch); }
.ckey .k3 { outline: 1.5px dashed #D2A0B8; outline-offset: -1.5px; }
.ckey .k4 { box-shadow: 0 0 0 2px var(--hv); }
.ckey .k5 { height: 0; border-top: 2px dotted #9A8CC4; border-radius: 0; }
@media (max-width: 860px) { .ckey { display: none; } }
.cal3 .col.l { flex: 1; }
.cal3b { margin-top: 18px; } .cal3b .col.l, .cal3b .col.r { flex: 1; }
.cev.narrow b { word-break: normal; overflow-wrap: normal; hyphens: none; }
@media (max-width: 860px) { .cal3b { margin-top: 14px; } }
.oo-c.insheet .ch h3 { display: none; } .oo-c.insheet .ch .meta { margin-left: 0; }
@media (max-width: 860px) { .oo-k { grid-template-columns: 1fr 1fr; } .oo-k button small { display: none; } .oo-k button b { font-size: 13px; } }

/* ===== hub additions (shell) ===== */
.mebtn { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 4px; margin: -4px; border-radius: 10px; color: inherit; text-align: left; cursor: pointer; min-width: 0; flex: 1; }
.mebtn:hover { background: rgba(255,255,255,.06); }
.mebtn span { min-width: 0; } .mebtn b, .mebtn small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hubline { margin: 0 0 16px; padding: 11px 14px; border-radius: 12px; background: var(--over-soft); color: var(--ink); font-size: 13.5px; box-shadow: inset 3px 0 0 var(--over); }
.gatepg { min-height: 100dvh; display: grid; place-items: center; padding: 24px; grid-column: 1 / -1; }
.gatec { max-width: 440px; padding: 30px 30px 26px; }
.gatec img { height: 54px; width: auto; margin-bottom: 18px; }
.gatec h1 { font: 400 40px/1 var(--serif); letter-spacing: -.02em; margin: 0 0 10px; }
.gatec p { margin: 0; color: var(--ink2); font-size: 15px; }
#app:has(> .gatepg) { display: block; }

/* ----- slice 1: Today, Month, Needs you ----- */
a.c { text-decoration: none; cursor: pointer; }
.c.s-part { background: var(--booked); cursor: pointer; }
.c.s-part > i { position: absolute; left: 5px; right: 50%; bottom: 4px; height: 3px; border-radius: 2px; background: var(--ink2); }
.legend .c.s-part > i { left: 4px; bottom: 3px; height: 2px; }
.tiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.t-big.nc { font-size: 28px; color: var(--mute); }
.nc-tile .t-p { font-size: 13px; color: var(--ink2); line-height: 1.45; }
.rt-l span.nc { color: var(--mute); }
.rt-l span.nc:before { background: transparent; box-shadow: inset 0 0 0 1.3px var(--mute); }
.rt-l span.nc b { color: var(--ink2); }
.pop .pf { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 13.5px; }
.pop .pf select { font: inherit; font-size: 13px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--hair2); background: var(--well); color: var(--ink); max-width: 170px; }
.sh-f.tick { flex-direction: column; align-items: stretch; gap: 10px; }
.sh-f .tkrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sh-f .tkrow .step { padding: 0; }
.sh-f .fld { flex: 1 1 220px; min-width: 0; height: 36px; border-radius: 10px; border: 1px solid var(--hair2); background: var(--well); color: var(--ink); padding: 0 12px; font: inherit; font-size: 13.5px; }
.sh-f .tkgo { display: flex; align-items: center; gap: 12px; }
.sh-f .tkgo > span { flex: 1; font-size: 13px; color: var(--ink2); }
.sh-f .multi, .sh-f .err { margin: 0; font-size: 13px; color: var(--ink2); }
.sh-f .err { color: var(--over); }
.orow .btn { margin-left: auto; }
.wcol.gone { opacity: .55; }
.rd-note { color: var(--mute); font-size: 13px; margin: 18px 0 0; }
a.rq, a.nrow-t { text-decoration: none; color: inherit; }
.rq.miss { cursor: default; }
.mscroll { overflow-x: auto; }
.empty .av.gina { margin: 0 auto 10px; }
.sheet:not(.open) { box-shadow: none; visibility: hidden; transition: transform .45s var(--spring), visibility 0s .45s; }
.av.more { background: var(--well2); color: var(--ink2); margin-left: -4px; flex: none; }
.rq.miss .rq-t span { display: block; -webkit-line-clamp: unset; overflow: visible; }
@media (max-width: 860px) {
  .tiles .nc-tile { grid-column: span 2; min-height: 0; }
  .sheet .crow { grid-template-columns: 60px minmax(0, 1fr) auto; }
  .sheet .crow-ppl { grid-column: 2 / 4; }
  .sheet .crow-t { display: block; grid-column: 3; grid-row: 1; }
  .tiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-f .tkgo { flex-direction: column; align-items: stretch; }
  .sh-f .tkgo .btn { justify-content: center; height: 44px; }
}

/* old-style pages inside the new frame: their own width, no old top bar spacing */
.page .lgc > .main { padding-top: 0; min-height: 0; }

}

/* Round 3 polish, slice 1 N1: a laptop or an iPad on its side (861 to 1180 px). With the sidebar open the
   next-six-spaces card and the Needs detail were squeezed to a word a line and the Tick buttons ran past the card.
   Here the six spaces sit under the finder at full width, and the Needs list narrows so its detail keeps room. */
@media (min-width: 861px) and (max-width: 1180px) {
  .mtop2 { flex-direction: column; align-items: stretch; gap: 14px; }
  .mtop2 .hero { min-height: 0; }
  .needs-wrap { grid-template-columns: minmax(250px, 300px) minmax(0, 1fr); gap: 14px; }
  .rqdetail .opts .opt, .six .opts .opt { grid-template-columns: 88px minmax(0, 1fr) auto; }
}
.six .opts .opt .opt-c, .rqdetail .opt-c { min-width: 0; }
.six .opts .btn, .rqdetail .opts .btn { white-space: nowrap; }
/* Needs with nothing waiting: one empty message across the page, not two (slice 1 N5). */
.needs-wrap > .rqlist:only-child { grid-column: 1 / -1; }
/* Under 1000 px with the sidebar there is no room for the detail beside the list: it goes under it, full width. */
@media (min-width: 861px) and (max-width: 1000px) { .needs-wrap { grid-template-columns: 1fr; } }
/* v11 Checker run 2, N20: on a phone the job's sizes, the job button and the People and Days steppers are at least 44 px to tap. */
@media (max-width: 860px), (pointer: coarse) {
  .jobbtn, .popt { min-height: 44px; }
  .step button:not(.tog) { width: 44px; height: 44px; border-radius: 10px; }
}
/* Round 3 p3 Checker, B1: with 44 px rows the job panel is taller than the photo card on a phone, and the card clips it.
   While the panel is open the card stops clipping, so the panel runs on over the page below and every row takes a tap.
   The photo layers keep the card's corners themselves. */
.hero.popopen { overflow: visible; z-index: 6; }
.hero.popopen:before, .hero.popopen:after { border-radius: inherit; }
/* Polish leftover N3: the photo keeps its 1.02 zoom while the panel is open. The zoomed layer is clipped back to the
   card's own edge and corners (0.9804% = (1 - 1/1.02) / 2 of each side; 18px / 1.02 for the corner), so it never
   bleeds past the card now the card no longer clips. */
.hero.popopen:before { transform: scale(1.02); border-radius: 0; clip-path: inset(0.9804% round 17.65px); }
/* N-a: the Part days switch keeps its look but takes a 44 px tap. */
@media (max-width: 860px), (pointer: coarse) {
  /* Polish leftover N1: the tap area reaches 6 px up and 16 px down (still 44 px tall), so it no longer covers
     the bottom 3 px of the Team select above it. */
  .step .tog:before { content: ""; position: absolute; inset: -6px -3px -16px; }
}
/* Polish leftover, fix round: the Month header's day numbers must never touch, at any width and any month length.
   The switch now hangs on each day's own column (every header day is its own container), not on the width of the
   whole row: a 20-day month and a 31-day month go quiet at the same column width. A week-start day carries 7 px of
   left padding and rule, so its own content box is 7 px narrower and its thresholds are 7 px lower.
   Under about 38 px a column (34 px of day plus the 4 px gap) the number's pill tightens; under about 27 px a column
   only the first day, the week starts and today keep their number (each day still says its date when pointed at, and the day letters stay); and as the
   columns get narrower still, a number within two, then three, columns of today (or of a week start) gives way.
   Today always wins, then the week starts, then the first day. The phone week (.wk5) is never touched. */
.mgrid:not(.wk5) .gr.gh .dh { container-type: inline-size; container-name: mday; }
@container mday (max-width: 33.99px) { .mgrid:not(.wk5) .dh:not(.wk) .dn { padding: 1px 2px; } }
@container mday (max-width: 26.99px) { .mgrid:not(.wk5) .dh.wk .dn { padding: 1px 2px; } }
@container mday (max-width: 22.99px) {
  .mgrid:not(.wk5) .dh:not(.wk):not(.now):not(:first-child) .dn { visibility: hidden; }
  .mgrid:not(.wk5) .dh:first-child:not(.now):has(+ .dh.wk, + .dh.now) .dn { visibility: hidden; }
}
@container mday (max-width: 15.99px) {
  .mgrid:not(.wk5) .dh.wk:not(.now):has(+ .dh.now) .dn, .mgrid:not(.wk5) .dh.now + .dh.wk .dn,
  .mgrid:not(.wk5) .dh.wk + .dh.wk:not(.now) .dn { visibility: hidden; }
}
@container mday (max-width: 16.99px) {
  .mgrid:not(.wk5) .dh:first-child:not(.now):has(+ .dh + .dh.wk, + .dh + .dh.now) .dn { visibility: hidden; }
}
@container mday (max-width: 9.99px) {
  .mgrid:not(.wk5) .dh.wk:not(.now):has(+ .dh + .dh.now) .dn, .mgrid:not(.wk5) .dh.now + .dh + .dh.wk .dn,
  .mgrid:not(.wk5) .dh.wk + .dh + .dh.wk:not(.now) .dn { visibility: hidden; }
}
@container mday (max-width: 6.99px) {
  .mgrid:not(.wk5) .dh:first-child:not(.now):has(+ .dh + .dh + .dh.wk, + .dh + .dh + .dh.now) .dn { visibility: hidden; }
}
@container mday (max-width: 0.49px) {
  .mgrid:not(.wk5) .dh.wk:not(.now):has(+ .dh + .dh + .dh.now) .dn, .mgrid:not(.wk5) .dh.now + .dh + .dh + .dh.wk .dn,
  .mgrid:not(.wk5) .dh.wk + .dh + .dh + .dh.wk:not(.now) .dn { visibility: hidden; }
}
/* The phone week of a seven-day business at 320 to 330 px: today's pill touched the next day. Each phone header day
   is its own container too: under about 22 px of day the pill tightens, under 17 px the number is 11.5 px in a 1 px pill; all seven stay. */
.mgrid.wk5 .gr.gh .dh { container-type: inline-size; container-name: wday; }
@container wday (max-width: 21.99px) { .mgrid.wk5 .dh .dn { padding: 1px 2px; } }
@container wday (max-width: 16.99px) { .mgrid.wk5 .dh .dn { font-size: 11.5px; letter-spacing: -0.2px; padding: 1px; } }
/* DTG OS phase 1: the Arb Pro diary on Today, Month and the day sheet. Amber says the read is late; red says a kit clash.
   Neither is ever green: green means free and nothing else. */
@layer hub {
.feedline { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 11px 14px; border-radius: 12px; font-size: 13.5px; color: var(--ink); background: var(--hv-soft); box-shadow: inset 3px 0 0 var(--soon-c); }
.feedline i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--soon-c); margin-top: 6px; }
.feedline.in { margin: 0 0 12px; }
.sheet .feedline { margin: 0 20px 12px; }
.live.late i { background: var(--soon-c); }
.live.late i:after { border-color: var(--soon-c); }
.ms.note.amber { color: var(--ink); }
.c.s-booked.ap { background: var(--booked); }
.c.s-booked.ap:after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: rgba(255,255,255,.45); }
.dh { position: relative; }
.kcm { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--over); box-shadow: 0 0 0 2px var(--card); }
.dh .kcm { position: absolute; top: 0; right: 2px; }
.legend .kcm { box-shadow: none; }
.kchips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.kchip { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--well2); color: var(--ink2); }
.kchip.clash { background: var(--over-soft); color: var(--over); }
.kclash { margin: 0 0 10px; padding: 9px 12px; border-radius: 10px; background: var(--over-soft); color: var(--ink); font-size: 13px; box-shadow: inset 3px 0 0 var(--over); }
.kclash b { color: var(--over); }
.crow-ppl em { font-style: italic; color: var(--mute); }
.card.crews .crow { grid-template-columns: 64px minmax(0, 1fr) auto; }
.card.crews .crow .vt { width: 64px; height: 46px; }
.card.crews .crow-ppl { grid-column: 2 / 4; grid-row: 2; margin-top: -4px; }
.card.crews .crow-t:empty { display: none; }
.vt.none span { display: grid; place-items: center; height: 100%; padding: 0 4px; font-size: 11px; color: var(--mute); text-align: center; line-height: 1.15; }
}
@layer hub { .c.past.ap:after { display: none; } }
@layer hub {
.crow-job span.kchips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; color: inherit; }
.crow-job span.kchip { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--well2); color: var(--ink2); }
.crow-job span.kchip.clash { background: var(--over-soft); color: var(--over); }
}

/* F1 (12 Oct): tickets with no end date are not in date; their ring segment and dot are drawn quiet, not as in date. */
@layer hub { .sr.nodate { stroke: var(--mute); } .rt-l span.nodate:before { background: transparent; box-shadow: inset 0 0 0 1.3px var(--mute); } }

/* 13 Oct: "these colours cant be the same". Each state its own colour on the Month and the day:
   free green, booked in Arb Pro dark, held by you (booked in the hub) blue, part day half green half amber, off hatched, gone light grey. */
:root { --held: #2563C9; --part: #D9892B; }
html[data-theme=dark] { --held: #5B8FF0; --part: #E3A04A; }
.c.s-booked:not(.ap) { background: var(--held); }
.c.s-booked:not(.ap) svg { stroke: #fff; }
.c.s-part { background: linear-gradient(90deg, var(--free) 0 50%, var(--part) 50% 100%); }
.c.s-part > i { display: none; }
.c.past.s-booked, .c.past.s-booked.ap, .c.past.s-part, .c.past.s-free, .c.past.s-off { background: var(--past); }
/* Subcontractors on Today (Tom, email of 12 Oct): each one's agreed days as chips, today ringed, a day marked off this week struck through. */
@layer hub {
  .card.subs .sbrow { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--hair); }
  .card.subs .sbrow:first-of-type { border-top: 0; }
  .card.subs .sbn { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; font-size: 13.5px; }
  .card.subs .sbn b { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .card.subs .sbn small { color: var(--ink2); font-size: 12px; }
  .card.subs .agd { display: flex; gap: 3px; flex: none; }
  .card.subs .agd i { width: 21px; height: 21px; border-radius: 6px; display: grid; place-items: center; font-size: 10.5px; font-weight: 600; font-style: normal; background: var(--well); color: var(--mute); }
  .card.subs .agd i.on { background: var(--ink); color: var(--on-ink); }
  .card.subs .agd i.on.off { background: transparent; color: var(--ink2); box-shadow: inset 0 0 0 1.3px var(--ink2); text-decoration: line-through; }
  .card.subs .agd i.now { outline: 2px solid var(--free); outline-offset: 1px; }
}

/* 9 Nov 2026, Tom: Next full day and Next part day, each with a list of who and what is free that scrolls inside the box.
   Colours follow the page (the live look draws these boxes as light cards), never white-on-white. */
.hero.nffull, .hero.nfpart { min-height: 0; }
.hero.nfpart { margin-top: 14px !important; }
.hero.nfpart .hero-when { margin-top: 0; }
.hero.nfpart .hero-date .big { font-size: 64px; }
.hero.nffull .jobbtn { color: var(--ink, #1c1e1d); background: var(--fill2, rgba(127,127,127,.1)); border-color: var(--line-strong, rgba(127,127,127,.3)); }
.hero.nffull .jobbtn span { opacity: .7; }
.hero.nffull .hero-when, .hero.nfpart .hero-when { color: var(--ink-2, inherit); }
.nfsub { display: block; font-size: 12px; opacity: .75; margin-top: 2px; }
.nfl { margin: 14px 0 0; max-height: 236px; overflow-y: auto; overscroll-behavior: contain; padding: 4px 12px 8px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 18px;
  border-top: 1px solid var(--line, rgba(127,127,127,.2)); border-bottom: 1px solid var(--line, rgba(127,127,127,.2)); scrollbar-width: thin; }
.nfl:focus { outline: 2px solid var(--line-strong, rgba(127,127,127,.4)); outline-offset: 2px; }
.nfg > p { margin: 8px 0 4px !important; font: 600 11.5px var(--font-body, var(--sans)) !important; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3, var(--ink-2)) !important; }
.nfg > p span { margin-left: 4px; }
.nfg ul { list-style: none; margin: 0; padding: 0; }
.nfg li { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 14.5px; color: var(--ink); border-bottom: 1px solid var(--line, rgba(127,127,127,.15)); }
.nfg li:last-child { border-bottom: 0; }
.nfx { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.nfx b { font-weight: 500; overflow-wrap: anywhere; }
.nfx i.nfh { display: block; font-style: normal; font-size: 12px; color: var(--ink-3, var(--ink-2)); }
.nfx i.nfh.pt { color: var(--em-600, var(--ink-2)); font-weight: 600; }
.nfg li .vt.mini { width: 30px; height: 22px; border-radius: 6px; }
.nfg li .stack { flex: none; }
.nfn { margin: 2px 0 6px !important; font-size: 13.5px !important; color: var(--ink-3, var(--ink-2)) !important; }
.nfk { width: 22px; height: 22px; border-radius: 50%; flex: none; background: #8a8f8c; }
.nfk.r { background: #c8372d; } .nfk.g { background: #2f8a4a; }
@media (max-width: 700px) {
  .nfl { grid-template-columns: minmax(0, 1fr); max-height: 300px; gap: 0; }
  .hero.nfpart .hero-date .big { font-size: 48px; }
}

/* 9 Nov 2026, Tom: Availability on one laptop screen. A thin title bar, Next full day left and Next part day right, the next six
   spaces in one row underneath, then the availability sheet below the fold. */
.page.p-month { padding-top: 14px !important; }
.page.p-month > .ph { min-height: 0 !important; padding: 10px 18px !important; border-radius: 14px !important; margin: 0 0 12px !important;
  flex-direction: row !important; align-items: baseline !important; gap: 14px; flex-wrap: wrap; justify-content: flex-start !important; }
.page.p-month > .ph > * { max-width: none !important; }
.page.p-month > .ph h1, .page.p-month > .ph h1 > span:not(.stile) { font-size: 19px !important; line-height: 1.2 !important; margin: 0 !important; }
.page.p-month > .ph h1 .stile { width: 28px !important; height: 28px !important; border-radius: 8px !important; }
.page.p-month > .ph h1 .stile svg { width: 16px !important; height: 16px !important; }
.page.p-month > .ph p { margin: 0 !important; font-size: 13px !important; }
.nfrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: stretch; }
.nfrow > .hero { margin: 0 !important; }
.nfrow > .hero.nfpart { margin-top: 0 !important; }
.nfrow .hero-in { padding: 12px 16px 12px !important; }
.nfrow .jobbtn { padding: 4px 8px 4px 10px; font-size: 12.5px; }
.nfrow .hero-when { margin: 6px 0 0 !important; font-size: 12.5px; }
.nfrow .nfsub { display: inline; margin-left: 6px; }
.nfrow .hero-date .big, .nfrow .hero.nfpart .hero-date .big { font-size: 40px !important; line-height: 1.05; }
.nfrow .hero-date .to { font-size: 15px; }
.nfrow .nfl { max-height: 128px; margin-top: 8px; gap: 0 14px; }
.nfrow .nfg > p { margin: 5px 0 2px !important; }
.nfrow .nfg li { padding: 3px 0; font-size: 13.5px; gap: 7px; }
.nfrow .nfg li .av, .nfrow .nfg li .stack .av { width: 20px; height: 20px; font-size: 8px; }
.nfrow .nfk { width: 18px; height: 18px; }
.nfrow .hero-act { margin-top: 8px; gap: 6px; }
.nfrow .hero-act .btn { padding: 5px 12px; font-size: 12px; min-height: 0; }
.nfrow .tell { margin: 8px 0 0; padding: 6px 10px; font-size: 13.5px; }
.nfrow .tell span { font-size: 10.5px; }
.sixrow { margin: 12px 0 18px; }
.sixrow .six { padding: 10px 16px !important; }
.sixrow .six .ch { margin: 0 0 6px !important; padding: 0 !important; }
.sixrow .six .ch h3 { font-size: 14px !important; }
.sixrow .six .opts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.sixrow .six .opts .opt { display: flex !important; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 10px !important; border: 1px solid var(--line, var(--hair)) !important; border-radius: 12px; }
.sixrow .six .opt-d b { font-size: 14px; }
.sixrow .six .opt-c { font-size: 12px; gap: 6px; align-items: flex-start; }
.sixrow .six .opt-c .stack { display: none; }
.sixrow .six .opt .btn { padding: 3px 10px; font-size: 11px; min-height: 0; margin-top: auto; }
.sixrow .six .cf { margin-top: 8px !important; padding-top: 6px !important; }
@media (max-width: 1100px) { .sixrow .six .opts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .nfrow { grid-template-columns: minmax(0, 1fr); }
  .sixrow .six .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* tighter, so it also fits a real 1366x768 browser window (about 650px tall once the browser bars are taken off) */
.page.p-month { padding-top: 8px !important; }
.page.p-month > .ph { padding: 7px 16px !important; margin: 0 0 10px !important; }
.page.p-month > .ph h1 .stile { width: 24px !important; height: 24px !important; }
.nfrow .hero-in { padding: 9px 14px 9px !important; }
.nfrow .hero-when { margin: 2px 0 0 !important; }
.nfrow .hero-date .big, .nfrow .hero.nfpart .hero-date .big { font-size: 32px !important; }
.nfrow .nfl { max-height: 104px; margin-top: 4px; }
.nfrow .hero-act { margin-top: 6px; }
.nfrow .hero-act .btn { padding: 4px 10px; font-size: 11px; }
.nfrow .tell { margin: 6px 0 0; padding: 4px 10px; font-size: 12.5px; line-height: 1.3; }
.sixrow { margin: 10px 0 16px; }
.sixrow .six { padding: 8px 14px !important; }
.sixrow .six .opts .opt { padding: 6px 9px !important; gap: 2px; }
.sixrow .six .opt-d b { font-size: 13px; }
.sixrow .six .opt-c { font-size: 11.5px; line-height: 1.3; }
.sixrow .six .opts .opt .btn { padding: 3px 10px !important; font-size: 10.5px !important; min-height: 0 !important; margin-top: 4px; }
.sixrow .six > .cf { display: none; }
@media (max-width: 700px) { .sixrow .six > .cf { display: block; } }

/* 9 Nov 2026 17:2x, Tom (WhatsApp, screenshot): make the See the day button smaller so everyone free on the next full day shows.
   The full-day list now grows to fit (no inner scroll up to 12 rows), the buttons are small text-height pills. */
.nfrow .hero.nffull .nfl { max-height: 300px; }
.nfrow .hero-act { margin-top: 4px !important; gap: 4px !important; }
.nfrow .hero-act .btn { padding: 1px 8px !important; font-size: 10px !important; min-height: 0 !important; height: auto !important; line-height: 1.6 !important; letter-spacing: .04em; border-width: 1px !important; }

/* 9 Nov 2026 17:3x, Tom: Next part day laid out like Next full day: the whole list shows (no inner scroll), See the day at the very bottom. */
.nfrow .hero.nfpart .nfl { max-height: 300px; }
.nfrow > .hero { display: flex; flex-direction: column; }
.nfrow > .hero > .hero-in { flex: 1; display: flex; flex-direction: column; }
.nfrow .hero.nfpart .hero-act { margin-top: auto !important; padding-top: 6px; }
/* 9 Nov 2026, Tom: the year's Christmas close down and bank holidays, with dates, under Days left. */
.hyd { margin: 10px 0 0; }
.hyd h4 { margin: 0 0 4px; font: 600 12px var(--font-body, var(--sans)); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3, var(--ink-2)); }
.hyd ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px 16px; }
.hyd li { font-size: 13.5px; padding: 3px 0; border-bottom: 1px solid var(--line, rgba(127,127,127,.15)); }
.hyd li b { font-weight: 500; }
/* 9 Nov 2026, Tom: how each person's holiday is worked out, under their days left. */
.ha-n small.ha-b { display: block; font-size: 11px; color: var(--ink-3, var(--ink-2)); font-weight: 400; white-space: nowrap; }
