:root{--attention:#176b68;--attention-soft:#e7f3f1;--check:#c27a1e;--ink:#1a1f1d;--muted:#1a1f1d;--green:#214c43;--green-pressed:#16392f;--paper:#f6f5f0;--surface:#fff;--line:#d9dfd8;--divider:#e3e7e1;--fill:#e9ede7;--tint:#dbe8e1;--white:#fff;--warm:#8a4a2e;--soft:#eaf0e9;--error:#a22e22;--badge:#b3261e;--font:-apple-system,BlinkMacSystemFont,'SF Pro Text',system-ui,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;--font-title:Georgia,'Times New Roman',serif}/* Tokens: docs/DESIGN_LANGUAGE.md */
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:18px/1.55 var(--font)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}a{color:var(--green);text-underline-offset:4px}button{border-radius:4px;min-height:48px;padding:10px 20px;border:1px solid var(--green);background:white;color:var(--green);font-weight:600}button:hover{background:var(--soft)}button.primary{background:var(--green);color:white}button.primary:hover{background:var(--green-pressed)}button.text-button{border:0;background:none;padding:8px 0;text-decoration:underline;text-underline-offset:4px}button.quiet{border-color:var(--line)}:focus-visible{outline:3px solid #b57825;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2{font-family:var(--font-title);font-weight:400;line-height:1.13}h1{font-size:clamp(36px,4vw,52px);letter-spacing:-1.4px;margin-bottom:20px}h2{font-size:32px;letter-spacing:-.5px}h3{font-size:19px;line-height:1.4}p{margin-bottom:20px}.hint{color:var(--muted)}.hint{font-size:15px;line-height:1.5;margin:7px 0 0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip-link{position:absolute;left:15px;top:-100px;background:white;padding:15px;z-index:100}.skip-link:focus{top:10px}
.preview-bar{background:#e5eae3;font-size:12px;line-height:1.4;min-height:39px;padding:5px 4vw;display:flex;align-items:center;gap:12px;color:var(--ink)}.preview-bar>span{font-size:10px;letter-spacing:1px;font-weight:700}.preview-bar button{margin-left:auto;min-height:30px;padding:3px 8px;border:0;background:none;text-decoration:underline;font-size:12px}.site-header{max-width:1200px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:28px 40px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:14px;color:var(--ink);text-decoration:none;font-family:var(--font-title);font-size:27px;letter-spacing:3px;line-height:1.25}.brand-mark{font-size:30px;border:1px solid var(--ink);width:49px;height:51px;display:grid;place-items:center;letter-spacing:0}.brand-sub{display:block;font:9px/1.8 var(--font);letter-spacing:1.6px;margin-top:4px}.header-contact{text-align:right;font-size:13px;color:var(--muted)}.header-contact a{display:block;font-size:20px;color:var(--ink);font-weight:600;text-decoration:none}main:focus{outline:none}
.customer{max-width:1060px;margin:48px auto 0;display:grid;grid-template-columns:minmax(0,680px) 260px;gap:72px;padding:0 20px}.steps{display:flex;margin:30px 0 28px;padding:0;list-style:none;gap:20px;border-bottom:1px solid var(--line)}.steps li{font-size:15px;flex:1;padding:0 0 15px;color:var(--muted);white-space:nowrap}.steps li.active{border-bottom:3px solid var(--green);color:var(--green);font-weight:700}.steps .num{font-size:12px;margin-right:8px}.form-surface{background:white;border:1px solid var(--line);padding:32px}.form-surface h2{font-size:29px;margin-bottom:25px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.field{display:block;font-size:16px;font-weight:600;min-width:0}.field.wide{grid-column:1/-1}.field input,.field select,.field textarea{display:block;width:100%;margin-top:8px;min-height:51px;border:1px solid #9faea4;border-radius:3px;padding:11px 12px;background:white;color:var(--ink);font-size:18px;font-weight:400;line-height:1.3}.field textarea{min-height:94px;resize:vertical}.field input[type=file]{font-size:14px;padding:12px;overflow:hidden}.optional{font-weight:400;color:var(--muted);font-size:14px}.subheading{font-size:20px;font-weight:600;margin:24px 0 17px;font-family:var(--font)}.actions{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:28px}.actions .primary{margin-left:auto;min-width:190px}.form-error{color:var(--error);font-size:16px;border-left:3px solid var(--error);padding-left:12px;margin:18px 0}.form-error:empty{display:none}.checkbox-line{display:flex;gap:13px;align-items:flex-start;font-size:16px;font-weight:400}.checkbox-line input{width:23px;height:23px;margin:1px 0 0;flex-shrink:0;accent-color:var(--green)}.consent-copy{padding-left:36px;font-size:13px;color:var(--muted);margin:10px 0 0}.details{margin:15px 0 0;display:grid;grid-template-columns:125px 1fr;gap:10px 18px;font-size:16px}.details dt{color:var(--muted)}.details dd{margin:0;overflow-wrap:anywhere}.notice{background:var(--soft);padding:18px 20px;font-size:16px}.notice p:last-child{margin:0}.success{padding:30px 0}.success h2{margin:20px 0}
.staff{max-width:1200px;margin:30px auto 0;padding:0 40px}.staff-nav{display:flex;gap:28px;border-bottom:1px solid var(--line);margin-bottom:32px}.staff-nav button{border:0;border-radius:0;background:transparent;padding:0 0 12px;font-size:16px;min-height:44px}.staff-nav button.active{border-bottom:3px solid var(--green)}.staff-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}.staff-top h1{font-size:39px;margin:0 0 7px}.staff-top p{font-size:14px;color:var(--muted);margin:0}.calendar-controls{display:flex;gap:8px;align-items:center}.calendar-controls button{font-size:14px;padding:8px 14px;min-height:43px}.stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:26px}.stat{padding:18px 25px 18px 0}.stat+.stat{border-left:1px solid var(--line);padding-left:25px}.stat span{display:block;font-size:12px;letter-spacing:.7px;text-transform:uppercase;color:var(--muted)}.stat strong{font-family:var(--font-title);font-size:29px;font-weight:400}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--line);border-left:1px solid var(--line);background:white}.weekday{text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:1px;font-weight:600;padding:10px 12px;background:var(--paper);border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.day-cell{min-height:127px;padding:9px 7px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.day-cell.outside{background:#f0f1ec}.day-cell.today{background:#f4f7f0}.date-number{display:block;font-size:13px;padding:0 4px;color:var(--muted);margin-bottom:6px}.today .date-number{font-weight:bold;color:var(--green)}.cal-job{display:block;width:100%;text-align:left;border:0;border-left:2px solid var(--green);border-radius:0;padding:5px 6px;margin-bottom:7px;background:#edf3eb;font-size:12px;line-height:1.5;font-weight:400;min-height:64px}.cal-job.pending{border-left-color:var(--warm);background:#fbf1e9}.cal-job b{display:block;font-size:13px}.cal-job small{display:block;font-size:11px;color:var(--muted)}.calendar-legend{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:17px;font-size:13px;color:var(--muted)}.calendar-legend button{font-size:14px}.mobile-agenda{display:none}.request-list{border-top:1px solid var(--line)}.request-row{width:100%;border:0;border-bottom:1px solid var(--line);border-radius:0;text-align:left;background:white;display:grid;grid-template-columns:1fr 1fr auto;align-items:center;gap:20px;padding:24px}.request-row strong{display:block;font-size:18px}.request-row span,.request-row small{font-size:15px;color:var(--muted)}.empty{padding:55px 25px;background:white;text-align:center;border:1px solid var(--line)}.empty p{color:var(--muted);font-size:16px}.status-word{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.8px;color:var(--warm)}.status-word.paid{color:var(--green)}.summary-output{background:white;border:1px solid var(--line);padding:22px;margin:15px 0;font-size:15px;white-space:pre-wrap}
dialog{border:0;padding:0;max-height:100dvh;height:100dvh;width:min(540px,100%);max-width:100%;margin:0 0 0 auto;color:var(--ink);background:white;box-shadow:-10px 0 50px #1a1f1d20;overflow:auto}dialog::backdrop{background:#162b2859}.panel-top{position:sticky;top:0;background:white;border-bottom:1px solid var(--line);padding:18px 30px;display:flex;justify-content:space-between;align-items:center;z-index:1}.panel-top button{font-size:14px;padding:7px 14px;min-height:42px}.panel-body{padding:27px 30px 40px}.panel-body h2{font-size:34px;margin-bottom:8px}.panel-route{font-size:17px;margin:0 0 6px}.panel-meta{color:var(--muted);font-size:14px}.panel-section{border-top:1px solid var(--line);padding-top:24px;margin-top:26px}.panel-section h3{font-size:18px;margin-bottom:17px}.panel-section .field{font-size:14px}.panel-section .field input,.panel-section .field select{font-size:16px}.panel-section .field-grid{gap:16px}.panel-section button.primary{width:100%;margin-top:21px}.money-lines{font-size:15px;display:grid;grid-template-columns:1fr auto;gap:9px;margin:18px 0}.money-lines dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}.money-lines dt{color:var(--muted)}.money-lines .total{border-top:1px solid var(--line);padding-top:12px;margin-top:5px;font-weight:bold;color:var(--ink)}.balance-box{padding:15px 18px;background:#f8efe7;border-left:3px solid var(--warm);font-size:15px;margin:18px 0}.balance-box.settled{background:var(--soft);border-color:var(--green)}.balance-box strong{display:block}.payment-preview{font-size:14px;background:var(--paper);padding:14px;margin-top:18px}.payment-entry{border-bottom:1px solid var(--line);padding:13px 0;display:flex;justify-content:space-between;gap:15px;font-size:14px}.payment-entry small{display:block;color:var(--muted)}.payment-entry strong{font-variant-numeric:tabular-nums}.linked-trip{padding:15px;border:1px solid var(--line);font-size:14px;margin-top:20px}.linked-trip button{min-height:30px;font-size:14px}.panel-feedback{font-size:15px;color:var(--green);margin-top:14px}.mobile-day{margin:22px 0}.mobile-day h3{font-size:15px}.mobile-day button{margin:0 0 8px;font-size:16px;padding:14px}.mobile-day button b{font-size:17px}.mobile-day button small{font-size:14px}
@media(min-width:1400px){.customer{margin-top:60px}.day-cell{min-height:145px}}
@media(max-width:850px){.customer{gap:35px;grid-template-columns:minmax(0,1fr) 210px}.site-header{padding:23px}.staff{padding:0 22px}.day-cell{min-height:115px}.cal-job{font-size:11px}.header-contact span{display:none}}
@media(max-width:650px){body{font-size:18px}.preview-bar{padding:7px 14px;gap:8px;font-size:10px}.preview-bar>span{display:none}.preview-bar button{font-size:11px}.site-header{padding:21px 18px}.brand{font-size:21px;gap:10px;letter-spacing:2px}.brand-mark{width:37px;height:42px;font-size:25px}.brand-sub{font-size:7px;letter-spacing:.9px}.header-contact a{font-size:15px}.customer{display:block;margin-top:30px;padding:0 18px}.customer h1{font-size:38px}.form-surface{padding:24px 19px}.steps{gap:10px}.steps li{font-size:14px}.steps .num{margin-right:5px}.field-grid{grid-template-columns:1fr;gap:21px}.actions .primary{min-width:0;flex:1}.actions{gap:18px}.details{grid-template-columns:95px 1fr;font-size:15px;gap:12px}.staff{padding:0 18px;margin-top:24px}.staff-top{display:block}.staff-top h1{font-size:33px}.calendar-controls{margin-top:20px}.stats{margin-top:23px}.stat{padding:14px 8px 14px 0}.stat+.stat{padding-left:12px}.stat strong{font-size:23px}.stat span{font-size:9px;letter-spacing:.1px}.calendar{display:none}.mobile-agenda{display:block}.calendar-legend{align-items:flex-start;flex-direction:column;gap:6px}.request-row{padding:22px 17px;grid-template-columns:1fr auto;gap:12px}.request-row .request-route{grid-column:1/-1;grid-row:2}.panel-body{padding:24px 22px}.panel-top{padding:15px 22px}.panel-section .field-grid{grid-template-columns:1fr 1fr}.panel-section .field input{min-width:0}.panel-section .field.wide{grid-column:1/-1}.preview-bar button{white-space:nowrap}}.luggage-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));column-gap:28px;margin-top:18px}.luggage-row{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:62px;border-bottom:1px solid var(--line)}.luggage-row label{font-size:17px}.quantity-control{display:flex;align-items:center;gap:4px;flex-shrink:0}.quantity-control button{width:44px;min-height:44px;padding:0;font-size:23px;font-weight:400;border-color:var(--line);background:var(--paper)}.quantity-control input{width:42px;min-height:44px;padding:5px 0;border:1px solid transparent;border-radius:3px;text-align:center;font:18px var(--font);color:var(--ink);background:white;appearance:textfield;-moz-appearance:textfield}.quantity-control input:focus{border-color:var(--green)}.quantity-control input::-webkit-inner-spin-button,.quantity-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.time-entry{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:8px}.time-entry input{min-width:0;font-variant-numeric:tabular-nums}.time-entry select{min-width:0;padding-left:9px;padding-right:5px}.time-entry select[data-empty="true"]{color:#474d4a}.time-entry select option{color:var(--ink)}.time-entry select option:disabled{color:#474d4a}.field[data-time-field] .hint{font-weight:400;font-size:13px}
body:has(dialog[open]){overflow:hidden}.cal-job{overflow-wrap:anywhere}
@media(max-width:650px){.customer h1{font-size:34px;letter-spacing:-.8px}.customer{margin-top:24px}.steps{margin:24px 0 22px}.form-surface h2{font-size:26px}.calendar-controls button{min-width:48px;min-height:48px}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background-color .12s ease}}
.access-screen{max-width:620px;margin:50px auto;padding:32px}.job-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.job-actions button{font-size:14px}.fee-row{margin:18px 0;padding:14px;background:var(--paper);display:grid;gap:10px}.fee-row .field{font-size:14px}.void-payment{opacity:.65}.void-payment strong{text-decoration:line-through}.staff-nav{flex-wrap:wrap;gap:20px}.field-grid>.wide{grid-column:1/-1}.panel-body dd{overflow-wrap:anywhere}.preview-bar #environment-note{font-weight:400;letter-spacing:0;font-size:12px}
.history-entry{padding:14px 0;border-bottom:1px solid var(--line);font-size:15px}.history-entry small{display:block;color:var(--muted);margin:5px 0 10px}.history-entry p{margin:0}

@media(max-width:650px){.luggage-grid{grid-template-columns:1fr}}

.panel-top{gap:16px}.panel-top-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.panel-top-actions button{min-height:44px}.panel-top-actions .icon-button{display:grid;place-items:center;width:44px;padding:0}.icon-button svg{display:block}

/* A shared movable window for trip review, confirmation, editing and payment. */
#job-dialog{position:fixed;inset:auto;width:min(1120px,calc(100vw - 48px));height:min(760px,calc(100dvh - 48px));max-width:none;max-height:none;margin:0;border:1px solid var(--line);border-radius:6px;box-shadow:0 18px 70px #162b2840;overflow:hidden}
#job-content{height:100%;display:flex;flex-direction:column;min-height:0}
#job-dialog .panel-top{position:relative;flex-shrink:0;padding:12px 24px;cursor:grab;touch-action:none;user-select:none}
#job-dialog .panel-top.dragging{cursor:grabbing}
.window-handle{display:flex;align-items:center;gap:12px;min-height:44px;min-width:0;border-radius:3px}
.window-handle>svg{flex-shrink:0;color:var(--muted)}
#job-dialog .panel-body{overflow:auto;min-height:0;padding:22px 28px 26px;overscroll-behavior:contain}
#job-dialog .panel-body h2{font-size:30px}
.job-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;margin-top:22px}
.job-summary,.job-payment{min-width:0}
.job-payment{border-left:1px solid var(--line);padding-left:32px}
.job-payment>.panel-section:first-child{margin-top:0;padding-top:0;border-top:0}.payment-history{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0;font-size:15px}.payment-history summary{cursor:pointer;font-weight:600;min-height:30px;align-content:center}
.payment-history{margin-top:22px}.payment-history>p{margin:12px 0 0}
.job-summary .panel-section{margin-top:18px;padding-top:18px}.job-actions{margin-top:14px;gap:8px}
#job-dialog .panel-section .field input,#job-dialog .panel-section .field select{min-height:44px;padding:9px 10px;margin-top:6px}
#job-dialog .panel-section .field-grid{gap:14px}
#job-dialog .panel-section button.primary{margin-top:14px}
#job-dialog .payment-preview{margin-top:14px;margin-bottom:0}
#job-dialog .panel-feedback:empty{display:none}
@media(min-width:1000px){#action-form>.field-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:759px){#job-dialog{inset:12px!important;width:calc(100vw - 24px);height:calc(100dvh - 24px)}#job-dialog .panel-top{padding:10px 16px;cursor:default;touch-action:auto}.window-handle>svg{display:none}#job-dialog .panel-body{padding:20px}.job-layout{grid-template-columns:1fr;gap:24px}.job-payment{border-left:0;padding-left:0}}

.staff-view-tools{display:flex;align-items:center;gap:18px;flex-shrink:0}.staff-view-tools .calendar-controls{padding-right:18px;border-right:1px solid var(--line)}.staff-refresh{display:grid;place-items:center;width:44px;min-height:44px;padding:0;border-color:var(--line);background:transparent}
@media(max-width:950px){.staff-top{flex-wrap:wrap}}
@media(max-width:650px){.staff-view-tools{margin-top:20px;justify-content:space-between;gap:12px}.staff-view-tools .calendar-controls{margin-top:0;padding-right:12px}.staff-refresh{width:48px;min-height:48px}}

/* Stable staff window sections. Navigation and heading stay put as content changes. */
#job-dialog .job-title{flex-shrink:0;padding:18px 28px 14px}
#job-dialog .job-title h2{font-size:28px;margin:0 0 7px;line-height:1.2;overflow-wrap:anywhere}
#job-dialog .job-title p{margin:0 0 4px}.job-title .panel-route{font-size:16px}.job-title .panel-meta{font-size:13px}
.window-tabs{display:flex;gap:24px;align-items:center;flex-shrink:0;min-height:49px;padding:0 28px;border-bottom:1px solid var(--line)}
.window-tabs button{min-height:48px;padding:10px 0;border:0;border-radius:0;background:transparent;font-size:15px;font-weight:600;white-space:nowrap}
.window-tabs button[aria-selected="true"]{border-bottom:3px solid var(--green)}
.window-tabs.subview{gap:20px;font-size:15px;color:var(--muted)}
#job-dialog .panel-body{padding:22px 28px;scrollbar-gutter:stable}
#job-dialog .job-layout{margin-top:0;gap:28px}
#job-dialog .job-payment{padding-left:28px}
#job-dialog .panel-body>.panel-section,#job-dialog .job-summary>.panel-section{margin:0;padding:0;border:0}
#job-dialog .panel-section h3{margin-bottom:16px}
#job-dialog .job-summary>button{margin-top:4px}
#job-dialog .job-actions{margin:0 0 24px;gap:10px}
#job-dialog .panel-body button{border-radius:4px;min-height:44px;font-size:14px;font-weight:600;padding:9px 16px;text-decoration:none}
#job-dialog .panel-body .primary{min-height:46px}
#job-dialog .trip-information>.details{grid-template-columns:120px minmax(0,1fr) 120px minmax(0,1fr);gap:16px 20px;margin:0;font-size:15px}
#job-dialog .trip-information .linked-trip{margin-top:24px;border:0;border-top:1px solid var(--line);padding:18px 0 0}
#job-dialog .payment-entry{align-items:flex-start;padding:16px 0}
#job-dialog .payment-entry button{display:block;margin-top:10px}
#job-dialog .history-entry:first-child{padding-top:0}
#job-dialog .fee-row{grid-template-columns:minmax(0,1fr) 130px auto;align-items:end;padding:14px;margin:14px 0;gap:12px}
#job-dialog [hidden]{display:none!important}
@media(max-width:759px){#job-dialog .job-title{padding:14px 20px 10px}#job-dialog .job-title h2{font-size:24px}.window-tabs{padding:0 20px;gap:22px}#job-dialog .panel-body{padding:18px 20px}#job-dialog .job-payment{padding-left:0}#job-dialog .trip-information>.details{grid-template-columns:100px minmax(0,1fr)}#job-dialog .fee-row{grid-template-columns:1fr}#job-dialog .job-title .panel-route{font-size:14px}}

#job-dialog .danger-button{color:var(--error);border-color:var(--error);background:white;min-height:44px;font-size:14px;padding:9px 16px}
#job-dialog .danger-button:hover{background:#fff0ef}
#job-dialog .danger-button.primary{background:var(--error);color:white}
#job-dialog .danger-button.primary:hover{background:#821b1b}
.trip-fees{border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.trip-fees>h3{margin-bottom:12px}.trip-fees>.field{margin-top:18px}


#job-dialog .trip-information>.trip-payment-details{border-top:1px solid var(--line);padding-top:20px;margin-top:24px}

/* Keep routine payment entry within the window; long history still scrolls. */
#job-dialog .job-title{padding-top:14px;padding-bottom:10px}
#job-dialog .panel-body{flex:1;padding-top:18px;padding-bottom:18px}
#job-dialog .status-word{text-transform:none;letter-spacing:.2px;font-size:14px}
#job-dialog .trip-information>.details{font-size:22px;line-height:1.4;grid-template-columns:155px minmax(0,1fr) 155px minmax(0,1fr);gap:20px 24px}
#job-dialog .trip-information dt{font-weight:500}
#job-dialog .trip-information dd{font-weight:500}
#job-dialog .trip-information>p,#job-dialog .trip-information .linked-trip{font-size:17px}
#job-tab-payments .field-grid{row-gap:12px}
#job-tab-payments .payment-preview{padding:10px 12px;line-height:1.45;margin-top:12px}
#job-tab-payments .panel-section button.primary{margin-top:12px}
#job-dialog .panel-top-actions .danger-button{margin-right:12px}
#job-dialog .panel-top-actions #restore-job{margin-right:12px;color:var(--green);border-color:var(--green)}
/* Fill the fixed window with useful spacing instead of a blank area below each tab. */
#job-tab-details,#job-tab-payments{min-height:100%;display:flex;flex-direction:column}
#job-tab-details .trip-information{flex:1;display:flex;flex-direction:column}
#job-tab-details .trip-information>.details:first-child{flex:1;align-content:space-between;align-items:start}
#job-tab-payments>.job-layout{flex:1}
#job-tab-payments .job-payment,#job-tab-payments .job-payment>.panel-section,#job-tab-payments #payment-form{display:flex;flex-direction:column}
#job-tab-payments .job-payment>.panel-section,#job-tab-payments #payment-form{flex:1}
#job-tab-payments #payment-form>.field-grid{flex:1;align-content:space-between;align-items:start}
#job-tab-payments .job-summary>.panel-section{height:100%;display:flex;flex-direction:column}
#job-tab-payments .money-lines{flex:1;align-content:space-between;align-items:start}
#job-tab-payments .balance-box{margin-bottom:0}
#job-tab-payments .panel-section h3{font-size:22px}
#job-tab-payments .money-lines,#job-tab-payments .balance-box{font-size:18px}
#job-dialog #job-tab-payments .field{font-size:16px}
#job-dialog #job-tab-payments .field input,#job-dialog #job-tab-payments .field select{font-size:18px}
#job-tab-payments .payment-preview{font-size:16px}
#job-dialog #job-tab-payments button:not(.seg,.bk-pick),#job-dialog #job-tab-details button{font-size:16px}
@media(max-width:999px){#job-dialog .trip-information>.details{grid-template-columns:130px minmax(0,1fr);gap:16px 20px}}
@media(max-width:759px){#job-dialog .panel-top{flex-wrap:wrap;gap:4px;padding:8px 16px}#job-dialog .window-handle{min-height:28px}#job-dialog .panel-top-actions{margin-left:auto}#job-dialog .panel-top-actions .danger-button{margin-right:0;padding:9px 10px}#job-dialog .trip-information>.details{font-size:18px;grid-template-columns:110px minmax(0,1fr);gap:16px 14px}}

/* Client records use the same quiet, readable staff layout. */
.staff-navigation{display:flex;justify-content:space-between;align-items:flex-start;gap:64px;border-bottom:1px solid var(--line);margin-bottom:32px}
.staff-navigation .staff-nav{border:0;margin:0;min-width:0}
.staff-signout{flex-shrink:0;border:0;background:transparent;color:var(--muted);font-size:14px;min-height:44px;padding:0 0 12px}
.staff-view-tools{flex-wrap:wrap}
@media(max-width:650px){.staff-navigation{flex-direction:column;gap:4px}.staff-signout{order:-1;align-self:flex-end;padding-bottom:0}.staff-navigation .staff-nav{width:100%;gap:18px}.staff-navigation .staff-nav button{font-size:14px}}
.client-search{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:24px;max-width:800px;margin:24px 0 12px}
.client-list{border-top:1px solid var(--line);margin-bottom:36px}
.client-list-heading,.client-row{display:grid;grid-template-columns:minmax(240px,2fr) minmax(80px,.6fr) 1fr 1fr;gap:20px;align-items:center;padding:20px}
.client-list-heading{color:var(--muted);font-size:14px;padding-top:12px;padding-bottom:12px}
.client-row{width:100%;text-align:left;border:0;border-top:1px solid var(--line);border-radius:0;background:white;font-size:17px;font-weight:400;color:var(--ink)}
.client-row:hover,.client-trip:hover{background:var(--soft)}
.client-row strong{font-size:19px;font-weight:600}.client-row small,.client-trip small,.consent-record small{display:block;color:var(--muted);font-size:14px;font-weight:400;margin-top:5px}
.client-row .mobile-label{display:none}
.client-profile{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:48px;margin:32px 0 48px}
.client-profile h2{font-size:25px;margin-bottom:18px}.client-trip-section{margin-bottom:36px}
.client-trip{width:100%;display:flex;justify-content:space-between;align-items:center;gap:20px;text-align:left;border:0;border-top:1px solid var(--line);border-radius:0;padding:20px 0;background:transparent;font-size:17px;font-weight:400;color:var(--ink)}
.client-trip strong{font-size:17px}.client-trip>span:last-child{text-align:right;flex-shrink:0}
.client-trip>span:first-child{min-width:0;overflow-wrap:anywhere}.client-profile dd{overflow-wrap:anywhere}
.client-records{border-left:1px solid var(--line);padding-left:32px;min-width:0}.client-records .details{grid-template-columns:90px minmax(0,1fr);font-size:16px}.client-records h2:not(:first-child){margin-top:36px}
.consent-record{border-top:1px solid var(--line);padding:16px 0;font-size:15px;overflow-wrap:anywhere}.consent-record summary{cursor:pointer;min-height:44px}.consent-record p{font-size:14px}
.staff-intake #back-to-staff{margin-bottom:24px}.staff-intake-context{border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:28px}.staff-intake-context .field-grid{grid-template-columns:minmax(0,2fr) minmax(120px,1fr)}
.staff-intake input[readonly]{background:var(--paper);color:var(--muted)}
@media(max-width:850px){.client-profile{grid-template-columns:1fr;gap:20px}.client-records{border-left:0;border-top:1px solid var(--line);padding:24px 0}.client-list-heading,.client-row{grid-template-columns:minmax(180px,2fr) 70px 1fr 1fr;gap:12px;padding:16px 8px}}
@media(max-width:650px){.client-search{grid-template-columns:1fr;gap:16px}.client-list-heading{display:none}.client-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;font-size:15px;padding:20px 8px}.client-row>span:first-child{grid-column:1/-1}.client-row .mobile-label{display:block;font-size:12px;margin:0 0 4px}.client-trip{align-items:flex-start}.client-trip strong{font-size:16px}.client-trip small{font-size:13px}.staff-intake-context .field-grid{grid-template-columns:1fr}}

.panel-feedback:empty{display:none}

.dispatch-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,1fr);gap:48px;align-items:start}.dispatch-tool{padding:26px 0;border-top:1px solid var(--line,#d5ded8)}.dispatch-tool h2{font-size:26px;margin:0 0 24px}.dispatch-tool .field{max-width:320px}.tool-controls{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:16px 0}.tool-controls .field{margin:0}.dispatch-tool form{margin:20px 0}.dispatch-tool .summary-output{max-height:560px;overflow:auto;white-space:pre-wrap;font-size:19px;line-height:1.65;background:#f5f4ee;padding:24px}.dispatch-tool p:empty{display:none}.tool-link{font-size:18px}.calendar-link-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-top:1px solid #d5ded8}.dispatch-tool input[readonly]{font-size:14px}.secondary-tools{min-width:0}@media(max-width:850px){.dispatch-tools{grid-template-columns:1fr;gap:0}.dispatch-tool .summary-output{max-height:440px}.tool-controls button{flex:1}.staff-nav{flex-wrap:wrap}}

#monthly-print button{margin-top:12px}

.analysis-filters{display:flex;align-items:end;gap:20px}.analysis-filters .field{margin:0;min-width:140px}.analysis-filters select{min-height:48px}.analysis-section{padding:30px 0;border-top:1px solid #d5ded8}.analysis-section h2{font-size:28px;margin:0 0 22px}.analysis-section h3{font-size:21px;margin:0 0 20px}.analysis-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px}.analysis-stat span{display:block;font-size:15px;color:var(--ink);margin-bottom:8px}.analysis-stat strong{font-size:32px;font-weight:600;font-variant-numeric:tabular-nums}.analysis-basis{font-size:14px;line-height:1.6;color:var(--ink);margin:18px 0 0;max-width:1000px}.analysis-counts{display:flex;flex-wrap:wrap;gap:28px;margin-top:24px;color:var(--ink)}.analysis-counts strong{font-size:23px;margin-right:6px;color:var(--ink)}.analysis-table-wrap{overflow:auto}.analysis-table{border-collapse:collapse;width:100%;font-size:15px}.analysis-table th,.analysis-table td{padding:13px 14px;border-bottom:1px solid #dde3df;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.analysis-table thead th{font-size:13px;font-weight:600;color:var(--ink)}.analysis-table th:first-child,.analysis-table td:first-child,.analysis-table th[scope=row]{text-align:left}.analysis-table th[scope=row]{font-weight:500}.analysis-table .text-button{font-size:inherit;text-align:left;padding:0;min-height:32px}.analysis-table .analysis-route{white-space:normal;min-width:180px;max-width:280px;text-align:left}.analysis-table small{display:block;color:#8f413a}.analysis-section-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px}.analysis-section-heading h2{margin:0}.analysis-section-heading .field{font-size:14px;margin:0}.analysis-section-heading select{min-height:44px}.expected{background:#a8b6ab}.received{background:#245448}.analysis-two-column{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin-top:28px}.analysis-split{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:0}.analysis-split dt{font-size:22px}.analysis-split dd{font-size:25px;margin:0;text-align:right;font-variant-numeric:tabular-nums}.count-bars{display:grid;gap:18px}.count-row{display:grid;grid-template-columns:50px 1fr 45px;gap:16px;align-items:center}.count-row strong{text-align:right;font-size:22px}.count-track{height:12px;background:#e2e8e1}.count-track i{display:block;height:100%;background:#245448}.analysis-empty{padding:25px 0;color:var(--ink)}.analysis #analysis-error:empty{display:none}
@media(max-width:1000px){.analysis-stats{grid-template-columns:1fr 1fr}.analysis-two-column{grid-template-columns:1fr;gap:32px}.analysis .staff-top{align-items:start;gap:20px;flex-wrap:wrap}.staff-nav{flex-wrap:wrap}.analysis-stat strong{font-size:28px}}
@media(max-width:600px){.analysis-filters{gap:10px;width:100%}.analysis-filters .field{min-width:0;flex:1}.analysis-section h2{font-size:23px}.analysis-section-heading{align-items:start;flex-direction:column;gap:14px}.analysis-stats{gap:24px 16px}.analysis-stat span{font-size:13px}.analysis-stat strong{font-size:24px}.analysis-table th,.analysis-table td{padding:10px}.analysis-counts{gap:14px;font-size:14px}}
.analysis-tabs{display:flex;gap:30px;border-bottom:1px solid #cad5ce;margin-top:12px;overflow-x:auto}.analysis-tabs button{border:0;border-radius:0;background:none;padding:14px 0;font-size:18px;white-space:nowrap;border-bottom:3px solid transparent;box-shadow:none}.analysis-tabs button[aria-selected=true]{border-bottom-color:#245448;font-weight:700}.analysis-tabs button:focus-visible{outline:2px solid #245448;outline-offset:-2px}.analysis #analysis-content{border-top:0;padding-top:26px;min-height:440px}.analysis-subheading{margin-top:28px!important}.analysis .analysis-table-wrap{max-height:520px;overflow:auto}.analysis .analysis-table thead th{position:sticky;top:0;background:#f7f6f0;z-index:1}.analysis .analysis-table th,.analysis .analysis-table td{padding-top:9px;padding-bottom:9px}.analysis .analysis-table .text-button{min-height:26px}@media(max-width:600px){.analysis-tabs{gap:22px}.analysis-tabs button{font-size:16px}.analysis #analysis-content{min-height:380px}.analysis .analysis-table-wrap{max-height:460px}}
/* Staff workspace: reserve scrolling for forms and detailed histories. */
[hidden]{display:none!important}
.staff{max-width:1600px;margin:12px auto 0;padding:0 24px 12px}
.staff-navigation{margin-bottom:16px;gap:40px}
.staff-navigation .staff-nav{gap:28px}
.staff-top{margin-bottom:14px;align-items:center}
.staff-top h1{font-size:34px;margin-bottom:0}
.staff .stats{margin:0 0 14px}
.staff .stat{padding-top:8px;padding-bottom:8px}
.staff .stat strong{font-size:26px}
.staff .stat span{text-transform:none;letter-spacing:0;font-size:13px}
.staff .field input,.staff .field select{min-height:44px;padding:8px 12px;margin-top:4px}
.staff .calendar{height:calc(100dvh - 322px);min-height:430px;grid-template-rows:30px repeat(var(--weeks),minmax(0,1fr))}
.staff .weekday{padding:6px 10px}
.staff .day-cell{min-height:0;padding:3px 6px}
.staff .date-number{margin-bottom:1px;font-size:12px}
.staff .calendar .cal-job{min-height:0;padding:2px 5px;margin-bottom:0;font-size:12px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.staff .calendar .cal-job b{font-size:13px}
.staff .calendar .cal-job small{display:none}
.more-rides{min-height:25px;padding:0 5px;border:0;background:none;font-size:12px;text-decoration:underline}
.staff .calendar-legend{margin-top:4px}
.staff .calendar-legend button{min-height:30px;padding:0}
.section-tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin-bottom:18px;flex-wrap:wrap}
.section-tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;padding:8px 0;min-height:44px;white-space:nowrap;font-size:17px}
.section-tabs button[aria-selected=true]{border-bottom-color:var(--green)}
.page-controls{display:flex;justify-content:flex-end;align-items:center;gap:16px;height:48px;font-size:14px;margin-top:4px}
.page-controls button{min-height:40px;padding:2px 14px;font-size:24px}
.staff .analysis-tabs{margin-top:0}
.staff .analysis-tabs button{padding:8px 0;min-height:44px;font-size:17px}
.staff.analysis #analysis-content{min-height:0;padding:18px 0 0}
.staff .analysis-section h2{font-size:26px;margin-bottom:16px}
.staff .analysis-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.staff .analysis-stat span{margin-bottom:2px}
.staff .analysis-stat strong{font-size:28px}
.staff .analysis-basis{margin-top:10px}
.staff .analysis-counts{margin-top:12px;gap:24px}
.staff .analysis-subheading{margin-top:16px!important;margin-bottom:8px}
.staff .analysis-two-column{grid-template-columns:1fr 1fr;margin-top:20px;gap:36px}
.staff .analysis-table-wrap{max-height:none;overflow-x:auto;overflow-y:visible}
.staff .analysis-table th,.staff .analysis-table td{padding-top:7px;padding-bottom:7px}
.staff .analysis-section-heading{margin-bottom:12px}
.staff .analysis-section-heading h2{margin-bottom:0}
.staff .client-search{margin:12px 0 8px;max-width:none;grid-template-columns:minmax(0,1fr) 220px}
.staff .client-list{margin-bottom:0}
.staff .client-row{padding:12px 16px}
.staff .client-list-heading{padding:8px 16px}
.staff .client-profile{display:block;margin:14px 0 0}
.staff .client-trip-section{margin-bottom:0}
.staff .client-trip{padding:12px 0}
.staff .client-profile h2{font-size:23px;margin-bottom:10px}
.staff .client-records{border:0;padding:0}
.staff .client-records .details{grid-template-columns:160px 1fr;font-size:18px;gap:14px}
.staff .request-row{padding:16px 20px}
.staff .dispatch-tools{display:block}
.staff .dispatch-tool{border:0;padding:0}
.staff .dispatch-tool h2{margin-bottom:12px}
.staff .dispatch-tool .summary-output{max-height:none;overflow:visible;padding:0;background:white;white-space:normal;margin:8px 0 0;font-family:var(--font);font-size:17px}
.summary-line{display:grid;grid-template-columns:200px 1fr;gap:20px;padding:10px 16px;border-bottom:1px solid var(--line);line-height:1.4}
.summary-line strong{font-weight:500}
.staff .summary-tool .tool-controls{display:inline-flex;margin:0 20px 10px 0}
.staff .summary-tool .hint{margin:0 0 8px}
.staff .dispatch-tool form{margin:12px 0}
.staff #daily-print,.staff #monthly-print{display:flex;align-items:end;gap:24px;padding-bottom:20px;border-bottom:1px solid var(--line)}
.staff #daily-print .tool-controls{margin:0}
.day-dialog{width:min(700px,calc(100vw - 32px));max-height:calc(100dvh - 32px);border:1px solid var(--line);padding:24px;color:var(--ink)}
.day-dialog::backdrop{background:#1a1f1d66}
.day-dialog h2{margin:0;font-size:27px}
.day-dialog .cal-job{font-size:17px;padding:12px;min-height:70px}
.day-dialog .cal-job b{font-size:18px}.day-dialog .cal-job small{font-size:14px}
@media(max-width:800px){
 .staff{padding:0 16px 12px}.staff-navigation .staff-nav{gap:16px}.staff .analysis-stat strong{font-size:23px}.staff .analysis-stat span{font-size:13px}
 .staff .analysis-two-column{gap:20px}.staff .calendar{min-height:430px}.staff .staff-view-tools{gap:8px}
}
@media(max-width:650px){
 .staff-navigation{flex-direction:row;gap:12px}.staff-navigation .staff-nav{gap:10px}.staff-signout{order:0;align-self:flex-start;font-size:12px;white-space:nowrap}
 .staff .staff-top{display:flex;flex-wrap:wrap;gap:10px}.staff .staff-top h1{font-size:28px}.staff .calendar-controls{margin:0}
 .staff .stats{margin-top:10px}.staff .stat strong{font-size:22px}.staff .stat span{font-size:11px}
 .staff .mobile-day h3{margin:8px 0}.staff .mobile-day .cal-job{min-height:50px}
 .staff .analysis-stats{grid-template-columns:1fr 1fr;gap:10px}.staff .analysis-two-column{grid-template-columns:1fr 1fr;gap:14px}.staff .analysis-section h2{font-size:21px}
 .staff .analysis-section h3{font-size:17px}.staff .analysis-basis{font-size:12px}.staff .analysis-tabs,.section-tabs{gap:18px}.section-tabs button{font-size:15px}
 .staff .client-search{grid-template-columns:1fr 130px;gap:12px}.staff .client-list-heading{display:none}.staff .client-row{padding:10px 8px}
 .staff .analysis-split dt,.staff .analysis-split dd{font-size:18px}.staff .analysis-counts{gap:12px;font-size:13px}
 .staff .summary-tool .tool-controls{display:flex;flex-wrap:wrap;margin-right:0}.summary-line{grid-template-columns:135px 1fr;gap:10px;padding:8px;font-size:15px}
 .staff #daily-print,.staff #monthly-print{flex-wrap:wrap;gap:12px}.staff .calendar-legend{flex-direction:row;font-size:11px}
}
.staff .calendar{height:calc(100dvh - 370px);min-height:calc(30px + var(--weeks)*78px)}
.staff .day-cell{position:relative}
.staff .more-rides{position:absolute;right:5px;top:0;min-height:21px;line-height:1.4}
.staff .summary-line{padding-top:8px;padding-bottom:8px}
@media(min-width:651px) and (max-height:700px){
 .staff{margin-top:6px}.staff-navigation{margin-bottom:8px}.staff-top{margin-bottom:8px}
 .staff .stats{margin-bottom:8px}.staff .stat{padding-top:4px;padding-bottom:4px}
 .staff .calendar{height:calc(100dvh - 325px);min-height:calc(30px + var(--weeks)*78px)}
 .staff .analysis-section h2{margin-bottom:10px}.staff.analysis #analysis-content{padding-top:12px}
 .staff .analysis-basis{margin-top:6px}.staff .analysis-counts{margin-top:6px}
}
@media(max-width:650px){
 .staff .analysis-counts{display:grid;grid-template-columns:1fr 1fr;gap:8px;line-height:1.3}
 .staff .analysis-counts strong{font-size:18px}
 .staff .analysis-basis{margin-bottom:8px}
 .staff .analysis-stat strong{line-height:1.2}
 .staff .analysis-tabs{scrollbar-width:thin}
}
@media(max-width:650px){
 .staff-navigation .staff-nav button{min-height:36px;padding-bottom:6px}
 .staff.analysis #analysis-content{padding-top:10px}
 .staff .analysis-section h2{margin-bottom:10px}
}
/* Start the booking page with the task, then the fields. */
body:has(#main>.customer) .site-header{max-width:900px;padding:16px 24px}
body:has(#main>.customer) .brand{font-size:23px;gap:10px}
body:has(#main>.customer) .brand-mark{width:40px;height:42px;font-size:26px}
body:has(#main>.customer) .header-contact{font-size:12px}
body:has(#main>.customer) .header-contact a{font-size:18px}
.customer{display:block;max-width:820px;margin:22px auto 0;padding:0 24px}
.customer .steps{margin:16px 0 0;gap:24px}
.customer .steps li{padding-bottom:10px;font-size:16px}
.customer .form-surface{padding:24px;margin-top:0;border-top:0}
.customer.staff-intake #back-to-staff{margin-bottom:8px;min-height:36px}
.customer.staff-intake .staff-intake-context{margin-bottom:20px;padding-bottom:16px}
@media(max-width:650px){
 body:has(#main>.customer) .site-header{padding:12px 16px}
 body:has(#main>.customer) .brand{font-size:20px}
 body:has(#main>.customer) .brand-sub{font-size:7px;letter-spacing:.9px}
 body:has(#main>.customer) .header-contact a{font-size:15px}
 .customer{margin-top:18px;padding:0 16px}
 .customer .steps{gap:14px;margin-top:14px}
 .customer .steps li{font-size:14px}.customer .steps .num{margin-right:5px}
 .customer .form-surface{padding:20px 16px}
}
.staff .calendar .cal-job .cal-route{display:block;font-size:12px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ink)}
.staff .calendar .cal-job{line-height:1.2}
.staff .calendar .date-number{line-height:1.2}
.staff .calendar .day-cell{display:flex;flex-direction:column;overflow:hidden}
.staff .calendar .day-heading{display:flex;align-items:center;justify-content:space-between;flex:none;min-height:21px;gap:2px}
.staff .calendar .date-number{margin:0;white-space:nowrap}
.staff .calendar .more-rides{position:static;flex:none;white-space:nowrap;padding:0 2px}
.staff .calendar .day-jobs{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:3px}
.staff .calendar .day-jobs .cal-job{flex:none}
/* Public home and form share quiet side rails on wider screens. */
body:has(.landing) .site-header{max-width:1320px;padding:24px 40px}
.landing{max-width:1320px;margin:auto;padding:0 40px}
.landing-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.9fr);gap:56px;align-items:center;min-height:min(560px,calc(100dvh - 260px));margin-top:32px;padding:56px 60px;background:var(--soft);border-radius:18px}
.landing-copy h1{font-size:clamp(42px,5vw,66px);line-height:1.08;letter-spacing:-1.8px;margin-bottom:24px}


.landing-prompt{font-size:16px;line-height:1.4;color:var(--muted);margin:0 0 12px}
.landing-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:54px;background:var(--green);color:white;padding:17px 24px;border-radius:6px;text-decoration:none;font-size:19px;font-weight:600;min-height:58px}
.landing-cta:hover{background:var(--green-pressed)}.landing-cta span{font-size:25px;font-weight:400}

.landing-services{display:flex;flex-direction:column;gap:14px}
.landing-services section{display:flex;align-items:flex-start;gap:16px;padding:22px 24px;background:#fff;border:1px solid var(--line);border-radius:14px}
.landing-icon{display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:12px;background:var(--tint);color:var(--green)}

.landing-services h2{font-size:24px;margin:0 0 6px}.landing-services p{font-size:16px;color:var(--muted);margin:0}
.landing-footer{margin-top:28px;border-top:1px solid var(--line);padding:20px 0;display:flex;justify-content:space-between;gap:24px;font-size:13px;color:var(--muted)}
.landing-footer>div{display:flex;flex-wrap:wrap;gap:12px 24px}
@media(min-width:1150px){
 body:has(#main>.customer) .site-header{position:absolute;top:88px;left:0;width:100%;max-width:none;border:0;padding:0 30px;align-items:flex-start;pointer-events:none}
 body:has(#main>.customer) .site-header a{pointer-events:auto}
 body:has(#main>.customer) .brand{display:block;font-size:23px;max-width:190px}
 body:has(#main>.customer) .brand-mark{display:none}
 body:has(#main>.customer) .brand-sub{font-size:8px;letter-spacing:.7px}
 body:has(#main>.customer) .header-contact{text-align:left;max-width:170px;padding-top:3px}
 body:has(#main>.customer) .header-contact span{display:block}
 body:has(#main>.customer) .header-contact a{font-size:18px}
 body:has(#main>.customer) .customer{max-width:740px;margin-top:28px;padding:0 24px}
}
@media(max-width:850px){
 .landing{padding:0 24px}.landing-hero{gap:32px;grid-template-columns:1.1fr 1fr;padding:40px 34px}.landing-copy h1{font-size:43px}
 .landing-services h2{font-size:22px}.landing-services section{padding:18px 18px}
}
@media(max-width:650px){
 body:has(.landing) .site-header{padding:16px}
 .landing{padding:0 16px}.landing-hero{display:block;min-height:0;margin-top:16px;padding:28px 22px 24px;border-radius:16px}
 .landing-copy h1{font-size:41px;letter-spacing:-1px;margin-bottom:18px}
 
 .landing-cta{width:100%;font-size:18px;padding:14px 20px}
 .landing-services{margin-top:12px;gap:10px}.landing-services section{align-items:center;gap:14px;padding:16px 18px}.landing-services h2{font-size:21px;margin-bottom:4px}.landing-services p{font-size:15px}.landing-icon{width:42px;height:42px;border-radius:11px}
 .landing-footer{margin-top:16px}
 .landing-footer{font-size:12px;flex-wrap:wrap;padding:16px 0}.landing-footer>div{gap:18px}
}
/* The three existing form screens use the width of a desktop window. */
@media(min-width:1000px){
 body:has(#main>.customer) .customer{max-width:1180px;margin:14px auto 0;padding:0 24px}
 body:has(#main>.customer) .site-header{position:static;max-width:1180px;width:auto;padding:10px 24px;pointer-events:auto;align-items:center;border-bottom:1px solid var(--line)}
 body:has(#main>.customer) .brand{display:flex;max-width:none;font-size:20px}
 body:has(#main>.customer) .brand-mark{display:grid;width:34px;height:36px;font-size:22px}
 body:has(#main>.customer) .header-contact{max-width:none;text-align:right;padding:0}
 body:has(#main>.customer) .header-contact span{display:none}.customer .steps{margin-top:10px}.customer .steps li{padding-bottom:7px}
 .customer .form-surface{padding:18px 22px}
 .customer .field-grid{gap:10px 16px}
 .customer .field{font-size:15px}.customer .field input,.customer .field select,.customer .field textarea{font-size:16px;min-height:44px;margin-top:4px;padding:8px 10px}
 .customer .field textarea{min-height:74px}
 .customer .luggage-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px;margin-top:8px}
 .customer .luggage-row{display:flex;flex-direction:column;align-items:flex-start;justify-content:start;gap:2px;min-height:0;padding-bottom:6px}
 .customer .luggage-row label{font-size:14px}.customer .quantity-control{gap:2px}
 .customer .quantity-control button{width:36px;min-height:36px;font-size:21px}
 .customer .quantity-control input{width:36px;min-height:36px;font-size:16px}
 .customer .checkbox-line{font-size:14px;gap:10px}.customer .consent-copy{font-size:12px;padding-left:33px;margin-top:8px}
 .customer .actions{margin-top:16px}.customer .actions button{min-height:44px;padding-top:8px;padding-bottom:8px;font-size:16px}
 .customer [data-step="3"]{display:grid;grid-template-columns:1fr 1fr;column-gap:28px}
 .customer [data-step="3"]>.notice,.customer [data-step="3"]>.actions,.customer [data-step="3"]>#request-error{grid-column:1/-1}
 .customer [data-step="3"] .details{font-size:15px;gap:6px 12px;margin-top:10px}
 .customer [data-step="3"] .subheading{font-size:17px;margin:12px 0 6px}
}
@media(min-width:1550px){
 body:has(#main>.customer) .site-header{position:absolute;top:82px;left:0;width:100%;max-width:none;padding:0 28px;border:0;align-items:flex-start;pointer-events:none}
 body:has(#main>.customer) .brand{display:block;max-width:175px}.site-header a{pointer-events:auto}
 body:has(#main>.customer) .brand-mark{display:none}
 body:has(#main>.customer) .header-contact{max-width:170px;text-align:left}
 body:has(#main>.customer) .header-contact span{display:block}
 body:has(#main>.customer) .customer{max-width:1180px;margin-top:24px}
}
@media(min-width:1000px){
 body:has(#main>.customer) .site-header{position:absolute;top:53px;left:0;width:100%;max-width:none;padding:0 30px;border:0;pointer-events:none;align-items:center}
 body:has(#main>.customer) .site-header a{pointer-events:auto}
 body:has(#main>.customer) .brand{display:block;font-size:20px;max-width:200px}
 body:has(#main>.customer) .brand-mark{display:none}
 body:has(#main>.customer) .brand-sub{font-size:8px}
 body:has(#main>.customer) .header-contact span{display:none}
 .customer .field{font-size:14px;line-height:1.3}
 .customer .field[data-time-field]>.hint{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
 .customer .time-entry{grid-template-columns:minmax(0,1fr) 76px;gap:5px}
 .customer .time-entry select{padding-left:5px;padding-right:0}
 .customer .luggage-row label{line-height:1.2}
 .customer .luggage-grid{margin-top:6px}.customer .luggage-row{padding-bottom:4px}
 .customer #request-form{position:relative;padding-bottom:70px}
 .customer #request-form>.actions{position:absolute;right:22px;bottom:16px;margin:0;gap:24px}
 .customer [data-step="3"]>.actions{grid-column:auto}
}
@media(min-width:1000px){
 .customer [data-step="3"][data-type="round"]{grid-template-columns:2fr 1fr}
 .customer [data-step="3"] .notice{font-size:14px;padding:12px 16px}
 .customer [data-step="3"] .notice p{margin-bottom:0}
}

/* Give the form room to breathe instead of compressing it to minimum size. */
@media(min-width:1000px){
 body:has(#main>.customer) .customer{max-width:1480px;padding:0 32px}
 .customer .steps{margin-top:14px;gap:32px}.customer .steps li{font-size:17px;padding-bottom:10px}
 .customer .form-surface{padding:24px 28px}
 .customer #request-form{min-height:calc(100dvh - 170px);padding-bottom:82px}
 .customer .field{font-size:16px;line-height:1.35}
 .customer .field input,.customer .field select,.customer .field textarea{font-size:18px;margin-top:6px;padding:10px 12px;min-height:48px}
 .customer .field-grid{gap:18px 24px}
 .customer .time-entry{grid-template-columns:minmax(0,1fr) 92px;gap:8px}
 .customer .time-entry select{padding-left:8px}
 .customer .luggage-grid{gap:14px 22px;margin-top:12px}
 .customer .luggage-row{gap:7px;padding-bottom:10px}
 .customer .luggage-row label{font-size:16px}
 .customer .quantity-control button,.customer .quantity-control input{width:42px;min-height:42px;font-size:18px}
 .customer .quantity-control button{font-size:24px}.customer .checkbox-line{font-size:16px;line-height:1.5}
 .customer .consent-copy{font-size:13px;line-height:1.6;margin-top:12px}
 .customer #request-form>.actions{right:28px;bottom:20px}
 .customer #request-form>.actions button{font-size:18px;min-height:48px}
 .customer [data-step="3"]{align-content:start;column-gap:36px}
 .customer [data-step="3"] .details{font-size:17px;gap:13px 16px}
 .customer [data-step="3"] .subheading{font-size:19px}
 .customer [data-step="3"] .notice{font-size:16px;margin-top:12px;padding:16px 20px}
}
@media(min-width:1000px) and (max-height:850px){
 .customer #request-form{min-height:calc(100dvh - 165px);padding-top:18px}
 .customer .field-grid{row-gap:10px}
 .customer .field input,.customer .field select{min-height:44px;padding-top:8px;padding-bottom:8px}
}
@media(min-width:1000px) and (max-width:1249px){
}
@media(min-width:1000px){
 .customer #request-form[data-step="1"],.customer #request-form[data-step="2"]{display:flex;flex-direction:column}
}
@media(min-width:1250px) and (min-height:900px){
 .customer .field{font-size:17px}.customer .field input,.customer .field select,.customer .field textarea{font-size:19px;min-height:50px}
 .customer .luggage-row label{font-size:17px}
}

/* Booking form (October 2026 redesign). Everything is scoped under .bk so the staff screens are untouched. */
.bk{max-width:1320px;margin:8px auto 0;padding:0 32px}
.bk p{margin:0}
.bk h1.bk-title{font-size:34px;letter-spacing:-.5px;text-align:center;margin:0 0 4px}
.bk h2{font-family:var(--font);font-size:21px;font-weight:700;letter-spacing:0;line-height:1.25;margin:0}
.bk h3{font-size:18px;margin:0}
.bk .hint{margin:0;font-size:15px}
.bk .optional{font-weight:400;color:var(--muted)}
.bk fieldset{border:0;margin:0;padding:0;min-width:0}
.bk .form-error:empty{display:none}
.bk .bk-phone,.bk .bk-phone-inline{display:none}
.bk-steps-nav{display:flex;align-items:center;gap:12px;margin:0 0 4px;border-bottom:1px solid var(--line)}
body[data-site-page="request"]{background:var(--soft)}
body[data-site-page="request"] .bk{padding-top:14px}
body[data-site-page="request"] .bk .bk-steps-nav{margin-bottom:14px;padding:0 8px 0 20px;background:#fff;border:1px solid var(--line);border-radius:14px}
body[data-site-page="request"] .bk .bk-steps li{margin-bottom:0}
body[data-site-page="request"] .bk .bk-trip-main,body[data-site-page="request"] .bk .bk-trip-side{padding:16px;background:#fff;border:1px solid var(--line);border-radius:16px}
body[data-site-page="request"] .bk .bk-bar{background:var(--soft)}
@media(max-width:600px){
 body[data-site-page="request"] .bk{padding-top:10px}
 body[data-site-page="request"] .bk .bk-steps-nav{margin-bottom:10px;padding:0 6px 0 14px;border-radius:12px}
 body[data-site-page="request"] .bk .bk-trip-main,body[data-site-page="request"] .bk .bk-trip-side{padding:14px;border-radius:14px}
}
.bk .bk-steps-nav .bk-steps{flex:1;min-width:0;margin:0;border-bottom:0}
/* Start Over: an icon-only round button, as in the app */
.bk .bk-reset{display:grid;place-items:center;flex:none;width:40px;height:40px;min-height:40px;margin:0;padding:0;border:0;border-radius:50%;background:var(--fill);color:var(--green);cursor:pointer}
.bk .bk-reset:hover{background:var(--tint)}
.bk .bk-reset span{display:none}
@media(max-width:600px){.bk .bk-reset{width:44px;height:44px;min-height:44px}.bk .bk-steps-nav .bk-steps button{white-space:nowrap;font-size:16px}}
.bk-steps{list-style:none;margin:0 0 12px;padding:0;display:grid;grid-template-columns:repeat(var(--steps),minmax(0,1fr));border-bottom:1px solid var(--line)}
.bk-steps li{margin-bottom:-1px;border-bottom:4px solid transparent}
.bk-steps li.active{border-bottom-color:var(--green)}
.bk-steps button{width:100%;min-height:44px;padding:6px 2px;border:0;border-radius:0;background:none;color:var(--ink);font-weight:400;font-size:18px;text-align:left}
.bk-steps button:hover{background:none;text-decoration:underline}
.bk-steps li.active button{color:var(--green);font-weight:700}
.bk-steps button.later{color:var(--muted)}

.bk-form{display:flex;flex-direction:column;gap:16px;min-height:calc(100vh - 250px)}
.bk-type-section{min-width:0}
.bk-types legend{font:400 22px/1.25 var(--font-title);margin-bottom:10px}
.bk-type-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.bk-tile{display:flex;align-items:center;gap:12px;min-height:56px;padding:10px 16px;border:2px solid #a9afa9;border-radius:10px;background:#fff;font-weight:400;cursor:pointer}
.bk-tile:has(input:checked){border-color:var(--green);background:var(--soft);font-weight:600}
.bk-tile:has(input:focus-visible){outline:3px solid #b57825;outline-offset:3px}
.bk-tile input{width:22px;height:22px;margin:0;flex:none;accent-color:var(--green)}
.bk-tile input:focus-visible{outline:none}
.bk .bk-type-note{margin-top:10px;min-height:1.5em}
.bk-return-head h2{font-size:22px;margin-bottom:4px}
.bk-leg{display:flex;flex-wrap:wrap;gap:22px 36px;align-items:flex-start}
.bk-leg>.bk-grid{flex:1 1 560px;min-width:0}
.bk-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 18px;align-items:start}
.bk-grid.bk-four{grid-template-columns:repeat(4,minmax(0,1fr))}
.bk-grid.bk-two{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
.bk-span2{grid-column:span 2}.bk-span3{grid-column:span 3}.bk-full{grid-column:1/-1}
.bk-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.bk-field>label{font-size:17px;font-weight:700;line-height:1.3}
.bk-field input:not([type=checkbox]):not([type=radio]):not([type=file]),.bk-field select,.bk-field textarea{width:100%;min-height:52px;margin:0;padding:10px 12px;border:2px solid #747d77;border-radius:6px;background:#fff;color:var(--ink);font-size:19px}
/* iOS date controls otherwise retain a native minimum width inside flex fields.
   Keep the native picker, but size the visible input to its field like other controls. */
input[type=date]{min-width:0;max-width:100%;-webkit-appearance:none;appearance:none}
input[type=date]::-webkit-date-and-time-value{min-width:0;text-align:left}
.bk-field textarea{min-height:96px;resize:vertical}
.bk-field.bk-short textarea{min-height:52px;height:52px}
.bk select[data-empty="true"]{color:#474d4a;font-style:italic;font-weight:400}
.bk select option{color:var(--ink);font-style:normal;font-weight:400}
.bk select option[value=""]{color:#474d4a;font-style:italic}
.bk-field.invalid input,.bk-field.invalid select,.bk-field.invalid textarea{border-color:var(--error)!important}
.bk .time-entry{display:flex;gap:8px;container-type:inline-size}
.bk .time-entry input{flex:1 1 auto;min-width:0}
.bk .time-entry input::placeholder{font-size:16px;letter-spacing:0}
.bk .time-entry select{flex:0 0 112px;width:112px}
.bk .bk-date-label{font-weight:700;color:var(--green)}
.bk .bk-date-label[data-empty="true"]{display:none}
.bk-warn{padding:6px 10px;border-radius:6px;background:#fff1d6;color:var(--warm);font-size:16px;font-weight:700;line-height:1.35}
.bk-note{padding:8px 14px;border-radius:6px;background:var(--soft);font-weight:700;align-self:end}
.bk-luggage{flex:0 1 470px;min-width:0}
.bk-luggage legend{font:400 22px/1.25 var(--font-title)}
.bk-luggage .hint{margin:2px 0 10px}
.bk-luggage-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px 14px}
.bk .luggage-row{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:4px;min-height:0;margin:0;padding:0;border:0}
.bk .luggage-row label{font-size:17px;font-weight:400}
.bk .quantity-control{display:flex;align-items:center;gap:6px}
.bk .quantity-control button{width:44px;height:44px;min-height:44px;padding:0;border:2px solid var(--green);border-radius:6px;background:#fff;color:var(--green);font-size:24px;font-weight:700;line-height:1}
.bk .quantity-control button:disabled{color:#9aa19c;border-color:#c9cdc7;background:var(--paper);opacity:1}
.bk .quantity-control input{width:44px;min-height:44px;padding:0;border:0;background:transparent;text-align:center;font-size:21px;font-weight:700;-moz-appearance:textfield;appearance:textfield}
.bk .quantity-control input::-webkit-inner-spin-button,.bk .quantity-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.bk-check{display:flex;gap:12px;align-items:flex-start;cursor:pointer;line-height:1.4}
.bk-check input{width:24px;height:24px;margin:1px 0 0;flex:none;accent-color:var(--green)}
.bk-check .hint{display:block}
.bk-problems{padding:12px 16px;border:2px solid var(--error);border-radius:6px;background:#fbedeb}
.bk-problems b,.bk-problems a{color:var(--error)}
.bk-problems ul{margin:4px 0 0;padding-left:22px;columns:2;column-gap:32px}
.bk-step3{display:flex;flex-direction:column;gap:12px}
.bk-row{display:flex;flex-wrap:wrap;gap:20px 40px;align-items:flex-start}
.bk-details{flex:1.1 1 520px;min-width:0}
.bk-details h2{margin-bottom:6px}
.bk-side{flex:1.25 1 560px;min-width:0;display:flex;flex-direction:column;gap:18px}
.bk-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 14px;margin-bottom:8px}
.bk-itinerary-box{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;padding:12px 14px;border:2px solid var(--line);border-radius:6px;background:#fff}
.bk-itinerary-file{flex:1 1 260px;min-width:0;display:flex;flex-direction:column;gap:4px}
.bk-itinerary-file>label{font-weight:700}
.bk-itinerary-file input[type=file]{max-width:100%;font-size:17px}
.bk-itinerary-text{flex:1 1 260px;display:flex;align-items:center;gap:18px}
.bk-or{font-weight:700;color:var(--muted)}
.bk-itinerary .form-error{margin-top:6px}
.bk-consent{display:flex;flex-direction:column;gap:8px}
.bk .consent-copy{margin:0;padding-left:36px;font-size:15px;color:var(--muted)}
.bk-summary{padding:6px 18px 16px;border:1px solid var(--line);border-radius:6px;background:#fff}
.bk-summary-head{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;min-height:44px}
.bk-type-label{font-size:19px;font-weight:700;color:var(--green)}
.bk-edit-trip{margin-left:auto;min-height:44px;padding:6px 16px;font-size:17px}
.bk-sum-legs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 40px;margin-top:2px}
.bk-leg-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px;border-bottom:1px solid #ece8df}
.bk-leg-head .text-button{min-height:36px;padding:2px}
.bk-sum-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(176px,1fr));gap:6px 20px;line-height:1.35}
.bk-sum-grid>div{min-width:0;overflow-wrap:anywhere}
.bk-k{font-size:15px;color:var(--muted)}
.bk-v{font-weight:700}
.bk .bk-shared{margin-top:6px;padding-top:6px;border-top:1px solid #ece8df}
.bk-notice{padding:12px 16px;border-radius:6px;background:var(--soft)}
.bk-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.bk-header h1.bk-title{margin:0;text-align:left;white-space:nowrap}
.bk-save{display:flex;align-items:center;gap:12px;min-width:0}
.bk-save .hint{min-width:0}
.bk-save button{flex-shrink:0;font-size:14px;white-space:nowrap}
.bk-bar{position:sticky;bottom:0;z-index:5;margin:16px -32px 0;padding:12px 32px;background:var(--paper);border-top:1px solid var(--line)}
.bk-bar-inner{display:flex;align-items:center;gap:14px}
.bk .bk-bar-notice{flex:1 1 auto;margin-left:12px;font-size:17px;line-height:1.4}
.bk-next{margin-left:auto;padding:10px 26px;white-space:nowrap}
.bk-bar .text-button{white-space:nowrap}
.bk-back{padding:10px 26px}
.bk-done{display:flex;flex-wrap:wrap;gap:24px 40px;align-items:flex-start;padding:8px 0 40px}
.bk-done-main{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:14px}
.bk-done-main h2{font-size:26px}
.bk-done-main ol{margin:6px 0 0;padding-left:24px}
.bk-done-summary{flex:2 1 560px;min-width:0}
.bk-done-summary .bk-sum-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:759px){
  .bk{margin-top:10px;padding:0 16px}
  .bk h1.bk-title{text-align:left;font-size:29px}
  .bk-desk{display:none!important}
  .bk .bk-phone{display:block}.bk .bk-phone-inline{display:inline}
  .bk-header{gap:8px}
  .bk-header h1.bk-title{font-size:clamp(20px,5.4vw,29px)}
  .bk-header .bk-save{gap:8px;margin-left:auto}
  .bk-header .bk-save .hint{font-size:11px;line-height:1.25}
  .bk-header .bk-save button{font-size:12px;min-height:44px;padding:4px 0}

  .bk-form{min-height:0}
  .bk-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bk-grid,.bk-grid.bk-four,.bk-grid.bk-two{grid-template-columns:minmax(0,1fr)}
  .bk-span2,.bk-span3,.bk-full{grid-column:auto}
  .bk-field.bk-short textarea{min-height:96px;height:96px}
  .bk-wine{order:1}.bk-after-wine{order:2}
  .bk-luggage{flex:1 1 100%}
  .bk-problems ul{columns:1}
  .bk-sum-legs,.bk-sum-grid,.bk-done-summary .bk-sum-grid{grid-template-columns:minmax(0,1fr)}
  .bk-bar{margin:12px -16px 0;padding:12px 16px}
  .bk-back{flex:0 0 104px;padding:10px 12px}
  .bk-next{flex:1 1 0;padding:10px 12px}
}
/* A slimmer site header on the booking page leaves room for the whole form. */
body:has(.bk) .site-header{padding-top:6px;padding-bottom:6px}

/* Isolated historical preview: operational writes are also blocked by its server. */
body[data-staging-preview] #staff-new-booking,body[data-staging-preview] #switch-view,body[data-staging-preview] [data-client-book],body[data-staging-preview] #summary-send{display:none}

body[data-staging-preview] .preview-bar{display:flex!important;gap:14px;justify-content:space-between}body[data-staging-preview] .staff>.stats{display:none}body[data-staging-preview] .preview-bar a{color:inherit;text-decoration:underline}

body[data-staging-preview] .preview-bar>span{display:block}body[data-staging-preview] #client-new-booking{display:none}

.message-preview{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:1rem;line-height:1.5;margin:12px 0;padding:16px;background:#f4f5f0;border:1px solid #d6dfd8}

.policy-page{max-width:850px;margin:32px auto;padding:0 24px 50px;line-height:1.7}.policy-page h2{margin-top:28px}.policy-page h1{margin-top:20px}

#job-dialog #action-form.allocation-form > .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.allocation-form h4 { margin: 0 0 14px; }
.allocation-form section .field + .field { margin-top: 12px; }
@media(max-width: 600px) { #job-dialog #action-form.allocation-form > .field-grid { grid-template-columns: 1fr; } }

.operational-error { border-bottom: 1px solid var(--line); padding: 14px 0; }
.operational-error summary { cursor: pointer; }
.operational-error pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; }

/* Group navigation by task; page actions remain in the separate heading row. */
.staff-navigation{align-items:flex-end;gap:48px}
.staff-view-tools{max-width:100%;min-width:0}
.staff-navigation .staff-nav{gap:30px;align-items:stretch}
.staff-nav-group{position:relative;min-width:0}
.staff-nav-group+.staff-nav-group{padding-left:30px}
.staff-nav-group+.staff-nav-group::before{content:"";position:absolute;left:0;top:3px;bottom:12px;width:1px;background:var(--line)}
.staff-nav-category{display:block;color:var(--muted);font-size:11px;font-weight:600;line-height:16px;margin-bottom:2px}
.staff-nav-items{display:flex;align-items:center;gap:22px}
.staff-navigation .staff-nav button{white-space:nowrap;margin:0}
.staff-navigation .staff-signout{margin-left:auto;align-self:flex-end;padding-bottom:12px}
.staff .calendar{height:calc(100dvh - 349px)}
@media(min-width:651px) and (max-height:700px){.staff .calendar{height:calc(100dvh - 304px)}}
@media(min-width:651px) and (max-width:1000px){
 .staff-navigation{gap:24px}.staff-navigation .staff-nav{gap:20px}
 .staff-nav-group+.staff-nav-group{padding-left:20px}.staff-nav-items{gap:14px}
 .staff-navigation .staff-nav button{font-size:14px}
}
@media(max-width:650px){
 .staff-navigation{position:relative;display:block}
 .staff-navigation .staff-nav{gap:10px 24px;width:100%}
 .staff-nav-group:first-child{flex-basis:100%}
 .staff-nav-group+.staff-nav-group{padding-left:0}
 .staff-nav-group:nth-child(2)::before{display:none}
 .staff-nav-group:nth-child(3){padding-left:24px}
 .staff-nav-items{gap:22px}
 .staff-navigation .staff-nav button{min-height:40px;padding-bottom:8px}
 .staff-navigation .staff-signout{position:absolute;right:0;top:-8px;min-height:30px;padding:0}
}

.customer-area{max-width:1100px;margin:auto;padding:24px}.customer-top,.customer-actions,.customer-trip header,.customer-form-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.customer-top h1{margin:0 0 8px}.customer-tabs{display:flex;gap:16px;border-bottom:1px solid #cbd3cc;margin:22px 0 16px}.customer-tabs button{border:0;border-radius:0;background:transparent;padding:10px 2px;color:#204c43;border-bottom:3px solid transparent}.customer-tabs button[aria-pressed=true]{border-color:#204c43;font-weight:700}.customer-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}.customer-area label,[data-customer-admin] label{display:flex;flex-direction:column;gap:6px}.customer-area input,.customer-area select,[data-customer-admin] input{width:100%;min-width:0;font:inherit;padding:12px;border:1px solid #899d96;border-radius:3px;background:white}.customer-address{display:grid;grid-template-columns:160px 1fr auto;gap:12px;align-items:end;margin:16px 0}.customer-actions{justify-content:flex-start;margin:18px 0}.customer-trip-list{max-height:55vh;overflow:auto}.customer-trip{border-bottom:1px solid #bdcbc5;padding:18px 0}.customer-trip section{padding:8px 0}.customer-trip h3,.customer-trip p{margin:6px 0}.customer-controls{margin:24px 0}.customer-area details form{display:grid;gap:12px;padding:18px 0}.customer-login{max-width:440px;padding:28px;border:1px solid #8b9e94;border-radius:6px}.customer-login::backdrop{background:#172e2666}.customer-login button{margin:12px 0}.customer-form-entry{justify-content:flex-end;font-size:14px;margin:0 0 12px}.customer-form-entry button{font-size:14px;padding:6px 10px}.customer-form-entry label{display:flex;align-items:center;gap:8px}.customer-form-entry select{max-width:150px;padding:6px}.account-admin-list{display:grid;gap:8px;margin:16px 0;max-height:180px;overflow:auto}.account-admin-list button{display:flex;justify-content:space-between;gap:12px;text-align:left}.account-booking-list{max-height:260px;overflow:auto;margin:16px 0}.account-booking-list>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #cad3cd}[data-customer-admin] form{display:flex;align-items:end;gap:12px;margin:14px 0}[data-customer-admin] form label{flex:1;min-width:0}.customer-contact{font-size:15px}
@media(max-width:650px){.customer-area{padding:18px}.customer-fields{grid-template-columns:1fr}.customer-address{grid-template-columns:1fr}.customer-trip-list{max-height:none}.customer-form-entry{justify-content:flex-start;gap:8px}.account-admin-list button,[data-customer-admin] form{flex-wrap:wrap}.customer-tabs{gap:14px}}

.customer-top>div:last-child{display:flex;gap:20px;flex-wrap:wrap}.customer-area .customer-top [data-signout]{border-color:transparent;background:none}.customer-actions[hidden]{display:none}.customer-area .customer-tabs{margin:16px 0 12px}.customer-area .customer-trip{padding:12px 0}.customer-area .customer-contact{margin:16px 0 0}.customer-area details{margin-top:16px}

/* Shared public/staff shell. Inner pages keep the same compact geometry. */
html{scroll-padding-top:80px;scrollbar-gutter:stable}
#site-header{position:sticky;top:0;left:auto;z-index:20;display:flex;align-items:center;gap:28px;width:100%;max-width:none;height:64px;margin:0;padding:8px 32px;border:0;border-bottom:1px solid var(--line);background:var(--paper);pointer-events:auto}
#site-header .brand{display:flex;align-items:center;gap:12px;max-width:none;font-size:24px;flex:none}
#site-header .brand-mark{display:grid;width:40px;height:44px;font-size:28px}
#site-header .brand-name{display:none}
#site-header .brand-sub{font-size:8px;letter-spacing:1px}
body[data-site-page="home"] #site-header{height:88px}
body[data-site-page="home"] #site-header .brand-name{display:block}
#site-header .site-navigation{display:flex;align-items:center;gap:28px;margin-left:auto}
#site-header nav a{display:flex;align-items:center;min-height:44px;font-size:15px;text-decoration:none;white-space:nowrap}
#site-header nav a:hover,#site-header nav a[aria-current="page"]{text-decoration:underline;text-underline-offset:6px}
/* Header call to action: Request a Ride and the phone number joined as one button.
   On the booking form only the phone half shows. */
#site-header .header-cta{display:flex;align-items:stretch;flex:none;border-radius:8px;box-shadow:0 1px 3px #1a1f1d1f}
#site-header .header-cta a{display:flex;align-items:center;min-height:44px;margin:0;text-decoration:none;white-space:nowrap;border:1px solid var(--green)}
#site-header .header-cta .cta-request{padding:0 18px;border-radius:8px 0 0 8px;background:var(--green);color:#fff;font-size:15px;font-weight:700}
#site-header .header-cta .cta-request:hover{background:var(--green-pressed);text-decoration:none}
#site-header .header-cta .cta-call{gap:9px;padding:0 15px 0 13px;border-left:0;border-radius:0 8px 8px 0;background:#fff;color:var(--green)}
#site-header .header-cta .cta-call:hover{background:var(--soft)}
#site-header .cta-call-text{display:flex;flex-direction:column;font-size:15px;font-weight:700;line-height:1.15}
#site-header .cta-call-text small{font-size:11px;font-weight:600;color:var(--ink)}
body[data-site-page="request"] #site-header .cta-request{display:none}
body[data-site-page="request"] #site-header .header-cta .cta-call{border-left:1px solid var(--green);border-radius:8px}
body[data-site-page="request"] #site-header .cta-call-text small{display:none}
#site-header .site-menu{display:none;margin:0}
/* Sign In, or one account button on phones (Staff wins over My Account). On wider screens
   My Account and Staff are nav links, so only Sign In shows here. */
#site-header .header-actions{display:flex;align-items:center;flex:none}
#site-header .header-button{display:flex;align-items:center;min-height:44px;margin:0;padding:0 14px;border:1px solid var(--green);border-radius:6px;background:#fff;color:var(--green);font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap}
#site-header .header-button:hover{background:var(--soft)}
#site-header .header-actions a{display:none}
.staff .calendar{height:calc(100dvh - 413px);min-height:250px}
@media(min-width:651px) and (max-height:700px){.staff .calendar{height:calc(100dvh - 368px)}}
@media(max-width:850px){
 #site-header{gap:16px;padding:8px 18px}
 #site-header .site-navigation{display:none}
 #site-header .header-cta{margin-left:auto}
 #site-header .site-menu{display:block;margin-left:auto}
 #site-header .header-actions{margin-left:0}
 #site-header .site-menu{order:1;margin-left:0}
 #site-header .header-actions a:not([hidden]){display:flex}
 #site-header .header-actions [data-staff-link]:not([hidden])~[data-account-link]{display:none}
 #site-header .site-menu summary{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 4px;cursor:pointer;font-size:16px;font-weight:600;list-style:none}
 #site-header .site-menu summary::-webkit-details-marker{display:none}
 #site-header .site-menu summary::after{content:'☰';font-size:20px;font-weight:400}
 #site-header .site-menu[open] summary::after{content:'×';font-size:26px}
 #site-header .site-menu nav{position:absolute;right:16px;top:calc(100% + 4px);display:grid;gap:2px;min-width:220px;padding:12px 20px;background:var(--paper);border:1px solid var(--line);box-shadow:0 8px 20px #1a1f1d18}
 body[data-site-page="home"] #site-header{height:80px}
 #site-header .brand{font-size:21px;letter-spacing:2px}
 #site-header .brand-sub{font-size:7px}
}
@media(max-width:600px){
 #site-header{gap:10px;padding:8px 14px}
 /* Room for the joined button: the A logo stands alone, and the phone half is just its icon
    (the number shows on the booking form, where Request a Ride is hidden). */
 body[data-site-page="home"] #site-header .brand-name{display:none}
 #site-header .header-cta .cta-request{padding:0 13px;font-size:14px}
 #site-header .header-cta .cta-call{padding:0 12px}
 #site-header .cta-call-text{display:none}
 body[data-site-page="request"] #site-header .cta-call-text{display:flex}
 #site-header .header-button{padding:0 11px}
}
/* Staff-only booking controls and private client notes. */
.staff-leg-fields{border-top:1px solid var(--line,#d6dcd7);padding-top:14px;margin-top:14px}
.client-notes-section textarea{width:100%;resize:vertical;min-height:160px;max-height:35vh}
.client-note-heading{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:14px;flex-wrap:wrap}.client-note-heading h2{margin:0}.client-note-actions{display:flex;gap:12px;align-items:center}
.driver-picker{display:flex;flex-direction:column;gap:8px;min-width:0}.driver-picker select,.driver-picker input{width:100%;min-width:0}.driver-custom{display:flex;flex-direction:column;gap:8px;margin-top:6px}.driver-custom[hidden]{display:none}

/* Secondary workflow controls; preserve existing page and modal dimensions. */
.payment-options{margin-top:14px}
.payment-options summary,.payment-history summary{cursor:pointer;min-height:44px;align-content:center}
.payment-options[open]>.field-grid{margin-top:12px}
[data-setup]>.field{margin-bottom:20px}
[data-saved-address]:empty{display:none}
[data-saved-address] label{display:flex;gap:8px;align-items:center;font-size:14px;margin-top:8px}
[data-saved-address] select{width:auto;max-width:100%;font-size:16px}
.customer-form-entry .text-button{border:0;background:transparent;padding:4px 0;min-height:44px}

.messages-layout{display:grid;grid-template-columns:minmax(16rem,1fr) minmax(0,2fr);gap:1.5rem}.messages-layout section{min-width:0;overflow-wrap:anywhere}.messages-layout li{margin-block:1rem}.messages-layout button{max-width:100%;white-space:normal}@media(max-width:700px){.messages-layout{grid-template-columns:1fr}}

/* Consistent optional field badges across booking, account and staff forms. */
.optional,.bk .optional{display:inline;vertical-align:baseline;margin-inline-start:4px;padding:0;border-radius:0;background:none;color:var(--ink);font-size:13px;font-weight:400;line-height:inherit;white-space:nowrap}
[data-airport-fields]{display:contents}
/* Itinerary autofill: optional, compact, and inside the first trip step. Mobile first.
   data-tone (idle, busy, choose, done, attention, warn) only recolours the status mark. */
.itinerary-autofill{--ia-tint:var(--soft);--ia-accent:var(--green);position:relative;min-width:0;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 1px 2px #1a1f1d0d}
.itinerary-autofill[data-tone=attention]{--ia-tint:var(--attention-soft);--ia-accent:var(--attention)}
.itinerary-autofill[data-tone=warn]{--ia-tint:#fbf1e3;--ia-accent:var(--warm)}
.itinerary-autofill[data-tone=error]{--ia-tint:#fbedeb;--ia-accent:var(--error)}
.ia-content{display:flex;flex-direction:column;gap:12px;min-width:0}
.ia-head{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;align-items:center}
.ia-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:var(--ia-tint);color:var(--ia-accent)}
.itinerary-autofill svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.itinerary-autofill .ia-title{margin:0;font-size:18px;font-weight:700;line-height:1.3;color:var(--ink)}
.itinerary-autofill .ia-body{margin:2px 0 0;font-size:15px;line-height:1.4;color:var(--muted)}
/* Pickers are labels around one hidden native input; the label carries the focus ring. */
.ia-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;clip-path:inset(50%);pointer-events:none}
.itinerary-autofill label:has(.ia-input:focus-visible){outline:3px solid #b57825;outline-offset:3px}
.ia-pick{grid-column:1/-1;position:relative;display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;margin:0;padding:10px 20px;border-radius:8px;background:var(--green);color:#fff;font-size:17px;font-weight:700;line-height:1.25;cursor:pointer;-webkit-tap-highlight-color:transparent}
.ia-pick:hover{background:#16392f}
.ia-pick:active,.ia-button:active,.ia-ride:active{transform:translateY(1px)}
.ia-button{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin:0;padding:10px 18px;border:1px solid var(--green);border-radius:8px;background:#fff;color:var(--green);font-size:16px;font-weight:700;line-height:1.25;text-align:center;white-space:normal;cursor:pointer;-webkit-tap-highlight-color:transparent}
.ia-button:hover{background:var(--soft)}
.ia-button.ia-primary{background:var(--green);color:#fff}
.ia-button.ia-primary:hover{background:#16392f}
.ia-actions{display:flex;flex-wrap:wrap;gap:8px}
.ia-actions>*{flex:1 1 auto}
.ia-reading{display:flex;align-items:center;gap:12px}
.ia-reading .ia-button{flex:none}
.ia-progress{flex:1;height:6px;border-radius:99px;background:var(--soft);overflow:hidden}
.ia-progress-fill{height:100%;border-radius:inherit;background:var(--green);transition:width .4s ease}
.ia-indeterminate .ia-progress-fill{width:35%!important;animation:ia-slide 1.3s ease-in-out infinite}
.ia-spinner{width:22px;height:22px;border:3px solid #cfdcd6;border-top-color:var(--green);border-radius:50%;animation:ia-spin .8s linear infinite}
@keyframes ia-spin{to{transform:rotate(360deg)}}
@keyframes ia-slide{from{transform:translateX(-100%)}to{transform:translateX(290%)}}
@media(prefers-reduced-motion:reduce){.ia-spinner{animation-duration:2.4s}.ia-indeterminate .ia-progress-fill{animation:none;width:100%!important;opacity:.35}.ia-progress-fill{transition:none}}
.ia-notes{margin:0;padding:0;list-style:none;font-size:15px;line-height:1.45}
.ia-notes p{margin:0;padding:10px 14px;border:2px solid var(--attention);border-radius:8px;background:var(--attention-soft);color:var(--attention)}
.ia-notes p[data-blocking=true]{border-color:var(--check);background:#fbf1e3;color:#5c3a1c}
/* Attention is teal; only invalid required answers are amber. */
.bk-field.bk-needs-check input:not([type=checkbox]):not([type=radio]):not([type=file]),.bk-field.bk-needs-check select{border-color:var(--attention);background:var(--attention-soft)}
.ia-notes p+p{margin-top:4px}
.ia-rides{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.ia-ride{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:1px;width:100%;min-height:68px;margin:0;padding:11px 44px 11px 16px;border:1px solid #b9c4bd;border-radius:10px;background:#fff;color:var(--ink);font-weight:400;line-height:1.3;text-align:left;-webkit-tap-highlight-color:transparent}
.ia-ride::after{content:"";position:absolute;right:20px;top:50%;width:8px;height:8px;border-top:2px solid var(--green);border-right:2px solid var(--green);transform:translateY(-50%) rotate(45deg)}
.ia-ride:hover{border-color:var(--green);background:#f8faf7}
.ia-ride-kind{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--green)}
.ia-ride-route{font-size:17px;font-weight:700;overflow-wrap:anywhere}
.ia-ride-when{font-size:15px;color:var(--muted)}
.ia-files{display:flex;align-items:center;gap:10px;min-width:0}
.ia-thumbs{display:flex;flex:none}
.ia-thumbs img,.ia-more{width:40px;height:40px;border:2px solid #fff;border-radius:7px;background:var(--paper);box-shadow:0 0 0 1px var(--line);object-fit:cover}
.ia-thumbs>*+*{margin-left:-10px}
.ia-more{display:grid;place-items:center;font-size:13px;font-weight:700;color:var(--muted)}
.ia-files-label{min-width:0;font-size:15px;line-height:1.35;color:var(--muted)}
.itinerary-autofill[data-tone=done] .ia-files-label{color:var(--green);font-weight:600}
@media(min-width:760px){
  .itinerary-autofill{padding:16px 20px}
  .ia-head{grid-template-columns:44px minmax(0,1fr) auto;gap:16px}
  .ia-pick{grid-column:auto;min-width:250px}
  .ia-content{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 20px}
  .ia-content>*{grid-column:1/-1}
  .ia-content>.ia-files{grid-column:1}
  .ia-content>.ia-actions{grid-column:2;justify-content:flex-end}
  .ia-actions>*{flex:0 0 auto}
  .ia-reading{max-width:640px;padding-left:60px}
  .ia-files,.ia-notes,.ia-rides{margin-left:60px}
  .ia-rides{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
}




.bk .time-period{display:flex;flex:0 0 88px;align-self:stretch;border:1px solid #a9afa9;border-radius:6px;overflow:hidden;background:var(--soft)}
.bk .time-period label{position:relative;display:flex;flex:1;min-width:0;margin:0;cursor:pointer}
.bk .time-period input[type=radio]{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.bk .time-period span{display:flex;align-items:center;justify-content:center;flex:1;min-height:48px;font-size:14px;font-weight:600;color:var(--ink)}
.bk .time-period input:checked+span{background:var(--green);color:#fff}
.bk .time-period input:focus-visible+span{outline:2px solid #b57825;outline-offset:-3px}
/* Booking form, prototype look: each section is one white card, labels sit inside their fields,
   and hairline dividers come from the card's background showing through a 1px grid gap. */
.bk .bk-grid{gap:1px;background:var(--divider);border:1px solid #c9d0ca;border-radius:12px;overflow:hidden;box-shadow:0 1px 2px rgba(32,51,48,.05),0 4px 14px rgba(32,51,48,.04);align-items:stretch}
.bk .bk-grid>*{min-width:0;background:#fff}
.bk .bk-field{gap:1px;padding:9px 14px 8px;justify-content:center}
.bk .bk-field>label{display:block;font-size:13px;line-height:18px;font-weight:700;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bk .bk-field .optional{display:inline;margin-left:4px;padding:0;border-radius:0;background:none;color:var(--ink);font-size:13px;font-weight:400;font-style:normal;line-height:inherit;vertical-align:baseline}
.bk .bk-field input:not([type=checkbox]):not([type=radio]):not([type=file]),.bk .bk-field select,.bk .bk-field textarea{min-height:30px;padding:2px 0;border:0;border-radius:0;background:transparent;font-size:17px;box-shadow:none}
.bk .bk-field textarea{min-height:48px;resize:none}
.bk .bk-field.bk-short textarea{min-height:30px;height:auto}
.bk .bk-field input::placeholder,.bk .bk-field textarea::placeholder{font-style:italic;color:#474d4a}
.bk .bk-field input:focus,.bk .bk-field select:focus,.bk .bk-field textarea:focus{outline:none}
.bk .bk-field:has(input[type=text]:focus,input[type=tel]:focus,input[type=email]:focus,textarea:focus){box-shadow:inset 0 0 0 2px #c27a1e;border-radius:10px}
.bk .bk-field:has(select:focus-visible,input[type=date]:focus-visible){box-shadow:inset 0 0 0 2px var(--green)}
.bk .bk-field.bk-needs-check{background:var(--attention-soft)}
.bk .bk-field.invalid,.bk .bk-field.bk-blocking-check{background:#fffaf1}
.bk .bk-field.invalid input,.bk .bk-field.invalid select,.bk .bk-field.invalid textarea,.bk .bk-field.bk-needs-check input:not([type=checkbox]):not([type=radio]):not([type=file]),.bk .bk-field.bk-needs-check select{background:transparent}
.bk .bk-grid>.bk-check{padding:12px 14px;align-items:center}
.bk .bk-grid>.bk-note{align-self:stretch;margin:0;border-radius:0;padding:12px 14px}
.bk .time-entry{align-items:center;gap:8px}
.bk .time-period{flex:0 0 auto;align-self:center;border-radius:6px}
.bk .time-period span{min-height:30px;padding:0 9px;font-size:13px}
.bk .bk-types legend,.bk .bk-luggage legend{font:400 22px/1.25 var(--font-title);margin-bottom:8px}
.bk .bk-tile{min-height:48px;padding:6px 12px;font-size:16px}
.bk .bk-tile input{width:20px;height:20px}
.bk .bk-luggage-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--divider);border:1px solid #c9d0ca;border-radius:12px;overflow:hidden;box-shadow:0 1px 2px rgba(32,51,48,.05),0 4px 14px rgba(32,51,48,.04)}
.bk .luggage-row{flex-direction:row;align-items:center;justify-content:space-between;gap:6px;min-height:52px;padding:0 8px 0 12px;background:#fff}
.bk .luggage-row label{font-size:15px}
.bk .quantity-control{gap:2px}
.bk .quantity-control button{width:34px;height:34px;min-height:34px;border:0;border-radius:17px;background:var(--soft);font-size:20px;font-weight:600}
.bk .quantity-control button:disabled{background:#f1f2ef;color:#b0b6b2}
.bk .quantity-control input{width:26px;min-height:34px;font-size:17px}
.bk .bk-details h2,.bk .bk-consent h2,.bk .bk-head h2{font-size:22px}
@media(max-width:650px){
  .bk .bk-luggage-grid{grid-template-columns:minmax(0,1fr)}
  .bk .luggage-row{padding:0 14px}
  .bk .luggage-row label{font-size:15px}
  .bk .quantity-control button{width:44px;height:44px;min-height:44px;border-radius:22px;font-size:22px}
}
/* Booking step layout from the prototype: trip cards on the left, passengers and luggage on the right. */
.bk .bk-trip{display:flex;flex-direction:column;gap:20px}
.bk .bk-trip-main,.bk .bk-trip-side{display:flex;flex-direction:column;gap:20px;min-width:0}
.bk .bk-sec{display:flex;flex-direction:column;gap:8px;min-width:0}
.bk .bk-sec-title{margin:0;font:400 22px/1.25 var(--font-title);color:var(--ink)}
.bk .bk-grid.bk-card4,.bk .bk-grid.bk-card2{grid-template-columns:repeat(2,minmax(0,1fr))}
.bk .bk-card4>.bk-full,.bk .bk-card2>.bk-full,.bk .bk-card4>.bk-intl,.bk .bk-card4>.luggage-row,.bk .bk-card4>.bk-more-bags{grid-column:1/-1}
.bk .bk-cap{display:block;height:18px;margin-bottom:1px;font-size:13px;line-height:18px;font-weight:700;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bk .bk-seg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #a9afa9;border-radius:7px;overflow:hidden}
.bk .bk-seg label{position:relative;display:flex;margin:0;cursor:pointer}
.bk .bk-seg input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.bk .bk-seg span{display:flex;align-items:center;justify-content:center;flex:1;min-height:28px;font-size:14px;font-weight:600;color:var(--ink);background:#fff}
.bk .bk-seg input:checked+span{background:var(--green);color:#fff}
.bk .bk-seg input:focus-visible+span{outline:2px solid #b57825;outline-offset:-3px}
/* Requested By: label on the left, a compact house-phone / cell-phone switch on the right */
.bk .bk-field.bk-source{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}
.bk .bk-field.bk-source .bk-cap{margin:0;height:auto}
.bk .bk-seg.bk-icon-seg{display:inline-flex;flex:none;gap:2px;padding:3px;border:0;border-radius:9px;background:var(--fill);overflow:visible}
.bk .bk-seg.bk-icon-seg span{width:44px;min-height:30px;flex:none;border-radius:7px;background:transparent;color:var(--ink)}
.bk .bk-seg.bk-icon-seg input:checked+span{background:#fff;color:var(--green);box-shadow:0 1px 2px rgba(26,31,29,.14)}
.bk .bk-pax-card{border:1.5px solid var(--green);box-shadow:0 1px 2px rgba(33,76,67,.08),0 4px 14px rgba(33,76,67,.06)}
.bk .bk-pax{flex-direction:row;align-items:center;justify-content:space-between;gap:12px;min-height:60px}
.bk .bk-pax>label{font-size:15px;font-weight:600;line-height:1.3;color:var(--ink);white-space:normal}
.bk .bk-pax .quantity-control button{width:40px;height:40px;min-height:40px;border-radius:20px;font-size:22px}
.bk .bk-pax .quantity-control input{width:34px;font-size:20px;font-weight:700}
.bk .bk-pax .quantity-control input::placeholder{font-style:normal;color:var(--ink)}
.bk .bk-more-bags{display:none;min-height:48px;padding:0 14px;border:0;border-radius:0;background:#fff;color:var(--green);font-size:15px;font-weight:600;text-align:left;text-decoration:underline;text-underline-offset:4px}
.bk .bk-switch-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:0 14px;font-size:15px;font-weight:600;cursor:pointer}
.bk .bk-switch-row input{appearance:none;-webkit-appearance:none;position:relative;flex:none;width:40px;height:24px;margin:0;border-radius:12px;background:#c9d0ca;cursor:pointer;transition:background .18s ease}
.bk .bk-switch-row input::before{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.25);transition:left .18s ease}
.bk .bk-switch-row input:checked{background:var(--green)}
.bk .bk-switch-row input:checked::before{left:19px}
.bk .bk-switch-row input:focus-visible{outline:2px solid #b57825;outline-offset:2px}
.bk .bk-same-preview{margin:0;min-height:30px;font-size:17px;line-height:30px;color:var(--ink)}
.bk .bk-preview-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:0 14px;color:var(--ink);font-size:15px}
.bk .bk-preview-row b{color:var(--ink)}
.bk .bk-wine{margin:2px 0 0;font-size:15px;font-weight:700;color:var(--green)}
@media(min-width:900px){
  .bk .bk-trip{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:28px;align-items:stretch}
  .bk .bk-trip-main,.bk .bk-trip-side{gap:18px}
  .bk .bk-sec.bk-grow{flex:1}
  .bk .bk-sec.bk-grow>.bk-grid:last-child{flex:1;grid-auto-rows:minmax(min-content,1fr)}
  .bk .bk-grid.bk-card4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .bk .bk-card4>.bk-pair,.bk .bk-card4>.bk-intl,.bk .bk-card4>.luggage-row{grid-column:span 2}
}
@media(max-width:899px){
  .bk .bk-bags:not(.bk-more)>.bk-extra:not(.bk-has){display:none}
  .bk .bk-more-bags{display:block}
}
@media(max-width:650px){
  .bk .bk-grid.bk-card4,.bk .bk-grid.bk-card2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bk .bk-card4>.bk-full,.bk .bk-card2>.bk-full,.bk .bk-card4>.bk-intl,.bk .bk-card4>.luggage-row{grid-column:1/-1}
  .bk .bk-field input:not([type=checkbox]):not([type=radio]):not([type=file]),.bk .bk-field select,.bk .bk-field textarea{font-size:17px}
}
.bk .bk-type-grid{gap:8px}
.bk .bk-tile{gap:8px;padding:6px 10px;font-size:15px;white-space:nowrap}
@media(min-width:900px) and (max-width:1180px){.bk .bk-tile{font-size:14px}}
.bk .bk-save .customer-form-entry{margin:0}
@media(max-width:359px){.bk .bk-tile{white-space:normal}}
@media(max-width:650px){
  /* Trip types stay on one line on a phone (wrapping only on very narrow screens); Optional tags stay visible. */
  .bk .bk-tile{gap:6px;padding:6px 8px;font-size:14px;line-height:1.2}
  .bk .bk-tile input{width:18px;height:18px}
  .bk .bk-field .optional{margin-left:4px;padding:0;font-size:13px}
  .bk .bk-header .bk-save>.hint{display:none}
  .bk .bk-header .bk-save .customer-form-entry .text-button,.bk .bk-header .bk-save>button{font-size:13px}
}
/* Pickers: the native control stays in the form for its value; the button and sheet are what people use. */
.bk .bk-native{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important;opacity:0;pointer-events:none;overflow:hidden}
.bk .bk-field{position:relative}
.bk .bk-pick{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:30px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--ink);font:400 17px var(--font);text-align:left;cursor:pointer}
.bk .bk-pick:hover{background:transparent;text-decoration:none}
.bk .bk-pick span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bk .bk-pick .bk-empty{font-style:italic;color:#474d4a}
.bk .bk-pick svg{flex:none}
.bk .bk-pick:focus-visible{outline:2px solid var(--green);outline-offset:2px;border-radius:4px}
.bk .bk-field.bk-other-filled{display:none}
.bk .bk-date-label{display:none!important}
/* Pop-up choice lists and calendars: the page behind stays visible and scrollable (no dark wash,
   no touch blocking); only the sheet itself takes taps */
.bk-sheet-back{position:fixed;inset:0;z-index:50;display:flex;flex-direction:column;justify-content:flex-end;background:none;pointer-events:none;animation:bk-fade .16s ease}
.bk-sheet-back>.bk-sheet{pointer-events:auto}
.bk-sheet-back.bk-sheet-wide{justify-content:center;align-items:center}
.bk-sheet{display:flex;flex-direction:column;max-height:min(55vh,560px);padding:16px 0 20px;border-radius:16px 16px 0 0;background:var(--paper);box-shadow:0 -6px 30px rgba(26,31,29,.18);color:var(--ink);font-family:var(--font);animation:bk-rise .2s ease}
.bk-sheet-wide .bk-sheet{width:380px;max-height:78vh;padding-bottom:0;border-radius:16px;overflow:hidden;box-shadow:0 12px 40px rgba(26,31,29,.22)}
/* While a sheet is up on a phone, the page can scroll its last fields above it */
@media(max-width:899px){html.bk-sheet-open body{padding-bottom:55vh}}
.bk-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px 8px}
.bk-sheet-head h2{margin:0;font-size:17px;font-weight:600}
.bk-sheet-cancel{min-height:44px;padding:0 4px;border:0;background:none;color:var(--green);font:600 16px var(--font)}
.bk-sheet-list{display:flex;flex-direction:column;overflow-y:auto;background:#fff;border-top:1px solid var(--divider)}
.bk-sheet-list button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:52px;padding:0 16px;border:0;border-bottom:1px solid var(--divider);border-radius:0;background:#fff;color:var(--ink);font:500 17px var(--font);text-align:left}
.bk-sheet-list button[aria-selected=true]{color:var(--green);font-weight:700}
.bk-sheet-other{display:flex;align-items:center;gap:12px;min-height:60px;padding:8px 16px;background:#fff;border-bottom:1px solid var(--divider)}
.bk-sheet-other.on{background:#f4f8f3}
.bk-sheet-other button{flex:none;min-height:44px;padding:0 12px;border:1px solid #c9d0ca;border-radius:8px;background:#fff;color:var(--green);font:700 16px var(--font)}
.bk-sheet-other.on button{border-color:var(--green);background:var(--soft)}
.bk-sheet-other input{flex:1;min-width:0;min-height:42px;padding:0 12px;border:1px solid #c9d0ca;border-radius:8px;background:var(--paper);color:var(--ink);font:400 17px var(--font)}
.bk-cal{padding:0 16px}
.bk-sheet-wide .bk-cal{padding-bottom:16px}
.bk-cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.bk-cal-head b{font-size:16px}
.bk-cal-head button{width:44px;height:44px;padding:0;border:0;border-radius:22px;background:var(--soft);color:var(--green);font-size:24px;line-height:1}
.bk-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;text-align:center}
.bk-cal-wd{padding:4px 0;font-size:13px;font-weight:700;color:var(--ink)}
.bk-cal-grid button{height:44px;min-width:0;padding:0;border:0;border-radius:22px;background:transparent;color:var(--ink);font:500 16px var(--font)}
.bk-cal-grid button.today{box-shadow:inset 0 0 0 2px var(--green)}
.bk-cal-grid button.on{background:var(--green);color:#fff;font-weight:700}
.bk-cal-grid button:disabled{color:#b0b6b2;background:transparent}
@keyframes bk-fade{from{opacity:0}}
@keyframes bk-rise{from{transform:translateY(24px);opacity:.6}}
@media(prefers-reduced-motion:reduce){.bk-sheet-back,.bk-sheet{animation:none}}
/* Details and review page from the prototype. */
.bk .bk-review{display:flex;flex-direction:column;gap:16px}
.bk .bk-review-left{display:flex;flex-direction:column;gap:16px;min-width:0}
.bk .bk-consent-card{padding:12px 14px;background:#fff;border:1px solid #c9d0ca;border-radius:12px}
.bk .bk-consent-card h2{margin:0 0 6px;font-size:16px}
.bk .bk-consent-card .consent-copy{font-size:13px;line-height:1.45;color:var(--ink)}
.bk .bk-checkcard{padding:16px 18px;background:#fff;border:1px solid var(--line);border-radius:12px;gap:14px}
.bk .bk-route-map svg{display:block;width:100%;height:auto;border-radius:10px;border:1px solid var(--line)}
.bk .bk-estimate{display:flex;flex-direction:column;gap:2px;padding:12px 14px;background:#f6f8f5;border:1px solid var(--divider);border-radius:10px}
.bk .bk-estimate-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.bk .bk-estimate-head h3{margin:0;font-size:16px}
.bk .bk-estimate-head b{font-size:22px;color:var(--green)}
.bk .bk-estimate p{margin:0;font-size:14px;color:var(--ink)}
.bk .bk-estimate .bk-estimate-note{font-size:13px;font-style:italic;color:var(--ink)}
.bk .bk-itin-line{display:flex;align-items:center;gap:12px;border-top:1px solid var(--divider)}
.bk .bk-itin-line span{font-size:13px;font-weight:600;color:var(--ink)}
.bk .bk-itin-line b{flex:1;min-width:0;font-size:15px;overflow-wrap:anywhere}
.bk .bk-check-note{margin:0;padding:8px 12px;border-radius:8px;background:var(--attention-soft);color:var(--attention);font-size:14px;font-weight:600}
.bk .bk-strip{padding:0 18px;background:#fff;border:1px solid var(--line);border-radius:12px}
.bk .bk-legs{display:flex;flex-direction:column}
.bk .bk-leg-row{display:flex;flex-direction:column;gap:8px;padding:12px 0}
.bk .bk-leg-row+.bk-leg-row{border-top:1px solid var(--divider)}
.bk .bk-leg-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;border-bottom:1px solid var(--divider)}
.bk .bk-leg-head h3{margin:0;font-size:16px;color:var(--green)}
.bk .bk-cells{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}
.bk .bk-cell{min-width:0}
.bk .bk-cell[data-jump]{cursor:pointer}
.bk .bk-cell.bk-cell-full{grid-column:1/-1}
.bk .bk-cell.bk-cell-warn{margin:-4px -8px;padding:4px 8px;border-radius:6px;background:#fffaf1}
.bk .bk-cell dt{font-size:13px;font-weight:600;color:var(--ink)}
.bk .bk-cell dd{margin:2px 0 0;font-size:15px;font-weight:700;overflow-wrap:anywhere}
.bk .bk-field.bk-spot{box-shadow:inset 0 0 0 2px var(--green);border-radius:10px}
.bk .itinerary-autofill.bk-missing{border:2px solid #c27a1e}
.bk-received{display:flex;flex-direction:column;gap:14px;max-width:560px;padding:8px 0 40px}
.bk-received p{margin:0;font-size:17px;line-height:1.5}
.bk-received-mark{display:grid;place-items:center;width:56px;height:56px;border-radius:14px;background:var(--soft);color:var(--green)}
.bk-received-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.ia-text{white-space:nowrap}
.ia-sms{display:inline-block;margin-top:2px;font-size:15px;font-weight:700;color:var(--green);text-underline-offset:2px}
.itinerary-autofill.ia-drag{outline:2px dashed var(--green);outline-offset:-2px;background:#f4f8f3}
.ia-thumb{display:block;padding:0;margin:0;border:0;background:none;cursor:pointer;min-height:0}
.ia-thumb+.ia-thumb{margin-left:-10px}
.ia-viewer{position:fixed;left:0;right:0;bottom:0;height:56%;z-index:60;display:flex;flex-direction:column;background:#fff;border-radius:14px 14px 0 0;box-shadow:0 -8px 24px rgba(22,43,40,.18)}
.ia-viewer-head{flex:none;height:52px;padding:0 8px 0 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d9dfd8}
.ia-viewer-head h2{margin:0;font-size:17px}
.ia-viewer-done{min-height:44px;padding:0 10px;border:0;background:none;color:var(--green);font-weight:700}
.ia-viewer-body{flex:1;min-height:0;overflow:auto;padding:12px;background:#eef1ec}
.ia-viewer-body img{display:block;width:100%;height:auto;border-radius:8px}
@media(min-width:900px){
  .bk .bk-review{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 28px;align-items:start}
  .bk .bk-strip{grid-column:1/-1}
  .bk .bk-leg-row{display:grid;grid-template-columns:128px minmax(0,1fr);gap:12px;align-items:center;padding:8px 0}
  .bk .bk-leg-head{border:0;justify-content:flex-start}
  .bk .bk-cells{grid-template-columns:92px 72px 112px 120px 150px minmax(0,1fr) minmax(0,1fr);gap:6px 16px}
  .bk .bk-cell.bk-cell-full{grid-column:auto}
  .ia-viewer{left:auto;top:0;height:auto;width:420px;border-radius:0;box-shadow:-8px 0 24px rgba(22,43,40,.12)}
}
@media(max-width:650px){
  .bk .bk-card2>.bk-half{grid-column:1/-1}
}
.bk .bk-problems{padding:0;border:0;background:none}
.bk .bk-missing-banner{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:8px 14px;border:2px solid #c27a1e;border-radius:10px;background:#fbf1e3;color:#5c3a1c;font:700 15px var(--font);text-align:left;cursor:pointer}
.ia-start{grid-column:1/-1;display:flex;flex-direction:column;gap:8px}
.ia-start .ia-pick{min-width:0}
@media(min-width:760px){.ia-start{grid-column:auto;flex-direction:row;align-items:center;gap:10px}.ia-start .ia-pick{min-width:230px;min-height:48px;padding:0 18px;font-size:16px}.ia-start .ia-button{min-height:48px}}
/* Stops, bottom-bar estimate and Undo. */
.bk .bk-add-stop{display:block;min-height:48px;padding:0 14px;border:0;border-radius:0;background:#fff;color:var(--green);font-size:15px;font-weight:600;text-align:left;text-decoration:underline;text-underline-offset:4px}
.bk .bk-remove-stop{position:absolute;top:8px;right:10px;width:32px;height:32px;min-height:32px;padding:0;border:0;border-radius:16px;background:var(--soft);color:var(--green);font-size:20px;line-height:1}
.bk .bk-bar-estimate{display:flex;flex-direction:column;align-items:flex-end;flex:1;min-width:0;line-height:1.25}
.bk .bk-bar-estimate span{font-size:13px;color:var(--ink)}
.bk .bk-bar-estimate b{font-size:17px;color:var(--green)}
.bk-undo{position:fixed;left:50%;bottom:110px;z-index:70;transform:translateX(-50%);display:flex;align-items:center;gap:14px;padding:6px 6px 6px 16px;border-radius:10px;background:var(--ink);color:#fff;font:600 15px var(--font);box-shadow:0 6px 18px rgba(22,43,40,.25)}
.bk-undo button{min-height:36px;padding:0 12px;border:0;border-radius:6px;background:rgba(255,255,255,.14);color:#fff;font:700 15px var(--font)}
.bk-undo:not(:has(button)){padding:12px 18px}
@media(max-width:650px){
  .bk .bk-bar-inner{flex-wrap:wrap}
  .bk .bk-bar-estimate{order:-1;flex-basis:100%;flex-direction:row;align-items:baseline;justify-content:space-between;gap:12px}
}
@media(min-width:900px){.bk .bk-leg-row{grid-template-columns:168px minmax(0,1fr)}.bk .bk-leg-head h3{overflow-wrap:anywhere}.bk .bk-cells{grid-template-columns:88px 68px 104px 116px 140px minmax(0,1fr) minmax(0,1fr)}}
.ia-start .ia-thumbs{align-self:center}
.ia-start>.ia-button,.ia-start>label.ia-button{white-space:nowrap}
/* Trimmed vertical rhythm so each desktop step fits the screen without a scrollbar. */
.bk .bk-header{margin-bottom:2px}
.bk .bk-steps{margin-bottom:4px}
.bk .bk-form{gap:12px}
@media(min-width:900px){.bk .bk-trip-main,.bk .bk-trip-side{gap:14px}}
/* Review step fits one desktop screen: compact consent card, shorter map, one-line trip rows. */
.bk .bk-consent-card h2{display:none}
.bk .bk-consent-card .bk-check{font-size:15px;line-height:1.35}
.bk .bk-consent-card .consent-copy{margin:4px 0 0;font-size:13px;line-height:1.4}
@media(min-width:900px){
  .bk .bk-leg-row{grid-template-columns:108px minmax(0,1fr);padding:6px 0}
  .bk .bk-leg-head{flex-direction:column;align-items:flex-start;gap:0}
  .bk .bk-leg-head .text-button{min-height:28px;padding:0}
  .bk .bk-cells{grid-template-columns:84px 64px 100px 112px 132px minmax(0,1fr) minmax(0,1.15fr);gap:4px 14px}
  .bk .bk-cell dd{font-size:14px}
}
@media(min-width:900px){.bk .bk-review{gap:12px 28px}.bk .bk-review-left{gap:12px}}
.bk .bk-mapkit{height:118px;border-radius:10px;border:1px solid var(--line);overflow:hidden}
@media(max-width:899px){.bk .bk-mapkit{height:170px}}

/* Centered Paper Pine itinerary replacement, above the form and navigation. */
dialog.ia-replace-dialog{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(360px,calc(100vw - 48px));height:fit-content;max-height:calc(100dvh - 48px);padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--paper);color:var(--ink);box-shadow:0 8px 40px #00000029;overflow:auto;overscroll-behavior:contain}
dialog.ia-replace-dialog::backdrop{background:#0000004d}
.ia-replace-dialog h2{margin:0 0 16px;font-family:var(--font);font-size:22px;line-height:1.25;font-weight:700}
.ia-replace-dialog p{margin:0 0 16px;color:var(--muted);font-size:16px;line-height:1.45}
.ia-replace-actions{display:grid;gap:16px}
.ia-replace-actions .ia-button{width:100%;min-height:48px}

/* Booking window: trip facts on the left, contact, fare and actions in a right sidebar. */
#job-dialog .panel-top{padding:10px 16px 10px 18px}
.status-line{display:inline-flex;align-items:center;gap:7px;color:var(--green)}
.status-line.is-pending{color:var(--warm)}
.status-line.is-cancelled{color:var(--error)}
.status-line>svg{flex-shrink:0}
#job-dialog .status-line .status-word{color:inherit;font-size:15px;font-weight:700;text-transform:none;letter-spacing:0}
.trip-kind{font-size:15px;color:var(--muted);padding-left:12px;border-left:1px solid var(--line);white-space:nowrap}
#job-dialog .panel-top-actions .icon-button{border-color:var(--line)}
.booking-frame{flex:1;min-height:0;display:flex}
.booking-main{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column}
#job-dialog .booking-main .job-title{padding:18px 32px 14px}
#job-dialog .booking-main .job-title h2{font-size:32px;margin:0;letter-spacing:-.4px;line-height:1.15}
#job-dialog .booking-main .job-title .panel-route{font-size:17px;margin:6px 0 0}
.leg-switch{display:inline-flex;margin-top:14px;padding:3px;border-radius:8px;background:#eef1ec;border:1px solid var(--divider)}
#job-dialog .leg-switch button{min-height:42px;padding:0 18px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:15px;font-weight:400}
#job-dialog .leg-switch button:hover{background:#e3e9e2}
#job-dialog .leg-switch button[aria-pressed="true"]{background:white;color:var(--ink);font-weight:700;box-shadow:0 1px 3px #1a1f1d2e;cursor:default}
.leg-switch small{font-size:14px;font-weight:400;color:var(--muted);margin-left:4px}
#job-dialog .booking-main .window-tabs{padding:0 32px}
#job-dialog .booking-main .panel-body{padding:16px 32px 18px}
.trip-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px}
.fact-column{display:flex;flex-direction:column;gap:16px;min-width:0}
#job-dialog .fact-group h3{display:flex;align-items:center;height:30px;margin:0;font-family:var(--font);font-size:14px;font-weight:700;line-height:1.2}
.fact-rows{display:grid;grid-template-columns:auto minmax(0,1fr);margin:0;font-size:16px;line-height:1.35}
.fact-rows dt,.fact-rows dd{padding:9px 0;border-top:1px solid var(--divider)}
.fact-rows dt{color:var(--muted);font-size:15px;padding-right:16px}
.fact-rows dd{margin:0;text-align:right;overflow-wrap:anywhere}
.fact-rows .attention{color:var(--warm)}
.fact-file{margin:8px 0 0;font-size:15px}
.booking-side{width:310px;flex-shrink:0;box-sizing:border-box;background:var(--paper);border-left:1px solid var(--divider);padding:18px 24px 22px;display:flex;flex-direction:column;gap:16px;overflow:auto}
#job-dialog .side-actions{margin:auto 0 0;display:flex;flex-direction:column;gap:8px}
#job-dialog .side-actions button{width:100%;margin:0;min-height:44px;font-size:15px}
#job-dialog .side-actions #restore-job{color:var(--green);border-color:var(--green)}
@media(max-width:899px){.booking-side{width:260px;padding:16px 18px}#job-dialog .booking-main .job-title,#job-dialog .booking-main .panel-body{padding-left:24px;padding-right:24px}#job-dialog .booking-main .window-tabs{padding:0 24px}.trip-facts{gap:24px}}
@media(max-width:759px){.booking-frame{flex-direction:column;overflow:auto}.booking-main{flex:none}#job-dialog .booking-main .panel-body{overflow:visible;flex:none}.booking-side{width:auto;border-left:0;border-top:1px solid var(--divider);overflow:visible}.trip-facts{grid-template-columns:1fr;gap:16px}#job-dialog .booking-main .job-title{padding:14px 20px 10px}#job-dialog .booking-main .job-title h2{font-size:26px}#job-dialog .booking-main .window-tabs{padding:0 20px;gap:20px}#job-dialog .booking-main .panel-body{padding:16px 20px}.trip-kind{display:none}}
#job-dialog .job-title.has-legs{display:flex;align-items:center;justify-content:space-between;gap:20px}
.job-name{min-width:0}
#job-dialog .job-title.has-legs .leg-switch{margin-top:0;flex-shrink:0}
@media(max-width:759px){#job-dialog .job-title.has-legs{display:block}#job-dialog .job-title.has-legs .leg-switch{margin-top:12px}}
@media(max-width:759px){#job-dialog .booking-main .window-tabs{gap:16px;padding:0 16px;overflow-x:auto}#job-dialog .booking-main .window-tabs button{font-size:14px}}

/* Edit Trip: trip fields on the left, fare and fees on the right, all on one panel. */
#job-dialog .trip-edit{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:stretch}
.trip-edit-main{min-width:0}
#job-dialog .trip-edit .field-grid{gap:10px 14px}
#job-dialog .trip-edit .edit-trip-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#job-dialog .trip-edit .luggage-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.trip-edit [data-airport-fields],.trip-edit [data-terminal-fields]{display:contents}
.trip-edit .field:has(input[name=address]){grid-column:span 2}
#job-dialog .trip-edit .field,#job-dialog .trip-edit .staff-time>label,#job-dialog .trip-edit .driver-picker>label{display:block;font-size:13px;font-weight:700;line-height:1.3;color:var(--ink)}
#job-dialog .trip-edit .driver-picker{gap:4px}
#job-dialog .trip-edit .field input,#job-dialog .trip-edit .field select,#job-dialog .trip-edit .staff-time input,#job-dialog .trip-edit .staff-time select,#job-dialog .trip-edit .driver-picker select,#job-dialog .trip-edit .driver-picker input{min-height:40px;margin-top:4px;padding:7px 10px;font-size:16px}
#job-dialog .trip-edit .driver-picker select{margin-top:0}
#job-dialog .trip-edit .time-entry{grid-template-columns:minmax(0,1fr) 92px;gap:6px}
#job-dialog .trip-edit .optional{font-size:13px}
#job-dialog .trip-edit .edit-heading{margin:16px 0 8px;font-family:var(--font);font-size:14px;font-weight:700}
#job-dialog .trip-edit .hint{margin:0 0 8px;font-size:13px}
#job-dialog .trip-edit-side{display:flex;flex-direction:column;gap:10px;min-width:0;padding:14px 16px 16px;background:var(--paper);border:1px solid var(--divider);border-radius:6px}
#job-dialog .trip-edit-side .trip-fees{border:0;margin:0;padding:0}
#job-dialog .trip-edit-side .edit-heading:first-child{margin-top:0}
#job-dialog .trip-edit-side .trip-fees>.field{margin-top:0}
.edit-preference{display:flex;justify-content:space-between;gap:12px;margin:10px 0 0;font-size:15px}.edit-preference span{color:var(--muted)}
#job-dialog .trip-edit .fee-list:empty{display:none}
#job-dialog .trip-edit .fee-row{grid-template-columns:minmax(0,1fr) 84px auto;align-items:end;gap:8px;margin:0 0 8px;padding:0;background:none}
#job-dialog .trip-edit .fee-row .remove-fee{min-height:40px;padding:0 10px;font-size:13px}
#job-dialog .trip-edit .add-fee{align-self:flex-start;min-height:36px;padding:0 12px;font-size:14px}
#job-dialog .trip-edit textarea{min-height:60px}
#job-dialog .trip-edit .checkbox-line{margin:0;font-size:15px}
#job-dialog .trip-edit-side .form-error{margin:0}
#job-dialog .trip-edit-side button.primary{margin-top:auto;width:100%}
@media(max-width:899px){#job-dialog .trip-edit{grid-template-columns:1fr}#job-dialog .trip-edit .edit-trip-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.trip-edit .fee-head{display:grid;grid-template-columns:minmax(0,1fr) 84px 68px;gap:8px;margin-top:4px;font-size:13px;font-weight:700;color:var(--ink)}
.trip-edit .fee-head:has(+ .fee-list:empty){display:none}
#job-dialog .trip-edit .fee-row{grid-template-columns:minmax(0,1fr) 84px 68px;margin:0 0 6px}
#job-dialog .trip-edit .fee-row .field{font-size:0;line-height:0}
#job-dialog .trip-edit .fee-row .field input{margin-top:0}
#job-dialog .trip-edit .fee-row .remove-fee{padding:0 6px;white-space:normal;line-height:1.1;font-size:12px}
#job-dialog .trip-edit #price-change-reason .field{font-size:13px}
#job-dialog .trip-edit #price-change-reason textarea{min-height:44px;height:44px;margin-top:4px;padding:8px 10px;font-size:15px}
#job-dialog .trip-edit-side{gap:8px}
#job-dialog .trip-edit .edit-preference{margin:8px 0 4px}

/* Messages: the customer text preview flows into two columns so the whole text shows without scrolling. */
#job-tab-messages .job-layout{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:28px;margin-top:0}
#job-tab-messages .job-layout h3{margin:0 0 4px;font-size:16px}
#job-tab-messages .job-layout section>p{margin:0 0 8px;font-size:15px}
#job-tab-messages .job-layout .job-payment,#job-tab-messages .job-layout>section+section{min-width:0}
#job-tab-messages .message-preview{columns:2 180px;column-gap:24px;column-rule:1px solid var(--divider);margin:6px 0 0;padding:12px 16px;font-size:14px;line-height:1.4}
@media(max-width:759px){#job-tab-messages .job-layout{grid-template-columns:1fr}}

/* ===== Staff redesign (Nov 2026): staff bar, phone tab bar, Bookings filters, Settings ===== */
body[data-site-page="staff"] #site-header{display:none}
.staff .staff-navigation{display:flex;align-items:center;gap:28px;min-height:64px;margin:-12px 0 22px;padding:0;border-bottom:1px solid var(--line);background:#fff;box-shadow:0 0 0 100vmax #fff;clip-path:inset(0 -100vmax)}
.staff-brand{display:flex;align-items:center;gap:12px;flex:none;color:var(--ink);text-decoration:none}
.staff-brand-mark{width:34px;height:38px;border:1px solid var(--ink);display:grid;place-items:center;font-family:var(--font-title);font-size:23px;line-height:1}
.staff-brand-name{font-family:var(--font-title);font-size:17px;letter-spacing:1.5px;white-space:nowrap}
.staff .staff-navigation .staff-nav{display:flex;align-items:stretch;gap:24px;flex:1;min-width:0;margin:0;border:0}
.staff .staff-navigation .staff-nav .staff-tab{display:inline-flex;align-items:center;gap:6px;min-height:64px;margin:0;padding:0 2px;border:0;border-bottom:3px solid transparent;border-radius:0;background:none;color:var(--muted);font-size:15px;white-space:nowrap}
.staff .staff-navigation .staff-nav .staff-tab:hover{color:var(--ink)}
.staff .staff-navigation .staff-nav .staff-tab.active{color:var(--green);font-weight:700;border-bottom-color:var(--green)}
.staff-tab-count{color:var(--badge);font-weight:700}
.staff-bar-actions{display:flex;align-items:center;gap:10px;flex:none;margin-left:auto}
.staff .staff-new-booking{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 18px;border-radius:6px;font-size:15px;font-weight:700}
.staff .staff-gear{width:44px;height:44px;display:inline-grid;place-items:center;padding:0;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--green)}
.staff .staff-gear.active{border-color:var(--green);background:var(--soft)}
.staff-phone-nav{display:none}
.booking-filters{display:flex;padding:3px;border-radius:8px;background:var(--fill);border:1px solid #dde3dc;margin-left:16px}
.booking-filters button{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 16px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:15px}
.booking-filters button.active{background:#fff;color:var(--ink);font-weight:700;box-shadow:0 1px 3px #1a1f1d30}
.staff .staff-top:has(.booking-filters){justify-content:flex-start;gap:12px;flex-wrap:wrap}
.staff .staff-top:has(.booking-filters) .staff-view-tools{margin-left:auto}
.settings-layout{display:flex;gap:24px;align-items:flex-start}
.settings-menu{width:230px;flex:none;display:flex;flex-direction:column;gap:2px}
.settings-menu button{display:block;width:100%;text-align:left;border:0;border-radius:6px;background:none;padding:0 12px;min-height:42px;font-size:15px;color:var(--ink)}
.settings-menu button:hover{background:var(--soft)}
.settings-menu button.active{background:#fff;color:var(--green);font-weight:700;box-shadow:0 1px 3px #1a1f1d26}
.settings-menu .settings-site{margin-top:14px}
.settings-menu .settings-site+.settings-signout{margin-top:0;color:var(--error)}
.settings-menu .settings-signout{margin-top:14px;color:var(--error)}
.settings-body{flex:1;min-width:0;background:#fff;border:1px solid var(--line);border-radius:8px;padding:20px 24px}
.settings-body .staff{max-width:none;margin:0;padding:0}
.settings-body h1,.settings-body h2:first-child{font-family:var(--font-title);font-weight:400;font-size:24px;margin:0 0 12px}
.settings-card h2{margin:0 0 12px}
@media(max-width:860px){.staff-brand-name{display:none}.staff .staff-navigation .staff-nav{overflow-x:auto}.settings-layout{flex-direction:column;align-items:stretch}.settings-menu{width:auto;flex-direction:row;flex-wrap:wrap;gap:6px}.settings-menu button{width:auto;white-space:nowrap;border:1px solid var(--line);background:#fff;min-height:38px}.settings-menu button.active{border-color:var(--green)}.settings-menu .settings-signout{margin-top:0}}
@media(max-width:600px){
 .staff{padding-bottom:92px}
 .staff .staff-navigation{gap:12px;min-height:56px;margin-top:-6px}
 .staff .staff-navigation .staff-nav{display:none}
 .staff-brand-name{display:inline;font-size:15px;letter-spacing:1px}
 .staff .staff-new-booking{width:44px;padding:0;justify-content:center}
 .staff .staff-new-booking span{display:none}
 .staff-phone-nav{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:15;background:#fff;border-top:1px solid var(--line);padding-bottom:max(6px,env(safe-area-inset-bottom))}
 .staff-phone-tab{flex:1;min-width:0;border:0;border-radius:0;background:none;padding:7px 0 6px;min-height:52px;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11px;color:var(--muted);position:relative}
 .staff-phone-tab.active{color:var(--green);font-weight:700}
 .staff-phone-tab .staff-tab-count{position:absolute;top:3px;left:calc(50% + 6px);min-width:16px;height:16px;border-radius:8px;background:var(--badge);color:#fff;font-size:10px;line-height:16px;text-align:center;padding:0 3px}
 .booking-filters{margin-left:0;width:100%;display:grid;grid-template-columns:1fr 1fr;gap:2px}
 .booking-filters button{justify-content:center;padding:0 8px;font-size:14px}
 .settings-menu .desktop-only{display:none}
 .settings-body{padding:16px}
}
/* Calendar redesign: header controls, four totals, Week view, phone month grid */
.staff .cal-head{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.staff .cal-head>div:first-child h1{min-width:250px}
.staff .cal-head .calendar-controls{display:flex;align-items:center;gap:6px;margin:0;padding:0;border:0}
.staff .cal-head .calendar-controls button{min-width:0;min-height:40px;border:1px solid #c9d2ca;border-radius:6px;background:#fff;color:var(--green)}
.staff .cal-head .cal-arrow{width:40px;padding:0;display:inline-grid;place-items:center}
.staff .cal-head .cal-today{display:inline-flex;align-items:center;gap:6px;padding:0 14px;font-size:14px;font-weight:600}
.staff .cal-head .staff-view-tools{margin-left:auto;gap:10px}
/* Calendar search: find a client's trips on any date */
.staff .cal-head .cal-search{position:relative;margin-left:auto}
.staff .cal-head .cal-search .booking-search{margin-left:0;min-width:240px;height:40px}
.staff .cal-head .cal-search+.staff-view-tools{margin-left:0}
.cal-search-results{position:absolute;top:calc(100% + 6px);right:0;z-index:30;width:min(460px,calc(100vw - 32px));max-height:min(60vh,520px);overflow:auto;padding:6px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 30px #1a1f1d26}
.cal-search-results[hidden]{display:none}
.cal-search-results .cs-head{margin:6px 10px 4px;font:700 13px var(--font);color:var(--ink)}
.cal-search-results .cs-note{margin:0;padding:12px 10px;font-size:15px;color:var(--ink)}
.cal-search-results .cs-row{display:grid;grid-template-columns:118px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:0;margin:0;padding:9px 10px;border:0;border-radius:8px;background:none;color:var(--ink);text-align:left;font-weight:400}
.cal-search-results .cs-row:hover,.cal-search-results .cs-row:focus-visible{background:var(--soft)}
.cal-search-results .cs-row b{display:block;font-size:15px;font-weight:700}
.cal-search-results .cs-row small{display:block;margin-top:2px;font-size:13px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cal-search-results .cs-tag{padding:0;border-radius:0;background:none;color:var(--warm);font-size:13px;font-weight:600;white-space:nowrap}
.staff .cal-head .staff-view-tools .calendar-controls{border:0;padding:0}
.staff .cal-views{margin-left:0}
.staff .cal-views button{min-height:36px;font-size:14px}
.staff .cal-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.staff .cal-stats strong.due{color:var(--warm)}
.week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}
.week-day{min-width:0;min-height:520px;padding:12px 10px;border-radius:8px;border:1px solid var(--divider);background:#fff}
.week-day.today{border-color:#b9cdb6;background:#f2f7ef}
.week-day h2{display:flex;justify-content:space-between;margin:0 0 10px;font:700 13px var(--font)}
.week-day h2 span+span{color:var(--muted);font-weight:400}
.week-jobs{display:flex;flex-direction:column;gap:8px}
.week-jobs .cal-job{white-space:normal}
.week-empty{margin:0;font-size:13px;color:var(--muted)}
.phone-cal{display:flex;flex-direction:column;gap:14px}
.pc-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:#fff;border:1px solid var(--line);border-radius:10px;padding:8px 6px 6px}
.pc-wd{text-align:center;font-size:13px;font-weight:600;letter-spacing:.5px;color:var(--ink);padding:2px 0 6px}
.pc{border:0;background:none;height:48px;display:flex;flex-direction:column;align-items:center;gap:3px;padding:4px 0 0;font-size:15px;color:var(--ink);min-width:0}
.pc.out{height:48px}
.pc-num{width:30px;height:30px;border-radius:50%;display:grid;place-items:center}
.pc.today .pc-num{color:var(--green);font-weight:800;background:var(--tint);box-shadow:inset 0 0 0 2px var(--green)}
.pc.sel .pc-num{background:var(--green);color:#fff;font-weight:700;box-shadow:none}
.pc-dots{display:flex;gap:3px;height:6px}
.pc-dot{width:6px;height:6px;border-radius:50%;background:var(--green)}
.pc-dot.pending{background:#b57825}
.pc-day{margin:2px 0 0;font:700 15px var(--font)}
.pc-list{display:flex;flex-direction:column;gap:8px}
.pc-list .cal-job{white-space:normal;font-size:14px}
.pc-empty{margin:0;padding:18px 14px;background:#fff;border:1px solid var(--divider);border-radius:8px;color:var(--muted);font-size:15px}
@media(max-width:860px){.week-grid{grid-template-columns:1fr}.week-day{min-height:0}}
@media(max-width:650px){
 .staff .cal-head{gap:10px 5px}
 .staff .cal-head>div:first-child{flex:1 1 100%}
 .staff .cal-head>div:first-child h1{min-width:0;font-size:26px}
 .staff .cal-head .cal-search{order:5;flex:1 1 100%;margin:0}
 .staff .cal-head .cal-search .booking-search{min-width:0;width:100%;height:38px;border:0;border-radius:10px;background:var(--fill)}
 .staff .cal-head .cal-search .booking-search input{font-size:16px}
 .cal-search-results{left:0;right:0;width:auto}
 .cal-search-results .cs-row{grid-template-columns:96px minmax(0,1fr) auto;gap:10px}
 .staff .cal-head .calendar-controls{gap:5px}
 .staff .cal-head .calendar-controls button{min-height:34px}
 .staff .cal-head .cal-arrow{width:34px}
 .staff .cal-head .cal-today{padding:0 8px;font-size:13.5px}
 .staff .cal-head .staff-view-tools{margin-top:0;gap:5px}
 .staff .cal-views{width:auto;display:flex}
 .staff .cal-views button{padding:0 9px;min-height:28px;font-size:13.5px}
 .staff .cal-head .staff-view-tools{flex-wrap:nowrap}
 .staff .cal-head .staff-refresh{width:34px;min-height:34px}
 .staff .cal-stats{grid-template-columns:1fr 1fr;order:5}
 .staff:has(.phone-cal){display:flex;flex-direction:column}
}
/* Bookings redesign: four filters, search, five-column rows */
.booking-search{display:flex;align-items:center;gap:8px;min-width:280px;height:42px;padding:0 12px;margin-left:auto;background:#fff;border:1px solid #c9d2ca;border-radius:6px;color:var(--muted)}
.booking-search input{flex:1;min-width:0;border:0;outline:none;background:transparent;font-size:15px;color:var(--ink);padding:0}
.staff .staff-top:has(.booking-filters):not(.cal-head) .staff-view-tools{margin-left:0}
.booking-list{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;display:block}
.booking-head,.booking-list .booking-row{display:grid;grid-template-columns:150px 150px minmax(0,1.2fr) minmax(0,1.4fr) 170px;gap:16px;align-items:center}
.booking-head{padding:10px 20px;background:var(--paper);font-size:13px;font-weight:600;letter-spacing:.6px;text-transform:uppercase;color:var(--ink)}
.booking-head span:last-child{text-align:right}
.booking-list .booking-row{width:100%;margin:0;border:0;border-top:1px solid var(--divider);border-radius:0;background:#fff;padding:14px 20px;min-height:64px;text-align:left;font-size:15px;font-weight:400;color:var(--ink)}
.booking-list .booking-row:hover{background:#f4f7f2}
.booking-row>span{min-width:0}
.booking-row b{display:block;font-weight:600}.booking-row .br-client b{font-size:17px}
.booking-row small{display:block;font-size:13px;font-weight:400;color:var(--ink)}
.booking-row .br-time small{text-transform:capitalize}
.booking-row .br-route{color:var(--ink)}
.booking-row .br-status{text-align:right;font-weight:600;color:var(--ink)}
.booking-row .br-status.due{color:var(--warm)}
.booking-row .br-status.paid{color:var(--green)}
.booking-row .br-route .br-ack{margin-top:3px;font-size:13px;font-weight:600;color:var(--ink)}
.booking-row .br-ack.warn{color:var(--warm)}
.booking-row .br-ack.ok{color:var(--green)}
.booking-row .br-ack.error{color:var(--error)}
.booking-nomatch{margin:0;padding:40px 20px;text-align:center;font-family:var(--font-title);font-size:22px;border-top:1px solid var(--divider)}
.booking-list .empty{padding:56px 20px;text-align:center}
@media(max-width:860px){.booking-head{display:none}.booking-list .booking-row{grid-template-columns:1fr 1fr}.booking-search{flex:1 1 0;min-width:0;margin-left:0}}
@media(max-width:600px){
 .booking-search{min-width:0}
 .booking-list .booking-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 10px;padding:12px 14px}
 .booking-row::before{content:'';order:3;flex-basis:100%;height:0}
 .booking-row .br-client{order:1;flex:1 1 0;font-size:16px}
 .booking-row .br-client small{display:none}
 .booking-row .br-status{order:2;font-size:14px}
 .booking-row .br-date{order:4;font-size:14px;color:var(--ink)}
 .booking-row .br-date b{display:inline;font-weight:400}
 .booking-row .br-date small{display:none}
 .booking-row .br-time{order:5;font-size:14px;color:var(--ink)}
 .booking-row .br-time small{display:inline;font-size:14px;margin-right:4px}
 .booking-row .br-route{order:6;flex-basis:100%;font-size:14px;color:var(--muted)}
}
/* Settings redesign: sections, switches, account rows */
.settings-stack{display:flex;flex-direction:column;gap:20px}
.settings-body .dispatch-tool,.settings-card{padding:0;border:0}
.settings-body h2{font-family:var(--font-title);font-weight:400;font-size:24px;margin:0 0 12px}
.preference-tool #preferences-form{display:flex;flex-direction:column;margin-top:10px}
.preference-row{display:flex!important;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;margin:0;border-top:1px solid var(--divider);font-size:15px}
.preference-row[hidden]{display:none!important}
.preference-row{max-width:none!important;width:100%!important}
.preference-row input[role=switch]{appearance:none;-webkit-appearance:none;flex:none;width:44px!important;height:26px!important;min-height:0!important;padding:0!important;border:0!important;border-radius:13px;background:#c3ccc5;position:relative;cursor:pointer;margin:0;transition:background .15s}
.preference-row input[role=switch]::after{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #00000040;transition:left .15s}
.preference-row input[role=switch]:checked{background:var(--green)}
.preference-row input[role=switch]:checked::after{left:21px}
.preference-row input[role=switch]:disabled{opacity:.5;cursor:default}
#preferences-save{margin-top:12px}
/* Calendar card driver picker (week view and phone day list) */
.staff .ride-card{display:flex;flex-direction:column;gap:6px}
.staff .ride-card .cal-job{margin:0}
.staff .ride-driver{width:100%;height:36px;min-height:36px;padding:0 8px;border:1px solid #c9d2ca;border-radius:6px;background:#fff;font-size:13px;color:var(--ink);cursor:pointer}
.staff .ride-driver.none{color:var(--warm);border-color:#e1c3ad}
.staff .ride-driver:disabled{opacity:.6;cursor:progress}
@media(max-width:600px){.staff .ride-driver{height:44px;min-height:44px;font-size:15px}}
.staff .cal-stats .stat-note{font-size:14px;font-weight:600;color:var(--warm);font-family:var(--font)}
@media(max-width:600px){.staff .cal-stats .stat-note{display:block;font-size:13px}}

/* Bookings page controls (only when a list spans more than one server page) */
.staff .queue-pages{display:flex;justify-content:center;gap:10px;margin:14px 0 4px}
.staff .queue-pages button{min-height:36px;height:36px;padding:0 16px;font-size:14px;font-weight:600;border:1px solid #c9d2ca;border-radius:6px;background:#fff;color:var(--ink)}
.staff .queue-pages button:disabled{display:none}
/* Phone header like the iPhone app: no brand bar; round New Booking and Settings sit beside each screen's title */
@media(max-width:600px){
 body[data-site-page="staff"] .staff{position:relative}
 /* Room kept for the round icons at the top right: New Booking, plus Settings on Tools. */
 .staff{--phone-icons-w:96px}
 .staff:not(:has(.staff-gear)){--phone-icons-w:48px}
 .staff .staff-navigation{position:absolute;top:var(--phone-icons-top,0px);right:16px;min-height:0;margin:0;padding:0;border:0;background:none;box-shadow:none;clip-path:none;z-index:3;gap:8px}
 .staff .staff-navigation .staff-brand{display:none}
 .staff .staff-bar-actions{gap:8px}
 .staff .staff-new-booking{width:40px;height:40px;min-height:40px;border-radius:20px}
 .staff .staff-gear{width:40px;height:40px;min-height:40px;border:0;border-radius:20px;background:#fff;box-shadow:0 1px 2px #1a1f1d20}
 .staff .staff-gear.active{background:var(--soft)}
 .staff .staff-top h1,.staff .msg-head h1,.staff .settings-page h1{padding-right:var(--phone-icons-w);min-height:40px;display:flex;align-items:center;box-sizing:border-box}
 .staff .clients-top,.staff .msg-head{padding-right:var(--phone-icons-w);box-sizing:border-box}
 .staff .clients-top h1,.staff .msg-head h1{padding-right:0}
}
/* Phone calendar day list like the iPhone app: grouped rows, driver as a small inline menu */
@media(max-width:600px){
 .staff .pc-grid{background:none;border:0;padding:0}
 .staff .pc-dot.pending{background:var(--warm)}
 .staff .pc-day{margin:4px 4px 0;font:700 13px var(--font);text-transform:uppercase;letter-spacing:.3px}
 .staff .pc-list{gap:0;background:#fff;border-radius:16px;overflow:hidden}
 .staff .pc-list .pc-empty{border:0;border-radius:0;color:var(--ink)}
 .staff .pr{padding:12px 14px;border-bottom:1px solid var(--divider)}
 .staff .pr:last-child{border-bottom:0}
 .staff .pr-open{display:flex;gap:12px;width:100%;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:none;text-align:left;color:var(--ink);font-weight:400}
 .staff .pr-t{width:58px;flex:none;display:flex;flex-direction:column}
 .staff .pr-t b{font-size:15px}
 .staff .pr-t small{font-size:13px}
 .staff .pr-m{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
 .staff .pr-m b{font-size:16px;font-weight:600}
 .staff .pr-m span{font-size:15px}
 .staff .pr-drv,.staff .pr-driver{position:relative;display:inline-flex;align-items:center;gap:5px;margin:4px 0 0 70px;font-size:15px;font-weight:600;color:var(--green)}
 .staff .pr-drv.none{color:var(--warm)}
 .staff .pr-drv::after{content:'';width:7px;height:7px;margin:-4px 0 0 -10px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);pointer-events:none}
 .staff .ride-driver.pr-select{appearance:none;-webkit-appearance:none;width:auto;height:auto;min-height:32px;margin:0;padding:0 16px 0 0;border:0;border-radius:0;background:none;box-shadow:none;font:inherit;color:inherit;cursor:pointer}
 .staff .pr-rev{display:block;margin:4px 0 0 70px;font-size:13px;font-weight:600;color:var(--warm)}
 .staff .pr-m .pr-flag{font-size:13px;font-weight:600;color:var(--warm)}
}
@media(max-width:600px){
 .staff .cal-head .calendar-controls .cal-arrow,.staff .cal-head .staff-view-tools .staff-refresh{width:36px;height:36px;min-height:36px;padding:0;border:0;border-radius:18px;background:#fff;color:var(--green);box-shadow:0 1px 2px #1a1f1d20}
 .staff .cal-head .calendar-controls .cal-today{height:36px;min-height:36px;padding:0 11px;border:0;border-radius:18px;background:#fff;color:var(--green);box-shadow:0 1px 2px #1a1f1d20}
 .staff .cal-head .cal-views{padding:2px;border:0;border-radius:9px;background:var(--fill)}
 .staff .cal-head .cal-views button{min-height:32px;padding:0 10px;font-size:13px}
 .staff .cal-head .staff-view-tools{gap:6px}
 .staff .cal-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border:0;background:none;padding:0}
 .staff .cal-stats .stat{background:#fff;border:0;border-radius:16px;padding:10px 12px;margin:0}
 .staff .cal-stats .stat span{font-size:13px;font-weight:600}
 .staff .cal-stats .stat strong{font-size:22px}
}
/* Phone Bookings like the iPhone app: search on top, one row of filters, grouped rows */
@media(max-width:600px){
 .staff .staff-top:has(.booking-filters):not(.cal-head){gap:10px 8px}
 .staff .staff-top:has(.booking-filters):not(.cal-head)>div:first-child{flex-basis:100%}
 .staff .booking-search{order:1;flex:1 1 0;height:38px;border:0;border-radius:10px;background:var(--fill);color:var(--ink)}
 .staff .booking-search input{font-size:16px}
 .staff .staff-top:has(.booking-filters):not(.cal-head) .staff-view-tools{order:2;align-self:center;margin:0}
 .staff .staff-top:has(.booking-filters):not(.cal-head) .staff-refresh{width:38px;height:38px;min-height:38px;padding:0;border:0;border-radius:19px;background:#fff;box-shadow:0 1px 2px #1a1f1d20}
 .staff .staff-top .booking-filters{order:3;flex-basis:100%;display:flex;gap:0;margin:0;padding:2px;border:0;border-radius:9px;background:var(--fill)}
 .staff .staff-top .booking-filters button{flex:1 1 auto;min-width:0;min-height:32px;padding:0 4px;font-size:13px;white-space:nowrap}
 .staff .staff-top .booking-filters .staff-tab-count{display:none}
 .staff .booking-list{border:0;border-radius:16px}
 .staff .booking-list .booking-row{display:grid;grid-template-columns:86px minmax(0,1fr) auto;gap:2px 12px;align-items:start;padding:12px 14px;min-height:0;border-top:1px solid var(--divider);font-weight:400}
 .staff .booking-list .booking-row:first-of-type{border-top:0}
 .staff .booking-row::before{display:none}
 .staff .booking-row .br-date{grid-column:1;grid-row:1;font-size:14px}
 .staff .booking-row .br-date b{display:block;font-weight:700;white-space:nowrap}
 .staff .booking-row .br-time{grid-column:1;grid-row:2;font-size:13px}
 .staff .booking-row .br-time small{display:none}
 .staff .booking-row .br-client{grid-column:2;grid-row:1;font-size:16px}
 .staff .booking-row .br-client b{font-weight:600}
 .staff .booking-row .br-route{grid-column:2;grid-row:2;font-size:14px;color:var(--ink)}
 .staff .booking-row .br-status{grid-column:3;grid-row:1;font-size:13px;text-align:right}
}
/* Phone: Messages uses the round + for a new conversation, and the open tab is easy to spot */
@media(max-width:600px){
 .staff #messages-new-toggle{display:none}
 .staff-phone-tab svg{box-sizing:content-box;padding:3px 16px;border-radius:14px}
 .staff-phone-tab.active svg{background:var(--tint)}
 .staff-phone-tab.active{color:var(--green);font-weight:800}
}
/* Pieces only phones show */
.clients-search-row{display:flex;align-items:center;gap:8px}
.clients-search-row .clients-search{flex:1 1 0;min-width:0}
.staff .booking-list:has(>.empty){background:none;border:0;box-shadow:none}.staff .booking-list .empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:40vh;padding:0 32px;background:none;border:0}.staff .booking-list .empty .empty-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:32px;background:var(--tint);color:var(--green)}.staff .booking-list .empty h2{margin:0;font:400 24px var(--font-title);text-align:center}
/* Bookings rows group date with time and name with route; only phones stack them */
.booking-row .br-when,.booking-row .br-who{display:contents}
/* Phone: Clients and Messages match the iPhone app's headers and grey search fields; an empty Bookings list is centered */
@media(max-width:600px){
 .staff.clients-screen #staff-new-booking{display:none}
 .staff.settings-page #staff-new-booking{display:none}
 .staff.clients-screen .clients-cols .clients-list-panel{background:none;border:0;border-radius:0;overflow:visible}
 .staff.clients-screen .clients-list-panel .clients-list-tools{padding:0 0 10px;background:none;border:0}
 .staff.clients-screen .clients-list-tools .clients-search{height:38px;border:0;border-radius:10px;background:var(--fill);color:var(--ink);box-shadow:none}
 .staff.clients-screen .clients-list-panel .client-list{background:#fff;border-radius:16px;overflow:hidden}
 .staff.msg-screen .msg-side .msg-search-form{height:38px;border:0;border-radius:10px;background:var(--fill);box-shadow:none}
 .staff.msg-screen .msg-side .msg-search-go{color:var(--ink)}
 .staff input::placeholder{color:var(--ink);opacity:1}
 .staff .booking-list:has(>.empty){background:none;border:0;box-shadow:none}
 .staff .booking-list .empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:55vh;padding:0 32px;background:none;border:0}
 .staff .booking-list .empty .empty-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:32px;background:var(--tint);color:var(--green)}
 .staff .booking-list .empty h2{margin:0;font:400 24px var(--font-title);text-align:center}
}
@media(max-width:600px){
 .staff.clients-screen .clients-list-tools .clients-sort select{height:32px;min-height:32px;border:0;border-radius:10px;background:var(--fill);font-size:15px}
}
@media(max-width:600px){
 .staff.msg-screen .msg-panes .msg-side{background:none;border:0;border-radius:0;overflow:visible}
 .staff.msg-screen .msg-side .msg-side-top{padding:0 0 10px;background:none;border:0}
 .staff.msg-screen .msg-side .msg-search-go{background:none;box-shadow:none}
 .staff.msg-screen .msg-side .msg-new:not([hidden]),.staff.msg-screen .msg-side .msg-convs{background:#fff;border-radius:16px;overflow:hidden}
 .staff.msg-screen .msg-side .msg-new:not([hidden]){padding:12px}
}
/* A list still loading: centered spinner and serif text, like the empty-list state */
.staff-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:240px;padding:40px 20px;text-align:center}
.staff-loading p{margin:0;font:400 20px var(--font-title);color:var(--ink)}
.staff-loading.is-error p{font:600 15px var(--font);color:var(--error)}
.staff-spinner{width:32px;height:32px;box-sizing:border-box;border-radius:50%;border:3px solid var(--tint);border-top-color:var(--green);animation:staff-spin .8s linear infinite}
@keyframes staff-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.staff-spinner{animation-duration:2.4s}}
@media(max-width:600px){
 .staff .booking-list.is-loading{background:none;border:0;box-shadow:none}
 .staff .staff-loading{min-height:55vh;padding:0 32px}
 .staff .staff-loading p{font-size:24px}
}
/* Phone: a plain-text message (no rides, no matches) sits on the page, centered like
   "All Caught Up", never alone in a white panel */
@media(max-width:600px){
 .staff .pc-list:has(>.pc-empty){background:none;border-radius:0;overflow:visible}
 .staff .pc-list .pc-empty,
 .staff.clients-screen .clients-list-panel .clients-empty,
 .staff.msg-screen .msg-side .msg-empty{margin:0;padding:28px 16px;background:none;border:0;text-align:center;font:400 20px var(--font-title);color:var(--ink)}
 .staff.clients-screen .clients-list-panel .client-list:has(>.clients-empty:only-child){background:none}
 .staff.msg-screen .msg-side .msg-convs:has(#messages-inbox>.msg-empty){background:none}
 .staff.msg-screen .msg-side #message-search-results:not(:empty){margin:0;border:0;border-radius:16px;overflow:hidden}
 .staff.msg-screen .msg-side #message-search-results:has(>.msg-empty:only-child){background:none}
 .staff.msg-screen .msg-search:has(#message-search-results>.msg-empty:only-child) #message-search-status{display:none}
}
/* Phone: refresh by pulling down or reloading, so no refresh buttons; a Bookings row keeps
   its time right under the date even when a long name wraps */
@media(max-width:600px){
 .staff .staff-top:has(.booking-filters):not(.cal-head) .staff-view-tools{display:none}
 .staff .booking-list .booking-row .br-when{grid-column:1;grid-row:1;display:flex;flex-direction:column;gap:2px}
 .staff .booking-list .booking-row .br-who{grid-column:2;grid-row:1;display:flex;flex-direction:column;gap:2px;min-width:0}
}
/* No refresh buttons: these screens load and update themselves; refresh is pulling
   down or reloading the page */
#refresh-staff,#refresh-clients,#messages-refresh,#messages-latest,#analysis-refresh,#refresh-job,#activity-refresh,#refresh-errors,#refresh-system,[data-reviews-load],.client-note-reload{display:none!important}
/* Phone: the month summary (rides, money received, balance) is a desktop view */
@media(max-width:600px){.staff .cal-stats{display:none}}
/* Phone: 16px side margins on the policy pages and My Account, like every other page */
@media(max-width:600px){.policy-page{padding:0 16px 40px}.customer-area{padding:16px}}
/* Phone: field text is at least 16px, so iPhone Safari never zooms the page when a field is tapped */
@media(max-width:600px){html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),html body select,html body textarea{font-size:16px!important}}
/* Phone: one look on every staff tab, matching the iPhone app.
   Type: the system font (SF Pro on iPhone, as in the app) for everything except
   serif titles and the centered empty/loading messages. */
@media(max-width:600px){
 body[data-site-page=staff],body[data-site-page=staff] *{font-family:var(--font)!important}
 body[data-site-page=staff] :is(main h1,.staff-loading p,.booking-list .empty h2,.pc-empty,.clients-empty,.msg-side .msg-empty,.msg-empty,.act-empty,.rt-card h2,.client-name,.recovery-card h2,.bw-sheet h3,.msg-sheet h2,.bal-value,.empty-inline,.stat strong,.rpt-panel h2,.bk-sec-title,.bk fieldset>legend){font-family:var(--font-title)!important}
 /* Header rhythm: 28px serif title, 10px to the search box or controls, 10px to the list */
 main .staff .staff-top h1,main .staff .cal-head>div:first-child h1,main .staff.clients-screen .clients-top h1,main .staff.msg-screen .msg-head h1,main .tools-screen .rt-top h1{font-size:28px}
 main .staff.clients-screen .clients-top,main .staff.msg-screen .msg-head,main .staff .staff-top:has(.booking-filters):not(.cal-head){margin-bottom:10px}
 main .staff.msg-screen .msg-search-form input{font-size:16px}
 main .staff .cal-head .calendar-controls .cal-today{font-size:13px;font-weight:700}
 /* List rows, as in the app: 17px semibold name, 15px detail, 12px x 14px padding */
 main .staff .booking-row .br-client,main .staff .pr-m b{font-size:17px}
 main .staff .booking-row .br-route,main .staff .pr-m span{font-size:15px}
 main .staff .booking-row .br-date{font-size:15px}
 main .staff.clients-screen .client-list .client-row{padding:12px 14px}
 main .staff.clients-screen .client-list .client-row strong{font-size:17px;font-weight:600}
 main .staff.clients-screen .client-list .client-row small{font-size:15px}
 main .staff.msg-screen .msg-side .msg-row-name{font-size:17px;font-weight:600}
 main .staff.msg-screen .msg-side .msg-row-sub,main .staff.msg-screen .msg-side .msg-row-when{font-size:15px}
 /* Section labels look like the Calendar's date heading */
 main .staff.msg-screen .msg-side .msg-list-head h2,main .staff .pc-day{font-size:13px;font-weight:600;text-transform:uppercase;color:var(--ink)}
 /* Cards: 16px corners everywhere */
 main .staff .rt-card,main .tools-screen .rt-card{border-radius:16px}
}
/* After a tap, focus moved by the page (opening a booking, closing a dialog) shows no ring;
   pressing a key brings focus rings back */
html[data-input=pointer] :focus-visible{outline:none}
/* Phone booking window: contact, fare and actions belong to Trip Details only */
@media(max-width:600px){#job-dialog .bw:not([data-tab=details]) .bw-side{display:none}}
/* Phone booking window top bar: Back | name | Record Payment, Call, Edit, Cancel */
@media(max-width:600px){
 body #job-dialog .bw .bw-top{grid-template-columns:auto minmax(0,1fr) auto}
 body #job-dialog .bw .bw-top .ib{width:34px}
 body #job-dialog .bw .bw-top .ib svg{width:20px;height:20px}
 body #job-dialog .bw .bw-top-name{padding:0 4px}
}
/* Phone booking window top bar: the title is centered between equal sides (Back on
   the left, icons on the right); on Edit Trip the title is "Edit Trip" itself */
@media(max-width:600px){
 body #job-dialog .bw .bw-top{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
 body #job-dialog .bw .bw-top-name{max-width:calc(100vw - 236px)}
 body #job-dialog .bw .bw-top-actions{justify-self:end}
 body #job-dialog .bw.is-sub .bw-subhead{display:none}
}
/* Phone Edit Trip: the client's name stays centered; a highlighted pencil top right marks editing */
@media(max-width:600px){body #job-dialog .bw .bw-top .bw-editing,body #job-dialog .bw .bw-top .bw-editing:hover{height:34px;min-height:34px;border-radius:17px;background:var(--tint);color:var(--green)}}
@media(max-width:600px){body #job-dialog .bw.is-sub .bw-top-name{max-width:calc(100vw - 180px)}}

/* Driver menus open the picker sheet: the select only shows the value. */
.driver-pick{display:block;cursor:pointer}
.driver-pick select{pointer-events:none}
.pr-drv .driver-pick{display:inline-flex;align-items:center}
#job-dialog .bw .driver-pick{display:inline-block;max-width:100%}
#job-dialog .bw .edit-cell .driver-pick{display:block}
/* Calendar header: the title opens the month picker; Today and Month/Week are icons. */
.staff .cal-head{flex-wrap:nowrap}
.staff .cal-head>div:first-child{flex:1 1 auto;min-width:0}
.staff .cal-head h1{min-width:0}
main .staff .cal-head .cal-title,.staff .cal-head .cal-title{display:inline-flex;align-items:center;gap:6px;width:auto;max-width:100%;font-family:var(--font-title)!important;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;white-space:nowrap;cursor:pointer}
.staff .cal-head .cal-title svg{flex:none;margin-top:4px;color:var(--ink)}
.staff .cal-head .cal-title-short{display:none}
.staff .cal-head .staff-view-tools{flex:none;margin-left:auto;gap:10px;border:0;padding:0}
.staff .cal-head .cal-icon{display:inline-grid;place-items:center;width:40px;min-width:0;height:40px;min-height:40px;padding:0;border:1px solid #c9d2ca;border-radius:6px;background:#fff;color:var(--green)}
.staff .cal-head .cal-views{display:flex;margin:0;padding:3px;border-radius:8px;background:var(--fill);border:1px solid #dde3dc}
.staff .cal-head .cal-views button{display:inline-grid;place-items:center;width:44px;min-height:34px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--ink)}
.staff .cal-head .cal-views button.active{background:#fff;color:var(--green);box-shadow:0 1px 3px #1a1f1d30}
.staff .cal-head .cal-view-toggle{display:none}
.staff .phone-cal .pc-grid{touch-action:pan-y}
@media(max-width:600px){
 main .staff .cal-head{gap:6px;min-height:40px;padding-right:var(--phone-icons-w);align-items:center}
 main .staff .cal-head>div:first-child{flex:1 1 auto}
 main .staff .cal-head>div:first-child h1{padding-right:0}
 main .staff .cal-head .cal-title-full{display:none}
 main .staff .cal-head .cal-title-short{display:inline;overflow:hidden;text-overflow:ellipsis}
 main .staff .cal-head .staff-view-tools{margin:0;gap:6px}
 main .staff .cal-head .cal-views{display:none}
 main .staff .cal-head .cal-icon{width:38px;height:38px;min-height:38px;border:0;border-radius:19px;box-shadow:0 1px 2px #1a1f1d20}
 main .staff .cal-head .cal-view-toggle{display:inline-grid}
 /* Search gets its own full-width row under the title (past the space kept for New Booking and Settings). */
 main .staff .cal-head{flex-wrap:wrap}
 main .staff .cal-head .cal-search{order:5;flex:1 1 calc(100% + var(--phone-icons-w));margin:2px calc(0px - var(--phone-icons-w)) 0 0;min-width:0}
 /* Search replaces Today on the phone: the round button shows the search row (tapping Calendar's month title still reaches today). */
 main .staff .cal-head #this-month{display:none}
 main .staff .cal-head .cal-search-toggle{display:inline-grid}
 main .staff .cal-head:not(.search-open) .cal-search{display:none}
 main .staff .cal-head.search-open .cal-search-toggle{background:var(--green);color:#fff}
}
.staff .cal-head .cal-search-toggle{display:none}
.staff .cal-head .cal-search{flex:0 1 280px;min-width:0}
.staff .cal-head .cal-search .booking-search{width:100%;min-width:0}
/* Month picker sheet. */
.bk-month-year{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:#fff;border-top:1px solid var(--divider)}
.bk-month-year b{font-size:17px}
.bk-month-year button{width:44px;height:44px;display:grid;place-items:center;padding:0;border:0;border-radius:22px;background:var(--soft);color:var(--green)}
.bk-months{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:6px 16px 18px;background:#fff}
.bk-months button{height:52px;min-height:52px;margin:0;padding:0;border:0;border-radius:12px;background:var(--fill);color:var(--ink);font:600 16px var(--font)}
.bk-months button.now{box-shadow:inset 0 0 0 1.5px var(--green);color:var(--green)}
.bk-months button[aria-selected=true]{background:var(--green);color:#fff;box-shadow:none}
body[data-site-page=staff] main .cal-head .cal-title span{font-family:var(--font-title)!important}
/* Week picker: the weeks of one month, styled like the month picker. */
.bk-weeks{display:flex;flex-direction:column;gap:8px;padding:6px 16px 18px;background:#fff}
.bk-weeks button{height:52px;min-height:52px;margin:0;padding:0 16px;border:0;border-radius:12px;background:var(--fill);color:var(--ink);font:600 16px var(--font);text-align:center}
.bk-weeks button.now{box-shadow:inset 0 0 0 1.5px var(--green);color:var(--green)}
.bk-weeks button[aria-selected=true]{background:var(--green);color:#fff;box-shadow:none}
@media(max-width:600px){body[data-site-page=staff] main .cal-head .cal-title.is-week{font-size:22px;letter-spacing:-.6px}}
/* Site header: one row. Clear sits beside the menu on the booking form; Staff and My Account live in the menu. */
#site-header .header-clear{display:flex;align-items:center;gap:7px;min-height:44px;margin:0;padding:0 14px;border:1px solid var(--green);border-radius:6px;background:#fff;color:var(--green);font:700 14px var(--font,inherit);white-space:nowrap;cursor:pointer;box-shadow:0 1px 3px #1a1f1d14}
#site-header .header-clear[hidden]{display:none}
#site-header .header-clear:hover{background:var(--soft)}
#site-header .header-actions{gap:10px}
#site-header .site-menu summary::after,#site-header .site-menu[open] summary::after{content:none}
#site-header .site-menu summary{justify-content:center;min-width:44px;padding:0;color:var(--ink)}
#site-header .site-menu summary svg{display:block}
#site-header .site-menu .menu-close,#site-header .site-menu[open] .menu-bars{display:none}
#site-header .site-menu[open] .menu-close{display:block}
.bk>.customer-form-entry:empty{display:none}
/* Activity: one row per change, grouped by day. */
.act-day{margin:18px 0 6px;font:600 13px var(--font);letter-spacing:.02em;text-transform:uppercase;color:var(--ink)}
#activity-events>.act-day:first-child{margin-top:4px}
.act-list{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}
.act-list li{margin:0}
.act-list li+li{border-top:1px solid var(--divider)}
.act-row{display:grid;grid-template-columns:minmax(0,1fr) auto 16px;align-items:center;gap:3px 12px;width:100%;min-height:64px;margin:0;padding:11px 14px;border:0;border-radius:0;background:#fff;color:var(--ink);text-align:left;font:inherit;text-decoration:none;cursor:pointer}
a.act-row,a.act-row:hover{color:var(--ink);text-decoration:none}
.act-row:hover{background:#f6f8f5}
.act-static{cursor:default}.act-static:hover{background:#fff}
.act-what{grid-column:1;grid-row:1;font:600 17px/1.25 var(--font)}
.act-who{grid-column:1;grid-row:2;font:400 15px/1.3 var(--font)}
.act-who:empty{display:none}
.act-when{grid-column:2;grid-row:1;text-align:right;font:400 15px var(--font);white-space:nowrap}
.act-by{grid-column:2;grid-row:2;text-align:right;font:400 15px var(--font);white-space:nowrap}
.act-go{grid-column:3;grid-row:1/3;color:var(--green)}
.act-empty{margin:24px 0;text-align:center;font:400 20px var(--font-title);color:var(--ink)}
/* Staff sign-in: the brand lockup and one Sign In button, like the app */
.access-screen.staff-signin{display:flex;flex-direction:column;align-items:center;gap:40px;max-width:480px;padding:72px 24px 32px}
.staff-signin .staff-signin-brand{justify-content:center}
.staff-signin #staff-login,.staff-signin #local-login{width:100%;max-width:360px;margin:0;font-size:17px;font-weight:700}
.staff-signin .form-error:empty{display:none}
/* Activity errors: a banner with Try Again, like the app; phones show no second Activity heading under the Settings tabs */
.act-error{display:flex;align-items:center;gap:12px;margin:0 0 12px;padding:12px 14px;border:1px solid #e3c3bc;border-radius:16px;background:#fbeeeb;color:var(--ink)}
.act-error:has(#activity-error:empty){display:none}
.act-error>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.act-error b{font-size:15px;color:var(--error)}
.act-error p{margin:0;font-size:14px}
.act-error button{flex:none;min-height:38px;margin:0;padding:0 14px;border:1px solid var(--green);border-radius:6px;background:#fff;color:var(--green);font:700 14px var(--font)}
@media(max-width:600px){.settings-body .act-title{display:none}}
#activity-trips:not(:empty){margin-top:18px}
@media (min-width:900px){#activity-events,#activity-trips{max-width:760px}}
/* My Devices: the signed-in iPhones, each with Sign Out. */
.dev-status:empty{display:none}
.dev-list{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}
.dev-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:2px 12px;min-height:64px;margin:0;padding:10px 14px}
.dev-row+.dev-row{border-top:1px solid var(--divider)}
.dev-icon{grid-row:1/3;display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:var(--fill);color:var(--green)}
.dev-name{grid-column:2;font:600 17px/1.25 var(--font);color:var(--ink)}
.dev-sub{grid-column:2;font:400 15px/1.3 var(--font);color:var(--ink)}
.dev-out{grid-column:3;grid-row:1/3;min-height:44px;margin:0;padding:0 14px;border:1px solid #e2bdb6;border-radius:10px;background:#fff;color:var(--error);font:600 15px var(--font)}
.dev-out:hover{background:#fbeeeb}
.dev-confirm{margin-top:12px;padding:14px;border:1px solid #e3c3bc;border-radius:16px;background:#fff}
.dev-confirm p{margin:0 0 12px;font-weight:400}
.dev-confirm div{display:flex;gap:10px;flex-wrap:wrap}
.dev-confirm button{min-height:44px;margin:0;padding:0 18px;border:1px solid var(--green);border-radius:10px;background:#fff;color:var(--green);font:600 15px var(--font)}
.dev-confirm .dev-confirm-out{border-color:var(--error);background:var(--error);color:#fff}
.dev-again{min-height:44px;margin:4px 0 0;padding:0 18px;border:1px solid var(--green);border-radius:10px;background:#fff;color:var(--green);font:600 15px var(--font)}
.dev-again[hidden]{display:none}


/* Settings: sections sit on the page (no box around the box); phones get one row of underlined tabs. */
.settings-body{background:none;border:0;border-radius:0;padding:0}
.settings-body h2.settings-title{margin:2px 0 14px}
.settings-body>.settings-card,.settings-mount{max-width:760px}
@media(max-width:860px){
 .settings-page .settings-menu{flex-wrap:nowrap;gap:22px;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--line);margin-bottom:6px}
 .settings-page .settings-menu::-webkit-scrollbar{display:none}
 .settings-page .settings-menu button,.settings-page .settings-menu button.active{flex:none;width:auto;min-height:40px;padding:0 0 9px;border:0;border-bottom:3px solid transparent;border-radius:0;background:none;box-shadow:none;font-size:15px;color:var(--ink)}
 .settings-page .settings-menu button.active{border-bottom-color:var(--green);color:var(--green);font-weight:700}
 .settings-page .settings-menu .settings-signout{margin:0;color:var(--error)}
 .settings-page .settings-menu .settings-site,.settings-page .settings-menu .settings-site+.settings-signout{margin:0}
 .settings-body h2.settings-title{display:none}
 .settings-body{padding:0}
}
/* Lists share the client page's ‹ › pager, centred under the list. */
.page-controls.list-pager{justify-content:center;gap:14px;margin-top:14px}
.page-controls.list-pager[hidden]{display:none}
.page-controls.list-pager button{width:40px;height:40px;min-height:40px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(26,31,29,.14);color:var(--green)}
.page-controls.list-pager button:disabled{opacity:.4}
.page-controls.list-pager span{font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink)}
/* Errors: one row per error, grouped by day; tapping opens the details. */
.err-row{display:grid;grid-template-columns:minmax(0,1fr) auto 16px;align-items:center;gap:3px 12px;width:100%;min-height:64px;margin:0;padding:11px 14px;border:0;border-radius:0;background:#fff;color:var(--ink);text-align:left;font:inherit;cursor:pointer}
.err-row:hover{background:#f6f8f5}
.err-what{grid-column:1;grid-row:1;font:600 17px/1.25 var(--font);overflow-wrap:anywhere}
.err-where{grid-column:1;grid-row:2;font:400 15px/1.3 var(--font)}
.err-when{grid-column:2;grid-row:1;font:400 15px var(--font);white-space:nowrap}
.err-row svg{grid-column:3;grid-row:1/3;color:var(--green);transition:transform .15s}
.err-row[aria-expanded="true"] svg{transform:rotate(180deg)}
.err-more{padding:0 14px 14px;background:#fff}
.err-more[hidden]{display:none}
.err-more button{min-height:44px;margin:0 0 10px;padding:0 16px;border:1px solid var(--green);border-radius:10px;background:#fff;color:var(--green);font:600 15px var(--font)}
.err-more pre{margin:0;padding:10px 12px;border-radius:8px;background:var(--paper);font:13px/1.5 ui-monospace,Consolas,monospace;color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere}
.op-errors .form-error:empty{display:none}
/* Activity and My Devices pagers: shown only when there is another page. */
.act-pager.list-pager{display:none}
.act-pager.list-pager:has(button:not(:disabled)){display:flex}
/* Client Details: the website account they signed in with, and Disconnect. */
.client-website{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.client-website span{min-width:0;overflow-wrap:anywhere}
.client-website-out{min-height:44px;margin:0;padding:0 14px;border:1px solid #e2bdb6;border-radius:10px;background:#fff;color:var(--error);font:600 15px var(--font)}
.client-website-out:hover{background:#fbeeeb}
.client-records [data-website-error]:empty{display:none}
/* Customer My Account: details in one card with labels inside the fields, address rows with a trash icon,
   trips as tappable rows that open their details, and the shared ‹ › pager. */
.customer-area .ca-card{background:#fff;border:1px solid #dde3dc;border-radius:12px;overflow:hidden}
.customer-area .ca-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.customer-area .ca-f{display:flex;flex-direction:column;gap:2px;padding:10px 16px;border-top:1px solid var(--divider);font:700 13px var(--font);color:var(--ink)}
.customer-area .ca-grid .ca-f:nth-child(-n+2){border-top:0}
.customer-area .ca-grid .ca-f:nth-child(even){border-left:1px solid #e6ebe5}
.customer-area .ca-f em{font-style:normal;font-weight:400}
.customer-area .ca-f input,.customer-area .ca-f select{width:100%;min-width:0;padding:0;border:0;border-radius:0;background:none;font:400 16px var(--font);color:var(--ink);outline:0}
.customer-area .ca-sec{margin:24px 0 10px;font:700 16px var(--font)}
.customer-area .customer-address{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 10px;margin:0;padding:8px 6px 8px 16px;border-top:1px solid #e6ebe5}
.customer-area .customer-address:first-child{border-top:0}
.customer-area .customer-address input{grid-column:1;padding:2px 0;border:0;border-radius:0;background:none;outline:0;color:var(--ink)}
.customer-area .customer-address input[name=label]{font:700 15px var(--font)}
.customer-area .customer-address input[name=address]{font:400 15px var(--font)}
.customer-area .customer-address input::placeholder,.customer-area .ca-f input::placeholder{color:#4d5551;font-style:italic}
.customer-area .customer-address button{grid-column:2;grid-row:1/3;width:44px;height:44px;min-height:44px;display:grid;place-items:center;padding:0;border:0;border-radius:8px;background:none;color:var(--error)}
.customer-area .customer-address button:hover{background:#fbeeeb}
.customer-area .ca-add{display:flex;align-items:center;gap:8px;width:100%;min-height:52px;margin:0;padding:0 16px;border:0;border-top:1px solid #e6ebe5;border-radius:0;background:#fff;color:var(--green);font:700 15px var(--font);text-align:left}
.customer-area .ca-save{min-height:50px;margin-top:18px;padding:0 34px}
.customer-area .ca-links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:14px}
.customer-area .ca-link{min-height:44px;margin:0;padding:0;border:0;background:none;color:var(--error);font:600 15px var(--font)}
.customer-area .ca-link:hover{background:none;text-decoration:underline}
.customer-area .ca-seg{display:flex;padding:3px;margin:4px 0 14px;border-radius:9px;background:var(--fill);max-width:420px}
.customer-area .ca-seg button{flex:1;min-height:36px;margin:0;padding:0;border:0;border-radius:7px;background:none;color:var(--ink);font:600 14px var(--font)}
.customer-area .ca-seg button[aria-pressed=true]{background:#fff;color:var(--green);font-weight:700;box-shadow:0 1px 2px #1a1f1d26}
.customer-area .customer-trip-list{max-height:none;overflow:visible;background:#fff;border:1px solid #dde3dc;border-radius:12px}
.customer-area .customer-trip-list:has(> .ca-empty){background:none;border:0}
.customer-area .customer-trip{padding:0;border-bottom:0}
.customer-area .customer-trip+.customer-trip{border-top:1px solid #e6ebe5}
.customer-area .ct-row{display:grid;grid-template-columns:minmax(0,1fr) 16px;align-items:center;gap:2px 12px;width:100%;min-height:64px;margin:0;padding:11px 14px;border:0;border-radius:12px;background:none;color:var(--ink);text-align:left;font:inherit}
.customer-area .ct-row svg{grid-column:2;grid-row:1/4;color:var(--green);transition:transform .15s}
.customer-area .ct-row[aria-expanded="true"] svg{transform:rotate(180deg)}
.customer-area .ct-when{grid-column:1;font:700 16px/1.25 var(--font)}
.customer-area .ct-sub{grid-column:1;font:400 15px/1.3 var(--font);overflow-wrap:anywhere}
.customer-area .ct-state{margin-left:10px;font-style:normal;font-size:14px;color:var(--warm)}
.customer-area .ct-state.is-cancelled,.customer-area .ct-leg .is-cancelled{color:var(--error)}
.customer-area .ct-more{padding:0 14px 14px}
.customer-area .ct-more[hidden]{display:none}
.customer-area .ct-total{margin:0 0 8px;font-weight:600}
.customer-area .ct-leg{display:grid;grid-template-columns:110px minmax(0,1fr);gap:6px 12px;margin:0 0 12px;font-size:15px}
.customer-area .ct-leg+.ct-leg{padding-top:12px;border-top:1px solid #e6ebe5}
.customer-area .ct-leg dt{font-weight:600}
.customer-area .ct-leg dd{margin:0;overflow-wrap:anywhere}
.customer-area .ct-again{min-height:44px;margin:4px 0 0;padding:0 18px;border:1px solid var(--green);border-radius:6px;background:#fff;color:var(--green);font:700 15px var(--font)}
.customer-area .ca-empty{margin:8px 0;font-weight:600}
@media(min-width:900px){.customer-area .ca-form,.customer-area [data-trips],.customer-area .ca-seg{max-width:720px}}
@media(max-width:650px){
 .customer-area .ca-grid .ca-f.ca-wide{grid-column:1/-1}
 .customer-area .ca-grid .ca-f{border-top:1px solid #e6ebe5;border-left:0}
 .customer-area .ca-grid .ca-f:first-child{border-top:0}
 .customer-area .ca-grid .ca-f:nth-child(3){border-left:1px solid #e6ebe5}
 .customer-area .ca-save{width:100%}
}
/* Tools: copy, send, print and download are icon buttons. */
.tools-screen .rt-icon-btn{flex:none;width:44px;height:44px;min-height:44px;display:grid;place-items:center;margin:0;padding:0;border:1px solid var(--green);border-radius:8px;background:#fff;color:var(--green);text-decoration:none}
.tools-screen .rt-icon-btn:hover{background:var(--soft)}
.tools-screen .rt-icon-btn:disabled{opacity:.45}
.tools-screen .rt-download-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;font-size:15px;font-weight:600}
/* Cursor-paged lists show the ‹ › pager only when there is another page. */
.list-pager.auto-hide{display:none}
.list-pager.auto-hide:has(button:not(:disabled)){display:flex}
.list-pager.auto-hide span:empty{display:none}
/* While a page loads its arrows are disabled; a pager that has another page keeps its place. */
.list-pager.auto-hide:has(button[data-available="true"]),.act-pager.list-pager:has(button[data-available="true"]){display:flex}
/* Notifications: the switches sit in one white card like the other lists. */
.pref-list{background:#fff;border:1px solid #dde3dc;border-radius:12px;padding:0 14px}
.pref-list .preference-row{min-height:50px;padding:0}
.pref-list .preference-row:first-child,.pref-list .preference-row[hidden]+.preference-row:first-of-type{border-top:0}
@media(max-width:860px){.settings-body .preference-tool>h2{display:none}}
.customer-area .ct-total{font-size:15px}
.customer-area .ct-leg{grid-template-columns:minmax(0,132px) minmax(0,1fr)}
.tools-screen .rt-print-row .rt-icon-btn{margin-left:auto}
.err-facts{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;margin:0 0 12px;font-size:15px}
.err-facts dt{font-weight:600}
.err-facts dd{margin:0;overflow-wrap:anywhere}
/* Tools: Share sits in the summary card's corner and opens a preview panel. */
.tools-screen .rt-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.tools-screen .rt-card-head h2{margin:0}
dialog.rt-share{position:fixed;inset:auto 0 0 0;margin:0;width:100%;max-width:100%;height:auto;max-height:90dvh;display:none;flex-direction:column;padding:0;border:0;border-radius:18px 18px 0 0;background:#fff;color:var(--ink);box-shadow:0 -8px 30px #1a1f1d33;overflow:hidden}
dialog.rt-share[open]{display:flex}
dialog.rt-share::backdrop{background:#162b2873}
.rt-share-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 12px 8px 18px}
.rt-share-head h2{margin:0;font:400 22px/1.2 var(--font-title)}
.rt-share-head p{margin:2px 0 0;font-size:15px}
.rt-share-x{width:44px;height:44px;min-height:44px;display:grid;place-items:center;margin:0;padding:0;border:0;border-radius:22px;background:#eef1ed;color:var(--ink)}
.rt-share-preview{margin:4px 18px 0;padding:14px 16px;border:1px solid #dde3dc;border-radius:12px;background:#f7f8f5;font:400 15px/1.45 var(--font);white-space:pre-wrap;overflow:auto;min-height:120px}
.rt-share-acts{display:grid;grid-template-columns:1fr;gap:10px;padding:14px 18px 6px}
.rt-share-acts button{min-height:50px;display:inline-flex;align-items:center;justify-content:center;gap:8px;margin:0;padding:0 12px;border:1px solid var(--green);border-radius:8px;background:#fff;color:var(--green);font:700 15px var(--font)}
.rt-share-acts button:disabled{opacity:.45}
dialog.rt-share .rt-note{margin:0 18px;padding-bottom:max(18px,env(safe-area-inset-bottom));font-size:14px}
dialog.rt-share .rt-note:empty{padding-bottom:max(12px,env(safe-area-inset-bottom))}
@media(min-width:700px){
 dialog.rt-share{inset:0;margin:auto;width:min(520px,calc(100vw - 48px));max-height:calc(100dvh - 80px);border-radius:14px;box-shadow:0 20px 60px #1a1f1d40}
 .rt-share-head{padding:18px 16px 10px 24px}
 .rt-share-preview{margin:4px 24px 0}
 .rt-share-acts{display:flex;justify-content:flex-end;padding:16px 24px 8px}
 .rt-share-acts button{min-height:46px;padding:0 18px}
 dialog.rt-share .rt-note{margin:0 24px;text-align:right}
}
/* Softer icon buttons in Tools: round, light tint, no outline. */
.tools-screen .rt-icon-btn{width:40px;height:40px;min-height:40px;border:0;border-radius:20px;background:var(--soft);color:var(--green)}@media(max-width:600px){.tools-screen .rt-icon-btn{width:44px;height:44px;min-height:44px;border-radius:22px}}
.tools-screen .rt-icon-btn:hover{background:#dce8df}
.tools-screen .rt-icon-btn:disabled{opacity:.4}
/* Record a Payment: the round-trip One Payment / Separate Payments switch sits above the amounts. */
#job-dialog .bw #payment-form .arrangement{display:flex;margin:6px 0 4px}
#job-dialog .bw #payment-form .arrangement .seg{flex:1 1 auto;min-width:0;padding:0 8px}
@media(min-width:601px){html #job-dialog .bw .arrangement .seg{font-size:14px}}
#job-dialog .bw #payment-form [data-collect][hidden]{display:none}
/* Edit Trip fees: each fee is a name, an amount and a remove button; + Add a Fee adds a row. */
#job-dialog .bw .edit-mirror .fee-edit{display:grid;grid-template-columns:minmax(0,1fr) 110px 32px;gap:8px;align-items:center;min-height:50px;border-top:1px solid var(--divider)}
#job-dialog .bw .edit-mirror .fee-edit input{width:100%;min-width:0;height:36px;margin:0;padding:6px 10px;border:0;border-radius:10px;background:var(--fill);font:15px var(--font);color:var(--ink)}
#job-dialog .bw .edit-mirror .fee-edit input[name=feeAmount]{text-align:right}
#job-dialog .bw .edit-mirror .fee-edit input::placeholder{color:var(--ink);opacity:.55}
#job-dialog .bw .edit-mirror .fee-edit input:focus{outline:2px solid var(--green);outline-offset:0}
#job-dialog .bw .edit-mirror .fee-x{width:32px;height:32px;min-height:32px;display:grid;place-items:center;margin:0;padding:0;border:0;border-radius:16px;background:#fbeeeb;color:var(--error)}
#job-dialog .bw .edit-mirror .fee-add{display:flex;align-items:center;gap:8px;width:100%;min-height:48px;margin:0;padding:0;border:0;border-top:1px solid var(--divider);border-radius:0;background:none;color:var(--green);font:700 15px var(--font);text-align:left}
#job-dialog .bw .edit-mirror .fee-add:hover{background:none;text-decoration:underline}
/* Staff review: Check Your Trip titles the trip summary; with no notes card the left column takes the width. */
.bk .bk-trip-check{display:flex;flex-direction:column;gap:8px;min-width:0}
@media(min-width:900px){.bk .bk-trip-check{grid-column:1/-1}.bk .bk-review:not(:has(>.bk-checkcard))>.bk-review-left{grid-column:1/-1}}
/* Newer style everywhere: forms use the fare editor's rows (label left, soft grey field right). */
/* Trip window sheets (Edit Contact, Cancel, Text, Short Payment, Refund, Correct Entry) and the pending Fare box. */
html #job-dialog .bw .f{display:grid;grid-template-columns:minmax(0,128px) minmax(0,1fr);align-items:center;gap:6px 12px;min-height:50px;margin:0;padding:6px 0;border:0;border-top:1px solid var(--divider);border-radius:0;background:none;box-shadow:none;font-size:15px}
html #job-dialog .bw .f:focus-within{border-color:var(--divider);box-shadow:none}
html #job-dialog .bw .f>span:first-child{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font:400 15px/1.3 var(--font);white-space:normal}
html #job-dialog .bw .f .opt{margin-left:0}
html #job-dialog .bw .f input,html #job-dialog .bw .f select,html #job-dialog .bw .f textarea{height:36px;min-height:36px;padding:6px 10px;border-radius:10px;background-color:var(--fill);font:15px var(--font)}
html #job-dialog .bw .f select{padding-right:30px;background-position:right 10px center;text-align-last:right}
html #job-dialog .bw .f input[inputmode=decimal]{text-align:right}
html #job-dialog .bw .f textarea{grid-column:1/-1;height:auto;min-height:80px}
html #job-dialog .bw .f :is(input,select,textarea):focus{outline:2px solid var(--green);outline-offset:0}
html #job-dialog .bw .f input::placeholder{color:var(--ink);opacity:.55;font-style:normal}
html #job-dialog .bw .pair{display:block}
html #job-dialog .bw .side-fare .f,html #job-dialog .bw .side-fare .f+.f{margin:0}
html #job-dialog .bw .bw-sheet form{gap:0}
html #job-dialog .bw .bw-sheet form>.f:first-child,html #job-dialog .bw .bw-sheet form>.pair:first-child>.f:first-child{border-top:0}
html #job-dialog .bw .bw-sheet .form-error:not(:empty){margin:10px 0 0}
html #job-dialog .bw .bw-sheet .sheet-actions{margin-top:14px}
/* New Booking: the Booking card for staff (Client, Requested By, Google Email). */
.bk .staff-intake-context select#staff-client{width:100%;min-width:0;padding:0;border:0;background:none;font:400 16px var(--font);color:var(--ink)}
/* Flight Itinerary: Attach Itinerary and a Customer Will Text It toggle in one card. */
.bk .bk-itin-card{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px;background:#fff;border:1px solid var(--line);border-radius:12px}
.bk .bk-itin-card [hidden]{display:none}
.bk .bk-itin-btn,.bk .bk-itin-toggle span{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 16px;border-radius:10px;font:700 15px var(--font);cursor:pointer}
.bk .bk-itin-btn{background:var(--green);color:#fff}
.bk .bk-itin-toggle{position:relative;margin:0}
.bk .bk-itin-toggle input{position:absolute;opacity:0;width:1px;height:1px}
.bk .bk-itin-toggle span{border:1px solid var(--green);background:#fff;color:var(--green)}
.bk .bk-itin-toggle input:checked+span{background:var(--soft);box-shadow:inset 0 0 0 1px var(--green)}
.bk .bk-itin-toggle input:checked+span::before{content:'✓';font-weight:700}
.bk .bk-itin-toggle input:focus-visible+span,.bk .bk-itin-btn:focus-within{outline:3px solid #b57825;outline-offset:2px}
.bk .bk-itin-file{flex:1 1 200px;min-width:0;margin:0;font-size:15px;font-weight:600;overflow-wrap:anywhere}
.bk .bk-itin-file:empty{display:none}
.bk .bk-itin-remove{min-height:40px;margin:0;padding:0 14px;border:1px solid var(--error);border-radius:8px;background:#fff;color:var(--error);font:700 14px var(--font)}
.bk .bk-itin-sec .form-error:empty{display:none}
@media(max-width:650px){.bk .bk-itin-attach,.bk .bk-itin-text,.bk .bk-itin-btn,.bk .bk-itin-toggle,.bk .bk-itin-toggle span{width:100%}}
/* Client Edit Contact: one card of rows. */
html .staff.clients-screen .client-contact-form{display:block;margin:0 0 14px;padding:4px 14px 14px;background:#fff;border:1px solid #dde3dc;border-radius:12px}
html .staff.clients-screen .client-field{display:grid;grid-template-columns:minmax(0,96px) minmax(0,1fr);align-items:center;gap:12px;min-height:50px;margin:0;padding:6px 0;border:0;border-top:1px solid var(--divider);border-radius:0;background:none;box-shadow:none;font:400 15px var(--font)}
html .staff.clients-screen .client-field:first-child{border-top:0}
html .staff.clients-screen .client-field:focus-within{box-shadow:none}
html .staff.clients-screen .client-field span{display:block}
html .staff.clients-screen .client-field input{height:36px;padding:6px 10px;border-radius:10px;background:var(--fill);font:15px var(--font)}
html .staff.clients-screen .client-field input:focus{outline:2px solid var(--green);outline-offset:0}
html .staff.clients-screen .client-field input::placeholder{color:var(--ink);opacity:.55}
html .staff.clients-screen .client-contact-actions{display:flex;gap:10px;margin-top:12px}
html .staff.clients-screen .client-contact-actions .client-btn{flex:1}
/* Tools: fields are soft grey, like the rest of the staff screens. */
html .tools-screen .rt-field{border:0;border-radius:8px;background:var(--fill)}
html .tools-screen .rt-field:focus-within{box-shadow:0 0 0 2px var(--green)}
/* Remaining Ride Price: Edit Trip's rows and fee rows. */
html #job-dialog .bw .remaining-review .remaining-ride{margin:0 0 12px;font-size:15px}
html #job-dialog .bw .remaining-review [data-remaining-price-preview]:not(:empty){padding:10px 12px;border-radius:8px;background:var(--soft);font-size:14px}
/* Recovery Tools: soft grey fields like the rest of the staff screens. */
html .recovery .field{border:0;border-radius:8px;background:var(--fill)}
html .recovery .field:focus-within{box-shadow:0 0 0 2px var(--green)}
html .recovery .field input:disabled,html .recovery .field textarea:disabled{color:var(--ink);opacity:.55}
.bk .staff-intake-context{margin:0;padding:0;border:0}
/* Staff New Booking: Back, New Booking and Start Over on one row. */
html .bk .bk-header.bk-staff-top{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin:0 0 10px}
html .bk .bk-staff-top .bk-top-back{justify-self:start;margin:0;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:var(--soft);color:var(--green)}
html .bk .bk-staff-top .bk-top-back:hover{background:#dde7dc}
html .bk .bk-staff-top h1.bk-title{margin:0;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2}
html .bk .bk-staff-top .bk-save{justify-self:end;margin:0}
html .bk .bk-staff-top .bk-start-over{display:grid;place-items:center;width:44px;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:50%;background:var(--fill);color:var(--green);text-decoration:none}
html .bk .bk-staff-top .bk-start-over:hover{background:var(--tint)}
@media(max-width:650px){html .bk .bk-staff-top .bk-save>.hint{display:none}html .bk .bk-staff-top h1.bk-title{font-size:28px}html .bk .bk-staff-top .bk-start-over{width:44px;padding:0}}
/* Client picker: a search box above the list, phone beneath each name. */
.bk-sheet-search{display:flex;align-items:center;gap:8px;margin:0 16px 12px;padding:0 12px;border-radius:10px;background:var(--fill,#f1f3ef)}
.bk-sheet-search input{flex:1;min-width:0;height:44px;padding:0;border:0;background:none;font:16px var(--font);color:var(--ink);outline:0}
.bk-sheet-search:focus-within{box-shadow:0 0 0 2px var(--green)}
.bk-sheet-search input::-webkit-search-cancel-button{cursor:pointer}
.bk-client-row{display:flex;flex-direction:column;align-items:flex-start;gap:1px;min-width:0;text-align:left}
.bk-client-row small{font-size:14px;color:var(--ink)}
.bk-sheet-list [hidden]{display:none}
.bk-sheet-none{margin:14px 0;text-align:center;font-weight:600}
html .bk .bk-staff-top #back-to-staff{margin:0;min-height:44px}
.bk-sheet:has(.bk-sheet-search){height:78vh}
.bk-sheet-wide .bk-sheet:has(.bk-sheet-search){height:min(600px,80vh)}
.bk-sheet:has(.bk-sheet-search) .bk-sheet-list{flex:1 1 auto;min-height:0}
/* Itinerary card: one photo at a time (tiles with ×), and the Fill Trip From choice */
.ia-body-row{display:flex;flex-direction:column;gap:14px;min-width:0}
.ia-tiles{display:flex;flex-wrap:wrap;gap:14px;padding-top:8px}
.ia-tile{width:66px;display:flex;flex-direction:column;align-items:center;gap:5px}
.ia-tile-shot{position:relative}
.ia-shot{position:relative;display:block;width:66px;height:88px;min-height:0;margin:0;padding:0;border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden;cursor:pointer}
.ia-shot img{display:block;width:100%;height:100%;object-fit:cover}
.ia-shot.ia-flagged{border-color:var(--check)}
.ia-doc{display:grid;place-items:center;width:100%;height:100%;color:var(--green)}
.ia-doc svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ia-veil{position:absolute;inset:0;display:grid;place-items:center;background:#ffffffc8}
.ia-veil-bad{background:#fbf1e3d9;color:var(--warm)}
.ia-veil-bad svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.ia-x{position:absolute;top:-8px;right:-8px;z-index:1;display:grid;place-items:center;width:26px;height:26px;min-height:0;margin:0;padding:0;border:2px solid #fff;border-radius:50%;background:var(--ink);color:#fff;cursor:pointer}
.ia-x::after{content:"";position:absolute;inset:-9px}
.ia-x svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round}
.ia-cap{font-size:13px;line-height:1.2;text-align:center;color:var(--ink)}
.ia-cap-flag{color:var(--warm);font-weight:700}
.ia-add svg,.ia-pick svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ia-add{gap:8px}
.ia-start-after{display:flex;flex-direction:column}
.ia-picker-wrap{position:relative}
.ia-picker{display:flex;align-items:center;gap:10px;width:100%;min-height:0;margin:0;padding:7px 12px 8px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);text-align:left;cursor:pointer}
.ia-picker-text{flex:1;min-width:0}
.ia-picker small{display:block;font-size:12px;font-weight:700;line-height:1.3}
.ia-picker b{display:block;font-size:17px;font-weight:600;line-height:1.35}
.ia-picker b.ia-choose{font-style:italic;font-weight:400}
.ia-picker-needs{background:var(--attention-soft);border-color:var(--attention)}
.ia-picker[aria-expanded=true]{border-color:var(--green);box-shadow:0 0 0 1px var(--green)}
.ia-chev svg{display:block;width:18px;height:18px;fill:none;stroke:var(--ink);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ia-scrim{position:fixed;inset:0;z-index:69;background:#0000004d}
.ia-sheet{position:fixed;left:0;right:0;bottom:0;z-index:70;max-height:72dvh;overflow:auto;padding:10px 12px calc(22px + env(safe-area-inset-bottom));border-radius:14px 14px 0 0;background:var(--paper);box-shadow:0 -8px 24px #162b282e}
.ia-sheet-head{display:flex;align-items:center;justify-content:space-between;padding:2px 4px 10px}
.ia-sheet-head h3{margin:0;font-size:17px}
.ia-sheet-done{min-height:44px;padding:0 8px;border:0;background:none;color:var(--green);font-size:16px;font-weight:700;cursor:pointer}
.ia-list{background:#fff;border-radius:12px;overflow:hidden}
.ia-opt{display:flex;align-items:center;gap:12px;width:100%;min-height:0;margin:0;padding:11px 16px;border:0;border-top:1px solid var(--divider);border-radius:0;background:#fff;color:var(--ink);text-align:left;cursor:pointer}
.ia-opt:first-child{border-top:0}
.ia-opt:hover,.ia-opt:focus-visible{background:#f4f7f3}
.ia-opt-text{flex:1;min-width:0}
.ia-opt b{display:block;font-size:17px;font-weight:700;line-height:1.3}
.ia-opt span{display:block;font-size:15px;line-height:1.35}
.ia-tick{width:22px;height:22px;flex:none;color:var(--green)}
.ia-tick svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.ia-viewer-foot{flex:none;padding:12px 16px calc(16px + env(safe-area-inset-bottom));border-top:1px solid #d9dfd8;background:#fff}
.ia-viewer-foot .ia-button{width:100%}
@media(min-width:760px){
  .ia-content>.ia-head{grid-column:1}
  .ia-content:not(:has(>.ia-start-after))>.ia-head{grid-column:1/-1}
  .ia-content>.ia-start-after{grid-column:2;grid-row:1;flex-direction:row}
  .ia-body-row{flex-direction:row;align-items:flex-start;justify-content:space-between;gap:24px;padding-left:60px}
  .ia-picker-wrap{flex:0 0 340px}
  .ia-scrim{background:transparent}
  .ia-sheet{position:absolute;top:calc(100% + 6px);left:0;right:0;bottom:auto;max-height:none;padding:0;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 10px 30px #1a1f1d26}
  .ia-sheet-head{display:none}
  .ia-content>.ia-notes{margin-left:60px}
}
/* Tools: itineraries the customer said they would text, still not received */
.rt-follow-list{display:flex;flex-direction:column;margin:8px -16px -8px}
.rt-follow{display:flex;align-items:center;gap:12px;width:100%;min-height:0;margin:0;padding:11px 16px;border:0;border-top:1px solid var(--divider);border-radius:0;background:none;color:var(--ink);text-align:left;cursor:pointer}
.rt-follow:hover{background:#f4f7f3}
.rt-follow>span{flex:1;min-width:0}
.rt-follow b{display:block;font-size:17px;font-weight:600;line-height:1.3}
.rt-follow b+span{display:block;font-size:15px;line-height:1.35}
.rt-follow svg{flex:none}
