/* DTG Hub v2, "Devon field kit" (16 Oct 2026: "v2 a reskin ... wow me, understand their business").
   From DTG's own world: the logo's forest greens (#086A2D, #042A12, leaf #B5D2C0), the orange hi-vis the crew wear as the one
   colour that means "do something", their site's heavy uppercase pill buttons, named vans, kit tags and ticket cards.
   Every page opens on a film-graded Devon photograph made for the hub (Higgsfield). Desk: a forest sidebar, light working pages.
   The lads' phone app is forest dark, glass over their photo. Loads last, after hub13.css. */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,400..900&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap');

:root, html[data-theme="dark"], html[data-theme="light"] {
  --forest: #3a8857; --forest-2: #337a4d; --forest-3: #2c6b43; --dtg: #086a2d; --dtg-2: #0b7c36; --leaf: #b5d2c0; --mint: #edf6f2;
  --hivis: #ff6a13; --hivis-2: #e85a06; --hivis-t: #fff0e6; --hivis-ink: #a94000;
  --bg: #f3f5f0; --surface: #fff; --surface-2: #f7f9f5; --surface-hover: #f1f5ef; --line: #e2e8df; --line-strong: #cfd8cc;
  --ink: #102318; --ink-2: #4c5d52; --ink-3: #87958b;
  --cg: var(--dtg); --cg-2: #075a26; --cg-t: #e6f2ea; --cg-ring: rgba(8,106,45,.18);
  --ok: #0b7c36; --ok-bg: #e4f3e9; --warn: #c86a00; --warn-bg: #fff3e3; --bad: #d23f2f; --bad-bg: #fdebe8;
  --grad-growth: linear-gradient(135deg, #0b7c36 0%, #086a2d 100%); --glow-em: 0 10px 24px -10px rgba(8,106,45,.7);
  --font-display: 'Archivo', 'Inter', system-ui, sans-serif; --font-body: 'Inter', system-ui, sans-serif; --font-tag: 'JetBrains Mono', ui-monospace, monospace;
  --sh-1: 0 1px 2px rgba(58,136,87,.05); --sh-2: 0 2px 6px rgba(58,136,87,.05), 0 18px 40px -22px rgba(58,136,87,.35);
  --leafsvg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath fill='%23b5d2c0' d='M100 8c6 10 4 20-2 28 10-6 22-6 30 2-8 2-14 8-16 16 12-8 28-6 38 4-10 2-18 10-20 20 12-4 26 0 34 10-12 0-22 6-26 16 10 0 20 6 24 16-14-4-28 0-38 8 2 12-2 24-12 32l-6 30h-12l2-30c-10-8-14-20-12-32-10-8-24-12-38-8 4-10 14-16 24-16-4-10-14-16-26-16 8-10 22-14 34-10-2-10-10-18-20-20 10-10 26-12 38-4-2-8-8-14-16-16 8-8 20-8 30-2-6-8-8-18-2-28z'/%3E%3C/svg%3E");
}
html, body { background: var(--bg) !important; }
body { font-family: var(--font-body); color: var(--ink); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-display); font-stretch: 108%; }

