:root{--ink:#183e33;--green:#174c3d;--muted:#65766d;--orange:#ff9900;--line:#dfe5da;--paper:#fffdf7;--bg:#f3f5ed;--radius:19px;font-family:Inter,Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:var(--green);text-underline-offset:4px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}:focus-visible{outline:3px solid #d78000;outline-offset:3px}.ops-skip{position:fixed;top:-90px;left:12px;z-index:999;background:white;padding:15px}.ops-skip:focus{top:8px}.ops-header{height:86px;position:sticky;top:0;z-index:20;background:var(--green);color:white;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 30px;border-bottom:3px solid var(--orange)}.ops-brand{display:flex;align-items:center;gap:16px;color:white;text-decoration:none}.ops-brand img{object-fit:contain;background:#0a1a17;border-radius:9px;width:130px;height:46px}.ops-brand span{font-size:10px;letter-spacing:2px}.ops-brand small{display:block;letter-spacing:0;font-size:15px;margin-top:5px;font-weight:650}.ops-header-actions{display:flex;align-items:center;gap:16px;font-size:12px}.ops-layout{max-width:1600px;margin:auto;display:grid;grid-template-columns:225px minmax(0,1fr);min-height:calc(100dvh - 145px)}#ops-nav{padding:28px 15px;border-right:1px solid var(--line);position:sticky;top:86px;height:calc(100dvh - 86px);overflow:auto}#ops-nav button{width:100%;border:0;display:flex;text-align:left;align-items:center;gap:10px;background:none;color:var(--muted);border-radius:11px;padding:13px 15px;margin-bottom:5px;font-weight:650;font-size:14px}#ops-nav button.active{background:#dfebdc;color:var(--green)}#ops-nav small{display:block;margin:20px 15px 10px;letter-spacing:1.5px;font-size:9px}#ops-main{min-width:0;padding:35px 40px 60px}.ops-eyebrow{font-size:10px;letter-spacing:1.8px;text-transform:uppercase;color:var(--muted);font-weight:700}.ops-title-row{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:25px}.ops-title-row h1{font-size:clamp(27px,3vw,38px);letter-spacing:-1.2px;line-height:1.15;margin:10px 0}.ops-title-row p{font-size:14px;color:var(--muted);line-height:1.6;max-width:670px;margin:0}.ops-button{background:var(--green);border:1px solid var(--green);border-radius:10px;padding:12px 17px;font-size:13px;font-weight:700;color:white;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;gap:7px;white-space:normal;min-height:43px}.ops-button.orange{background:var(--orange);border-color:var(--orange);color:#12372c}.ops-button.light{background:white;color:var(--green);border-color:var(--line)}.ops-button.danger{background:#fff0ec;border-color:#e2b5a3;color:#81391f}.ops-button.small{font-size:12px;min-height:35px;padding:8px 12px}.ops-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin-bottom:20px}.ops-card h2{font-size:20px;letter-spacing:-.5px;margin:0 0 12px}.ops-card h3{font-size:16px;margin:0 0 12px}.ops-card p{line-height:1.6;color:var(--muted);font-size:14px}.ops-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:25px}.ops-stat{border:1px solid var(--line);background:white;border-radius:16px;padding:22px}.ops-stat span{font-size:12px;color:var(--muted)}.ops-stat strong{font-size:35px;display:block;margin-top:16px;letter-spacing:-1px}.ops-stat em{font-size:11px;font-style:normal;color:var(--muted)}.ops-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.ops-grid .ops-card{margin:0}.ops-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}.ops-toolbar input{flex:1;min-width:180px}.ops-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:14px;background:white}.ops-table{border-collapse:collapse;width:100%;font-size:13px;min-width:650px}.ops-table th{font-weight:650;font-size:10px;text-transform:uppercase;letter-spacing:1px;text-align:left;background:#edf1e7;color:var(--muted)}.ops-table th,.ops-table td{padding:17px 16px;border-bottom:1px solid var(--line);vertical-align:top;line-height:1.5}.ops-table tr:last-child td{border:0}.ops-table td small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.ops-badge{display:inline-flex;border-radius:20px;font-size:10px;font-weight:700;padding:5px 9px;background:#e9eee5;color:#49694b;white-space:nowrap}.ops-badge.pending,.ops-badge.blocked,.ops-badge.due{background:#fff0ce;color:#7d5400}.ops-badge.failed,.ops-badge.cancelled,.ops-badge.rejected{background:#f9e6e0;color:#8d3e27}.ops-badge.confirmed,.ops-badge.sent,.ops-badge.completed{background:#dfeee1;color:#245f3a}.ops-empty{padding:45px 25px;text-align:center;color:var(--muted);border:1px dashed #c7d3c2;border-radius:15px}.ops-empty h2{color:var(--ink)}.ops-form{display:grid;gap:18px}.ops-form label,.ops-field{display:grid;gap:8px;font-size:12px;font-weight:650;line-height:1.5}input,select,textarea{width:100%;padding:12px 13px;border:1px solid #cad4c6;border-radius:9px;background:white;color:var(--ink);min-width:0}textarea{min-height:100px;resize:vertical}.ops-form small{font-weight:400;color:var(--muted);font-size:12px}.ops-form fieldset{border:1px solid var(--line);border-radius:14px;padding:22px;display:grid;gap:18px;margin:0}.ops-form legend{padding:0 8px;font-weight:700}.ops-check{display:flex!important;align-items:flex-start;gap:10px!important;cursor:pointer}.ops-check input{width:18px;min-width:18px;height:18px;margin:1px 0 0;accent-color:var(--green)}.ops-form-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.ops-note{background:#edf1e6;border-left:3px solid var(--green);padding:14px 17px;border-radius:0 9px 9px 0;font-size:13px;line-height:1.65;color:#4c6353}.ops-note.warn{background:#fff2d9;border-color:#ef9b1b;color:#72510d}.ops-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin:20px 0}.ops-details div{padding:12px 0;border-bottom:1px solid var(--line)}.ops-details dt{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin-bottom:7px}.ops-details dd{margin:0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.ops-money{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;background:#e8eee0;border-radius:14px;padding:20px}.ops-money span{font-size:11px;color:var(--muted);display:block}.ops-money strong{font-size:22px;display:block;margin-top:8px}.ops-tabs{display:flex;gap:8px;overflow:auto;padding:0 0 15px}.ops-tabs button{border:1px solid var(--line);padding:10px 15px;border-radius:20px;background:white;font-size:12px;white-space:nowrap}.ops-tabs button.active{background:var(--green);color:white}.ops-footer{font-size:11px;color:var(--muted);padding:18px 30px;text-align:center;border-top:1px solid var(--line)}.ops-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100% - 30px);width:max-content;z-index:1000;padding:15px 22px;background:#153e32;color:white;border-radius:12px;box-shadow:0 10px 35px #163d302e;font-size:14px}.ops-toast.error{background:#863d2b}.ops-loading{padding:50px;text-align:center;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:15px}.ops-spinner{display:inline-block;width:20px;height:20px;border:2px solid #cad5c4;border-top-color:var(--green);border-radius:50%;animation:ops-spin .8s linear infinite}@keyframes ops-spin{to{transform:rotate(360deg)}}dialog{padding:0;max-width:min(900px,calc(100vw - 24px));width:840px;border:0;border-radius:22px;background:var(--paper);color:var(--ink);box-shadow:0 25px 100px #0d2f3350;max-height:calc(100dvh - 32px)}dialog::backdrop{background:#102d2bc0;backdrop-filter:blur(5px)}dialog>header{position:sticky;top:0;padding:20px 25px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;background:var(--paper);z-index:2}dialog h2{font-size:22px;margin:0;letter-spacing:-.6px}.ops-icon-button{width:36px;height:36px;min-width:36px;border:1px solid var(--line);border-radius:50%;background:white;color:var(--green);font-size:23px}#ops-dialog-content{padding:25px;overflow-wrap:anywhere}.ops-auth{max-width:490px;margin:20px auto}.ops-auth h1{font-size:32px;letter-spacing:-1px;margin-bottom:12px}.ops-auth .ops-button{width:100%}.ops-auth-links{display:flex;justify-content:space-between;gap:15px;font-size:12px;margin-top:22px}.ops-auth-links button{border:0;background:none;padding:0;color:var(--green);text-decoration:underline}.ops-media-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.ops-media-card{background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden}.ops-media-card img{width:100%;height:155px;object-fit:cover;background:#e4eadd}.ops-media-card div{padding:14px}.ops-media-card h3{font-size:12px;overflow-wrap:anywhere;margin:0 0 8px}.ops-media-card small{font-size:10px;color:var(--muted)}.ops-media-card button{margin-top:10px}.ops-editor{border:1px solid #cad4c6;background:white;border-radius:10px;padding:18px;min-height:300px;font-size:16px;font-weight:400;line-height:1.8;overflow-wrap:anywhere}.ops-editor img{max-width:100%;height:auto}.ops-editor-toolbar{display:flex;gap:7px;flex-wrap:wrap}.ops-booking-card{position:relative}.ops-booking-card header{display:flex;justify-content:space-between;gap:15px}.ops-route{border-left:2px dotted #b7c9b1;padding-left:19px;margin:22px 0}.ops-route strong{display:block;font-size:15px;line-height:1.45}.ops-route small{display:block;font-size:10px;letter-spacing:1px;color:var(--muted);margin:14px 0 6px}.ops-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.ops-password-note{font-size:11px;color:var(--muted)}[hidden]{display:none!important}.ops-body[data-role=customer] .ops-layout,.ops-body[data-role=driver] .ops-layout{max-width:1150px;grid-template-columns:1fr}.ops-body[data-role=customer] #ops-nav,.ops-body[data-role=driver] #ops-nav{display:none}.ops-body[data-role=driver] .ops-card{border-top:4px solid var(--green)}@media(max-width:1100px){.ops-media-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ops-stats{grid-template-columns:repeat(2,minmax(0,1fr))}#ops-main{padding:28px 24px}}@media(max-width:780px){.ops-header{height:72px;padding:10px 16px}.ops-brand img{width:100px;height:37px}.ops-brand{gap:9px}.ops-brand span{font-size:8px;letter-spacing:1px}.ops-brand small{font-size:11px}.ops-header-actions #ops-identity{display:none}.ops-header-actions .ops-button{font-size:11px;min-height:35px;padding:8px 11px}.ops-layout{display:block}#ops-nav{position:sticky;top:72px;z-index:15;display:flex;height:auto;gap:4px;overflow-x:auto;padding:10px 13px;background:var(--bg);border-bottom:1px solid var(--line);border-right:0;scrollbar-width:thin}#ops-nav button{white-space:nowrap;width:auto;font-size:12px;margin:0;padding:10px 13px}#ops-nav small{display:none}#ops-main{padding:25px 16px 45px}.ops-title-row{align-items:flex-start;flex-wrap:wrap}.ops-title-row p{font-size:13px}.ops-card{padding:20px}.ops-grid{grid-template-columns:1fr}.ops-stats{gap:10px}.ops-stat{padding:19px}.ops-stat strong{font-size:29px}.ops-media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ops-media-card img{height:135px}.ops-details{gap:12px}.ops-money{padding:15px;gap:10px}.ops-money strong{font-size:18px}.ops-money span{font-size:10px}.ops-form fieldset{padding:17px}.ops-footer{padding:15px}.ops-toolbar{gap:9px}.ops-toolbar select{flex:1;width:auto;min-width:140px}.ops-toolbar input{width:100%}dialog>header{padding:17px}#ops-dialog-content{padding:18px}.ops-auth{margin-top:4px}.ops-auth h1{font-size:29px}.ops-table td,.ops-table th{padding:13px}.ops-loading{padding:40px 12px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}

html{scroll-padding-top:105px}#ops-main{scroll-margin-top:105px}@media(max-width:780px){html{scroll-padding-top:140px}#ops-main{scroll-margin-top:140px}}

.ops-embedded .ops-header,.ops-embedded #ops-nav,.ops-embedded .ops-footer,.ops-embedded .ops-skip{display:none}.ops-embedded .ops-layout{display:block;min-height:0}.ops-embedded #ops-main{padding:8px 6px 36px}.ops-embedded .ops-title-row h1{font-size:29px}.ops-embedded{background:#f8faf6}

@media(min-width:900px){.ops-role-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

.dispatch-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.dispatch-card header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.dispatch-card h2{font-size:22px;margin:18px 0}.dispatch-card .ops-actions{margin-top:auto}.dispatch-card{display:flex;flex-direction:column}.dispatch-filters{flex-wrap:wrap}.dispatch-filters input{flex:1;min-width:200px}.ash-pin-address{font-weight:650;line-height:1.4}@media(max-width:800px){.dispatch-cards{grid-template-columns:1fr}.dispatch-card .ops-button{flex:1;min-width:120px}.dispatch-filters select{max-width:100%;min-width:0}}

.dispatch-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.dispatch-stats .ops-stat{padding:18px}.dispatch-stats .ops-stat strong{font-size:29px}.dispatch-filters{display:flex;align-items:center;gap:12px}.dispatch-filters input{width:auto;flex:2;min-width:220px}.dispatch-filters select{width:auto;flex:1;min-width:150px}@media(max-width:650px){.dispatch-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dispatch-filters input{flex-basis:100%;width:100%;min-width:0}.dispatch-filters select{min-width:120px}}

.dispatch-submit{position:sticky;bottom:0;padding:12px 0;background:var(--paper);z-index:4;border-top:1px solid var(--line)}.dispatch-submit .ops-button{width:100%}@media(max-width:780px){.dispatch-submit{bottom:0}}

/* Simpler journey management and a driver workspace designed for touch. */
.ride-quick-actions{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px 0;background:var(--paper);border-bottom:1px solid var(--line);margin:0 0 18px}.ride-quick-actions .ops-button{font-size:12px;padding:10px;min-height:44px}.ops-button.maps{background:#245e8a;border-color:#245e8a;color:white}.ops-button.whatsapp{background:#226b46;border-color:#226b46;color:white}.ride-back-bar{position:sticky;top:0;z-index:6;background:var(--paper);padding:6px 0 12px}.simple-mode-settings{border:2px solid #ff9900;background:#fffbef}.simple-mode-settings h2{margin-top:9px}.ops-simple .ops-details{gap:12px}.ops-single-ride .ops-layout{height:0;overflow:hidden}.ops-single-ride #ops-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0;box-shadow:none}.ops-single-ride #ops-dialog::backdrop{background:#fffdf7}.ops-single-ride #ops-dialog>header{padding:12px 18px}.ops-single-ride #ops-dialog>header #ops-close{display:none}.ops-single-ride #ops-dialog-content{padding:0 20px 22px}.ops-single-ride .ride-quick-actions{top:0}.ops-simple #ops-dialog-content>form>.ops-button,.ops-simple #ops-dialog-content>form>footer{position:sticky;bottom:0;background:var(--green);z-index:5}.ops-simple #ops-dialog-content>form>.ops-button.orange{background:var(--orange)}.driver-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0}.driver-tabs button{border:1px solid var(--line);background:white;color:var(--muted);padding:12px 7px;border-radius:14px;font-size:12px;min-height:70px}.driver-tabs strong{display:block;font-size:22px;margin-bottom:4px}.driver-tabs [aria-current=page]{background:var(--green);border-color:var(--green);color:white}.driver-trip{margin-top:20px}.driver-trip>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.driver-trip>h2{margin-top:18px}.driver-trip.is-current{border:2px solid var(--green);background:#fafff8}.driver-actions{display:flex;gap:9px;flex-wrap:wrap;margin:14px 0}.driver-actions .ops-button{flex:1;min-width:140px}.driver-details{padding-top:15px;margin-top:15px;border-top:1px solid var(--line);font-size:13px}.driver-details summary{cursor:pointer;font-weight:700;min-height:30px}.driver-swipe{display:grid;gap:8px;margin:18px 0;background:#edf3e8;border:1px solid #cfddc7;border-radius:15px;padding:13px}.driver-swipe>span{font-weight:750;font-size:14px;text-align:center}.driver-swipe small{font-size:10px;color:var(--muted);text-align:center}.driver-swipe input{appearance:none;-webkit-appearance:none;padding:0;border:0;background:linear-gradient(to right,#ff9900 var(--swipe,0%),#d5e2ce var(--swipe,0%));height:48px;border-radius:30px;touch-action:pan-y;cursor:grab}.driver-swipe input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:50px;height:44px;border:3px solid white;border-radius:24px;background:var(--green);box-shadow:0 2px 5px #173d3340}.driver-swipe input::-moz-range-thumb{width:44px;height:40px;border:3px solid white;border-radius:24px;background:var(--green)}
@media(max-width:780px){.ride-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.ride-quick-actions .ops-button{min-height:43px;font-size:11px}.ops-single-ride #ops-dialog-content{padding:0 12px 22px}.ops-single-ride #ops-dialog>header{position:relative;min-height:42px;padding:10px 12px}.ops-single-ride #ops-dialog h2{font-size:17px}.driver-greeting{margin-bottom:14px}.driver-greeting h1{font-size:27px}.ops-body[data-role=driver] #ops-main{padding:20px 14px 40px}.driver-trip{padding:18px}.driver-trip .ops-route{margin:18px 0}.driver-trip .ops-money{padding:13px 10px}.driver-trip .ops-money strong{font-size:17px}.driver-trip>header{align-items:flex-start}.driver-tabs{gap:6px}.driver-tabs button{font-size:11px;padding:10px 4px;min-height:65px}.driver-actions .ops-button{font-size:12px;min-width:130px}.driver-trip .ops-details{grid-template-columns:1fr}.ops-simple .ops-money strong{font-size:19px}}

.ops-badge.deposit{background:#fff0d1;color:#714500;border:1px solid #e6bd68}.ops-button.fare{background:#fff0d1;color:#714500;border-color:#e6bd68}.ops-simple:not(.ops-single-ride) .ride-quick-actions{top:64px}

.send-driver-list{display:grid;gap:10px;margin:18px 0}.send-driver-option{display:flex;gap:12px;align-items:center;justify-content:space-between;width:100%;border:1px solid var(--line);border-radius:12px;background:white;color:var(--ink);padding:15px;text-align:left}.send-driver-option:hover{background:#edf3e8;border-color:var(--green)}.send-driver-option small{display:block;color:var(--muted);font-size:11px;margin-top:6px}.send-driver-option>span:last-child{font-size:11px;color:var(--green);font-weight:700;max-width:95px}[data-driver-search][hidden]{display:none!important}

.driver-next-ready{padding:10px 14px;text-align:left;border:0;background:#edf3e8}.driver-next-ready h2{font-size:14px;margin:0}.driver-next-ready p{display:none}.driver-greeting{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}.driver-greeting>.ops-button{margin-top:20px}@media(max-width:600px){.driver-greeting .ops-eyebrow{font-size:8px}.driver-greeting h1{font-size:25px}.driver-greeting p{font-size:12px}}

.staff-editor-tools{display:flex;gap:10px;justify-content:space-between;padding:12px 0}.staff-route-frame{width:100%;height:max(520px,calc(100dvh - 220px));border:1px solid var(--line);border-radius:12px;background:#f4f5ec}.staff-editor-tools .ops-button{flex:1}@media(max-width:600px){.staff-route-frame{height:calc(100dvh - 190px);min-height:470px}}

.ops-button.confirm{background:#ff9900;color:#123b2e;border:2px solid #d67e00;font-size:14px;font-weight:800;min-height:48px;box-shadow:0 3px 0 #d9ba7c33}.ride-quick-actions .confirm{grid-column:1/-1;font-size:14px}.ops-single-ride #ops-dialog>header{display:none}.ops-single-ride .ride-back-bar{top:0}.ops-single-ride #ops-dialog-content{padding-top:0}.ops-single-ride .ride-quick-actions{padding-top:10px}@media(max-width:600px){.ride-quick-actions{gap:6px;margin-bottom:12px}.ride-quick-actions .ops-button{min-height:40px;padding:8px;font-size:11px}.ride-quick-actions .confirm{font-size:13px;min-height:46px}}

.ops-table tr[data-booking]{cursor:pointer}.ops-table tr[data-booking]:hover{background:#f1f6ec}.ops-table tr[data-booking]:focus-visible{outline:3px solid #ff9900;outline-offset:-3px}.ops-embedded:not(.ops-single-ride){overflow-y:auto;height:auto;min-height:100dvh}.ops-embedded:not(.ops-single-ride) #ops-main{overflow:visible}.ops-embedded:not(.ops-single-ride) .ops-table-wrap{overflow:auto;max-height:calc(100dvh - 210px);min-height:180px;overscroll-behavior:auto;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}.ops-embedded:not(.ops-single-ride) .ops-table thead{position:sticky;top:0;z-index:1}@media(max-width:600px){.ops-table tr[data-booking] td:first-child{min-width:200px}}

.ride-quick-actions{background:linear-gradient(#fffdf7,#fffdf7f5);border-bottom-color:#dce6d8}.ride-quick-actions .ops-button{border-radius:11px;letter-spacing:.05px;box-shadow:0 1px 2px #163d3308}.ride-quick-actions .confirm{border-radius:12px;background:linear-gradient(120deg,#ffa30c,#ff9400);box-shadow:0 3px 7px #c57e001c}.ride-popup-summary .ops-route{background:#f7f9f2;border:1px solid #e0e8db;border-left:3px solid #cad8c3;border-radius:0 13px 13px 0;padding:4px 17px 16px;margin:17px 0}.ride-popup-summary .ops-route small{letter-spacing:1.1px;font-size:9px;font-weight:700}.ride-popup-summary .ops-route small:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:#21634c;margin-right:8px}.ride-popup-summary .ops-route small:last-of-type:before{background:#ff9900;border-radius:2px}.ride-popup-summary .ops-money{background:linear-gradient(120deg,#e8f0df,#f3f7ec);border:1px solid #dae4d0;box-shadow:inset 0 1px 0 #ffffffaa;border-radius:15px}.ops-money small{display:block;color:var(--muted);font-size:10px;line-height:1.5;margin-top:5px}.ride-popup-summary details.ops-card{padding:16px 18px;box-shadow:0 2px 8px #183e3304}.ride-popup-summary details summary{cursor:pointer;font-size:13px;font-weight:650;color:#2a5745}.staff-stop-editor{padding:16px;border:1px solid #dce5d5;border-radius:13px;background:#f8fbf4}.staff-stop-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;font-size:12px}.staff-stop-heading span{font-size:10px;color:var(--muted)}.staff-stop-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;margin:10px 0}.staff-stop-row label{font-size:11px}.staff-stop-row button{margin-bottom:2px}.staff-stop-editor>[data-add-booking-stop]{margin-top:8px}@media(hover:hover) and (prefers-reduced-motion:no-preference){.ride-quick-actions .ops-button{transition:box-shadow .15s,border-color .15s}.ride-quick-actions .ops-button:hover{box-shadow:0 4px 10px #183e3317}}

.ride-invoice-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px}.ride-invoice-actions>.ops-button{padding-left:8px;padding-right:8px}.invoice-items-editor{padding:16px;border:1px solid #dce5d5;border-radius:14px;background:#f8fbf4}.invoice-item-row{display:grid;grid-template-columns:minmax(0,1fr) 75px 105px auto;align-items:end;gap:10px;padding:14px 0;border-top:1px solid #dfe8d9}.invoice-item-row label{font-size:11px}.invoice-item-row input{padding:10px}.invoice-item-row button{margin-bottom:2px}.invoice-live-total{display:flex;justify-content:space-between;align-items:center;padding:16px 0 0;margin-top:14px;border-top:1px solid #d3dfcd;font-size:12px}.invoice-live-total strong{font-size:25px;letter-spacing:-.8px}@media(max-width:550px){.invoice-item-row{grid-template-columns:65px minmax(0,1fr) auto;gap:9px}.invoice-description{grid-column:1/-1}.invoice-item-row button{padding:8px;font-size:10px}}

.staff-map-open .staff-route-frame{width:100%;height:calc(100dvh - 190px);min-height:460px;border:1px solid #dce5d5;border-radius:14px;display:block}.staff-map-open .ride-back-bar{margin-bottom:8px}.staff-map-open>.ops-password-note{margin:0 0 10px;font-size:11px}.refund-available{font-size:13px;font-weight:650;background:#ecf3e4;padding:12px;border-radius:10px;margin:0}.refund-optional{padding:14px;margin:0}.refund-optional>summary{cursor:pointer;font-weight:650;font-size:12px}.refund-optional[open]{display:grid;gap:15px}

.ops-table-wrap{overflow:auto!important;touch-action:pan-x pan-y!important;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#8ca78c #eef3e8}.ops-table-wrap .ops-table{min-width:780px}.ops-table-wrap.ops-dragging{cursor:grabbing;user-select:none}.ops-table-wrap tr[data-booking]{touch-action:pan-x pan-y}.ops-table-scroll-nav{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px;color:#5c745d;margin:0 0 9px}.ops-table-scroll-nav[hidden]{display:none!important}.ops-table-scroll-nav>div{display:flex;gap:6px}.ops-table-scroll-nav button{display:grid;place-items:center;width:32px;height:29px;border:1px solid #cfddc6;border-radius:8px;background:#fffdf7;color:#174c3d;font-size:17px}.ops-table-scroll-nav button:disabled{opacity:.35;cursor:default}

.ops-table-wrap{overflow-x:auto!important;overflow-y:auto!important;max-width:100%;touch-action:auto!important;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:auto}.ops-table-wrap::-webkit-scrollbar{height:10px;width:9px}.ops-table-wrap::-webkit-scrollbar-track{background:#edf2e6;border-radius:8px}.ops-table-wrap::-webkit-scrollbar-thumb{background:#8ca68a;border:2px solid #edf2e6;border-radius:8px}.ops-table-wrap .ops-table{min-width:940px;table-layout:auto}.ops-table-wrap .ops-table td:first-child{min-width:240px;white-space:normal;overflow-wrap:anywhere}.ops-table-wrap .ops-table td:last-child{min-width:130px}.ops-table-wrap tr[data-booking]{touch-action:auto}.ops-table-wrap .ops-button{touch-action:manipulation}

/* Booking preferences use a compact, readable layout on phones. */
.booking-controls-section{margin:24px 0}.ops-vehicle-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ops-vehicle-control{border:1px solid #d8e1d5;border-radius:18px;padding:20px;background:#f7f9f2;min-width:0}.ops-vehicle-control h3{font-size:26px;margin:6px 0 16px}.ops-switch{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:14px 0;border-bottom:1px solid #e1e6dc}.ops-switch input{appearance:none;width:44px;height:26px;flex:0 0 44px;border-radius:20px;background:#d2dad0;position:relative;cursor:pointer;border:1px solid #a1b3a5}.ops-switch input:before{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:white;box-shadow:0 1px 3px #0003;transition:transform .16s}.ops-switch input:checked{background:#194e3e}.ops-switch input:checked:before{transform:translateX(18px)}.ops-switch input:focus-visible{outline:3px solid #ff9900;outline-offset:3px}.email-events-form{margin:24px 0}.email-event-group{border:1px solid #d8e1d5;border-radius:14px;padding:16px}.email-event-group summary{cursor:pointer;font-weight:700}.transfer-reports{margin:14px 0}.transfer-reports summary{cursor:pointer;font-weight:700}.transfer-reports section{padding:14px 0;border-bottom:1px solid #e1e6dc}.booking-controls-section code{overflow-wrap:anywhere;word-break:break-word}@media(max-width:800px){.ops-vehicle-controls{grid-template-columns:1fr}.ops-vehicle-control{padding:18px}.ops-switch{font-size:14px}.booking-controls-section fieldset{min-width:0}}@media(prefers-reduced-motion:reduce){.ops-switch input:before{transition:none}}

.ops-form label.ops-switch{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:18px;padding:10px 0;min-height:44px}.ops-form label.ops-switch span{flex:1}.ops-form label.ops-switch input{width:44px;min-width:44px;height:26px;padding:0;box-sizing:border-box;flex:0 0 44px}
