/* GuyWay for Business, Option B "Uber, monochrome" (Michel, 16 Oct 2026).
   Loaded last, after business.css, bizops.css and bizui.css, and built only
   from business.css's :root tokens. A black top bar, a white 240 px sidebar,
   a white page with no boxed cards: sections sit under 20 px bold titles and
   rows are split by hairlines. Type is the rider app's: body 14/19, row
   title 15/20, row sub 13/17.5, caption 12. Black is the action colour; lime
   is only a detail (the drop-off mark, live dots, the count badge, the active
   tab's marker, the focus ring), never a fill for a tile, card or big button. */

/* --- base ---------------------------------------------------------------------------- */
body{font-size:14px;line-height:19px;color:var(--fg);background:var(--card)}
body.app{--side:240px}
a{color:var(--ink)}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:where(a,button,summary,input,select,textarea,label):focus-visible{outline:2px solid var(--ink);outline-offset:2px;box-shadow:0 0 0 5px var(--lime)}

/* --- the trip marks (business.py place_mark, route_html): the rider app's shapes ---------- */
/* One size everywhere (10 px, the rider app's list size), centred on the first line of
   their text, in one column, and joined by a 1.5 px line from centre to centre as Uber
   and the rider app draw a trip. A row sets --lh (its line height) and --gap (the space
   to the next row); the line runs from this mark's centre to the next one's. */
.mk{display:inline-block;flex:none;width:10px;height:10px;vertical-align:middle;position:relative;z-index:1;top:-1px}
.mk.pickup{border-radius:50%;background:var(--ink)}
.mk.dropoff{border-radius:2px;background:var(--lime);box-shadow:inset 0 0 0 1.5px var(--ink)}
.mk.stop{width:8px;height:8px;margin:0 1px;border-radius:50%;background:var(--card);box-shadow:inset 0 0 0 1.5px var(--ink)}
.rt{--lh:19px;--gap:2px;display:flex;flex-direction:column;gap:var(--gap);min-width:0;position:relative}
.rt .rp{display:flex;align-items:flex-start;gap:10px;min-width:0;font-size:14px;line-height:var(--lh);color:var(--fg);position:relative}
.rt .rp .mk{top:0;margin-top:calc((var(--lh) - 10px) / 2 + .5px)}
.rt .rp .mk.stop{margin:calc((var(--lh) - 8px) / 2 + .5px) 1px 0}
.rt .rp:not(:last-child)::after{content:"";position:absolute;left:4.25px;top:calc(var(--lh) / 2 + .5px);width:1.5px;height:calc(100% + var(--gap));background:var(--fg3)}
.rt .rp .pl{min-width:0;overflow:hidden;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
.rt .rp.pickup .pl{color:var(--fg)}
.rt.wrap .rp .pl{-webkit-line-clamp:3;line-clamp:3}
.rt.sm{--lh:17.5px}
.rt.sm .rp{font-size:13px;color:var(--fg2)}.rt.sm .rp .pl{color:var(--fg2)}

/* --- top bar: black, the white wordmark, a dark search field ----------------------------- */
.top{background:var(--bar);color:var(--onbar);border-bottom:0;height:56px;min-height:56px;padding:0 24px 0 20px;gap:16px}
.top .brand{color:var(--barfg);font-size:13px;font-weight:500;gap:10px;width:216px;flex:none}
.top .brand img{height:19px}
.top .brand span{padding-top:3px}
.gsearch{flex:0 1 520px;max-width:520px;margin:0}
.gsearch>.ic{color:var(--barfg);left:16px}
body.app .gsearch input,.gsearch input{height:36px;margin:0;border:0;border-radius:999px;background:var(--bar2);color:var(--onbar);font-size:13px;padding:0 16px 0 42px}
body.app .gsearch input::placeholder{color:var(--barfg)}
body.app .gsearch input:focus{border:0;background:var(--bar3);padding-left:42px;outline:2px solid var(--lime);outline-offset:0;box-shadow:none}
.tright{gap:8px}
.tbtn{color:var(--onbar);height:32px}
.tbtn:hover{background:var(--bar2)}
.tbtn.help{background:var(--bar2);font-size:13px;padding:0 12px;height:32px}.tbtn.help:hover{background:var(--bar3)}
.tbtn.help .ic{width:16px;height:16px}
.tbtn.bell,.tbtn.sbtn{width:36px;height:36px}
.tbtn .dot{top:2px;right:0;min-width:16px;height:16px;padding:0 4px;background:var(--lime);color:var(--ink);font-size:10px;border:0;box-shadow:0 0 0 2px var(--bar)}
.av{width:32px;height:32px;background:var(--onbar);color:var(--ink);font-size:12px;font-weight:700}
.av.big{width:44px;height:44px;font-size:15px;background:var(--ink);color:var(--onbar)}
details.acct summary:focus-visible{outline:2px solid var(--lime);box-shadow:none}
.amenu{color:var(--fg)}
.amenu a,.top .amenu .link{font-size:14px;padding:10px;min-height:40px;color:var(--fg)}
.awho b{font-size:15px}.awho span,.arole{font-size:13px}

/* --- sidebar: white, 44 px rows, the active row tinted with a black bar --------------------- */
.side{top:56px;width:var(--side);border-right:1px solid var(--hl2);padding:16px 0}
.si{height:44px;padding:0 16px 0 17px;gap:14px;font-size:14px;line-height:19px;color:var(--fgs);border-left:3px solid transparent}
.si .ic{width:18px;height:18px;stroke-width:1.8}
.si:hover{background:var(--tint);color:var(--ink)}
.si.on{background:var(--tint);color:var(--ink);border-left:3px solid var(--ink);padding-left:17px}
.si.sub{padding-left:49px}
.si.sub.on{padding-left:49px}
.si .chev{width:14px;height:14px;color:var(--fgs)}
.si.book{height:40px;margin:0 16px 12px;padding:0 14px;border-radius:8px;border-left:0;background:var(--ink);color:var(--onbar);gap:8px;justify-content:center}
.si.book .ic{color:var(--onbar);width:16px;height:16px}
.si.book:hover{background:var(--ink);color:var(--onbar);filter:none;opacity:.86}
.si.book.on{padding-left:14px;border-left:0}
.sgap{height:16px}
.sfoot{margin:16px 20px 0;font-size:12px;color:var(--fg3)}

/* --- the page --------------------------------------------------------------------------- */
/* Content 1160 px wide, starting 40 px from the sidebar at every width; a wide
   screen's extra room goes to the right, never between the menu and the page
   (Michel, 17 Oct 2026). bizui.css carries the same rule. */
body.app main{max-width:1240px;padding:24px 40px 96px}
body.app .gwb-foot{max-width:1240px;padding:0 40px 32px;font-size:12px;color:var(--fg3)}
body.app .gwb-foot .helpline,.helpline{border:0;border-top:1px solid var(--hl2);border-radius:0;padding:16px 0 0;background:transparent;font-size:12px;line-height:16px}
.helpline b{font-weight:500;color:var(--ink)}
.helpline span{color:var(--fg3)}
.helpline a{font-weight:500;color:var(--ink)}
.gwb-foot p a{color:var(--fg3)}
.helpline.big{background:var(--ink);color:var(--onbar);border:0;border-radius:8px;padding:14px 16px}
.helpline.big b,.helpline.big span{color:var(--onbar)}
.helpline.big a{color:var(--lime)}
body.app .phead{display:flex;align-items:flex-end;gap:16px;margin:0 0 20px;flex-wrap:nowrap}
body.app .phead>div:first-child{min-width:0}
body.app .phead .pact{margin-left:auto;display:flex;gap:8px;flex-wrap:nowrap;flex:none}
body.app .eyebrow{font-size:13px;line-height:17px;font-weight:500;color:var(--fg3);margin:0 0 4px}
body.app h1,body.app .eyebrow+h1{font-size:28px;line-height:34px;font-weight:700;letter-spacing:-.6px;color:var(--ink)}
body.app .lead{font-size:14px;line-height:19px;color:var(--fg2);margin-top:6px;max-width:680px}
body.app h2{font-size:20px;line-height:26px;font-weight:700;letter-spacing:-.4px;color:var(--ink);margin:0 0 12px}
body.app h2.sect,body.app .sugg h2{font-size:20px;line-height:26px;margin:8px 0 12px}
body.app h2.big{font-size:28px;line-height:34px}
body.app h3,body.app .card h3{font-size:15px;line-height:20px;font-weight:500;color:var(--ink)}
body.app .muted{color:var(--fg3)}
body.app .small{font-size:13px;line-height:17.5px}
body.app p{line-height:19px}

/* sections, not boxes: a card is a section under its title */
body.app .card,body.app .tablewrap,body.app .card.attn,body.app .card.attention{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;margin:0 0 36px}
body.app .card.narrow{padding:0}
body.app .cardhead{display:flex;align-items:center;gap:10px;min-height:28px;margin:0 0 12px}
body.app .cardhead h2{margin:0;display:flex;align-items:center;gap:8px}
body.app .cardhead>a{margin-left:auto;font-size:13px;font-weight:500;color:var(--ink);text-decoration:underline;text-underline-offset:3px}
body.app .grid2{gap:0 40px}
body.app .grid2>.card{margin-bottom:36px}
body.app .card.attention{box-shadow:none;padding-left:0}

/* key numbers: one strip between two hairlines, split by thin rules */
body.app .cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:0;border:0;border-bottom:1px solid var(--hl2);
  margin:0 0 32px -20px;clip-path:inset(0 0 0 21px)}
