﻿/* StatCarry shared style. Brand: teal #0E7C7B, light teal #4FC9C4 (dark), yellow #F2B01E, ink #0F1D22. Type: Space Grotesk (headings), Inter (text). */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Inter:wght@400;600;700&display=swap');
:root{ --bg:#F3F7F7; --surface:#FFFFFF; --ink:#0F1D22; --sub:#4A5F66; --line:#D5E2E4; --teal:#0E7C7B; --teal-ink:#FFFFFF; --teal-soft:#E2F2F1; --yellow:#F2B01E; --red:#B4472B; --red-soft:#FBEAE4;
  --display:"Space Grotesk",system-ui,sans-serif; --body:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; color-scheme:light }
@media (prefers-color-scheme: dark){ :root{ --bg:#0C1517; --surface:#13201F; --ink:#E6F0F0; --sub:#9DB3B6; --line:#24383A; --teal:#4FC9C4; --teal-ink:#04211F; --teal-soft:#163331; --red:#F09477; --red-soft:#3A2019; color-scheme:dark } }
*{ box-sizing:border-box }
[hidden]{ display:none !important }
html,body{ margin:0; min-height:100% }
body{ background:var(--bg); color:var(--ink); font-family:var(--body); font-size:16px; line-height:1.5 }
h1,h2,h3{ font-family:var(--display); line-height:1.2; margin:0; text-wrap:balance }
a{ color:var(--teal) }
.brand{ display:flex; align-items:center; gap:10px; font-family:var(--display); font-weight:700; font-size:1.35rem; letter-spacing:-.3px }
.brand img{ width:34px; height:34px }
.brand .c{ color:var(--teal) }
.tagline{ font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; font-weight:700; color:var(--sub) }
label{ display:block; font-weight:600; font-size:.9rem; margin:0 0 6px }
input{ width:100%; font:inherit; padding:12px 14px; border-radius:10px; border:1.5px solid var(--line); background:var(--surface); color:var(--ink) }
input:focus{ outline:3px solid var(--teal-soft); border-color:var(--teal) }
button{ font:inherit; font-weight:700; cursor:pointer; border-radius:10px; padding:12px 16px; border:1.5px solid transparent }
.btn{ background:var(--teal); color:var(--teal-ink); width:100% }
.btn:disabled{ opacity:.55; cursor:default }
.btn-quiet{ background:transparent; color:var(--teal); border-color:var(--line) }
.msg{ font-size:.9rem; min-height:1.3em } .msg.err{ color:var(--red) } .msg.ok{ color:var(--teal) }
.note{ font-size:.82rem; color:var(--sub) }
.code{ letter-spacing:.5em; font-size:1.4rem; text-align:center; font-variant-numeric:tabular-nums }
.card{ background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:22px }
.stack{ display:flex; flex-direction:column; gap:14px }
.pill{ white-space:nowrap; flex:none; align-self:center; height:auto; display:inline-block; font-size:.75rem; font-weight:700; padding:3px 10px; border-radius:999px; background:var(--teal-soft); color:var(--teal) }
.pill.warn{ background:var(--red-soft); color:var(--red) }
.sample{ font-size:.75rem; color:var(--sub); border:1px dashed var(--line); border-radius:8px; padding:8px 10px }

/* automatic dispatch: offer countdown (card in the job list) */
.cd{ display:flex; flex-direction:column; gap:6px } .cd .cdt{ font-family:var(--display); font-size:1.15rem; font-variant-numeric:tabular-nums }
.cdb{ height:8px; border-radius:99px; background:var(--teal-soft); overflow:hidden } .cdb i{ display:block; height:100%; width:100%; background:var(--teal); transition:width .5s linear }
.cd.low .cdt{ color:var(--red) } .cd.low .cdb i{ background:var(--red) }
.obtns{ display:grid; grid-template-columns:2fr 1fr; gap:10px } .obtns .btn-quiet{ width:100% }
.alarmtxt{ color:var(--red); font-weight:700 }
/* daily runs: dispatch screen (cards), hospital run choice, courier run offer */
.rgrid{ display:grid; gap:16px; grid-template-columns:minmax(0,1fr) } .rgrid .rcards{ display:grid; gap:16px; grid-template-columns:repeat(auto-fill,minmax(340px,1fr)) }
@media (min-width:1100px){ .rgrid:has(.rformc){ grid-template-columns:minmax(0,1fr) 440px } }
.rstops{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px } .rstops li{ display:grid; grid-template-columns:28px minmax(0,1fr) auto; gap:10px; align-items:start }
.rn{ width:26px; height:26px; border-radius:50%; background:var(--teal-soft); color:var(--teal); display:inline-flex; align-items:center; justify-content:center; font-weight:800; font-size:.8rem } .rto .rn{ background:var(--red-soft); color:var(--red) }
.rstat{ font-size:.82rem; font-weight:700; padding:4px 10px; border-radius:999px; background:var(--teal-soft); color:var(--teal); white-space:nowrap }
.rstat.warn{ background:#FDF3D7; color:#8A5A00 } .rstat.bad{ background:var(--red-soft); color:var(--red) } .rstat.mute{ background:var(--bg); color:var(--sub) } .rstat.live{ background:#E2F5EA; color:#1F7A45 }
.runcard.paused{ opacity:.6 }
.rsrow{ display:grid; grid-template-columns:28px minmax(0,1fr) auto; gap:8px; align-items:center } .rsrow select[data-sf]{ grid-column:2 / 4 } .rsrow select[data-sd]{ grid-column:2 } .rsform{ list-style:none; margin:0; padding:0 } .rbtns{ display:flex; gap:4px }
.pastruns > summary{ cursor:pointer; font-weight:700; color:var(--sub); padding:6px 0 } .pastruns[open] > summary{ margin-bottom:12px }
.rchoice{ display:flex; gap:12px; align-items:flex-start; border:1.5px solid var(--line); border-radius:12px; padding:12px 14px; cursor:pointer } .rchoice input{ width:auto; margin-top:4px }
.rchoice span{ display:flex; flex-direction:column } .rchoice:has(input:checked){ border-color:var(--teal); background:var(--teal-soft) } .runcut{ color:#8A5A00; font-weight:600 }
.onrun .fromstep, .onrun .dest, .onrun .whenstep, .onrun #schedBox{ display:none !important } .runwhen{ background:var(--teal-soft); border-radius:10px; padding:10px 12px; color:var(--ink) }
.runoffer .dot.g{ color:#fff; font-size:.7rem; font-weight:800; display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px }
/* sign-in security: app setup, backup codes, idle warning */
.qr{ width:200px; height:200px; image-rendering:pixelated; align-self:center; border:1px solid var(--line); border-radius:12px; background:#fff; padding:6px }
.key{ display:block; margin-top:8px; font-size:1rem; letter-spacing:.06em; word-break:break-all; background:var(--teal-soft); padding:8px 10px; border-radius:8px; color:var(--ink) }
.setupol{ margin:0; padding-left:20px; display:flex; flex-direction:column; gap:4px }
.bkcodes{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:8px } .bkcodes code{ display:block; text-align:center; font-size:1.05rem; letter-spacing:.08em; padding:8px; border:1px dashed var(--line); border-radius:8px }
.idlewarn{ position:fixed; inset:0; z-index:1200; background:rgba(8,20,22,.55); display:flex; align-items:center; justify-content:center; padding:16px } .idlewarn .card{ max-width:380px; width:100% }
.warnline{ border-left:4px solid var(--yellow); margin-top:12px }
.pq{ max-width:280px } .prow{ flex-wrap:wrap } .rpanel{ width:100%; padding-top:10px }
/* courier safety: pre-shift check, incident button and sheet, refusing a package */
.sctemp{ padding:4px 0 10px 34px } .scdots{ display:flex; gap:6px } .scdots span{ flex:1; height:6px; border-radius:9px; background:var(--line) } .scdots span.on{ background:var(--teal) } .scdots span.done{ background:var(--teal-soft) }
.scq{ font-size:1.35rem; line-height:1.3 } .shiftcard ul{ margin:6px 0 0; padding-left:18px }
.incfab{ position:fixed; right:16px; bottom:max(16px, env(safe-area-inset-bottom)); z-index:40; background:var(--red); color:#fff; border:0; border-radius:999px; padding:14px 18px; font-weight:800; box-shadow:0 8px 22px rgba(180,71,43,.4) }
.incsheet{ position:fixed; inset:0; z-index:1150; background:rgba(8,20,22,.55); display:flex; align-items:flex-end; justify-content:center; padding:12px }
.incsheet .card{ max-width:520px; width:100%; max-height:92vh; overflow:auto; border-top:6px solid var(--red) } .inckinds .chip{ text-align:left; width:100%; padding:12px 14px }
.chip.on{ background:var(--teal); color:var(--teal-ink); border-color:var(--teal) } .incwarn{ background:var(--red-soft); color:var(--red); padding:8px 10px; border-radius:8px }
.bbp{ background:#FDF3D7; border-radius:10px; padding:12px 14px } .bbp ol{ margin:0; padding-left:18px } .refcard{ border:1.5px solid var(--red); border-radius:12px; padding:14px; background:var(--red-soft) }
.pill.soon{ background:#FDF3D7; color:#8A5A00 }
body:has(.incfab) .wrap{ padding-bottom:96px } body:has(.shiftcard) .incfab{ display:none }
.incphoto, .refcard .proofimg{ max-width:100%; max-height:260px; width:auto; object-fit:contain; border-radius:10px; border:1px solid var(--line); background:#fff; align-self:flex-start }
.certgrid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(280px, 1fr)); gap:10px } .cert{ display:flex; justify-content:space-between; align-items:flex-start; gap:10px; border:1px solid var(--line); border-radius:10px; padding:10px 12px }
.cert input{ margin-top:4px; padding:8px 10px }
/* public tracking page: the map on top, the steps below */
.tnow{ font-size:1.7rem } .teta{ font-size:1.1rem } .teta b{ font-family:var(--display); font-size:1.4rem }
.tsteps{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:14px } .tsteps li{ display:grid; grid-template-columns:22px 1fr; gap:10px; opacity:.5 } .tsteps li.on{ opacity:1 }
.tdot{ width:14px; height:14px; border-radius:50%; border:3px solid var(--line); margin-top:4px } .tsteps li.on .tdot{ border-color:var(--teal); background:var(--teal) }
.tmapA{ height:46vh; min-height:260px; border-radius:12px } .tmapcard{ padding:10px } .tfoot{ text-align:center } .trkend{ text-align:center }
#trk{ max-width:640px }
.frow .bend{ gap:8px } .frow > .deskline{ grid-column:1 / -1; justify-content:flex-start } .frow > .rpanel{ grid-column:1 / -1 }
.cgrid{ display:grid; gap:14px; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)) } .cdoc{ align-content:start } .cdoc h3{ margin:0; font-size:1.05rem } .cicon{ font-size:1.6rem } .cpdf{ justify-self:start; margin-top:auto; text-decoration:none; font-weight:700 } .cpdf:hover{ text-decoration:underline }
.baacard.ok{ border-left:4px solid var(--teal) } .baacard.need{ border-left:4px solid var(--yellow) }
.baagrid{ display:grid; gap:16px; grid-template-columns:minmax(0,1fr) } @media (min-width:960px){ .baagrid{ grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); align-items:start } }
.baatext{ max-height:60vh; overflow:auto; white-space:normal; font-size:.92rem; line-height:1.55; border:1px solid var(--line); border-radius:10px; padding:14px 16px; background:var(--bg) } .ckline{ display:flex !important; gap:12px; align-items:flex-start } .ckline input[type=checkbox]{ width:22px; height:22px; flex:none; margin-top:2px } .deskrow{ flex:1; max-width:520px }
/* ---- sign-in, look A: brand panel beside the form ---- */
.signin-A{ min-height:100vh; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) }
.signin-A .panel{ background:var(--teal); color:#fff; padding:48px; display:flex; flex-direction:column; justify-content:space-between; gap:24px }
.signin-A .panel .brand{ color:#fff } .signin-A .panel .brand .c{ color:var(--yellow) }
.signin-A .panel h1{ font-size:2.2rem; max-width:16ch }
.signin-A .panel ul{ margin:0; padding-left:1.1em; display:flex; flex-direction:column; gap:6px; opacity:.92 }
.signin-A .form{ display:flex; align-items:center; justify-content:center; padding:32px 20px }
.signin-A .form .card{ width:100%; max-width:400px; border:none; background:transparent; padding:0 }
@media (max-width:820px){ .signin-A{ grid-template-columns:1fr } .signin-A .panel{ padding:24px 20px } .signin-A .panel h1{ font-size:1.5rem } .signin-A .panel ul{ display:none } }

/* ---- sign-in, look B: one centred card ---- */

/* ---- app shell after sign-in ---- */
.top button{ white-space:nowrap; padding:8px 12px }
@media (max-width:560px){ .top .who{ display:none } }
.top{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px max(16px,env(safe-area-inset-left)); background:var(--surface); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:1100 }
.wrap{ max-width:980px; margin:0 auto; padding:20px 16px 60px; display:flex; flex-direction:column; gap:16px }
.grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:14px } .grid>*{ min-width:0 }
.next{ border-left:4px solid var(--yellow) }

/* ---- step 2: booking ---- */
select{ width:100%; font:inherit; padding:12px 14px; border-radius:10px; border:1.5px solid var(--line); background:var(--surface); color:var(--ink) }
.bad{ border-color:var(--red) !important; outline:2px solid var(--red-soft) }
.row-sb{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap }
.btn-auto{ width:auto; display:inline-block; text-decoration:none; text-align:center }
.chips{ display:flex; flex-wrap:wrap; gap:8px; border-radius:12px }
.chip{ background:var(--surface); color:var(--ink); border:1.5px solid var(--line); padding:9px 14px; font-weight:600 }
.chip.on{ background:var(--teal); color:var(--teal-ink); border-color:var(--teal) }
.num{ display:inline-grid; place-items:center; width:26px; height:26px; border-radius:50%; background:var(--teal-soft); color:var(--teal); font-size:.85rem; margin-right:6px }
.bstep + .bstep{ border-top:1px solid var(--line); padding-top:18px }
.bookA{ display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:16px; align-items:start }
.pricebox{ position:sticky; top:76px }
@media (max-width:760px){ .bookA{ grid-template-columns:1fr } .pricebox{ position:static } }
.steps{ display:flex; gap:6px } .steps span{ flex:1; text-align:center; font-size:.8rem; font-weight:700; padding:8px; border-radius:999px; background:var(--surface); border:1px solid var(--line); color:var(--sub) }
.steps span.on{ background:var(--teal); color:var(--teal-ink); border-color:var(--teal) }
.ql{ display:flex; justify-content:space-between; gap:12px; padding:4px 0 } .ql span:last-child{ white-space:nowrap; font-variant-numeric:tabular-nums }
.ql.tot{ border-top:1px solid var(--line); margin-top:4px; padding-top:8px; font-weight:700; font-size:1.1rem }
.bigref{ font-family:var(--display); font-weight:700; font-size:2.4rem; letter-spacing:.04em; color:var(--teal) }
.olist{ display:flex; flex-direction:column; gap:8px }
.orow{ display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:12px; align-items:center; text-align:left; background:var(--surface); color:var(--ink); border:1px solid var(--line); font-weight:400; padding:12px }
.oref{ font-family:var(--display); font-weight:700; color:var(--teal) } .omid{ display:flex; flex-direction:column; min-width:0 } .omid b{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.oend{ display:flex; flex-direction:column; align-items:flex-end; gap:4px }
@media (max-width:560px){ .orow{ grid-template-columns:1fr auto } .orow .omid{ grid-column:1 / -1; order:3 } }

a.btn{ display:block; padding:12px 16px; border-radius:10px; font-weight:700; text-decoration:none; text-align:center }

/* ---- step 3: courier ---- */
.ck{ display:flex; justify-content:space-between; align-items:center; gap:10px }
.live{ color:#1F9D55 } @media (prefers-color-scheme: dark){ .live{ color:#5BD38C } }
.statc{ border-left:4px solid var(--red) }
.route{ display:flex; flex-direction:column; gap:10px } .route>div{ position:relative; padding-left:20px }
.dot{ position:absolute; left:0; top:6px; width:11px; height:11px; border-radius:50% } .dot.g{ background:#1F9D55 } .dot.r{ background:var(--red) }
.btn-link{ display:block; text-align:center; text-decoration:none; padding:12px 16px; border-radius:10px; border:1.5px solid var(--line); font-weight:700 }
.pstep h4{ margin:0; font-family:var(--display); display:flex; align-items:center }
.pstep + .pstep{ border-top:1px solid var(--line); padding-top:14px }
.steps + .pstep{ border-top:none }
.badstep{ outline:2px solid var(--red); outline-offset:6px; border-radius:8px }
.scanrow{ display:flex; gap:8px } .scanrow input{ flex:1; min-width:0 } .scanrow button{ flex:none }
#cam{ width:100%; border-radius:10px; background:#000 }
.okc{ color:#1F9D55; font-weight:700 } .badc{ color:var(--red); font-weight:700 }
.photobox{ display:flex; align-items:center; justify-content:center; min-height:110px; border:2px dashed var(--line); border-radius:12px; cursor:pointer; font-weight:700; color:var(--teal); flex-direction:column; gap:8px; padding:8px }
.photobox img{ max-width:100%; max-height:220px; border-radius:8px }
.pad{ width:100%; height:150px; background:#fff; border:1.5px solid var(--line); border-radius:10px; touch-action:none }
.tl{ display:flex; flex-direction:column; gap:6px } .tl div{ display:flex; justify-content:space-between; gap:10px }
.tl div span:first-child::before{ content:'●'; color:var(--teal); margin-right:8px }
.evid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:10px } .evid img{ width:100%; border-radius:10px; border:1px solid var(--line); background:#fff }

/* ---- several packages ---- */
.two{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px } @media (max-width:520px){ .two{ grid-template-columns:1fr } }
.pkg{ border:1.5px solid var(--line); border-radius:12px; padding:14px } .pkg h4{ margin:0; font-family:var(--display) } .xbtn{ padding:6px 12px; font-size:.85rem }
.refs{ display:flex; flex-wrap:wrap; gap:8px } .refchip{ background:var(--surface); color:var(--teal); border:1.5px solid var(--line); padding:6px 12px; font-family:var(--display) } .refchip.on{ background:var(--teal); color:var(--teal-ink); border-color:var(--teal) }
.stops{ margin:0; padding:0; list-style:none; display:flex; flex-direction:column; gap:8px; counter-reset:st }
.stops li{ display:grid; grid-template-columns:auto minmax(0,1fr); gap:10px; align-items:start; padding:8px; border-radius:10px; counter-increment:st }
.stops li.now{ background:var(--teal-soft) } .stops li b{ display:block }
.sk{ font-size:.72rem; font-weight:700; padding:3px 8px; border-radius:999px; white-space:nowrap } .sk::before{ content:counter(st) '. ' }
.sk.pickup{ background:#DDF3E6; color:#1B6B3E } .sk.dropoff{ background:var(--red-soft); color:var(--red) }
.nowcard{ border:2px solid var(--teal) } .plist{ margin:0; padding-left:1.1em; display:flex; flex-direction:column; gap:6px }
.scanlist{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px } .scanlist li{ padding:8px 10px; border:1.5px solid var(--line); border-radius:10px }
.scanlist li.got{ border-color:#1F9D55; background:#EAF7EF } .tick{ font-weight:700; margin-right:8px } .scanlist li.got .tick{ color:#1F9D55 }
@media (prefers-color-scheme: dark){ .scanlist li.got{ background:#123222 } .sk.pickup{ background:#173A27; color:#7FE0A6 } }

/* ---- step 5: dispatch ---- */
.wrap.wide{ max-width:1400px }
.stats{ display:flex; gap:10px; flex-wrap:wrap } .stats div{ background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:8px 14px; display:flex; flex-direction:column; min-width:90px }
.stats b{ font-family:var(--display); font-size:1.4rem } .stats span{ font-size:.75rem; color:var(--sub) }
.alarm{ padding:10px 14px; border-radius:10px; font-weight:600; display:flex; align-items:center; gap:10px; flex-wrap:wrap } .alarm.red{ background:var(--red-soft); color:var(--red); border:1.5px solid var(--red) }
.alarm.amber{ background:#FFF4DB; color:#8A5A00; border:1.5px solid #F2B01E } .alarm.ok{ background:var(--teal-soft); color:var(--teal) }
@media (prefers-color-scheme: dark){ .alarm.amber{ background:#3A2E12; color:#F5C55A } }
.dgrid{ display:grid; gap:16px; align-items:start } .dlookA{ grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) }
@media (max-width:900px){ .dlookA{ grid-template-columns:1fr } }
.mapcard{ padding:8px } #map{ height:560px; border-radius:10px } @media (max-width:560px){ #map{ height:360px } }
.legend{ display:flex; gap:12px; align-items:center; padding:6px 4px 0; flex-wrap:wrap } .lg{ display:inline-block; width:12px; height:12px; border-radius:50%; margin-right:4px; vertical-align:middle }
.lg.g{ background:#1F9D55 } .lg.r{ background:#B4472B } .lg.c{ background:#1E5AA8 } .lg.s{ background:#fff; border:3px solid #E0312B }
.mk{ width:26px; height:26px; border-radius:50%; display:grid; place-items:center; color:#fff; font-size:13px; font-weight:700; border:2px solid #fff; box-shadow:0 1px 4px rgba(0,0,0,.4) }
.mk.g{ background:#1F9D55 } .mk.r{ background:#B4472B } .mk.c{ background:#1E5AA8; font-size:12px } .mk.s{ border:3px solid #E0312B; box-shadow:0 0 0 3px rgba(224,49,43,.35) }
.bk{ border:1.5px solid var(--line); border-radius:12px; padding:10px 12px; display:flex; flex-direction:column; gap:6px } .bk.flash{ outline:3px solid var(--yellow) }
.acts{ display:flex; gap:8px; flex-wrap:wrap } .mini{ padding:6px 12px; font-size:.85rem } .danger{ color:var(--red) } .danger-fill{ background:var(--red); color:#fff }
.panel:empty{ display:none } .panel{ border-top:1px dashed var(--line); padding-top:8px; display:flex; flex-direction:column; gap:8px }

.warmbox{ display:block } .warmbox summary{ cursor:pointer } .warmbox .note{ margin-top:6px; color:inherit; font-weight:500 }

/* ---- step 6: billing ---- */
.dtabs{ display:flex; gap:6px; max-width:1400px; margin:14px auto 0; padding:0 16px } .dtabs a{ padding:8px 16px; border-radius:999px; border:1.5px solid var(--line); text-decoration:none; font-weight:700; color:var(--sub); background:var(--surface) }
.dtabs a.on{ background:var(--teal); color:var(--teal-ink); border-color:var(--teal) }
.closeweek{ padding:12px 14px; align-items:flex-end } .closeweek input{ width:auto }
.bgrid{ display:grid; gap:16px; align-items:start } .bkA{ grid-template-columns:minmax(0,1fr) minmax(0,1fr) } @media (max-width:900px){ .bkA{ grid-template-columns:1fr } }
.brow{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; align-items:center; padding:10px 0; border-top:1px solid var(--line) } .brow:first-child{ border-top:none }
.brow .panel{ grid-column:1 / -1 } .bend{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:flex-end } .bend a{ text-decoration:none }
.seg{ display:flex; gap:6px } .seg button{ background:var(--surface); color:var(--sub); border:1.5px solid var(--line) } .seg button.on{ background:var(--teal); color:var(--teal-ink); border-color:var(--teal) }
@media (max-width:560px){ .brow{ grid-template-columns:1fr } .bend{ justify-content:flex-start } }
.heavyline[hidden]{ display:none !important }
/* ---- courier: new-offer alarm, 15 s flash + ring (look A full screen, look B edge + banner) ---- */
@keyframes scFlashA { 0%, 100% { background: rgba(14,124,123,.96) } 50% { background: rgba(192,57,43,.96) } }
@keyframes scEdge { 0%, 100% { box-shadow: inset 0 0 0 10px #0E7C7B } 50% { box-shadow: inset 0 0 0 10px #C0392B } }
.scalarm { position: fixed; z-index: 9000; cursor: pointer; color: #fff; text-align: center }
.scalarm.alarmA { inset: 0; display: flex; align-items: center; justify-content: center; animation: scFlashA .8s steps(1) infinite }
.scalarm.alarmA .scalarm-ic { font-size: 5rem } .scalarm.alarmA .scalarm-t { font-size: 2.2rem; font-weight: 800; letter-spacing: .04em; margin-top: 12px } .scalarm.alarmA .scalarm-s { font-size: 1.2rem; margin-top: 8px; opacity: .9 }
/* ---- courier: navigation to the current stop ---- */
.navmap { height: 190px; border-radius: 12px; border: 1px solid var(--line) } .navbox { gap: 8px }
.nearmap { height: 180px; border-radius: 12px; border: 1px solid var(--line) }
.navpick { display: flex; gap: 8px; align-items: center } .navpick select { width: auto; padding: 6px 10px }
@keyframes scPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(14,124,123,.6) } 50% { box-shadow: 0 0 0 10px rgba(14,124,123,0) } }
[data-navgo].pulse { animation: scPulse 1.2s ease-in-out infinite }
/* ---- deliver to: search a facility or another address (2026-11-17) ---- */
.destpick { position: relative }
.dsug { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; margin-top: 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.12); max-height: 320px; overflow: auto; padding: 4px; min-width: 300px }
.dsug[hidden], .outbox[hidden], .depbox[hidden] { display: none !important }
.dsug button { display: block; width: 100%; text-align: left; background: none; border: 0; border-radius: 8px; padding: 8px 10px; cursor: pointer; font: inherit; color: inherit }
.dsug button:hover, .dsug button:focus { background: #EEF7F6 }
.dsug button span { display: block; font-size: .85rem; color: #5b6b6b }
.dsug .dout { border-top: 1px solid var(--line); margin-top: 4px; color: #0E7C7B }
.dsug .note { padding: 8px 10px }
.outbox { border: 1px dashed #E0A458; background: #FFF8EE; border-radius: 12px; padding: 12px }
.outflag { font-weight: 700; color: #8A4B00; font-size: .9rem }
.outmap { height: 240px; border-radius: 12px; border: 1px solid var(--line) }
.three { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px }
.pincard { border: 2px solid #E0A458; background: #FFF8EE }
/* setup key: a font where the letter O and zero differ */
code.key { font-family: "Cascadia Mono", Consolas, "DejaVu Sans Mono", monospace; font-size: 1.15rem; letter-spacing: .08em; font-variant-numeric: slashed-zero }
/* ---- booking chat (courier <-> dispatch) ---- */
.chat.chatA { position: fixed; inset: auto 0 0 0; z-index: 9500; padding: 0 8px 8px; background: transparent }
.chat.chatA .chin { max-width: 560px; margin: 0 auto; box-shadow: 0 -10px 40px rgba(0,0,0,.18); max-height: 75vh }
.chlist { overflow-y: auto; max-height: 45vh; min-height: 90px; display: flex; flex-direction: column; gap: 8px }
.chmsg { max-width: 85%; padding: 8px 12px; border-radius: 14px; background: #EEF2F2; align-self: flex-start }
.chmsg.mine { background: var(--teal); color: #fff; align-self: flex-end } .chmsg.mine .chwho { color: rgba(255,255,255,.8) }
.chwho { font-size: .75rem; color: #5b6b6b; margin-bottom: 2px } .chtext { white-space: pre-wrap; word-break: break-word }
.chsend { display: flex; gap: 8px } .chsend input { flex: 1 }
.chbadge { display: inline-block; min-width: 1.3em; padding: 0 .35em; margin-left: 6px; border-radius: 99px; background: #C0392B; color: #fff; font-size: .75rem; font-weight: 700; text-align: center }
.chbadge[hidden] { display: none }

/* A STAT and the daily routes (2026-11-18) */
.routewait{ background:#FFF4D6; color:#7A4B00; border-radius:10px; padding:8px 10px; font-size:.92rem; font-weight:600 }
.ck.onroute{ background:#FFFAEB; border-radius:8px }
.pill.routetag{ background:#FFF1C2; color:#7A4B00; white-space:normal }
.routehead{ margin-top:10px }
.statcard{ border-left:4px solid var(--red) }
.statask{ margin-top:6px }
@media (prefers-color-scheme: dark){ .routewait{ background:#3A2C0A; color:#F5D27A } .ck.onroute{ background:#2A230E } .pill.routetag{ background:#3A2C0A; color:#F5D27A } }
.incfab.mini{ padding:0; width:52px; height:52px; display:flex; align-items:center; justify-content:center } .incfab.mini span{ display:none }

/* Guaranteed STAT (2026-11-18): urgent choices with prices. A = three cards side by side, B = a list */
.urg{ display:grid; gap:8px; margin-top:8px }
.urgA{ grid-template-columns:repeat(3, minmax(0, 1fr)) }
.ucard{ text-align:left; background:var(--surface); border:1.5px solid var(--line); border-radius:12px; padding:10px; display:flex; flex-direction:column; gap:2px; color:var(--ink); font:inherit; cursor:pointer }
.ucard .uw{ color:var(--sub); font-size:.9rem } .ucard .up{ font-weight:800; font-size:1.05rem }
.ucard.on{ border-color:var(--teal); box-shadow:0 0 0 2px var(--teal-soft) }
.ucard.gold{ border-color:#D9A21B; background:#FFFAEB } .ucard.gold.on{ box-shadow:0 0 0 2px #F5D27A }
.ucard[disabled]{ opacity:.55; cursor:not-allowed }
@media (prefers-color-scheme: dark){ .ucard.gold{ background:#2A230E } }
@media (max-width:520px){ .urgA{ grid-template-columns:1fr } }
.pill.guarpill{ background:#F5C842; color:#3D2A00; font-weight:800 }
.offer.guarc{ border:2px solid #D9A21B; box-shadow:0 0 0 3px #FFF1C2 }
.guarline{ color:#7A4B00; font-weight:700 } .guartag{ color:#7A4B00; font-weight:700 }
.earn{ font-size:1.02rem }
@media (prefers-color-scheme: dark){ .offer.guarc{ box-shadow:0 0 0 3px #3A2C0A } .guarline, .guartag{ color:#F5D27A } }

/* My runs (2026-11-18) */
.myrun{ border-top:1px solid var(--line); padding-top:8px }
.mydays{ display:flex; flex-direction:column; gap:4px }
.myday{ display:grid; grid-template-columns:1fr auto auto; gap:8px; align-items:center; padding:4px 0 }
.myday.off span:first-child{ color:var(--sub); text-decoration:line-through }
.offchoice{ background:var(--teal-soft); border-radius:10px; padding:10px; margin:4px 0 8px }
.covreq{ border-left:4px solid var(--yellow) }
.rcour{ margin-top:-2px }
/* who drives the run today (2026-11-18) */
.runwho{ border-left:4px solid var(--teal) } .runwho.cover{ border-left-color:var(--yellow) }
.runeta{ font-size:1.05rem }
/* daily runs step 3 (2026-11-18) */
.stopnote{ background:#FFF4D6; color:#7A4B00; border-radius:8px; padding:6px 8px; font-weight:600 }
.covreq.board{ border-left-color:var(--teal) }
.weekbox{ background:var(--teal-soft); border-radius:10px; padding:10px }
.wkrow{ display:grid; grid-template-columns:1fr auto; column-gap:8px; padding:4px 0; border-bottom:1px solid var(--line) } .wkrow span:first-child{ font-weight:700 } .wkrow span:nth-child(2){ grid-column:1 / -1; order:3 } .wkrow.off span{ color:var(--sub) }
.rsrow [data-sn]{ grid-column:2 / -1; order:5 }
@media (prefers-color-scheme: dark){ .stopnote{ background:#3A2C0A; color:#F5D27A } }
/* daily runs step 4 (2026-11-18) */
.rrec{ margin-top:-2px } .rtab{ width:100%; border-collapse:collapse; font-size:.92rem } .rtab th,.rtab td{ text-align:left; padding:6px 4px; border-bottom:1px solid var(--line) }
.clrow.opened{ opacity:.7 } #cloBox,#recBox{ margin-top:14px } #estLine{ margin:4px 0 10px }
.wkrow span:first-child, .myday span:first-child{ white-space:nowrap }
/* monthly run price (2026-11-18) */
.conform{ background:var(--teal-soft); border-radius:10px; padding:10px } .conadd{ align-self:flex-start } .conrow .mini{ margin-left:6px }

/* courier photo (2026-11-18, look A) */
.cphoto { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid #fff; box-shadow: 0 0 0 1px #cfe3e0; background: #e3f0ee; }
.cphoto.sm { width: 28px; height: 28px; vertical-align: middle; margin-right: 6px; }
.cphoto.big { width: 96px; height: 96px; }
.cphoto.none { display: flex; align-items: center; justify-content: center; font-size: 22px; }
.cphoto.pend { opacity: .7; outline: 2px dashed #c9a227; outline-offset: 2px; }
.runme { display: flex; align-items: center; gap: 10px; }
.pwrap { display: flex; gap: 12px; align-items: center; }
.phrow { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid #e5eeec; flex-wrap: wrap; }
.phrow input { flex: 1; min-width: 160px; }
.pstat.approved { color: #0f7a6c; } .pstat.refused { color: #b3461f; }
.cwho { display: inline-flex; align-items: center; }
