/* Design B premium layer (Revision 4, 23 Oct 2026): loaded LAST, after app.css, on the CMS and the customer website.
   Visual finishing only: typography, radius, borders, elevation, focus and table density. It never hides a control,
   never changes what a control does, and keeps every status distinction (text + colour, never colour alone). */
:root{
  /* Premium redesign tokens (Moe 31 Oct, design_tokens.json v1), shared with the apps' AtozTheme */
  --r-small:8px; --r-control:12px; --r-card:16px; --r-hero:18px;
  --brand-blue:#0055D6; --brand-sky:#00B2FF; --brand-navy:#002B6B; --charcoal:#1A1A1A;
  --motion:200ms; --ease:cubic-bezier(.4,0,.2,1);
  --bg:#F5F7FB;
  --line:#DDE5F0;
  --soft:#EDF3FC;
  --shadow:0 2px 3px rgba(24,57,92,.03),0 10px 30px rgba(24,57,92,.06);
  --shadow-hero:0 4px 18px rgba(21,56,93,.07);
  --focus:#0055D6;
  /* --heading and the --display/--body font stacks are defined once, in app.css (3 Nov: one heading colour, one font) */
}
:root[data-theme="dark"]{
  --bg:#101C2D; --line:#34445C; --soft:#183559; --focus:#8AB8FF;
  --shadow:0 1px 2px rgba(0,0,0,.35); --shadow-hero:0 1px 2px rgba(0,0,0,.35);
}
body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* focus: one strong, visible ring everywhere (WCAG 2.2 focus appearance) */
:is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.btn.primary:focus-visible{outline:3px solid var(--ink);outline-offset:3px;box-shadow:inset 0 0 0 2px var(--surface)}

/* headings and page head */
.page-head h1{font-weight:750;letter-spacing:-.03em}
.panel-h h2{font-weight:650;letter-spacing:-.015em}
.page-head p{line-height:1.6}

/* surfaces */
.panel{border-color:var(--line);box-shadow:var(--shadow)}
.btn{font-weight:650;transition:background-color var(--motion) var(--ease),border-color var(--motion) var(--ease),box-shadow var(--motion) var(--ease)}
.btn.primary{box-shadow:0 2px 3px rgba(0,85,214,.10)}
.btn:active{box-shadow:none}
.input{box-shadow:0 1px 2px rgba(20,43,70,.02)}
.input::placeholder{color:var(--ink-3);opacity:1}
.kpi .val{font-weight:750;letter-spacing:-.035em}

/* tables: calmer header, steady rows */
table.cards thead th{font-size:calc(12px * var(--ts));letter-spacing:.02em;color:var(--ink-2);font-weight:650}
table.cards tbody tr{transition:background-color var(--motion) var(--ease)}