body.app .cards>a,body.app .cards>div{border:0;border-top:1px solid var(--hl2);border-left:1px solid var(--hl2);border-radius:0;padding:14px 20px 16px 19px;
  box-shadow:none;background:transparent;gap:6px}
body.app .cards>a:hover{background:var(--tint);border-color:var(--hl2)}
body.app .cards span{font-size:13px;line-height:17px;color:var(--fg2)}
body.app .cards b{font-size:24px;line-height:30px;font-weight:700;letter-spacing:-.5px;color:var(--ink)}
body.app .cards small{font-size:12px;line-height:16px;color:var(--fg3)}

/* lists: rows split by hairlines */
body.app ul.list li,body.app ul.rows>li{border-top:1px solid var(--hl2);padding:12px 0}
body.app ul.list,body.app ul.rows{border-bottom:1px solid var(--hl2)}
body.app ul.list li:first-child,body.app ul.rows>li:first-child{padding-top:12px;border-top:1px solid var(--hl2)}
body.app .cardhead+ul.list li:first-child,body.app .cardhead+ul.rows>li:first-child{border-top:0;padding-top:0}
body.app .cardhead+ul.list,body.app .cardhead+ul.rows{border-bottom:1px solid var(--hl2)}
body.app ul.list li>b,body.app ul.rows b{font-size:15px;line-height:20px;font-weight:500;color:var(--ink)}
body.app ul.list li>span:not(.pill):not(.num){font-size:13px;line-height:17.5px;color:var(--fg2)}
body.app ul.rows p{font-size:13px;line-height:17.5px;color:var(--fg2)}
body.app ul.list li .num{font-size:14px;font-weight:500;color:var(--ink)}
body.app ol ol,body.app ul.list ol li,body.app ul.list ul li{border-top:0}
body.app ul.list ol.stops,body.app ul.list ol.riders{border-bottom:0}
body.app ul.list ul.list{border-bottom:0}

/* tables: dense, a hairline under each row, amounts right-aligned in tabular figures */
body.app .tablewrap{overflow-x:auto}
body.app table{font-size:14px;line-height:19px}
body.app th{height:40px;padding:0 16px;font-size:13px;font-weight:500;color:var(--ink);background:transparent;border-bottom:1px solid var(--hl2);white-space:nowrap;vertical-align:middle}
body.app td{padding:12px 16px;border-bottom:1px solid var(--hl2);color:var(--fg);vertical-align:middle}
body.app tr:last-child td{border-bottom:1px solid var(--hl2)}
body.app th:first-child,body.app td:first-child{padding-left:0}
body.app th:last-child,body.app td:last-child{padding-right:0}
body.app .num,body.app th.num,body.app td.num{text-align:right;font-variant-numeric:tabular-nums}
body.app td b.d,body.app td a.who b{font-size:14px;line-height:19px;font-weight:500;color:var(--ink)}
body.app td .muted.small,body.app td .sub{font-size:12px;line-height:16px;color:var(--fg3)}
body.app tbody tr:hover td{background:var(--hover,transparent)}
body.app td.empty{padding:28px 0;text-align:center;color:var(--fg2);white-space:normal}

/* buttons: black and compact; the second action a light grey */
body.app :where(button,.btn){display:inline-flex;align-items:center;justify-content:center;gap:8px;height:36px;min-height:36px;padding:0 14px;border:0;border-radius:8px;
  background:var(--tint);color:var(--ink);font-size:14px;line-height:19px;font-weight:500;white-space:nowrap;margin:0}
body.app :where(button,.btn):hover{background:var(--active)}
body.app button.primary,body.app .btn.primary{height:40px;min-height:40px;padding:0 16px;border-radius:8px;background:var(--ink);color:var(--onbar);font-size:14px;line-height:19px}
body.app button.primary:hover,body.app .btn.primary:hover{background:var(--ink);filter:none;opacity:.86}
body.app td button.primary,body.app td .btn.primary,body.app form.inline button.primary,body.app .rowact .primary,body.app ul.list .primary,body.app ul.rows .primary{height:36px;min-height:36px;padding:0 14px;font-size:14px}
body.app button.ghost,body.app .btn.ghostbtn{background:transparent}
body.app button.ghost:hover,body.app .btn.ghostbtn:hover{background:var(--tint)}
body.app button.link{background:none;height:auto;min-height:0;padding:2px 0;color:var(--fg2)}
body.app .btn.danger,body.app summary.btn.danger{background:var(--tint);color:var(--crit)}
body.app button.danger{background:var(--crit);color:var(--onbar)}
body.app button.wide{width:100%}
body.app form>button.primary,body.app .card>button.primary{margin-top:4px}
body.app .phead .pact .btn,body.app .phead .pact button{height:40px;min-height:40px;padding:0 16px}
.top .link{height:auto;min-height:0}
body.app .copy{height:36px;min-height:36px;font-size:14px}

/* fields: 40 px, a 1 px edge at 3:1, the focus ring black with a lime halo */
body.app :where(label){font-size:13px;line-height:17px;font-weight:500;color:var(--fg)}
body.app label .hint{color:var(--fg3);font-weight:400}
body.app :where(input:not([type=checkbox],[type=radio],[type=file]),select,textarea){background:var(--card);border:1px solid var(--edge);border-radius:8px;
  font-size:14px;color:var(--fg);margin-top:6px}
body.app :where(input:not([type=checkbox],[type=radio],[type=file]),select){height:40px;padding:0 12px}
body.app :where(textarea){padding:10px 12px;line-height:19px}
body.app :where(input):focus,body.app :where(select):focus,body.app :where(textarea):focus{border-color:var(--ink);outline:0;box-shadow:0 0 0 1px var(--ink),0 0 0 4px var(--lime);background:var(--card)}
body.app input[readonly]{background:var(--tint);color:var(--fg2)}
body.app label.check{font-size:14px;font-weight:400;color:var(--fg)}
body.app label.check input,body.app input[type=checkbox],body.app input[type=radio]{accent-color:var(--ink)}
body.app .filters{gap:8px 12px;margin:0 0 16px}
body.app .filters label{margin:0}

