/* Shared app presentation. Loaded LAST on staff, guest and sign-in pages.
   Layout contracts and business-specific state stay with their own screens. */
:root{--app-font:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--app-bg:#202020;--app-side:#181818;--app-panel:#282828;--app-hover:#303030;--app-ink:#f2f1ee;--app-muted:#aaa9a5;--app-line:#3b3b39;--app-accent:#e5b373;--app-accent-soft:#393127;--app-radius:12px}
/* Tokens the staff screens draw with (5 Oct 2026). Every colour the staff app
   used to write out by hand now reads one of these, so the app can be shown
   light or dark. The values in this block ARE the old hand-written colours:
   dark looks exactly as it did.
     --ink-rgb    the text colour as r,g,b: rgba(var(--ink-rgb),0.1) is a hairline
     --tx         how much to lift see-through TEXT. 1 on dark. On a white page the
                  same see-through text reads fainter, so light sets it higher.
     --app-well   inputs, segmented controls, the phone tab bar, list panes
     --shade-rgb, --sh  a darkening tint or a shadow: rgba(var(--shade-rgb),calc(0.14*var(--sh))).
                  Black on dark; on a white page the same amount is a dirty grey, so light scales it down.
     --app-on-accent  text sitting on the gold button
     --gold-rgb, --gold2-rgb  gold as a see-through TINT (fills, borders, glows)
     --goldtx-rgb     gold as TEXT. The same as --gold2-rgb on dark. Light needs the two
                  apart: a tint wants a bright orange (a dark one washes out to tan on
                  white), text wants a dark one it can be read in.
     --h-xxxxxx   "the colour that used to be #xxxxxx" (status chips, tints, accents) */
:root{--app-well:#181818;--app-on-accent:#181818;--fcg-hi:#FFC95C;--fcg-gold:#D07000;--fcg-pale:#FFE1A0;--fcg-amber:#FF9A1F;--fcg-sun:#FFD67E;--fcg-cream:#FFF4E0;--fcg-sand:#D8BF9B;--fcg-mint:#7DEBBE;--fcg-green:#139A69;--fcg-coral:#FFA98F;--fcg-red:#D8462D;--shade-rgb:0,0,0;--sh:1;--ink-rgb:243,232,224;--bg-rgb:18,16,15;--gold2-rgb:232,160,76;--goldtx-rgb:232,160,76;--gold-rgb:208,112,0;--ok-rgb:95,208,160;--warn-rgb:224,107,68;--tx:1;
--h-0f2f3a:#0f2f3a;--h-13352a:#13352a;--h-161311:#161311;--h-16283a:#16283a;--h-1a2a2a:#1a2a2a;--h-1c1815:#1c1815;--h-1c1917:#1c1917;--h-1f2a22:#1f2a22;--h-22282f:#22282f;--h-241f1c:#241f1c;--h-241f2e:#241f2e;--h-242424:#242424;--h-262320:#262320;--h-2a1f1f:#2a1f1f;--h-2a221c:#2a221c;--h-2a2230:#2a2230;--h-2a2418:#2a2418;--h-2a2618:#2a2618;--h-2a2620:#2a2620;--h-2c2820:#2c2820;--h-2e1f1f:#2e1f1f;--h-2e9e6f:#2e9e6f;--h-2f7a5a:#2f7a5a;--h-3a1a14:#3a1a14;--h-3a1a1a:#3a1a1a;--h-3a1f1a:#3a1f1a;--h-3a2f12:#3a2f12;--h-3a2f26:#3a2f26;--h-503b20:#503b20;--h-5fa8e0:#5fa8e0;--h-5fb0e0:#5fb0e0;--h-5fc6e0:#5fc6e0;--h-5fd0a0:#5fd0a0;--h-5fd0c0:#5fd0c0;--h-7bc47f:#7bc47f;--h-7fb0ff:#7fb0ff;--h-7fb8e8:#7fb8e8;--h-8a6428:#8a6428;--h-8fc7ff:#8fc7ff;--h-8fd0a0:#8fd0a0;--h-8ff0c4:#8ff0c4;--h-9a948c:#9a948c;--h-9ab8d8:#9ab8d8;--h-9fe8bd:#9fe8bd;--h-a07a7a:#a07a7a;--h-b79ae0:#b79ae0;--h-bdbdbd:#bdbdbd;--h-c79ae0:#c79ae0;--h-c98a8a:#c98a8a;--h-cbb87a:#cbb87a;--h-d07000:#d07000;--h-d0b87a:#d0b87a;--h-d8c98a:#d8c98a;--h-e06b44:#e06b44;--h-e0915f:#e0915f;--h-e24b4a:#e24b4a;--h-e8804c:#e8804c;--h-e8a04c:#e8a04c;--h-f0be6e:#f0be6e;--h-f0d4aa:#f0d4aa;--h-f3e8e0:#f3e8e0;--h-ff7a45:#ff7a45;--h-ff9a6f:#ff9a6f;--h-ff9a80:#ff9a80;--h-ffb894:#ffb894;--h-ffd98e:#ffd98e}
body[data-app-surface]{font-family:var(--app-font);-webkit-font-smoothing:antialiased;line-height:1.5}
body[data-app-surface] :is(button,input,textarea,select){font-family:var(--app-font)}
body[data-app-surface] *{font-family:var(--app-font)!important}
body[data-app-surface] :is(pre,code,kbd){font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important}
body[data-app-surface] :focus-visible{outline:2px solid var(--app-accent);outline-offset:3px}
body[data-app-surface] :is(h1,h2,h3,h4){font-family:var(--app-font)!important;letter-spacing:-.025em;text-transform:none;font-weight:600}
body[data-app-surface] button{touch-action:manipulation}
body[data-app-surface] :is(input,textarea)::placeholder{opacity:1;color:var(--app-muted)}
body[data-app-surface="staff"]{--bg:var(--app-bg);--ink:var(--app-ink);--mut:var(--app-muted);--line:var(--app-line);--panel:var(--app-panel);--gold:var(--app-accent);--gold2:var(--app-accent);background:var(--app-bg);color:var(--app-ink);font-size:14px}
body[data-app-surface="staff"]::before{display:none}
body[data-app-surface="staff"] :is(.wrap>*,.card.accent::after,.hero::after){animation:none}
body[data-app-surface="staff"] #wrap>*{animation:none;opacity:1;transform:none}
body[data-app-surface="staff"] :is(h1,.page-title){font-size:24px;line-height:1.25}
body[data-app-surface="staff"] h2{font-size:20px;line-height:1.35;color:var(--app-ink)}
body[data-app-surface="staff"] h3{font-size:14px;letter-spacing:0}
body[data-app-surface="staff"] h2::after{display:none}
body[data-app-surface="staff"] .val .cu{background:none;-webkit-text-fill-color:currentColor;color:inherit}
body[data-app-surface="staff"] :is(.topbar,.wtop){background:var(--app-bg);backdrop-filter:none;border-color:var(--app-line);gap:12px;box-shadow:none}
body[data-app-surface="staff"] .topbar{min-height:64px}
body[data-app-surface="staff"] :is(.tbtag,.wtop .ttl){font-family:var(--app-font);font-size:14px;letter-spacing:0;text-transform:none;font-weight:600;color:var(--app-ink)}
body[data-app-surface="staff"] :is(.sidenav){background:var(--app-side);border-color:var(--app-line)}
body[data-app-surface="staff"] .sidenav :is(.sbrand,.sfoot){border-color:var(--app-line)}
body[data-app-surface="staff"] .sidenav .sbrand img{max-width:150px;max-height:26px;object-fit:contain}
body[data-app-surface="staff"] .sidenav .sgrp{font-size:12px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--app-muted);padding-top:18px}
body[data-app-surface="staff"] .sidenav a{font-size:13px;font-weight:500;min-height:38px;color:var(--app-muted);border:0;border-radius:7px}
body[data-app-surface="staff"] .sidenav a:hover{background:var(--app-hover);color:var(--app-ink)}
body[data-app-surface="staff"] .sidenav a.on{background:var(--app-hover);color:var(--app-ink);box-shadow:none}
body[data-app-surface="staff"] .sidenav a.on .ic{color:var(--app-accent)}
body[data-app-surface="staff"] :is(.card,.box,.sk-card){background:var(--app-panel);border:1px solid var(--app-line);border-radius:var(--app-radius);box-shadow:none;backdrop-filter:none}
body[data-app-surface="staff"] .card.accent{background:var(--app-panel);border-color:var(--app-line);box-shadow:none}
body[data-app-surface="staff"] .card.accent::after{display:none}
body[data-app-surface="staff"] :is(.lab,.card .lab){font-family:var(--app-font);font-size:12px;font-weight:500;color:var(--app-muted);letter-spacing:0;text-transform:none}
body[data-app-surface="staff"] .card .val{font-family:var(--app-font);font-size:32px;font-weight:600;letter-spacing:-.04em;font-variant-numeric:tabular-nums;color:var(--app-ink);text-shadow:none}
body[data-app-surface="staff"] :is(.sub,.muted,.meta,.hint){color:var(--app-muted)}
body[data-app-surface="staff"] :is(.btn,.bellbtn,.signout){font-weight:500;letter-spacing:0;border-radius:8px;box-shadow:none;text-transform:none}
body[data-app-surface="staff"] .btn:not(.ghost):not(.danger){background:var(--app-accent);color:var(--app-on-accent);border-color:transparent}
body[data-app-surface="staff"] :is(.btn.ghost,.bellbtn,.signout){background:transparent;border:1px solid var(--app-line);color:var(--app-ink)}
body[data-app-surface="staff"] :is(.btn,.bellbtn,.signout):hover{filter:brightness(1.1);transform:none}
body[data-app-surface="staff"] :is(input,textarea,select){border-color:var(--app-line);background-color:var(--app-well);border-radius:8px}
body[data-app-surface="staff"] :is(.pill,.badge){font-family:var(--app-font);font-weight:500;letter-spacing:0;box-shadow:none}
body[data-app-surface="staff"] :is(.seg,.segwide){border-color:var(--app-line);background:var(--app-well)}
body[data-app-surface="staff"] .segb.on{background:var(--app-hover);color:var(--app-ink)}
body[data-app-surface="staff"] :is(.tabbar,.ibtabs){background:var(--app-well);backdrop-filter:none;border-color:var(--app-line)}
body[data-app-surface="staff"] :is(.tabbar a,.ibtabs a){font-size:12px;font-weight:500;letter-spacing:0;text-transform:none}
body[data-app-surface="staff"] :is(.tabbar a.on,.wnav a.on){background:var(--app-accent-soft);color:var(--app-accent);box-shadow:none}
body[data-app-surface="staff"] .chipicon{display:inline-flex;align-items:center;justify-content:center}
body[data-app-surface="staff"] .tabbar .ic{display:flex}
body[data-app-surface="staff"] .ibtabs a span svg{display:block;width:18px;height:18px;margin:auto}
body[data-app-surface="staff"] .chipicon svg{width:17px;height:17px}
body[data-app-surface="staff"] .row{border-color:var(--app-line);box-shadow:none}
body[data-app-surface="staff"] table{font-variant-numeric:tabular-nums}
body[data-app-surface="staff"] table th{font-size:12px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--app-muted)}
body[data-app-surface="staff"] :is(.idsdrop,.modalbox){background:var(--app-panel);border-color:var(--app-line);box-shadow:0 12px 48px #0006}
/* Owner home: actual working information first, detail stays a disclosure. */
body[data-app-surface="staff"] .owner-home{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
body[data-app-surface="staff"] .owner-home>h2{font-size:24px;margin:6px 0 0}
body[data-app-surface="staff"] .owner-home>.cards{margin:0;gap:12px}
body[data-app-surface="staff"] .owner-home .cards>.card{margin:0;min-width:0;background:var(--app-panel);border-radius:var(--app-radius)}
body[data-app-surface="staff"] .owner-home .cards>.card:last-child:nth-child(6){grid-column:auto}
body[data-app-surface="staff"] .owner-home .cards>.cash-compact{grid-column:1/-1;background:var(--app-panel);padding:20px!important}
body[data-app-surface="staff"] .cash-compact .cash-headlines .val{font-size:32px!important;color:var(--app-ink)}
body[data-app-surface="staff"] .cash-headlines>div+div{border-left:1px solid var(--app-line);padding-left:20px}
body[data-app-surface="staff"] .owner-section{margin:0;padding:20px;border:1px solid var(--app-line);border-radius:var(--app-radius);background:var(--app-panel);min-width:0}
body[data-app-surface="staff"] .owner-section-head{margin-bottom:12px}
body[data-app-surface="staff"] .owner-section-head h2{font-size:20px;letter-spacing:-.02em}
body[data-app-surface="staff"] .owner-booking-stats a{padding:12px 0;border-bottom:1px solid var(--app-line)}
body[data-app-surface="staff"] .owner-booking-stats span{font-size:12px;color:var(--app-muted)}
body[data-app-surface="staff"] .owner-booking-stats strong{font-size:32px;font-weight:600}
body[data-app-surface="staff"] .owner-trip-columns{grid-template-columns:1fr;gap:20px}
body[data-app-surface="staff"] .owner-trip-columns .row{padding:12px 0!important}
body[data-app-surface="staff"] .owner-goals .goalsherogrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body[data-app-surface="staff"] .owner-goals .ght-lbl{color:var(--app-ink);font-size:12px;line-height:1.5}
body[data-app-surface="staff"] .owner-goals .ringwrap{filter:none}
body[data-app-surface="staff"] .owner-readiness{border-color:var(--app-line);margin-top:16px}
body[data-app-surface="staff"] .owner-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
/* Conversations share neutral surfaces with the CRM, no patterned wallpaper. */
body[data-app-surface="staff"] :is(.shell #side,.mList,.folders){background:var(--app-well);border-color:var(--app-line)}
body[data-app-surface="staff"] .shell #main{background:var(--app-bg);background-image:none}
body[data-app-surface="staff"] :is(.shead,.mListHead,.mSearch,.mListFoot,.mRow,.tabs){border-color:var(--app-line)}
body[data-app-surface="staff"] .mRow{border-radius:0;border:0;border-bottom:1px solid var(--app-line);background:transparent;box-shadow:none}
body[data-app-surface="staff"] .mRow:hover{background:var(--app-hover)}
body[data-app-surface="staff"] .shell .shead h1{font-size:20px}
body[data-app-surface="staff"] .shell :is(.tab,.row){font-family:var(--app-font)}
body[data-app-surface="staff"] .shell .tab.on{background:var(--app-hover);color:var(--app-ink);border-color:var(--app-line)}
body[data-app-surface="staff"] .shell .av.agent{background:var(--app-accent-soft);box-shadow:none}
body[data-app-surface="staff"] .bigtot{font-family:var(--app-font);background:none;-webkit-text-fill-color:var(--app-ink);color:var(--app-ink)}
body[data-app-surface="staff"] .wtop .wctl{font-family:var(--app-font);box-shadow:none;background:transparent;border-color:var(--app-line);color:var(--app-muted)}
body[data-app-surface="staff"] .wctl svg{width:15px;height:15px;vertical-align:middle;flex-shrink:0}
body[data-app-surface="staff"] #wwho svg{width:14px;height:14px;vertical-align:middle}
body[data-app-surface="staff"] .wtop .ttl{font-size:14px;letter-spacing:0;text-transform:none}
body[data-app-surface="staff"] .shead .app-find-trigger{order:2;margin-left:auto}
body[data-app-surface="staff"] .shead .app-find-trigger :is(span,kbd){display:none}
body[data-app-surface="staff"] .shead .crm{margin-left:0;order:3}
/* Role-scoped page finder; native dialog supplies focus trap and inert backdrop. */
.app-find-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:7px 10px;background:transparent;color:var(--app-muted);border:1px solid var(--app-line);border-radius:8px;font:500 13px var(--app-font);cursor:pointer;white-space:nowrap}
.app-find-trigger svg{width:17px;height:17px;flex-shrink:0}
.app-find-trigger kbd{font:11px var(--app-font);opacity:.7;margin-left:12px}
.app-finder{position:fixed;inset:0;margin:12vh auto auto;width:min(560px,calc(100% - 32px));max-height:75dvh;padding:0;border:1px solid var(--app-line);border-radius:16px;background:var(--app-panel);color:var(--app-ink);box-shadow:0 24px 80px #0008;font:14px var(--app-font)}
.app-finder::backdrop{background:#0008}
.app-finder-header{display:flex;align-items:center;gap:12px;padding:16px;border-bottom:1px solid var(--app-line)}
.app-finder-header label{flex:1;margin:0;font-size:16px;font-weight:600;text-transform:none;letter-spacing:0;color:var(--app-ink)}
.app-finder-close{min-width:36px;min-height:36px;background:none;color:var(--app-muted);border:1px solid var(--app-line);border-radius:8px;cursor:pointer;font-size:20px}
.app-finder input{display:block;width:calc(100% - 32px);margin:16px;padding:12px;font:16px var(--app-font);border:1px solid var(--app-line);border-radius:8px;color:var(--app-ink);background:var(--app-well)}
.app-finder-list{max-height:45dvh;overflow:auto;padding:0 8px 8px}
.app-finder-list a{display:flex;gap:12px;align-items:center;min-height:44px;padding:10px;border-radius:8px;text-decoration:none;color:var(--app-ink);border:1px solid transparent}
.app-finder-list a[aria-selected="true"]{background:var(--app-hover);border-color:var(--app-line)}
.app-finder-list svg{width:18px;height:18px;color:var(--app-muted)}
.app-finder-list p{padding:12px;color:var(--app-muted)}
/* Guest content retains its photography; shared app controls feel familiar. */
/* Guest pages wear the Kingse faces (9 Oct 2026, Jackson: "why have we lost our font? Our font's
   really nice"): Othello for names and headings, Jost for everything else. The 17 Sep unify pass had
   put every guest page in the phone's system font and stripped the font links. The files ship with
   the guest build under /fonts/ (scripts/portal-gen-v5.py). */
body[data-app-surface="guest"]{--app-font:'Kingse Jost','Jost',-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body[data-app-surface="guest"] :is(.hero-title,.section-title,.band-title,.band-num,.stat-num,.dest-name,.opt-group,.opt-sec-t,.opt-name,.day-place,.day-sum-place,.lodge-link,.lodge-name,.guide-name,.help-head h2,.weather-temp,.wx-temp,.phase-title,.posttrip-title,.score-num,.trans-out-word,.tr-row-tx b,.countdown-label,.itin-lodge-name,.tip-amt,.trans-h){font-family:'Kingse Othello','Othello MT Std',Georgia,serif!important;font-weight:400!important;letter-spacing:.01em;text-transform:none}
body[data-app-surface="guest"] .hero-title{font-size:clamp(34px,8.5vw,54px);line-height:1.08}
body[data-app-surface="guest"] .section-title{font-size:26px}
/* One full-screen hero: the photo, the logo, the guests' names, their dates and the countdown. */
body[data-app-surface="guest"] .hero{height:100vh;height:100svh;min-height:600px;max-height:none}
body[data-app-surface="guest"] .tab-nav{border-bottom:1px solid var(--app-line);background:var(--app-side)}
body[data-app-surface="guest"] .tab-btn{min-height:52px;font-size:13px;font-weight:500}
body[data-app-surface="guest"] :is(.form-input,.form-select,.form-textarea){font-family:var(--app-font);font-size:16px;border-radius:10px}
body[data-app-surface="guest"] .content{max-width:820px}
/* Entry screens use the same restrained palette and large readable fields. */
body[data-app-surface="access"]{background:var(--app-side);color:var(--app-ink)}
body[data-app-surface="access"] .bg-overlay{opacity:.08}
body[data-app-surface="access"] .content{background:var(--app-bg);border:1px solid var(--app-line);border-radius:20px;padding:32px;max-width:440px}
body[data-app-surface="access"] h1{font-size:28px;letter-spacing:-.03em}
body[data-app-surface="access"] .logo{filter:none;width:120px}
body[data-app-surface="access"] .gold-line{background:var(--app-accent);margin-bottom:24px}
body[data-app-surface="access"] .login-box input{background:var(--app-side);border-color:var(--app-line);font-weight:400;backdrop-filter:none}
body[data-app-surface="access"] .login-box button:not(.pw-toggle){background:var(--app-accent);box-shadow:none;color:var(--app-side);font-weight:600;transform:none;letter-spacing:0}
@media(min-width:1024px){
 html.has-rail body[data-app-surface="staff"] .wtop>.logo{display:none}
 body[data-app-surface="staff"] .wtop{gap:8px;padding:12px 20px}
 body[data-app-surface="staff"] .wtop>.ttl{max-width:220px;overflow:hidden;text-overflow:ellipsis}
 body[data-app-surface="staff"] .wtop .app-find-trigger{padding:7px 9px}
 body[data-app-surface="staff"] .wtop .app-find-trigger kbd{display:none}
 body[data-app-surface="staff"]>.wrap{padding:28px 32px 40px;max-width:1400px}
 body[data-app-surface="staff"] .owner-home{grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);align-items:start}
 body[data-app-surface="staff"] .owner-home>:is(h2,.cards,.owner-business){grid-column:1/-1}
 /* 240px, not 170 (14 Oct 2026): the full-width cash card keeps every column open, so four tiles sat in six 178px columns and a
    seven-figure number was cut off ("$1,894,2"). Four columns of 240px and up fill the row and the figure fits. */
 body[data-app-surface="staff"] .owner-home>.cards{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
 body[data-app-surface="staff"] .owner-goals .goalsherogrid{grid-template-columns:1fr}
 body[data-app-surface="staff"] .owner-goals .goalherotile{display:grid;grid-template-columns:64px 1fr;gap:0 12px;text-align:left;align-items:center;padding:12px 0;border-bottom:1px solid var(--app-line)}
 body[data-app-surface="staff"] .owner-goals .ringwrap{grid-column:1;grid-row:1/3;margin:0}
 body[data-app-surface="staff"] .owner-goals .ght-lbl{min-height:0}
 body[data-app-surface="staff"] .owner-goals .ght-val{grid-column:2;font-size:12px}
}
@media(max-width:1023px){
 body[data-app-surface="staff"] .topbar{flex-direction:row;flex-wrap:nowrap;min-height:60px;padding:8px 12px!important;padding-top:max(8px,env(safe-area-inset-top))!important;gap:8px!important}
 body[data-app-surface="staff"] .topbar>img{max-width:100px;max-height:24px;object-fit:contain}
 body[data-app-surface="staff"] .tbtag{display:none}
 body[data-app-surface="staff"] .tbsub{width:auto;margin-left:auto;gap:6px!important}
 body[data-app-surface="staff"] .tbsub #idsw{flex:none;max-width:44px}
 body[data-app-surface="staff"] .tbsub .chiplbl{display:none}
 body[data-app-surface="staff"] .bellbtn{min-width:36px;min-height:44px;padding:6px 8px}
 body[data-app-surface="staff"] .wtop{gap:6px;padding:8px 12px;padding-top:max(8px,env(safe-area-inset-top));flex-wrap:wrap}
 body[data-app-surface="staff"] .wtop>.logo,body[data-app-surface="staff"] .wtop>.wspacer{display:none}
 body[data-app-surface="staff"] .wtop>.ttl{display:block;order:1;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
 body[data-app-surface="staff"] .wtop>.wback{order:2;margin:0;font-size:12px}
 body[data-app-surface="staff"] .wtop>.app-find-trigger{order:2;margin-left:auto}
 body[data-app-surface="staff"] .wtop::after{content:'';order:3;flex-basis:100%;height:0}
 body[data-app-surface="staff"] .wtop>:is(.wmorewrap,.wctl,.wwhowrap){order:4;min-width:0}
 body[data-app-surface="staff"] .wtop .wctl{font-size:12px;min-height:44px;padding:6px 8px;border-radius:8px}
 body[data-app-surface="staff"] .wtop #wwho{display:block;max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body[data-app-surface="staff"] .wtop #wrefreshbtn{font-size:0;min-width:36px}
 body[data-app-surface="staff"] .wtop #wrefreshbtn .app-control-label{display:none}
 .app-find-trigger{min-width:36px;min-height:44px;padding:8px}
 .app-find-trigger :is(span,kbd){display:none}
 body[data-app-surface="staff"] .owner-home{gap:16px}
 body[data-app-surface="staff"] .owner-home>h2{font-size:24px;margin:4px 0}
 body[data-app-surface="staff"] .owner-section{padding:16px}
 body[data-app-surface="staff"] .cash-compact .cash-headlines .val{font-size:24px!important}
 body[data-app-surface="staff"] .cash-headlines{gap:12px}
 body[data-app-surface="staff"] .cash-headlines>div+div{padding-left:12px}
 body[data-app-surface="staff"] :is(input,textarea,select){font-size:16px}
 body[data-app-surface="staff"] :is(.btn,.wnav a,.segb){min-height:44px}
 body[data-app-surface="access"] .content{padding:28px 20px}
}
@media(prefers-reduced-motion:reduce){body[data-app-surface] *,body[data-app-surface] *::before,body[data-app-surface] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:360px){body[data-app-surface="staff"] .topbar>img{max-width:64px}}

/* ── LIGHT: the CRM on its own address (5 Oct 2026) ─────────────────────────
   Jackson, first: "nice whites ... same as most apps, nice and simple. We're
   still using our colour palette in the left-hand side bar and where it needs
   to be, and our logo." Then, on the first cut: "It's just so beige. I can't
   tell where it starts. There are no headings, and there's no layout ...
   incorporate some of our font in there. Use headings. Disperse it out."
   So: a COOL grey page and pure white cards (no warm greys anywhere: he reads
   them as beige), near-black text, the deep Kingse side bar with the gold logo,
   gold for the thing to press. Headings are set in Othello (the Kingse display
   face), labels and buttons in Jost (the Kingse text face), running text in the
   system face because it is the easiest to read small. A record opens with ONE
   header block (name, stage, key facts, actions), then the days with a rail of
   facts beside them, the way the leading CRMs lay a record out.
   Switched on by data-app-theme="light" on <html>, which only the CRM site's
   build stamps (tools/deploy-crm.py), so the old address keeps the dark look
   until the changeover ends. The two faces are named apart from the guest
   pages' own so nothing else on any site can pick them up by accident. */
@font-face{font-family:'Kingse Jost';font-style:normal;font-weight:100 900;font-display:swap;src:url('/fonts/jost-normal.woff2') format('woff2')}
@font-face{font-family:'Kingse Othello';font-style:normal;font-weight:800;font-display:swap;src:url('/fonts/OthelloMTStdRegular.woff') format('woff')}
/* The kit (8 Oct 2026, Jackson: "nicer fonts, nicer labels, nicer boxes"): Othello
   for the title of a page and a record's name, Manrope for everything read or
   pressed (labels, body, figures), hairlines not boxes, a shadow only when
   something lifts, gold on the one thing to do next. Set once here; every
   staff screen inherits it. */
@font-face{font-family:'Kingse Manrope';font-style:normal;font-weight:500 800;font-display:swap;src:url('/fonts/manrope.woff2') format('woff2')}
html[data-app-theme="light"]{color-scheme:light;
--brand-head:'Kingse Othello',-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--brand-ui:'Kingse Manrope',-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--app-shadow:0 10px 28px rgba(20,24,33,.07);--app-radius-c:10px;
--app-bg:#F3F5F8;--app-side:#20150E;--app-panel:#FFFFFF;--app-hover:#EEF1F5;--app-ink:#141821;--app-muted:#5B6575;--app-line:#DFE4EA;--app-accent:#D07000;--app-accent-soft:#FFF2DF;--app-well:#FFFFFF;--app-on-accent:#1B1206;--app-radius:14px;
--shade-rgb:16,24,40;--sh:.2;--ink-rgb:20,24,33;--bg-rgb:255,255,255;--gold2-rgb:255,145,0;--goldtx-rgb:178,94,0;--gold-rgb:255,145,0;--ok-rgb:14,124,86;--warn-rgb:194,65,12;--tx:1.5;
--h-0f2f3a:#DDF2FA;--h-13352a:#DEF7EC;--h-161311:#F6F8FA;--h-16283a:#E0ECFB;--h-1a2a2a:#DFF5F3;--h-1c1815:#FFFFFF;--h-1c1917:#F3F5F8;--h-1f2a22:#E1F5E6;--h-22282f:#E6EDF6;--h-241f1c:#FFFFFF;--h-241f2e:#ECE6FA;--h-242424:#EEF1F5;--h-262320:#EEF1F5;--h-2a1f1f:#FBE7E5;--h-2a221c:#FFF2DF;--h-2a2230:#F0E6FA;--h-2a2418:#FFF3D1;--h-2a2618:#FFF3D1;--h-2a2620:#FFFFFF;--h-2c2820:#EEF1F5;--h-2e1f1f:#FBE7E5;--h-2e9e6f:#1B7F58;--h-2f7a5a:#1F7353;--h-3a1a14:#FDE5DF;--h-3a1a1a:#FCE4E4;--h-3a1f1a:#FDE8E1;--h-3a2f12:#FFF0CC;--h-3a2f26:#FFF2DF;--h-503b20:#FFE8C2;--h-5fa8e0:#1B5FA8;--h-5fb0e0:#1766A3;--h-5fc6e0:#0F6F8C;--h-5fd0a0:#0E7C56;--h-5fd0c0:#0F7A6E;--h-7bc47f:#2B7A30;--h-7fb0ff:#1D4ED8;--h-7fb8e8:#1B5FA8;--h-8a6428:#7A5300;--h-8fc7ff:#1D5FBF;--h-8fd0a0:#237A3B;--h-8ff0c4:#0E8A55;--h-9a948c:#5B6575;--h-9ab8d8:#2C5282;--h-9fe8bd:#178548;--h-a07a7a:#8A2C2C;--h-b79ae0:#5B34B0;--h-bdbdbd:#4B5565;--h-c79ae0:#7B2FA8;--h-c98a8a:#8A2C2C;--h-cbb87a:#5B6575;--h-d07000:#D07000;--h-d0b87a:#7A5600;--h-d8c98a:#7A5600;--h-e06b44:#C2410C;--h-e0915f:#A04A12;--h-e24b4a:#B42318;--h-e8804c:#A8440F;--h-e8a04c:#B25E00;--h-f0be6e:#8F5E00;--h-f0d4aa:#8A5600;--h-f3e8e0:#141821;--h-ff7a45:#B23A0B;--h-ff9a6f:#B23A0B;--h-ff9a80:#B42318;--h-ffb894:#A8440F;--h-ffd98e:#C27A00}
html[data-app-theme="light"] body[data-app-surface="staff"]{--gold:#D07000;--gold2:#B25E00;--ok:#0E7C56;--warn:#C2410C;--bad:#C2410C;--good:#0E7C56;--warnc:#8A5A00;--panel2:var(--app-panel);font-size:14px}
/* ── Type: Othello for headings, Jost for labels and controls ── */
html[data-app-theme="light"] body[data-app-surface="staff"] :is(h1,h2,.dn,.page-title,.tph,.tpdt,.wtop .ttl,.wc-title){font-family:var(--brand-head)!important;font-weight:800;letter-spacing:.012em;text-transform:none;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .wsband>span:first-child{font-family:var(--brand-head)!important;font-weight:800;font-size:20px;letter-spacing:.012em;text-transform:none;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.btn,.bellbtn,.signout,.wstab,.wstep,.segb,.sc,.tptag,.tpdn,.hbadge,.wsnextcta,.app-find-trigger,.app-find-trigger span,.back,.sidenav a,.card .val,.card .val *,.scount,.owner-booking-stats strong,.ght-pct){font-family:var(--brand-ui)!important}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.lab,.card .lab,.sidenav .sgrp,.sidenav .sbrand span,.actlab,table th,table.ptable th,.stile .sname,.wsbandsub,.tpwhere,.owner-trip-columns h3),
html[data-app-theme="light"] body[data-app-surface="staff"] .wsmeta span::before,
html[data-app-theme="light"] body[data-app-surface="staff"] .tpsum>div[data-l]::before{font-family:var(--brand-ui)!important;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.owner-section-head h2,.deckhead h2,.homecol h2,.wsbody h2,.livehero h2,#wrap>h2:not(:first-child),.owner-home .owner-section h2){font-family:var(--brand-ui)!important;font-weight:800;font-size:20px;letter-spacing:-.01em}
html[data-app-theme="light"] body[data-app-surface="staff"] .wgrouphdr{font-family:var(--brand-ui)!important;font-size:11px;font-weight:700;letter-spacing:.12em;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"]{font-family:var(--brand-ui)!important}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.row,.card,.note,.meta,.sub,input,select,textarea,button,.tf){font-family:var(--brand-ui)}
html[data-app-theme="light"] body[data-app-surface="staff"] h2{font-size:20px;line-height:1.25;margin:34px 0 14px;padding-bottom:0}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.wsbody,.livehero,.owner-section-head) h2{margin-top:0}
/* The page says where it starts: a large title with a gold rule under it. */
html[data-app-theme="light"] body[data-app-surface="staff"] :is(#wrap>h2:first-child,#wrap>.back:first-child+h2,.owner-home>h2){font-size:32px;line-height:1.12;margin:2px 0 26px;padding-bottom:16px}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(#wrap>h2:first-child,#wrap>.back:first-child+h2,.owner-home>h2)::after{display:block;width:52px;height:4px;border-radius:2px;background:var(--app-accent)}
html[data-app-theme="light"] body[data-app-surface="staff"] .hbadge{font-size:12px;font-weight:700;background:var(--app-accent);color:var(--app-on-accent);padding:2px 10px;letter-spacing:.02em}
/* ── Frame: white bar across the top, deep Kingse bar down the side ── */
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.topbar,.wtop){background:var(--app-panel);border-bottom:1px solid var(--app-line)}
html[data-app-theme="light"] body[data-app-surface="staff"] .tbtag{font-family:var(--brand-ui)!important;font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .wtop .ttl{font-size:20px}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.bellbtn,.signout,.wtop .wctl){font-size:13px;font-weight:600;background:var(--app-panel);color:var(--app-ink);border:1px solid var(--app-line);border-radius:var(--app-radius-c)}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.bellbtn,.signout,.wtop .wctl):hover{background:var(--app-hover);filter:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .app-find-trigger{background:var(--app-bg);border-color:transparent;color:var(--app-muted);border-radius:var(--app-radius-c);font-size:13px}
html[data-app-theme="light"] body[data-app-surface="staff"] .sidenav{--ink-rgb:243,232,224;--tx:1;--ink:#F3E8E0;--app-ink:#FBF4EC;--app-muted:rgba(243,232,224,.6);--app-line:rgba(243,232,224,.1);--app-hover:rgba(243,232,224,.08);--app-accent:#F0A84A;--gold:#D07000;--gold2:#F0A84A;--gold2-rgb:240,168,74;--goldtx-rgb:240,168,74;--gold-rgb:208,112,0;color:#F3E8E0;border-color:transparent;background:var(--app-side);padding:18px 14px 16px}
html[data-app-theme="light"] body[data-app-surface="staff"] .sidenav .sbrand{padding:4px 8px 18px;margin-bottom:6px}
html[data-app-theme="light"] body[data-app-surface="staff"] .sidenav .sbrand img{max-width:150px;max-height:28px;height:auto}
html[data-app-theme="light"] body[data-app-surface="staff"] .sidenav .sgrp{font-size:11px;letter-spacing:.16em;color:rgba(243,232,224,.42);padding:16px 10px 6px}
html[data-app-theme="light"] body[data-app-surface="staff"] .sidenav a{font-size:14px;font-weight:500;min-height:37px;border-radius:9px;color:rgba(243,232,224,.8);letter-spacing:.01em}
html[data-app-theme="light"] body[data-app-surface="staff"] .sidenav a:hover{background:rgba(243,232,224,.08);color:#fff}
html[data-app-theme="light"] body[data-app-surface="staff"] .sidenav a.on{background:rgba(208,112,0,.26);color:#fff;font-weight:600;box-shadow:inset 3px 0 0 #F0A84A}
html[data-app-theme="light"] body[data-app-surface="staff"] .sidenav a.on .ic{color:#F6B45C}
/* ── Surfaces: white cards on the cool page, a hairline and a soft shadow ── */
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.card,.box,.sk-card,.owner-section,.row,.note,.wsect,.wsect[open],.itin,.trav,.addbox,.grp,.eng .e,.tpsum,.tpday,.wspeek,.sk-row,.lead,.leadgrouphdr,.optgrid button,.mbar .mt,.panel,.stile,.workcard,.tmember,.analyst,.rechead,.wsteprail){background:var(--app-panel);border:1px solid var(--app-line);box-shadow:0 1px 2px rgba(16,24,40,.05)}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.card,.owner-section,.wsect,.tpsum,.tpday,.panel,.workcard,.rechead){border-radius:var(--app-radius)}
html[data-app-theme="light"] body[data-app-surface="staff"] .owner-home .cards>.card{background:var(--app-panel)}
html[data-app-theme="light"] body[data-app-surface="staff"] .owner-home .cards>.cash-compact{background:var(--app-panel);border-top:4px solid var(--app-accent)}
html[data-app-theme="light"] body[data-app-surface="staff"] .card{padding:18px 18px 16px}
html[data-app-theme="light"] body[data-app-surface="staff"] .card .val{font-size:32px;font-weight:700;letter-spacing:-.02em;margin-top:8px;font-variant-numeric:tabular-nums}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.money,td.r,.owner-booking-stats strong,.hh-big,.scount){font-variant-numeric:tabular-nums}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cu,.val .cu,.ringwrap){filter:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .cash-headlines .val{font-size:38px!important}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.sub,.muted,.meta,.hint){color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .meta{font-size:13px}
html[data-app-theme="light"] body[data-app-surface="staff"] .note{font-size:13px;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .row{border-radius:var(--app-radius);padding:12px 16px;transition:box-shadow .18s ease,border-color .18s ease}
html[data-app-theme="light"] body[data-app-surface="staff"] .row:hover{border-color:#CDD4DC;box-shadow:var(--app-shadow)}
html[data-app-theme="light"] body[data-app-surface="staff"] .workcard:hover{box-shadow:var(--app-shadow)}
html[data-app-theme="light"] body[data-app-surface="staff"] .owner-section{padding:24px}
html[data-app-theme="light"] body[data-app-surface="staff"] .owner-section-head h2{font-size:20px}
html[data-app-theme="light"] body[data-app-surface="staff"] .owner-booking-stats strong{font-size:32px;font-weight:800;letter-spacing:-.02em}
html[data-app-theme="light"] body[data-app-surface="staff"] .owner-booking-stats span{font-size:12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .owner-trip-columns .row{background:none;border:0;border-bottom:1px solid #EDF0F4;border-radius:0;box-shadow:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .owner-trip-columns h3{margin:6px 0 2px}
html[data-app-theme="light"] body[data-app-surface="staff"] .livehero{background:var(--app-panel);border:1px solid var(--app-line);border-left:4px solid var(--app-accent);border-radius:var(--app-radius);box-shadow:0 1px 2px rgba(16,24,40,.05);padding:20px 20px 12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .workcard{padding:22px 20px 20px}
html[data-app-theme="light"] body[data-app-surface="staff"] .workcard::after{display:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .workcard .wc-ic{filter:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .workcard .wc-title{font-size:20px}
html[data-app-theme="light"] body[data-app-surface="staff"] .workcard .wc-sub{font-size:13px;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .workcard:hover{border-color:var(--app-accent)}
/* No see-through gold FILLS on a white page: they wash out to tan, which is the
   beige he asked to be rid of. A highlighted block is white with a gold edge;
   a small marker (today, a picked tile, a call-out) is the one clean pale orange. */
html[data-app-theme="light"] body[data-app-surface="staff"] *{text-shadow:none!important}
html[data-app-theme="light"] body[data-app-surface="staff"] .hot-hero{background:var(--app-panel)!important;border:1px solid var(--app-line)!important;border-left:4px solid var(--app-accent)!important;border-radius:var(--app-radius);box-shadow:0 1px 2px rgba(16,24,40,.05);padding:16px 20px}
html[data-app-theme="light"] body[data-app-surface="staff"] .hh-big{font-family:var(--brand-ui)!important}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.leadgroup.r0>.leadgrouphdr,.needchip,.mnwrap){background:var(--app-panel)}
html[data-app-theme="light"] body[data-app-surface="staff"] .row[style*="gold-rgb"]{background:var(--app-panel)!important;border-color:var(--app-accent)!important}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.calcell.today,.viewas,.upill,.tptk.none,.wstepdisc){background:var(--app-accent-soft)}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.note[style*="gold-rgb"],.note.wsstale){background:var(--app-accent-soft)!important;border-color:#F3C98B!important;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .hbadge:empty{display:none}
/* ── Controls ── */
html[data-app-theme="light"] body[data-app-surface="staff"] .btn{font-size:13px;font-weight:700;padding:9px 14px;border-radius:var(--app-radius-c);letter-spacing:.01em;transition:background .18s ease,border-color .18s ease,transform .12s ease}
html[data-app-theme="light"] body[data-app-surface="staff"] .btn:active{transform:translateY(1px)}
html[data-app-theme="light"] body[data-app-surface="staff"] .btn:focus-visible{outline:2px solid var(--app-accent);outline-offset:2px}
html[data-app-theme="light"] body[data-app-surface="staff"] .btn.sm{font-size:13px;padding:7px 12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .btn.ghost{background:var(--app-panel);border:1px solid var(--app-line);color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .btn.ghost:hover{background:var(--app-hover);filter:none}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.wsnextcta,.badge,.calbar){background:var(--app-accent);color:var(--app-on-accent)}
html[data-app-theme="light"] body[data-app-surface="staff"] .wsnextcta{box-shadow:none;font-size:13px;font-weight:600;padding:10px 16px;border-radius:10px;margin:0 0 18px}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(input,textarea,select){color:var(--app-ink);border:1px solid var(--app-line);border-radius:var(--app-radius-c);background:var(--app-panel)}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(input,textarea,select):focus{border-color:var(--app-accent);outline:3px solid rgba(208,112,0,.16);outline-offset:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .sc{font-size:11px;font-weight:700;letter-spacing:.07em;padding:3px 9px}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.seg,.segwide){background:#E8ECF1;border:0;padding:3px;border-radius:10px;gap:2px}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.seg,.segwide) .segb{border-radius:8px;font-size:13px;font-weight:600;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.seg,.segwide) .segb.on{background:var(--app-panel);color:var(--app-ink);box-shadow:0 1px 2px rgba(16,24,40,.14)}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.idsdrop,.modalbox){box-shadow:0 16px 48px rgba(16,24,40,.18)}
/* ── Tables ── */
html[data-app-theme="light"] body[data-app-surface="staff"] table.ptable{font-size:13px}
html[data-app-theme="light"] body[data-app-surface="staff"] table.ptable th{padding:12px 14px;border-bottom:1px solid var(--app-line)}
html[data-app-theme="light"] body[data-app-surface="staff"] table.ptable td{padding:13px 14px;border-bottom:1px solid #EDF0F4;font-variant-numeric:tabular-nums}
html[data-app-theme="light"] body[data-app-surface="staff"] table.ptable tbody tr:hover td{background:#F8FAFC}
html[data-app-theme="light"] body[data-app-surface="staff"] table.ptable :is(td.r,th.r){color:var(--app-ink)}
/* The Pipeline table at laptop width (14 Oct 2026, the CRM test pass: at 1440 only Client to Stage showed and Value to Next action sat off the right edge with no bar to find them).
   Client, Trip, Stage and Next action wrap inside a sensible width and the side padding eases, so all nine columns fit from 1440 up; on a narrower laptop the box scrolls
   sideways under a bar you can see. The phone layout (frozen first column, swipe) is untouched: all of this is 1024px and up. */
@media(min-width:1024px){
 html[data-app-theme="light"] body[data-app-surface="staff"] table.pipetbl :is(th,td){padding-left:10px;padding-right:10px}
 html[data-app-theme="light"] body[data-app-surface="staff"] table.pipetbl th{white-space:normal}
 html[data-app-theme="light"] body[data-app-surface="staff"] table.pipetbl td:is(.stick,:nth-child(2),:nth-child(4),:nth-child(9)){white-space:normal;overflow-wrap:break-word}
 html[data-app-theme="light"] body[data-app-surface="staff"] table.pipetbl td:is(.stick,:nth-child(2)){max-width:200px}
 html[data-app-theme="light"] body[data-app-surface="staff"] table.pipetbl td:is(:nth-child(4),:nth-child(9)){max-width:150px}
 html[data-app-theme="light"] body[data-app-surface="staff"] table.pipetbl :is(.pnext,.sc){white-space:normal}
 html[data-app-theme="light"] body[data-app-surface="staff"] table.pipetbl .sc{line-height:1.25;padding:4px 10px;border-radius:12px}
}
/* The stage pill in the Pipeline table carries two names (14 Oct 2026): the full one, and the short one the stage chips above the table use. The full name
   shows everywhere except 1024 to 1399 wide, where "DEPOSIT PAID – BOOKED" and "INVOICED – AWAITING DEPOSIT" wrapped to two lines; there the short name
   shows (the full name stays in the pill's hover text). The phone layout is below 1024 and keeps the full name. */
table.pipetbl .sc .scs{display:none}
@media(min-width:1024px) and (max-width:1399px){
 table.pipetbl .sc .scl{display:none}
 table.pipetbl .sc .scs{display:inline;white-space:nowrap}
}
/* From 1400px the stage pill stays on one line ("DEPOSIT PAID – BOOKED" was wrapping to two at 1440, 14 Oct 2026): the Trip column gives
   up the width, and the nine columns still fit. Below that the pill may wrap so the table keeps to the screen. */
@media(min-width:1400px){
 html[data-app-theme="light"] body[data-app-surface="staff"] table.pipetbl td:nth-child(4){max-width:none}
 html[data-app-theme="light"] body[data-app-surface="staff"] table.pipetbl .sc{white-space:nowrap}
 html[data-app-theme="light"] body[data-app-surface="staff"] table.pipetbl td:nth-child(2){max-width:170px}
}
@media(min-width:1024px){
 html[data-app-theme="light"] body[data-app-surface="staff"] table.pipetbl td.stick .sub{display:block;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 html[data-app-theme="light"] body[data-app-surface="staff"] .pipewrap::-webkit-scrollbar{height:10px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .pipewrap::-webkit-scrollbar-track{background:var(--app-hover);border-radius:5px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .pipewrap::-webkit-scrollbar-thumb{background:var(--app-muted);border-radius:5px}
}
/* The Pipeline table between 1024 and 1279 wide (14 Oct 2026, the second CRM test pass: Next action was cut in half at 1100 and Last touch was off the edge at 1024
   with nothing to say so). Tighter side padding, a narrower Client and Trip, and Owner and Last touch may wrap: all nine columns fit from 1024 up, the stage,
   value, margin and pax cells still never wrap. 1280 and up is exactly as before. */
@media(min-width:1024px) and (max-width:1279px){
 html[data-app-theme="light"] body[data-app-surface="staff"] table.pipetbl :is(th,td){padding-left:6px;padding-right:6px}
 html[data-app-theme="light"] body[data-app-surface="staff"] table.pipetbl th{letter-spacing:.3px}
 html[data-app-theme="light"] body[data-app-surface="staff"] table.pipetbl td:is(.stick,:nth-child(2)){max-width:140px}
 html[data-app-theme="light"] body[data-app-surface="staff"] table.pipetbl td:is(:nth-child(7),:nth-child(8)){white-space:normal}
 html[data-app-theme="light"] body[data-app-surface="staff"] table.pipetbl td:nth-child(9){max-width:130px}
 html[data-app-theme="light"] body[data-app-surface="staff"] table.pipetbl td.stick .sub{max-width:140px}
 html[data-app-theme="light"] body[data-app-surface="staff"] table.pipetbl .sc{padding:4px 7px}
}
@media(min-width:1024px) and (max-width:1099px){
 html[data-app-theme="light"] body[data-app-surface="staff"] table.pipetbl td:is(.stick,:nth-child(2)){max-width:124px}
 html[data-app-theme="light"] body[data-app-surface="staff"] table.pipetbl td.stick .sub{max-width:124px}
}
/* Every other table in its scroll box (Leads as a table, Commission, the deal page's supplier table): on a laptop a bar you can see, so a column past the edge is never
   a secret. The "swipe the table sideways" line over it is added by syncTableHints() in admin_app.html only while the table is wider than its box. */
@media(min-width:1024px){
 html[data-app-theme="light"] body[data-app-surface="staff"] .tablewrap::-webkit-scrollbar{height:10px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .tablewrap::-webkit-scrollbar-track{background:var(--app-hover);border-radius:5px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .tablewrap::-webkit-scrollbar-thumb{background:var(--app-muted);border-radius:5px}
}
/* The Leads table (the Table switch on Leads) and the Commission table at laptop width: text cells wrap inside a sensible width, the action buttons and the
   money never do, so every column shows from about 1200 (Leads) and from 1024 (Commission). Phone layout untouched. */
@media(min-width:1024px){
 html[data-app-theme="light"] body[data-app-surface="staff"] table.ltable:not(.pipetbl) :is(th,td){padding-left:8px;padding-right:8px}
 html[data-app-theme="light"] body[data-app-surface="staff"] table.ltable:not(.pipetbl) td:not(.r){white-space:normal;overflow-wrap:break-word}
 html[data-app-theme="light"] body[data-app-surface="staff"] table.ltable:not(.pipetbl) td.stick{max-width:190px}
 html[data-app-theme="light"] body[data-app-surface="staff"] table.ltable:not(.pipetbl) td:is(:nth-child(3),:nth-child(7),:nth-child(8)){max-width:150px}
 html[data-app-theme="light"] body[data-app-surface="staff"] table.ltable:not(.pipetbl) td:is(:nth-child(4),:nth-child(5)){max-width:110px}
 html[data-app-theme="light"] body[data-app-surface="staff"] table.comtbl :is(th,td){padding-left:10px;padding-right:10px}
 html[data-app-theme="light"] body[data-app-surface="staff"] table.comtbl td:is(.stick,:nth-child(2)){white-space:normal;overflow-wrap:break-word}
 html[data-app-theme="light"] body[data-app-surface="staff"] table.comtbl td.stick{max-width:320px}
}
/* ── A record (deal or trip): the header block ── */
html[data-app-theme="light"] body[data-app-surface="staff"] .back{font-size:13px;font-weight:500;color:var(--app-muted);margin-bottom:8px}
html[data-app-theme="light"] body[data-app-surface="staff"] .back:hover{color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .rechead{display:block;padding:18px 18px 16px;margin:0 0 16px}
html[data-app-theme="light"] body[data-app-surface="staff"] .recmain{display:flex;align-items:center;gap:14px}
html[data-app-theme="light"] body[data-app-surface="staff"] .rectitle{display:block;min-width:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .recav{display:flex;flex:none;align-items:center;justify-content:center;width:48px;height:48px;border-radius:13px;background:var(--app-accent);color:#fff;font:800 19px/1 var(--brand-head);letter-spacing:.03em}
html[data-app-theme="light"] body[data-app-surface="staff"] .dn{font-size:24px;line-height:1.15;margin:0 0 8px}
html[data-app-theme="light"] body[data-app-surface="staff"] .recchips{margin:0!important}
html[data-app-theme="light"] body[data-app-surface="staff"] .wsmeta{display:flex;flex-wrap:wrap;gap:14px 34px;margin:16px 0 0;padding-top:14px;border-top:1px solid var(--app-line);font-size:14px;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .wsmeta span{display:flex;flex-direction:column;gap:3px;font-weight:600;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .wsmeta span::before{content:attr(data-l)}
html[data-app-theme="light"] body[data-app-surface="staff"] .rechead .actbar{background:none;border:0;box-shadow:none;padding:0;margin:14px 0 0}
html[data-app-theme="light"] body[data-app-surface="staff"] .rechead .actlab{display:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .actbar{background:var(--app-panel);border:1px solid var(--app-line);border-radius:var(--app-radius)}
/* The steps of a deal read as one bar of tabs under the header. */
html[data-app-theme="light"] body[data-app-surface="staff"] .wsteprail{border-radius:12px;padding:0 8px;margin:0 0 18px}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.wstab,.wstep){font-size:14px;font-weight:600;padding:13px 13px 11px;border-bottom:3px solid transparent;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.wstab.on,.wstep.on){color:var(--app-ink);border-bottom-color:var(--app-accent)}
html[data-app-theme="light"] body[data-app-surface="staff"] .wstep.wf-done{color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .wstep.wf-current{color:var(--gold2)}
html[data-app-theme="light"] body[data-app-surface="staff"] .wstepnum{width:20px;height:20px;font-size:12px;font-weight:700}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.wstepdot,.wstabdot){box-shadow:none}
/* ── A trip: summary and permits in a rail, the days as the main column ── */
html[data-app-theme="light"] body[data-app-surface="staff"] .ltonly{display:block}
html[data-app-theme="light"] body[data-app-surface="staff"] h2.ltonly{display:flex}
html[data-app-theme="light"] body[data-app-surface="staff"] span.ltonly{display:flex}
html[data-app-theme="light"] body[data-app-surface="staff"] .dkonly{display:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .tph{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:20px;line-height:1.25;margin:0 0 12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .tph span{font-family:var(--app-font)!important;font-size:13px;font-weight:500;letter-spacing:0;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpsum{padding:18px 20px 8px;margin:0 0 14px;line-height:1.5;font-size:14px}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpsum .tph{margin-bottom:10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpsum>div[data-l]{display:grid;grid-template-columns:84px minmax(0,1fr);gap:12px;align-items:baseline;padding:11px 0;border-top:1px solid #EDF0F4;opacity:1;font-size:14px;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpsum>div[data-l]::before{content:attr(data-l)}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpsum .sub{opacity:1}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpsum .tpv{min-width:0;overflow-wrap:anywhere}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpday{margin:0 0 12px;overflow:hidden}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpday>summary{padding:16px 48px 16px 18px}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpday>summary::after{right:18px;top:20px;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .tphd{align-items:center;gap:12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpdn{background:var(--app-accent-soft);color:#8A4A00;border-radius:7px;padding:4px 9px;font-size:11px;font-weight:700;letter-spacing:.1em}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpdt{font-size:20px;line-height:1.2}
html[data-app-theme="light"] body[data-app-surface="staff"] .tptag{background:var(--app-accent);color:var(--app-on-accent);font-size:12px;font-weight:700;letter-spacing:.1em;padding:4px 10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .tppeek{font-size:13px;color:var(--app-muted);opacity:1;margin-top:7px}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpday.tptoday{border-color:var(--app-accent);box-shadow:0 0 0 3px rgba(208,112,0,.13)}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpbody{padding:0 18px 16px}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpwhere{opacity:1;margin:0 0 6px}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpwhere i{font-style:normal}
html[data-app-theme="light"] body[data-app-surface="staff"] .tprows{border-top:1px solid #EDF0F4;margin:10px 0 6px}
html[data-app-theme="light"] body[data-app-surface="staff"] .tprow{border-bottom:1px solid #EDF0F4;padding:10px 0;font-size:14px}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.tpplan,.tpbk){font-size:14px}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpopt{opacity:1;color:var(--app-muted);font-size:13px}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpf{border-bottom:1px solid var(--app-line);padding:10px 0;font-size:14px}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpfl{opacity:1;color:var(--app-muted);font-size:13px}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpfv{color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpfv .sub,.tpsum .tpv>.sub{opacity:1;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .tptrav i{color:var(--app-accent)}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpsleep{border-top:1px solid #EDF0F4;margin-top:12px;padding-top:10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .gmjump{font-family:var(--brand-ui)!important;font-weight:600}
/* ── Sections that open and shut, and the bands that group them ── */
html[data-app-theme="light"] body[data-app-surface="staff"] .wsect{margin:12px 0}
html[data-app-theme="light"] body[data-app-surface="staff"] .wsum{padding:15px 18px;font-size:14px;font-weight:650}
html[data-app-theme="light"] body[data-app-surface="staff"] .wsect[open]>.wsum{border-bottom:1px solid #EDF0F4}
html[data-app-theme="light"] body[data-app-surface="staff"] .wsbody{padding:14px 18px 18px}
html[data-app-theme="light"] body[data-app-surface="staff"] .wsprev{font-size:13px;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .wsband{margin:34px 0 12px;padding-bottom:0;border-bottom:0;align-items:baseline}
html[data-app-theme="light"] body[data-app-surface="staff"] .wsbandsub{letter-spacing:.08em}
@media(min-width:1024px){
 html[data-app-theme="light"] body[data-app-surface="staff"]>.wrap{padding:30px 36px 56px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .topbar{padding:10px 36px;min-height:64px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .app-find-trigger{min-width:250px;justify-content:flex-start}
 html[data-app-theme="light"] body[data-app-surface="staff"] .app-find-trigger kbd{margin-left:auto}
 html[data-app-theme="light"] body[data-app-surface="staff"] .rechead{padding:24px 26px 22px;margin:0 0 18px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .recmain{gap:18px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .recav{width:58px;height:58px;border-radius:15px;font-size:24px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .dn{font-size:32px;margin:0 0 10px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .wsmeta{gap:10px 38px;margin:20px 0 0;padding-top:18px;font-size:16px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .rechead .actbar{margin:18px 0 0}
 html[data-app-theme="light"] body[data-app-surface="staff"] .tpgrid{display:grid;grid-template-columns:minmax(0,1fr) 348px;gap:26px;align-items:start}
 html[data-app-theme="light"] body[data-app-surface="staff"] .tpmain{display:block;grid-column:1;grid-row:1;min-width:0}
 html[data-app-theme="light"] body[data-app-surface="staff"] .tpside{display:block;grid-column:2;grid-row:1;min-width:0;position:sticky;top:84px;max-height:calc(100vh - 104px);overflow-y:auto}
 html[data-app-theme="light"] body.kdemo[data-app-surface="staff"] .tpside{top:112px;max-height:calc(100vh - 132px)}
 html[data-app-theme="light"] body[data-app-surface="staff"] .tpside .wsect{margin:0 0 14px}
 @media(min-width:1280px){
  html[data-app-theme="light"] body[data-app-surface="staff"] .rechead{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0;align-items:end}
  html[data-app-theme="light"] body[data-app-surface="staff"] .recmain{grid-column:1/-1}
  html[data-app-theme="light"] body[data-app-surface="staff"] .wsmeta{grid-column:1}
  html[data-app-theme="light"] body[data-app-surface="staff"] .rechead .actbar{grid-column:2;margin:20px 0 0;padding:18px 0 0 32px;border-top:1px solid var(--app-line);border-radius:0;align-self:stretch;justify-content:flex-end}
  html[data-app-theme="light"] body[data-app-surface="staff"] .rechead .wsmeta+.actbar .actbtns{justify-content:flex-end}
 }
}

/* ── Home: the money at the top, as a picture that builds (5 Oct 2026) ───────
   Jackson: "make the top financial bit more exciting ... some kind of graphics
   in there ... so as it loads, it builds up". The free-cash card is the one
   dark Kingse block on the white page, so the eye lands on it first. Inside it
   the four lines that make up Free cash are drawn as a waterfall that builds
   left to right (scripts/admin_app.html fcWaterfall), the figures count up, and
   three gold arcs draw themselves into the corner. Each tile under it has its
   own icon; the two profit tiles carry a margin ring that sweeps in.
   Every resting style here is the FINISHED picture and the keyframes only say
   where it starts from, so with reduced motion (or no animation at all) the
   card simply shows the finished picture. */
@keyframes fcGrow{from{transform:scaleY(0)}}
@keyframes fcFade{from{opacity:0;transform:translateY(6px)}}
@keyframes fcArc{from{stroke-dashoffset:1000}}
@keyframes kRise{from{opacity:0;transform:translateY(12px)}}
@keyframes kRing{from{stroke-dashoffset:var(--c)}}
@keyframes fcFlow{from{stroke-dashoffset:16}}
@keyframes fcSweep{from{transform:translateX(-120%)}}
@keyframes fcDraw{from{stroke-dashoffset:40}}
@keyframes fcScan{from{opacity:.95;transform:translateX(0)}}
@keyframes fcPulse{from{box-shadow:0 0 0 0 rgba(124,245,200,.55)}}
@keyframes fcRunDraw{from{stroke-dashoffset:1}}
@keyframes fcScanR{from{opacity:.95;transform:translateX(0)}}
@keyframes fcHalo{from{opacity:.9;transform:scale(.4);transform-box:fill-box;transform-origin:center}}
html[data-app-theme="light"] body[data-app-surface="staff"] .owner-home .cards>.cash-compact{--ink-rgb:243,232,224;--tx:1;--shade-rgb:0,0,0;--sh:1;--ink:#F3E8E0;--app-ink:#FFFFFF;--app-muted:rgba(243,232,224,.74);--app-line:rgba(243,232,224,.16);--gold2:#F6B45C;--gold2-rgb:246,180,92;--goldtx-rgb:246,180,92;--gold-rgb:208,112,0;--warn:#FFB199;
 position:relative;overflow:hidden;color:#fff;border:0;border-radius:18px;padding:22px 20px 10px!important;
 background:radial-gradient(540px 280px at 100% 0%,rgba(208,112,0,.36),transparent 70%),linear-gradient(135deg,#2B1C12 0%,#1C130D 58%,#15100C 100%);
 box-shadow:0 14px 34px rgba(32,21,14,.26)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .cash-headlines{position:relative;display:grid;grid-template-columns:1fr;gap:16px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .cash-headlines>div+div{border-left:0;padding-left:0;border-top:1px solid var(--app-line);padding-top:14px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .lab{color:#F6B45C;letter-spacing:.14em}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .cash-headlines .val{font-size:44px!important;font-weight:600;line-height:1.05;letter-spacing:-.01em;color:#fff;margin-top:8px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .cash-headlines>div+div .val{font-size:24px!important}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .sub{font-size:13px;line-height:1.45;margin-top:8px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fc-asof{position:relative;font-size:12px;color:rgba(243,232,224,.6);margin-top:14px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .cash-detail{position:relative;border-top:1px solid var(--app-line);margin-top:14px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .cash-detail summary{color:#F6B45C}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcarcs{position:absolute;right:0;top:0;width:230px;height:230px;pointer-events:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcarcs circle{fill:none;stroke:rgba(246,180,92,.3);stroke-width:1.1;stroke-dasharray:1000;stroke-dashoffset:0;animation:fcArc 1.8s ease-out backwards}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcarcs circle:nth-child(2){stroke:rgba(246,180,92,.2);animation-delay:.18s}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcarcs circle:nth-child(3){stroke:rgba(246,180,92,.12);animation-delay:.36s}
/* The waterfall: bank, plus clients, less bills, less the card, equals free cash.
   Third cut (8 Oct 2026): one drawn SVG (fcWaterfall). Bars grow from their
   anchor in order, each running total is carried across by a hairline that
   flows left to right, the scale and gridlines sit behind, Free cash glows. */
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcviz{position:relative;margin:16px 0 6px;max-width:640px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsvg{display:block;width:100%;height:auto;overflow:visible}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcsvg text{font-family:var(--brand-ui)!important;font-variant-numeric:tabular-nums}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcsvg .fcg{stroke:rgba(243,232,224,.09);stroke-width:1}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcsvg .fcx{stroke:rgba(243,232,224,.3);stroke-width:1}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcsvg .fct{fill:rgba(243,232,224,.46);font-size:10.5px;font-weight:500;text-anchor:end;letter-spacing:.04em}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcsvg .fcb rect{transform-box:fill-box;transform-origin:bottom;animation:fcGrow .7s cubic-bezier(.2,.8,.2,1) backwards;animation-delay:calc(var(--i)*.16s + .15s)}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcsvg .fcb.base rect{fill:url(#fcgBase)}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcsvg .fcb.up rect{fill:url(#fcgUp)}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcsvg .fcb.down rect{fill:url(#fcgDown);transform-origin:top}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcsvg .fcb.total rect{fill:url(#fcgTotal);stroke:rgba(255,214,126,.6);stroke-width:1}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcsvg .fcb-glow{fill:#E08A1E;opacity:.55;filter:url(#fcGlow);transform-box:fill-box;transform-origin:bottom;animation:fcGrow .7s cubic-bezier(.2,.8,.2,1) backwards;animation-delay:calc(var(--i)*.16s + .15s)}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcsvg .fcc{stroke:rgba(243,232,224,.46);stroke-width:1.2;stroke-dasharray:3 5;stroke-linecap:round;animation:fcFade .4s ease-out backwards,fcFlow 1.6s linear infinite;animation-delay:calc(var(--i)*.16s + .6s),0s}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcsvg .fcv{fill:#fff;font-size:12.5px;font-weight:600;text-anchor:middle;animation:fcFade .5s ease-out backwards;animation-delay:calc(var(--i)*.16s + .42s)}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcsvg .fcb.total .fcv{fill:#FFD67E;font-size:13.5px;font-weight:700}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcsvg .fcn{fill:rgba(243,232,224,.64);font-size:9.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;text-anchor:middle;animation:fcFade .5s ease-out backwards;animation-delay:calc(var(--i)*.16s + .42s)}
/* The instrument frame (8 Oct 2026): ice-blue brackets, ticks and one scan line;
   the feed line gets a live dot; the status pill is lit in its own colour. */
html[data-app-theme="light"] body[data-app-surface="staff"] .fcsvg .fcg{stroke:rgba(190,232,255,.11)}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcsvg .fcx{stroke:rgba(190,232,255,.34)}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcsvg .fct{fill:rgba(190,232,255,.5)}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcsvg .fchud{fill:none;stroke:rgba(190,232,255,.55);stroke-width:1.2;stroke-dasharray:40;animation:fcDraw .9s ease-out .2s backwards}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcsvg .fctick{stroke:rgba(190,232,255,.5);stroke-width:1}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcsvg .fcscan{stroke:rgba(190,232,255,.7);stroke-width:1.5;opacity:0;transform:translateX(536px);animation:fcScan 1.6s cubic-bezier(.4,0,.6,1) .3s backwards}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fc-asof{display:flex;align-items:center;gap:8px;font-family:var(--brand-ui)!important;font-size:11px;letter-spacing:.08em;text-transform:uppercase}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fc-asof::before{content:'';width:7px;height:7px;border-radius:50%;background:#7CF5C8;box-shadow:0 0 0 9px rgba(124,245,200,0);animation:fcPulse 2.4s ease-out infinite}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fc-asof.fc-stale::before{background:var(--warn);animation:none;box-shadow:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcstatus{margin-top:12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcstat{display:inline-flex;align-items:center;gap:7px;font-family:var(--brand-ui)!important;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;padding:5px 10px 5px 8px;border-radius:999px;border:1px solid rgba(190,232,255,.25);color:#DCEFFB;background:rgba(190,232,255,.06)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcstat i{width:6px;height:6px;border-radius:50%;background:#7CF5C8;box-shadow:0 0 10px #7CF5C8}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcstat-caution{color:#FFD9A8;border-color:rgba(255,196,120,.35)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcstat-caution i{background:#FFB65C;box-shadow:0 0 10px #FFB65C}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcstat-freeze{color:#FFC4B8;border-color:rgba(255,140,120,.4)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcstat-freeze i{background:#FF7A66;box-shadow:0 0 10px #FF7A66}
/* The cash runway and the gauge (8 Oct 2026, fourth cut). The runway is one
   SVG: a gold line that draws itself in over a gradient that fades up, the
   dashed soft line (invoiced deposits and weighted quotes) behind it, the
   floor dashed in ice, the low point marked, the 'now' dot pulsing, and a
   scan line that crosses once. Hovering a week shows what lands and leaves. */
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun{position:relative;margin-top:22px}
/* The scoreboard under the three figures (16 Nov 2026): the break-even rule as one bar, what the pace makes, the cash check. */
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsimple{position:relative;margin-top:22px;min-width:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsb{display:grid;gap:18px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsb-row{min-width:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsb-row+.fcsb-row{border-top:1px solid var(--app-line);padding-top:16px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsb-lab{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:rgba(243,232,224,.66)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsb-line{font-size:14px;line-height:1.4;color:#F3E8E0;margin-top:6px;font-variant-numeric:tabular-nums}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsb-line b{font-size:24px;font-weight:600;color:#fff;letter-spacing:-.01em;margin-right:4px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsb-dot{color:rgba(243,232,224,.5)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsb-big{font-size:32px;font-weight:600;line-height:1.1;letter-spacing:-.01em;color:#FFD67E;margin-top:6px;font-variant-numeric:tabular-nums}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsb-big span{font-size:14px;font-weight:500;letter-spacing:0;color:rgba(243,232,224,.82)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsb-big.neg{color:#FF9B8A}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsb-sub{font-size:12px;line-height:1.45;color:rgba(243,232,224,.78);margin-top:8px;font-variant-numeric:tabular-nums}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsb-month{color:#F3E8E0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsb-bar{display:flex;height:14px;border-radius:7px;overflow:hidden;background:rgba(243,232,224,.1);margin-top:12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsb-bar i{display:block;height:100%;transform-origin:left;animation:fcsbGrow .8s cubic-bezier(.2,.8,.2,1) .15s backwards}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsb-bar i.cost{background:rgba(190,232,255,.62)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsb-bar i.profit{background:linear-gradient(90deg,#F6B45C,#FFD67E);animation-delay:.45s}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsb-bar i.short{background:repeating-linear-gradient(45deg,rgba(255,155,138,.16) 0 4px,rgba(255,155,138,.62) 4px 6px);animation-delay:.45s}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsb-key{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:12px;line-height:1.45;color:rgba(243,232,224,.86);margin-top:8px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsb-key .sw{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsb-key .sw.cost{background:rgba(190,232,255,.62)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsb-key .sw.profit{background:#F6B45C}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsb-key .sw.short{background:rgba(255,155,138,.62)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsb-pill{display:inline-block;padding:3px 10px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsb-pill.good{background:rgba(72,199,142,.18);color:#8BE8B9}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsb-pill.warn{background:rgba(246,180,92,.2);color:#FFD67E}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsb-pill.bad{background:rgba(255,120,100,.2);color:#FFB3A6}
@keyframes fcsbGrow{from{transform:scaleX(0)}}
/* The week-by-week forecast behind its fold. */
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-fold{position:relative;margin-top:22px;border-top:1px solid var(--app-line)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-fold>summary{list-style:none;cursor:pointer;display:flex;align-items:center;min-height:44px;font-size:13px;font-weight:600;color:#F6B45C}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-fold>summary::-webkit-details-marker{display:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-fold>summary::after{content:'+';margin-left:8px;font-size:16px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-fold[open]>summary::after{content:'−'}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-fold .fcrun{margin-top:4px;max-width:760px}
/* No scoreboard (a forecast without one, or a failed read): the forecast sits open where it always did, with nothing to click. */
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact.fc-nosimple .fcrun-fold{border-top:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact.fc-nosimple .fcrun-fold>summary{display:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact.fc-nosimple .fcrun-fold .fcrun{margin-top:0;max-width:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-head{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:4px 10px;margin-bottom:6px;min-width:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-head .lab{white-space:normal}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-head .lab{color:#BFE9FF;letter-spacing:.14em}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-vsw{display:flex;flex-wrap:wrap;gap:6px;flex:1 0 100%;margin-top:4px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-vsw button{font:inherit;font-size:12px;font-weight:600;line-height:1.2;min-height:32px;padding:6px 12px;border-radius:16px;border:1px solid rgba(190,232,255,.28);background:transparent;color:rgba(243,232,224,.78);cursor:pointer;-webkit-tap-highlight-color:transparent}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-vsw button[aria-pressed="true"]{background:rgba(190,232,255,.16);border-color:var(--fcg-sun);color:var(--fcg-sun)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-vsw button:focus-visible{outline:2px solid var(--fcg-sun);outline-offset:2px}
/* How far ahead the chart looks (16 Nov 2026): 3, 6 or 12 months. The same pills as the view switch; it sits on the
   title's own line where there is room and drops under it on a phone. */
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-hsw{flex:0 1 auto;margin-top:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-basis{display:block;margin-top:6px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-wait{font-size:12px;color:rgba(243,232,224,.5);padding:40px 0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-failed{padding:14px 0;color:#FFB199}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrsvg{display:block;width:100%;height:auto;overflow:visible}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcrsvg text{font-family:var(--brand-ui)!important;font-variant-numeric:tabular-nums}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcrsvg .fcrg{stroke:rgba(190,232,255,.1);stroke-width:1}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcrsvg .fcrz{stroke:rgba(255,177,153,.55);stroke-width:1}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcrsvg .fcrt{fill:rgba(190,232,255,.62);font-size:12px;font-weight:500;text-anchor:end;letter-spacing:.04em}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcrsvg .fcrx{fill:rgba(243,232,224,.7);font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;text-anchor:middle}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcrsvg .fcrf{stroke:rgba(190,232,255,.6);stroke-width:1;stroke-dasharray:6 5}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcrsvg .fcrend{font-size:12px;font-weight:700;letter-spacing:.02em;text-anchor:start;animation:fcFade .6s ease-out 1.5s backwards}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcrsvg .fcrend.soft{fill:#FFD67E}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcrsvg .fcrend.firm{fill:rgba(243,232,224,.78)}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcrsvg .fcrend .fcrwhat{font-size:11px;font-weight:500;letter-spacing:.02em;fill:rgba(243,232,224,.66)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-sub{font-size:12px;line-height:1.45;color:rgba(243,232,224,.6);margin-top:6px}
/* The money card in words (14 Oct 2026): the sum under the headline, a key under each chart in sentences at their real
   size, and the forecast's method one tap away. The charts are drawn to their box, so their own words are real pixels. */
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsum{font-size:12px;line-height:1.45;color:rgba(243,232,224,.82);margin-top:8px;font-variant-numeric:tabular-nums}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-say{font-size:12px;line-height:1.45;color:rgba(243,232,224,.78);margin:0 0 6px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-key{display:grid;gap:6px;margin-top:10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fck{display:flex;gap:9px;align-items:flex-start;font-size:12px;line-height:1.45;color:rgba(243,232,224,.78)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fck b{color:#F3E8E0;font-weight:600}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fck i{flex:0 0 18px;height:0;margin-top:8px;border-top:3px solid #FFD67E;border-radius:2px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fck-firm i{border-top:2px dashed rgba(243,232,224,.62);border-radius:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcgrow .fck-firm i{border-top:2px dashed rgba(190,232,255,.85)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-how{margin-top:10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-how>summary{list-style:none;cursor:pointer;display:flex;align-items:center;min-height:32px;font-size:12px;font-weight:600;color:#F6B45C}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-how>summary::-webkit-details-marker{display:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-how>summary::after{content:'+';margin-left:8px;font-size:16px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-how[open]>summary::after{content:'−'}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-how .fcrun-sub{margin-top:0}
/* A Home figure next to its goal: one line under Booked revenue and Booked trips, filled when the goals board answers. */
html[data-app-theme="light"] body[data-app-surface="staff"] .card .sub .kcmp{color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcrsvg .fcrfl{fill:rgba(190,232,255,.8);font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;text-anchor:start;paint-order:stroke;stroke:#1C130D;stroke-width:4px;stroke-linejoin:round}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcrsvg .fcra{fill:url(#fcrgA);animation:fcFade 1s ease-out .9s backwards}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcrsvg .fcrb{fill:none;stroke:rgba(var(--ink-rgb),.5);stroke-width:1.3;stroke-dasharray:4 4;stroke-linecap:round;animation:fcFade .8s ease-out 1.3s backwards}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcrsvg .fcrl{fill:none;stroke:url(#fcrgL);stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;filter:url(#fcrGlow);stroke-dasharray:1;animation:fcRunDraw 1.4s cubic-bezier(.3,.6,.3,1) .4s backwards}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcrsvg .fcrd{fill:#1C130D;stroke:#FFD67E;stroke-width:1.4;animation:fcFade .4s ease-out backwards;animation-delay:calc(var(--i)*.1s + .5s)}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcrsvg .fcrlow{fill:#BFE9FF;filter:drop-shadow(0 0 6px rgba(191,233,255,.7));animation:fcFade .5s ease-out 1.6s backwards}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcrsvg .fcrlow.neg{fill:#FFB199;filter:drop-shadow(0 0 6px rgba(255,177,153,.7))}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcrsvg .fcrnow{fill:#FFD67E}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcrsvg .fcrnow-halo{fill:none;stroke:#FFD67E;stroke-width:1.2;opacity:0;animation:fcHalo 2.4s ease-out infinite}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcrsvg .fcrscan{stroke:rgba(190,232,255,.75);stroke-width:1.5;opacity:0;transform:translateX(var(--scan,494px));animation:fcScanR 1.5s cubic-bezier(.4,0,.6,1) .45s backwards}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcrsvg .fcrun-hit{fill:transparent;cursor:crosshair}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcrsvg .fcrun-hit.on{fill:rgba(190,232,255,.07)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-tip{position:absolute;z-index:3;min-width:190px;max-width:270px;background:rgba(20,14,10,.97);border:1px solid rgba(190,232,255,.28);border-radius:10px;padding:10px 12px;font-size:12px;line-height:1.5;color:#F3E8E0;box-shadow:0 12px 32px rgba(var(--shade-rgb),calc(.5*var(--sh)));pointer-events:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-tip b{color:#FFD67E;font-weight:700}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-tip b.neg{color:#FFB199}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-tip .in{color:#7DEBBE}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-tip .out{color:#FFA98F}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-tip .soft{color:rgba(191,233,255,.85)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-tip .it{display:flex;justify-content:space-between;gap:10px;color:rgba(243,232,224,.78);font-size:12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-tip .it span{white-space:nowrap}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcgauge{display:flex;align-items:center;flex-wrap:wrap;gap:12px 14px;margin-top:16px;border:0!important;padding:0!important;min-width:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcgring{position:relative;width:78px;height:78px;flex:0 0 78px;display:flex;align-items:center;justify-content:center}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcgring svg{position:absolute;inset:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcgring .ring-bg{stroke:rgba(190,232,255,.14)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcgring .ring-fg{stroke:#FFD67E;filter:drop-shadow(0 0 6px rgba(255,214,126,.6));animation:kRing 1.3s cubic-bezier(.2,.8,.2,1) .5s backwards}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcgring>span{position:relative;display:flex;flex-direction:column;align-items:center;line-height:1}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcgring b{font-family:var(--brand-ui)!important;font-size:16px;font-weight:700;color:#fff}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcgring i{margin-top:3px;font-family:var(--brand-ui)!important;font-style:normal;font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:rgba(243,232,224,.6)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcgauge p{margin:0;font-size:12px;line-height:1.45;color:rgba(243,232,224,.74);flex:1 1 120px;min-width:0;max-width:220px}
/* Bookings by month (8 Oct 2026): bars that rise in, the current month lit, the
   three-month average as a line. */
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcgsvg{display:block;width:100%;height:auto;overflow:visible}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcgsvg text{font-family:var(--brand-ui)!important;font-variant-numeric:tabular-nums}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcgsvg .fcgg{stroke:rgba(190,232,255,.1);stroke-width:1}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcgsvg .fcgx0{stroke:rgba(190,232,255,.34);stroke-width:1}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcgsvg .fcgt{fill:rgba(190,232,255,.62);font-size:12px;font-weight:500;text-anchor:end;letter-spacing:.04em}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcgsvg .fcgb rect{fill:url(#fcggB);transform-box:fill-box;transform-origin:bottom;animation:fcGrow .7s cubic-bezier(.2,.8,.2,1) backwards;animation-delay:calc(var(--i)*.1s + .2s)}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcgsvg .fcgb.now rect{fill:url(#fcggN);stroke:rgba(255,214,126,.6);stroke-width:1;filter:drop-shadow(0 0 10px rgba(208,112,0,.55))}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcgsvg .fcgv{fill:#fff;font-size:12px;font-weight:700;text-anchor:middle;animation:fcFade .5s ease-out backwards;animation-delay:calc(var(--i)*.1s + .5s)}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcgsvg .fcgb.now .fcgv{fill:#FFD67E}
/* 26 Nov 2026: this month's booked figure sits INSIDE its solid part, dark on the gold; the likely top-up is the gold "+$87k" above. */
html[data-app-theme="light"] body[data-app-surface="staff"] .fcgsvg .fcgb .fcgv.in,html[data-app-theme="light"] body[data-app-surface="staff"] .fcgsvg .fcgb.now .fcgv.in{fill:#fff;font-size:12px;paint-order:stroke;stroke:#5A2E05;stroke-width:3px;stroke-linejoin:round}
/* 26 Nov 2026: the likely figure reads on the stripes too (it sits inside the hatched part when a plan line runs above it). */
html[data-app-theme="light"] body[data-app-surface="staff"] .fcgsvg .fcgb .fcgv.lik{paint-order:stroke;stroke:#1C130D;stroke-width:3px;stroke-linejoin:round}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcgsvg .fcgc{fill:rgba(243,232,224,.7);font-size:11px;font-weight:600;letter-spacing:.06em;text-anchor:middle;text-transform:uppercase}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcgsvg .fcgx{fill:rgba(243,232,224,.72);font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;text-anchor:middle}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcgsvg .fcgavg{fill:none;stroke:rgba(190,232,255,.7);stroke-width:1.4;stroke-dasharray:.03 .02;stroke-linecap:round;animation:fcRunDraw 1.4s ease-out .9s backwards}
/* The card itself: a faint drafting grid fading in from the top right, and one
   band of light that crosses once as the picture finishes building. Both rest
   invisible or static, so reduced motion simply shows the finished card. */
html[data-app-theme="light"] body[data-app-surface="staff"] .owner-home .cards>.cash-compact::before{content:'';position:absolute;inset:0;pointer-events:none;opacity:1;
 background:repeating-linear-gradient(90deg,rgba(190,232,255,.06) 0 1px,transparent 1px 34px),repeating-linear-gradient(0deg,rgba(190,232,255,.06) 0 1px,transparent 1px 34px);
 -webkit-mask-image:radial-gradient(560px 340px at 90% 6%,#000 0%,transparent 74%);mask-image:radial-gradient(560px 340px at 90% 6%,#000 0%,transparent 74%)}
html[data-app-theme="light"] body[data-app-surface="staff"] .owner-home .cards>.cash-compact::after{content:'';position:absolute;top:-20%;bottom:-20%;left:0;width:34%;pointer-events:none;opacity:1;border:0;
 background:linear-gradient(100deg,transparent 0%,rgba(255,226,176,.07) 42%,rgba(255,226,176,.13) 50%,rgba(255,226,176,.07) 58%,transparent 100%);
 transform:translateX(330%);animation:fcSweep 1.5s cubic-bezier(.3,.7,.3,1) 1.05s backwards}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact>*{position:relative}
/* The sales deck (8 Oct 2026): three panels, one row on a laptop, stacked on a
   phone. Compact one-line rows; the queue's sort sits in its panel head. */
html[data-app-theme="light"] body[data-app-surface="staff"] .salesdeck{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin:6px 0 10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .deckpanel{background:var(--app-panel);border:1px solid var(--app-line);border-radius:var(--app-radius);padding:16px 18px 12px;min-width:0;animation:kRise .55s cubic-bezier(.2,.8,.2,1) backwards}
html[data-app-theme="light"] body[data-app-surface="staff"] .deck-follow{animation-delay:.08s}
html[data-app-theme="light"] body[data-app-surface="staff"] .deck-trips{animation-delay:.16s}
html[data-app-theme="light"] body[data-app-surface="staff"] .deckhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 6px}
html[data-app-theme="light"] body[data-app-surface="staff"] .deckhead h2{font-size:20px;line-height:1.2;margin:0;padding:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .deckhead h2::after{display:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .deckcount{font-family:var(--brand-ui)!important;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--app-muted);text-align:right}
html[data-app-theme="light"] body[data-app-surface="staff"] .decklink{font-family:var(--brand-ui)!important;font-size:13px;font-weight:600;color:var(--gold2);text-decoration:none;white-space:nowrap}
html[data-app-theme="light"] body[data-app-surface="staff"] .deckmeta{font-size:12px;color:var(--app-muted);margin:0 0 10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .qsort{display:flex;align-items:center;gap:6px;font-family:var(--brand-ui)!important;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .qsort select{font-family:var(--brand-ui)!important;font-size:13px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--app-ink);background:var(--app-bg);border:1px solid var(--app-line);border-radius:9px;padding:6px 28px 6px 10px;-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' fill='none' stroke='%235B6575' stroke-width='1.6' stroke-linecap='round'/></svg>");background-repeat:no-repeat;background-position:right 10px center}
html[data-app-theme="light"] body[data-app-surface="staff"] .salesdeck .wgrouphdr{margin:14px 0 8px;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .salesdeck .wgrouphdr:first-child{margin-top:2px}
html[data-app-theme="light"] body[data-app-surface="staff"] .row.qrow{display:flex;align-items:center;gap:10px;padding:10px 12px;margin:0 0 6px}
html[data-app-theme="light"] body[data-app-surface="staff"] .qrow .info{min-width:0;flex:1 1 auto}
html[data-app-theme="light"] body[data-app-surface="staff"] .qrow .nm{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-weight:600}
html[data-app-theme="light"] body[data-app-surface="staff"] .qrow .meta{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:3px;font-size:12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .qtag{font-family:var(--brand-ui)!important;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#0E7C56;background:#DEF7EC;border-radius:6px;padding:2px 6px}
html[data-app-theme="light"] body[data-app-surface="staff"] .qsrc{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--app-muted);border:1px solid var(--app-line);border-radius:6px;padding:1px 6px;line-height:1.5}
html[data-app-theme="light"] body[data-app-surface="staff"] .qpool{color:#8A5A00}
html[data-app-theme="light"] body[data-app-surface="staff"] .qacts{display:flex;gap:6px;flex:0 0 auto}
html[data-app-theme="light"] body[data-app-surface="staff"] .qacts .pnext{align-self:center;font-size:13px}
html[data-app-theme="light"] body[data-app-surface="staff"] .qacts .btn.sm{padding:6px 10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .qmore summary{cursor:pointer;color:var(--gold2);font-size:13px;font-weight:700;padding:8px 2px;list-style:none;-webkit-appearance:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .qmore summary::-webkit-details-marker{display:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .qold summary{color:var(--app-muted);font-weight:600}
html[data-app-theme="light"] body[data-app-surface="staff"] .salesdeck .note{margin:4px 0 8px}
@media(max-width:600px){html[data-app-theme="light"] body[data-app-surface="staff"] .row.qrow{flex-wrap:wrap}html[data-app-theme="light"] body[data-app-surface="staff"] .qacts{width:100%;justify-content:flex-start}}
@media(min-width:900px){html[data-app-theme="light"] body[data-app-surface="staff"] .salesdeck{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}html[data-app-theme="light"] body[data-app-surface="staff"] .salesdeck>.deck-trips{grid-column:1/-1}}
@media(min-width:1280px){html[data-app-theme="light"] body[data-app-surface="staff"] .salesdeck{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,.95fr)}html[data-app-theme="light"] body[data-app-surface="staff"] .salesdeck>.deck-trips{grid-column:auto}}
/* The Leads screen (8 Oct 2026): the group strip in work order, the whose bar
   with the solo switch, the ⋯ menu, the red flag, the lead table. */
html[data-app-theme="light"] body[data-app-surface="staff"] h2 .hsub{font-family:var(--brand-ui)!important;font-size:13px;font-weight:600;letter-spacing:.02em;text-transform:none;color:var(--app-muted);margin-left:12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .lbar-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:var(--app-panel);border:1px solid var(--app-line);border-radius:var(--app-radius);padding:10px 12px;margin:0 0 12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .lbar-top .tf{flex:1 1 240px;min-width:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .lbar-top .qsort .tf{flex:0 0 auto;padding:6px 28px 6px 10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .lbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .lbar .qsort select{padding:6px 28px 6px 10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .lswitch{display:flex;align-items:center;gap:8px;font-family:var(--brand-ui)!important;font-size:13px;font-weight:600;color:var(--app-muted);cursor:pointer}
html[data-app-theme="light"] body[data-app-surface="staff"] .lswitch input{width:16px;height:16px;accent-color:var(--app-accent);margin:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .lsw-n{font-size:12px;font-weight:700;background:var(--app-bg);border:1px solid var(--app-line);border-radius:999px;padding:1px 8px;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .lgroups{display:flex;align-items:stretch;background:var(--app-panel);border:1px solid var(--app-line);border-radius:var(--app-radius);overflow:hidden;margin:0 0 12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .lgroup{flex:1 1 0;min-width:0;font:inherit;background:transparent;border:0;border-right:1px solid var(--app-line);padding:14px 14px 12px;text-align:left;cursor:pointer;color:var(--app-ink);transition:background .18s ease}
html[data-app-theme="light"] body[data-app-surface="staff"] .lgroup:hover{background:var(--app-hover)}
html[data-app-theme="light"] body[data-app-surface="staff"] .lgroup.on{background:var(--app-accent-soft);box-shadow:inset 0 -3px 0 var(--app-accent)}
html[data-app-theme="light"] body[data-app-surface="staff"] .lgroup .n{display:block;font-family:var(--brand-ui)!important;font-size:24px;font-weight:800;letter-spacing:-.02em;line-height:1;font-variant-numeric:tabular-nums}
html[data-app-theme="light"] body[data-app-surface="staff"] .lgroup .t{display:block;margin-top:6px;font-family:var(--brand-ui)!important;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
html[data-app-theme="light"] body[data-app-surface="staff"] .lgroup .s{display:block;margin-top:2px;font-size:12px;color:var(--app-muted);white-space:normal;line-height:1.35}
html[data-app-theme="light"] body[data-app-surface="staff"] .lgarrow{display:flex;align-items:center;padding:0 2px;color:var(--app-muted);border-right:1px solid var(--app-line)}
html[data-app-theme="light"] body[data-app-surface="staff"] .lrows{display:flex;flex-direction:column;gap:6px}
html[data-app-theme="light"] body[data-app-surface="staff"] .lrow .lnote{font-size:12px;color:var(--goldtx);margin-top:4px}
html[data-app-theme="light"] body[data-app-surface="staff"] .qflag{display:inline-flex;align-items:center;gap:6px;font-family:var(--brand-ui)!important;font-size:12px;font-weight:700;color:var(--warn);background:#FBE7E5;border-radius:6px;padding:2px 8px}
html[data-app-theme="light"] body[data-app-surface="staff"] .qflag::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--warn)}
html[data-app-theme="light"] body[data-app-surface="staff"] .qtag.qsolo{background:#ECE6FA;color:#5B34B0}
html[data-app-theme="light"] body[data-app-surface="staff"] .qtag.qrep{background:#DEF7EC;color:#0E7C56}
html[data-app-theme="light"] body[data-app-surface="staff"] .qtag.qstat{letter-spacing:.06em}
html[data-app-theme="light"] body[data-app-surface="staff"] .qtag.qs-new{background:#DBEAFE;color:#1D4ED8}
html[data-app-theme="light"] body[data-app-surface="staff"] .qtag.qs-trying{background:#FEF3C7;color:#92400E}
html[data-app-theme="light"] body[data-app-surface="staff"] .qtag.qs-talking{background:#EDE9FE;color:#5B34B0}
html[data-app-theme="light"] body[data-app-surface="staff"] .qtag.qs-qualified{background:#FDE9CC;color:#9A5300}
html[data-app-theme="light"] body[data-app-surface="staff"] .qtag.qs-nurture{background:#CCFBF1;color:#0F766E}
html[data-app-theme="light"] body[data-app-surface="staff"] .qtag.qs-notfit{background:#E5E7EB;color:#4B5563}
html[data-app-theme="light"] body[data-app-surface="staff"] .trynext{font-size:12px;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .qacts .qi{padding:6px 9px;font-size:13px}
html[data-app-theme="light"] body[data-app-surface="staff"] .qmenu{position:relative}
html[data-app-theme="light"] body[data-app-surface="staff"] .qmenu>summary{list-style:none;-webkit-appearance:none;cursor:pointer;letter-spacing:.12em;padding:6px 10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .qmenu>summary::-webkit-details-marker{display:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .qmenu-list{position:absolute;right:0;top:calc(100% + 6px);z-index:30;min-width:220px;display:flex;flex-direction:column;gap:4px;background:var(--app-panel);border:1px solid var(--app-line);border-radius:12px;padding:8px;box-shadow:0 16px 40px rgba(16,24,40,.16)}
html[data-app-theme="light"] body[data-app-surface="staff"] .qmenu-list .btn{justify-content:flex-start;text-align:left;border-color:transparent;width:100%}
html[data-app-theme="light"] body[data-app-surface="staff"] .qmenu-list .btn:hover{background:var(--app-hover)}
html[data-app-theme="light"] body[data-app-surface="staff"] .ltable td .sub{display:block;font-size:12px;color:var(--app-muted);font-weight:400}
html[data-app-theme="light"] body[data-app-surface="staff"] .ltable td{white-space:nowrap}
html[data-app-theme="light"] body[data-app-surface="staff"] .ltable .qacts{justify-content:flex-end}
html[data-app-theme="light"] body[data-app-surface="staff"] .pipeh2{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
html[data-app-theme="light"] body[data-app-surface="staff"] .h2count{font-family:var(--brand-ui)!important;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .lbar-top .pview{margin-left:auto}
html[data-app-theme="light"] body[data-app-surface="staff"] .pchips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .pchips .chip{font:inherit;font-family:var(--brand-ui)!important;font-size:12px;font-weight:600;background:var(--app-panel);border:1px solid var(--app-line);border-radius:999px;padding:6px 11px;color:var(--app-ink);cursor:pointer;transition:background .18s ease}
html[data-app-theme="light"] body[data-app-surface="staff"] .pchips .chip:hover{background:var(--app-hover)}
html[data-app-theme="light"] body[data-app-surface="staff"] .pchips .chip.on{background:var(--app-accent-soft);border-color:var(--app-accent);box-shadow:inset 0 0 0 1px var(--app-accent)}
html[data-app-theme="light"] body[data-app-surface="staff"] .pchips .chip .n{margin-left:4px;font-variant-numeric:tabular-nums;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .lctime .lctl{flex:0 0 auto;align-self:center;white-space:nowrap;margin-right:2px;font-family:var(--brand-ui)!important;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .pboard{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(230px,1fr);gap:12px;overflow-x:auto;padding-bottom:8px}
html[data-app-theme="light"] body[data-app-surface="staff"] .pcol{background:var(--app-panel);border:1px solid var(--app-line);border-radius:var(--app-radius);padding:10px;min-width:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .pcol h3{display:flex;align-items:baseline;gap:8px;margin:2px 4px 10px;font-family:var(--brand-ui)!important;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .pcol h3 .n{font-variant-numeric:tabular-nums;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .pcol h3 .v{margin-left:auto;font-weight:600;letter-spacing:0;text-transform:none;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .pcard{display:block;background:var(--app-bg);border:1px solid var(--app-line);border-radius:var(--app-radius-c);padding:10px 12px;margin-bottom:8px;text-decoration:none;color:var(--app-ink);box-shadow:var(--app-shadow);transition:border-color .18s ease}
html[data-app-theme="light"] body[data-app-surface="staff"] .pcard:hover{border-color:var(--app-accent)}
html[data-app-theme="light"] body[data-app-surface="staff"] .pcard b{display:block;font-size:14px}
html[data-app-theme="light"] body[data-app-surface="staff"] .pcard span{display:block;font-size:12px;color:var(--app-muted);margin-top:3px}
html[data-app-theme="light"] body[data-app-surface="staff"] .pcard i{display:block;font-style:normal;font-size:12px;color:var(--app-muted);margin-top:4px}
html[data-app-theme="light"] body[data-app-surface="staff"] .pnext{font-size:12px;font-weight:600;white-space:nowrap}
html[data-app-theme="light"] body[data-app-surface="staff"] .pnext.do,html[data-app-theme="light"] body[data-app-surface="staff"] .pnext.live{color:var(--app-accent)}
html[data-app-theme="light"] body[data-app-surface="staff"] .pnext.money{color:var(--app-ink);font-weight:700}
html[data-app-theme="light"] body[data-app-surface="staff"] .pnext.ok,html[data-app-theme="light"] body[data-app-surface="staff"] .pnext.soft{color:var(--app-muted)}
/* Colour that breaks things up (8 Oct 2026, Jackson: "there's just no color to break things up ... I just want it to pop"). Every stage and lead group owns one colour, --sc; chips, tiles, board columns, list groups, stage pills and row edges all read it. Each is dark enough to carry white text. */
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.st-new,.lg-new){--sc:#2563EB}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.st-await,.lg-contacted){--sc:#B45309}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.st-conv,.lg-talking){--sc:#7C3AED}
html[data-app-theme="light"] body[data-app-surface="staff"] .st-prop{--sc:#0E7490}
html[data-app-theme="light"] body[data-app-surface="staff"] .st-quote{--sc:#4F46E5}
html[data-app-theme="light"] body[data-app-surface="staff"] .st-inv{--sc:#C2410C}
html[data-app-theme="light"] body[data-app-surface="staff"] .st-booked{--sc:#15803D}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.st-paid,.lg-nurture){--sc:#0F766E}
html[data-app-theme="light"] body[data-app-surface="staff"] .st-trav{--sc:#475569}
html[data-app-theme="light"] body[data-app-surface="staff"] .st-recons{--sc:#6B7280}
html[data-app-theme="light"] body[data-app-surface="staff"] .st-lost{--sc:#DC2626}
html[data-app-theme="light"] body[data-app-surface="staff"] .lg-ready{--sc:#D07000}
html[data-app-theme="light"] body[data-app-surface="staff"] .lg-notfit{--sc:#6B7280}
html[data-app-theme="light"] body[data-app-surface="staff"] .lg-solo{--sc:#DB2777}
html[data-app-theme="light"] body[data-app-surface="staff"] .st-all{--sc:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .sc[class*="st-"]{background:var(--sc)!important;color:#fff!important;border:0;box-shadow:0 1px 2px color-mix(in srgb,var(--sc) 35%,transparent)}
html[data-app-theme="light"] body[data-app-surface="staff"] .pchips .chip{display:inline-flex;align-items:center;gap:6px;border-color:color-mix(in srgb,var(--sc,var(--app-line)) 45%,var(--app-line))}
html[data-app-theme="light"] body[data-app-surface="staff"] .pchips .chip::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--sc);flex:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .pchips .chip.st-all::before{display:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .pchips .chip .n{color:var(--sc);font-weight:800;margin-left:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .pchips .chip.on{background:var(--sc);border-color:var(--sc);color:#fff;box-shadow:0 4px 14px color-mix(in srgb,var(--sc) 32%,transparent)}
html[data-app-theme="light"] body[data-app-surface="staff"] .pchips .chip.on .n{color:#fff}
html[data-app-theme="light"] body[data-app-surface="staff"] .pchips .chip.on::before{background:#fff}
html[data-app-theme="light"] body[data-app-surface="staff"] .pcol[class*="st-"]{border-top:4px solid var(--sc);background:color-mix(in srgb,var(--sc) 5%,var(--app-panel))}
html[data-app-theme="light"] body[data-app-surface="staff"] .pcol[class*="st-"] h3{color:var(--sc)}
html[data-app-theme="light"] body[data-app-surface="staff"] .pcol[class*="st-"] h3 .n{background:var(--sc);color:#fff;border-radius:999px;padding:1px 8px;font-size:12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .pcol[class*="st-"] .pcard{border-left:3px solid var(--sc)}
html[data-app-theme="light"] body[data-app-surface="staff"] .grp[class*="st-"]{border-left:4px solid var(--sc)}
html[data-app-theme="light"] body[data-app-surface="staff"] .ptable tr[class*="st-"] td:first-child,html[data-app-theme="light"] body[data-app-surface="staff"] .ltable tr[class*="lg-"] td:first-child{box-shadow:inset 4px 0 0 var(--sc)}
html[data-app-theme="light"] body[data-app-surface="staff"] .row.qrow:is([class*="st-"],[class*="lg-"]){border-left:4px solid var(--sc)}
html[data-app-theme="light"] body[data-app-surface="staff"] .lgroup[class*="lg-"]{position:relative}
html[data-app-theme="light"] body[data-app-surface="staff"] .lgroup[class*="lg-"]::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--sc)}
html[data-app-theme="light"] body[data-app-surface="staff"] .lgroup[class*="lg-"] .n{color:var(--sc)}
html[data-app-theme="light"] body[data-app-surface="staff"] .lgroup[class*="lg-"].on{background:color-mix(in srgb,var(--sc) 11%,var(--app-panel));box-shadow:inset 0 -3px 0 var(--sc)}
html[data-app-theme="light"] body[data-app-surface="staff"] .lgroup[class*="lg-"].on .t{color:var(--sc)}
html[data-app-theme="light"] body[data-app-surface="staff"] .qmenu>summary{letter-spacing:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .qmenu-list .qmh{font-family:var(--brand-ui)!important;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--app-muted);padding:8px 10px 2px}
html[data-app-theme="light"] body[data-app-surface="staff"] .qmenu-list .qmh:first-child{padding-top:2px}
html[data-app-theme="light"] body[data-app-surface="staff"] .callnum{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--app-bg);border:1px solid var(--app-line);border-radius:var(--app-radius-c);padding:12px 14px;margin:4px 0 2px}
html[data-app-theme="light"] body[data-app-surface="staff"] .callnum span{font-family:var(--brand-ui)!important;font-size:20px;font-weight:800;letter-spacing:.02em;color:var(--app-ink);font-variant-numeric:tabular-nums}
@media(max-width:900px){html[data-app-theme="light"] body[data-app-surface="staff"] .lgroups{flex-wrap:wrap}html[data-app-theme="light"] body[data-app-surface="staff"] .lgroup{flex:1 1 45%;border-bottom:1px solid var(--app-line)}html[data-app-theme="light"] body[data-app-surface="staff"] .lgarrow{display:none}}
/* The lead page deck (8 Oct 2026): three panels, the old page folded under. */
html[data-app-theme="light"] body[data-app-surface="staff"] .leaddeck{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin:0 0 14px}
html[data-app-theme="light"] body[data-app-surface="staff"] .leaddeck .deckpanel{animation-delay:0s}
html[data-app-theme="light"] body[data-app-surface="staff"] .leaddeck .ldp-next{animation-delay:.08s}
html[data-app-theme="light"] body[data-app-surface="staff"] .leaddeck .ldp-stands{animation-delay:.16s}
html[data-app-theme="light"] body[data-app-surface="staff"] .ldkv{display:grid;grid-template-columns:minmax(96px,120px) minmax(0,1fr);gap:9px 12px;margin:4px 0 0;font-size:13px}
html[data-app-theme="light"] body[data-app-surface="staff"] .ldkv dt{color:var(--app-muted);font-family:var(--brand-ui)!important;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;padding-top:3px}
html[data-app-theme="light"] body[data-app-surface="staff"] .ldkv dd{margin:0;font-weight:500;min-width:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .ldq{margin:14px 0 0;padding:10px 14px;border-left:3px solid var(--app-accent);background:var(--app-bg);border-radius:0 10px 10px 0;font-size:13px;line-height:1.55;white-space:pre-line}
html[data-app-theme="light"] body[data-app-surface="staff"] .ldsrc{margin-top:10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .ldnext{margin:2px 0 12px;font-size:16px;font-weight:600;line-height:1.4}
html[data-app-theme="light"] body[data-app-surface="staff"] .ldprimary{display:flex;justify-content:center;font-size:14px;font-weight:700;padding:14px 18px;background:var(--app-accent);border:1px solid var(--app-accent);color:var(--app-on-accent);text-decoration:none;border-radius:12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .ldprimary:hover{background:#E07E0A;border-color:#E07E0A}
html[data-app-theme="light"] body[data-app-surface="staff"] .ldsub{margin-top:8px;font-size:13px}
html[data-app-theme="light"] body[data-app-surface="staff"] .ldquiet{margin-top:14px;padding-top:12px;border-top:1px solid var(--app-line);display:flex;flex-direction:column;gap:10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .ldquiet .actgrp{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
html[data-app-theme="light"] body[data-app-surface="staff"] .ldquiet .actlab{font-family:var(--brand-ui)!important;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--app-muted);min-width:96px}
html[data-app-theme="light"] body[data-app-surface="staff"] .ldquiet .actbtns{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
html[data-app-theme="light"] body[data-app-surface="staff"] .ldquiet .actbtns .btn{font-weight:600}
html[data-app-theme="light"] body[data-app-surface="staff"] .ldquiet .actbtns .btn:not(.ghost){background:var(--app-panel);border:1px solid var(--app-line);color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .ldtl{list-style:none;margin:0;padding:0;font-size:13px}
html[data-app-theme="light"] body[data-app-surface="staff"] .ldtl li{display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px;padding:8px 0;border-bottom:1px solid var(--app-line)}
html[data-app-theme="light"] body[data-app-surface="staff"] .ldtl li:last-child{border-bottom:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .ldtl time{color:var(--app-muted);font-size:12px;font-variant-numeric:tabular-nums}
html[data-app-theme="light"] body[data-app-surface="staff"] .ldmore{background:var(--app-panel);border:1px solid var(--app-line);border-radius:var(--app-radius);padding:0 18px;margin:0 0 14px}
html[data-app-theme="light"] body[data-app-surface="staff"] .ldmore>summary{list-style:none;-webkit-appearance:none;cursor:pointer;padding:14px 0;font-family:var(--brand-ui)!important;font-size:13px;font-weight:700;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .ldmore>summary::-webkit-details-marker{display:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .ldmore>summary::before{content:'\25B8';display:inline-block;margin-right:8px;transition:transform .18s ease}
html[data-app-theme="light"] body[data-app-surface="staff"] .ldmore[open]>summary::before{transform:rotate(90deg)}
html[data-app-theme="light"] body[data-app-surface="staff"] .ldmore-body{padding:0 0 16px}
@media(min-width:1100px){html[data-app-theme="light"] body[data-app-surface="staff"] .leaddeck{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,.9fr)}}
/* The six tiles: an icon each, a margin ring on the two profit ones. */
html[data-app-theme="light"] body[data-app-surface="staff"] .owner-home .cards>.card:not(.cash-compact){position:relative;border-top:1px solid var(--app-line);animation:kRise .55s cubic-bezier(.2,.8,.2,1) backwards}
html[data-app-theme="light"] body[data-app-surface="staff"] .owner-home .cards>.card:nth-child(2){animation-delay:.30s}
html[data-app-theme="light"] body[data-app-surface="staff"] .owner-home .cards>.card:nth-child(3){animation-delay:.37s}
html[data-app-theme="light"] body[data-app-surface="staff"] .owner-home .cards>.card:nth-child(4){animation-delay:.44s}
html[data-app-theme="light"] body[data-app-surface="staff"] .owner-home .cards>.card:nth-child(5){animation-delay:.51s}
html[data-app-theme="light"] body[data-app-surface="staff"] .owner-home .cards>.card:nth-child(6){animation-delay:.58s}
html[data-app-theme="light"] body[data-app-surface="staff"] .owner-home .cards>.card:nth-child(7){animation-delay:.65s}
html[data-app-theme="light"] body[data-app-surface="staff"] .kic{width:36px;height:36px;border-radius:10px;align-items:center;justify-content:center;margin:0 0 12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .kic-revenue,
html[data-app-theme="light"] body[data-app-surface="staff"] .kic-net{background:#DEF7EC;color:#0E7C56}
html[data-app-theme="light"] body[data-app-surface="staff"] .kic-profit{background:#FFF2DF;color:#B25E00}
html[data-app-theme="light"] body[data-app-surface="staff"] .kic-pipeline{background:#E0ECFB;color:#1D5FBF}
html[data-app-theme="light"] body[data-app-surface="staff"] .kic-trips{background:#ECE6FA;color:#5B34B0}
html[data-app-theme="light"] body[data-app-surface="staff"] .kic-cash{background:#DFF5F3;color:#0F7A6E}
html[data-app-theme="light"] body[data-app-surface="staff"] .kring{position:absolute;right:14px;top:14px;width:62px;height:62px;align-items:center;justify-content:center;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .kring svg{position:absolute;inset:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .kring .ring-fg{animation:kRing 1.2s cubic-bezier(.2,.8,.2,1) .55s backwards}
html[data-app-theme="light"] body[data-app-surface="staff"] .kring>span{position:relative;display:flex;flex-direction:column;align-items:center;line-height:1}
html[data-app-theme="light"] body[data-app-surface="staff"] .kring b{font-family:var(--brand-ui)!important;font-size:14px;font-weight:700;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .kring i{margin-top:3px;font-family:var(--brand-ui)!important;font-style:normal;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--app-muted)}
@media(min-width:1024px){
 /* The money card as an instrument panel (29 Oct 2026, Jackson: "a lot of wasted space"): the four figures in one
    strip across the top (Free cash now first and largest), the two charts side by side under it, then the
    as-of line and the fold. Until then the figures stacked down the left and the charts sat beside the stack,
    which left the right of the card empty under Bookings by month. */
 html[data-app-theme="light"] body[data-app-surface="staff"] .owner-home .cards>.cash-compact{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);grid-template-areas:"heads heads" "simple grow" "fold fold" "asof asof" "detail detail";column-gap:34px;row-gap:22px;align-items:start;padding:30px 34px 12px!important}
 html[data-app-theme="light"] body[data-app-surface="staff"] .owner-home .cards>.cash-compact.fc-nosimple{grid-template-areas:"heads heads" "fold grow" "asof asof" "detail detail"}
 html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcsimple{grid-area:simple;margin:0;align-self:start}
 html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-fold{grid-area:fold;margin:0}
 html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .cash-headlines{grid-area:heads;min-width:0;display:grid;grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr));gap:0 28px;align-items:start;padding-bottom:22px;border-bottom:1px solid var(--app-line)}
 html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .cash-headlines>div+div{border-top:0;padding-top:0;border-left:1px solid var(--app-line);padding-left:28px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .cash-headlines .val{font-size:50px!important}
 html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .cash-headlines>div+div .val{font-size:32px!important}
 html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun{margin:0;align-self:start;display:flex;flex-direction:column;justify-content:flex-start;padding-top:0}
 html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun .fcrsvg{flex:0 0 auto}
 html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcgrow{grid-area:grow;align-self:start;padding-top:0}
 html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcrun-wait{padding:70px 0}
 html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcviz{grid-area:viz;margin:0;align-self:end;padding-top:18px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fc-asof{grid-area:asof}
 html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .cash-detail{grid-area:detail}
}
@media(min-width:1280px){
 html[data-app-theme="light"] body[data-app-surface="staff"] .owner-home .cards>.cash-compact{grid-template-columns:minmax(0,6.4fr) minmax(0,5.2fr)}
}
/* The money card, simpler (11 Nov 2026): the lines say what they are at their own end, the bookings chart carries the likely
   months as hatched bars, and the clients closest to paying sit under it. Card-scoped, on the dark card. */
html[data-app-theme="light"] body[data-app-surface="staff"] .fcrsvg .fcrend.rt{text-anchor:end;paint-order:stroke;stroke:#1C130D;stroke-width:4px;stroke-linejoin:round}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcrsvg .fcrend.lt{paint-order:stroke;stroke:#1C130D;stroke-width:4px;stroke-linejoin:round}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcrsvg .fcrend.grow{fill:rgba(255,214,126,.78)}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcrsvg .fcrd3{fill:none;stroke:rgba(255,214,126,.7);stroke-width:2;stroke-dasharray:.1 5;stroke-linecap:round;animation:fcFade .8s ease-out 1.3s backwards}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcgsvg .fcgb rect.fcgl{fill:url(#fcggH);stroke:rgba(255,214,126,.75);stroke-width:1;transform-box:fill-box;transform-origin:bottom;animation:fcGrow .7s cubic-bezier(.2,.8,.2,1) backwards;animation-delay:calc(var(--i)*.1s + .15s);filter:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcgsvg .fcgb-likely .fcgv{fill:#FFD67E}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcgsvg .fcgplan{animation:fcFade .5s ease-out .9s backwards}
/* A likely month's range (16 Nov 2026): a thin line from the slowing figure to the growing one, over the bar and under its figure. */
html[data-app-theme="light"] body[data-app-surface="staff"] .fcgsvg .fcgb-likely .fcgv{paint-order:stroke;stroke:#1C130D;stroke-width:3px;stroke-linejoin:round}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcg-inhand{margin:8px 0 0}
/* 26 Nov 2026 (third pass): the plan as a row of figures along the top of the chart, each with a dotted line down to an arrow at its level. */
html[data-app-theme="light"] body[data-app-surface="staff"] .fcgsvg .fcgpv{fill:#fff;font-size:11px;font-weight:600;text-anchor:middle;paint-order:stroke;stroke:#1C130D;stroke-width:3px;stroke-linejoin:round}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcgsvg .fcgpv.lab{text-anchor:end;font-weight:500;fill:rgba(243,232,224,.7)}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcgsvg .fcgpl{fill:none;stroke:rgba(255,255,255,.6);stroke-width:1.2;stroke-dasharray:2 3}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcgsvg .fcgpa{fill:#fff}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcgsvg .fcgpt{fill:none;stroke:#fff;stroke-width:2;stroke-dasharray:5 3;stroke-linecap:round}
html[data-app-theme="light"] body[data-app-surface="staff"] .fcgsvg .fcgv.inb{paint-order:stroke;stroke:#1C130D;stroke-width:3px;stroke-linejoin:round}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcg-legend .sw.parrow{position:relative;width:10px;background:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcg-legend .sw.parrow::before{content:'\2193';position:absolute;left:1px;top:-4px;color:#fff;font-size:14px;font-weight:700}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcg-legend{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:10px;font-size:12px;line-height:1.45;color:rgba(243,232,224,.78)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcg-legend .sw{display:inline-block;width:12px;height:12px;margin-right:7px;vertical-align:-2px;border-radius:3px;background:linear-gradient(180deg,#FFD67E,#D07000)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .fcg-legend .sw.hatch{background:repeating-linear-gradient(45deg,#FFD67E 0 2px,rgba(255,214,126,.14) 2px 5px);border:1px solid rgba(255,214,126,.75)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .ol-sub{margin:16px 0 2px;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#BFE9FF}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .ol-rows{display:grid;container-type:inline-size}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .ol-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;align-items:baseline;padding:9px 0;border-bottom:1px solid rgba(243,232,224,.14);color:#F3E8E0;text-decoration:none;font-size:13px;line-height:1.45}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .ol-row-more{grid-template-columns:minmax(0,1fr) auto auto}
/* The name cell (23 Nov 2026): the client, the month of travel, the seller. It wraps between its three parts when the box
   is tight; it used to cut the end off with dots, which would now cut the month. */
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .ol-who{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 8px;min-width:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .ol-who b{font-weight:600;min-width:0;overflow-wrap:anywhere}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .ol-who .ol-trip{white-space:nowrap;color:rgba(243,232,224,.82)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .ol-who i{font-style:normal;font-size:12px;color:rgba(243,232,224,.6);white-space:nowrap}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .ol-amt{font-size:13px;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .ol-tag{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:2px 8px;border-radius:999px;border:1px solid rgba(243,232,224,.5);color:rgba(243,232,224,.85)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .ol-tag.ol-ready{background:#1f7a4d;border-color:#1f7a4d;color:#fff}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .ol-tag.ol-hot{background:#D07000;border-color:#D07000;color:#fff}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .ol-tag.ol-warm{background:transparent}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .ol-why{grid-column:1/-1;font-size:12px;line-height:1.45;color:rgba(243,232,224,.7)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .ol-more{margin-top:10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .ol-more>summary{list-style:none;cursor:pointer;display:flex;align-items:center;min-height:32px;font-size:12px;font-weight:600;color:#F6B45C}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .ol-more>summary::-webkit-details-marker{display:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .ol-more>summary::after{content:'+';margin-left:8px;font-size:16px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .ol-more[open]>summary::after{content:'\2212'}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .ol-line{margin:8px 0 0;font-size:13px;line-height:1.5;color:rgba(243,232,224,.82)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .ol-line b{color:#F3E8E0;font-weight:600}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .ol-foot{margin:10px 0 0;font-size:12px;line-height:1.45;color:rgba(243,232,224,.6)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .ol-foot.ol-stale{font-size:12px;font-weight:600;color:#F6B45C}
@media(max-width:700px){
 html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .ol-row .ol-amt{grid-column:1/-1;text-align:left;white-space:normal}
}
/* A narrow box on a laptop (the money card's right-hand column): the money drops under the name, as on a phone. Since
   23 Nov 2026 a row carries the whole trip's price in brackets, which squeezed the name to a few letters in a 272px box.
   A row behind a fold also carries its tier tag, so it needs a wider box before everything fits on one line.
   The widths allow for the month of travel beside the name. */
@container (max-width:500px){
 html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .ol-row .ol-amt{grid-column:1/-1;text-align:left;white-space:normal}
}
@container (max-width:640px){
 html[data-app-theme="light"] body[data-app-surface="staff"] .cash-compact .ol-row-more .ol-amt{grid-column:1/-1;text-align:left;white-space:normal}
}
/* The Calendar (8 Oct 2026 overhaul): a colour per trip (.tc0-.tc9, never shared with a trip it overlaps), day / week / month / year views and the key under them. */
html[data-app-theme="light"] body[data-app-surface="staff"] .tc0{--tc:#2563EB}
html[data-app-theme="light"] body[data-app-surface="staff"] .tc1{--tc:#DB2777}
html[data-app-theme="light"] body[data-app-surface="staff"] .tc2{--tc:#059669}
html[data-app-theme="light"] body[data-app-surface="staff"] .tc3{--tc:#C2410C}
html[data-app-theme="light"] body[data-app-surface="staff"] .tc4{--tc:#7C3AED}
html[data-app-theme="light"] body[data-app-surface="staff"] .tc5{--tc:#0E7490}
html[data-app-theme="light"] body[data-app-surface="staff"] .tc6{--tc:#B91C1C}
html[data-app-theme="light"] body[data-app-surface="staff"] .tc7{--tc:#4D7C0F}
html[data-app-theme="light"] body[data-app-surface="staff"] .tc8{--tc:#A21CAF}
html[data-app-theme="light"] body[data-app-surface="staff"] .tc9{--tc:#1E3A8A}
html[data-app-theme="light"] body[data-app-surface="staff"] .calh{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
html[data-app-theme="light"] body[data-app-surface="staff"] .calbar2{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
html[data-app-theme="light"] body[data-app-surface="staff"] .calarrows{display:flex;gap:4px}
html[data-app-theme="light"] body[data-app-surface="staff"] .caltitle{font-family:var(--brand-ui)!important;font-size:20px;font-weight:800;letter-spacing:-.01em;color:var(--app-ink);flex:1 1 auto;min-width:150px}
html[data-app-theme="light"] body[data-app-surface="staff"] .calviews{margin-left:auto}
html[data-app-theme="light"] body[data-app-surface="staff"] .lbar-top .segwide{flex:0 0 auto;width:auto;display:inline-flex;margin-top:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .calbar2 .calviews .segb{flex:0 0 auto;padding-left:16px;padding-right:16px}
html[data-app-theme="light"] body[data-app-surface="staff"] .calkeys{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:12px;color:var(--app-muted);margin:-2px 0 12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cm{background:var(--app-panel);border:1px solid var(--app-line);border-radius:var(--app-radius);overflow:hidden;box-shadow:0 1px 2px rgba(16,24,40,.05)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cm-head{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:var(--app-bg);border-bottom:1px solid var(--app-line)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cm-head div{padding:8px 10px;font-family:var(--brand-ui)!important;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cm-week{border-bottom:1px solid var(--app-line);padding-bottom:8px;min-height:92px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cm-week:last-child{border-bottom:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cm-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
html[data-app-theme="light"] body[data-app-surface="staff"] .cm-day{font:inherit;background:none;border:0;border-right:1px solid #EDF0F4;text-align:left;padding:6px 8px 4px;cursor:pointer;display:flex;align-items:center;gap:6px;min-height:30px;min-width:0;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cm-day:last-child{border-right:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cm-day:hover{background:var(--app-hover)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cm-day.out{opacity:.45}
html[data-app-theme="light"] body[data-app-surface="staff"] .cm-num{font-family:var(--brand-ui)!important;font-size:13px;font-weight:700;line-height:20px;min-width:20px;text-align:center}
html[data-app-theme="light"] body[data-app-surface="staff"] .cm-day.today .cm-num{background:var(--app-accent);color:#fff;border-radius:999px;padding:0 6px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cm-marks{display:flex;gap:3px;flex-wrap:wrap;font-size:12px;margin-left:auto;min-width:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cmk{background:var(--app-bg);border-radius:6px;padding:0 4px;line-height:17px;white-space:nowrap}
html[data-app-theme="light"] body[data-app-surface="staff"] .cmk.money{background:color-mix(in srgb,var(--ok) 14%,var(--app-panel))}
html[data-app-theme="light"] body[data-app-surface="staff"] .cmk.call{background:color-mix(in srgb,#2563EB 12%,var(--app-panel))}
html[data-app-theme="light"] body[data-app-surface="staff"] .cm-lanes{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));row-gap:3px;padding-top:2px}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cm-bar,.cw-bar,.cy-bar){display:block;background:var(--tc);color:#fff;text-decoration:none;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 1px 2px color-mix(in srgb,var(--tc) 40%,transparent)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cm-bar{margin:0 3px;padding:0 8px;border-radius:6px;font-size:12px;line-height:22px}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cm-bar,.cw-bar).cl{margin-left:0;border-top-left-radius:0;border-bottom-left-radius:0}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cm-bar,.cw-bar).cr{margin-right:0;border-top-right-radius:0;border-bottom-right-radius:0}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cm-bar,.cw-bar,.cy-bar):hover{filter:brightness(1.08)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cm-bar.live,.cw-bar.live{outline:2px solid color-mix(in srgb,var(--tc) 45%,transparent);outline-offset:1px}
/* Month and year (10 Oct 2026, Jackson: "it doesn't need to be that fat ... the line could get thinner and run across the top ...
   a bit more faint ... the calendar lines and the dividers should run over the top"): a trip is a thin line in its colour along
   the top of its days, its name in a faint tab where it starts, and the day lines draw over it. The week view keeps its bars. */
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cm-bar,.cyq .cy-bar){background:linear-gradient(color-mix(in srgb,var(--tc) 75%,transparent),color-mix(in srgb,var(--tc) 75%,transparent)) 0 0/100% 2px no-repeat;color:color-mix(in srgb,var(--tc) 72%,#1D2939);box-shadow:none;font-weight:600;outline:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cm-bar{margin:0 2px;padding:0;border-radius:0;font-size:12px;line-height:15px;height:18px}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cm-bar .cm-name,.cyq .cy-bar span){position:relative;z-index:3;display:inline-block;max-width:100%;margin-top:2px;padding:0 6px;border-radius:0 0 5px 5px;background:color-mix(in srgb,var(--tc) 13%,#fff);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:top}
html[data-app-theme="light"] body[data-app-surface="staff"] .cm-bar.live .cm-name{font-weight:800;background:color-mix(in srgb,var(--tc) 20%,#fff)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cm-lanes{position:relative;z-index:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cm-lanes::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(to right,#E4E7EC 1px,transparent 1px) 0 0/calc(100% / 7) 100%}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw{display:flex;flex-direction:column;gap:12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-scroll{overflow-x:auto;background:var(--app-panel);border:1px solid var(--app-line);border-radius:var(--app-radius);box-shadow:0 1px 2px rgba(16,24,40,.05)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-grid{display:grid;grid-template-columns:190px repeat(7,minmax(0,1fr));row-gap:6px;padding:10px;min-width:760px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-corner{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--app-muted);align-self:end;padding:0 0 8px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-dh{font:inherit;background:none;border:0;border-bottom:1px solid var(--app-line);padding:2px 6px 8px;cursor:pointer;text-align:left;color:var(--app-muted);display:flex;gap:6px;align-items:baseline;flex-wrap:wrap;min-width:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-dh b{font-family:var(--brand-ui)!important;font-size:20px;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-dh.today b{color:var(--app-accent)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-dh:hover{background:var(--app-hover)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-name{display:grid;grid-template-columns:10px minmax(0,1fr);column-gap:8px;align-items:center;min-width:0;text-decoration:none;color:var(--app-ink);padding-right:10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-name i{width:10px;height:10px;border-radius:3px;background:var(--tc);grid-row:1 / span 2}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-name b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-name span{grid-column:2;font-size:12px;color:var(--app-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-bar{margin:0 2px;padding:7px 10px;border-radius:8px;font-size:12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-empty{grid-column:1 / -1;color:var(--app-muted);font-size:13px;padding:8px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-day{font:inherit;text-align:left;cursor:pointer;background:var(--app-panel);border:1px solid var(--app-line);border-radius:var(--app-radius-c);padding:8px;min-width:0;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-day:hover{border-color:#CDD4DC}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-day.today{border-color:var(--app-accent);box-shadow:inset 0 3px 0 var(--app-accent)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-dlab{font-family:var(--brand-ui)!important;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--app-muted);margin-bottom:6px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-none{font-size:12px;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdi{display:flex;align-items:flex-start;gap:6px;font-size:12px;line-height:1.35;padding:3px 0;color:var(--app-ink);min-width:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdi span{min-width:0;overflow-wrap:anywhere}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdi em{font-style:normal;font-weight:700;color:var(--warn);margin-left:6px;text-transform:uppercase;font-size:11px;letter-spacing:.06em}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdot{width:8px;height:8px;border-radius:50%;background:var(--tc);flex:none;margin-top:4px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdot.none{background:var(--app-line)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cd{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
@media(max-width:900px){html[data-app-theme="light"] body[data-app-surface="staff"] .cd{grid-template-columns:1fr}html[data-app-theme="light"] body[data-app-surface="staff"] .cw-days{grid-template-columns:1fr}}
html[data-app-theme="light"] body[data-app-surface="staff"] .cd-sec{background:var(--app-panel);border:1px solid var(--app-line);border-radius:var(--app-radius);padding:14px 16px;min-width:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cd-sec h3{font-family:var(--brand-ui)!important;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--app-muted);margin:0 0 8px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cd-trip{display:grid;grid-template-columns:12px minmax(0,1fr) auto;column-gap:10px;align-items:center;padding:10px 0;border-top:1px solid #EDF0F4;text-decoration:none;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cd-trip:first-of-type{border-top:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cd-trip i{width:12px;height:12px;border-radius:4px;background:var(--tc);grid-row:1 / span 2}
html[data-app-theme="light"] body[data-app-surface="staff"] .cd-trip b{font-size:14px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cd-trip span{grid-column:2;font-size:12px;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cd-trip .sc{grid-column:3;grid-row:1 / span 2}
html[data-app-theme="light"] body[data-app-surface="staff"] .cd-sec .cdi{font-size:13px;padding:7px 0;border-top:1px solid #EDF0F4}
html[data-app-theme="light"] body[data-app-surface="staff"] .cd-sec .cdi:first-of-type{border-top:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cy{background:var(--app-panel);border:1px solid var(--app-line);border-radius:var(--app-radius);overflow-x:auto;box-shadow:0 1px 2px rgba(16,24,40,.05)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cy-in{min-width:760px;padding:10px 10px 14px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cy-months{position:relative;height:44px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cy-m{position:absolute;top:0;height:42px;font:inherit;background:none;border:0;border-left:1px solid var(--app-line);text-align:left;padding:4px 6px;cursor:pointer;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cy-m:hover{background:var(--app-hover)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cy-m b{display:block;font-family:var(--brand-ui)!important;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
html[data-app-theme="light"] body[data-app-surface="staff"] .cy-m span{display:block;font-size:12px;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cy-body{position:relative}
html[data-app-theme="light"] body[data-app-surface="staff"] .cy-grid{position:absolute;top:0;bottom:0;width:1px;background:#EDF0F4}
html[data-app-theme="light"] body[data-app-surface="staff"] .cy-today{position:absolute;top:-6px;bottom:-6px;width:2px;background:var(--app-accent);border-radius:2px;z-index:2}
html[data-app-theme="light"] body[data-app-surface="staff"] .cy-bar{position:absolute;height:20px;border-radius:5px;font-size:12px;line-height:20px;padding:0 5px;min-width:4px;text-overflow:clip}
html[data-app-theme="light"] body[data-app-surface="staff"] .calkey{margin-top:14px;background:var(--app-panel);border:1px solid var(--app-line);border-radius:var(--app-radius);padding:12px 14px}
html[data-app-theme="light"] body[data-app-surface="staff"] .calkey-h{font-family:var(--brand-ui)!important;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--app-muted);margin-bottom:8px}
html[data-app-theme="light"] body[data-app-surface="staff"] .calkey-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:4px 16px}
html[data-app-theme="light"] body[data-app-surface="staff"] .calkey-i{display:grid;grid-template-columns:12px minmax(0,1fr);column-gap:8px;text-decoration:none;color:var(--app-ink);padding:5px 6px;border-radius:8px}
html[data-app-theme="light"] body[data-app-surface="staff"] .calkey-i:hover{background:var(--app-hover)}
html[data-app-theme="light"] body[data-app-surface="staff"] .calkey-i i{width:12px;height:12px;border-radius:4px;background:var(--tc);grid-row:1 / span 2;margin-top:3px}
html[data-app-theme="light"] body[data-app-surface="staff"] .calkey-i b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-app-theme="light"] body[data-app-surface="staff"] .calkey-i span{grid-column:2;font-size:12px;color:var(--app-muted)}
/* Calendar round 2 (8 Oct 2026, Jackson's review): a tidy week (each day box dated on top under a rule, then its list), a timeline day, a quarter-row year, the right icon per event, booking a call. */
html[data-app-theme="light"] body[data-app-surface="staff"] .calbar2 .qsort select{padding:6px 28px 6px 10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .calshare{border-color:color-mix(in srgb,var(--app-accent) 40%,var(--app-line));background:var(--app-accent-soft)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cmk{display:inline-flex;align-items:center;gap:2px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cmk i{font-style:normal;font-size:12px;font-weight:700;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cmk.k-flight{background:color-mix(in srgb,#0E7490 12%,var(--app-panel))}
html[data-app-theme="light"] body[data-app-surface="staff"] .cmk.k-meeting,.cmk.k-personal{background:color-mix(in srgb,#7C3AED 10%,var(--app-panel))}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-grid{row-gap:8px;padding:12px 12px 14px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-corner{align-self:end;padding:0 0 10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-dh{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:8px;row-gap:6px;align-items:baseline;align-content:start;padding:2px 8px 10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-dh .cw-dn{grid-column:1;grid-row:1;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-dh b{grid-column:2;grid-row:1}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-dh .cw-mk{grid-column:1 / -1;grid-row:2;min-height:18px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-dh .cm-marks{margin-left:0;justify-content:flex-start}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-day{display:flex;flex-direction:column;padding:0;overflow:hidden;cursor:default}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-dlab{font:inherit;display:flex;align-items:baseline;gap:6px;width:100%;background:var(--app-bg);border:0;border-bottom:1px solid var(--app-line);padding:8px 10px;cursor:pointer;text-align:left;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-dlab span{font-family:var(--brand-ui)!important;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-dlab b{font-family:var(--brand-ui)!important;font-size:13px;font-weight:800}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-day.today .cw-dlab{background:var(--app-accent-soft)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-day.today .cw-dlab b{color:var(--app-accent)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-list{display:flex;flex-direction:column;gap:2px;padding:8px 10px;flex:1 1 auto}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-add{font:inherit;font-size:12px;font-weight:600;background:none;border:0;border-top:1px dashed var(--app-line);color:var(--app-muted);padding:6px 10px;text-align:left;cursor:pointer}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-add:hover{color:var(--app-accent);background:var(--app-hover)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-days{grid-template-columns:repeat(auto-fit,minmax(132px,1fr))}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-list .cdi{display:flex;flex-wrap:wrap;align-items:center;gap:1px 5px;padding:4px 0;border-top:1px solid #F1F3F6}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-list .cdi:first-child{border-top:0;padding-top:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-list .cdi .cdot{margin-top:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-list .cdi .ctx{flex:1 1 100%;font-size:12px;line-height:1.35}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdi{display:grid;grid-template-columns:8px 16px auto minmax(0,1fr);column-gap:6px;align-items:start}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdi .cic{text-align:center;line-height:1.35}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdi .cat{font-variant-numeric:tabular-nums;font-weight:700;color:var(--app-ink);white-space:nowrap}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdi .ctx{grid-column:4;min-width:0;overflow-wrap:anywhere}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdi:not(:has(.cat)) .ctx{grid-column:3 / span 2}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdot.own{background:#7C3AED}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv{display:flex;flex-direction:column;gap:12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-all{display:grid;grid-template-columns:70px minmax(0,1fr);gap:10px;align-items:start;background:var(--app-panel);border:1px solid var(--app-line);border-radius:var(--app-radius);padding:12px 14px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-lab{font-family:var(--brand-ui)!important;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--app-muted);padding-top:6px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-chips{display:flex;flex-wrap:wrap;gap:6px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-trip{display:grid;grid-template-columns:10px auto;column-gap:8px;align-items:center;text-decoration:none;color:#fff;background:var(--tc);border-radius:10px;padding:6px 12px 6px 10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-trip i{width:10px;height:10px;border-radius:3px;background:rgba(255,255,255,.85);grid-row:1 / span 2}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-trip b{font-size:13px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-trip span{grid-column:2;font-size:12px;opacity:.92}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-chip{display:inline-flex;align-items:center;gap:6px;font-size:13px;background:var(--app-bg);border:1px solid var(--app-line);border-radius:10px;padding:6px 10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-chip.k-money{background:color-mix(in srgb,var(--ok) 12%,var(--app-panel));border-color:color-mix(in srgb,var(--ok) 35%,var(--app-line))}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-chip .cdot{margin-top:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-grid{position:relative;background:var(--app-panel);border:1px solid var(--app-line);border-radius:var(--app-radius);overflow:hidden}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-hr{position:absolute;left:0;right:0;font:inherit;background:none;border:0;border-top:1px solid #EDF0F4;cursor:pointer;text-align:left;padding:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-hr:first-child{border-top:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-hr:hover{background:color-mix(in srgb,var(--app-accent) 5%,transparent)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-hr span{position:absolute;left:10px;top:4px;font-size:12px;font-weight:600;color:var(--app-muted);font-variant-numeric:tabular-nums}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-ev{position:absolute;z-index:2;overflow:hidden;border-radius:8px;padding:5px 8px;font-size:12px;line-height:1.3;background:var(--app-bg);border:1px solid var(--app-line);border-left:4px solid var(--tc,var(--app-muted));color:var(--app-ink);cursor:default;box-shadow:0 1px 2px rgba(16,24,40,.06)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-ev[data-act]{cursor:pointer}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-ev b{display:block;font-variant-numeric:tabular-nums}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-ev span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-ev.one{white-space:nowrap;text-overflow:ellipsis}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-ev.one>:is(b,span){display:inline}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-ev.one>span{margin-left:6px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-ev:is(.k-flight,.k-arrive)[class*="tc"]{background:color-mix(in srgb,var(--tc) 12%,var(--app-panel))}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-ev.k-call{background:color-mix(in srgb,#2563EB 10%,var(--app-panel));border-left-color:#2563EB}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-ev.k-meeting,.cdv-ev.k-personal{background:color-mix(in srgb,#7C3AED 9%,var(--app-panel));border-left-color:#7C3AED}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-now{position:absolute;left:62px;right:0;height:2px;background:#DC2626;z-index:3}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-now::before{content:"";position:absolute;left:-5px;top:-4px;width:10px;height:10px;border-radius:50%;background:#DC2626}
html[data-app-theme="light"] body[data-app-surface="staff"] .cyq{display:flex;flex-direction:column;gap:12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cyq-row{background:var(--app-panel);border:1px solid var(--app-line);border-radius:var(--app-radius);padding:10px 12px 12px;box-shadow:0 1px 2px rgba(16,24,40,.05)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cyq-months{position:relative;height:46px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cyq .cy-m{height:44px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cyq .cy-m b{font-size:13px;letter-spacing:.06em}
html[data-app-theme="light"] body[data-app-surface="staff"] .cyq .cy-bar{height:22px;line-height:22px;font-size:12px;border-radius:6px;padding:0 8px;text-overflow:ellipsis}
html[data-app-theme="light"] body[data-app-surface="staff"] .cyq .cy-bar.cl{border-top-left-radius:0;border-bottom-left-radius:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cyq .cy-bar.cr{border-top-right-radius:0;border-bottom-right-radius:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cyq .cy-bar span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-app-theme="light"] body[data-app-surface="staff"] .cyq .cy-bar{height:18px;line-height:15px;font-size:12px;border-radius:0;padding:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cyq .cy-bar span{display:inline-block}
html[data-app-theme="light"] body[data-app-surface="staff"] .cyq .cy-grid{z-index:2;pointer-events:none;background:#E4E7EC}
/* Weeks and days in the year view (10 Oct 2026): Monday dates and a tick per day under the months, a faint line down each week. */
html[data-app-theme="light"] body[data-app-surface="staff"] .cyq .cy-days{position:relative;height:16px;margin:2px 0;border-bottom:1px solid #E4E7EC;background:linear-gradient(to right,#D0D5DD 1px,transparent 1px) 0 100%/calc(100% / var(--days)) 4px repeat-x}
html[data-app-theme="light"] body[data-app-surface="staff"] .cyq .cy-wd{position:absolute;top:0;padding-left:3px;border-left:1px solid #D0D5DD;font-size:12px;line-height:11px;color:var(--app-muted);white-space:nowrap}
html[data-app-theme="light"] body[data-app-surface="staff"] .cyq .cy-wk{position:absolute;top:0;bottom:0;width:1px;background:#EEF1F5;z-index:2;pointer-events:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .cb-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cb-hits{display:flex;flex-direction:column;gap:4px;margin:-2px 0 8px;max-height:260px;overflow:auto}
html[data-app-theme="light"] body[data-app-surface="staff"] .cb-hit{font:inherit;display:grid;text-align:left;background:var(--app-bg);border:1px solid var(--app-line);border-radius:10px;padding:8px 10px;cursor:pointer;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cb-hit:hover{border-color:var(--app-accent)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cb-hit span{font-size:12px;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cb-pick{display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--app-accent-soft);border:1px solid color-mix(in srgb,var(--app-accent) 40%,var(--app-line));border-radius:10px;padding:8px 10px;margin:0 0 8px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cb-pick[hidden],html[data-app-theme="light"] body[data-app-surface="staff"] .cb-hits:empty{display:none}
/* Calendar round 3 (8 Oct 2026): a card per person on safari in the day view (tonight's stay, the day's movements); every item says whose. */
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-trips{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-tc{background:var(--app-panel);border:1px solid var(--app-line);border-top:4px solid var(--tc);border-radius:var(--app-radius);overflow:hidden;box-shadow:0 1px 2px rgba(16,24,40,.05)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-tc>summary{list-style:none;display:grid;grid-template-columns:12px minmax(0,1fr) auto;column-gap:10px;align-items:center;padding:10px 12px;cursor:pointer}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-tc>summary::-webkit-details-marker{display:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-tc>summary>i{width:12px;height:12px;border-radius:4px;background:var(--tc)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-tch{min-width:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-tch b{display:block;font-size:14px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-tch span{display:block;font-size:12px;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-tonight{padding:8px 12px;border-top:1px solid var(--app-line);background:color-mix(in srgb,var(--tc) 8%,var(--app-panel));font-size:13px;line-height:1.4}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-today{padding:6px 12px 10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-today .cdi{grid-template-columns:8px 16px auto minmax(0,1fr);padding:5px 0;border-top:1px solid #F1F3F6}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-today .cdi:first-child{border-top:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-quiet{padding:8px 12px 12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdi .cwho{font-weight:700}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdi .cnote{font-style:normal;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-ev.k-transfer{background:color-mix(in srgb,var(--tc,#0E7490) 10%,var(--app-panel))}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-ev.k-activity{background:color-mix(in srgb,var(--tc,#B45309) 10%,var(--app-panel))}
html[data-app-theme="light"] body[data-app-surface="staff"] .cmk.k-transfer{background:color-mix(in srgb,#0E7490 10%,var(--app-panel))}
/* A newer version is ready (8 Oct 2026): shown only when the app is in use; otherwise it loads the new version itself. */
html[data-app-theme="light"] body[data-app-surface="staff"] .crm-update{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);z-index:2000;display:flex;align-items:center;gap:12px;background:var(--app-ink);color:#fff;border-radius:999px;padding:8px 8px 8px 18px;box-shadow:0 10px 30px rgba(16,24,40,.25);font-size:13px;font-weight:600}
html[data-app-theme="light"] body[data-app-surface="staff"] .crm-update .btn{background:var(--app-accent);border-color:var(--app-accent);color:#fff}
/* Calendar round 4 (8 Oct 2026): every week item its own block, edged in its trip's colour; the day view's time-zone line. */
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-list{gap:6px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-list .cdi{background:var(--app-bg);border:1px solid var(--app-line);border-left:3px solid var(--tc,var(--app-line));border-radius:8px;padding:6px 8px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-list .cdi:first-child{border-top:1px solid var(--app-line);padding-top:6px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-list .cdi.k-meal,.cw-list .cdi.k-activity{background:color-mix(in srgb,#B45309 6%,var(--app-panel))}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-tz{font-size:12px;color:var(--app-muted);margin:-4px 0 0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-ev.k-meal{background:color-mix(in srgb,var(--tc,#B45309) 10%,var(--app-panel))}
/* Whose clock (8 Oct 2026): the chosen time first, the local time where it happens in grey beside it. */
html[data-app-theme="light"] body[data-app-surface="staff"] .cdi .calt{font-style:normal;font-weight:500;font-size:12px;color:var(--app-muted);margin-left:5px;white-space:nowrap;font-variant-numeric:tabular-nums}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-ev .calt{font-style:normal;font-weight:500;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-today .cdi .calt{display:block;margin:1px 0 0;font-size:12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-tz{margin:0 0 8px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw-list .cdi .calt{display:block;margin:1px 0 0;font-size:12px;white-space:normal}
html[data-app-theme="light"] body[data-app-surface="staff"] #cb_alt{margin:-4px 0 8px;min-height:0}
/* WEEK (9 Oct 2026): one grid, the dates on top, each day's bookings under its date, who is on safari underneath; a line between every day and every trip. */
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2-scroll{overflow-x:auto;background:var(--app-panel);border:1px solid var(--app-line);border-radius:var(--app-radius);box-shadow:0 1px 2px rgba(16,24,40,.05)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2{display:grid;grid-template-columns:repeat(7,minmax(118px,1fr));min-width:826px;position:relative}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2-col{border-left:1px solid var(--app-line);pointer-events:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2-col.c0{border-left:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2-col.today{background:color-mix(in srgb,var(--app-accent) 6%,transparent)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2-dh{font:inherit;background:none;border:0;border-bottom:1px solid var(--app-line);padding:10px 10px 9px;cursor:pointer;text-align:left;display:flex;align-items:center;gap:8px;position:relative;z-index:1;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2-dh span{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2-dh b{display:inline-grid;place-items:center;min-width:30px;height:30px;border-radius:50%;font-size:20px;font-weight:600;color:var(--app-ink);font-variant-numeric:tabular-nums}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2-dh.today span{color:var(--app-accent)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2-dh.today b{background:var(--app-accent);color:#fff}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2-dh:hover b{background:var(--app-hover)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2-dh.today:hover b{background:var(--app-accent)}
/* The days again above who is on safari (10 Oct 2026): the same header, a little smaller. */
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2-dh2{padding:6px 10px 5px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2-dh2 b{min-width:24px;height:24px;font-size:14px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2-day{padding:8px 6px 8px;display:flex;flex-direction:column;gap:5px;min-width:0;position:relative;z-index:1}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cw2-day,.cw3-day) .cdi{display:flex;flex-wrap:wrap;align-items:center;gap:1px 5px;background:color-mix(in srgb,var(--tc,var(--app-muted)) 10%,var(--app-panel));border:0;border-left:3px solid var(--tc,var(--app-line));border-radius:6px;padding:5px 7px;font-size:12px;line-height:1.35}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cw2-day,.cw3-day) .cdi .cdot{display:none}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cw2-day,.cw3-day) .cdi .ctx{flex:1 1 100%;min-width:0}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cw2-day,.cw3-day) .cdi .calt{display:block;margin:1px 0 0;font-size:12px;white-space:normal}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cw2-day,.cw3-day) .cdi .cnote{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cw2-day,.cw3-day) .cw-none{padding:2px 2px 0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2-add{font:inherit;font-size:12px;color:var(--app-muted);background:none;border:1px dashed transparent;border-radius:6px;padding:3px 6px;text-align:left;cursor:pointer;opacity:0;margin-top:auto}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2-day:hover .cw2-add,.cw2-add:focus-visible{opacity:1;border-color:var(--app-line)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2-sec{grid-column:1 / -1;position:relative;z-index:1;background:var(--app-bg);border-top:1px solid var(--app-line);border-bottom:1px solid var(--app-line);padding:8px 12px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2-rowline{grid-column:1 / -1;border-top:1px solid var(--app-line);pointer-events:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2-rowline.r0{border-top:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2-bar{position:relative;z-index:1;align-self:center;margin:7px 5px;display:flex;align-items:baseline;gap:8px;min-width:0;padding:6px 10px;border-radius:7px;background:color-mix(in srgb,var(--tc) 14%,transparent);border-left:3px solid var(--tc);color:color-mix(in srgb,var(--tc) 75%,#1D2939);text-decoration:none;font-size:12px;white-space:nowrap;overflow:hidden}
/* Soft like the month view (10 Oct 2026, Jackson: "soften the week colours"): a pale see-through tint, so the day lines and
   today's column show through, the trip's colour as a stripe where it starts, and the text in a deep shade of it. */
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2-bar b{font-weight:700;flex:none;max-width:100%;overflow:hidden;text-overflow:ellipsis}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2-bar span{opacity:.85;overflow:hidden;text-overflow:ellipsis;min-width:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2-bar.cl{margin-left:0;border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2-bar.cr{margin-right:0;border-top-right-radius:0;border-bottom-right-radius:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2-bar:hover{background:color-mix(in srgb,var(--tc) 24%,transparent)}
/* GUIDES (9 Oct 2026): a row per guide, a bar per trip they guide, the clashes and the trips that still need a guide. */
html[data-app-theme="light"] body[data-app-surface="staff"] .cg{background:var(--app-panel);border:1px solid var(--app-line);border-radius:var(--app-radius);overflow-x:auto;box-shadow:0 1px 2px rgba(16,24,40,.05)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg+.cg{margin-top:14px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-row{display:grid;grid-template-columns:150px minmax(0,1fr);border-top:1px solid var(--app-line);min-width:760px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-row:first-child{border-top:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-lab{padding:8px 12px;border-right:1px solid var(--app-line);display:flex;flex-direction:column;justify-content:center;gap:2px;min-width:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-lab b{font-size:13px;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-lab span{font-size:12px;color:var(--app-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-lab .cg-warn{font-style:normal;font-weight:600;color:#B42318}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-row.free .cg-lab span{color:#047857}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-row.need .cg-lab b{color:#B45309}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-row.need,.cg-row.other{background:var(--app-bg)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-track{position:relative;min-height:40px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-head .cg-track{min-height:46px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-tick{position:absolute;top:0;bottom:0;font:inherit;background:none;border:0;border-left:1px solid var(--app-line);padding:6px 6px;text-align:left;cursor:pointer;color:var(--app-muted);overflow:hidden;white-space:nowrap}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-tick:first-child{border-left:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-tick span{display:block;font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-tick b{font-size:14px;font-weight:600;color:var(--app-ink);font-variant-numeric:tabular-nums}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-tick.today span,.cg-tick.today b{color:var(--app-accent)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-tick:hover{background:var(--app-hover)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-line{position:absolute;top:0;bottom:0;border-left:1px solid var(--app-line);pointer-events:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-now{position:absolute;top:0;bottom:0;border-left:2px solid var(--app-accent);pointer-events:none;z-index:2;opacity:.7}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-bar{position:absolute;height:24px;display:flex;align-items:center;padding:0 8px;border-radius:6px;background:var(--tc);color:#fff;font-size:12px;font-weight:600;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:1;box-sizing:border-box}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-bar:hover{filter:brightness(1.08)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-bar.loose{background:repeating-linear-gradient(135deg,var(--tc) 0 7px,color-mix(in srgb,var(--tc) 72%,#fff) 7px 14px)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-bar.clash{outline:2px solid #D92D20;outline-offset:1px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-bar.need{background:color-mix(in srgb,#F59E0B 16%,var(--app-panel));color:#93370D;border:1px dashed #DC6803}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-bar.need.soon{background:#FEF0C7;border-style:solid;font-weight:700}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-k{font-weight:600}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-k.clash{color:#B42318}
html[data-app-theme="light"] body[data-app-surface="staff"] .cg-k.need{color:#B45309}
html[data-app-theme="light"] body[data-app-surface="staff"] .cgd{background:var(--app-panel);border:1px solid var(--app-line);border-radius:var(--app-radius);overflow:hidden}
html[data-app-theme="light"] body[data-app-surface="staff"] .cgd-row{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px;padding:10px 14px;border-top:1px solid var(--app-line);align-items:center}
html[data-app-theme="light"] body[data-app-surface="staff"] .cgd-row:first-child{border-top:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cgd-row>b{font-size:13px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cgd-row>span{display:flex;flex-wrap:wrap;gap:6px;font-size:13px;color:var(--app-ink);min-width:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cgd-row.free>span{color:#047857}
html[data-app-theme="light"] body[data-app-surface="staff"] .cgd-row.need{background:var(--app-bg)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cgd-row.need>b{color:#B45309}
html[data-app-theme="light"] body[data-app-surface="staff"] .cgd-trip{display:inline-flex;align-items:center;gap:6px;text-decoration:none;color:var(--app-ink);background:color-mix(in srgb,var(--tc) 10%,var(--app-panel));border-left:3px solid var(--tc);border-radius:6px;padding:4px 8px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cgd-trip i{display:none}
/* A trip's card and Assign guide on the calendar (9 Oct 2026). */
html[data-app-theme="light"] body[data-app-surface="staff"] .ctc h3,.cas h3{margin:0 0 2px}
html[data-app-theme="light"] body[data-app-surface="staff"] .ctc-sec{margin:14px 0 4px;border-top:1px solid var(--app-line);padding-top:10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .ctc-lab{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--app-muted);margin:6px 0 6px}
html[data-app-theme="light"] body[data-app-surface="staff"] .ctc-g{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;padding:6px 0;font-size:13px}
html[data-app-theme="light"] body[data-app-surface="staff"] .ctc-g b{font-weight:700;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .ctc-g span{color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .ctc-g em{flex-basis:100%;font-style:normal;font-size:13px;font-weight:600;color:#B42318}
html[data-app-theme="light"] body[data-app-surface="staff"] .ctc-g.none b{color:#B45309}
html[data-app-theme="light"] body[data-app-surface="staff"] .ctc-g.veh span{color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .ctc-btns{display:flex;gap:8px;margin-top:14px}
html[data-app-theme="light"] body[data-app-surface="staff"] .ctc-btns .btn{flex:1}
html[data-app-theme="light"] body[data-app-surface="staff"] .cas-help{font-size:13px;color:var(--app-muted);margin:10px 0 12px;line-height:1.45}
html[data-app-theme="light"] body[data-app-surface="staff"] .cas-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto 34px;gap:8px;align-items:center;margin-top:8px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cas-row select,.cas-row input{font:inherit;font-size:13px;min-height:36px;border:1px solid var(--app-line);border-radius:8px;padding:6px 8px;background:var(--app-panel);color:var(--app-ink);min-width:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cas-row>span{font-size:12px;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cas-sub{font-size:12px;color:var(--app-muted);margin:3px 0 0 2px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cas-warn{font-size:13px;font-weight:600;color:#B42318;margin:5px 0 0 2px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cas-add{margin-top:10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cas-keep{display:flex;flex-direction:column;gap:3px;margin-top:12px;padding:8px 10px;border-radius:8px;background:var(--app-bg);font-size:13px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cas-keep b{font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cas-note{font-size:12px;color:var(--app-muted);margin:12px 0 10px;line-height:1.45}
@media(max-width:560px){html[data-app-theme="light"] body[data-app-surface="staff"] .cas-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 34px}html[data-app-theme="light"] body[data-app-surface="staff"] .cas-row select{grid-column:1 / -1}html[data-app-theme="light"] body[data-app-surface="staff"] .cas-row>span{display:none}}
/* The week's items, brief (9 Oct 2026): a line each, the detail one tap away. */
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cw2-day,.cw3-day) .cchip{display:block;padding:0}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cw2-day,.cw3-day) .cchip>summary,:is(.cw2-day,.cw3-day) .cchip>.csum{display:block;list-style:none;cursor:pointer;padding:5px 7px;line-height:1.35}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cw2-day,.cw3-day) .cchip .cline{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cw2-day,.cw3-day) .cchip>.csum{cursor:default}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cw2-day,.cw3-day) .cchip>summary::-webkit-details-marker{display:none}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cw2-day,.cw3-day) .cchip .cic{margin-right:4px}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cw2-day,.cw3-day) .cchip .cat{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cw2-day,.cw3-day) .cchip .csh{color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cw2-day,.cw3-day) .cchip[open] .cline{-webkit-line-clamp:unset;display:block}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cw2-day,.cw3-day) .cchip>summary:hover{background:color-mix(in srgb,var(--tc,var(--app-muted)) 8%,transparent)}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cw2-day,.cw3-day) .cdet{padding:2px 7px 7px;font-size:12px;line-height:1.4;display:flex;flex-direction:column;gap:3px;border-top:1px dashed color-mix(in srgb,var(--tc,var(--app-line)) 35%,transparent)}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cw2-day,.cw3-day) .cdet-m{color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cw2-day,.cw3-day) .cdet-w{color:#B42318;font-weight:600}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cw2-day,.cw3-day) .cdet-open{color:var(--app-ink);font-weight:600;text-decoration:none;margin-top:2px}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cw2-day,.cw3-day) .cdet-open:hover{text-decoration:underline}
/* The arrows say where they go, around the title (9 Oct 2026). */
html[data-app-theme="light"] body[data-app-surface="staff"] .calnav{display:flex;align-items:center;gap:6px;flex:1 1 auto;min-width:0;flex-wrap:wrap}
html[data-app-theme="light"] body[data-app-surface="staff"] .calnav .btn{min-height:34px;padding:6px 12px;font-weight:600;white-space:nowrap;border:1px solid var(--app-line)}
html[data-app-theme="light"] body[data-app-surface="staff"] .calnav .caltitle{flex:0 1 auto;min-width:0;padding:0 6px;text-align:center}
/* The day as a list on a phone (23 Oct 2026, Jackson: "when I click on calls, it doesn't expand it to show me who the call is for and whose it is"): calAgendaRow, the time, what and who for, whose deal; tap for the rest. The hours grid stays on wider screens. */
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-agenda{display:none;background:var(--app-panel);border:1px solid var(--app-line);border-radius:var(--app-radius);overflow:hidden;box-shadow:0 1px 2px rgba(16,24,40,.05)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-agenda>*+*{border-top:1px solid var(--app-line)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cag{--cag:var(--tc,var(--app-muted))}
html[data-app-theme="light"] body[data-app-surface="staff"] .cag.k-call{--cag:#2563EB}
html[data-app-theme="light"] body[data-app-surface="staff"] .cag:is(.k-meeting,.k-personal){--cag:#7C3AED}
html[data-app-theme="light"] body[data-app-surface="staff"] .cag>summary,html[data-app-theme="light"] body[data-app-surface="staff"] .cag-h{display:grid;grid-template-columns:60px minmax(0,1fr) auto;gap:10px;align-items:start;padding:11px 12px 11px 10px;border-left:4px solid var(--cag);list-style:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .cag>summary{cursor:pointer}
html[data-app-theme="light"] body[data-app-surface="staff"] .cag>summary::-webkit-details-marker{display:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .cag[open]>summary{background:color-mix(in srgb,var(--cag) 8%,transparent)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cag-t{font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.35;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cag-ml{font-size:12px;overflow-wrap:anywhere}
html[data-app-theme="light"] body[data-app-surface="staff"] .cag-t .calt{display:block;font-style:normal;font-size:11px;font-weight:500;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cag-x{min-width:0;font-size:14px;line-height:1.35;color:var(--app-ink);overflow-wrap:anywhere}
html[data-app-theme="light"] body[data-app-surface="staff"] .cag-x .cic{margin-right:5px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cag-o{align-self:center;white-space:nowrap;font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px;background:#EEF1F5;color:#4B5563}
html[data-app-theme="light"] body[data-app-surface="staff"] .cag .cdet{display:flex;flex-direction:column;gap:4px;padding:0 12px 12px 80px;border-left:4px solid var(--cag);background:color-mix(in srgb,var(--cag) 8%,transparent);font-size:13px;line-height:1.45;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cag .cdet-m{color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cag .cdet-w{color:#B42318;font-weight:600}
html[data-app-theme="light"] body[data-app-surface="staff"] .cag .cdet a{color:var(--app-ink);font-weight:600}
html[data-app-theme="light"] body[data-app-surface="staff"] .cag .cdet-open{margin-top:4px;text-decoration:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .cag-now{display:flex;align-items:center;gap:8px;padding:3px 12px;font-size:11px;font-weight:700;letter-spacing:.04em;color:#DC2626}
html[data-app-theme="light"] body[data-app-surface="staff"] .cag-now::after{content:"";flex:1;height:2px;background:#DC2626}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-agenda .cw-none{padding:14px 12px}
/* The toolbar on a phone (23 Oct 2026, Jackson: "the calendar's real messy on the phone"): the title between two arrows, Today beside the views, the pickers in a grid with their names above, Book a call full width. */
@media(max-width:700px){
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-grid{display:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .cdv-agenda{display:block}
html[data-app-theme="light"] body[data-app-surface="staff"] .calbar2{gap:8px;padding:10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .calbar2>.calnav{order:1;flex:1 1 100%;flex-wrap:nowrap;justify-content:space-between;gap:8px}
html[data-app-theme="light"] body[data-app-surface="staff"] .calnav .cnl{display:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .calnav .btn{flex:0 0 40px;min-width:40px;padding:6px 0;justify-content:center;font-size:20px;line-height:1}
html[data-app-theme="light"] body[data-app-surface="staff"] .calnav .caltitle{flex:1 1 auto;min-width:0;padding:0;font-size:16px}
html[data-app-theme="light"] body[data-app-surface="staff"] .calbar2>.cb-today{order:2;flex:0 0 auto}
html[data-app-theme="light"] body[data-app-surface="staff"] .calbar2>.calviews{order:3;flex:1 1 calc(100% - 120px);display:flex;min-width:0;margin-left:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .calbar2 .calviews .segb{flex:1 1 0;min-width:0;padding-left:0;padding-right:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .calbar2>.qsort{order:4;flex:1 1 calc(50% - 4px);min-width:0;flex-direction:column;align-items:stretch;gap:3px;font-size:11px}
html[data-app-theme="light"] body[data-app-surface="staff"] .calbar2>.cb-show{flex-basis:calc(58% - 4px)}
html[data-app-theme="light"] body[data-app-surface="staff"] .calbar2>.cb-who{flex-basis:calc(42% - 4px)}
html[data-app-theme="light"] body[data-app-surface="staff"] .calbar2>.cb-tz{order:5;flex-basis:100%}
html[data-app-theme="light"] body[data-app-surface="staff"] .calbar2 .qsort select{width:100%;min-width:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .calbar2>.cb-book{order:6;flex:1 1 100%;justify-content:center}
html[data-app-theme="light"] body[data-app-surface="staff"] .calkeys{gap:2px 10px;font-size:11px}
}
html[data-app-theme="light"] body[data-app-surface="staff"] .cyq-row.now{outline:2px solid color-mix(in srgb,var(--app-accent) 35%,transparent);outline-offset:-1px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cy-m.now b{color:var(--app-accent)}
/* Flights page as a day-by-day schedule (Jackson 10 Oct 2026): week headings, the date down the left, one line per flight. */
html[data-app-theme="light"] body[data-app-surface="staff"] .flx-sum{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0 6px}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.flx-chip,.flx-pill){display:inline-flex;align-items:center;gap:6px;white-space:nowrap;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:600;background:#F3F4F6;color:#4B5563}
html[data-app-theme="light"] body[data-app-surface="staff"] .flx-chip::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.flx-chip,.flx-pill).ok{background:color-mix(in srgb,var(--ok) 11%,#fff);color:var(--ok)}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.flx-chip,.flx-pill).red{background:color-mix(in srgb,var(--warn) 11%,#fff);color:var(--warn)}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.flx-chip,.flx-pill).warn{background:color-mix(in srgb,var(--gold2) 13%,#fff);color:var(--gold2)}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.flx-chip,.flx-pill).bush{background:#FBF3E4;color:#8A5A00}
html[data-app-theme="light"] body[data-app-surface="staff"] .flx-how{font-size:12px;color:var(--app-muted);margin:0 0 6px}
html[data-app-theme="light"] body[data-app-surface="staff"] .flx-wk{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--app-muted);margin:18px 0 7px}
html[data-app-theme="light"] body[data-app-surface="staff"] .flx-card{background:var(--app-panel);border:1px solid var(--app-line);border-radius:12px;overflow:hidden}
html[data-app-theme="light"] body[data-app-surface="staff"] .flx-day{display:grid;grid-template-columns:72px minmax(0,1fr);border-top:1px solid var(--app-line)}
html[data-app-theme="light"] body[data-app-surface="staff"] .flx-day:first-child{border-top:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .flx-date{display:flex;flex-direction:column;align-items:center;padding:9px 4px;border-right:1px solid var(--app-line);background:#FAFAFB}
html[data-app-theme="light"] body[data-app-surface="staff"] .flx-date span{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .flx-date b{display:grid;place-items:center;min-width:30px;height:30px;margin:1px 0;border-radius:50%;font-size:20px;font-weight:600}
html[data-app-theme="light"] body[data-app-surface="staff"] .flx-day.today .flx-date span:first-child{color:var(--app-accent)}
html[data-app-theme="light"] body[data-app-surface="staff"] .flx-day.today .flx-date b{background:var(--app-accent);color:#fff}
html[data-app-theme="light"] body[data-app-surface="staff"] .flx-leg{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:12px;align-items:start;padding:11px 14px;border-top:1px solid #F1F2F4}
html[data-app-theme="light"] body[data-app-surface="staff"] .flx-leg:first-child{border-top:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .flx-leg.red{box-shadow:inset 3px 0 0 var(--warn)}
html[data-app-theme="light"] body[data-app-surface="staff"] .flx-leg.orange{box-shadow:inset 3px 0 0 var(--gold2)}
html[data-app-theme="light"] body[data-app-surface="staff"] .flx-time b{display:block;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums}
html[data-app-theme="light"] body[data-app-surface="staff"] .flx-time span{display:block;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .flx-l1{font-size:14px;line-height:1.35;overflow-wrap:anywhere}
html[data-app-theme="light"] body[data-app-surface="staff"] .flx-l1 b{margin-right:7px}
html[data-app-theme="light"] body[data-app-surface="staff"] .flx-l2{margin-top:2px;font-size:12px;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .flx-l2 a{color:inherit;font-weight:600}
html[data-app-theme="light"] body[data-app-surface="staff"] .flx-why{margin-top:4px;font-size:12px;color:var(--warn)}
html[data-app-theme="light"] body[data-app-surface="staff"] .flx-leg.orange .flx-why{color:var(--gold2)}
@media(max-width:600px){html[data-app-theme="light"] body[data-app-surface="staff"] .flx-day{grid-template-columns:52px minmax(0,1fr)}html[data-app-theme="light"] body[data-app-surface="staff"] .flx-leg{grid-template-columns:56px minmax(0,1fr);gap:8px;padding:10px}html[data-app-theme="light"] body[data-app-surface="staff"] .flx-st{grid-column:2}}
/* The week's hours (10 Oct 2026, Jackson: "add the hour of the day so we can see what time all those tasks are happening"):
   the hours down the left, each timed booking at its time, an All day row above for what has no time. */
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2.hrs{grid-template-columns:52px repeat(7,minmax(112px,1fr));min-width:836px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw2.hrs .cw2-col.c0{border-left:1px solid var(--app-line)}
html[data-app-theme="light"] body[data-app-surface="staff"] :is(.cw3-lab,.cw3-all){border-bottom:1px solid var(--app-line)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw3-lab{position:relative;z-index:1;padding:11px 8px 0 0;text-align:right;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw3-all{min-height:38px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw3-gut{position:relative}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw3-gut span{position:absolute;right:8px;margin-top:3px;font-size:12px;color:var(--app-muted);font-variant-numeric:tabular-nums;white-space:nowrap}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw3-lines{grid-column:2 / -1;background-image:linear-gradient(to bottom,#EEF1F5 1px,transparent 1px);pointer-events:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw3-day{position:relative;z-index:1;min-width:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw3-day:has(.cchip[open]){z-index:5}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw3-hr{position:absolute;left:0;right:0;padding:0;background:none;border:0;cursor:pointer}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw3-hr:hover{background:color-mix(in srgb,var(--app-accent) 6%,transparent)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw3-ev{position:absolute;z-index:2;display:flex;min-width:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw3-ev>.cchip{flex:1;min-width:0;margin:0;overflow:hidden}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw3-ev .cchip>summary,.cw3-ev .cchip>.csum{padding:3px 6px}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw3-ev .cchip .cline{-webkit-line-clamp:2}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw3-ev:has(.cchip[open]){height:auto!important;left:2px!important;width:calc(100% - 4px)!important;z-index:6}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw3-ev .cchip[open]{overflow:visible;box-shadow:0 8px 24px rgba(16,24,40,.18)}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw3-now{position:absolute;left:0;right:0;height:0;border-top:2px solid var(--app-accent);z-index:3;pointer-events:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .cw3-now::before{content:"";position:absolute;left:-4px;top:-5px;width:8px;height:8px;border-radius:50%;background:var(--app-accent)}
/* The deal page's flights: the Flights page's own lines (10 Oct 2026). */
html[data-app-theme="light"] body[data-app-surface="staff"] .flx-deal{margin:0 0 12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .flx-dt{margin:0 0 6px;font-size:13px;font-weight:700}
/* The deal page's trip overview + checklist (10 Oct 2026, Jackson: "the first thing under the overview is that we actually
   need to see the overview ... a tick list of what's been done and what's been paid"). */
html[data-app-theme="light"] body[data-app-surface="staff"] .dov{background:var(--app-panel);border:1px solid var(--app-line);border-radius:12px;padding:16px 18px 14px;margin:0 0 16px;box-shadow:0 1px 2px rgba(16,24,40,.05)}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-facts{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr);gap:14px;padding-bottom:14px;border-bottom:1px solid var(--app-line)}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-facts>div{min-width:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-facts span{display:block;font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-facts b{display:block;margin-top:3px;font-size:14px;font-weight:700;color:var(--app-ink);overflow-wrap:anywhere}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-facts b em{font-style:normal;font-weight:500;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-pick{display:inline-block;margin-top:4px;padding:0;border:0;background:none;font:inherit;font-size:13px;font-weight:600;color:var(--app-accent);cursor:pointer;text-decoration:underline;text-underline-offset:2px}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-facts i{display:block;margin-top:2px;font-style:normal;font-size:12px;color:var(--app-muted);overflow-wrap:anywhere}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-sec{margin:14px 0 6px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-none{font-size:13px;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-grp{border:1px solid var(--app-line);border-radius:10px;margin:0 0 6px;overflow:hidden}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-grp>summary{display:flex;align-items:center;gap:8px;padding:9px 12px;cursor:pointer;list-style:none;font-size:14px}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-grp>summary::-webkit-details-marker{display:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-grp>summary:hover{background:var(--app-hover)}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-gi{width:20px;text-align:center}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-gn{min-width:22px;padding:1px 7px;border-radius:999px;background:#F3F4F6;color:#4B5563;font-size:12px;font-weight:600;text-align:center}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-gs{margin-left:auto;font-size:12px;font-weight:600;white-space:nowrap}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-gs.ok{color:var(--ok)}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-gs.todo{color:var(--gold2)}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-row{display:grid;grid-template-columns:18px minmax(0,1fr) auto auto;gap:10px;align-items:baseline;padding:7px 12px;border-top:1px solid #F1F2F4;font-size:13px}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-tick{color:var(--ok);font-weight:700;text-align:center}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-row.todo .dov-tick{color:var(--gold2)}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-nm{min-width:0;overflow-wrap:anywhere;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-when{white-space:nowrap;color:var(--app-muted);font-size:12px;font-variant-numeric:tabular-nums}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-st{white-space:nowrap;padding:1px 8px;border-radius:999px;font-size:12px;font-weight:600;background:color-mix(in srgb,var(--gold2) 13%,#fff);color:var(--gold2)}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-pays{display:flex;flex-wrap:wrap;gap:8px}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-pay{display:inline-flex;align-items:center;padding:5px 12px;border-radius:999px;font-size:13px;font-weight:600}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-pay.ok{background:color-mix(in srgb,var(--ok) 11%,#fff);color:var(--ok)}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-pay.todo{background:color-mix(in srgb,var(--gold2) 13%,#fff);color:var(--gold2)}
html[data-app-theme="light"] body[data-app-surface="staff"] .dm{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .dm-card{border:1px solid var(--app-line);border-radius:14px;padding:14px 16px;background:var(--app-panel)}
html[data-app-theme="light"] body[data-app-surface="staff"] .dm-h{font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .dm-big{margin-top:6px;font-size:20px;font-weight:800;color:var(--app-ink);overflow-wrap:anywhere}
html[data-app-theme="light"] body[data-app-surface="staff"] .dm-big span{font-size:13px;font-weight:600;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .dm-card.ok .dm-big{color:var(--ok)}
html[data-app-theme="light"] body[data-app-surface="staff"] .dm-bar{height:6px;margin:10px 0 9px;border-radius:999px;background:rgba(var(--ink-rgb),0.08);overflow:hidden}
html[data-app-theme="light"] body[data-app-surface="staff"] .dm-bar i{display:block;height:100%;border-radius:999px;background:var(--gold2)}
html[data-app-theme="light"] body[data-app-surface="staff"] .dm-card.ok .dm-bar i{background:var(--ok)}
html[data-app-theme="light"] body[data-app-surface="staff"] .dm-card.late{border-color:color-mix(in srgb,var(--warn) 45%,transparent)}
html[data-app-theme="light"] body[data-app-surface="staff"] .dm-sub{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13px;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .ck-sec{margin:4px 0 6px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .ck-sec:not(:first-child){margin-top:14px}
html[data-app-theme="light"] body[data-app-surface="staff"] .ck-row{display:grid;grid-template-columns:22px minmax(0,auto) minmax(0,1fr);gap:4px 10px;align-items:baseline;padding:7px 0;border-top:1px solid #F1F2F4;font-size:13px}
html[data-app-theme="light"] body[data-app-surface="staff"] .ck-sec+.ck-row{border-top:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .ck-m{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;font-size:12px;font-weight:800;color:#fff;align-self:center}
html[data-app-theme="light"] body[data-app-surface="staff"] .ck-row.red .ck-m{background:var(--warn)}
html[data-app-theme="light"] body[data-app-surface="staff"] .ck-row.amber .ck-m{background:var(--gold2)}
html[data-app-theme="light"] body[data-app-surface="staff"] .ck-row.later .ck-m{background:none;border:1.5px solid #CBD2DA;color:#9AA3AE}
html[data-app-theme="light"] body[data-app-surface="staff"] .ck-row b{color:var(--app-ink);white-space:nowrap}
html[data-app-theme="light"] body[data-app-surface="staff"] .ck-d{color:var(--app-muted);font-size:13px;min-width:0;overflow-wrap:anywhere}
html[data-app-theme="light"] body[data-app-surface="staff"] .ck-done{display:flex;flex-wrap:wrap;gap:6px}
html[data-app-theme="light"] body[data-app-surface="staff"] .ck-done span{padding:3px 10px;border-radius:999px;background:color-mix(in srgb,var(--ok) 10%,#fff);color:var(--ok);font-size:13px;font-weight:600}
@media(max-width:700px){html[data-app-theme="light"] body[data-app-surface="staff"] .dov-facts{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-app-theme="light"] body[data-app-surface="staff"] .dov-row{grid-template-columns:18px minmax(0,1fr);}html[data-app-theme="light"] body[data-app-surface="staff"] .dov-when,html[data-app-theme="light"] body[data-app-surface="staff"] .dov-st{grid-column:2}html[data-app-theme="light"] body[data-app-surface="staff"] .ck-row{grid-template-columns:22px minmax(0,1fr)}html[data-app-theme="light"] body[data-app-surface="staff"] .ck-d{grid-column:2}html[data-app-theme="light"] body[data-app-surface="staff"] .ck-row b{white-space:normal}}
/* Day-by-day cards, tidied (10 Oct 2026, Jackson: "tidy up the day by day cards"). */
html[data-app-theme="light"] body[data-app-surface="staff"] .tpline{margin-top:9px;font-size:14px;gap:4px 18px}
html[data-app-theme="light"] body[data-app-surface="staff"] .tploc{color:var(--app-ink);font-weight:600}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpstay{color:#4B5563;opacity:1}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpnostay{color:#B45309;font-weight:600}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpsleep.tpnostay{border-top:1px solid #EDF0F4;margin-top:12px;padding-top:10px;font-size:14px}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpchips{gap:6px;margin-top:10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpchip{background:#F3F4F6;color:#374151;font-size:13px;padding:4px 10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpchip b{font-variant-numeric:tabular-nums;font-weight:700}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpchip.fly{background:color-mix(in srgb,var(--app-accent) 10%,#fff);color:#8A4A00}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpchip.car{background:#EEF2FF;color:#3730A3}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpchip.act{background:#ECFDF5;color:#065F46}
html[data-app-theme="light"] body[data-app-surface="staff"] .tpchip.more{background:none;color:var(--app-muted)}
/* The stage view (11 Oct 2026, Jackson: "different points of view for each stage ... a to-do list ... really simplified"). */
html[data-app-theme="light"] body[data-app-surface="staff"] .stg{background:var(--app-panel);border:1px solid var(--app-line);border-radius:12px;padding:14px 18px;margin:0 0 14px;box-shadow:0 1px 2px rgba(16,24,40,.05)}
/* The life-of-the-trip tracker (14 Oct 2026, Jackson: "I can't tell what stage they're at by looking at that"): a small-caps label in front, the step the trip is
   at filled in the brand gold with the word "now", finished steps ticked and quiet, later steps muted. The tab strip above it keeps to tabs (no dashes). */
html[data-app-theme="light"] body[data-app-surface="staff"] .stg-trk{display:flex;align-items:center;gap:6px 14px;flex-wrap:wrap;margin:0 0 12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .stg-lab{font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--app-muted);white-space:nowrap}
html[data-app-theme="light"] body[data-app-surface="staff"] .stg-rail{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .stg-step{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:600;color:var(--app-muted);white-space:nowrap;padding:4px 12px 4px 5px;border-radius:999px;opacity:.62}
html[data-app-theme="light"] body[data-app-surface="staff"] .stg-step i{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;font-style:normal;font-size:12px;font-weight:700;background:#F3F4F6;color:#6B7280}
html[data-app-theme="light"] body[data-app-surface="staff"] .stg-step.past{opacity:1}
html[data-app-theme="light"] body[data-app-surface="staff"] .stg-step.past i{background:color-mix(in srgb,var(--ok) 14%,#fff);color:var(--ok)}
html[data-app-theme="light"] body[data-app-surface="staff"] .stg-step.now{opacity:1;background:var(--app-accent);color:#fff;font-weight:800;box-shadow:0 1px 3px rgba(16,24,40,.18)}
html[data-app-theme="light"] body[data-app-surface="staff"] .stg-step.now i{background:#fff;color:var(--app-accent)}
html[data-app-theme="light"] body[data-app-surface="staff"] .stg-step em{font-style:normal;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;background:rgba(255,255,255,.26);border-radius:999px;padding:2px 8px}
html[data-app-theme="light"] body[data-app-surface="staff"] .stg-line{display:none}
html[data-app-theme="light"] body[data-app-surface="staff"] .stg-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;padding-top:11px;border-top:1px solid var(--app-line)}
html[data-app-theme="light"] body[data-app-surface="staff"] .stg-head b{font-family:var(--brand-head);font-size:20px;font-weight:800;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .stg-head span{font-size:13px;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .stg-sec{margin:12px 0 4px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .stg-row{display:grid;grid-template-columns:22px minmax(0,auto) minmax(0,1fr);gap:2px 10px;align-items:baseline;padding:7px 0;border-top:1px solid #F1F2F4;font-size:13px}
html[data-app-theme="light"] body[data-app-surface="staff"] .stg-sec+.stg-row{border-top:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .stg-m{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;font-size:12px;font-weight:800;align-self:center}
html[data-app-theme="light"] body[data-app-surface="staff"] .stg-row.todo .stg-m{background:var(--gold2);color:#fff}
html[data-app-theme="light"] body[data-app-surface="staff"] .stg-row.wait .stg-m{background:#EEF2FF;color:#3730A3}
html[data-app-theme="light"] body[data-app-surface="staff"] .stg-row.later .stg-m{border:1.5px solid #CBD2DA;color:#9AA3AE}
html[data-app-theme="light"] body[data-app-surface="staff"] .stg-row b{color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .stg-s{color:var(--app-muted);font-size:13px;min-width:0;overflow-wrap:anywhere}
html[data-app-theme="light"] body[data-app-surface="staff"] .stg-none{font-size:13px;color:var(--app-muted);margin-top:8px}
/* The Booking step's list (11 Oct 2026): one line per booking in trip order. Tick or mark, the day, what it is
   in plain words, and a chip for its state; on a phone the day joins the description line. */
html[data-app-theme="light"] body[data-app-surface="staff"] .bk{margin-top:6px}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-grp{padding:12px 0 6px}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-grp+.bk-grp{border-top:1px solid var(--app-line)}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-gh{display:flex;align-items:center;gap:8px;margin:0 0 6px;font-size:14px;font-weight:800;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-gh>span{font-size:16px}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-gh i{margin-left:auto;font-style:normal;font-size:13px;font-weight:600}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-gh i.ok{color:var(--ok)}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-gh i.todo{color:var(--gold2)}
html[data-app-theme="light"] body[data-app-surface="staff"] summary.bk-gh{cursor:pointer;list-style:none;margin-bottom:0;padding:2px 0 8px}
html[data-app-theme="light"] body[data-app-surface="staff"] summary.bk-gh::-webkit-details-marker{display:none}
html[data-app-theme="light"] body[data-app-surface="staff"] summary.bk-gh::after{content:"";flex:none;width:7px;height:7px;margin:0 4px 3px 10px;border-right:2px solid var(--app-muted);border-bottom:2px solid var(--app-muted);transform:rotate(45deg);transition:transform .15s}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-grp[open]>summary.bk-gh::after{transform:rotate(225deg);margin-bottom:-3px}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-grp:not([open]){padding-bottom:4px}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-row{display:grid;grid-template-columns:24px 92px 36px minmax(0,1fr) auto;gap:12px;align-items:center;padding:6px 0}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-row.bk-tap{cursor:pointer;border-radius:10px}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-row.bk-tap:hover{background:var(--app-hover)}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-ic{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#F5F5F7;font-size:20px;line-height:1}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-m{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;font-size:12px;font-weight:800}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-row.done .bk-m{background:color-mix(in srgb,var(--ok) 15%,#fff);color:var(--ok)}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-row.todo .bk-m{background:var(--gold2);color:#fff}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-row.wait .bk-m{background:#EEF2FF;color:#3730A3}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-row.later .bk-m{border:1.5px solid #CBD2DA;color:#9AA3AE}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-when{font-size:13px;font-weight:600;color:var(--app-muted);font-variant-numeric:tabular-nums;white-space:nowrap}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-what{min-width:0}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-what b{display:block;font-size:14px;font-weight:700;color:var(--app-ink);overflow-wrap:anywhere}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-what span{display:block;margin-top:1px;font-size:13px;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-d{display:none;font-style:normal}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-st{font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px;white-space:nowrap}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-row.done .bk-st{background:color-mix(in srgb,var(--ok) 11%,#fff);color:var(--ok)}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-row.todo .bk-st{background:color-mix(in srgb,var(--gold2) 13%,#fff);color:var(--gold2)}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-row.wait .bk-st{background:#EEF2FF;color:#3730A3}
html[data-app-theme="light"] body[data-app-surface="staff"] .bk-row.later .bk-st{background:#F5F5F7;color:var(--app-muted)}
@media(max-width:700px){html[data-app-theme="light"] body[data-app-surface="staff"] .bk-row{grid-template-columns:22px 32px minmax(0,1fr) auto;gap:9px}html[data-app-theme="light"] body[data-app-surface="staff"] .bk-ic{width:32px;height:32px;font-size:16px;border-radius:10px}html[data-app-theme="light"] body[data-app-surface="staff"] .bk-when{display:none}html[data-app-theme="light"] body[data-app-surface="staff"] .bk-d{display:inline}html[data-app-theme="light"] body[data-app-surface="staff"] .bk-st{font-size:12px;padding:3px 8px}}
@media(max-width:700px){html[data-app-theme="light"] body[data-app-surface="staff"] .stg{padding:12px 14px}html[data-app-theme="light"] body[data-app-surface="staff"] .stg-row{grid-template-columns:22px minmax(0,1fr)}html[data-app-theme="light"] body[data-app-surface="staff"] .stg-s{grid-column:2}html[data-app-theme="light"] body[data-app-surface="staff"] .stg-line{display:none}html[data-app-theme="light"] body[data-app-surface="staff"] .stg-rail{gap:6px 12px}}
/* A crisp phone layout (11 Oct 2026, Jackson: "the mobile one ... needs to look very crisp ... easy to read"; George's calm
   style: quiet bar, the name as the title, one row of icon buttons, nothing cut off mid-word). Desktop is untouched. */
.aic{display:none}
@media(max-width:700px){
 html[data-app-theme="light"] body[data-app-surface="staff"] .topbar :is(.bellbtn,.app-find-trigger){border-color:transparent!important;background:transparent!important;box-shadow:none!important}
 html[data-app-theme="light"] body[data-app-surface="staff"] .rechead{padding:16px 16px 14px;margin:0 0 12px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .recmain{gap:12px;align-items:flex-start}
 html[data-app-theme="light"] body[data-app-surface="staff"] .recav{width:42px;height:42px;border-radius:12px;font-size:16px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .dn{font-size:24px;line-height:1.12;margin:0 0 6px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .dnsep{display:none}
 html[data-app-theme="light"] body[data-app-surface="staff"] .dnsub{display:block;margin-top:4px;font-family:var(--brand-ui,inherit)!important;font-size:13px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--app-muted)}
 /* The facts on one line with a dot between them; a fact that does not fit drops whole to the next line (19 Nov 2026: a long
    date range ran "12 nights" off the card). Every fact carries its 17px dot in front; the row starts 17px early and that
    strip is cut away, so the dot of whichever fact starts a line is never seen, and a line wraps only when the words do not fit. */
 html[data-app-theme="light"] body[data-app-surface="staff"] .wsmeta{display:flex;flex-wrap:wrap;gap:0;margin:12px 0 0 -17px;padding-top:12px;font-size:13px;line-height:1.6;clip-path:inset(0 0 0 17px)}
 html[data-app-theme="light"] body[data-app-surface="staff"] .wsmeta span{display:block;font-weight:500;color:#374151;white-space:nowrap}
 html[data-app-theme="light"] body[data-app-surface="staff"] .wsmeta span[data-l="Owner"]{display:none}
 html[data-app-theme="light"] body[data-app-surface="staff"] .wsmeta span::before{display:inline-block;width:17px;content:'·';text-align:center;font-size:inherit;font-weight:400;letter-spacing:0;text-transform:none;color:#9CA3AF}
 html[data-app-theme="light"] body[data-app-surface="staff"] .rechead .actbar{margin:14px 0 0}
 html[data-app-theme="light"] body[data-app-surface="staff"] .rechead .actbtns{display:grid;grid-template-columns:repeat(auto-fit,minmax(58px,1fr));gap:8px;width:100%}
 html[data-app-theme="light"] body[data-app-surface="staff"] .rechead .actbtns .btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:62px;margin:0;padding:8px 4px;font-size:12px;font-weight:600;line-height:1.15;text-align:center;background:#F5F5F7;border:0;box-shadow:none;color:var(--app-ink);border-radius:14px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .rechead .actbtns .btn .aic{display:block;color:var(--app-accent)}
 html[data-app-theme="light"] body[data-app-surface="staff"] .rechead .actbtns .albl{font-size:0}
 html[data-app-theme="light"] body[data-app-surface="staff"] .rechead .actbtns .albl::after{content:attr(data-short);font-size:12px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .wsteprail{padding:4px 6px;margin:0 0 12px;gap:2px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .stg-lab{flex:0 0 100%}
 html[data-app-theme="light"] body[data-app-surface="staff"] .stg-rail{flex-wrap:nowrap;gap:4px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .stg-step:not(.now){font-size:0;gap:0;padding:0;opacity:1}
 html[data-app-theme="light"] body[data-app-surface="staff"] .stg-step:not(.now):not(.past) i{opacity:.55}
 html[data-app-theme="light"] body[data-app-surface="staff"] .stg-step i{font-size:12px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .stg-step.now{font-size:12px;padding:3px 9px 3px 4px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .stg-step em{font-size:11px;padding:1px 6px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .dov{padding:2px 16px 14px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .dov-sec{margin:14px 0 2px;font-size:13px;letter-spacing:0;text-transform:none;font-weight:700}
 html[data-app-theme="light"] body[data-app-surface="staff"] .dov-grp{border:0;border-radius:0;margin:0;border-top:1px solid #EEF1F4}
 html[data-app-theme="light"] body[data-app-surface="staff"] .dov-sec+.dov-grp{border-top:0}
 html[data-app-theme="light"] body[data-app-surface="staff"] .dov-grp>summary{padding:12px 0;font-size:14px;gap:10px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .dov-row{padding:7px 0 7px 30px;border-top:0}
 html[data-app-theme="light"] body[data-app-surface="staff"] .tpsum{padding:16px 16px 6px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .tpsum>div[data-l]{grid-template-columns:minmax(0,1fr);gap:2px;padding:10px 0}
 html[data-app-theme="light"] body[data-app-surface="staff"] .tpf{grid-template-columns:minmax(0,1fr);gap:2px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .tpsum>div[data-l]::before{font-size:13px;letter-spacing:0;text-transform:none}
 html[data-app-theme="light"] body[data-app-surface="staff"] :is(.tpsum,.dov) a[href^="tel:"]{white-space:nowrap}
 html[data-app-theme="light"] body[data-app-surface="staff"] .tpday{margin:0 0 10px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .tpday>summary{padding:14px 40px 14px 14px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .tpday>summary::after{right:14px;top:18px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .tpdt{font-size:16px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .tpdn{background:transparent;padding:0;color:var(--app-muted);letter-spacing:.06em}
 html[data-app-theme="light"] body[data-app-surface="staff"] .tpday[open]:has(.tpsleep)>summary .tpstay{display:none}
 html[data-app-theme="light"] body[data-app-surface="staff"] .pchips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;margin:0 -16px 12px;padding:2px 16px 4px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .pchips::-webkit-scrollbar{display:none}
 html[data-app-theme="light"] body[data-app-surface="staff"] .pchips .chip{flex:0 0 auto;white-space:nowrap;text-transform:none;letter-spacing:0;font-size:13px;padding:7px 12px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .pchips.lctime{flex-wrap:wrap;overflow:visible;margin:0 0 12px;padding:0}
 html[data-app-theme="light"] body[data-app-surface="staff"] .lctime .lctl{flex-basis:100%}
 html[data-app-theme="light"] body[data-app-surface="staff"] .grp .row.qrow .nm .sc{display:none}
 html[data-app-theme="light"] body[data-app-surface="staff"] .row.qrow .nm{white-space:normal;overflow:visible;line-height:1.3}
 html[data-app-theme="light"] body[data-app-surface="staff"] .workhub{display:flex;flex-direction:column;gap:0;background:var(--app-panel);border:1px solid var(--app-line);border-radius:14px;overflow:hidden}
 html[data-app-theme="light"] body[data-app-surface="staff"] .workhub .workcard{display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:12px;align-items:center;padding:13px 16px;margin:0;border:0;border-top:1px solid #EEF1F4;border-radius:0;box-shadow:none;background:transparent}
 html[data-app-theme="light"] body[data-app-surface="staff"] .workhub .workcard:first-child{border-top:0}
 html[data-app-theme="light"] body[data-app-surface="staff"] .workhub .wc-ic{grid-row:1/4;font-size:20px;margin:0;text-align:center}
 html[data-app-theme="light"] body[data-app-surface="staff"] .workhub .wc-title{font-family:var(--brand-ui)!important;font-size:16px;font-weight:700;letter-spacing:0;margin:0}
 html[data-app-theme="light"] body[data-app-surface="staff"] .workhub .wc-sub{font-size:13px;margin:1px 0 0}
 html[data-app-theme="light"] body[data-app-surface="staff"] .workhub .wcbadge{justify-self:start;margin-top:6px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .tmember{flex-wrap:wrap;row-gap:10px;align-items:flex-start}
 html[data-app-theme="light"] body[data-app-surface="staff"] .tmember .tinfo{flex:1 1 calc(100% - 56px)}
 html[data-app-theme="light"] body[data-app-surface="staff"] .tmember .tinfo+.btn{margin-left:52px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .tmember>.btn{flex:0 0 auto}
 html[data-app-theme="light"] body[data-app-surface="staff"] .tmember .tmeta>span{white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
 html[data-app-theme="light"] body[data-app-surface="staff"] input.tf[type="date"]{-webkit-appearance:none;appearance:none;display:block;min-width:0;max-width:100%;box-sizing:border-box;min-height:44px}
 html[data-app-theme="light"] body[data-app-surface="staff"] .grp .row.qrow:is([class*="st-"],[class*="lg-"]){border-left:1px solid var(--app-line)}

/* Easy to tap (14 Oct 2026). On a phone the deal page had 27 tappable things under 24px tall: a lodge's
   phone number was 13px. A link inside a busy row gets 32px (tight, but a thumb finds it); a control
   that stands alone gets 44. Pickers and boxes are 16px so an iPhone does not zoom the page on focus. */
html[data-app-theme="light"] body[data-app-surface="staff"] #wrap a[href^="tel:"],
html[data-app-theme="light"] body[data-app-surface="staff"] #wrap .tpfv b>a{display:inline-flex;align-items:center;min-height:32px}
html[data-app-theme="light"] body[data-app-surface="staff"] .dov-pick{min-height:44px;margin-top:0;display:inline-flex;align-items:center}
html[data-app-theme="light"] body[data-app-surface="staff"] .trav .x{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;margin:-10px -8px -10px auto;padding:0}
html[data-app-theme="light"] body[data-app-surface="staff"] #wrap details>summary{min-height:44px;align-content:center}
html[data-app-theme="light"] body[data-app-surface="staff"] #wrap :is(select,input:not([type=checkbox]):not([type=radio]),textarea){font-size:16px}
html[data-app-theme="light"] body[data-app-surface="staff"] #wrap input:is([type=checkbox],[type=radio]){width:22px;height:22px;margin:11px}
}
/* The deal page's stage rail on a narrow phone (19 Nov 2026): under 375px the current step's name and its "now" tag ran past
   the card ("Getting them ready" by up to 48px at 320). The gold pill is the only step that shows its name, so the tag goes,
   and the rail may wrap rather than run off the card. After the phone block above, whose rail never wraps. */
@media(max-width:374px){html[data-app-theme="light"] body[data-app-surface="staff"] .stg-step.now em{display:none}html[data-app-theme="light"] body[data-app-surface="staff"] .stg-rail{flex-wrap:wrap;row-gap:6px}}
/* The owner's Health page (11 Oct 2026): three counts, then every area at a glance. */
html[data-app-theme="light"] body[data-app-surface="staff"] .hl-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:4px 0 6px}
html[data-app-theme="light"] body[data-app-surface="staff"] .hl-tile{background:var(--app-panel);border:1px solid var(--app-line);border-radius:14px;padding:14px 16px;box-shadow:0 1px 2px rgba(16,24,40,.05)}
html[data-app-theme="light"] body[data-app-surface="staff"] .hl-tile b{display:block;font-size:32px;font-weight:800;line-height:1.05;font-variant-numeric:tabular-nums;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .hl-tile span{display:block;margin-top:3px;font-size:13px;font-weight:600;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .hl-tile.red b{color:var(--warn)}
html[data-app-theme="light"] body[data-app-surface="staff"] .hl-tile.amber b{color:var(--gold2)}
html[data-app-theme="light"] body[data-app-surface="staff"] .hl-tile.ok b{color:var(--ok)}
html[data-app-theme="light"] body[data-app-surface="staff"] .hl-when{margin:0 0 4px;font-size:13px;color:var(--app-muted)}
html[data-app-theme="light"] body[data-app-surface="staff"] .hl-areas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html[data-app-theme="light"] body[data-app-surface="staff"] .hl-area{background:var(--app-panel);border:1px solid var(--app-line);border-left:4px solid #CBD2DA;border-radius:12px;padding:10px 12px}
html[data-app-theme="light"] body[data-app-surface="staff"] .hl-area.red{border-left-color:var(--warn)}
html[data-app-theme="light"] body[data-app-surface="staff"] .hl-area.amber{border-left-color:var(--gold2)}
html[data-app-theme="light"] body[data-app-surface="staff"] .hl-area.green{border-left-color:var(--ok)}
html[data-app-theme="light"] body[data-app-surface="staff"] .hl-an{font-size:14px;font-weight:700;color:var(--app-ink)}
html[data-app-theme="light"] body[data-app-surface="staff"] .hl-ad{margin-top:3px;font-size:13px;line-height:1.4;color:var(--app-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html[data-app-theme="light"] body[data-app-surface="staff"] .hl-cap{margin:-6px 0 8px;font-size:13px;color:var(--app-muted)}
@media(max-width:700px){html[data-app-theme="light"] body[data-app-surface="staff"] .hl-tiles{gap:8px}html[data-app-theme="light"] body[data-app-surface="staff"] .hl-tile{padding:11px 12px}html[data-app-theme="light"] body[data-app-surface="staff"] .hl-tile b{font-size:24px}html[data-app-theme="light"] body[data-app-surface="staff"] .hl-tile span{font-size:12px}html[data-app-theme="light"] body[data-app-surface="staff"] .hl-areas{grid-template-columns:minmax(0,1fr)}}

/* ── THE GUIDE'S SCREENS (13 Oct 2026, simplified 14 Oct). A guide's trip page (guideTripHtml) and trip list
   (guideTripsHtml) in scripts/admin_app.html, read on a phone in a moving vehicle. The trip page is the Ground Team
   Sheet on a phone: two tiles (park permit, trip sheet), Trip overview (the whole trip as a list, a short row a day:
   flights, pickups, where they sleep), then Day by day (one white card a day, labelled "Day 1 · Arusha", written the
   way the sheet writes it; the days already done behind one line). Jackson: "Why is it just grey? Where are the
   headings or emojis?" So every section has a real heading, every line a little picture, and colour says what
   matters (gold for dates and today, green for ready and on safari). Cards stay pure white: colour never tints a
   box. ONE pattern throughout: .lab (a small label), .val (the big line), .sub (plain words under it). The list
   keeps the owner's Home card (.gtcard). ── */
html body[data-app-surface="staff"] h2.gtt{margin-bottom:18px!important;overflow-wrap:anywhere}
/* Under the name on a trip page: one quiet line (when, how long, how many), and the days he guides. */
html body[data-app-surface="staff"] .gtpage .gtsub{font-size:15px;line-height:1.5;color:var(--app-muted);margin:-4px 2px 18px}
html body[data-app-surface="staff"] .gtpage .gtsub b{display:block;font-weight:700;color:var(--app-ink)}
/* The trip page has a Back button above its title; the title keeps the page-title face all the same. */
html[data-app-theme="light"] body[data-app-surface="staff"] #wrap>h2.gtt.gtt{font-family:var(--brand-head)!important;font-weight:800;letter-spacing:.012em}
html body[data-app-surface="staff"] .gtpage{--gt-dim:rgba(243,232,224,.76);--gt-hair:rgba(243,232,224,.16);--gt-gold:#F6B45C;--gt-go:#0E7C56}
/* A word too long for its line breaks inside its own row; it never runs off a card or makes the page wider than the
   phone (14 Oct 2026, a real trip at 390px: a through-ticket's three flight numbers came as one 39-letter string,
   which cut the overview's flight short, made every day card 31px wider than the screen and pushed a Ticket button
   off the Flights list). Three things hold it. The page breaks an over-long word (this line). The words of a line
   sit in a box that may shrink to its row and counts as narrow as its letters (min-width:0 with overflow-wrap:
   anywhere, on .gtol, .gtln and the plain words of a row, .gtg .sub; a row's big line keeps its words whole; the
   name over the page, h2.gtt, is a flex row outside .gtpage and says anywhere itself). And the day cards share a
   column that is never wider than the list (.gtdays). */
html body[data-app-surface="staff"] .gtpage{overflow-wrap:break-word}
/* A section heading: a little picture and a few plain words. */
html body[data-app-surface="staff"] .gtpage .gth{display:flex;align-items:center;gap:10px;font-family:var(--brand-ui,inherit)!important;font-size:20px;font-weight:800;letter-spacing:-.01em;line-height:1.2;color:var(--app-ink);margin:26px 2px 12px;padding:0}
html body[data-app-surface="staff"] .gtpage .gth span{font-size:22px;line-height:1}
html body[data-app-surface="staff"] .gtpage .gth::after{content:none}
/* Label, big, plain. */
html body[data-app-surface="staff"] .gtpage .lab{display:block;font-family:var(--brand-ui,inherit)!important;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;line-height:1.4;color:var(--app-muted)}
html body[data-app-surface="staff"] .gtpage :is(.gtb,.gtg,.gtov,.gtrowb,.gttile,.gtold,.gtday,.gtbun) .val{display:block;font-family:var(--brand-ui,inherit)!important;font-size:18px;font-weight:700;line-height:1.25;letter-spacing:-.01em;color:var(--app-ink);margin-top:4px;text-shadow:none}
html body[data-app-surface="staff"] .gtpage :is(.gtb,.gtg,.gtov,.gtrowb,.gttile,.gtold,.gtday,.gtbun) .sub{display:block;font-size:14px;line-height:1.45;color:var(--app-muted);margin-top:3px}
/* The little picture in front of a line. */
html body[data-app-surface="staff"] .gtpage .gte{flex:none;width:24px;font-size:16px;line-height:1.4;font-style:normal}
/* A word in a pill: Today, Day 9 of 21, In 2 days. */
html body[data-app-surface="staff"] .gtpage .gtpill{display:inline-flex;align-items:center;flex:none;height:24px;padding:0 10px;border-radius:999px;font-family:var(--brand-ui,inherit);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;line-height:1;color:#fff;background:var(--app-accent);white-space:nowrap}
html body[data-app-surface="staff"] .gtpage .gtpill.go{background:var(--gt-go)}
html body[data-app-surface="staff"] .gtpage .gtpill.off{background:var(--app-muted)}
/* The two tiles: Home's stat tiles. */
html body[data-app-surface="staff"] .gtpage .gttiles{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 4px}
html body[data-app-surface="staff"] .gtpage .gttiles>div{display:flex;min-width:0}
html body[data-app-surface="staff"] .gtpage .gttile{flex:1;display:block;width:100%;min-width:0;text-align:left;background:var(--app-panel);border:1px solid var(--app-line);border-radius:var(--app-radius,16px);padding:16px;margin:0;color:var(--app-ink);font:inherit;font-family:var(--brand-ui,inherit);box-shadow:none;cursor:pointer;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}
html body[data-app-surface="staff"] .gtpage .gttile.off{cursor:default}
html body[data-app-surface="staff"] .gtpage .gtic{display:flex;width:36px;height:36px;border-radius:10px;align-items:center;justify-content:center;margin:0 0 12px}
html body[data-app-surface="staff"] .gtpage .gtico{flex:none;width:18px;height:18px}
html body[data-app-surface="staff"] .gtpage .gtic-permit{background:#FFF2DF;color:#B25E00}
html body[data-app-surface="staff"] .gtpage .gtic-sheet{background:#ECE6FA;color:#5B34B0}
html body[data-app-surface="staff"] .gtpage .gttile .val{font-size:24px;line-height:1.15;margin-top:8px;color:var(--gt-go)}
html body[data-app-surface="staff"] .gtpage .gttile.off .val{color:var(--app-muted)}
html body[data-app-surface="staff"] .gtpage .gttile .sub{font-size:13px;margin-top:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* The white card of rows. */
html body[data-app-surface="staff"] .gtpage .gtrowb{position:relative;width:100%;text-align:left;background:none;border:0;border-radius:0;box-shadow:none;font:inherit;font-family:var(--brand-ui,inherit);color:inherit;cursor:pointer;text-decoration:none;-webkit-appearance:none;appearance:none}
html body[data-app-surface="staff"] .gtpage .gtlist{background:var(--app-panel);border:1px solid var(--app-line);border-radius:var(--app-radius,16px);overflow:hidden;margin:0 0 12px}
html body[data-app-surface="staff"] .gtpage .gtlist>*{display:block;padding:15px 16px;margin:0}
html body[data-app-surface="staff"] .gtpage .gtlist>*+*{border-top:1px solid var(--app-line)}
/* A row of a list (a guest, a flight): the words, then its buttons. The words keep at least 100px beside the buttons;
   with less than that (four tickets on one flight, a 320px phone) the buttons go under the words, never off the card. */
html body[data-app-surface="staff"] .gtpage .gtlist>.gtg{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
html body[data-app-surface="staff"] .gtpage .gtg>div{flex:1 1 100px;max-width:100%}
html body[data-app-surface="staff"] .gtpage .gtlist :is(.gtg,.gtov,.gtrowb,.gtold>summary) .val{margin-top:0}
html body[data-app-surface="staff"] .gtpage .gtg .sub{overflow-wrap:anywhere}
html body[data-app-surface="staff"] .gtpage .gtlist.gtfoot{margin-top:22px}
/* A plain note at the head of a list (Extra activities): what he may do, in a sentence. */
html body[data-app-surface="staff"] .gtpage .gtlist>.gtnote{font-size:15px;line-height:1.5;color:var(--app-ink)}
html body[data-app-surface="staff"] .gtpage .gtnote .sub{display:block;font-size:14px;line-height:1.45;color:var(--app-muted);margin-top:6px}
html body[data-app-surface="staff"] .gtpage .gtnote .sub:first-of-type{margin-top:10px}
html body[data-app-surface="staff"] .gtpage .gtnote .sub b{font-weight:700;color:var(--app-ink)}
/* Extra activities with their price (14 Oct 2026): a place, then a line an activity, its name on the left and what it
   costs on the right. The last row says what the prices are in and the day they were read. */
html body[data-app-surface="staff"] .gtpage .gtxp>b{display:block;font-size:16px;font-weight:800;line-height:1.3;color:var(--app-ink)}
html body[data-app-surface="staff"] .gtpage .gtxi{display:flex;align-items:baseline;justify-content:space-between;gap:14px;font-size:15px;line-height:1.4;color:var(--app-ink);margin-top:8px}
html body[data-app-surface="staff"] .gtpage .gtxi>span{min-width:0}
html body[data-app-surface="staff"] .gtpage .gtxi>span i{display:block;font-style:normal;font-size:13px;line-height:1.4;color:var(--app-muted)}
html body[data-app-surface="staff"] .gtpage .gtxi>b{flex:none;font-weight:700;white-space:nowrap}
html body[data-app-surface="staff"] .gtpage .gtlist>.gtxf{font-size:14px;line-height:1.45;color:var(--app-muted)}
html body[data-app-surface="staff"] .gtpage .gtxf span{display:block}
html body[data-app-surface="staff"] .gtpage .gtxf span+span{margin-top:6px}
/* Trip overview: the whole trip as a sheet, a short row a day. The day and its date on the left; where they are,
   each flight, each pickup and the bed on the right. Today's row wears the gold edge; days already done are quieter. */
html body[data-app-surface="staff"] .gtpage .gtlist>.gtov{display:grid;grid-template-columns:78px minmax(0,1fr);gap:12px;padding:12px 14px;cursor:pointer;-webkit-tap-highlight-color:transparent}
html body[data-app-surface="staff"] .gtpage .gtod b{display:block;font-family:var(--brand-ui,inherit);font-size:15px;font-weight:800;line-height:1.3;color:var(--app-ink)}
html body[data-app-surface="staff"] .gtpage .gtod span{display:block;font-size:12.5px;line-height:1.4;color:var(--app-muted)}
html body[data-app-surface="staff"] .gtpage .gtod i{display:block;font-style:normal;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;line-height:1.4;color:var(--app-accent);margin-top:3px}
html body[data-app-surface="staff"] .gtpage .gtov .gtob .val{font-size:15.5px;line-height:1.3}
html body[data-app-surface="staff"] .gtpage .gtol{display:flex;align-items:flex-start;gap:6px;font-size:14px;line-height:1.4;color:var(--app-ink);margin-top:4px}
html body[data-app-surface="staff"] .gtpage .gtol .gte{width:20px;font-size:14px}
html body[data-app-surface="staff"] .gtpage .gtol>span:last-child{min-width:0;overflow-wrap:anywhere}
html body[data-app-surface="staff"] .gtpage .gtol b{font-weight:800}
html body[data-app-surface="staff"] .gtpage .gtov.gtnow{box-shadow:inset 5px 0 0 var(--app-accent)}
html body[data-app-surface="staff"] .gtpage .gtov.gtnow .gtod b{color:var(--app-accent)}
html body[data-app-surface="staff"] .gtpage .gtov.gtpast{opacity:.55}
/* Day by day: one white card a day, written like the trip sheet. The date is gold and small, the label under it
   ("Day 1 · Arusha") is the big line; today's card wears a gold edge and the pill. What is done is one line that opens. */
html body[data-app-surface="staff"] .gtpage .gtdays{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:0 0 12px}
html body[data-app-surface="staff"] .gtpage .gtday{background:var(--app-panel);border:1px solid var(--app-line);border-radius:var(--app-radius,16px);padding:16px;scroll-margin-top:12px}
html body[data-app-surface="staff"] .gtpage .gtday.gtnow{box-shadow:inset 5px 0 0 var(--app-accent)}
html body[data-app-surface="staff"] .gtpage .gtdh{display:flex;align-items:center;gap:10px;min-height:24px}
html body[data-app-surface="staff"] .gtpage .gtdd{font-family:var(--brand-ui,inherit);font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;line-height:1.3;color:var(--app-accent)}
html body[data-app-surface="staff"] .gtpage .gtdh .gtpill{margin-left:auto}
html body[data-app-surface="staff"] .gtpage .gtday>.val{font-size:20px;line-height:1.2;margin-top:6px}
html body[data-app-surface="staff"] .gtpage .gtday>.gtln:first-of-type{margin-top:12px}
html body[data-app-surface="staff"] .gtpage .gtbun{background:var(--app-panel);border:1px solid var(--app-line);border-radius:var(--app-radius,16px);overflow:hidden}
html body[data-app-surface="staff"] .gtpage .gtbun>summary{display:block;list-style:none;position:relative;cursor:pointer;padding:15px 44px 15px 16px;outline:0;-webkit-tap-highlight-color:transparent}
html body[data-app-surface="staff"] .gtpage .gtbun>summary::-webkit-details-marker{display:none}
html body[data-app-surface="staff"] .gtpage .gtbun>summary::after{content:'';position:absolute;right:22px;top:50%;width:9px;height:9px;margin-top:-8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);opacity:.32}
html body[data-app-surface="staff"] .gtpage .gtbun[open]>summary::after{transform:rotate(-135deg);margin-top:-2px}
html body[data-app-surface="staff"] .gtpage .gtbun>summary .val{margin-top:0}
html body[data-app-surface="staff"] .gtpage .gtbunb>.gtday{border:0;border-top:1px solid var(--app-line);border-radius:0}
html body[data-app-surface="staff"] .gtpage .gtbunb .gtdd{color:var(--app-muted)}
html body[data-app-surface="staff"] .gtpage .gtd>summary{display:block;list-style:none;position:relative;cursor:pointer;padding-right:30px;outline:0;-webkit-tap-highlight-color:transparent}
html body[data-app-surface="staff"] .gtpage .gtd>summary::-webkit-details-marker{display:none}
html body[data-app-surface="staff"] .gtpage .gtd>summary::after{content:'';position:absolute;right:6px;top:50%;width:9px;height:9px;margin-top:-8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);opacity:.32}
html body[data-app-surface="staff"] .gtpage .gtd[open]>summary::after{transform:rotate(-135deg);top:14px;margin-top:0}
html body[data-app-surface="staff"] .gtpage .gtd[open]>summary .sub{display:none}
html body[data-app-surface="staff"] .gtpage .gtoldb{margin:15px -16px -15px;border-top:1px solid var(--app-line)}
html body[data-app-surface="staff"] .gtpage .gtoldb>*{padding:15px 16px}
html body[data-app-surface="staff"] .gtpage .gtoldb>*+*{border-top:1px solid var(--app-line)}
html body[data-app-surface="staff"] .gtpage .gtoldb .gtb .val{color:var(--app-muted)}
/* The lines of a day: a little picture, then the words. */
html body[data-app-surface="staff"] .gtpage .gtln{display:flex;align-items:flex-start;gap:8px;font-size:15px;line-height:1.45;color:var(--app-ink);margin-top:10px}
html body[data-app-surface="staff"] .gtpage .gtln>div{flex:1;min-width:0;overflow-wrap:anywhere}
/* A trip with no stays on file draws its written day plan as the office's day cards (dpDayCard) on this page: the
   same holds for them. A timed line's words sit in a column that cannot grow, and they and the day's title break. */
html body[data-app-surface="staff"] .gtpage .tprow{grid-template-columns:52px minmax(0,1fr)}
html body[data-app-surface="staff"] .gtpage :is(.tploc,.tpx){min-width:0;overflow-wrap:anywhere}
html body[data-app-surface="staff"] .gtpage .gtln .gtm{font-weight:800}
html body[data-app-surface="staff"] .gtpage .gtb .gtln .sub{font-size:13.5px;margin-top:2px}
html body[data-app-surface="staff"] .gtpage .gtln.gtopt{color:var(--app-muted)}
html body[data-app-surface="staff"] .gtpage .gtln[role="button"]{cursor:pointer}
html body[data-app-surface="staff"] .gtpage .gtln :is(a,span)[style]{font-size:inherit!important}
html body[data-app-surface="staff"] .gtpage .tptk{display:inline-block;margin:6px 0 0;padding:0;border:0;background:none;box-shadow:none;font:inherit;font-weight:700;color:var(--app-accent);text-decoration:underline;cursor:pointer}
html body[data-app-surface="staff"] .gtpage .gtcall{display:inline-block;margin-top:8px;font-size:15px;font-weight:700;color:var(--app-accent);text-decoration:none}
/* Rows that go somewhere: a trip on the list, the review card, the alerts ask. */
html body[data-app-surface="staff"] .gtpage .gttrip{position:relative;cursor:pointer;padding-right:34px;-webkit-tap-highlight-color:transparent}
html body[data-app-surface="staff"] .gtpage :is(.gtrowb,.gttrip)::after{content:'';position:absolute;right:20px;top:50%;width:9px;height:9px;margin-top:-5px;border-right:2px solid currentColor;border-top:2px solid currentColor;transform:rotate(45deg);opacity:.32}
html body[data-app-surface="staff"] .gtpage .gtlist>:is(.gtrowb,.gttrip){padding-right:44px}
html body[data-app-surface="staff"] .gtpage .gtlist .gttrip .lab{color:var(--app-accent)}
html body[data-app-surface="staff"] .gtpage .gtwarn{color:var(--app-accent);font-weight:700}
/* A guest's two links, each in its own colour. */
html body[data-app-surface="staff"] .gtpage .gtgb{display:flex;flex-wrap:wrap;gap:8px;flex:0 1 auto;max-width:100%}
html body[data-app-surface="staff"] .gtpage .gtgb a{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border:1.5px solid var(--app-line);border-radius:999px;font-size:14px;font-weight:700;color:var(--app-ink);text-decoration:none;background:var(--app-panel)}
html body[data-app-surface="staff"] .gtpage .gtgb .gtbtn{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border:1.5px solid rgba(208,112,0,.4);border-radius:999px;font:inherit;font-family:var(--brand-ui,inherit);font-size:14px;font-weight:700;color:var(--app-accent);background:var(--app-panel);cursor:pointer;-webkit-appearance:none;appearance:none}
html body[data-app-surface="staff"] .gtpage .gtg .sub b{color:var(--app-ink)}
html body[data-app-surface="staff"] .gtpage .gtln.gtopt b{color:var(--app-ink)}
html body[data-app-surface="staff"] .gtpage .gtgb a.call{color:var(--app-accent);border-color:rgba(208,112,0,.4)}
html body[data-app-surface="staff"] .gtpage .gtgb a.wa{color:var(--gt-go);border-color:rgba(14,124,86,.38)}
/* The dark card on the trip list: the owner's Home card, his next trips in it. */
html body[data-app-surface="staff"] .gtpage .gtcard{position:relative;overflow:hidden;color:#fff;border:0;border-radius:18px;padding:22px 20px;margin:0 0 12px;--gold2:#F6B45C;--app-accent:#F6B45C;
 background:radial-gradient(540px 280px at 100% 0%,rgba(208,112,0,.36),transparent 70%),linear-gradient(135deg,#2B1C12 0%,#1C130D 58%,#15100C 100%);box-shadow:0 14px 34px rgba(32,21,14,.26)}
html body[data-app-surface="staff"] .gtpage .gtcard>*{position:relative}
html body[data-app-surface="staff"] .gtpage .gtcard>.gtarcs{position:absolute;right:0;top:0;width:230px;height:230px;pointer-events:none}
html body[data-app-surface="staff"] .gtpage .gtarcs circle{fill:none;stroke:rgba(246,180,92,.3);stroke-width:1.1}
html body[data-app-surface="staff"] .gtpage .gtarcs circle:nth-child(2){stroke:rgba(246,180,92,.2)}
html body[data-app-surface="staff"] .gtpage .gtarcs circle:nth-child(3){stroke:rgba(246,180,92,.12)}
html body[data-app-surface="staff"] .gtpage .gtcard>.gtb+.gtb{border-top:1px solid var(--gt-hair);margin-top:18px;padding-top:16px}
html body[data-app-surface="staff"] .gtpage .gtcard .gtb .lab{color:var(--gt-gold);letter-spacing:.14em}
html body[data-app-surface="staff"] .gtpage .gtcard .gtb .val{font-size:26px;font-weight:600;line-height:1.15;color:#fff;margin-top:8px}
html body[data-app-surface="staff"] .gtpage .gtcard>.gtarcs+.gtb .val{font-size:32px;line-height:1.1}
html body[data-app-surface="staff"] .gtpage .gtcard .gtb .sub{font-size:15px;color:var(--gt-dim);margin-top:8px}
html body[data-app-surface="staff"] .gtpage .gtcard .gttrip.live .lab{color:#7CF5C8}
html body[data-app-surface="staff"] .gtpage .gtcard .gttrip::after{right:6px;color:#fff}
/* The boxes this page shares with the office's (permits, reviews) read as one more plain row: the same big line,
   the same plain words under it, the same quiet arrow. */
html body[data-app-surface="staff"] .gtpage details.wsect{margin:0 0 12px}
html body[data-app-surface="staff"] .gtpage details.wsect>summary.wsum{display:block;position:relative;padding:15px 44px 15px 16px;font-family:var(--brand-ui,inherit);font-size:18px;font-weight:700;line-height:1.25;letter-spacing:-.01em;color:var(--app-ink)}
html body[data-app-surface="staff"] .gtpage details.wsect>summary.wsum .wsprev{display:block;font-size:14px;font-weight:400;line-height:1.45;letter-spacing:0;color:var(--app-muted);margin-top:3px;white-space:normal}
html body[data-app-surface="staff"] .gtpage details.wsect>summary.wsum .wsprev::first-letter{text-transform:uppercase}
html body[data-app-surface="staff"] .gtpage details.wsect>summary.wsum::after{content:'';position:absolute;right:22px;top:50%;width:9px;height:9px;margin:-8px 0 0;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);opacity:.32;font-size:0}
html body[data-app-surface="staff"] .gtpage details.wsect[open]>summary.wsum::after{transform:rotate(-135deg);margin-top:-2px}
html body[data-app-surface="staff"] .gtpage details.wsect>.wsbody{padding:14px 16px 16px}
/* The review rows inside the Guest reviews fold are the office's rows (reviewPanel: a label, a line of words, then
   Copy and Share, which never wrap), drawn here inside the fold's own padding, so a row is 100px narrower than the
   phone. Seen 14 Oct 2026 as a guide on real data: the two buttons took 187px and the words got what was left, 125px
   at 412, 103px at 390 ("Tripadviso…"), 73px at 360 ("Googl…", five lines) and 33px at 320 (the label a star and
   three dots, eleven lines of a word each). Nothing was wider than the screen, so a width check passed: it only
   showed in a picture. Now the words keep at least 200px beside the buttons (the longest label needs 195px); with
   less than that the buttons go under the words, the way a .gtg row's do, and a label wraps instead of being cut.
   Copy and Share are ONE group (.rvb), so they move together: as two loose buttons, every phone from 393 to 486px
   wide kept Copy beside the words and dropped Share under them alone. The small arrow after a label stays with the
   label's last word: with the phone's text size turned up, a label that now wraps left the arrow on a line of its
   own. Only inside .gtpage: the office's Trips page draws the same rows, where the group prints nothing of its own
   (.rvb{display:contents} in the shell). */
html body[data-app-surface="staff"] .gtpage .rvrow{flex-wrap:wrap}
html body[data-app-surface="staff"] .gtpage .rvrow .info{flex:1 1 200px}
html body[data-app-surface="staff"] .gtpage .rvrow .nm{white-space:normal;overflow:visible}
html body[data-app-surface="staff"] .gtpage .rvrow .nm::after{white-space:nowrap}
html body[data-app-surface="staff"] .gtpage .rvb{display:flex;flex-wrap:wrap;align-items:center;gap:10px;max-width:100%}
/* The permits list: off the page until it is needed (several permits, or a read that failed); always there for whoever uploads. */
html body[data-app-surface="staff"] .gtpage:not(.gtup) details[data-sect="permits"]{display:none}