/* automatic dispatch panel (Dispatch page): its state is always visible, never a hidden switch */
.auto-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:16px;padding:16px 18px;margin:0 0 14px}
.auto-panel h2{margin:0 0 4px;font-size:calc(16px * var(--ts));color:var(--heading)}
.auto-panel .auto-state{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.auto-panel ul{margin:6px 0 0;padding-left:18px}
.auto-panel .auto-recent{font-size:calc(13px * var(--ts))}
@media (max-width:760px){.auto-panel{grid-template-columns:1fr}}

/* ---- customer website Home (Design B): welcome, next delivery, summary strip, carousel ---- */
.welcome{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px;align-items:center;margin:4px 0 22px}
.welcome>*{min-width:0}
.welcome h1{font-family:var(--display);font-size:clamp(1.75em,2.6vw,2.4em);line-height:1.14;letter-spacing:-.035em;font-weight:750;margin:0 0 .35em;color:var(--heading);text-wrap:balance}
.welcome p{color:var(--ink-2);max-width:52ch;margin:0}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.next-delivery{background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:var(--r-card);box-shadow:var(--shadow-hero);padding:18px 20px}
.next-delivery .eyebrow{font-size:calc(11px * var(--ts));letter-spacing:.095em;text-transform:uppercase;font-weight:700;color:var(--ink-3);margin:0}
.nd-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.nd-route{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;font-weight:650;overflow-wrap:anywhere;margin:0 0 12px}
.nd-route span[aria-hidden]{color:var(--ink-3);font-weight:400}
.nd-foot{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:12px}
.nd-foot small{display:block;font-size:calc(12px * var(--ts));color:var(--ink-3)}
.nd-foot strong{display:block;font-family:var(--display);font-size:calc(22px * var(--ts));font-weight:750;letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:var(--heading)}
.summary-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));background:var(--surface);border:1px solid var(--line);border-radius:var(--r-card);box-shadow:var(--shadow);margin:0 0 22px;overflow:hidden}
.summary-strip a{display:flex;align-items:center;gap:14px;padding:16px 18px;min-height:76px;color:inherit;text-decoration:none;border-right:1px solid var(--line)}
.summary-strip a:last-child{border-right:0}
.summary-strip a:hover{background:var(--surface-2)}
.summary-strip strong{font-family:var(--display);font-size:calc(28px * var(--ts));font-weight:750;letter-spacing:-.04em;font-variant-numeric:tabular-nums;color:var(--accent)}
.summary-strip span{font-size:calc(13px * var(--ts));color:var(--ink-2);max-width:18ch;line-height:1.35}
.home-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:20px;align-items:start;margin-bottom:22px}
.home-grid>*{min-width:0}
.carousel{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-card);box-shadow:var(--shadow);overflow:hidden}
.carousel .cslides{position:relative;aspect-ratio:16/9;background:var(--surface-2);max-width:100%}
.carousel .cslide{position:absolute;inset:0;margin:0}
.carousel .cslide img{width:100%;height:100%;object-fit:contain;display:block}
.carousel .cslide figcaption{position:absolute;left:0;right:0;bottom:0;padding:10px 14px;background:linear-gradient(transparent,rgba(10,34,67,.72));color:#fff;font-size:calc(13px * var(--ts))}
.carousel .cslide figcaption:empty{display:none}
.carousel-controls{display:flex;align-items:center;gap:12px;padding:10px 14px;border-top:1px solid var(--line)}
.carousel-controls .btn{min-width:48px;justify-content:center;padding:8px}
.carousel-controls .where{font-size:calc(13px * var(--ts));font-weight:650;margin-right:auto}
.carousel-controls .where small{display:block;font-weight:400;color:var(--ink-3)}
/* status pills: the company's status colour stays on the dot and the tint; the words use the text colour, so they
   are readable whatever colour a status has (WCAG 1.4.3 contrast, light and dark) */
.status-pill{color:var(--ink)}

/* order page: progress tracker and price card (Design B) */
.tracker{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;padding:16px 18px 18px;counter-reset:s}
.tracker li{position:relative;display:flex;flex-direction:column;gap:2px;padding-top:22px;min-width:0}
.tracker li::before{content:"";position:absolute;top:7px;left:0;right:0;height:3px;background:var(--line)}
.tracker li:first-child::before{left:8px}.tracker li:last-child::before{right:auto;width:8px}
.tracker li.t-done::before,.tracker li.t-current::before{background:var(--accent)}
.tracker .dot{position:absolute;top:0;left:0;width:17px;height:17px;border-radius:50%;background:var(--surface);border:3px solid var(--line)}
.tracker .t-done .dot{background:var(--accent);border-color:var(--accent)}
.tracker .t-current .dot{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}
.tracker .t-todo b{color:var(--ink-3);font-weight:600}
/* C02 (Moe Attar 15 Nov 2026): a failed pickup is its own step; the stages a closed failure stopped did not take place */
.tracker.n5{grid-template-columns:repeat(5,minmax(0,1fr))}.tracker.n6{grid-template-columns:repeat(6,minmax(0,1fr))}
.tracker li.t-failed::before{background:var(--bad)}
.tracker .t-failed .dot{background:var(--bad);border-color:var(--bad)}
.tracker .t-stopped .dot{border-style:dashed}
.tracker .t-stopped b{color:var(--ink-3);font-weight:600}
.outcome-box{padding:12px 18px 0}
.price-lines{margin:0;padding:6px 18px 16px}
.price-lines>div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid var(--line)}
.price-lines dt{color:var(--ink-2)}.price-lines dd{margin:0;font-variant-numeric:tabular-nums}
.price-lines .minus dd{color:var(--ok)}
.price-lines .sub{font-weight:650}
.price-lines .total{border-bottom:0;font-family:var(--display);font-size:calc(18px * var(--ts));font-weight:750;color:var(--heading)}
@media (max-width:560px){.tracker,.tracker.n5,.tracker.n6{grid-template-columns:1fr;gap:10px}.tracker li{padding:0 0 0 28px}.tracker li::before{display:none}}
@media (max-width:900px){.welcome,.home-grid{grid-template-columns:1fr}.summary-strip a{border-right:0;border-bottom:1px solid var(--line)}.summary-strip a:last-child{border-bottom:0}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* ---- Premium workspace (Moe 26 Oct; switch: Platform settings → New workspace layout). Design B tokens only. ---- */
.ws-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 0 14px}
.ws-head h1{margin:0}
.ws-actions{display:flex;flex-wrap:wrap;gap:8px}
.ws-next{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;margin:0 0 14px;border-left:4px solid var(--line)}
.ws-next.has-next{border-left-color:var(--accent)}
.ws-next.k-late{border-left-color:var(--bad)} .ws-next.k-at_risk{border-left-color:var(--warn)}
.ws-next .lbl{font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--ink-3)}
.ws-next-text{margin:4px 0 0;font-size:1.05rem}
.ws-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 14px}
.ws-count{display:flex;flex-direction:column;gap:2px;padding:14px 16px;text-decoration:none;color:var(--ink)}
.ws-count .val{font-size:1.9rem;font-weight:700;color:var(--heading)}
.ws-count.has-work .val{color:var(--accent)}
.ws-count .go{font-size:.85rem;color:var(--ink-3)}
.ws-count:focus-visible,.ws-next a:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.ws-exceptions{list-style:none;margin:0;padding:0}
.ws-exceptions li{display:grid;grid-template-columns:auto auto 1fr auto auto;align-items:center;gap:10px;padding:10px 16px;border-top:1px solid var(--line)}
.ws-exceptions li:first-child{border-top:0}
.ws-details{margin:14px 0}
.ws-details summary{cursor:pointer;list-style:none}
.ws-details summary::-webkit-details-marker{display:none}
.ws-details summary h2::before{content:"▸ ";color:var(--ink-3)} .ws-details[open] summary h2::before{content:"▾ "}
@media (max-width:640px){
  .ws-counts{grid-template-columns:1fr}
  .ws-exceptions li{grid-template-columns:1fr auto;row-gap:4px}
  .ws-exceptions li .dim,.ws-exceptions li > span:nth-of-type(2){grid-column:1/-1}
}
.ws-view{display:flex;align-items:center;gap:8px;margin:0}
.ws-view label{font-weight:600;font-size:.9rem}
.ws-result-count{white-space:nowrap;color:var(--ink-2)}
.more-views{display:inline-block;position:relative}
.more-views summary{list-style:none;cursor:pointer}
.more-views summary::-webkit-details-marker{display:none}
.more-views[open] .more-views-b{position:absolute;z-index:20;margin-top:6px;display:flex;flex-direction:column;gap:6px;padding:10px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-card);box-shadow:var(--shadow);min-width:220px}
@media (max-width:640px){.more-views[open] .more-views-b{position:static}}
.ws-settings-find{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 14px}
.ws-settings-find .search{flex:1;min-width:220px}
.ws-directory{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;margin:0 0 12px}
.ws-dir-entry{display:flex;flex-direction:column;gap:4px;padding:14px 16px;text-decoration:none;color:var(--ink)}
.ws-dir-entry b{color:var(--heading)}
.ws-dir-entry:hover,.ws-dir-entry:focus-visible{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px var(--accent-soft)}
.settings-layout.ws-focused{grid-template-columns:minmax(0,1fr)}
.settings-layout.ws-focused > *{grid-column:1 / -1!important}
.ws-dispatch-status{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;margin:0 0 12px}
.ws-dispatch{grid-template-areas:"map queue" "drivers drivers"}
.ws-dispatch .fleet-map-panel{grid-area:map}
.ws-dispatch .fleet-unassigned{grid-area:queue;grid-column:auto}
.ws-dispatch > .panel:nth-child(2){grid-area:drivers}
@media (max-width:1100px){.ws-dispatch{grid-template-areas:"map" "queue" "drivers"}}
.nt-group{border-top:1px solid var(--line)} .nt-group summary{padding:10px 16px;cursor:pointer}
.acct-menu{position:relative}
.acct-menu summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px}
.acct-menu summary::-webkit-details-marker{display:none}
.acct-menu[open] .acct-menu-b{position:absolute;right:0;top:calc(100% + 6px);z-index:30;min-width:230px;display:flex;flex-direction:column;gap:8px;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-card);box-shadow:var(--shadow)}
.acct-menu-b a{color:var(--ink);text-decoration:none;padding:4px 2px} .acct-menu-b a:hover,.acct-menu-b a:focus-visible{color:var(--accent)}
.acct-row{display:flex;gap:8px}
/* new layout: search is the widest control in the Orders toolbar */
.ws-view ~ .tabs ~ form.grow, .toolbar:has(.ws-view) form.grow{flex:1 1 360px;margin-left:0!important;order:-1;min-width:260px}
.toolbar:has(.ws-view) .ws-result-count{order:-1;align-self:center}
.toolbar:has(.ws-view) form.grow .search{width:100%}
.op-views{padding-left:16px}
/* phone widths: nothing wider than the screen (Moe 26 Oct: 320 px reflow, 200 % text) */
.ws-next > div{flex:1 1 240px;min-width:0}
.ws-next-text{overflow-wrap:anywhere}
@media (max-width:640px){
  .ws-exceptions li{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
  .ws-exceptions li .btn{margin-left:auto}
  .ws-head > div{min-width:0} .ws-head .dim{overflow-wrap:anywhere}
  header.top .search{min-width:0;flex:1 1 auto} header.top .search kbd{display:none}
  .ws-directory{grid-template-columns:1fr}
  .toolbar:has(.ws-view) form.grow{min-width:0;flex-basis:100%}
}
/* narrow screens: the single column may not grow wider than the screen (a 1fr track grows to its widest content) */
@media (max-width:1024px){.app{grid-template-columns:minmax(0,1fr)}}
.toolbar:has(.ws-view) form.grow .search{max-width:none}
/* phone order cards: the route needs the full card width (it overlapped the status below) */
@media (max-width:768px){table.cards td.route-cell{grid-column:1/-1}}
/* CMS-UX-01 (Moe pp.118-126): Orders density. Title, current view and count on one line; tabs, search and View on one;
   saved views and Filters on one. Nothing is removed: every filter, saved view, column and grouping stays. */
.page:has(.list-head){gap:12px}
.list-head{align-items:center;gap:8px 18px}
.list-head h1{font-size:calc(24px * var(--ts));line-height:calc(30px * var(--ts))}
.ws-head-facts{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;color:var(--ink-2)}
.ws-head-facts .ws-result-count{color:var(--ink)}
.ws-compact .toolbar{padding:6px 14px;gap:6px 12px}
.ws-compact .toolbar .tabs{border-bottom:0;padding:0}
.ws-compact .toolbar .tabs a[role=tab]{padding:8px 9px}
.ws-compact .toolbar:has(.ws-view) form.grow{order:0;flex:1 1 260px;margin-left:auto!important}
.ws-compact .toolbar .search{padding:5px 10px}
.ws-compact .toolbar .ws-view .input{padding-top:5px;padding-bottom:5px}
.ws-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:6px 14px;border-bottom:1px solid var(--line)}
.ws-bar .op-views{margin:0;padding-left:0}
.ws-bar .op-views .btn.sm{padding-top:4px;padding-bottom:4px}
.ws-bar details.filters{position:static;background:none;margin-left:auto}
.ws-bar details.filters[open]{flex-basis:100%;margin-left:0}
.ws-compact .view-summary{margin:6px 14px}
.ws-compact .applied-chips{margin:6px 14px}
.ws-bar{position:sticky;top:calc(58px + env(safe-area-inset-top,0px));z-index:4;background:var(--surface)} /* Filters stays in reach while scrolling, as before */
.ws-bar details.filters summary{padding:4px 6px}
@media (max-width:768px){.ws-bar{position:static}}
.ws-bar .op-views > .dim.small{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap} /* the row keeps its aria-label */
.ws-compact .toolbar .ws-view .input{max-width:190px}
.ws-compact .toolbar .ws-view .input{height:38px;min-height:38px}
.page:has(.list-head){padding-top:14px}
/* CMS-UX-01: Dispatch keeps the map and queue on the first screen; automation state stays visible, its rules expand */
.list-head .ws-dispatch-status{flex:1 1 380px;min-width:0;color:var(--ink-2)}
.auto-panel.auto-compact{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;padding:10px 16px;margin:0 0 10px}
.auto-compact .auto-state{flex:1 1 auto} .auto-compact h2{margin:0}
.auto-compact .auto-more{flex:0 1 auto} .auto-compact .auto-more[open]{flex-basis:100%}
.auto-compact .auto-more > summary{cursor:pointer;color:var(--accent);font-weight:600}
.page:has(.auto-compact) .ws-details{margin:0 0 10px}
.page:has(.auto-compact) .ws-details > summary.panel-h{padding-top:8px;padding-bottom:8px}
/* CMS-UX-01: longer French labels keep the same three lines; labels are never shortened (Moe p.124) */
.list-head{flex-wrap:nowrap} .list-head .ws-head-facts,.list-head .ws-dispatch-status{flex:1 1 0;min-width:0}
.list-head .actions{flex:none;flex-wrap:nowrap}
.ws-bar{flex-wrap:nowrap} .ws-bar .op-views{flex:1 1 auto;min-width:0;flex-wrap:nowrap}
.ws-bar .ovs{display:flex;gap:6px;min-width:0;overflow-x:auto;scrollbar-width:thin;padding:2px 0}
.ws-bar .ovs .btn{flex:none}
.ws-bar details.filters{flex:none}
.ws-bar:has(details.filters[open]){flex-wrap:wrap}
@media (max-width:900px){.list-head{flex-wrap:wrap} .ws-bar{flex-wrap:wrap} .ws-bar .op-views{flex-wrap:wrap}}
/* Moe 31 Oct p214 (CMS-UX-01 density, desktop): at 1447x652 the first ordinary row starts at y<=300 and at least five
   complete rows show. Less padding above the list (top bar, subscription notice, title line, tabs, saved views, column
   headers) and each address on one line (full text on hover, on the order page and in phone cards). Every control,
   notice, filter, saved view, column and grouping stays; text sizes are unchanged. Phones keep their cards. */