/* ---------- the sidebar: DTG forest, the white logo, quiet icons, the orange marker on where you are ---------- */
.side { background: radial-gradient(120% 60% at 0% 100%, #0d4423 0%, rgba(13,68,35,0) 60%), var(--forest) !important; color: #dbe9df !important; border-right: 0 !important; }
.side:before { content: ""; position: absolute; width: 360px; height: 360px; right: -150px; bottom: -70px; background: var(--leafsvg) center / contain no-repeat; opacity: .06; pointer-events: none; }
.side > * { position: relative; }
.side .brand { border-bottom: 1px solid rgba(181,210,192,.12) !important; }
.side .brand img { content: url(assets/dtg-logo-white.png); height: 38px !important; }
.side .brand span { color: #fff !important; font: 800 13px/1.1 var(--font-display) !important; font-stretch: 118% !important; letter-spacing: .14em; text-transform: uppercase; }
.side .ng { color: rgba(181,210,192,.55) !important; font: 700 10.5px var(--font-body) !important; letter-spacing: .16em !important; text-transform: uppercase !important; padding: 18px 12px 6px !important; }
.side .nv { color: #d3e3d8 !important; font: 500 14px var(--font-body) !important; position: relative; }
.side .nv:hover { background: rgba(181,210,192,.08) !important; color: #fff !important; }
.side .nv.on { background: rgba(181,210,192,.13) !important; color: #fff !important; font-weight: 600 !important; }
.side .nv.on:before { content: ""; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--hivis); box-shadow: 0 0 14px rgba(255,106,19,.6); }
.side .stile { background: rgba(181,210,192,.1) !important; box-shadow: inset 0 0 0 1px rgba(181,210,192,.12) !important; }
.side .stile svg { stroke: var(--leaf) !important; color: var(--leaf) !important; }
.side .nv.on .stile { background: var(--hivis) !important; box-shadow: 0 6px 16px -6px rgba(255,106,19,.8) !important; }
.side .nv.on .stile svg { stroke: #fff !important; color: #fff !important; }
.side .cnt { background: var(--hivis) !important; }
.side .me { border-top: 1px solid rgba(181,210,192,.12) !important; }
.side .me b { color: #fff !important; } .side .me small { color: rgba(181,210,192,.6) !important; }
.side .me .av, .side .me i { background: var(--dtg) !important; color: #fff !important; }

/* ---------- top bar ---------- */
.tbar { background: rgba(243,245,240,.82) !important; backdrop-filter: blur(14px) saturate(1.3) !important; -webkit-backdrop-filter: blur(14px) saturate(1.3) !important; border-bottom: 1px solid var(--line) !important; }
.tbar .tlogo img { content: url(assets/dtg-logo.png); }
.tbar .search { border-radius: 99px !important; background: #fff !important; border-color: var(--line) !important; }
.tbar .ib .nb { background: var(--hivis) !important; box-shadow: 0 0 0 2px var(--bg) !important; }
.tbar .who { color: var(--ink) !important; font-weight: 600 !important; }
.tbar .who .av { background: var(--forest) !important; color: var(--leaf) !important; font-family: var(--font-display) !important; }

/* ---------- the page header: a film still of Devon, the page's name on it in DTG's heavy wide type ---------- */
.page > .hero, .page > .ph, .page > .pgh, .lgc > .main > .ph, .lgc > .main > .pgh { position: relative !important; overflow: hidden !important; margin: 0 0 18px !important; background: var(--forest) !important; border: 0 !important; border-radius: 26px !important; padding: 34px 38px 30px !important; min-height: 230px !important; display: flex !important; flex-direction: column; justify-content: flex-end; align-items: flex-start !important; text-align: left !important; color: #fff !important; box-shadow: 0 24px 50px -30px rgba(58,136,87,.55) !important; isolation: isolate; }
.page > .hero.home, .page.p-today > .hero { min-height: 400px !important; }
.page > .hero.home:before { background-position: 50% 28% !important; }
.page > .hero:before, .page > .ph:before, .page > .pgh:before, .lgc > .main > .ph:before, .lgc > .main > .pgh:before { content: "" !important; position: absolute !important; inset: 0 !important; display: block !important; background: var(--ph) 50% 45% / cover no-repeat !important; z-index: -2 !important; filter: brightness(1.12) saturate(1.05); animation: v2drift 40s ease-in-out infinite alternate; transform-origin: 60% 50%; opacity: 1 !important; width: auto !important; height: auto !important; border: 0 !important; }
.page > .hero:after, .page > .ph:after, .page > .pgh:after, .lgc > .main > .ph:after, .lgc > .main > .pgh:after { content: "" !important; position: absolute !important; inset: 0 !important; left: 0 !important; width: auto !important; z-index: -1 !important; background: linear-gradient(90deg, rgba(58,136,87,.82) 0%, rgba(58,136,87,.5) 32%, rgba(58,136,87,.05) 64%, rgba(58,136,87,0) 100%), linear-gradient(0deg, rgba(58,136,87,.5) 0%, rgba(58,136,87,0) 50%) !important; }
@keyframes v2drift { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1%, -1%); } }
@media (prefers-reduced-motion: reduce) { .page > .hero:before, .page > .ph:before, .page > .pgh:before, .lgc > .main > .ph:before, .lgc > .main > .pgh:before { animation: none; } }
.page > .hero > *, .page > .ph > *, .page > .pgh > *, .lgc > .main > .ph > *, .lgc > .main > .pgh > * { position: relative; z-index: 1; max-width: 640px; }
.page > .hero .rt, .page > .ph .rt, .page > .pgh .rt, .lgc > .main > .ph .rt, .lgc > .main > .pgh .rt { max-width: none; }
.hero h1, .ph h1, .pgh h1 { color: #fff !important; font: 850 40px/1.04 var(--font-display) !important; font-stretch: 112% !important; letter-spacing: -.015em !important; text-wrap: balance; }
.hero h1 b { font-weight: inherit !important; color: inherit !important; }
.hero h1.greet { font-size: 52px !important; }
.hero h1 > span:not(.stile), .hero h1 > b + span { font: 400 16px/1.45 var(--font-body) !important; color: rgba(255,255,255,.82) !important; letter-spacing: 0 !important; font-stretch: 100% !important; }
.hero .eb, .hero .ov, .ph .eb, .pgh .eb { color: var(--leaf) !important; font: 700 11.5px var(--font-body) !important; letter-spacing: .18em !important; text-transform: uppercase; display: inline-flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.hero .eb:before, .ph .eb:before, .pgh .eb:before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--hivis); }
.hero .sum, .ph p, .pgh p { color: rgba(255,255,255,.85) !important; font-size: 16px !important; }
.hero .live { color: #fff !important; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); border-radius: 99px; padding: 6px 12px; width: fit-content; margin-top: 12px; }
.hero .live i { background: #7cf0a4 !important; box-shadow: 0 0 0 4px rgba(124,240,164,.22); }
.hero h1 .stile, .ph h1 .stile, .pgh h1 .stile { width: 46px !important; height: 46px !important; border-radius: 14px !important; background: rgba(255,255,255,.14) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22) !important; backdrop-filter: blur(10px); }
.hero h1 .stile svg, .ph h1 .stile svg, .pgh h1 .stile svg { stroke: #fff !important; }
.hero .rt .btn, .hero .rt .pill, .hero .rt .btn2, .hero .rt a.pill { background: rgba(255,255,255,.14) !important; color: #fff !important; border-color: rgba(255,255,255,.28) !important; backdrop-filter: blur(10px); }
.hero .rt .btn.ink, .hero .rt .btn.primary, .hero .rt .pill.o { background: var(--hivis) !important; border-color: var(--hivis) !important; }
.hero .rt .seg { background: rgba(255,255,255,.14) !important; } .hero .rt .seg button, .hero .rt .seg a { color: #fff !important; } .hero .rt .seg .on { color: var(--forest) !important; }
.hero .muted, .hero small { color: rgba(255,255,255,.7) !important; }

/* ---------- section titles: tracked caps with the orange tick ---------- */
.sec, .sh, h3.sec, .sect { font: 700 11.5px var(--font-body) !important; letter-spacing: .18em !important; text-transform: uppercase !important; color: var(--ink-2) !important; }

/* ---------- cards ---------- */
.card, .bx, .tile, .stat, .map, .ncard { border-radius: 20px !important; border: 1px solid var(--line) !important; box-shadow: var(--sh-1) !important; background: var(--surface); }
.card h2, .ch h2 { font: 750 18px var(--font-display) !important; font-stretch: 106% !important; letter-spacing: -.005em !important; }
.sv, .t-big, .wnum, .stat .sv, .sa-n { font-family: var(--font-display) !important; font-stretch: 112% !important; font-weight: 850 !important; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* ---------- buttons: DTG's own, heavy uppercase pills; orange only for the one thing to do ---------- */
.btn, .pill, .btn2 { font: 700 12.5px var(--font-body) !important; letter-spacing: .06em !important; text-transform: uppercase; color: var(--dtg) !important; border-color: var(--line-strong) !important; }
.btn.ink, .pill.o, .btn.primary, .btn2.primary { background: var(--dtg) !important; border-color: var(--dtg) !important; color: #fff !important; box-shadow: 0 8px 18px -10px rgba(8,106,45,.8) !important; }
.btn.ink:hover, .btn.primary:hover, .btn2.primary:hover { background: var(--cg-2) !important; }
.btn.go, .btn.warn, .pill.warn { background: var(--hivis) !important; border-color: var(--hivis) !important; color: #fff !important; }
.seg .on, .seg [aria-pressed="true"], .seg [aria-selected="true"] { color: var(--dtg) !important; }
.fld:focus, input:focus, select:focus, textarea:focus { border-color: var(--dtg) !important; box-shadow: 0 0 0 3px var(--cg-ring) !important; outline: 0; }

/* ---------- desk phone tab bar for Tom and Giuseppe: forest, the orange button ---------- */
@media (max-width: 900px) {
  body:not([data-role="staff"]) .tabs { background: rgba(58,136,87,.96) !important; border-top: 0 !important; backdrop-filter: blur(16px); }
  body:not([data-role="staff"]) .tabs .tb { color: rgba(181,210,192,.6) !important; }
  body:not([data-role="staff"]) .tabs .tb.on { color: #fff !important; }
  body:not([data-role="staff"]) .tabs .tb.on .ti { color: var(--hivis) !important; }
  body:not([data-role="staff"]) .fab { background: var(--hivis) !important; box-shadow: 0 10px 24px -8px rgba(255,106,19,.75) !important; }
  .page > .hero, .page > .ph, .page > .pgh, .lgc > .main > .ph, .lgc > .main > .pgh { min-height: 210px !important; padding: 24px 20px 20px !important; border-radius: 22px !important; }
  .page > .hero.home { min-height: 250px !important; }
  .page > .hero:after, .page > .ph:after, .page > .pgh:after, .lgc > .main > .ph:after, .lgc > .main > .pgh:after { background: linear-gradient(0deg, rgba(58,136,87,.95) 0%, rgba(58,136,87,.6) 45%, rgba(58,136,87,.1) 100%) !important; }
  .hero h1, .ph h1, .pgh h1 { font-size: 29px !important; }
  .hero h1.greet { font-size: 34px !important; }
  .hero h1 .stile, .ph h1 .stile, .pgh h1 .stile { width: 38px !important; height: 38px !important; }
}

/* ---------- the board in DTG's colours ---------- */
.bdy.tdy { border-color: var(--hivis) !important; }
.bdy.on { background: var(--forest) !important; border-color: var(--forest) !important; }
.bli.bk .what { background: var(--cg-t) !important; }

/* vans in their own paint wherever a crew row leads with one */
.row2 .vt.lead { width: 46px !important; height: 46px !important; border-radius: 13px !important; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.row2 .vt.lead svg { width: 60% !important; }
.row2 .lead:not(.vt) { background: var(--mint) !important; color: var(--dtg) !important; font-family: var(--font-display) !important; font-weight: 800 !important; }
.badge.b-navy { background: var(--forest) !important; color: var(--leaf) !important; font-variant-numeric: tabular-nums; }
.badge.b-red, .pill.r, .badge.bad { background: var(--hivis-t) !important; color: var(--hivis-ink) !important; }
.delta.down { background: var(--hivis-t) !important; color: var(--hivis-ink) !important; }
.bar i { background: linear-gradient(90deg, var(--dtg), #2fa35a) !important; }
.page > .ph > *, .page > .pgh > *, .lgc > .main > .ph > *, .lgc > .main > .pgh > * { margin-left: 0 !important; }
.ph h1, .pgh h1 { justify-content: flex-start !important; }
.ph h1 > span:not(.stile), .pgh h1 > span:not(.stile) { color: #fff; }
.page > .ph .ph-r, .lgc > .main > .ph .ph-r { margin-top: 14px; }
.page > .ph .ph-r .btn, .page > .ph .ph-r .pill, .page > .pgh .btn, .page > .pgh .pill, .lgc > .main > .ph .ph-r .btn, .lgc > .main > .ph .ph-r .pill, .lgc > .main > .pgh .btn, .lgc > .main > .pgh .pill { background: rgba(255,255,255,.14) !important; color: #fff !important; border-color: rgba(255,255,255,.28) !important; }
.page > .ph .ph-r .seg, .lgc > .main > .ph .ph-r .seg { background: rgba(255,255,255,.14) !important; } .page > .ph .ph-r .seg button, .page > .ph .ph-r .seg a, .lgc > .main > .ph .ph-r .seg button, .lgc > .main > .ph .ph-r .seg a { color: #fff !important; } .page > .ph .ph-r .seg .on, .lgc > .main > .ph .ph-r .seg .on { color: var(--forest) !important; }
.pgback { color: var(--leaf) !important; }

/* ---------- the lads' phone app ---------- */
.bigbtn.o, .qi .go { color: #fff !important; }
.bigbtn { font-family: var(--font-body) !important; font-weight: 700 !important; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 900px) {
  body[data-role="staff"] .tabs { background: rgba(58,136,87,.96) !important; }
  body[data-role="staff"] .tabs .tb { color: rgba(181,210,192,.62) !important; }
  body[data-role="staff"] .tabs .tb.on { color: #fff !important; }
  body[data-role="staff"] .tabs .tb.rep { background: var(--hivis) !important; color: #fff !important; box-shadow: 0 12px 26px -8px rgba(255,106,19,.8), 0 0 0 5px var(--bg) !important; }
  body[data-role="staff"] .tabs .tb.rep .ti { color: #fff !important; }
  /* 13 Nov 2026, Tom (wa-1794566203248): the lads' menu green and bigger so they can see it, half a centimetre higher,
     and the camera says Report an issue. */
  body[data-role="staff"] .tabs { background: #1f8a4c !important; bottom: calc(31px + env(safe-area-inset-bottom)) !important; height: 82px !important; left: 10px !important; right: 10px !important; }
  body[data-role="staff"] .tabs .tb { color: rgba(255,255,255,.88) !important; font: 600 11.5px/1.15 var(--font-body) !important; text-align: center; padding: 4px 1px !important; }
  body[data-role="staff"] .tabs .tb .ti svg { width: 28px !important; height: 28px !important; stroke-width: 2.1 !important; }
  body[data-role="staff"] .tabs .tb.on { color: #fff !important; } body[data-role="staff"] .tabs .tb.on .ti { color: #fff !important; }
  body[data-role="staff"] .tabs .tb.on span:last-child { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
  body[data-role="staff"] .tabs .tb.rep { background: #0f5f31 !important; width: auto !important; min-width: 66px !important; max-width: 70px; height: auto !important; padding: 9px 4px 7px !important; flex-direction: column !important; gap: 3px !important; margin-top: -34px !important; border-radius: 18px !important; box-shadow: 0 12px 26px -8px rgba(15,95,49,.8), 0 0 0 4px var(--bg) !important; }
  body[data-role="staff"] .tabs .tb.rep .ti svg { width: 30px !important; height: 30px !important; }
  body[data-role="staff"] .tabs .tb.rep .rl { font: 700 11px/1.1 var(--font-body); color: #fff; white-space: normal; max-width: 70px; }
  body[data-role="staff"] .page.crew, body[data-role="staff"] #main { padding-bottom: 140px !important; }
  body[data-role="staff"] .tbar .tlogo img { height: 42px !important; width: auto !important; object-fit: contain; }
  body[data-role="staff"] .tbar .tlogo span { font-size: 19px !important; }
  .ph9.mo { display: none !important; }
  .page.r-staff.p-days > .hero { background: var(--forest) !important; border-radius: 26px !important; min-height: 440px !important; padding: 24px 22px 22px !important; box-shadow: 0 24px 50px -30px rgba(58,136,87,.6) !important; }
  .page.r-staff.p-days > .hero:before { display: block !important; background-position: 50% 30% !important; }
  .page.r-staff.p-days > .hero:after { display: block !important; background: linear-gradient(0deg, rgba(58,136,87,.96) 0%, rgba(58,136,87,.7) 38%, rgba(58,136,87,0) 70%) !important; }
  .page.r-staff.p-days > .hero h1 { font-size: 36px !important; }
  .page.r-staff.p-days > .hero h1 .stile { display: none !important; }
  .page.r-staff .hero .sum, .page.r-staff .hero p { color: rgba(255,255,255,.85) !important; }
}

/* DTG's own photos: where the faces are */
.page.p-today > :is(.hero, .ph, .pgh):before { background-position: 50% 58% !important; }
.page.p-days > :is(.hero, .ph, .pgh):before, .page.p-me > :is(.hero, .ph, .pgh):before { background-position: 50% 32% !important; }
.page.p-training > :is(.hero, .ph, .pgh):before, .page.p-ones > :is(.hero, .ph, .pgh):before, .page.p-myteam > :is(.hero, .ph, .pgh):before { background-position: 50% 28% !important; }
.page.p-fleet > :is(.hero, .ph, .pgh):before { background-position: 50% 78% !important; }

/* tickets as kit tags: a punched card, the ticket in heavy type, the date stamped in mono, the state as a stamp */
.ktags { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 4px; }
.ktag { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 26px 14px 12px; border-radius: 14px 14px 14px 14px; background: linear-gradient(180deg, #fff 0%, #f6f9f4 100%); border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(58,136,87,.04), 0 6px 14px -10px rgba(58,136,87,.3); overflow: hidden; }
.ktag:before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--dtg); }
.ktag .kh { position: absolute; top: 11px; left: 50%; width: 22px; height: 8px; margin-left: -11px; border-radius: 99px; background: var(--bg); box-shadow: inset 0 1px 2px rgba(58,136,87,.25); }
.ktag b { font: 800 14px/1.15 var(--font-display); font-stretch: 96%; text-transform: uppercase; letter-spacing: .01em; color: var(--ink); overflow-wrap: break-word; hyphens: auto; }
.ktag .kd { font: 500 11.5px/1.4 var(--font-tag); color: var(--ink-2); }
.ktag .ks { align-self: flex-start; font: 700 10px var(--font-body); letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; border: 1.5px solid currentColor; color: var(--dtg); transform: rotate(-2deg); }
.ktag.k-due:before { background: #e2a400; } .ktag.k-due .ks { color: #a87600; }
.ktag.k-exp:before { background: var(--bad); } .ktag.k-exp .ks { color: var(--bad); }
.ktag.k-noexp:before { background: var(--leaf); } .ktag.k-noexp .ks { color: var(--ink-3); }
.bento > .s2 > .map { margin: 0 !important; height: 100%; }
.map .mh h2 { font: 750 18px var(--font-display) !important; font-stretch: 106% !important; }
.row2 .vt.lead { background: var(--paint) !important; color: #fff !important; }
.row2 .vt.lead svg { fill: rgba(255,255,255,.95) !important; stroke: none !important; }
.row2 .vt.lead.lt svg { fill: rgba(16,35,24,.75) !important; }
.row2 .vt.lead.lt { box-shadow: inset 0 0 0 1px var(--line-strong) !important; }
@media (max-width: 900px) {
  .sv, .t-big, .wnum, .stat .sv, .sa-n { font-stretch: 100% !important; }
  .tile .t-big, .stat .sv:not(.big) { font-size: clamp(19px, 6vw, 26px) !important; }
}

/* the older pages (Who did what, Settings, Setup) inherit the dark theme's white text; on v2's light cards they read in DTG's ink */
.lgc, .lgc .main { color: var(--ink) !important; }
.lgc .card, .lgc .bx { color: var(--ink) !important; }
.lgc .aday { color: var(--ink-2) !important; font: 700 11.5px var(--font-body) !important; letter-spacing: .16em; text-transform: uppercase; margin: 18px 0 6px !important; }
.lgc .arow2 p { color: var(--ink) !important; } .lgc .arow2 small, .lgc .quiet, .lgc .nothing { color: var(--ink-3) !important; }
.lgc .arow2 { border-color: var(--line) !important; }

/* every van in its own paint (16 Oct 2026): a dot before its name wherever it is named, a stripe down its board cells */
.vdot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--paint); margin-right: 6px; vertical-align: 0; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); font-style: normal; }
.vdot.lt { box-shadow: inset 0 0 0 1.5px #9aa59d; }
.btab td.bc a.vp, .bli .what a.vp { box-shadow: inset 4px 0 0 var(--vp); padding-left: 10px; border-radius: 6px; }
.bli .what:has(a.vp) { padding-left: 0; overflow: hidden; }
.bli .what a.vp { padding: 8px 10px 8px 14px; margin: -8px -10px; }
.map .tag { display: inline-flex; align-items: center; }
.map .tag .vdot { width: 9px; height: 9px; margin-right: 5px; }
.vl .vdot { margin-right: 5px; }
.vt.plate.lt { box-shadow: inset 0 0 0 1.5px var(--line-strong) !important; }
.vl i.vdot, .row2 i.vdot, li i.vdot { background: var(--paint) !important; width: 10px !important; height: 10px !important; border-radius: 50% !important; }

/* the board's load (research row 8): a bar under each day, how many of those working are out */
.btab th .ld { display: block; height: 5px; border-radius: 99px; background: var(--line); margin: 7px 0 3px; overflow: hidden; }
.btab th .ld i { display: block; height: 100%; border-radius: inherit; background: #4caf6e; }
.btab th .ld-hi i { background: #e2a400; } .btab th .ld-full i { background: var(--forest); }
.btab th .ldw { display: block; font: 600 11px var(--font-body); color: var(--ink-3); letter-spacing: 0; text-transform: none; }
.btab th .ld-full + .ldw { color: var(--forest); }
.btab td.bn .vt.xs { width: 30px !important; height: 22px !important; border-radius: 6px !important; margin-right: 8px; }
.btab td.bn a { display: flex; align-items: center; }
.bdy { position: relative; } .bdy .ldd { position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: #4caf6e; }
.bdy .ldd.ld-hi { background: #e2a400; } .bdy .ldd.ld-full { background: var(--hivis); }

/* Giuseppe's home: the switch beside the map; his "do not use" words in hi-vis on the photo */
.hero .sum .hv { color: #ffb27a !important; font-weight: 700; }
.bento.gsw > .s2 > #busyslot, .bento.gsw > .s2 > .bsw { height: 100%; }
.bento.gsw .bsw { margin: 0 !important; }
.bsw .bsw-pos button[aria-pressed=true] { background: var(--forest) !important; border-color: var(--forest) !important; color: #fff !important; box-shadow: inset 4px 0 0 var(--hivis); }
.bsw .bsw-pos button { font-family: var(--font-body) !important; }
.bsw .bsw-now { font-family: var(--font-display) !important; font-weight: 750 !important; font-stretch: 106%; }
.bento.gsw .bsw .bsw-pos { grid-template-columns: 1fr; }
.bento.gsw .bsw .bsw-pos button { flex-direction: row; justify-content: space-between; align-items: center; min-height: 52px; }

/* the header's right side (counts like "431 on the line", Fleet's buttons): back in v2, white on the photo, bottom right */
.page > .ph .ph-r, .lgc > .main > .ph .ph-r { display: flex !important; align-items: center; gap: 10px; flex-wrap: wrap; position: absolute !important; right: 34px; bottom: 30px; margin: 0 !important; max-width: 46% !important; justify-content: flex-end; z-index: 1; }
.ph-r .bigcount { color: #fff !important; font: 500 14px var(--font-body) !important; display: inline-flex; align-items: baseline; gap: 8px; background: rgba(58,136,87,.35); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px); border-radius: 16px; padding: 10px 16px; }
.ph-r .bigcount b { font: 850 34px/1 var(--font-display) !important; font-stretch: 112% !important; color: #fff !important; letter-spacing: -.02em; }
@media (max-width: 900px) {
  .page > .ph .ph-r, .lgc > .main > .ph .ph-r { position: static !important; max-width: none !important; justify-content: flex-start; margin-top: 14px !important; }
  .ph-r .bigcount { padding: 8px 12px; } .ph-r .bigcount b { font-size: 26px !important; }
}
.page > .ph .ph-r .btn.ink, .lgc > .main > .ph .ph-r .btn.ink { background: var(--hivis) !important; border-color: var(--hivis) !important; box-shadow: 0 10px 22px -10px rgba(255,106,19,.9) !important; }

/* the training grid fits the card (16 Oct 2026: no sideways scroll); on a phone each person's tickets as a row of chips */
.mxc .mx-wrap { overflow: visible !important; }
.mxc .mx-t { min-width: 0 !important; width: 100% !important; }
.mxc .mx-r { grid-template-columns: 150px repeat(var(--n, 10), minmax(0, 1fr)) !important; gap: 3px !important; }
.mxc .mx { font-size: 9.5px !important; min-width: 0 !important; overflow: hidden; white-space: nowrap; text-overflow: clip; padding: 0 1px !important; }
.mxc .mx-h span { font-size: 9.5px !important; line-height: 1.15; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; word-break: break-word; hyphens: auto; }
.mx-ph { display: none; }
.mxp { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line); }
.mxp .rl { display: flex; align-items: center; gap: 8px; min-width: 0; } .mxp .rl b { font: 600 13.5px var(--font-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mxp-t { display: flex; flex-wrap: wrap; gap: 5px; }
.mxc-chip { font: 600 11px var(--font-body); padding: 4px 8px; border-radius: 8px; background: var(--ok-bg); color: var(--ok); box-shadow: inset 0 0 0 1px #a9dcc2; }
.mxc-chip.noexp { background: var(--warn-bg); color: #8a5a00; box-shadow: inset 0 0 0 1px #f0c98a; }
.mxc-chip.due { background: #fff3d6; color: #8a6400; box-shadow: inset 0 0 0 1px #e2a400; }
.mxc-chip.exp { background: var(--bad-bg); color: var(--bad); box-shadow: inset 0 0 0 1px #f2b3ab; }
@media (max-width: 900px) { .mxc .mx-wrap { display: none !important; } .mx-ph { display: block; } }
.page > .ph .ph-r, .lgc > .main > .ph .ph-r { background: rgba(58,136,87,.5); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 18px; padding: 10px 14px; }
.page > .ph .ph-r:has(.p4hb) { background: none; border: 0; backdrop-filter: none; padding: 0; }
.ph-r .bigcount { background: none !important; border: 0 !important; backdrop-filter: none !important; padding: 0 4px !important; }
.page > .ph .ph-r *, .lgc > .main > .ph .ph-r * { color: #fff; }
.page > .ph .ph-r small, .page > .ph .ph-r span:not(.bigcount) { color: rgba(255,255,255,.78) !important; }
/* controls on the photo header (month picker, week picker, the sync badge): glass, the chosen one white */
.page > .ph .ph-r button, .page > .ph .ph-r a:not(.btn), .page > .ph .ph-r .sg, .page > .ph .ph-r > span:not(.bigcount), .page > .ph .ph-r .seg, .page > .ph .ph-r .aseg { background: rgba(255,255,255,.1) !important; color: #fff !important; border-color: rgba(255,255,255,.22) !important; box-shadow: none !important; }
.page > .ph .ph-r .seg, .page > .ph .ph-r .aseg { background: transparent !important; border: 0 !important; }
.page > .ph .ph-r .on, .page > .ph .ph-r [aria-pressed="true"], .page > .ph .ph-r .on *, .page > .ph .ph-r [aria-pressed="true"] * { background: #fff !important; color: var(--forest) !important; }
.page > .ph .ph-r svg { stroke: currentColor; }
.cf .pill, .cf .btn { white-space: normal; max-width: 100%; text-align: center; } .cf:has(.pill) { flex-wrap: wrap; }
.cf > .pill { flex: 0 1 auto !important; min-width: min(100%, 270px) !important; width: auto !important; }

/* seeing the hub as someone else (Tom and Giuseppe): one clear bar on every page, and the way back */
.vabar { position: sticky; top: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 24px; background: var(--hivis); color: #fff; font: 600 13.5px var(--font-body); box-shadow: 0 6px 18px -10px rgba(58,136,87,.5); }
.vabar span { display: inline-flex; align-items: center; gap: 8px; } .vabar svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; flex: none; }
.vabar button { border: 0; background: #fff; color: var(--hivis-ink); font: 800 12.5px var(--font-body); letter-spacing: .06em; text-transform: uppercase; border-radius: 99px; padding: 8px 16px; cursor: pointer; }
@media (max-width: 900px) { .vabar { padding: 8px 14px; font-size: 12.5px; } }
.vabar > span > span { display: block; } .vabar > span { align-items: flex-start; } .vabar b { font-weight: 800; }
.morethm { display: none !important; }   /* v2 is light only */
.cg-h .now b { background: var(--forest) !important; color: #fff !important; }   /* today in the week view: white on forest (it read dark on dark) */
/* staff Today brand card: whole logo, sized to the card, no drift (Tom 9 Nov) */
.page.r-staff.p-days > .hero:before { background: var(--ph) 50% 0 / 100% auto no-repeat, #3a8857 !important; animation: none !important; transform: none !important; filter: none !important; }
.page.r-staff.p-days > .hero:after { background: linear-gradient(0deg, rgba(58,136,87,.96) 0%, rgba(58,136,87,.75) 22%, rgba(58,136,87,0) 34%) !important; }
/* staff Today card v6: logo and title are real page parts, so nothing overlaps on any phone */
.page.r-staff.p-days > .hero { min-height: 0 !important; align-items: stretch !important; }
.page.r-staff.p-days > .hero:before { background: radial-gradient(120% 70% at 50% 22%, #17663a 0%, #2f7549 45%, #3a8857 85%) !important; animation: none !important; transform: none !important; filter: none !important; }
.page.r-staff.p-days > .hero:after { display: none !important; }
.page.r-staff.p-days > .hero .blk { display: flex; flex-direction: column; align-items: center; margin: 4px 0 22px; }
.page.r-staff.p-days > .hero .blk img { width: min(72%, 300px); height: auto; filter: drop-shadow(0 10px 22px rgba(0,0,0,.35)); }
.page.r-staff.p-days > .hero .blk b { margin-top: 14px; font: 800 clamp(26px, 8.4vw, 40px)/1 Archivo, Inter, system-ui, sans-serif; letter-spacing: .06em; color: #fff; white-space: nowrap; }

/* staff Today card slim (Tom 13 Nov 2026, wa-1794570222964: green box too big): date, greeting and van line only */
.page.r-staff.p-days > .hero.slim { min-height: 0 !important; padding: 16px 18px 15px !important; border-radius: 20px !important; margin-bottom: 12px !important; }
.page.r-staff.p-days > .hero.slim .ov { margin-bottom: 4px !important; font-size: 10.5px !important; }
.page.r-staff.p-days > .hero.slim h1 { font-size: 26px !important; line-height: 1.08 !important; margin: 0 0 4px !important; }
.page.r-staff.p-days > .hero.slim p { font-size: 14px !important; line-height: 1.35 !important; margin: 0 !important; }

/* white logo on the right of the slim Today card (Tom 13 Nov 2026, wa-1794570393185) */
.page.r-staff.p-days > .hero.slim { position: relative !important; }
.page.r-staff.p-days > .hero.slim .in { padding-right: 96px !important; }
.page.r-staff.p-days > .hero.slim .slimlogo { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); height: 88px; width: auto; z-index: 2; pointer-events: none; }

/* Tom, 13 Nov 2026 (wa-1794572652559): the photo box at the top of Today is too big; same height as the other pages. */
.page > .hero.home, .page.p-today > .hero { min-height: 230px !important; padding-top: 26px !important; padding-bottom: 24px !important; }
@media (max-width: 760px) { .page > .hero.home, .page.p-today > .hero { min-height: 190px !important; } }

/* Tom, 13 Nov 2026 (wa-1794579142880): the lads' green bar is two rows so every button fits on the main screen. */
@media (max-width: 860px) {
  body[data-role="staff"] .tabs.two { display: flex !important; flex-direction: column !important; height: auto !important; padding: 6px 4px 6px !important; gap: 2px; }
  body[data-role="staff"] .tabs.two .tbrow { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: center; width: 100%; }
  body[data-role="staff"] .tabs.two .tbrow.r1 { min-height: 64px; }
  body[data-role="staff"] .tabs.two .tbrow.r2 { min-height: 54px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 4px; }
  body[data-role="staff"] .tabs.two .tbrow.r2 .tb { font-size: 10.5px !important; }
  body[data-role="staff"] .tabs.two .tbrow.r2 .tb .ti svg { width: 23px !important; height: 23px !important; }
  body[data-role="staff"] .tabs.two .tb span:last-child { line-height: 1.12; }
  body[data-role="staff"] .page.crew, body[data-role="staff"] #main { padding-bottom: 210px !important; }
}
/* chip and log sites (13 Nov 2026) */
.cs-find{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.cs-pc{display:flex;gap:6px;flex:1 1 200px}
.cs-pc input{flex:1;min-width:0;padding:10px 12px;border:1px solid #cfd8cf;border-radius:10px;font-size:16px;text-transform:uppercase}
.cs-find p{flex-basis:100%;margin:2px 0 0}
.cs-h small{font-weight:400;color:#6b766b;font-size:12px;margin-left:6px}
.cs-row{border-top:1px solid #e4eae4;padding:12px 0}
.cs-top{display:flex;justify-content:space-between;gap:8px}
.cs-top small{display:block;color:#6b766b;font-size:12px}
.cs-mi{font-weight:700;color:#1f6b35;white-space:nowrap}
.cs-tags{margin:6px 0 0;display:flex;flex-wrap:wrap;gap:4px}
.cs-tags span{background:#eef5ee;color:#24502f;border-radius:999px;padding:2px 8px;font-size:12px}
.cs-acc{margin:6px 0 0;font-size:13px}
.cs-meta{margin:4px 0 0;font-size:12px;color:#6b766b}
.cs-btns{display:flex;gap:8px;margin-top:8px}
.cs-btns a{text-decoration:none}
.cs-more{margin-top:10px;width:100%}
.err{color:#b3261e}

/* Tom, 13 Nov 2026: each person sees their own 5 star review count on Today. */
.card.stars5 { padding: 14px 16px !important; }
.stars5 .s5in { display: flex; align-items: center; gap: 14px; }
.stars5 .s5star { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; line-height: 1; color: #fff; background: linear-gradient(145deg, #f5c542, #e0a10b); box-shadow: 0 6px 14px -6px rgba(224,161,11,.7); }
.stars5 .s5h { display: block; font-weight: 600; font-size: 15px; color: var(--ink); }
.stars5 .s5n { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 4px; font-size: 14px; color: var(--ink2); }
.stars5 .s5n b { font-size: 20px; font-weight: 700; color: var(--ink); margin-right: 3px; }
.jobc .jw .jwith { display: block; font-weight: 600; color: var(--ink); margin-top: 3px; }

/* Spraying record (13 Nov 2026, pages/spray.js) */
.sph{margin:20px 0 4px;padding-top:14px;border-top:1px solid #e1e7e1;font-size:17px;color:#1f6b3a}
.spi{display:flex;flex-wrap:wrap;gap:6px 14px;margin:4px 0 10px;font-size:14px}
.spi b{margin-right:4px}
.f2l{margin:10px 0 4px;font-weight:600}
.spjc{display:flex;align-items:center;gap:12px;margin-top:10px;text-decoration:none;color:inherit}
.spf .f2{display:flex;flex-direction:column;gap:4px;margin:10px 0;min-width:0}
.spf .f2>span{font-weight:600;font-size:14px}
.spf .fld{width:100%;min-height:46px;font-size:16px;padding:8px 10px;border:1px solid #c9d3c9;border-radius:10px;box-sizing:border-box;background:#fff;color:inherit;font-family:inherit}
.spf textarea.fld{min-height:64px}
.spf .two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:end}
.spf .ck{display:flex;gap:10px;align-items:flex-start;margin:8px 0;font-size:15px;line-height:1.35}
.spf .ck input{width:24px;height:24px;flex:none;margin:0}
.spf .err{color:#b3261e;font-weight:600;margin:6px 0}
.spf .pill.o{margin-top:12px;width:100%;min-height:50px}

/* 13 Nov 2026, Tom: the Management | Staff switch in the top bar (Tom, Joe, Giuseppe only) */
.tbar .svt { margin-left: auto; display: inline-flex; flex: none; padding: 3px; gap: 2px; border-radius: var(--r-pill, 999px); background: var(--surface, #fff); border: 1px solid var(--line-strong, #cfd8d2); }
.tbar .svt button { border: 0; background: none; font: 600 12.5px var(--font-body, inherit); color: var(--ink-3, #5b6b62); padding: 6px 11px; border-radius: var(--r-pill, 999px); cursor: pointer; line-height: 1; }
.tbar .svt button.on { background: var(--grad-forest, #12382a); color: #fff; }
.tbar .svt + .r { margin-left: 8px; }
@media (max-width: 420px) { .tbar:has(.svt) { gap: 8px; } .tbar .svt button { padding: 6px 8px; font-size: 12px; } .tbar:has(.svt) .tlogo span { white-space: nowrap; font-size: 15px; } .tbar:has(.svt) .r { gap: 6px; } }

/* Tom, 13 Nov 2026 (wa-1794606776438): both green rows match, evenly spread, equal buttons; Report an issue sits in the
   top row the same size as the rest, picked out in dark green, not raised. */
@media (max-width: 860px) {
  body[data-role="staff"] .tabs.two { gap: 0 !important; padding: 6px 6px !important; }
  body[data-role="staff"] .tabs.two .tbrow { grid-template-columns: repeat(var(--n, 6), 1fr) !important; grid-auto-flow: row !important; min-height: 60px !important; align-items: stretch !important; column-gap: 2px; }
  body[data-role="staff"] .tabs.two .tbrow.r2 { border-top: 1px solid rgba(255,255,255,.18); padding-top: 4px !important; margin-top: 4px; }
  body[data-role="staff"] .tabs.two .tbrow .tb { font: 600 10.5px/1.12 var(--font-body) !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 3px !important; padding: 4px 1px !important; min-width: 0 !important; }
  body[data-role="staff"] .tabs.two .tbrow .tb .ti svg { width: 23px !important; height: 23px !important; }
  body[data-role="staff"] .tabs.two .tbrow .tb.rep { margin: 0 !important; width: auto !important; min-width: 0 !important; max-width: none !important; height: auto !important; padding: 4px 1px !important; border-radius: 12px !important; box-shadow: none !important; animation: none !important; background: #0f5f31 !important; gap: 3px !important; }
  body[data-role="staff"] .tabs.two .tbrow .tb.rep .ti svg { width: 23px !important; height: 23px !important; }
  body[data-role="staff"] .tabs.two .tbrow .tb.rep .rl { font: 700 10.5px/1.12 var(--font-body) !important; max-width: none !important; display: block !important; }
}
/* Ask Greg card, chip sites page (14 Nov 2026) */
.cs-greg{border-left:4px solid #3b7d3a}
.cs-step{display:flex;gap:10px;align-items:flex-start;margin-top:10px}
.cs-step>span{flex:0 0 24px;height:24px;border-radius:50%;background:#3b7d3a;color:#fff;font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center}
.cs-step input[type=text]{flex:1;min-width:0;width:100%;padding:10px;font-size:16px;border:1px solid #cfd6cf;border-radius:8px}
.cs-col{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.cs-thumb{width:72px;height:72px;object-fit:cover;border-radius:8px}
.cs-ask{border-top:1px solid #e6ebe6;margin-top:8px;padding-top:6px}
.cs-ask small{display:block;color:#6b766b;font-size:12px}

/* Tom, 14 Nov 2026: notifications on the front screen, and Needs you on Today */
.fstrip { margin: 12px 0 16px; display: grid; gap: 12px; }
.fnot .ch { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fnot .hv { margin-left: 8px; }
.fn-r { display: flex; align-items: flex-start; gap: 10px; width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid var(--hair, rgba(127,127,127,.2)); padding: 12px 2px; color: inherit; font: inherit; cursor: pointer; }
.fn-r:first-of-type { border-top: 0; }
.fn-d { width: 9px; height: 9px; border-radius: 50%; background: var(--g, #2e9e5b); margin-top: 6px; flex: none; }
.fn-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fn-t b { font-size: 15px; line-height: 1.3; }
.fn-t span { font-size: 13px; opacity: .75; line-height: 1.35; }
.fn-r small { flex: none; font-size: 12px; opacity: .6; margin-top: 2px; }
.fstrip .s3push .sev-a { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.needs-t { margin-bottom: 16px; }
.needs-t .rqlist { box-shadow: none; border: 0; padding: 0; background: none; }

/* Tom, 14 Nov 2026 (wa-1794653870686): the management phone bar, two rows like the lads' with everything on it, black with
   white writing. If it does not all fit, the two rows slide sideways together. The lads' bar stays green. */
@media (max-width: 860px) {
  body:not([data-role="staff"]) .tabs.two.blk { display: block !important; height: auto !important; padding: 6px 4px !important; background: #000 !important; color: #fff !important; border-top: 1px solid #222 !important; }
  body:not([data-role="staff"]) .tabs.two.blk .mgsc { overflow: hidden; }
  body:not([data-role="staff"]) .tabs.two.blk .tbrow { display: grid !important; grid-template-columns: repeat(var(--n, 6), calc((100% - (var(--n, 6) - 1) * 2px) / var(--n, 6))) !important; justify-content: center; min-height: 50px; align-items: stretch; column-gap: 2px; }
  body:not([data-role="staff"]) .tabs.two.blk .tbrow.rn { border-top: 1px solid rgba(255,255,255,.2); padding-top: 3px; margin-top: 3px; }
  body:not([data-role="staff"]) .tabs.two.blk .tb span:last-child { overflow-wrap: anywhere; }
  body:not([data-role="staff"]) .tabs.two.blk .tb { color: #fff !important; opacity: .85; font: 600 10.5px/1.12 var(--font-body) !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 3px !important; padding: 4px 1px !important; min-width: 0 !important; text-align: center; background: none !important; }
  body:not([data-role="staff"]) .tabs.two.blk .tb.on { opacity: 1; background: rgba(255,255,255,.14) !important; border-radius: 12px; }
  body:not([data-role="staff"]) .tabs.two.blk .tb .ti svg { width: 21px !important; height: 21px !important; stroke: #fff !important; color: #fff !important; }
  body:not([data-role="staff"]) .page { padding-bottom: calc(var(--mgh, 170px) + 16px) !important; }
}
/* Tom 14 Nov 2026 (wa-1794660522921): Chase list, Overtime, Staff pay and Reports inside Money */
.mn-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 14px}
.mn-link{display:flex;align-items:center;gap:10px;padding:14px;text-decoration:none;color:inherit}
.mn-link svg{width:22px;height:22px;flex:none}
.mn-link b{display:block;font-size:15px}.mn-link small{display:block;opacity:.7;font-size:12px;line-height:1.3}
.mn-cnt{font-style:normal;background:#d97706;color:#fff;border-radius:10px;padding:0 7px;font-size:12px;margin-left:4px}
@media (max-width:700px){.mn-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Tom 14 Nov 2026: the Settings gear joins the bell top right; keep the phone header inside the screen */
@media (max-width:520px){header.tbar .r{gap:0!important}header.tbar .r .ib{width:32px!important;min-width:32px!important;height:36px}header.tbar .r .ib svg{width:21px;height:21px}header.tbar .tlogo span{font-size:15px}header.tbar .svt button{padding-left:9px!important;padding-right:9px!important}}
@media (max-width:420px){.tbar:has(.svt){gap:6px!important}.tbar .svt button{padding:6px 7px!important;font-size:11.5px!important}.tbar .svt + .r{margin-left:4px!important}.tbar:has(.svt) .tlogo span{font-size:14px!important}}

/* Tom 14 Nov 2026 (wa-1794661246064): the Money link boxes green */
.mn-link{background:#1f6b3d!important;color:#fff!important;border-color:#1f6b3d!important}.mn-link small{opacity:.85}.mn-link svg{color:#fff;fill:currentColor}.mn-link .mn-cnt{background:#f08a24;color:#fff}

/* Tom 14 Nov 2026 (wa-1794682179486): black bar tidy, every label one line, even rows, less of the screen */
.tabs.two.blk .tbrow { min-height: 44px !important; }
.tabs.two.blk .tb { gap: 2px !important; padding: 3px 1px !important; }
.tabs.two.blk .tb span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; overflow-wrap: normal; }
.tabs.two.blk .tb .ti svg { width: 19px !important; height: 19px !important; }
.tabs.two.blk .tbrow.rn { padding-top: 2px; margin-top: 2px; }

/* Tom 14 Nov 2026 (wa-1794682516958): 1-1s list on the phone, initials beside the name, last date under it, buttons side by side */
@media (max-width: 700px) {
  .oo-e { grid-template-columns: auto minmax(0, 1fr) auto !important; grid-template-rows: auto auto; column-gap: 10px !important; row-gap: 1px !important; }
  .oo-e > .av { grid-column: 1; grid-row: 1 / span 2; }
  .oo-e > b { grid-column: 2; grid-row: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .oo-e > span:not(.av):not(.oo-eb) { grid-column: 2; grid-row: 2; font-size: 12px; }
  .oo-e > small { display: none !important; }
  .oo-e > .oo-eb { grid-column: 3; grid-row: 1 / span 2; display: flex !important; flex-direction: row; gap: 6px; align-items: center; }
  .oo-e > .oo-eb .btn { min-height: 36px; padding: 0 10px !important; font-size: 11px !important; white-space: nowrap; }
}

/* Tom 14 Nov 2026 (wa-1794682921701): the van's name in its square on Out today */
.row2 .vt.vtw { width: 64px !important; min-width: 64px; height: 56px !important; border-radius: 12px; display: flex !important; align-items: center; justify-content: center; padding: 4px; }
.row2 .vt.vtw .vtn { font: 700 12px/1.1 var(--font-body); color: #fff; text-align: center; white-space: normal; }
.row2 .vt.vtw.lt .vtn { color: #111; }
/* Tom 14 Nov 2026 (wa-1794683120477): notifications and jobs/POWRAs in one small box */
.pj1 { padding: 14px 16px !important; }
.pj1 .ch { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.pj1 .ch h2 { flex: 1; font-size: 18px; margin: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pj1 .pj-s { font: 500 12px var(--font-body); color: #6b7a72; }
.pj1 .ch .btn { padding: 4px 10px; font-size: 11px; min-height: 0; }
.pj1 .pj-n .fn-c { padding: 6px 0; font-size: 13px; align-items: center; border-top: 0; }
.pj1 .pj-n { border-bottom: 1px solid rgba(0,0,0,.08); padding-bottom: 4px; }
.pj1 .pj-n .fn-t b { font-weight: 600; }
.pj-c { display: block; padding: 7px 0; border-top: 1px solid rgba(0,0,0,.06); color: inherit; text-decoration: none; }
.pj-c:first-of-type { border-top: 0; }
.pj-n + .pj-c { border-top: 0; }
.pj-l1 { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pj-l2 { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: #6b7a72; margin-top: 2px; }
.pj-l2 span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-l2 span:last-child { flex: none; }
.pj-l2 b.ok { color: #1f8a4c; } .pj-l2 b.bad { color: #c8473d; } .pj-l2 b.wt { color: #d9a21b; } .pj-l2 b.mu { color: #6b7a72; font-weight: 600; }
/* Tom 14 Nov 2026 (wa-1794683261512): his Today on the phone shows everything without scrolling */
@media (max-width: 600px) {
  .p-today.r-manager .hero { padding: 14px 16px !important; min-height: 0 !important; }
  .p-today.r-manager .hero h1 { font-size: 24px !important; }
  .p-today.r-manager .hero h1 .stile { width: 32px !important; height: 32px !important; border-radius: 10px !important; }
  .p-today.r-manager .hero .eb { margin-bottom: 4px; font-size: 10px !important; }
  .p-today.r-manager .hero .sum { font-size: 13px !important; line-height: 1.35 !important; margin-top: 4px !important; }
  .p-today.r-manager .fstrip { margin: 8px 0; }
  .p-today.r-manager .pj1 { margin-top: 8px; }
  .p-today.r-manager .tdhap { display: none; }
  .p-today.r-manager .tdhs { margin: 10px 0 6px !important; }
  .p-today.r-manager .stats { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 6px !important; }
  .p-today.r-manager .stats .stat { padding: 8px 6px !important; min-height: 0 !important; border-radius: 12px !important; }
  .p-today.r-manager .stats .stat .eb { font-size: 9.5px !important; letter-spacing: .02em !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
  .p-today.r-manager .stats .stat .sv { font-size: 14px !important; font-stretch: 90% !important; letter-spacing: -.02em !important; overflow: hidden; text-overflow: ellipsis; line-height: 1.15 !important; margin-top: 2px; white-space: nowrap; }
  .p-today.r-manager .stats .stat .sv small { font-size: 10px !important; margin-left: 2px !important; }
  .p-today.r-manager .stats .stat .sh .delta { display: none; }
  .p-today.r-manager .stats .stat > div:nth-child(n+3) { display: none !important; }
}
/* Tom 14 Nov 2026 (wa-1794683584616): a box per van in its own colour on Today */
.vboxes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.vbox { background: var(--paint); color: #fff; border-radius: 12px; padding: 7px 7px 8px; text-decoration: none; display: flex; flex-direction: column; gap: 2px; min-height: 62px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.vbox.lt { color: #111; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.vbox b { font: 700 11.5px/1.15 var(--font-body); }
.vbox span { font: 500 10.5px/1.2 var(--font-body); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.vbox .vb-n { opacity: .85; font-style: italic; }
.vbox.off { opacity: .9; }
@media (min-width: 601px) { .vboxes { grid-template-columns: repeat(8, 1fr); } .vbox b { font-size: 13px; } .vbox span { font-size: 12px; } }
.vbox .vb-pc { font-weight: 700; letter-spacing: .02em; -webkit-line-clamp: 1; }
.vboxes { grid-template-columns: repeat(3, 1fr); } @media (min-width: 601px) { .vboxes { grid-template-columns: repeat(6, 1fr); } }
/* Tom 14 Nov 2026 (wa-1794684359654): every van box the same fixed size */
.vboxes { grid-auto-rows: 84px; }
.vbox { height: 84px; min-height: 0; box-sizing: border-box; padding: 6px 7px; gap: 1px; }
.vbox .vb-p { font-size: 10px; line-height: 1.15; }
@media (max-width: 600px) { .p-today.r-manager .tdhs { margin: 6px 0 4px !important; } }

/* Tom 15 Nov 2026 (wa-1794725071735): his appointments at the top of Today, one tight row each */
.apcard { padding: 8px 12px !important; margin-bottom: 8px; }
.apcard .ch { margin-bottom: 2px; } .apcard h2 { font-size: 15px; }
.apcard .ap-r { display: grid; grid-template-columns: 52px 44px 1fr; gap: 6px; font-size: 12.5px; line-height: 1.3; padding: 3px 0; border-top: 1px solid var(--hair); }
.apcard .ap-r em { font-style: normal; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.apcard .ap-r span { color: var(--mute); }

/* Tom 15 Nov 2026 (wa-1794725284853): the vans date bar */
.vdbar { display: flex; align-items: center; gap: 8px; margin: 6px 0 5px; }
.vdbar > span { font: 700 11px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.vdpick { position: relative; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 13px; background: var(--ink, #12301f); color: #fff; font: 600 12px/1 var(--font-body); cursor: pointer; }
.vdpick input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.vdback { height: 26px; padding: 0 10px; border-radius: 13px; border: 1px solid var(--hair); background: #fff; font: 600 12px/1 var(--font-body); color: var(--ink); }
/* Tom 15 Nov 2026: his Today on one phone screen with appointments and the date bar in */
@media (max-width: 600px) {
  .p-today.r-manager .hero { min-height: 0 !important; padding-top: 12px !important; padding-bottom: 12px !important; }
  .apcard { padding: 6px 12px !important; margin-bottom: 6px !important; } .apcard h2 { font-size: 13px; margin: 0; } .apcard .ap-r { padding: 2px 0; }
  .vboxes { grid-auto-rows: 66px; } .vbox { height: 66px; padding: 5px 7px; }
}

/* 15 Nov 2026: site on one line so the town never cuts in half */
.vbox .vb-p { -webkit-line-clamp: 1; display: block; white-space: nowrap; text-overflow: ellipsis; }

.vbox { transition: height .15s; }
.vbox .vb-p { font-size: 11px; }
/* Tom 15 Nov 2026 (wa-1794727686234): the third top-bar button, Tom Business Development, Giuseppe Website */
.tbar .svt .s { display: none; }
@media (max-width: 560px) { .tbar .svt.three .l { display: none; } .tbar .svt.three .s { display: inline; } }
@media (max-width: 420px) { .tbar .svt.three button { padding: 6px 7px; font-size: 11.5px; } }
@media (max-width: 420px) { .tbar:has(.svt.three) .tlogo span { display: none; } .tbar:has(.svt.three) { gap: 6px; } }
/* Tom, 15 Nov 2026 (wa-1794729115997): Management | Staff | Directors in one row for Tom and Giuseppe; the 2x2 grid is gone */

/* Tom 15 Nov 2026 (wa-1794768170049): To do and notifications, the box on Today (top two of each) and its full page #/inbox */
.ibx { padding: 12px 14px !important; margin-bottom: 10px; background: var(--surface) !important; color: var(--ink); }
.ibx .ib-hit { display: block; color: inherit; text-decoration: none; }
.ibx .ch { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.ibx .ch h2 { font-size: 16px !important; margin: 0; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.ibx .ch > svg { width: 18px; height: 18px; stroke: var(--dtg); fill: none; stroke-width: 2; flex: none; }
.ibx .hv { display: inline-block; min-width: 18px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: var(--cg-t); color: var(--dtg); font: 700 11px/18px var(--font-body); text-align: center; }
.ibx .ib-s { padding-top: 6px; }
.ibx .ib-s + .ib-s { border-top: 1px solid var(--line); margin-top: 6px; }
.ibx .ib-l { margin: 0 0 2px; font: 700 11px var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--dtg); display: flex; align-items: center; }
.ibx .ib-r { display: flex; align-items: center; gap: 10px; padding: 6px 0; width: 100%; background: none; border: 0; border-top: 1px solid var(--line); color: var(--ink); text-align: left; font: inherit; text-decoration: none; }
.ibx .ib-l + .ib-r, .ibx .ib-s .ib-r:first-of-type { border-top: 0; }
.ibx .ib-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ibx .ib-t b { font: 600 14px/1.3 var(--font-body); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ibx .ib-t span { font-size: 12px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ibx .ib-t span.bad { color: var(--bad); font-weight: 600; } .ibx .ib-t span.warn { color: var(--warn); font-weight: 600; }
.ibx .ib-d { width: 8px; height: 8px; border-radius: 50%; background: var(--dtg); flex: none; }
.ibx .ib-d.bad { background: var(--bad); } .ibx .ib-d.warn { background: var(--warn); }
.ibx .ib-box { width: 20px; height: 20px; flex: none; border: 2px solid var(--dtg); border-radius: 6px; background: #fff; padding: 0; color: #fff; font: 700 12px/16px var(--font-body); }
.ibx .ib-box.on { background: var(--dtg); }
.ibx .ib-x { flex: none; width: 30px; height: 30px; border: 0; background: none; padding: 6px; color: var(--ink-3); }
.ibx .ib-x svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.ibx .ib-go svg { width: 16px; height: 16px; stroke: var(--ink-3); fill: none; stroke-width: 2; flex: none; }
.ibx .ib-e { margin: 4px 0; font-size: 13px; color: var(--ink-2); } .ibx .ib-e.bad { color: var(--bad); }
.ibx .ib-m { display: block; font-size: 12px; color: var(--dtg); font-weight: 600; padding: 2px 0 0 18px; }
.ibx .ib-f { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.ibx.ibp .ib-r { padding: 9px 0; }
.ibx.ibp .ib-t b { white-space: normal; } .ibx.ibp .ib-t span { white-space: normal; }
.ibx .ib-dn .ib-t b { text-decoration: line-through; color: var(--ink-3); }
.ibx .ib-add { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 6px 0 8px; }
.ibx .ib-add input[type=text] { grid-column: 1 / -1; }
.ibx .ib-add input { font: 500 15px var(--font-body); color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.ibx .ib-add input:focus { outline: 2px solid var(--cg-ring); border-color: var(--dtg); }
.ibx .ib-tog { margin-top: 6px; background: none; border: 0; color: var(--dtg); font: 600 13px var(--font-body); padding: 6px 0; }
.ibx .ch .meta { font-size: 12px; color: var(--ink-3); }
/* Tom 15 Nov 2026 (wa-1794768762529): Compliance on Safety, van checks on Fleet, one line each */
.card.stl { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 10px; row-gap: 2px; padding: 10px 14px !important; margin-bottom: 10px; color: var(--ink); text-decoration: none; background: var(--surface); }
.stl .stl-l { grid-column: 1 / -1; font: 700 11px var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--dtg); }
.stl .stl-b { font: 800 24px var(--font-display); color: var(--ink); }
.stl .stl-s { font-size: 12.5px; color: var(--ink-2); }
.stl .stl-bar { grid-column: 1 / -1; display: block; height: 6px; border-radius: 4px; background: var(--cg-t); overflow: hidden; margin-top: 4px; }
.stl .stl-bar i { display: block; height: 100%; background: var(--dtg); }
/* Tom 15 Nov 2026 (wa-1794768777100): everyone on the front screen on his phone. The box on Today is compact. */
.ibx.ibt { padding: 8px 12px !important; margin-bottom: 6px !important; }
.ibx.ibt .ch { margin-bottom: 0; }
.ibx.ibt .ib-h { display: flex; align-items: center; gap: 4px; color: inherit; text-decoration: none; min-width: 0; }
.ibx.ibt .ib-h h2 { font-size: 15px !important; white-space: nowrap; }
.ibx.ibt .ib-h svg { width: 16px; height: 16px; stroke: var(--dtg); fill: none; stroke-width: 2; flex: none; }
.ibx.ibt .ch .btn.sm { padding: 4px 10px; min-height: 0; font-size: 11px; }
.ibx.ibt .ib-s { padding-top: 2px; }
.ibx.ibt .ib-s + .ib-s { margin-top: 2px; }
.ibx.ibt .ib-l { margin: 2px 0 0; font-size: 10.5px; }
.ibx.ibt .ib-r { padding: 3px 0; gap: 8px; }
.ibx.ibt .ib-t b { font-size: 13.5px; }
.ibx.ibt .ib-box { width: 16px; height: 16px; border-radius: 5px; }
.ibx.ibt .ib-e { margin: 2px 0; font-size: 12.5px; }
/* Tom 15 Nov 2026 (wa-1794769048911): thinner green box on the To do page */
.page > .pgh-thin, .lgc > .main > .pgh-thin { min-height: 0 !important; padding: 14px 18px !important; margin-bottom: 12px !important; border-radius: 18px !important; }
.page .pgh-thin h1 { font-size: 22px !important; line-height: 1.15 !important; margin: 0 !important; display: flex !important; flex-direction: row !important; align-items: center !important; gap: 10px !important; }
.page .pgh-thin h1 .stile { width: 30px !important; height: 30px !important; border-radius: 9px !important; margin: 0 !important; flex: none !important; }
.page .pgh-thin h1 .stile svg { width: 17px !important; height: 17px !important; }
.page .pgh-thin p { font-size: 13.5px !important; margin: 4px 0 0 !important; line-height: 1.3 !important; }
.apcard .ap-r.ap-tools em { white-space: normal; overflow: visible; }   /* Tom 15 Nov 2026: tools days show in full */
/* Tom 16 Nov 2026 (wa-1794816653304): approvals on To do and notifications, answered there */
.ibx .ib-ap { border-top: 1px solid var(--line); padding-bottom: 8px; }
.ibx .ib-ap .ib-r { border-top: 0; }
.ibx .ib-ab { display: flex; gap: 8px; padding-left: 18px; flex-wrap: wrap; }
.ibx .ib-q { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 0 18px; }
.ibx .ib-q input { flex: 1 1 100%; font: 500 15px var(--font-body); color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; padding: 10px 12px; min-width: 0; }

/* Tom 16 Nov 2026 (wa-1794819511738): Management Today photo banner half as thin on the laptop. */
@media (min-width: 601px) {
  .page.p-today.r-manager > .hero { min-height: 0 !important; padding-top: 14px !important; padding-bottom: 14px !important; }
  .page.p-today.r-manager > .hero h1 { font-size: 34px !important; margin-top: 4px !important; }
  .page.p-today.r-manager > .hero h1 .stile { width: 34px !important; height: 34px !important; border-radius: 10px !important; }
  .page.p-today.r-manager > .hero .sum, .page.p-today.r-manager > .hero p { margin-top: 4px !important; font-size: 15px !important; }
}

/* Tom 16 Nov 2026 (wa-1794819712603): Bids due card to the right of Your appointments; stacked on a phone. */
.apbids { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 10px; align-items: start; margin-bottom: 8px; }
.apbids > .apcard { margin-bottom: 0 !important; height: 100%; }
.bdcard .ap-r { grid-template-columns: 82px 44px 1fr; }
.bdcard .ap-r em i { font-style: normal; color: var(--mute); }
@media (max-width: 600px) {
  .apbids { grid-template-columns: 1fr; gap: 6px; margin-bottom: 6px; }
  .apbids > .apcard { height: auto; }
  .bdcard .ap-r { grid-template-columns: 74px 40px 1fr; }
}

/* Tom 16 Nov 2026: map and vans side by side on laptop, vans fill the right half; phone stays vans only */
.mapvans { margin-bottom: 8px; }
@media (min-width: 601px) {
  .mapvans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
  .mapvans > .mv-map { display: flex; flex-direction: column; min-width: 0; }
  .mapvans > .mv-map > * { margin: 0 !important; flex: 1 1 auto; }
  .mapvans > .mv-vans { display: flex; flex-direction: column; min-width: 0; }
  .mapvans > .mv-vans { background: var(--card, #fff); border-radius: 18px; padding: 18px 20px; box-shadow: var(--lift); }
  .mapvans .vboxes { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; align-content: start; align-items: stretch; gap: 10px; }
  .mapvans .vbox { padding: 12px 12px 12px; gap: 4px; border-radius: 14px; min-height: 104px; height: auto; }
  .mapvans .vbox > * { flex-shrink: 0; } .mapvans .vbox span { line-height: 1.3; }
  .mapvans .vbox b { font-size: 15px; } .mapvans .vbox span { font-size: 13px; }
}

/* Tom 16 Nov 2026 (wa-1794822253777), replacing the one-line version of wa-1794821264262. Laptop only, phone untouched:
   banner twice as thick; row 1 appointments | bids; row 2 To do | Notifications (two cards); row 3 today's jobs | vans, all half and half;
   the six vans 3 across x 2 down filling their half. Lists scroll inside their cards so the page itself does not scroll. */
@media (max-width: 600px) { .p-today .ibsp { display: none !important; } }
@media (min-width: 601px) {
  .page.p-today.r-manager { padding-top: 10px !important; padding-bottom: 10px !important; height: calc(100vh - 69px); min-height: 520px; box-sizing: border-box; display: flex; flex-direction: column; }
  .page.p-today.r-manager > * { flex: none; }
  .page.p-today.r-manager > .hero { min-height: 0 !important; height: 84px; box-sizing: border-box; display: flex; align-items: center; padding: 10px 26px !important; margin: 0 0 8px !important; border-radius: 20px !important; }
  .page.p-today.r-manager > .hero > .in { max-width: none !important; width: 100%; display: flex; flex-wrap: wrap; align-items: center; column-gap: 20px; row-gap: 2px; }
  .page.p-today.r-manager > .hero > .in > * { margin: 0 !important; max-width: none !important; }
  .page.p-today.r-manager > .hero .eb { font-size: 12px !important; flex-basis: 100%; }
  .page.p-today.r-manager > .hero h1 { font-size: 28px !important; display: flex; align-items: center; gap: 10px; }
  .page.p-today.r-manager > .hero h1 .stile { width: 30px !important; height: 30px !important; border-radius: 8px !important; }
  .page.p-today.r-manager > .hero .sum { font-size: 15px !important; line-height: 1.3 !important; }
  .p-today.r-manager .tdtop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: clamp(108px, 18vh, 200px) clamp(96px, 15vh, 170px); gap: 8px 10px; margin-bottom: 8px; }
  .p-today.r-manager .tdtop > .apbids { display: contents; }
  .p-today.r-manager .tdtop > .ibx:not(.ibsp) { display: none !important; }
  .p-today.r-manager .tdtop > .apcard { grid-column: 1 / -1; }
  .p-today.r-manager .tdtop .apcard, .p-today.r-manager .tdtop > .ibsp { grid-row: auto; margin: 0 !important; min-height: 0; height: auto; box-sizing: border-box; display: flex; flex-direction: column; overflow: hidden; }
  .p-today.r-manager .tdtop .apbids .apcard, .p-today.r-manager .tdtop > .apcard { grid-row: 1; }
  .p-today.r-manager .tdtop > .ibsp { grid-row: 2; }
  .p-today.r-manager .tdtop .apcard { overflow-y: auto; scrollbar-width: thin; }
  .p-today.r-manager .tdtop .apcard .ap-r { font-size: 13px; }
  .p-today.r-manager .tdtop .ibsp { padding: 8px 14px !important; }
  .p-today.r-manager .tdtop .ibsp .ch { margin-bottom: 0; flex: none; } .p-today.r-manager .tdtop .ibsp .ch h2 { font-size: 15px !important; }
  .p-today.r-manager .tdtop .ibsp .ib-hit { flex: 1 1 0; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
  .p-today.r-manager .tdtop .ibsp .ib-s { padding-top: 0; }
  .p-today.r-manager .tdtop .ibsp .ib-r { padding: 4px 0; gap: 8px; }
  .p-today.r-manager .tdtop .ibsp .ib-t b { font-size: 13px; }
  .p-today.r-manager .tdtop .ibsp .ib-box { width: 16px; height: 16px; border-radius: 5px; }
  .page.p-today.r-manager > .mapvans { flex: 1 1 0; min-height: 190px; gap: 10px; margin-bottom: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .p-today.r-manager .mapvans > .mv-map { min-height: 0; }
  .p-today.r-manager .lmap { min-height: 0; padding: 8px 12px 6px !important; display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; column-gap: 10px; }
  .p-today.r-manager .lmap > .ch { grid-column: 1 / -1; margin-bottom: 4px; } .p-today.r-manager .lmap > .ch h2 { font-size: 15px; }
  .p-today.r-manager .lmap > .lm-slot { grid-column: 1; height: auto; min-height: 100px; margin: 0; }
  .p-today.r-manager .lmap > .lml, .p-today.r-manager .lmap > .muted { grid-column: 2; align-self: start; max-height: 100%; min-height: 0; overflow-y: auto; scrollbar-width: thin; margin: 0; }
  .p-today.r-manager .lmap > .cf { grid-column: 1 / -1; margin-top: 4px; padding-top: 4px; }
  .p-today.r-manager .lml-r { grid-template-columns: 10px minmax(0, 1fr) 40px 48px; gap: 6px; padding: 5px 2px; font-size: 12.5px; }
  .p-today.r-manager .lml-r .lml-c { display: none; }
  .p-today.r-manager .lml-r:first-child { border-top: 0; }
  .p-today.r-manager .mapvans > .mv-vans { padding: 10px 12px !important; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
  .p-today.r-manager .mapvans .vdbar { margin-bottom: 8px; flex: none; }
  .p-today.r-manager .mapvans .vboxes { flex: 1 1 0; min-height: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); align-content: stretch; gap: 10px; }
  .p-today.r-manager .mapvans .vbox { height: auto !important; min-height: 0; padding: 10px 12px; gap: 3px; border-radius: 14px; justify-content: center; }
  .p-today.r-manager .mapvans .vbox b { font-size: 18px; } .p-today.r-manager .mapvans .vbox span { font-size: 14px; line-height: 1.25; }
  .p-today.r-manager .tdtop .apcard > * { flex: none; }
}
@media (min-width: 601px) and (min-height: 700px) {
  .p-today.r-manager .mapvans .vbox { padding: 8px 12px; gap: 2px; }
  .p-today.r-manager .mapvans .vbox span { font-size: 13px; }
  .p-today.r-manager .mapvans .vbox .vb-p { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-overflow: clip; }
}

/* Bottom bar locked to the bottom on iPhone (Giuseppe tg 27375, 18 Nov 2026: it moved when he scrolled Availability
   and the Today board). Own compositing layer so iOS Safari keeps it pinned while the page momentum-scrolls and the
   bar is re-drawn; no rubber-band drag of the page; the black bar clears the home indicator. */
html, body { overscroll-behavior-y: none; }
html body nav.tabs { position: fixed !important; transform: translate3d(0,0,0) !important; -webkit-transform: translate3d(0,0,0) !important; will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
html body:not([data-role="staff"]) nav.tabs { bottom: 0 !important; left: 0 !important; right: 0 !important; }
html body:not([data-role="staff"]) nav.tabs.two.blk { padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px)) !important; }
/* Tom 19 Nov 2026: menu hidden while typing so iPhone can't leave it floating mid-page */
html body.kb[data-role] nav.tabs.tabs, html body.kb nav.tabs.tabs.tabs, html body.kb .fab { display: none !important; }
/* Maintenance fault buttons red/amber/green (Giuseppe tg 29104, 19 Nov 2026) */
.mt-ft{display:flex;gap:8px;margin:0 0 10px}
.mt-ftb{flex:1;border:2px solid;border-radius:12px;padding:8px 4px;background:#fff;font:700 13px/1.2 inherit;text-align:center;cursor:pointer}
.mt-ftb b{display:block;font-size:19px}
.mt-ftb.r{border-color:#c62828;color:#c62828}.mt-ftb.a{border-color:#f0a020;color:#b26a00}.mt-ftb.g{border-color:#2e9d5b;color:#1b6b3a}
.mt-ftb.r.on{background:#c62828;color:#fff}.mt-ftb.a.on{background:#f0a020;color:#fff}.mt-ftb.g.on{background:#2e9d5b;color:#fff}
.tag.mt-fxd{background:#e3f4e8;color:#1b6b3a}
/* Bigger top-left logo, tap to reload (Giuseppe tg 29114, 19 Nov 2026) */
.tbar .tlogo img{height:44px!important;width:auto!important}
.side .brand img{height:52px!important}
.tbar .tlogo,.side .brand{cursor:pointer}
/* Giuseppe tg 29145/29146, 19 Nov 2026: unfinished quotes behind today's appointments, swipe across, like a deck of cards */
.qd-w{margin:0 0 14px}
.qd-tabs{display:flex;gap:8px;margin:0 2px 8px}
.qd-t{border:1px solid #cfdcd3;background:#fff;border-radius:999px;padding:7px 14px;font-weight:700;font-size:14px;color:#1d2b22}
.qd-t.on{background:#1f6b3a;border-color:#1f6b3a;color:#fff}
.qd{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding:0 14px 14px 0;scrollbar-width:none}
.qd::-webkit-scrollbar{display:none}
.qd>.qd-c{flex:0 0 90%;scroll-snap-align:start;margin:0!important}
.qd>.qd-stack{box-shadow:7px 7px 0 -1px #fff,7px 7px 0 0 #d6e2da,14px 14px 0 -1px #fff,14px 14px 0 0 #e3ebe5}
/* Giuseppe 20 Nov 2026 (tg 29521/29522): Management | Staff | Directors buttons bigger and easier to hit on the phone. The top bar was
   17px wider than an iPhone (the avatar hung off the edge), so the whole page could slide sideways. On a phone the switcher now has
   its own full-width row under the logo, 44px tall buttons, and the bar fits the screen. */
.tbar .svt button { min-height: 40px; padding: 0 14px; font-size: 13px; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: background .15s, color .15s; }
.tbar .svt button:active { transform: scale(.97); }
.tbar .svt.busy button.on { opacity: .85; }
@media (max-width: 560px) {
  .tbar:has(.svt) { flex-wrap: wrap !important; row-gap: 8px !important; }
  .tbar:has(.svt) .tlogo { flex: 1 1 auto; min-width: 0; }
  .tbar:has(.svt) .tlogo span { display: inline !important; }
  .tbar .svt, .tbar .svt.three { order: 5; flex: 1 1 100% !important; width: 100%; margin: 0 !important; padding: 4px !important; gap: 4px !important; box-sizing: border-box; }
  .tbar .svt button, .tbar .svt.three button { flex: 1 1 0; min-height: 44px !important; padding: 0 6px !important; font-size: 14.5px !important; font-weight: 650; }
  .tbar .svt + .r { margin-left: auto !important; }
}
/* Same day: the Money | Websites | BD buttons inside Directors to 44px too. */
.dir-seg a { min-height: 44px; display: inline-flex !important; align-items: center; justify-content: center; touch-action: manipulation; -webkit-tap-highlight-color: transparent; box-sizing: border-box; }

/* Tom 20 Nov 2026: clear one notice */
.ib-fx { display: flex; align-items: center; gap: 4px; }
.ib-fx > .ib-r, .ib-fx > .fn-r { flex: 1; min-width: 0; }
.ib-fx > .ib-x { flex: none; width: 34px; height: 34px; border: 0; background: none; padding: 7px; color: var(--ink-3, #888); cursor: pointer; font-size: 20px; line-height: 1; }
.ib-fx > .ib-x svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.fnot .ib-fx + .ib-fx > .fn-r { border-top: 1px solid var(--hair, rgba(127,127,127,.2)); }
/* Giuseppe tg 30038, 20 Nov 2026: the DTG logo as a 3D push button (his view only, hub11.js rfCls). Raised with a shadow,
   sinks when pressed, pops back out red while the refresh-all runs. */
.tbar .tlogo.rfbtn img, .side .brand.rfbtn img { border-radius: 12px; padding: 3px 6px; background: linear-gradient(180deg,#ffffff,#e6ece8); box-shadow: 0 5px 0 #8fa598, 0 8px 14px rgba(0,0,0,.25); transform: translateY(-3px); transition: transform .08s ease, box-shadow .08s ease, background .2s ease; }
.side .brand.rfbtn img { background: linear-gradient(180deg,#2c4a3a,#1d3328); box-shadow: 0 5px 0 #0e1d15, 0 8px 14px rgba(0,0,0,.35); }
.tbar .tlogo.rfbtn:active img, .side .brand.rfbtn:active img { transform: translateY(2px); box-shadow: 0 0 0 #8fa598, 0 2px 4px rgba(0,0,0,.2); }
.tbar .tlogo.rfbtn.rfon img, .side .brand.rfbtn.rfon img { background: linear-gradient(180deg,#e2463a,#b32a20); box-shadow: 0 5px 0 #7d1c15, 0 8px 16px rgba(179,42,32,.45); animation: rfpulse 1.4s ease-in-out infinite; }
@keyframes rfpulse { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.18); } }
.tbar .tlogo.rfbtn, .side .brand.rfbtn { -webkit-tap-highlight-color: transparent; user-select: none; }
.tbar .tlogo.rfbtn.rfon img { content: url(assets/dtg-logo-white.png); }   /* white logo reads on the red */

/* Tom 23 Nov 2026 (Jon Aplin's iPhone, overtime box): iPhone zooms the whole page into any box whose text is under 16px, so the
   screen jumped away from where he was typing and the bottom menu (Home) slid off. On touch phones every box is 16px, no zoom. */
@media (pointer: coarse) {
  html body :is(input, select, textarea):not([type=checkbox]):not([type=radio]):not([type=range]):not(#_) { font-size: 16px !important; }
}

/* Tom 23 Nov 2026 (wa-1795419408240): the box a clicked notification opens with, and the thing it is about, highlighted */
.nbw { margin-top: 10px; }
.card.nbx { border: 2px solid #f0b429 !important; background: #fff8e6 !important; }
.nbx .ch h3 { font-size: 1.05rem; }
.nbx p { margin: 4px 0; }
.nbx .nb-do { margin-top: 8px; }
.nb-hit { outline: 3px solid #f0b429 !important; outline-offset: 2px; border-radius: 8px; background: #fff8e6 !important; }
/* Tom 24 Nov 2026 (wa-1795515114180): Janet's laptop. Green header and Morning, Janet at half height, more room for the calls list. */
html[data-role="office"] .page > .hero, html[data-role="office"] .page > .ph, html[data-role="office"] .page > .pgh, html[data-role="office"] .page > .hero.home, html[data-role="office"] .page.p-today > .hero { min-height: 0 !important; padding: 12px 20px !important; margin: 0 0 10px !important; border-radius: 16px !important; }
html[data-role="office"] .page > .hero h1, html[data-role="office"] .page > .ph h1, html[data-role="office"] .page > .pgh h1 { font-size: 26px !important; line-height: 1.15 !important; margin: 2px 0 !important; }
html[data-role="office"] .page > .hero h1.greet { font-size: 28px !important; }
html[data-role="office"] .page > .hero p, html[data-role="office"] .page > .pgh p, html[data-role="office"] .page > .ph p { margin: 2px 0 0 !important; font-size: 14px !important; }
html[data-role="office"] .page { padding-top: 8px !important; }
/* Giuseppe tg 31113, 24 Nov 2026: past quotes rows (pq-*) never widen or squash the deck card */
.qd>.qd-c{min-width:0;overflow:hidden;box-sizing:border-box}
.qd .pq-day,.qd .pq-r{min-width:0;max-width:100%;box-sizing:border-box}

/* Tom, Talk to Gina hub 486 + photo 487, 25 Nov 2026: on his laptop the middle came up short with wide empty sides. Desktop pages now use the full width of the screen. */
@media (min-width: 901px) { .page { max-width: none !important; width: 100% !important; } }

/* Tom 28 Nov 2026 (tg 34221): Safety on one phone screen, thin top */
@media (max-width: 760px) {
  .page.p-team > .ph { min-height: 0 !important; padding: 14px 18px !important; margin-bottom: 10px !important; border-radius: 18px !important; }
  .page.p-team > .ph h1 { font-size: 26px !important; }
  .page.p-safety > .ph { min-height: 0 !important; padding: 14px 18px !important; margin-bottom: 10px !important; border-radius: 18px !important; }
  .page.p-safety > .ph h1 { font-size: 26px !important; }
  .page.p-safety > .ph p { display: none !important; }
  .mn-links.safh { gap: 8px !important; margin-bottom: 10px !important; }
  .mn-links.safh .mn-link { padding: 10px 12px !important; border-radius: 14px !important; }
  .mn-links.safh .mn-link b { font-size: 15px !important; }
  .mn-links.safh .mn-link small { display: none !important; }   /* tg 34227: seven headers on one screen */
  .mn-links.safh .mn-link { min-height: 54px !important; }
}
