.driver-mode{background:#f2f5fa}.driver-mode main{max-width:1180px}.driver-mode .top .muted{display:none}.driver-mode .top h1{font-size:24px}.driver-mode .driver-hero{background:linear-gradient(125deg,#10233f,#244e7b);color:#fff;border-radius:22px;padding:26px;margin:18px 0}.driver-hero h2{font-size:28px;margin:10px 0}.eyebrow{font-size:11px;letter-spacing:.14em;font-weight:700;opacity:.8}.driver-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:24px}.driver-metrics button{background:#ffffff15;border:1px solid #ffffff30;border-radius:14px;padding:15px 8px;color:white;text-align:left}.driver-metrics b{font-size:26px;display:block}.driver-metrics span{font-size:12px}.driver-mode .panel{border-radius:20px;padding:22px}.driver-mode .ride{grid-template-columns:1fr;gap:12px;background:#fff;border:1px solid #e1e8f1;border-radius:16px;padding:18px;margin:14px 0;box-shadow:0 4px 15px #10233f05}.driver-mode .time{font-size:20px;display:flex;justify-content:space-between;gap:12px}.driver-mode .time br{display:none}.driver-mode .ride-actions{display:flex;max-width:none;width:100%;gap:10px;flex-wrap:wrap;grid-column:auto}.driver-mode .ride-actions .mini{min-height:48px;flex:1 1 auto;display:inline-flex;align-items:center;justify-content:center;padding:12px;border-radius:12px;font-weight:650}.driver-mode [data-transition=accept],.driver-mode [data-transition=start],.driver-mode [data-transition=board],.driver-mode [data-transition=complete]{background:#154e87;color:white;border-color:#154e87}.driver-mode [data-transition=refuse]{border-color:#d8a5a5;color:#9b3030}.driver-mode .driver-next{border:2px solid #c9daee}.driver-mode .ride-selected{outline:3px solid #2773c9;outline-offset:3px}.driver-mode nav button{min-height:48px}.driver-mode .pill{margin-top:10px}.driver-mode #sync-state{font-size:11px}.driver-mode button:disabled{opacity:.6}.driver-mode #push-status{line-height:1.6}.driver-mode .panel .muted{line-height:1.55}@media(max-width:900px){.driver-mode aside{padding:18px 16px 0;position:sticky;top:0;z-index:5;box-shadow:0 3px 10px #10233f20}.driver-mode aside h2{font-size:16px}.driver-mode aside small{font-size:10px}.driver-mode nav{margin-top:12px;gap:3px;padding-bottom:10px}.driver-mode nav button{font-size:12px;padding:10px}.driver-mode main{padding:18px 12px;padding-bottom:calc(30px + env(safe-area-inset-bottom))}.driver-mode .top{gap:8px}.driver-mode .panel{padding:16px}.driver-mode .driver-hero{padding:22px 18px}.driver-mode .driver-metrics{gap:6px}.driver-mode .driver-metrics button{padding:12px 8px}.driver-mode .driver-metrics span{font-size:11px}.driver-mode .time small{font-size:13px}.driver-mode .ride-actions .mini{font-size:14px}}

.driver-mode nav [data-page=vehicules],.driver-mode nav [data-page=password]{display:none}.driver-hero h2{overflow-wrap:anywhere}

.driver-mode .notice{display:none}.service-heading,.gps-control{display:flex;align-items:center;justify-content:space-between;gap:16px}.service-heading h3{margin:0}.driver-mode .availability-switch{min-height:56px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 16px;border:2px solid #a32835;border-radius:14px;background:#fff0f1;color:#8f1d2b;font-size:17px;font-weight:700}.driver-mode .availability-switch[aria-checked=true]{background:#e9f8f0;color:#13663f;border-color:#18764a}.switch-track{display:inline-flex;align-items:center;width:38px;height:22px;background:#a32835;border-radius:20px;padding:3px;flex:none}.switch-track:after{content:'';background:white;width:16px;height:16px;border-radius:50%;transition:transform .15s}.availability-switch[aria-checked=true] .switch-track{background:#18764a}.availability-switch[aria-checked=true] .switch-track:after{transform:translateX(16px)}.driver-mode .availability-switch:disabled{opacity:.8}.gps-control{margin-top:18px;padding-top:18px;border-top:1px solid #e1e8f1}.gps-control p{margin:6px 0 0;color:#526176;font-size:13px}.driver-mode .gps-control button,.driver-mode #driver-account button{min-height:48px;font-size:15px}.driver-mode #availability-status{color:#8f1d2b;font-size:14px}.gps-consent{display:flex;align-items:flex-start;gap:10px;margin:20px 0}.gps-consent input{width:22px;height:22px;flex:none}#gps-consent-dialog{max-width:440px;width:calc(100% - 32px);padding:24px;border:0;border-radius:20px;color:#10233f}#gps-consent-dialog p{line-height:1.5}#gps-consent-dialog button{min-height:48px}#gps-consent-dialog::backdrop{background:#10233f80}.driver-mode #driver-account .panel:first-child button{display:block;width:100%;margin:10px 0}.driver-mode #push-status{font-weight:650}#push-error{font-size:14px}#driver-policy-form [type=checkbox]{width:20px;height:20px;vertical-align:middle}@media(max-width:440px){.service-heading{align-items:stretch;flex-direction:column;gap:12px}.gps-control{align-items:stretch;flex-direction:column;gap:12px}.gps-control button{width:100%}}

[hidden]{display:none!important}.offer-alert{display:none}.driver-mode .offer-alert{display:block;position:sticky;top:10px;z-index:4;border:2px solid #2874c6;border-radius:18px;padding:16px;background:#eef5ff;box-shadow:0 4px 20px #10233f18;margin:16px 0}.offer-alert h2{font-size:19px;margin:0}.priority-offer-list{max-height:45vh;overflow:auto;overscroll-behavior:contain}.driver-mode .priority-offer-list .ride{margin:12px 0 0}.navigation-alternatives{flex:1 1 100%;font-size:13px}.navigation-alternatives summary{cursor:pointer;padding:8px 0}.navigation-alternatives a{margin:4px}#forgot-password-link{display:inline-block;margin-top:20px}#recovery-back{margin-top:14px}.login-wrap button{min-height:48px}.login-wrap input{min-height:48px}.gps-control small{display:block;color:#64748b;max-width:260px;margin-top:6px}@media(max-width:900px){.driver-mode .offer-alert{position:fixed;top:auto;bottom:calc(8px + env(safe-area-inset-bottom));left:12px;right:12px;margin:0;z-index:6;box-shadow:0 -4px 20px #10233f25}.priority-offer-list{max-height:42vh}.driver-mode.has-live-offers main{padding-bottom:100px}.driver-mode.has-live-offers.offers-expanded main{padding-bottom:60vh}}

.driver-mode .offer-card{padding:14px;gap:10px}.offer-card .offer-pay{font-weight:750;color:#154e87;font-size:18px;margin:10px 0 0}.offer-card .muted{font-size:14px;margin-top:8px}.offer-card details{font-size:13px;margin-top:8px}

/* Home/upcoming summaries open the existing full-screen ride details. */
.driver-mode :is(#driver-home,#driver-upcoming) .ride.driver-summary-card{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;min-height:64px;padding:12px 14px;margin:8px 0;border:1px solid #e1e8f1;border-radius:12px;box-shadow:none;box-sizing:border-box;cursor:pointer}
.driver-summary-card .driver-summary-when{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;color:#193d67;font-size:.9rem;font-weight:700;line-height:1.35}
.driver-summary-card .driver-summary-when time:last-child{font-size:1rem;font-weight:800}
.driver-summary-card .driver-summary-route{min-width:0;font-size:.9rem;line-height:1.4;color:#142b49;overflow-wrap:anywhere;white-space:normal}
.driver-summary-card .driver-summary-route strong{font-weight:650}
.driver-mode .driver-summary-card:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.driver-summary-card .driver-summary-meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px 7px;min-width:0;color:#405d7b;font-size:.8rem;line-height:1.35}
.driver-summary-card .driver-summary-category{font-weight:650;overflow-wrap:anywhere}
.driver-summary-card .driver-summary-count{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.driver-summary-card .driver-summary-count svg{flex:none;width:16px;height:16px}
.driver-summary-card .driver-summary-dot{color:#71839a}