@media (min-width:1100px){
  body:has(.list-head) .top{padding-top:7px;padding-bottom:7px}
  .page:has(.list-head){gap:8px;padding-top:8px}
  body:has(.list-head) .sub-notice{margin:0;padding-top:5px;padding-bottom:5px}
  body:has(.list-head) .sub-notice .btn{padding-top:3px;padding-bottom:3px;min-height:0}
  .list-head .actions .btn{padding-top:7px;padding-bottom:7px;min-height:0}
  .ws-compact .toolbar{padding:3px 14px}
  .ws-compact .toolbar .ws-view .input{height:34px;min-height:34px}
  .ws-compact .toolbar .tabs a[role=tab]{padding:6px 9px}
  .ws-compact .toolbar .search{padding:4px 10px}
  .ws-bar{padding:3px 14px}
  .ws-bar .op-views .btn.sm{padding-top:3px;padding-bottom:3px}
  .ws-compact table thead th{padding-top:7px;padding-bottom:7px}
  .ws-compact tbody td{padding-top:7px;padding-bottom:7px}
  .ws-compact .route-cell{min-width:0;max-width:300px;width:300px}
  .ws-compact .route-cell span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:300px}
  .ws-compact .route-to{margin-top:1px}
}
/* ---- Premium step 7 (CMS, section 7 of the 31 Oct handoff). Visual only; nothing is hidden or removed. ---- */
/* shell: compact company/role context in the header where the sidebar is a drawer (the sidebar shows it on desktop) */
.top-ctx{display:none;flex-direction:column;justify-content:center;min-width:0;max-width:16ch;line-height:1.2}
.top-ctx b{font-size:calc(13px * var(--ts));color:var(--heading);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top-ctx small{font-size:calc(11.5px * var(--ts));color:var(--ink-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:1024px){
  .top-ctx{display:flex}
  /* a closed drawer is off screen AND out of the Tab order; it still slides out smoothly */
  .side{visibility:hidden;transition:transform var(--motion) var(--ease),visibility 0s linear var(--motion)}
  body.nav-open .side{visibility:visible;transition:transform var(--motion) var(--ease),visibility 0s}
  .side-close{width:44px;height:44px}
  .burger{min-width:44px;min-height:44px}
}
@media (max-width:420px){.top-ctx small{display:none}}
/* Today: a queue with nothing waiting stays a link but no longer takes a large card's weight; unknown is said, never 0 */
.ws-count.is-zero .val,.work-card.is-zero .val{font-size:calc(20px * var(--ts));color:var(--ink-2)}
.ws-count.is-zero,.work-card.is-zero{padding-top:10px;padding-bottom:10px}
.ws-count .na,.work-card .na,.more-queues .na{font-size:calc(14px * var(--ts));font-weight:600;color:var(--ink-2)}
/* Documents: the review buttons stay large enough to tap; a locked button reads as unavailable while saving */
form[data-busy-on-submit] .btn{min-height:44px}
form[data-busy-on-submit] .btn[data-busy-lock]{opacity:.55;cursor:progress}
/* Finance: statement totals as readable rows */
.stmt-sum .price-lines{max-width:520px}
.stmt-sum .panel-h{flex-wrap:wrap;gap:6px 10px}
/* ---- Premium CMS design (owner-approved 1 Nov 2026, CmsOrders mockup). Restyle only: every page, link, button, filter,
   column, export and action stays where it was; counts and statuses come from the same server queries as before. ---- */
:root{--ink:#1A1A1A; --side-active:rgba(255,255,255,.12); --side-hov:rgba(255,255,255,.08); --side-focus:#8AB8FF;
  --chip-on:var(--brand-navy); --chip-on-ink:#FFFFFF; --row-sel:#EDF3FC; --muted:var(--ink-3)}
:root[data-theme="dark"]{--ink:#E7EEF9; --side:#0B1A30; --chip-on:#A8C7FF; --chip-on-ink:#07111F; --row-sel:#183559}
/* side menu: navy, lighter inactive items, a soft highlight on the current page */
.side{background:var(--side);padding:20px 14px}
.nav{gap:4px}
.nav-item{padding:10px 12px;border-radius:10px;min-height:44px;color:var(--side-dim);font-size:calc(14px * var(--ts));font-weight:500}
.nav-item svg{color:currentColor;opacity:.9}
.nav-item:hover{background:var(--side-hov);color:#fff}
.nav-item[aria-current="page"]{background:var(--side-active);color:#fff;font-weight:600}
.nav-group.has-current>.nav-item{color:#fff;font-weight:600}
.nav-item[aria-current="page"] svg,.nav-group.has-current>.nav-item svg{color:#fff;opacity:1}
.nav-sub a{color:var(--side-dim);border-radius:8px;min-height:36px;display:flex;align-items:center}
.nav-sub a:hover{background:var(--side-hov);color:#fff}
.nav-sub a[aria-current="page"]{background:var(--side-active);color:#fff;font-weight:600;box-shadow:none}
.side :is(a,button,select,summary):focus-visible,.side .nav-item:focus-visible,.side .nav-sub a:focus-visible{outline:3px solid var(--side-focus);outline-offset:2px}
.brand small{color:var(--side-dim)}
@media (pointer:coarse){.nav-sub a{min-height:44px}}
/* page frame and title: 28px/700 navy title, 13px muted subtitle */
@media (min-width:1025px){.page{padding:24px 32px 48px}}
.page-head h1,.list-head h1,.ws-head h1{font-family:var(--display);font-size:calc(28px * var(--ts));line-height:calc(34px * var(--ts));font-weight:700;letter-spacing:-.02em;color:var(--heading)}
.ws-head > div > .dim{display:block;margin-top:2px}
.ws-head > div > .dim,.page-head > div > p,.page-head > p:not(.sr-only){font-size:calc(13px * var(--ts));line-height:1.5;color:var(--muted)}
.crumbs{color:var(--muted)}
/* cards and controls: 1px line, 16px card radius, 12px control radius */
.panel,.order-head,.next-delivery,.summary-strip,.carousel{border:1px solid var(--line);border-radius:var(--r-card);box-shadow:0 1px 2px rgba(10,34,67,.04)}
:root[data-theme="dark"] :is(.panel,.order-head){box-shadow:none}
.btn,.input,.icon-btn,.search,.settings-search,.combo .combo-list{border-radius:var(--r-control)}
.btn.primary{background:var(--accent);border-color:var(--accent)}
.search,.settings-search{min-height:44px;border:1px solid var(--line-strong);background:var(--surface);padding-top:0;padding-bottom:0}
.search svg{color:var(--muted)}
.toolbar{gap:8px 12px;padding:12px 16px}
/* filter chips: rounded pills; the selected one is navy filled. Same links, same order, same labels (and counts where
   the page already had them) as the tabs they replace visually */
.tabs{gap:8px;border-bottom:0;padding:2px 0;flex-wrap:wrap;overflow:visible;align-items:center}
.tabs a[role=tab],.tabs button[role=tab],.tabs > button,.ws-compact .toolbar .tabs a[role=tab]{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:7px 14px;
  border:1px solid var(--line);border-radius:99px;background:var(--surface);color:var(--ink);font-size:calc(13px * var(--ts));font-weight:500;line-height:1.3;text-decoration:none}
.tabs a[role=tab]:hover,.tabs > button:hover{border-color:var(--line-strong)}
.tabs a[role=tab][aria-selected=true],.tabs button[aria-selected=true],.ws-compact .toolbar .tabs a[role=tab][aria-selected=true]{background:var(--chip-on);border-color:var(--chip-on);color:var(--chip-on-ink);font-weight:600}
.tabs a[role=tab][aria-selected=true] .dim,.tabs a[role=tab][aria-selected=true] .num{color:inherit;opacity:.85}
.chip,.chip-radio span,.seg-a,.step{border-radius:99px;font-size:calc(13px * var(--ts))}
.chip,.chip-radio span{padding:7px 14px;border:1px solid var(--line);color:var(--ink);background:var(--surface);font-weight:500}
.chip[aria-pressed="true"],.chip-radio input:checked+span{background:var(--chip-on);border-color:var(--chip-on);color:var(--chip-on-ink);font-weight:600}
.seg,.seg-radio{border-radius:99px;padding:3px;background:var(--surface);border:1px solid var(--line)}
.seg-a{padding:6px 14px;color:var(--ink)}
.seg-a.on{background:var(--chip-on);color:var(--chip-on-ink);box-shadow:none}
.seg-radio span{border-radius:99px}
.seg-radio input:checked+span{background:var(--chip-on);color:var(--chip-on-ink);box-shadow:none}
.step.on{background:var(--chip-on);color:var(--chip-on-ink);box-shadow:none}
@media (pointer:coarse){.tabs a[role=tab],.tabs > button,.chip,.chip-radio span,.seg-a,.section-jump a{min-height:44px}}
/* tables: 12px uppercase muted headers, 12px/16px cells, #DDE5F0 separators, tinted selected row, bold blue order links */
th{padding-top:12px;padding-bottom:12px}
th,table.cards thead th{font-size:calc(12px * var(--ts));letter-spacing:.02em;text-transform:uppercase;color:var(--muted);font-weight:600;border-bottom:1px solid var(--line)}
td{padding:12px 16px;border-bottom:1px solid var(--line)}
/* wide lists keep fitting the page (app.css "tables fit the page"): 16px at the row edges (app.css first cell), 12px between columns */
td,th{padding-left:12px;padding-right:12px}
.table-wrap td:last-child,.table-wrap th:last-child{padding-right:16px}
table.orders td:not(:first-child):not(:last-child),table.orders th:not(:first-child):not(:last-child){padding-left:10px;padding-right:10px}
tbody tr:hover td{background:color-mix(in srgb,var(--row-sel) 55%,var(--surface))}
table.orders tr.is-selected td,tr.was-open td,.fleet-row-pick.on td{background:var(--row-sel)}
table.orders a.strong{color:var(--accent);font-weight:700;font-family:var(--body);font-size:calc(14px * var(--ts));font-variant-numeric:tabular-nums}
table.orders a.strong:hover{color:var(--heading);text-decoration:underline}
.pager{font-size:calc(13px * var(--ts));color:var(--muted);padding:12px 16px}
/* status pills (CMS): white bold text on the status colour, as the order header band (DB02). The 14 confirmed status
   colours all give white text 5.6:1 or more. The customer website keeps its own pill style. */
.app .status-pill{background:var(--c);color:#fff;font-weight:700;padding:3px 10px;border-radius:99px;font-size:calc(12px * var(--ts))}
.app .status-pill::before{display:none}
.status-band{border-radius:var(--r-card)}
.status-band h1{color:#fff}
/* order page and the side pane: sections as a tab-like row, label/value rows, the money block */
.section-jump{gap:6px;padding:8px 0;background:var(--bg)}
.section-jump a{display:inline-flex;align-items:center;min-height:36px;padding:7px 12px;border-radius:10px;border:1px solid var(--line);background:var(--surface);
  color:var(--ink);font-size:calc(13px * var(--ts));font-weight:500}
.section-jump a:hover{border-color:var(--line-strong);color:var(--ink)}
.section-jump a[aria-current],.section-jump a[aria-selected="true"]{background:var(--chip-on);border-color:var(--chip-on);color:var(--chip-on-ink);font-weight:600}
.order-head{gap:10px 32px;padding:14px 20px}
:root[data-theme="dark"] .note-box{color:var(--ink)} /* the note text was dark red on the dark tint */
.order-head dt,.facts dt,.doc-facts dt{font-size:calc(12px * var(--ts));letter-spacing:.02em;color:var(--muted)}
.price-table{width:100%;max-width:440px;font-size:calc(14px * var(--ts))}
.price-table td{border-bottom:0;padding:5px 0;height:auto}
.price-table td.r{padding-left:16px}
.price-table tr.total td{font-weight:700;font-size:calc(16px * var(--ts));border-top:1px solid var(--line);padding-top:10px}
.price-table tbody tr:hover td{background:none}
.order-pane .pane-bar{align-items:center}
.order-pane h1{font-family:var(--body);font-size:calc(20px * var(--ts));line-height:1.3;font-weight:700;color:var(--heading);margin:0 0 6px}
.order-pane .section-jump{position:static;margin:0 0 12px;padding:0;background:none}
/* settings and other in-page menus: the same soft highlight */
.settings-nav a{border-radius:10px;color:var(--ink-2);min-height:36px;display:flex;align-items:center}
.settings-nav a:hover{background:var(--surface);color:var(--ink);box-shadow:none}
.settings-nav a.on{background:var(--row-sel);color:var(--heading);box-shadow:inset 3px 0 0 var(--accent)}
/* Today and Dispatch cards keep their accents; the shared card shape */
.work-card,.ws-count,.kpi,.ws-dir-entry{border-radius:var(--r-card)}
/* order list toolbar: the search field is 44px tall like every other search */
.ws-compact .toolbar .search,.toolbar .search{padding:0 12px;min-height:44px}
@media (min-width:1100px){.ws-compact .toolbar .search{padding:0 12px}}
/* ---- Moe 8 Nov 2026 v2 L14 (brand and header). Where the sidebar is a drawer (up to 1024 px) the header shows the
   registered logo and the full company name (it showed the short code, cut to "C."). On a phone the header search folds
   into a search button that opens over the header when tapped, and the light/dark control moves into the account
   menu (as Text size already is), so the name always fits. Nothing is removed. ---- */
.top-ctx{flex-direction:row;align-items:center;gap:8px;max-width:none;min-width:auto;flex:0 1 auto}
.top-ctx .top-logo{height:30px;width:auto;max-width:72px;flex:none;object-fit:contain;background:#fff;border-radius:6px;padding:2px 3px;box-sizing:border-box}
.top-ctx-t{display:flex;flex-direction:column;justify-content:center;min-width:0;max-width:14em}
.top-ctx b,.top-ctx small{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:break-word}
.top-ctx b{line-height:1.15}
.acct-menu .theme-alt{display:none}
@media (max-width:640px){
  header.top{gap:6px}
  .top-ctx{flex:1 1 auto}
  .top-ctx .top-logo{height:26px}
  .top-ctx b{font-size:calc(12.5px * var(--ts))}
  header.top .search{position:relative;flex:0 0 auto;width:44px;min-width:44px;min-height:44px;padding:0;justify-content:center;cursor:pointer}
  header.top .search input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:16px;padding:0}
  header.top .search:focus-within{position:absolute;left:8px;right:8px;top:50%;transform:translateY(-50%);width:auto;z-index:8;padding:0 12px;justify-content:flex-start;box-shadow:var(--shadow)}
  header.top .search:focus-within input{position:static;opacity:1;cursor:text;height:auto;flex:1 1 auto;width:auto}
  .top-actions .theme-top{display:none}
  .acct-menu .theme-alt{display:grid}
}
/* ---- Moe 8 Nov 2026 v2 L02 (Orders controls): at most two rows above the list. The title line holds the two main
   pages (Active, Completed) and Add order; the toolbar holds the one search and "More filters", where every other
   view, filter, saved view, layout control and Auto-refresh now lives (same links and fields). ---- */
.orders-head{align-items:center}
.orders-head > h1,.orders-head > .lh-title{order:1}
.orders-head > .tabs{order:2;flex:none;padding:0;border-bottom:0;margin:0}
/* A01 (Moe 15 Nov 2026): Today and overdue / Future pickups in plain sight next to Active / Completed */
.orders-head > .sub-views-top{order:2;flex:none;display:flex;align-items:center}
@media (max-width:640px){.orders-head > .sub-views-top{flex:1 1 100%}}
.orders-head > .ws-head-facts{order:3}
.orders-head > .lh-title{flex:0 1 auto;min-width:0}
.orders-head > .actions{order:4;margin-left:auto}
.orders-head > .lh-break{display:none}
.orders-head .lh-view{color:var(--heading)}
.panel .toolbar.list-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px}
.panel .toolbar.list-tools > form.grow{flex:1 1 240px;min-width:0;width:auto;margin-left:0!important;order:0}
.panel .toolbar.list-tools .search{width:100%;max-width:none}
.list-tools > .updates-slot:empty{display:none}
.list-tools > details.filters{flex:none;margin-left:auto;border-bottom:0;position:static;background:none;z-index:auto;min-width:0;max-width:100%}
.list-tools .mf-body,.list-tools .mf-body form,.list-tools .mf-row > *{min-width:0;max-width:100%}
.list-tools .mf-body select.input{max-width:100%}
.list-tools > details.filters > summary{min-height:44px;padding:0 14px;border:1px solid var(--line-strong);border-radius:var(--r-control);background:var(--surface);color:var(--ink);gap:8px;white-space:nowrap}
.list-tools > details.filters > summary svg{transform:none!important}
.list-tools > details.filters[open]{flex-basis:100%;margin-left:0}
.list-tools > details.filters[open] > summary{width:max-content;margin-left:auto;background:var(--chip-on);border-color:var(--chip-on);color:var(--chip-on-ink)}
.list-tools .mf-body{display:flex;flex-direction:column;gap:12px;margin-top:10px;padding:12px 0 4px;border-top:1px solid var(--line)}
.list-tools .mf-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px}
.list-tools .mf-body .op-views{margin:0;padding-left:0}
.list-tools .mf-body .op-views > .dim.small{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}
.list-tools .mf-saved{display:flex;align-items:center;gap:8px;margin:0}
.list-tools .filters-b{padding:0}
.list-tools .driver-quick .input{width:auto;max-width:260px}
.panel .toolbar.list-tools > .applied-chips{margin:0;flex:0 1 auto;min-width:0}
@media (min-width:641px){.panel .toolbar.list-tools:has(> .applied-chips) > form.grow{flex-basis:180px}}
.list-tools .mf-num{display:none}
@media (min-width:769px){
  .list-tools{position:sticky;top:calc(58px + env(safe-area-inset-top,0px));z-index:4;background:var(--surface);border-radius:var(--r-card) var(--r-card) 0 0}
  .list-tools:has(details.filters[open]){position:static}
}
@media (max-width:640px){
  .page-head.orders-head{flex-wrap:wrap;align-items:center;gap:8px 10px}
  .orders-head > h1{font-size:calc(22px * var(--ts));line-height:1.2}
  .orders-head > .ws-head-facts{order:2;flex:1 1 0;min-width:0}
  .orders-head .lh-fact{display:none} /* date basis, period and time zone: in More filters (Date basis, Between) */
  .orders-head > .lh-title{order:1;flex-basis:100%}
  .orders-head > .lh-break{display:block;order:3;flex-basis:100%;height:0}
  .orders-head > .tabs{order:4;flex:1 1 auto;flex-wrap:nowrap;gap:6px}
  .page-head.orders-head > .actions{order:5;width:auto;margin-left:auto;flex:none}
  .page-head.orders-head > .actions .btn{flex:none;white-space:normal;line-height:1.15;text-align:center;max-width:11em;padding-inline:14px}
  .panel .toolbar.list-tools{padding:8px 12px}
  .panel .toolbar.list-tools > form.grow{flex:1 1 120px;width:auto}
  /* the number of active filters as a small badge (the "N active" words stay for screen readers) */
  .list-tools .mf-n{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .list-tools .mf-num{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:99px;background:var(--info-soft);color:var(--info);font-size:calc(12px * var(--ts));font-weight:700}
  .panel .toolbar.list-tools > .applied-chips{order:5;flex:1 1 100%;flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px}
  .list-tools > .applied-chips > *{flex:none;white-space:nowrap}
}
/* ---- Moe 8 Nov 2026 v2 L01: the approved compact order card on a phone. The order number and short status on one
   line (the status band), the short From and To below, nothing else; one tap opens the order with every detail. Flags
   (featured, note, round trip, unpaid Pay Now) stay on the band; the columns chosen for the wide table don't change
   the card. Rows no longer keep the 64 px table height (each cell was 64 px tall, about 300 px a card, and the band's
   flags overflowed onto From / To). ---- */
.route-lbl{display:none}
@media (max-width:768px){
  table.cards.orders tbody td{height:auto}
  table.cards.orders tr{grid-template-columns:minmax(0,1fr);gap:6px;padding:0 14px 10px}
  table.cards.orders td:first-child{flex-direction:row;flex-wrap:wrap;align-items:center;gap:2px 10px;padding:8px 14px;line-height:1.3}
  table.cards.orders td:first-child > a{flex:none}
  table.cards.orders td:first-child .card-status{flex:1 1 auto;min-width:0}
  table.cards.orders td:first-child > :not(a):not(.card-status){flex:none}
  table.cards.orders td:not(:first-child):not(.route-cell){display:none}
  table.cards.orders td.route-cell{display:flex;grid-column:1/-1;gap:2px;min-width:0;max-width:none}
  table.cards.orders td.route-cell::before{display:none}
  table.cards.orders td.route-cell .route-from,table.cards.orders td.route-cell .route-to{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;padding-left:0;margin:0;font-size:calc(13px * var(--ts))}
  table.cards.orders td.route-cell .route-from::before,table.cards.orders td.route-cell .route-to::before{display:none}
  table.cards.orders .route-lbl{display:inline-block;min-width:2.4em;margin-right:6px;color:var(--ink-3);font-size:calc(12px * var(--ts));font-weight:600}
}
/* ---- Moe 8 Nov 2026 v2 L01, customer web account (/my/). The approved compact card (as the Orders list on a phone):
   the order number and short status on one line, the short From and To below, one line each (the full address, dates
   and prices are on the order, one tap away). On a phone or tablet (up to 1024 px) the header is one line (logo, full
   company name, Menu); Menu opens the same links, language, light/dark and Sign out below it. Nothing is removed. ---- */
.plist .pcard{display:flex;flex-direction:column;gap:2px;padding:10px 18px;min-width:0}
.pcard .pc-top{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;min-width:0;margin-bottom:2px}
.pcard .pc-top .status-pill{max-width:100%;white-space:normal}
.pcard .pc-line{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:calc(13.5px * var(--ts));line-height:1.4}
.pcard .pc-top .pc-date{font-size:calc(13px * var(--ts));white-space:nowrap}
.pcard .pc-lbl{display:inline-block;min-width:2.6em;margin-right:4px;font-size:calc(12.5px * var(--ts))}
.pmenu{display:contents}
.ptop > .pbrand{order:0}
.ptop .pnav{order:1}
.ptop > .acting-for{order:2}
.ptop .pact{order:3}
.pmenu-btn{display:none}
@media (max-width:1024px){
  .ptop{gap:6px 10px;padding:8px 12px 8px 16px}
  .ptop > .pbrand{flex:1 1 0;min-width:0;gap:8px}
  .ptop > .pbrand b{min-width:0;white-space:normal;overflow-wrap:break-word;line-height:1.15}
  .ptop > .pbrand img{flex:none}
  .pmenu-btn{display:inline-flex;align-items:center;gap:8px;flex:none;order:1;min-height:44px;padding:0 14px;border-radius:var(--r-control);
    border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.12);color:#fff;font:inherit;font-weight:600;cursor:pointer}
  .pmenu-btn svg{width:20px;height:20px}
  .pmenu-btn .count{margin-left:0}
  .ptop.menu-open .pmenu-btn{background:var(--side-hover);border-color:rgba(255,255,255,.6)}
  .ptop > .acting-for{order:2;flex-basis:100%;padding:0 2px}
  .ptop.has-menu .pmenu{display:flex;order:3;flex-direction:column;gap:8px;flex-basis:100%;min-width:0;padding:8px 0 4px;border-top:1px solid rgba(255,255,255,.18)}
  .ptop.has-menu:not(.menu-open) .pmenu{display:none}
  .ptop.has-menu .pnav{flex-direction:column;flex-wrap:nowrap;gap:2px}
  .ptop.has-menu .pnav a{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 12px}
  .ptop.has-menu .pnav .count{margin-left:0}
  .ptop.has-menu .pact{margin-left:0;flex-wrap:wrap;padding:6px 12px 2px;border-top:1px solid rgba(255,255,255,.12)}
  .ptop.has-menu .pact .btn,.ptop.has-menu .pact .input{min-height:44px}
  .ptop.has-menu .pact .icon-btn{width:44px;height:44px}
}
@media (max-width:640px){
  .pmain{padding-block:14px 32px}
  .page-head.phead{flex-wrap:wrap;align-items:center;gap:8px 10px}
  .page-head.phead > div:first-child{flex:1 1 0}
  .page-head.phead h1{font-size:calc(22px * var(--ts));line-height:1.2}
  .page-head.phead .actions{width:auto;margin-left:auto;flex:none}
  .page-head.phead .actions .btn{flex:none;white-space:normal;line-height:1.15;text-align:center;max-width:11em;padding-inline:14px}
  .toolbar.ptools{padding:10px 12px;gap:8px}
  .toolbar.ptools .tabs{flex:1 1 100%;flex-wrap:nowrap;gap:6px}
  .toolbar.ptools form[role=search]{flex:1 1 100%;margin-left:0!important}
  .toolbar.ptools .search{width:100%;max-width:none}
  .plist .pcard{padding:9px 14px}
}

/* Continuous orders (Moe via Shammas, 14 Nov 2026): the switch beside "Book an order" and on the booking form */
.book-actions{display:flex;align-items:center;gap:12px 16px;flex-wrap:wrap}
.cont-switch{display:flex;flex-direction:column;gap:2px;min-width:0}
.cont-label{display:flex;align-items:center;gap:10px;cursor:pointer;min-height:44px;margin:0}
.cont-text{display:flex;flex-direction:column;line-height:1.25;min-width:0}
.cont-text b{font-weight:600;font-size:calc(14px * var(--ts))}
.cont-text small{font-size:calc(12px * var(--ts));color:var(--ink-3);max-width:280px}
.cont-state{font-size:calc(11px * var(--ts));font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:var(--ink-3)}
.cont-label:has(input:checked) .cont-state{color:var(--accent)}
.cont-err{font-size:calc(12px * var(--ts));color:var(--bad)}
@media (max-width:640px){
  .page-head.phead .actions.book-actions{width:100%;flex:1 1 100%;margin-left:0;justify-content:space-between}
  .page-head .actions.book-actions .btn{max-width:none}
  .book-actions{flex-direction:column;align-items:stretch}
  .book-actions .btn{width:100%;justify-content:center}
}
.info-line.placed-line{background:var(--ok-soft);color:var(--ok)}
.info-line.placed-line a{color:inherit;font-weight:600;text-decoration:underline}
/* A03 (Moe 15 Nov 2026): driver pay is a separate block under the customer charge */
.price-table tr.price-sep th{border-top:1px solid var(--line,#d9dee7);padding-top:10px;text-align:left;font-weight:600}

/* Moe Attar 28 Nov 2026: the order page's Driver fees panel (Admin only; orders/driver_fees.py) */
.fees-table{max-width:560px}
.fees-table thead th{font-weight:600;border-bottom:1px solid var(--line,#d9dee7);padding:4px 0 6px}
.fees-table th.r,.fees-table td.r{white-space:nowrap;padding-left:16px}
.fees-table tr.fees-sub td{border-top:1px solid var(--line,#d9dee7);padding-top:8px}
.fees-list{list-style:none;margin:6px 0 0;padding:0;max-width:560px}
.fees-list li{padding:5px 0}
