:root{--ink:#203330;--muted:#586560;--green:#214c43;--paper:#f6f5f0;--line:#d9dfd8;--white:#fff;--warm:#8a4a2e;--soft:#eaf0e9;--error:#a22e22;--font:Arial,Helvetica,sans-serif}
*{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:#16392f}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:Georgia,'Times New Roman',serif;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:#3b5146}.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:Georgia,serif;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:Georgia,serif;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 #20333020;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:#757575}.time-entry select option{color:var(--ink)}.time-entry select option:disabled{color:#757575}.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:#a12626;border-color:#b93b3b;background:white;min-height:44px;font-size:14px;padding:9px 16px}
#job-dialog .danger-button:hover{background:#fff0ef}
#job-dialog .danger-button.primary{background:#a12626;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,#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:#56665f;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:#56665f;margin:18px 0 0;max-width:1000px}.analysis-counts{display:flex;flex-wrap:wrap;gap:28px;margin-top:24px;color:#56665f}.analysis-counts strong{font-size:23px;margin-right:6px;color:#203a34}.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:#56665f}.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:#56665f}.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:32px;margin-bottom:0}
.staff .stats{margin:0 0 14px}
.staff .stat{padding-top:8px;padding-bottom:8px}
.staff .stat strong{font-size:27px}
.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:#20333066}
.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.25fr) minmax(300px,.85fr);gap:80px;align-items:center;min-height:min(660px,calc(100dvh - 235px));padding:44px 0}
.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:3px;text-decoration:none;font-size:19px;font-weight:600;min-height:58px}
.landing-cta:hover{background:#16392f}.landing-cta span{font-size:25px;font-weight:400}

.landing-services{border-top:1px solid var(--line)}
.landing-services section{padding:26px 0;border-bottom:1px solid var(--line)}

.landing-services h2{font-size:26px;margin:0 0 10px}.landing-services p{font-size:16px;color:var(--muted);margin:0}
.landing-footer{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:36px;grid-template-columns:1.1fr 1fr}.landing-copy h1{font-size:43px}
 .landing-services h2{font-size:23px}.landing-services section{padding:20px 0}
}
@media(max-width:650px){
 body:has(.landing) .site-header{padding:16px}
 .landing{padding:0 20px}.landing-hero{display:block;min-height:0;padding:28px 0 20px}
 .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:28px}.landing-services section{padding:16px 0}.landing-services h2{font-size:22px;margin-bottom:6px}
 .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:31px;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{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-step-num{font-size:14px;font-weight:700;margin-right:6px}
.bk-form{display:flex;flex-direction:column;gap:16px;min-height:calc(100vh - 250px)}
.bk-type-section{min-width:0}
.bk-types legend{font-size:18px;font-weight:700;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:6px;background:#fff;font-weight:700;cursor:pointer}
.bk-tile:has(input:checked){border-color:var(--green);background:var(--soft)}
.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-field select[data-empty="true"]{color:var(--muted)}
.bk-field.invalid input,.bk-field.invalid select,.bk-field.invalid textarea{border-color:var(--error)!important}
.bk .time-entry{display:flex;gap:8px}
.bk .time-entry input{flex:1 1 auto;min-width: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"]{font-weight:400;color:var(--muted)}
.bk-warn{padding:6px 10px;border-radius:6px;background:#fff1d6;color:#6b3d00;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-size:18px;font-weight:700}
.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:700}
.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:auto -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-step-num{display:block}
  .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:auto -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}
#site-header [data-staff-link]{min-width:78px}
#site-header .header-contact{max-width:none;padding:0;text-align:right;flex:none}
#site-header .header-contact span{display:none}
#site-header .header-contact a{font-size:16px;min-height:44px;display:flex;align-items:center}
#site-header .site-menu{display:none;margin:0}
.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,#site-header .header-contact{display:none}
 #site-header .site-menu{display:block;margin-left:auto}
 #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 #20333018}
 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}
}
/* 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-block;vertical-align:middle;margin-inline-start:4px;padding:2px 7px;border-radius:999px;background:var(--soft);color:var(--muted);font-size:11px;font-weight:600;line-height:1.4;white-space:nowrap}
[data-airport-fields]{display:contents}