/* tabs: the active one black with a thin lime marker on a black edge */
body.app nav.tabs{display:flex;gap:24px;border-bottom:1px solid var(--hl2);box-shadow:none;margin:0 0 20px;overflow-x:auto}
body.app nav.tabs a{height:40px;padding:0;display:flex;align-items:center;gap:6px;font-size:14px;line-height:19px;font-weight:500;color:var(--fg2);
  border-bottom:0;margin:0;text-decoration:none;white-space:nowrap}
body.app nav.tabs a:hover{color:var(--ink)}
body.app nav.tabs a.on{color:var(--ink);box-shadow:inset 0 -1.5px 0 var(--ink),inset 0 -4px 0 var(--lime)}
body.app nav.tabs .count,body.app nav.tabs a.on .count{background:transparent;color:var(--fg3);font-weight:400;font-size:14px;min-width:0;padding:0;margin:0;height:auto}

/* the count badge: black with lime figures */
body.app .count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--ink);color:var(--lime);
  font-size:11px;font-weight:700;vertical-align:middle;letter-spacing:0}

/* status: a small dot and a word. Black is fine, hollow is waiting, red is stopped, lime is moving now */
body.app .pill[class]{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;border-radius:0;background:transparent;color:var(--ink);
  font-size:13px;line-height:17px;font-weight:400;white-space:nowrap}
body.app .pill::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:var(--ink)}
body.app .pill.pending,body.app .pill.open,body.app .pill.invited,body.app .pill.muted,body.app .pill.warn{color:var(--ink)}
body.app .pill.pending::before,body.app .pill.open::before,body.app .pill.invited::before,body.app .pill.muted::before{background:var(--card);box-shadow:inset 0 0 0 1.5px var(--ink)}
body.app .pill.warn::before{background:var(--card);box-shadow:inset 0 0 0 1.5px var(--crit)}
body.app .pill.paused[class],body.app .pill.bad[class]{color:var(--crit)}
body.app .pill.paused::before,body.app .pill.bad::before{background:var(--crit)}
body.app .pill.live::before,body.app .live .pill.active::before,body.app .rides-live .pill::before{background:var(--lime);box-shadow:0 0 0 1.5px var(--ink)}
body.app .pill.muted[class]{color:var(--fg3)}
/* a label, not a status: grey tag */
body.app .pill.share[class],body.app .pill.tag[class],body.app .card.alerts .pill[class],body.app .flaghead .pill[class]{display:inline-flex;height:20px;padding:0 6px;border-radius:6px;background:var(--tint);
  color:var(--ink);font-size:12px;font-weight:500;gap:0}
body.app .pill.share::before,body.app .pill.tag::before,body.app .card.alerts .pill::before,body.app .flaghead .pill::before{display:none}

/* notices */
body.app .notice{border-radius:8px;padding:12px 16px;background:var(--tint);color:var(--fg);font-size:14px}
body.app .notice.ok{background:var(--tint);color:var(--ink)}
body.app .notice.ok::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--ink);margin-right:10px;vertical-align:1px}
body.app .notice.bad{background:var(--tint);color:var(--crit)}
body.app p.warn{background:var(--tint);color:var(--crit)}
body.app .code{background:var(--tint);border-radius:6px}

/* --- Home ---------------------------------------------------------------------------------- */
body.app .card.alerts ul.list li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 16px;align-items:center}
body.app .card.alerts ul.list li>b{grid-row:1;grid-column:1}
body.app .card.alerts ul.list li>span:not(.pill){grid-row:2;grid-column:1;margin:0;flex:none}
body.app .card.alerts ul.list li>.pill{grid-row:1/3;grid-column:2;justify-self:end}
body.app .card.alerts h2 .count{margin-left:0}
ul.list.now li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;align-items:start}
ul.list.now li>b{grid-column:1}ul.list.now li>.rt{grid-column:1}ul.list.now li>.pill,ul.list.now li>.num,ul.list.now li>.btn{grid-column:2;grid-row:1;justify-self:end}
ul.list.now li>.when{grid-column:2;grid-row:2;justify-self:end;font-size:12px;color:var(--fg3)}
body.app ul.list.now li>span.when{font-size:12px;color:var(--fg3);flex:none;min-width:0}
body.app .funnelcard .fbig b{font-size:24px;line-height:30px}
body.app svg.segbar{height:8px}
body.app svg.segbar .s2{fill:var(--fg3)}body.app svg.segbar .s3,body.app svg.segbar.funnel .s3{fill:var(--edge)}body.app svg.segbar .s4{fill:var(--crit)}
body.app svg.segbar.funnel .s4{fill:var(--track)}
body.app i.s2{background:var(--fg3)}body.app i.s3,body.app .funnelcard i.s3{background:var(--edge)}body.app i.s4{background:var(--crit)}body.app .funnelcard i.s4{background:var(--track)}
body.app .legend i,body.app .flist i{border-radius:50%;width:8px;height:8px}
body.app .sugg{margin:0 0 36px}
body.app .sgrid{gap:0;border-top:1px solid var(--hl2)}
body.app .scard{border:0;border-radius:0;border-left:1px solid var(--hl2);padding:14px 20px 16px;gap:6px;background:transparent}
body.app .scard:first-child{border-left:0;padding-left:0}
body.app .scard:hover{background:transparent}
body.app .scard b{font-size:15px;line-height:20px}
body.app .scard span{font-size:13px;line-height:17.5px;color:var(--fg2)}
body.app .scard em{height:32px;padding:0 12px;display:inline-flex;align-items:center;border-radius:8px;background:var(--tint);font-size:13px}
body.app .nsteps{padding:0}
body.app .ns{border:1px solid var(--hl2);border-radius:8px}
body.app .nsteps .setup-head h2{font-size:20px;line-height:26px}
body.app .nsteps .setup-head p{font-size:13px;line-height:17.5px}
body.app .nsp h3{font-size:20px;line-height:26px}
body.app .nsp p{font-size:14px;line-height:19px}
body.app .bigcode .code{font-size:18px}
body.app .hero{padding:4px 0 20px;border-bottom:1px solid var(--hl2);margin-bottom:28px}
body.app .hero span{font-size:13px;line-height:17px;color:var(--fg2)}
body.app .hero b{font-size:32px;line-height:40px;font-weight:700;letter-spacing:-.6px;color:var(--ink);margin:4px 0 4px}
body.app .hero p{font-size:13px;line-height:17.5px;color:var(--fg2)}

/* --- People and lists with a selection ----------------------------------------------------- */
body.app .ph-top b.big,body.app .ph-top b.big small{font-size:24px;line-height:30px}
body.app table.people th{font-size:13px;line-height:17px;padding:0 16px;height:40px}
body.app table.people th:first-child,body.app table.people td:first-child{padding-left:0}
body.app table.people td{height:56px;padding:8px 16px;font-size:14px;line-height:19px}
body.app table.people td a.who b{font-size:14px;line-height:18px}
body.app table.people td .sub{font-size:12px;line-height:16px;color:var(--fg3)}
body.app table.people input.selbox,body.app table.people input.selall{width:16px;height:16px}
body.app table.people tr.sel td,body.app table.people tr:has(.selbox:checked) td{background:var(--tint)}
body.app .pfilters input[type=search],body.app .pfilters select{height:36px;border-radius:8px;border:1px solid var(--edge);font-size:13px}
body.app .pfilters select{border-radius:999px;padding:0 12px 0 14px;font-weight:500}
body.app .bulkbar{position:fixed;left:var(--side);right:0;bottom:0;margin:0;height:64px;padding:0 max(40px,calc(100vw - var(--side) - 1200px)) 0 40px;z-index:25;
  background:var(--card);border-top:1px solid var(--hl2);box-shadow:0 -6px 20px rgba(0,0,0,.06);flex-wrap:nowrap}
