/* Minimal driver workspace, large controls on phones and desktops. */
.driver-cockpit .dc-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
.driver-cockpit .dc-nav button{font-size:14px;min-height:52px}
.driver-cockpit .dc-nav .icon{width:24px;height:24px}
.driver-cockpit .driver-duty{padding:0;margin:0 0 12px;border:0;background:transparent;box-shadow:none}
.driver-cockpit #driverDutyInfo{font-size:14px;line-height:1.5;margin:0 0 8px;color:#466056}
.driver-cockpit .dc-location-status:empty{display:none}
.driver-cockpit .dc-location-status,.driver-cockpit .dc-sync{font-size:13px;line-height:1.4;color:#52635b}
.driver-cockpit .dc-trip-actions .primary,.driver-cockpit .dc-navigation{min-height:54px;font-size:16px}
.driver-cockpit .dc-trip-actions .secondary{min-height:48px;font-size:14px}
.driver-cockpit .dc-route strong{font-size:17px;line-height:1.4}
.driver-cockpit .dc-card-meta,.driver-cockpit .dc-details,.driver-cockpit .dc-passenger{font-size:15px;line-height:1.5}
.driver-cockpit .dc-payment-note{font-size:15px;line-height:1.5}
.driver-cockpit .dc-page input,.driver-cockpit .dc-page select{min-height:50px;font-size:16px}
.driver-cockpit #returnVehicle{min-height:48px;font-size:15px;width:100%}
.driver-cockpit .dc-help-notice{padding:14px;border-radius:12px;background:#fff3db;color:#61480b;font-size:15px}
.driver-cockpit [data-panel=account] details{margin:0 0 20px}
.driver-cockpit [data-panel=account] button{min-height:48px;font-size:16px}
.driver-cockpit .dc-scope{display:none}
.driver-cockpit .dc-map-toolbar{justify-content:flex-end}
.driver-payment-simple [data-payment-choices]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}
.driver-payment-simple [data-payment-choices] button{min-height:58px;border:1px solid #bdcbc3;border-radius:13px;background:#f4f7f3;color:#1c392c;font:600 16px/1.3 system-ui;padding:12px}
.driver-payment-simple [data-payment-choices] button[aria-pressed=true]{background:#163f2f;color:#fff;border:2px solid #163f2f;box-shadow:0 0 0 2px #c2d7ca}
.driver-payment-simple select[name=method]{display:none}
.driver-payment-simple .check-label{display:flex;align-items:center;gap:12px;font-size:17px;line-height:1.5;margin:20px 0}
.driver-payment-simple .check-label input{width:26px;height:26px;min-width:26px;accent-color:#163f2f}
.driver-payment-simple .staff-actions{display:flex;flex-wrap:wrap;gap:10px}
.driver-payment-simple .staff-actions .primary{flex:1;min-height:56px;font-size:17px}
.driver-payment-simple [data-tip] input{font-size:24px;min-height:56px}
.driver-payment-simple [data-error]:empty,.driver-payment-simple [data-info]:empty{display:none}
.driver-payment-simple [data-direct-tip]{padding:12px;border-radius:12px;background:#edf4ef}
.driver-payment-simple [data-price]{font-size:30px;font-weight:750;margin:12px 0}
.driver-quick-entry [data-passkey-login]{min-height:56px;font-size:18px}
@media(max-width:420px){.driver-cockpit .dc-route strong{font-size:16px}.driver-cockpit .dc-sheet-body{padding:14px}.driver-payment-simple [data-payment-choices] button{font-size:15px}}

/* Fixed driving screen: map, essential order information, one next action. */
.driver-cockpit{grid-template-rows:calc(56px + env(safe-area-inset-top)) minmax(0,1fr) calc(54px + env(safe-area-inset-bottom));max-width:none}
.driver-cockpit .dc-header{display:flex;gap:10px;padding:6px 14px;padding-top:calc(6px + env(safe-area-inset-top));border-bottom:0}
.driver-cockpit .dc-header .dc-brand{font-size:19px;gap:6px;order:0}
.driver-cockpit .dc-brand small{font-size:7px;letter-spacing:1.5px;margin-top:4px}
.driver-cockpit .dc-brand>.icon{width:26px;height:26px}
.driver-cockpit .dc-header [data-online-slot]{margin-left:auto;order:1}
.driver-cockpit .dc-header .dc-avatar{order:2;width:44px;height:44px;min-width:44px}
.driver-cockpit #toggleOnline{min-width:128px;width:128px;min-height:44px;padding-left:12px;font-size:12px}
.driver-cockpit .dc-drive{grid-template-rows:minmax(64px,1fr) max-content;grid-template-columns:minmax(0,1fr)}
.driver-cockpit .dc-sheet{min-height:0;max-height:none;border-radius:20px 20px 0 0;overflow:visible}
.driver-cockpit .dc-sheet-heading{display:none}
.driver-cockpit .dc-sheet-body{overflow:visible;max-height:none;padding:12px 16px 10px}
.driver-cockpit .dc-focus-trip{display:grid;gap:8px;margin:0;padding:0}
.driver-cockpit .dc-focus-top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:29px}
.driver-cockpit .dc-focus-top>div{display:flex;align-items:baseline;gap:10px;min-width:0}
.driver-cockpit .dc-focus-top>div>strong{font-size:20px;white-space:nowrap}
.driver-cockpit .dc-focus-top>div>span{font-size:12px;color:#56685c}
.driver-cockpit .dc-focus-top .dc-fare{font-size:23px;white-space:nowrap}
.driver-cockpit .dc-focus-trip>.dc-route{gap:8px}
.driver-cockpit .dc-focus-trip>.dc-route>div{min-height:42px;align-items:flex-start;gap:10px}
.driver-cockpit .dc-focus-trip>.dc-route i{margin-top:16px;width:10px;height:10px}
.driver-cockpit .dc-focus-trip>.dc-route span{min-width:0}
.driver-cockpit .dc-focus-trip>.dc-route small{font-size:9px;line-height:12px;letter-spacing:.6px}
.driver-cockpit .dc-focus-trip>.dc-route strong{font-size:16px;line-height:20px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.driver-cockpit .dc-focus-person{min-width:0;display:grid;gap:2px;font-size:15px;line-height:19px}
.driver-cockpit .dc-focus-person strong,.driver-cockpit .dc-focus-person span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.driver-cockpit .dc-focus-person span{color:#5d6b62;font-size:12px}
.driver-cockpit .dc-focus-person span:empty{display:none}
.driver-cockpit .dc-focus-payment{display:flex;align-items:center;gap:6px;color:#21553d;font-size:13px;line-height:19px;font-weight:650}
.driver-cockpit .dc-focus-payment .icon{width:16px;height:16px}
.driver-cockpit .dc-focus-payment span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.driver-cockpit .dc-focus-links{display:grid;grid-template-columns:minmax(0,1fr) 104px;gap:8px}
.driver-cockpit .dc-focus-links .dc-navigation,.driver-cockpit .dc-detail-button{min-height:46px;padding:8px;font-size:14px;margin:0;border:1px solid #d3dfd3;border-radius:10px;background:#f3f6ee;display:flex;align-items:center;justify-content:center;gap:6px;color:#183d2c;font-weight:700}
.driver-cockpit .dc-detail-button .icon{width:16px;height:16px}
.driver-cockpit .dc-focus-trip>.dc-trip-actions{position:static;display:grid;gap:6px;padding:0;background:transparent}
.driver-cockpit .dc-focus-trip>.dc-trip-actions .primary{min-height:52px;font-size:17px;border-radius:12px}
.driver-cockpit .dc-focus-trip>.dc-trip-actions p{margin:0;font-size:13px;line-height:18px}
.driver-cockpit [data-dispatched-result]:empty{display:none}
.driver-cockpit .dc-nav{padding:4px 12px calc(4px + env(safe-area-inset-bottom));grid-template-columns:repeat(2,minmax(0,1fr))}
.driver-cockpit .dc-nav button{min-height:44px;flex-direction:row;gap:8px;font-size:13px}
.driver-cockpit .dc-nav .icon{width:21px;height:21px}
.driver-cockpit .dc-nav b{left:auto;right:12px;top:3px}
.driver-cockpit .dc-map-toolbar{top:12px;right:14px;left:14px}
.driver-cockpit .dc-location{bottom:22px;font-size:10px;padding:3px 6px;max-width:70%}
.driver-cockpit .dc-alert{position:absolute;left:12px;right:70px;top:12px;min-height:44px;border:1px solid #e7cf91;border-radius:10px;background:#fff3d9;color:#694d0b;font-size:12px;font-weight:650;padding:7px 10px;text-align:left;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.driver-cockpit .dc-offer-toggle{width:100%;min-height:44px;border:1px solid #ccdacf;border-radius:10px;background:#eef5ef;color:#16472e;font-size:14px;font-weight:650;margin:0 0 8px}
.driver-cockpit .dc-operation-notice{font-size:11px;padding:5px 9px;margin:0 0 6px!important}
.driver-cockpit .dc-empty{padding:12px 0 20px}
.driver-cockpit .dc-empty-icon{display:none}
.driver-cockpit .dc-page #logout{width:100%;min-height:48px;margin:14px 0;font-size:16px;border-radius:12px}
.driver-cockpit .dc-page [data-status-slot]{margin-bottom:14px}
.driver-cockpit .dc-page #driverMode p{font-size:14px}
.driver-cockpit .dc-trip-dialog{position:fixed;inset:0;margin:auto;width:min(480px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);overflow:auto;padding:20px;border:0;border-radius:18px;background:#fff;color:#163c2a}
.driver-cockpit .dc-trip-dialog::backdrop{background:#071c1480}
.driver-cockpit .dc-trip-dialog .dc-dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.driver-cockpit .dc-trip-dialog h2{margin:0;font-size:23px}
.driver-cockpit .dc-dialog-heading button{border:0;border-radius:50%;width:44px;height:44px;display:grid;place-items:center;background:#eef3ef;color:#173e2b}
.driver-cockpit .dc-trip-dialog .secondary,.driver-cockpit .dc-step-dialog .primary{width:100%;min-height:48px;margin:8px 0 0;font-size:16px}
.driver-cockpit .dc-full-trip>.dc-trip-actions:empty{display:none}
.driver-cockpit .dc-step-dialog label{display:block;font-size:16px;margin:18px 0}
.driver-cockpit .dc-step-dialog input{width:100%;min-height:52px;font-size:24px}
.driver-cockpit .dc-step-dialog .check-label{display:flex;gap:10px;align-items:center}
.driver-cockpit .dc-step-dialog input[type=checkbox]{width:24px;height:24px;min-height:24px}
.driver-cockpit-active .toast{top:calc(64px + env(safe-area-inset-top));font-size:14px}
/* The standard payment confirmation fits a portrait phone without typing. */
.driver-payment-simple h2{font-size:24px!important}
.driver-payment-simple [data-price]{font-size:26px!important;margin:8px 0!important}
.driver-payment-simple [data-payment-choices]{gap:8px;margin:10px 0}
.driver-payment-simple [data-payment-choices] button{min-height:48px;padding:8px;font-size:15px}
.driver-payment-simple .check-label{font-size:16px;line-height:1.35;margin:12px 0}
.driver-payment-simple [data-info]{margin:8px 0}
.driver-payment-simple [data-optional-tip]{min-height:40px;margin:0;font-size:13px}
.driver-payment-simple .staff-actions{gap:8px;margin-top:10px}
.driver-payment-simple .staff-actions .primary{min-height:52px;font-size:15px}
.driver-payment-simple .staff-actions .secondary{min-height:52px;font-size:15px}
@media(max-width:360px){
 .driver-cockpit .dc-header{gap:6px;padding-left:10px;padding-right:10px}
 .driver-cockpit .dc-brand>.icon{display:none}
 .driver-cockpit .dc-sheet-body{padding:10px 12px 8px}
 .driver-cockpit .dc-focus-trip{gap:6px}
 .driver-cockpit .dc-focus-top>div>strong{font-size:18px}
 .driver-cockpit .dc-focus-top .dc-fare{font-size:21px}
 .driver-cockpit .dc-focus-top>div{gap:6px}
}
@media(max-height:660px){
 .driver-cockpit .dc-focus-trip{gap:5px}
 .driver-cockpit .dc-sheet-body{padding-top:9px;padding-bottom:8px}
 .driver-cockpit .dc-focus-person span{font-size:11px}
}
.driver-payment-simple .dc-payment-reference{font-size:12px;color:#5b6c60;margin:0 0 8px}
.driver-cockpit #toggleOnline{min-width:144px;width:144px}
.driver-payment-simple{padding:14px!important;inset:0!important;margin:auto!important}
.driver-payment-simple .staff-actions{display:grid!important;grid-template-columns:72px minmax(0,1fr);align-items:stretch}
.driver-payment-simple .staff-actions button{margin:0!important;padding:8px!important}
.driver-payment-simple [data-additional]{font-size:12px;margin:4px 0}
.driver-payment-simple [data-additional]>summary{padding:8px 0;min-height:32px}
.driver-payment-simple [data-info]{font-size:12px!important;line-height:1.35!important}
.driver-payment-simple [data-payment-choices] button{line-height:1.2;min-height:46px}
.driver-cockpit .dc-trip-dialog,.driver-payment-simple{transform:none!important}
.driver-payment-simple [data-additional]{padding:0!important;border:0!important}
.driver-payment-simple [data-additional]>summary{font-size:12px!important;line-height:18px;padding:6px 0!important;min-height:32px}
.driver-payment-simple form>label:not(.check-label){margin:0!important}
.driver-payment-simple [data-price]{line-height:30px!important}
.driver-cockpit .dc-focus-arrival{margin:0;font-size:12px;line-height:17px;color:#725015;background:#fff4dc;padding:3px 6px;border-radius:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.driver-payment-prepaid{inset:0!important;margin:auto!important;transform:none!important;padding:18px!important}
.driver-payment-prepaid h2{font-size:24px!important;margin:0 0 16px!important}
.driver-payment-prepaid .dc-prepaid-box{padding:14px;background:#edf7f2;border-radius:12px}
.driver-payment-prepaid [data-paid-amount]{font-size:32px;font-weight:750;margin:8px 0}
.driver-payment-prepaid .dc-prepaid-box p{margin:8px 0}
.driver-payment-prepaid button{width:100%;min-height:52px;margin:8px 0 0;font-size:16px}

/* Compact sequential orders; additional details contain only supplementary facts. */
.driver-cockpit .dc-next-instruction{font-size:13px;line-height:17px;margin:0;color:#184d36;font-weight:650}
.driver-cockpit .dc-focus-person{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}
.driver-cockpit .dc-focus-person span{max-width:190px;font-size:11px}
.driver-cockpit .dc-focus-trip>.dc-route>div{min-height:36px}
.driver-cockpit .dc-focus-trip>.dc-route{gap:4px}
.driver-cockpit .dc-focus-trip>.dc-route strong{font-size:15px;line-height:18px}
.driver-cockpit .dc-connection{position:absolute;bottom:5px;left:14px;font:600 10px/14px system-ui;color:#5d645f;background:#fffffff2;padding:2px 6px;border-radius:5px;max-width:80%}
.driver-cockpit .dc-connection[data-connected=true]{color:#165638}
.driver-cockpit .dc-page-heading{margin-bottom:10px}
.driver-cockpit [data-orders-slot]>.driver-shift-queue{border:0;padding:0;margin:0;box-shadow:none;background:transparent}
.driver-cockpit .driver-shift-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 8px}
.driver-cockpit .driver-shift-title h3{font-size:15px;margin:0}
.driver-cockpit .driver-shift-title button{min-height:44px;font-size:13px;padding:8px 10px}
.driver-cockpit .driver-shift-queue .field-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 8px}
.driver-cockpit .driver-shift-queue label{font-size:11px;margin:0}
.driver-cockpit .driver-shift-queue input,.driver-cockpit .driver-shift-queue select{min-height:44px;padding:8px;font-size:13px;width:100%;min-width:0}
.driver-cockpit [data-shift-status]:empty{display:none}
.driver-cockpit [data-shift-totals]{font-size:12px;color:#596c60;margin-bottom:6px}
.driver-cockpit [data-shift-items]{display:grid;gap:0}
.driver-cockpit .dc-order-row{display:grid;grid-template-columns:63px minmax(0,1fr) 44px;gap:9px;align-items:center;padding:12px 0;margin:0;border-bottom:1px solid #e3e9e2;background:none}
.driver-cockpit .dc-order-time{align-self:start;display:grid;gap:4px}
.driver-cockpit .dc-order-time strong{font-size:18px;line-height:22px}
.driver-cockpit .dc-order-time small{font-size:10px;line-height:13px;color:#567260}
.driver-cockpit .dc-order-route{display:grid;gap:3px;min-width:0;font-size:13px;line-height:17px}
.driver-cockpit .dc-order-route strong,.driver-cockpit .dc-order-route>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.driver-cockpit .dc-order-route small{font-size:11px;color:#617266}
.driver-cockpit .dc-order-open{width:44px;min-height:48px;display:grid;place-items:center;padding:0;border:0;border-radius:10px;background:#edf3ec;color:#184c35}
.driver-cockpit .dc-order-warning{grid-column:1/-1;margin:0;font-size:12px;color:#805c12}
.driver-cockpit .dc-extra-reference{font-size:12px;color:#67766b}
.driver-cockpit .dc-contact{display:flex;align-items:center;gap:8px;min-height:48px;color:#155335}
.driver-cockpit .dc-trip-dialog li{margin:10px 0}
.driver-cockpit .dc-trip-dialog li a{display:block;padding:10px 0}
@media(max-width:360px){.driver-cockpit .dc-focus-person{grid-template-columns:1fr}.driver-cockpit .dc-focus-person span{max-width:100%}}

/* Unified open queue and explicit duty break. */
.driver-cockpit .dc-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
.driver-cockpit #toggleOnline[data-paused=true]{background:#8a600e!important;color:#fff!important}
.driver-cockpit .dc-order-day{margin:14px 0 0;font-size:14px;font-weight:750;color:#496352}
.driver-cockpit .driver-shift-queue .field-grid{grid-template-columns:1fr}
.driver-cockpit .driver-shift-title h3{font-size:14px;margin:0}
.driver-cockpit .driver-shift-queue [data-shift-status]:empty{display:none}
.driver-cockpit .dc-order-warning{font-size:12px;color:#8a5a10}
/* Map first; the entire booking stays readable underneath on narrow screens. */
.driver-cockpit .dc-drive{display:flex;flex-direction:column;overflow:auto;overscroll-behavior:contain}
.driver-cockpit .dc-map-area{flex:none;width:100%;height:32dvh;min-height:215px;max-height:380px}
.driver-cockpit .dc-sheet{flex:none;width:100%;min-height:0;max-height:none;border-radius:0;overflow:visible}
.driver-cockpit .dc-sheet-body{overflow:visible;padding:14px 16px 20px}
.driver-cockpit .dc-focus-top>div{display:block}
.driver-cockpit .dc-focus-top>div>strong{display:block;font-size:28px;line-height:1.15}
.driver-cockpit .dc-focus-top>div>strong>small{display:block;font-size:12px;color:#617064;margin-bottom:4px}
.driver-cockpit .dc-focus-top>div>span{display:none}
.driver-cockpit .dc-next-instruction{margin:0;font-size:14px}
.driver-cockpit .dc-trip-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:6px 0}
.driver-cockpit .dc-trip-facts>div{border:1px solid #dce7dc;background:#f4f7f0;border-radius:12px;padding:9px 5px;text-align:center;min-width:0}
.driver-cockpit .dc-trip-facts dd{margin:0;font-size:29px;line-height:1.1;font-weight:800;color:#173f2c;font-variant-numeric:tabular-nums}
.driver-cockpit .dc-trip-facts dt{font-size:12px;line-height:1.3;margin-top:5px;color:#465e4c;overflow-wrap:anywhere}
.driver-cockpit .dc-focus-trip>.dc-route strong{display:block;overflow:visible;font-size:17px;line-height:1.35;-webkit-line-clamp:unset}
.driver-cockpit .dc-focus-person{display:flex;flex-wrap:wrap;font-size:16px}
.driver-cockpit .dc-focus-person strong,.driver-cockpit .dc-focus-person span{white-space:normal;max-width:none}
.driver-cockpit .dc-trip-actions .primary{min-height:58px!important;font-size:20px!important}
.driver-cockpit .dc-route-banner{position:absolute;top:12px;left:12px;right:68px;display:grid;gap:3px;background:#153e2ef5;color:#fff;padding:11px 14px;border-radius:14px;box-shadow:0 3px 15px #10271d30;pointer-events:none;z-index:2}
.driver-cockpit .dc-route-banner strong{font-size:20px;line-height:1.2}.driver-cockpit .dc-route-banner span{font-size:13px;line-height:1.3}
.driver-cockpit .dc-route-car{font-size:26px;color:#1769ee;line-height:30px;background:#fff;border:3px solid #fff;box-shadow:0 0 0 2px #1769ee;border-radius:50%;width:30px;height:30px;text-align:center}
.driver-cockpit .dc-route-retry{position:absolute;left:12px;top:100px;background:#fff;color:#163f2d;border:1px solid #abc0b1;border-radius:10px;padding:12px;z-index:3}
.driver-cockpit .dc-route-stops{position:absolute;left:12px;right:60px;top:90px;width:calc(100% - 72px);max-width:400px;font-size:13px;min-height:40px;z-index:3;background:#fff}
.driver-cockpit .dc-location{display:none}.driver-cockpit .dc-connection{bottom:28px!important;font-size:10px!important;pointer-events:none}
.driver-cockpit .dc-map .work-route-credit{bottom:0;left:0;max-width:85%;font-size:8px;line-height:10px;z-index:2;pointer-events:none}
@media(min-width:760px){.driver-cockpit .dc-sheet-body{max-width:760px;width:100%;margin:auto}.driver-cockpit .dc-map-area{height:40dvh;max-height:500px}.driver-cockpit .dc-trip-facts{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-height:650px){.driver-cockpit .dc-map-area{height:205px;min-height:205px}}
.driver-cockpit .dc-focus-trip>.dc-trip-actions{position:sticky;bottom:0;z-index:4;background:#fff;padding:8px 0;box-shadow:0 -8px 12px #ffffffed}
/* Simple driver flow, 19 October: readable amounts, one final switch. */
.driver-fare-sheet{width:min(94vw,480px);max-height:94dvh;box-sizing:border-box;overflow:auto;border:1px solid #bbcbbf;border-radius:22px;padding:20px;color:#173d2c;background:#fff}
.driver-fare-sheet form{display:grid;gap:12px}.driver-fare-sheet h2,.driver-fare-sheet p{margin:0}.driver-fare-sheet label{display:grid;gap:6px;font-size:15px;font-weight:650}.driver-fare-sheet select,.driver-fare-sheet input:not([type=checkbox]){width:100%;box-sizing:border-box;min-height:48px;border:1px solid #b1c5b5;border-radius:12px;padding:10px;font:inherit;background:#f4f7ef}.driver-fare-sheet .dc-money-field input{min-height:88px;font-size:clamp(36px,11vw,52px);font-weight:850;line-height:1.1;font-variant-numeric:tabular-nums;box-shadow:0 5px 0 #d4dfd1,inset 0 2px 0 white;background:linear-gradient(145deg,#fff,#edf4e8);border-bottom:4px solid #a7bda6}.driver-fare-sheet fieldset{border:0;padding:0;margin:0;display:grid;gap:6px}.driver-fare-sheet .dc-reason{display:flex;align-items:center;gap:10px;min-height:44px;padding:5px 9px;border:1px solid #d3dfd3;border-radius:10px;font-size:14px}.driver-fare-sheet [type=checkbox]{width:22px;height:22px;accent-color:#176849}.driver-fare-sheet .dc-fare-delta{font-size:20px;font-weight:750}.driver-fare-sheet .dc-fare-review,.driver-fare-sheet details{font-size:13px}.driver-fare-sheet .primary{min-height:54px;border-radius:13px}.driver-fare-sheet [hidden]{display:none!important}.driver-fare-sheet [data-error]:empty,.driver-fare-sheet [data-delta]:empty{display:none}
.driver-payment-simple .dc-finish-switch{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:64px;padding:12px 16px;background:#eaf3e7;border:1px solid #afc5ae;border-radius:16px;font-size:20px;font-weight:750;cursor:pointer}.dc-finish-switch input{position:absolute;opacity:0;width:100%;height:100%;inset:0;margin:0;cursor:pointer}.dc-finish-switch i{width:64px;height:36px;border-radius:24px;background:#9bac9b;flex:none;position:relative;pointer-events:none}.dc-finish-switch i:after{content:'';position:absolute;top:4px;left:4px;width:28px;height:28px;border-radius:50%;background:#fff;box-shadow:0 2px 4px #0003;transition:transform .16s}.dc-finish-switch input:checked+i{background:#176849}.dc-finish-switch input:checked+i:after{transform:translateX(28px)}.dc-finish-switch:focus-within{outline:3px solid #37744c;outline-offset:3px}.driver-payment-simple .dc-payment-statement{font-size:14px;margin:10px 0}.driver-payment-simple [data-payment-choices] button{min-height:56px;font-size:16px}.driver-payment-simple [data-price]{font-size:34px!important;line-height:1.2!important}.driver-payment-simple button[hidden]{display:none!important}
.dc-route-next-address{display:block;font-size:13px;line-height:1.3;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dc-route-advance{position:absolute;bottom:14px;left:14px;right:14px;z-index:4;min-height:48px;border:1px solid #a9bdab;border-radius:12px;background:#fff;color:#17402a;font-weight:700}.driver-cockpit .dc-trip-facts dd{font-size:25px}.driver-cockpit .dc-trip-facts dt{font-size:11px}


/* Price comparison stays legible in the same mobile sheet. */
.driver-fare-sheet .dc-money-field input:disabled{font-size:clamp(24px,6vw,32px);opacity:1;color:#596963;background:#edf1eb;-webkit-text-fill-color:#596963}
.driver-fare-sheet .dc-fare-delta{padding:12px;border-radius:12px;background:#edf4e8;line-height:1.35;font-variant-numeric:tabular-nums}
.driver-fare-sheet fieldset legend{font-size:15px;font-weight:750;margin-bottom:8px}
.driver-fare-sheet .dc-reason{cursor:pointer}.driver-fare-sheet .dc-reason:has(input:checked){border-color:#176849;background:#e7f4e8}
.driver-fare-sheet .dc-money-field input:focus-visible{outline:3px solid #176849;outline-offset:3px}

.dc-finish-swipe{display:grid;gap:9px;margin:14px 0}.dc-swipe-title{font-weight:750;font-size:16px}.dc-swipe-track{--progress:0%;position:relative;min-height:64px;border-radius:32px;background:linear-gradient(90deg,#bbd8b9 var(--progress),#e4eee0 var(--progress));border:1px solid #9fba9e;display:grid;align-items:center;box-shadow:inset 0 2px 4px #143c351a}.dc-swipe-track>span{text-align:center;font-weight:700;font-size:15px;padding-left:40px;color:#164e35;pointer-events:none}.dc-swipe-track input[type=range]{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;background:transparent;border:0;-webkit-appearance:none;appearance:none;touch-action:pan-y;cursor:grab}.dc-swipe-track input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:58px;height:58px;border-radius:50%;background:#176849;border:3px solid white;box-shadow:0 2px 5px #143c3533}.dc-swipe-track input[type=range]::-moz-range-thumb{width:52px;height:52px;border-radius:50%;background:#176849;border:3px solid white}.dc-swipe-track input:focus-visible{outline:3px solid #176849;outline-offset:3px}.dc-finish-swipe details{font-size:12px}.dc-finish-swipe details button{margin-top:8px;width:100%}

/* Fare fields: one bounded mobile section, editable readings and inline reason bar. */
.driver-fare-sheet{margin:auto;max-height:calc(100dvh - 24px);padding:18px}
.driver-fare-sheet form,.driver-fare-sheet header{min-width:0}.driver-fare-sheet header{display:grid;gap:5px}
.driver-fare-sheet .dc-fare-block{display:grid;gap:12px;min-width:0;border:1px solid #b6ccbb;border-radius:16px;background:#f7faf5;padding:14px}
.driver-fare-sheet .dc-money-field{font-size:16px}.driver-fare-sheet .dc-money-field input{min-width:0;min-height:76px;font-size:clamp(32px,10vw,48px)}
.driver-fare-sheet .dc-money-field input::placeholder{font-size:32px;color:#78867c;opacity:1}
.driver-fare-sheet .dc-fare-block small{font-size:12px;line-height:1.4;color:#52645a}.driver-fare-sheet #meter-hint{margin-top:-5px}
.driver-fare-sheet .dc-fare-comparison{display:grid;gap:3px;padding:12px;border:1px solid #bfd5c4;border-radius:12px;background:#e9f3e6}
.driver-fare-sheet .dc-fare-comparison>span{font-size:14px;font-weight:650}.driver-fare-sheet .dc-fare-comparison>strong{font-size:30px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.driver-fare-sheet .dc-reason-bar{display:flex;gap:8px;flex-wrap:wrap;min-width:0}
.driver-fare-sheet .dc-reason-bar .dc-reason{flex:1 1 120px;min-width:0;min-height:44px;padding:8px;border-radius:12px;background:#fff;font-size:13px;line-height:1.3;overflow-wrap:anywhere}
.driver-fare-sheet .dc-reason-bar .dc-reason input{flex:none;width:18px;height:18px;margin:0}.driver-fare-sheet .dc-reason-bar .dc-reason:has(input:checked){background:#e0eedf;border-color:#176849}
.driver-fare-sheet .dc-fare-block fieldset{min-width:0}.driver-fare-sheet .dc-fare-block fieldset legend{margin:0;padding:0}
.driver-fare-sheet [data-error]{font-size:14px;color:#973a26}.driver-fare-sheet .primary{width:100%;font-size:16px}

/* Persistent arrival reminder, within the map's right edge. */
.dc-taximeter-reminder{position:absolute;right:12px;top:70px;z-index:8;width:min(170px,44%);display:flex;align-items:center;gap:8px;padding:12px;border:2px solid #b31924;border-radius:14px;background:#fff5f5;color:#a7111e;box-shadow:0 4px 18px #78111a22;font-size:14px;line-height:1.3;animation:dc-meter-pulse 2s ease-in-out infinite;pointer-events:none}
.dc-taximeter-reminder[hidden]{display:none!important}.dc-taximeter-reminder>span{display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:50%;background:#b31924;color:white;font-weight:800}
@keyframes dc-meter-pulse{0%,100%{border-color:#b31924;background:#fff5f5}50%{border-color:#ed4551;background:#ffe0e3}}
@media(prefers-reduced-motion:reduce){.dc-taximeter-reminder{animation:none}}
.dc-fare-instruction{font-size:16px;line-height:1.4;margin:0 0 14px;color:#173e31}

/* Sequential automatic fare flow */
.dc-auto-fare{max-width:440px!important;padding:20px!important}.dc-auto-fare h2{font-size:24px;line-height:1.2;margin:8px 0}.dc-auto-fare p{margin:8px 0 14px}.dc-auto-fare .dc-money-field{margin:14px 0}.dc-auto-fare .dc-money-field input{font-size:38px!important;min-height:76px!important}.dc-auto-fare input[readonly]{color:#245648;background:#edf3ef}.dc-auto-fare .primary,.driver-payment-simple [data-finish-swipe] .primary,.driver-payment-prepaid [data-prepaid-swipe] .primary{width:100%;min-height:54px}.dc-auto-fare [data-start-swipe]{margin:24px 0}.dc-auto-fare [data-error]:empty{display:none}.dc-auto-fare details:not([open]){margin:10px 0}.driver-payment-simple:has([data-payment-choices]) label:has(select[name=method]){display:none}

/* Larger route area; manual zoom stays until overview/follow is selected. */
.driver-cockpit .dc-map-area{height:54dvh;min-height:340px;max-height:720px}
.driver-cockpit.dc-map-expanded .dc-map-area{height:78dvh;max-height:none}
.driver-cockpit .dc-map-toolbar{z-index:5;gap:8px}
.driver-cockpit .dc-expand-map{pointer-events:auto;position:absolute;right:0;top:54px;min-height:44px;padding:8px 10px;border:1px solid #bfcec3;border-radius:12px;background:#fff;color:#173e2c;font-size:12px;font-weight:700;box-shadow:0 2px 7px #142d2420}
.driver-cockpit .dc-route-modes{position:absolute;left:12px;bottom:48px;display:flex;gap:4px;padding:4px;background:#fff;border-radius:12px;z-index:4;box-shadow:0 2px 9px #142d2420}
.driver-cockpit .dc-route-modes button{min-height:40px;padding:7px 12px;border:0;border-radius:9px;background:#edf3ed;color:#173e2c;font:600 13px system-ui}
.driver-cockpit .dc-route-modes button[aria-pressed=true]{background:#176849;color:#fff}
.driver-cockpit .dc-route-advance{bottom:86px}
.driver-cockpit .dc-taximeter-reminder{top:126px}
@media(min-width:760px){.driver-cockpit .dc-map-area{height:60dvh;min-height:400px}}
@media(max-height:650px){.driver-cockpit .dc-map-area{height:60dvh;min-height:280px}}
.dc-difference-options{border:1px solid #c7d6c8!important;padding:12px!important;border-radius:14px;background:#f3f7f0;gap:10px!important}
.dc-difference-options legend{font-size:15px;font-weight:750}.dc-difference-options .dc-reason{background:#fff}.dc-difference-options small{font-size:12px;line-height:1.4}.dc-difference-options [data-allocation]{font-weight:700}.dc-difference-options textarea{width:100%;box-sizing:border-box;min-height:64px;font:inherit;padding:8px;border:1px solid #b1c5b5;border-radius:10px}

/* Territory is visible with the order, never hidden behind a finish dialog. */
.driver-cockpit .dc-territory-status{display:grid;gap:4px;padding:12px 14px;margin:0 0 12px;border:1px solid #c4dccb;border-left:5px solid #147448;border-radius:12px;background:#edf7ee;color:#164b30;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.driver-cockpit .dc-territory-status strong{font-size:16px}.driver-cockpit .dc-territory-status span{font-size:13px}
.driver-cockpit .dc-territory-status[data-territory=unknown],.driver-cockpit .dc-territory-status[data-territory=pending]{background:#fff6dd;border-color:#e7d298;color:#6e5111}
.driver-cockpit .dc-territory-status[data-reminder=true]{background:#fff1ed;border-color:#b63826;color:#9a2116}
.driver-cockpit .dc-route-banner .dc-route-instruction{font-size:18px;line-height:1.35;font-weight:750;display:block}
.driver-cockpit .dc-route-banner{max-height:45%;overflow:auto;pointer-events:auto}
.driver-cockpit .dc-equipment{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0 6px}
.driver-cockpit .dc-equipment span{font-size:13px;line-height:1.4;padding:6px 9px;border-radius:8px;background:#f0f4ed;border:1px solid #dce5d6;color:#1d492f}
.driver-cockpit .dc-essential-notes,.driver-cockpit .dc-essential-stops{margin:4px 0 8px;padding:9px 11px;border-radius:9px;background:#fff6dd;color:#564719;font-size:14px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}
.driver-cockpit .dc-trip-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
.driver-cockpit .dc-trip-dialog:not([open]){display:none!important}
.driver-cockpit .dc-trip-dialog .dc-dialog-heading{position:sticky;top:-20px;z-index:1;padding:14px 0;background:#fff;border-bottom:1px solid #e4ebe5}
.driver-cockpit .dc-trip-dialog .dc-dialog-heading button{flex:none;min-width:44px;min-height:44px}
.driver-cockpit .dc-order-section{margin:16px 0;border:1px solid #e2e9e3;border-radius:14px;overflow:hidden;background:#fff}
.driver-cockpit .dc-order-section h3{margin:0;padding:12px 14px;background:#edf4ee;color:#224f3b;font-size:15px;font-weight:700;line-height:1.35}
.driver-cockpit .dc-order-fields{list-style:none;margin:0;padding:0 14px}
.driver-cockpit .dc-trip-dialog .dc-order-fields li{margin:0;padding:10px 0;border-bottom:1px solid #edf0eb;font-size:15px;line-height:1.45;overflow-wrap:anywhere}
.driver-cockpit .dc-order-fields li:last-child{border-bottom:0}
.driver-cockpit .dc-order-field{display:grid;grid-template-columns:minmax(96px,.8fr) minmax(0,1.3fr);gap:12px}
.driver-cockpit .dc-order-field>span{color:#69746b}
.driver-cockpit .dc-order-field>strong{font-weight:600;color:#203c2e;white-space:pre-wrap}
.driver-cockpit .dc-order-note{display:flex;gap:10px;color:#344c3c;white-space:pre-wrap}
.driver-cockpit .dc-order-note::before{content:'\2022';color:#708a72;flex:none}
.driver-cockpit .dc-extra-reference{font-size:13px;letter-spacing:.02em;color:#67756a;overflow-wrap:anywhere}

/* Date and time remain together, including today's orders. */
.driver-cockpit .dc-focus-top>div>strong{font-size:clamp(17px,4.8vw,25px);white-space:nowrap}
.driver-cockpit .dc-focus-top .dc-fare{font-size:clamp(19px,5vw,25px)}
.driver-cockpit .dc-order-time strong{font-size:14px;white-space:nowrap}
.driver-cockpit .dc-order-row{grid-template-columns:minmax(108px,auto) minmax(0,1fr) 34px}
.driver-cockpit .dc-order-payment{grid-column:1/-1;margin:2px 0;color:#345b4e;font-size:12px}

.driver-cockpit[data-past-review="true"] .dc-map-area{height:18dvh;min-height:130px;max-height:180px}
.driver-cockpit[data-past-review="true"].dc-map-expanded .dc-map-area{height:54dvh;min-height:340px;max-height:720px}
