html[data-app-role="driver"] #driver-request.rtc-active .rotas-navigate{display:flex!important;align-items:center;justify-content:center;gap:8px;background:#f58220!important;color:#171b17!important;-webkit-text-fill-color:#171b17!important;border:1px solid #ec7414!important;border-radius:13px!important;min-height:44px!important;font-weight:750!important}
html[data-app-role="driver"] #driver-request .rotas-navigate svg{width:20px;height:20px;flex:none}
/* These are static explanatory captions; recording and alert controls remain. */
html[data-app-role="driver"] #driver-request.rtc-active #rotas-driver-consent{display:none!important}
html[data-app-role="driver"] #driver-request.rtc-active #rotas-safety-status:not([data-alert-active]){display:none!important}
html[data-app-role="driver"] #driver-request.rtc-active:not([data-driver-card-state="collapsed"]):not([data-driver-card-state="hidden"]){max-height:calc(100dvh - 180px)!important;height:auto!important}
html[data-app-role="driver"] #driver-request.rtc-active:not([data-driver-card-state="collapsed"]):not([data-driver-card-state="hidden"])>.rotas-sheet-scroll{flex:0 0 auto!important;height:auto!important;max-height:none!important;overflow-y:visible!important;scrollbar-width:none!important;padding:0 12px 3px!important}
html[data-app-role="driver"] #driver-request.rtc-active>.rotas-sheet-scroll::-webkit-scrollbar{display:none}
html[data-app-role="driver"] #driver-request.rtc-active .rotas-offer-dock #rotas-safety-bar{max-height:none!important;min-height:0!important;overflow:visible!important}
html[data-app-role="driver"] #driver-request.rtc-active .rotas-sheet-grabber{height:26px!important;min-height:26px!important;flex-basis:26px!important}
html[data-app-role="driver"] #driver-request.rtc-active h2{font-size:14px!important;line-height:1.15!important;white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important;margin:0!important}
html[data-app-role="driver"] #driver-request.rtc-active .rotas-passenger-identity{gap:9px!important;margin-bottom:3px!important;min-height:44px}
html[data-app-role="driver"] #driver-request.rtc-active .rtc-fallback-person{display:flex;align-items:center;gap:9px;min-height:44px;margin-bottom:3px}
html[data-app-role="driver"] #driver-request.rtc-active .rtc-fallback-person img{width:42px;height:42px;border-radius:50%;flex:none}
html[data-app-role="driver"] #driver-request.rtc-active .rotas-sheet-scroll>.muted{font-size:10px!important;margin:0 0 4px!important;-webkit-line-clamp:1!important}
html[data-app-role="driver"] #driver-request.rtc-active>.rotas-sheet-scroll{display:flex!important;flex-direction:column!important;gap:3px!important}
html[data-app-role="driver"] #driver-request.rtc-active .rtc-person-copy{flex:1;min-width:0}
html[data-app-role="driver"] #driver-request.rtc-active .rtc-person-copy .muted{font-size:10px!important;line-height:1.2!important;margin:2px 0 0!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-app-role="driver"] #driver-request.rtc-active .details{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;margin:0!important;padding:5px 8px!important;border-radius:12px!important;background:#fff9e7!important}
html[data-app-role="driver"] #driver-request.rtc-active .details>div{min-height:0!important;background:none!important;border:0!important;padding:0 8px!important}
html[data-app-role="driver"] #driver-request.rtc-active .details>div+div{border-left:1px solid #e6dfcb!important}
html[data-app-role="driver"] #driver-request.rtc-active .details>div{display:flex!important;align-items:center!important;gap:6px!important}
html[data-app-role="driver"] #driver-request.rtc-active .details>div>svg{width:24px;height:24px;flex:none}
html[data-app-role="driver"] #driver-request.rtc-active .rtc-metric-copy{display:flex!important;flex-direction:column!important;gap:0!important;min-width:0}
html[data-app-role="driver"] #driver-request.rtc-active .details p{font-size:9px!important;line-height:1.15!important;margin:0 0 2px!important;color:#66726b!important}
html[data-app-role="driver"] #driver-request.rtc-active .details strong{font-size:14px!important;line-height:1.15!important}
html[data-app-role="driver"] #driver-request.rtc-active .details small{font-size:9px!important;line-height:1.1!important;margin:0!important}
html[data-app-role="driver"] #driver-request.rtc-active .rotas-offer-dock{gap:4px!important;padding:4px 12px 5px!important;box-shadow:none!important}
html[data-app-role="driver"] #driver-request.rtc-active .rotas-offer-dock #next-status{min-height:44px!important;padding:5px 8px!important;border-radius:10px!important;font-size:12px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;order:1!important}
html[data-app-role="driver"] #driver-request.rtc-active .rotas-contact-row{order:0!important;gap:6px!important}
html[data-app-role="driver"] #driver-request.rtc-active .rotas-contact-row button{min-height:44px!important;padding:4px 7px!important;font-size:11px!important;border-radius:10px!important}
html[data-app-role="driver"] #driver-request.rtc-active #rotas-driver-cancel-visible{order:2!important;min-height:44px!important;padding:5px 8px!important;border-radius:10px!important;font-size:11px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important}
html[data-app-role="driver"] #driver-request.rtc-active #rotas-safety-bar{padding:3px 4px!important;background:#f1f3f2!important;border:0!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:5px!important}
html[data-app-role="driver"] #driver-request.rtc-active #rotas-safety-bar button{min-height:44px!important;padding:5px 8px!important;font-size:11px!important}
html[data-app-role="driver"] #driver-request.rtc-active svg.rtc-action-icon{width:16px;height:16px;flex:none}
html[data-app-role="driver"][data-app-theme="dark"] #driver-request.rtc-active .details{background:#303021!important}
html[data-app-role="driver"][data-app-theme="dark"] #driver-request.rtc-active .details p{color:#c5ccb9!important}
html[data-app-role="driver"][data-app-theme="dark"] #driver-request.rtc-active .details>div+div{border-color:#5d5e45!important}
html[data-app-role="driver"][data-app-theme="dark"] #driver-request.rtc-active #rotas-safety-bar{background:#27332c!important}
html[data-app-role="driver"]:has(#rotas-turn-navigation) #driver-request.rtc-active #rotas-navigation-status{display:none!important}
/* Compact active trip: the chooser is a single share icon beside the km. */
html[data-app-role="driver"] #driver-request.rtc-active .rotas-navigate{display:none!important}
html[data-app-role="driver"] #driver-request.rtc-active #rotas-safety-bar.rtc-no-media{display:none!important}
html[data-app-role="driver"] #driver-request.rtc-active .rtc-km-share{margin-left:auto!important;display:flex!important;align-items:center;justify-content:center;flex:none;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;padding:7px!important;border:0!important;border-radius:50%!important;background:transparent!important;color:inherit!important;box-shadow:none!important}
html[data-app-role="driver"] #driver-request.rtc-active .rtc-km-share svg{width:20px;height:20px}
html[data-app-role="driver"] #driver-request.rtc-active .rotas-offer-dock #next-status,
html[data-app-role="driver"] #driver-request.rtc-active .rotas-contact-row button,
html[data-app-role="driver"] #driver-request.rtc-active #rotas-driver-cancel-visible{height:36px!important;min-height:36px!important;padding:3px 7px!important}
html[data-app-role="driver"] #driver-request.rtc-active .rotas-sheet-grabber{height:22px!important;min-height:22px!important;flex-basis:22px!important}
html[data-app-role="driver"] #driver-request.rtc-active .rotas-offer-dock{gap:3px!important;padding-top:3px!important;padding-bottom:4px!important}
html[data-app-role="driver"] #driver-request.rtc-active .details{padding:3px 4px!important}
html[data-app-role="driver"] #driver-request.rtc-active #rotas-boarding-code{margin:3px 12px!important;padding:7px 10px!important;font-size:11px!important}
html[data-app-theme="dark"] .rbp-code,html[data-app-theme="dark"] .rbp-layer section{background:#253226!important;color:#fff5bc!important;border-color:#827337!important}
html[data-app-theme="dark"] .rbp-layer input{background:#17241c!important;color:#fff!important;border-color:#65745b!important}
.rbp-confirmed{position:fixed;inset:0;display:grid;place-items:center;overflow:hidden;pointer-events:none;z-index:18001}
.rbp-confirmed section{display:grid;justify-items:center;gap:9px;background:#2843e6;color:#17241c;padding:25px 32px;border-radius:24px;box-shadow:0 10px 45px #0003;animation:rr9-pop 2.5s both}
.rbp-confirmed section>span{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#17241c;color:#2843e6;font-size:32px}
.rbp-confirmed strong{font-size:22px;font-weight:800}
.rbp-confirmed p{font-size:16px;margin:0}
.rbp-confirmed i{position:absolute;left:var(--x);bottom:-30px;width:12px;height:16px;border-radius:50%;background:#2843e6;animation:rr9-balloon 1.9s var(--delay) both}
@media(prefers-reduced-motion:reduce){.rbp-confirmed i{display:none}.rbp-confirmed section{animation:none}}