body.app .bulkbar .selcount{font-size:15px;font-weight:700;color:var(--ink)}
body.app .bulkacts{margin-left:auto;flex-wrap:nowrap}
body.app .bulkacts select{height:36px;border-radius:8px}
body.app .tcount{color:var(--fg3);font-size:13px}

/* --- Trips, Scheduled, Flagged -------------------------------------------------------------- */
body.app td.route{min-width:220px;max-width:400px}
body.app td.route>span:not(.rt){display:block;max-width:none}
/* business.css's older td.route rule (spans clipped on one line) must not reach the route: it
   cut the line between the marks and the address mid-word */
body.app td.route .rt,body.app td.route .rt .rp{max-width:none;overflow:visible;white-space:normal;text-overflow:clip}
body.app td.route .rt .rp .pl{max-width:360px;white-space:normal;text-overflow:clip;overflow:hidden}
body.app td.route .rt .rp:first-child:last-child::after{content:none}
body.app table.trips td{vertical-align:middle}
body.app table.trips td .pill.share{margin-top:4px}
body.app .tripsum{font-size:13px;color:var(--fg2);margin:0 0 8px}
body.app .tripsum b{color:var(--ink);font-weight:500}
body.app ul.rows.flags>li{align-items:center}
body.app .flaghead b{font-size:15px}

/* --- Book and the shared car ------------------------------------------------------------------ */
body.app .bookgrid{gap:40px;grid-template-columns:minmax(0,1fr) 340px}
body.app .bookside .card{border-left:1px solid var(--hl2);padding-left:24px}
body.app .seg{border:1px solid var(--edge);background:var(--tint);border-radius:999px}
body.app .seg span{padding:7px 16px;font-size:13px}
body.app .seg input:checked+span{background:var(--ink);color:var(--onbar)}
body.app .chip span{border:1px solid var(--edge);border-radius:8px;padding:8px 12px}
body.app .chip input:checked+span{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink);background:var(--tint)}
body.app .pick-list{border:1px solid var(--edge);border-radius:8px}
body.app .pick-list li:has(input:checked){background:var(--tint)}
body.app .pick-list label:hover{background:var(--tint)}
body.app .sharebox{border:1px solid var(--hl2);border-radius:var(--r);background:var(--card)}
body.app .switchrow input:checked+.sw{background:var(--ink)}
body.app .savebar{background:var(--tint);color:var(--ink);border-radius:8px}
body.app .carsave{color:var(--fg2)}
body.app .sumtotal{border-top:1px solid var(--hl2)}
body.app .sumtotal b{font-size:20px;color:var(--ink)}
body.app .sumlist li.refused b,body.app .sumlist .why-no{color:var(--crit)}
body.app .sumlist li.warned b{color:var(--ink)}
body.app .sumlist .why-warn{background:var(--tint);color:var(--crit)}
/* the shared car's stops: the order number in a small black disc, then the place's mark */
body.app .carhead b{font-size:15px}
body.app .carimg{width:112px;height:52px;object-fit:contain;flex:none;background:var(--tint);border-radius:6px;padding:4px}
body.app .carrow{display:flex;gap:16px;align-items:flex-start}
body.app .carrow>ol{flex:1;min-width:0}
body.app .seq,body.app ul.list ol li>span.seq.seq{flex:0 0 18px;width:18px;height:18px;font-size:10px;background:var(--ink);color:var(--onbar);border:0}
body.app ul.list ol li.endstop>span.seq.seq{background:var(--ink);border:0}
/* a shared car's stops and riders: the order disc, then the mark; the marks are joined
   by the same 1.5 px line, down to the destination (--pt is the row's top padding) */
body.app ol.stops,body.app ol.riders{--lh:19px;--pt:4px;--gap:0px}
body.app ol.riders{--pt:2px}
body.app ol.stops li,body.app ol.riders li{gap:8px;align-items:flex-start;position:relative}
body.app ol.stops li>.seq,body.app ol.riders li>.seq{margin-top:calc((var(--lh) - 18px) / 2 + .5px)}
body.app ol.stops li>.mk,body.app ol.riders li>.mk{top:0;margin:calc((var(--lh) - 10px) / 2 + .5px) 0 0}
body.app ol.stops li:not(:last-child)::before{display:none}
body.app ol.stops li:not(:last-child)::after,body.app ol.riders li:not(:last-child)::after{content:"";position:absolute;left:30.25px;
  top:calc(var(--pt) + var(--lh) / 2 + .5px);width:1.5px;height:calc(100% + var(--gap));background:var(--fg3)}

/* --- Live ---------------------------------------------------------------------------------------- */
body.app .livegrid{grid-template-columns:380px minmax(0,1fr);gap:32px}
body.app .livemap{border-radius:8px;overflow:hidden;padding:0}
body.app #live-map{border-radius:8px}
body.app .livemap .leaflet-tile-pane{filter:grayscale(1) contrast(.92) brightness(1.04)}
body.app ul.rides-live li{padding:12px 0;gap:12px}
body.app .rides-live .face{width:40px;height:40px;background:var(--tint);color:var(--ink);font-size:13px}
body.app .rides-live .rl b{font-size:15px;line-height:20px;font-weight:500;color:var(--ink)}
body.app .rides-live .rl span{font-size:13px;line-height:17.5px;color:var(--fg2)}
body.app .rides-live .rl .plate{font-family:var(--font);font-weight:500;color:var(--ink);letter-spacing:.02em}
body.app .rides-live .eta b{font-size:15px;font-weight:500}
body.app .rides-live .eta{font-size:12px;color:var(--fg3)}
body.app .rides-live li.sel{background:var(--tint)}
body.app .rides-live .carimg{width:96px;height:44px;margin-top:6px}
body.app .rides-live .lh{display:flex;align-items:baseline;gap:8px;min-width:0}
body.app .rides-live .lh .eno{font-size:12px;color:var(--fg3)}
body.app .rides-live .lst{margin:2px 0}
body.app .rides-live .rl>.car{color:var(--fg2)}
body.app .rides-live .rl .rt{margin-top:4px}
body.app .rides-live .rl .rt .pl{color:var(--fg)}
body.app .rides-live .carrow{margin-top:8px;gap:12px;align-items:center}
body.app .rides-live ol.riders{margin:0;display:flex;flex-direction:column;gap:4px}
body.app .rides-live ol.riders{--lh:17px;--pt:0px;--gap:4px}
body.app .rides-live ol.riders li{display:flex;align-items:flex-start;gap:8px;padding:0;border:0;font-size:13px;line-height:17px;color:var(--fg)}
body.app .rides-live ol.riders li .nm{color:var(--fg);font-size:13px}
body.app .rides-live ol.riders li .muted{margin-left:auto;font-size:12px;color:var(--fg3)}
.carpin{position:absolute;left:0;top:0;transform:translate(-50%,-50%);width:auto;min-width:28px;height:26px;padding:0 9px 0 6px;border-radius:999px;border:0;background:var(--ink);color:var(--onbar);
  font:700 11px/26px var(--font);display:flex;align-items:center;gap:6px;white-space:nowrap;box-shadow:0 2px 8px rgba(0,0,0,.25)}
.carpin::before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:var(--lime)}
.pickpin{width:20px;height:20px;border:3px solid var(--card);border-radius:50%;background:var(--ink);box-shadow:0 1px 4px rgba(0,0,0,.25)}
.droppin{width:20px;height:20px;border:3px solid var(--card);border-radius:5px;background:var(--lime);box-shadow:inset 0 0 0 2px var(--ink),0 1px 4px rgba(0,0,0,.25)}
.stoppin{width:18px;height:18px;border:3px solid var(--card);border-radius:50%;background:var(--card);box-shadow:inset 0 0 0 2px var(--ink),0 1px 4px rgba(0,0,0,.25)}
.leaflet-container .leaflet-control-zoom{border:0;box-shadow:0 1px 4px rgba(0,0,0,.2);border-radius:6px}

/* --- Ride policy, settings, billing, reports, support ---------------------------------------------- */
body.app ul.rulelist>li{border-top:1px solid var(--hl2)}
body.app ul.rulelist>li>details>summary{padding:14px 0}
body.app ul.rulelist .rk{font-size:15px;line-height:20px}
body.app ul.rulelist .rv{font-size:13px;color:var(--fg2)}
body.app details.inline-edit[open]>form{background:var(--tint);border-radius:8px}
body.app label.choice{border:1px solid var(--edge);border-radius:8px}
body.app label.choice:has(input:checked){border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
body.app .tile{border:1px solid var(--hl2);border-radius:8px}
body.app .tile.on{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
body.app ul.roles li{border:1px solid var(--hl2);border-radius:8px}
body.app .confirmbox{border:1px solid var(--hl2);border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.12)}
body.app .cards.stiles>a{padding:14px 20px 16px}
body.app .cards.stiles>a.on{background:var(--tint)}
body.app .cards.stiles b{font-size:24px;line-height:30px}
body.app .colorder{border:1px solid var(--hl2);border-radius:8px}
body.app ol.chosen li{background:var(--tint);border-color:var(--tint)}
body.app .rbar{border-top:1px solid var(--hl2)}
body.app ol.thread li{border-radius:12px;background:var(--tint)}
body.app ol.thread li.mine{background:var(--ink);color:var(--onbar)}
body.app ul.secitems li.ok{background:var(--tint);border-radius:8px}
body.app ul.secitems li.todo details{border:1px solid var(--edge);border-radius:8px}
body.app .tick{background:var(--ink)}
body.app .secbar i.on{background:var(--ink)}
body.app label.drop .dz{border:1.5px dashed var(--edge);border-radius:8px}
body.app .bars rect.done{fill:var(--ink)}
body.app .nowcard{background:var(--tint);border-radius:8px;padding:16px 20px}
body.app .nowcard h2{color:var(--ink)}
body.app .nowcard p{color:var(--fg2)}
body.app .nowcard .btn.primary{background:var(--ink);color:var(--onbar)}
body.app table.matrix .yes{background:var(--ink)}
body.app .why li::before{background:var(--ink)}
body.app .why li::after{border-color:var(--onbar)}
body.app ol.checklist li.next{background:linear-gradient(90deg,var(--tint),transparent 70%)}
body.app ol.checklist li.done i::after{border-color:var(--lime)}
body.app ol.stepper li.on span{background:var(--ink)}
body.app ol.stepper li.done span{background:var(--tint);color:var(--ink)}

/* --- signed out: sign-in, sign-up, forgotten and new password -------------------------------------- */
body.out{background:var(--card)}
body.out .top{background:var(--card);justify-content:center;height:72px;min-height:72px;border-bottom:0;padding:0 16px}
body.out .top .brand{width:auto;color:var(--fg3);justify-content:center}
body.out .top .brand img{height:22px}
body.out main{max-width:440px;margin:0 auto;padding:24px 16px 48px}
body.out .phead{display:block;text-align:left;margin:16px 0 20px}
body.out .phead .pact{display:none}
body.out h1{font-size:28px;line-height:34px;font-weight:700;letter-spacing:-.6px;color:var(--ink)}
body.out .eyebrow{font-size:13px;font-weight:500;color:var(--fg3);margin:0 0 4px}
body.out .lead{font-size:14px;line-height:19px;color:var(--fg2)}
body.out .auth{max-width:none}
body.out .card{background:transparent;border:0;box-shadow:none;padding:0;margin:0 0 20px;border-radius:0}
body.out .card.narrow{max-width:none}
body.out label{font-size:13px;line-height:17px;font-weight:500;color:var(--fg);margin:0 0 14px}
body.out :where(input:not([type=checkbox],[type=radio]),select,textarea){height:48px;margin-top:6px;padding:0 14px;border:1px solid var(--edge);border-radius:8px;
  background:var(--tint);font-size:15px;color:var(--fg)}
body.out :where(textarea){height:auto;padding:12px 14px}
body.out input:focus,body.out select:focus,body.out textarea:focus{background:var(--card);border-color:var(--ink);outline:0;box-shadow:0 0 0 1px var(--ink),0 0 0 4px var(--lime)}
body.out :where(button,.btn){height:48px;min-height:48px;border:0;border-radius:8px;background:var(--tint);color:var(--ink);font-size:15px;font-weight:500;padding:0 16px;margin:0}
body.out button.primary,body.out .btn.primary{width:100%;background:var(--ink);color:var(--onbar);margin-top:6px}
body.out button.primary:hover,body.out .btn.primary:hover{background:var(--ink);opacity:.86}
body.out p{line-height:19px}
body.out .muted{color:var(--fg3)}
body.out .notice{border-radius:8px;background:var(--tint);color:var(--fg)}
body.out .notice.bad{color:var(--crit)}
body.out .notice.ok{color:var(--ink)}
body.out .auth .forgot{margin:-6px 0 16px;font-size:13px}
body.out .auth .forgot a{color:var(--ink)}
body.out ol.stepper span{background:var(--tint);color:var(--fg2)}
body.out ol.stepper li.on span{background:var(--ink);color:var(--onbar)}
body.out .split{gap:48px}
body.out .why li::before{background:var(--ink)}
body.out .why li::after{border-color:var(--onbar)}
body.out .gwb-foot{max-width:440px;margin:0 auto;padding:0 16px 32px;font-size:12px;color:var(--fg3)}
body.out .gwb-foot .helpline{border:0;border-top:1px solid var(--hl2);border-radius:0;padding:16px 0 0;background:transparent;font-size:12px}
body.out .gwb-foot p a{color:var(--fg3)}
body.out main:has(.split){max-width:960px}

/* --- phone: the sidebar is a drawer behind the menu button in the black bar ---------------------- */
@media (max-width:900px){
  .top{height:56px;min-height:56px;padding:0 8px 0 4px;gap:4px}
  .top .brand{width:auto;font-size:12px;gap:6px}
  .top .brand img{height:17px}
  .burger span,.burger span::before,.burger span::after{background:var(--onbar)}
  .navt:focus-visible~.top .burger{outline:2px solid var(--lime);outline-offset:-2px}
  .tbtn.sbtn,.tbtn.bell{width:40px;height:40px}
  .tbtn.help{width:40px;height:40px;padding:0;justify-content:center;background:transparent}
  .side{top:56px;width:min(280px,82vw)}
  .navt:checked~.side{box-shadow:12px 0 32px rgba(0,0,0,.2)}
  .navt:checked~.scrim{inset:56px 0 0 0;background:rgba(0,0,0,.4)}
  body.app main{padding:20px 16px 96px}
  body.app .gwb-foot{padding:0 16px 88px}
  body.app h1,body.app .eyebrow+h1{font-size:24px;line-height:30px;letter-spacing:-.4px}
  body.app h2,body.app h2.sect,body.app .sugg h2{font-size:18px;line-height:24px}
  body.app .phead{flex-wrap:wrap;align-items:flex-start}
  body.app .phead .pact{margin-left:0;width:100%}
  body.app .phead .pact .btn,body.app .phead .pact button{flex:1}
  body.app .cards{grid-template-columns:1fr 1fr;margin-left:-14px;clip-path:inset(0 0 0 15px)}
  body.app .cards>a,body.app .cards>div{padding:12px 12px 14px 14px}
  body.app .cards b{font-size:20px;line-height:26px}
  body.app .sgrid{grid-template-columns:1fr}
  body.app .scard{border-left:0;border-top:1px solid var(--hl2);padding-left:0}
  body.app .scard:first-child{border-top:0}
  body.app .grid2{gap:0}
  body.app .livegrid{grid-template-columns:minmax(0,1fr);gap:20px}
  body.app .bookgrid{grid-template-columns:minmax(0,1fr);gap:24px}
  body.app .bookside .card{border-left:0;padding-left:0;border-top:1px solid var(--hl2);padding-top:20px}
  /* tables become stacked rows */
  body.app table.stack tr,body.app table.trips tr{padding:12px 0;border-bottom:1px solid var(--hl2)}
  body.app table.stack td,body.app table.trips td{padding:2px 0;border:0}
  body.app td.route{min-width:0;max-width:none}
  body.app td.route .rt .rp .pl{max-width:none;white-space:normal}
  body.app .bulkbar{left:0;height:auto;min-height:64px;padding:10px 16px;flex-wrap:wrap;gap:8px}
  body.app .bulkacts{margin-left:0;width:100%;flex-wrap:wrap}
  body.app :where(input:not([type=checkbox],[type=radio],[type=file]),select){height:44px;font-size:16px}
  body.app :where(button,.btn){min-height:40px;height:40px}
  body.app button.primary,body.app .btn.primary{height:44px;min-height:44px}
}
body.app h2.mkh{display:flex;align-items:center;gap:10px}
body.app h2.mkh .mk{top:0}
body.out:has(.split) .gwb-foot{max-width:960px}
body.out ol.stepper{max-width:none;gap:16px;margin:0 0 20px}
body.out ol.stepper li{flex:none;white-space:nowrap;font-size:13px}
body.out .split .why li{border-top:1px solid var(--hl2)}
body.app .helpline.big[class]{background:var(--ink);color:var(--onbar);border:0;border-radius:8px;padding:14px 16px;margin-bottom:24px}
body.app form.inline input:not([type=checkbox],[type=radio],[type=hidden]),body.app form.inline select,body.app td select{margin-top:0}
body.app .tripsum b{white-space:nowrap}
@media (max-width:600px){
  body.app table.trips td:nth-child(5){text-align:left}
  body.app table.trips td:nth-child(6){text-align:right}
  body.app table.trips td:empty{display:none}
  body.app table.trips tr{gap:6px 12px}
  ul.list.now li>.when,body.app ul.list.now li>span.when{grid-column:1;grid-row:auto;justify-self:start}
}
@media (max-width:900px){
  body.app table.people td{height:auto;padding:2px 0;font-size:14px}
  body.app table.people td[data-l="Person"] a.who{display:flex;flex-direction:column;gap:0}
  body.app table.people td[data-l="Person"] .sub{font-size:12px}
  body.app table.people td.selc{padding:0}
  body.app table.stack tr{padding:12px 0}
  body.app table.stack td[data-l]::before{width:96px;font-size:12px;color:var(--fg3)}
  body.app table.stack td.acts{padding-top:8px;gap:8px}
  body.app table.stack td.acts .btn,body.app table.stack td.acts button{flex:1 1 0}
  body.app ul.list li form.inline,body.app ul.rows li form.inline{width:100%;flex-wrap:nowrap;gap:8px}
  body.app ul.list li form.inline button,body.app ul.rows li form.inline button{flex:1 1 0;height:40px;min-height:40px;margin:0}
}
body.app .rides-live .carrow .carimg{width:88px;height:42px}
body.app .rides-live .carrow ol.riders{min-width:0;flex:1}
body.app .rides-live ol.riders li .nm[class]{color:var(--fg);flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.app .livemap .leaflet-control-attribution{font-size:10px;line-height:14px}
@media (max-width:900px){
  body.app table.people td[data-l="Person"][data-l]{display:block;padding-right:36px}
  body.app table.people td[data-l="Person"]::before{display:none}
  body.app table.people td[data-l="Person"] .sub{display:block}
}
body.app li.approval .acts{align-items:center;gap:8px;flex-wrap:nowrap}
body.app li.approval .acts form.inline{margin:0}
@media (max-width:900px){
  body.app li.approval>.acts{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:start}
  body.app li.approval>.acts form.inline,body.app li.approval>.acts form.inline button,body.app li.approval>.acts details>summary{width:100%}
  body.app li.approval>.acts details[open]{grid-column:1/-1}
}
body.app .summary button.primary.wide{margin:4px 0 12px}
body.app .placepick .hint{white-space:nowrap}
body.app ul.list+details.more,body.app ul.rows+details.more{border-top:0}
body.app .summary .carrow{display:block}
body.app .summary .carrow .carimg{display:block;width:120px;height:54px;margin:2px 0 10px}
body.app ol.stops li>span.seq:empty,body.app ul.list ol li.endstop>span.seq.seq:empty{background:transparent}
body.app ol.stops li{padding:4px 0}
body.app .days .day span{border:1px solid var(--edge);border-radius:999px;font-size:13px;color:var(--fg)}
body.app .fto{display:inline-flex;align-items:center;gap:10px}
body.app .cardhead{justify-content:flex-start}
body.app .rides-live ol.riders li{width:100%}
body.app .rides-live ol.riders li .nm[class]{flex:1 0 auto;max-width:calc(100% - 90px)}
body.app .rides-live ol.riders li>span.muted{flex:none;margin-left:auto}
body.app .rides-live .carrow{display:flex;width:100%}
body.app .rides-live .carrow{display:block}
body.app .rides-live .carrow .carimg{display:block;margin:0 0 8px}
body.app .rides-live ol.riders li .nm[class]{flex:1 1 auto;max-width:none}
body.app .rides-live li>.rl{flex:1 1 auto;min-width:0;align-items:stretch}
body.app .rides-live .carrow,body.app .rides-live .carrow ol.riders{width:100%}
body.app .cardhead>#live-age,body.app .cardhead>.muted:last-child{margin-left:auto}
body.app ul.list ol.riders li>span:not(.pill):not(.num),body.app ul.list ol.stops li>span:not(.pill):not(.num){min-width:0;flex:0 0 auto}
body.app .rides-live ol.riders li>span.nm[class]{flex:1 1 auto;min-width:0}
body.app table.trips td>.pill[class]{display:flex;width:max-content}
body.app table.trips td>.pill+.pill{margin-top:4px}
body.app table.trips td>.pill+.pill[class]{height:20px;padding:0 6px;border-radius:6px;background:var(--tint);font-size:12px;font-weight:500}
body.app table.trips td>.pill+.pill::before{display:none}

/* --- visual QC, 16 Oct 2026: shared fixes ----------------------------------------------------- */
/* a button that opens an inline form (details > summary.btn) sits like any button: no line box
   round it, so it lines up with the button beside it */
body.app details>summary.btn{display:flex;width:max-content}
body.app a.btn,body.app .cardhead>a.btn{text-decoration:none;font-size:14px}
body.app details.ask summary.btn{font-size:14px;text-decoration:none}
body.app details.ask.danger summary.btn{color:var(--crit)}
body.app .shift-acts{display:flex;align-items:flex-start;gap:8px}
body.app .shift-acts form.inline{margin:0}
/* buttons in one row share one height: filters and the report's download bar are 40 px */
body.app .filters :where(button,.btn),body.app .rbar :where(button,.btn){height:40px;min-height:40px}
/* the company code, Copy and Make a new code: one 36 px row */
body.app .bigcode .code,body.app .rowact .code{display:inline-flex;align-items:center;height:36px;padding:0 12px;line-height:1}
body.app .bigcode .copy,body.app .bigcode button{height:36px;min-height:36px;font-size:14px}
/* row actions: the same secondary button, one width; white on a selected (tinted) row */
body.app td.acts .btn,body.app td.acts button{min-width:64px}
body.app tr.sel td .btn,body.app tr:has(.selbox:checked) td .btn,body.app tr.sel td button,body.app tr:has(.selbox:checked) td button{background:var(--card)}
body.app tr.sel td .btn:hover,body.app tr:has(.selbox:checked) td .btn:hover{background:var(--active)}
/* the selection box keeps a 40 px hit area without growing the row */
body.app label.hit{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;margin:-12px;cursor:pointer}
/* days of a shift: one chip width */
body.app .days .day span{min-width:56px;text-align:center}
body.app .days .day input:checked+span{background:var(--ink);border-color:var(--ink);color:var(--lime);font-weight:500}
/* a note under an amount reads in proportional figures: tabular brackets look spaced */
body.app .num .muted,body.app .num .small,body.app td.num span{font-variant-numeric:normal}
/* a route and its tag on one first line */
body.app .fto{align-items:flex-start}
body.app .fto .pill{margin-top:0}
/* the status and the employee number under a person's name */
body.app .lead .sep{margin:0 8px;color:var(--fg3)}
/* a file picker that looks like the portal's secondary button */
body.app input[type=file]::file-selector-button{height:36px;margin:0 12px 0 0;padding:0 14px;border:0;border-radius:8px;background:var(--tint);
  color:var(--ink);font:500 14px var(--font);cursor:pointer}
body.app input[type=file]::file-selector-button:hover{background:var(--active)}
/* the people bar at the bottom never hides the last rows or the footer */
body.app:has(.selbox:checked) .gwb-foot{padding-bottom:104px}
@media (max-width:900px){
  body.app:has(.selbox:checked) .gwb-foot{padding-bottom:220px}
  /* stacked rows: every label on the left, on the value's first line */
  body.app table.stack td[data-l]::before{line-height:19px;text-align:left}
  body.app table.stack td.num[data-l]{justify-content:flex-start;text-align:left}
  /* 40 px tap targets: a text action keeps its look and gets a 40 px tall hit area */
  :where(body.app main) :where(a:not(.btn),summary:not(.btn),button.link){position:relative}
  :where(body.app main) :where(a:not(.btn),summary:not(.btn),button.link)::after{content:"";position:absolute;left:0;right:0;top:50%;
    height:40px;transform:translateY(-50%)}
  body.app .copy,body.app .bigcode .copy,body.app .bigcode button,body.app .bigcode .code{height:40px;min-height:40px}
  body.app input.mini{height:40px}
  body.app .pfilters input[type=search],body.app .pfilters select{height:44px}
  details.acct>summary{width:40px;height:40px;display:flex;align-items:center;justify-content:center}
  body.app .leaflet-bar a,body.app .leaflet-touch .leaflet-bar a{width:40px;height:40px;line-height:40px}
}
/* the head's actions are one height, a primary inside a form included */
body.app .phead .pact form.inline button,body.app .phead .pact form.inline .primary{height:40px;min-height:40px;padding:0 16px}
@media (max-width:900px){
  body.app .phead .pact form.inline{flex:1}
  body.app .phead .pact form.inline button{width:100%}
}
/* a stop list inside a list row keeps its own rhythm: the row's first-child padding and hairline
   must not reach the first stop, or the joining line starts above its mark */
body.app ul.list ol.stops>li,body.app ul.list ol.stops>li:first-child,body.app ol.stops>li:first-child{padding:4px 0;border-top:0}
body.app ul.list ol.riders>li,body.app ul.list ol.riders>li:first-child,body.app ol.riders>li:first-child{padding:2px 0;border-top:0}
body.app .rides-live ol.riders>li,body.app .rides-live ol.riders>li:first-child{padding:0}
body.app td.route{min-width:280px}
@media (max-width:900px){body.app td.route{min-width:0}}
/* contract fares: the route, then its "Both ways" tag under the place names */
body.app td.route>.pill.tag.both{display:inline-flex;margin:6px 0 0 20px}
/* Support: the head's "Open a ticket" opens the form; closed, it is not a second heading */
body.app details.newticket:not([open]){display:none}
/* place chips: never wider than the form; on a phone the place's address wraps */
body.app .chips .chip{min-width:0;max-width:100%}
body.app .chip span{min-width:0;max-width:100%}
@media (max-width:900px){
  body.app .chips .chip{flex:1 1 100%}
  body.app .chip span small{white-space:normal;overflow:visible}
}
/* two buttons in one inline form sit on one line: no top margin on its primary */
body.app form.inline>button,body.app form.inline>button.primary{margin-top:0;margin-bottom:0}
@media (max-width:900px){
  /* a secondary beside a primary takes the primary's 44 px on a phone */
  body.app .rbar :where(button,.btn),body.app .filters :where(button,.btn){height:44px;min-height:44px}
  body.app form.inline>button:only-of-type{min-height:40px}
}
@media (max-width:900px){
  /* a row's actions on a phone: side by side, one width each (Places and Switch off, Approve and Decline) */
  body.app ul.rows>li>.acts{display:flex;flex-wrap:wrap;gap:8px;width:100%}
  body.app ul.rows>li>.acts>*{flex:1 1 0;min-width:0;margin:0}
  body.app ul.rows>li>.acts>details[open]{flex-basis:100%}
  body.app ul.rows>li>.acts>details>summary.btn,body.app ul.rows>li>.acts>form.inline,body.app ul.rows>li>.acts>form.inline>button{width:100%}
}
/* sign-up on a phone: the steps show their numbers and only the current step's words, so the
   form keeps the screen's width */
body.out .split>*{min-width:0}
@media (max-width:600px){
  body.out ol.stepper{gap:8px}
  body.out ol.stepper li{font-size:0;gap:0}
  body.out ol.stepper li.on{font-size:13px;gap:8px}
}
@media (max-width:900px){
  /* the selection box's hit area stays inside the row, so the stacked table never scrolls sideways */
  body.app table.people td.selc label.hit{margin:-12px 0 -12px -12px}
  /* narrow tables that stay tables (Sustainability, the roles matrix): tighter cells */
  body.app table:not(.stack):not(.trips) th,body.app table:not(.stack):not(.trips) td{padding-left:8px;padding-right:8px}
  body.app table:not(.stack):not(.trips) th:first-child,body.app table:not(.stack):not(.trips) td:first-child{padding-left:0}
  body.app table:not(.stack):not(.trips) th:last-child,body.app table:not(.stack):not(.trips) td:last-child{padding-right:0}
}
@media (max-width:900px){
  /* Team logins on a phone: the name over the email, like a person; role, status and Save on one row */
  body.app table.stack td[data-l="Login"][data-l]{display:block}
  body.app table.stack td[data-l="Login"]::before{display:none}
  body.app table.stack td[data-l="Login"] b{font-size:15px;line-height:20px;font-weight:500;color:var(--ink)}
  body.app table.stack td[data-l="Access"]>form.inline{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:8px;width:100%;align-items:center}
  body.app table.stack td[data-l="Access"]>form.inline select{width:100%;min-width:0;margin:0}
}
@media (max-width:900px){
  body.app table.stack td[data-l="Access"][data-l]{display:block;padding-top:6px}
  body.app table.stack td[data-l="Access"]::before{display:none}
}
@media (max-width:900px){body.app table.stack td[data-l="Access"]>form.inline button{height:44px;min-height:44px}}

/* --- place fields (Book a ride, shift rides): one field that opens a list on a click ---- */
/* The field is Uber's filled input with the trip mark in front; the list opens under it
   as a menu of rows, the chosen one ticked (Michel, 16 Oct 2026). */
body.app details.endpick{position:relative;margin:0 0 12px;max-width:560px}
body.app details.endpick>summary{list-style:none;display:flex;align-items:center;gap:12px;min-height:56px;padding:8px 14px;
  border:1px solid var(--edge);border-radius:8px;background:var(--fill);cursor:pointer}
body.app details.endpick>summary::-webkit-details-marker{display:none}
body.app details.endpick>summary:hover{border-color:var(--ink)}
body.app details.endpick[open]>summary{background:var(--card);border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
body.app details.endpick>summary .mk{top:0}
body.app details.endpick .sel{display:flex;flex-direction:column;justify-content:center;min-width:0;flex:1}
body.app details.endpick .sel b{font-size:15px;line-height:20px;font-weight:500;color:var(--fg);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.app details.endpick .sel small{font-size:13px;line-height:17px;color:var(--fg2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.app details.endpick .sel small:empty{display:none}
body.app details.endpick .chev{flex:none;width:8px;height:8px;margin:0 4px 4px 0;border:solid var(--fg);border-width:0 1.5px 1.5px 0;transform:rotate(45deg);transition:transform .15s}
body.app details.endpick[open] .chev{transform:rotate(225deg);margin:4px 4px 0 0}
body.app details.endpick>.chips{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:45;display:flex;flex-direction:column;gap:0;margin:0;
  background:var(--card);border:1px solid var(--hl2);border-radius:12px;box-shadow:0 8px 24px rgba(1,30,19,.14);padding:6px;max-height:340px;overflow-y:auto}
body.app details.endpick>.chips .chip{flex:none;width:100%;max-width:none}
body.app details.endpick>.chips .chip span{display:flex;flex-direction:column;border:0;border-radius:8px;padding:10px 40px 10px 12px;position:relative;background:transparent;box-shadow:none}
body.app details.endpick>.chips .chip span:hover{background:var(--tint)}
body.app details.endpick>.chips .chip input:checked+span{background:var(--tint);box-shadow:none}
body.app details.endpick>.chips .chip input:checked+span::after{content:"";position:absolute;right:16px;top:50%;width:5px;height:10px;margin-top:-7px;
  border:solid var(--ink);border-width:0 2px 2px 0;transform:rotate(45deg)}
body.app details.endpick>.chips .chip span small{white-space:normal}

/* --- GuyWay colour (Michel, 16 Oct 2026): yellow as a small detail on the green ----------- */
.top .brand span{color:var(--barfg)}
.av{background:var(--lime);color:var(--ink)}
.si.book .ic{color:var(--lime)}
.si.on{border-left-color:var(--ink)}
.si.on .ic{color:var(--ink)}
body.app nav.tabs a.on{border-bottom-color:var(--ink)}
/* The work photo in the account circle (fleet.bizsso), and the work sign-in buttons. */
.av.photo{overflow:hidden;background:var(--line)}
.av.photo img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
.ssoor{display:flex;align-items:center;gap:12px;margin:4px 0;color:var(--fg2);font-size:13px}
.ssoor::before,.ssoor::after{content:"";flex:1;height:1px;background:var(--line)}
.ssobtns{display:grid;gap:10px}
.btn.sso{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;border:1px solid var(--line);border-radius:var(--r);background:var(--card);color:var(--ink);font-weight:500;text-decoration:none}
.btn.sso:hover{background:var(--fill)}

/* Phones (Michel, 22 Oct 2026): the tabs run to the screen edge and scroll
   sideways, fading out so a cut tab reads as "more this way"; the date
   fields keep inside their half of the row (iOS gives a date input a wide
   built-in minimum) and line up with the selects beside them. */
body.app nav.tabs a{flex:none}
body.app nav.tabs{scrollbar-width:none}
body.app nav.tabs::-webkit-scrollbar{display:none}
body.app .filters label{min-width:0}
/* Every date and time field, on every page (the Trips filters, the Trip
   report, Book a ride, Shift rides): iOS draws them wider than the screen
   with the value centred at the top of the box. */
body.app :where(input[type=date],input[type=time],input[type=datetime-local],input[type=month]){-webkit-appearance:none;appearance:none;
  min-width:0;width:100%;max-width:100%;display:block;text-align:left;line-height:38px}
body.app :where(input[type=date],input[type=time],input[type=datetime-local],input[type=month])::-webkit-date-and-time-value{text-align:left;margin:0}
body.app label:has(>input[type=date],>input[type=time],>input[type=datetime-local],>input[type=month]){min-width:0}
@media (max-width:600px){
  body.app nav.tabs{margin-left:-16px;margin-right:-16px;padding:0 40px 0 16px;scroll-padding:0 16px;
    -webkit-mask-image:linear-gradient(to right,black calc(100% - 40px),transparent);mask-image:linear-gradient(to right,black calc(100% - 40px),transparent)}
  body.app .tripfilters input[type=date],body.app .tripfilters select{height:44px;min-height:44px}
}
@media (max-width:900px){
  body.app :where(input[type=date],input[type=time],input[type=datetime-local],input[type=month]){line-height:42px}
}
/* Authenticator codes (Sign-in security): the QR code, the key that wraps
   on a phone instead of running off the screen, the recovery codes. */
body.app .tsteps{margin:0;padding-left:20px;display:grid;gap:20px}
body.app .tsteps>li>b{display:block;margin-bottom:4px}
body.app .tqr{width:200px;max-width:100%;margin:12px 0;padding:8px;background:var(--card);border:1px solid var(--hl2);border-radius:8px}
body.app .tqr svg{display:block;width:100%;height:auto}
body.app .topen{display:none}
body.app .tkey dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 12px;margin:10px 0 0}
body.app .tkey dt{color:var(--fg2)}
body.app .tkey dd{margin:0;min-width:0;overflow-wrap:anywhere}
body.app .tkeyv{display:inline-block;font-size:15px;letter-spacing:.04em;word-spacing:.2em;overflow-wrap:anywhere;white-space:normal;margin-right:8px}
body.app .tconfirm{max-width:320px}
body.app .rcodes{list-style:none;padding:0;margin:16px 0;display:grid;grid-template-columns:repeat(2,minmax(0,max-content));gap:8px 32px}
body.app .rcodes code{font-size:15px;letter-spacing:.04em}
body.app .ract{display:flex;gap:8px;flex-wrap:wrap}
body.app .reqtotp{margin-top:16px;padding-top:16px;border-top:1px solid var(--hl2)}
body.app .code{overflow-wrap:anywhere;white-space:normal}
/* The button that opens the app shows on a phone or tablet only: a desktop
   has no authenticator app to hand the key to. */
@media (pointer:coarse){body.app .topen{display:inline-flex}}

/* Book by the hour, in the signed-in look (fleet/bizhourly.py) */
body.app .booktype{border:1px solid var(--edge);background:var(--tint);border-radius:999px}
body.app .booktype a{padding:7px 16px;font-size:13px}
body.app .booktype a.on{background:var(--ink);color:var(--onbar)}
body.app .block span{border:1px solid var(--edge);border-radius:8px}
body.app .block input:checked+span{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink);background:var(--tint)}
body.app .stepper input{border:0;box-shadow:none;background:transparent;margin:0;padding:0;height:48px}
body.app .stepper button{border:0;border-radius:0;background:transparent;font-size:22px;min-height:48px;padding:0}
body.app .stepper button:hover{background:var(--tint)}
body.app ul.hlist li.hbook .acts form.inline{flex:0 0 auto;width:auto}body.app ul.hlist li.hbook .acts form.inline button{flex:0 0 auto;width:auto;padding:0 16px}
