/* Preserve default half-screen footprint; full/min states are explicitly chosen by the person. */
html[data-app-role=passenger] .r54-trip-handle{display:flex;align-items:center;background:var(--r54-surface);touch-action:none;cursor:ns-resize;border-bottom:1px solid var(--r54-line)}
html[data-app-role=passenger] .r54-trip-handle .r49-trip-toggle{flex:1;min-width:0}
html[data-app-role=passenger] .r54-trip-expand{flex:none;margin-right:10px;min-height:32px;padding:5px 9px;border:1px solid var(--r54-line);border-radius:9px;background:var(--r54-base);color:var(--r54-ink);font-size:11px;cursor:pointer}
html[data-app-role=passenger] .r54-trip-dock[data-r54-level=half] .r49-trip-body{max-height:calc(50dvh - 49px)!important}
html[data-app-role=passenger] .r54-trip-dock[data-r54-level=full] .r49-trip-body{max-height:calc(82dvh - 49px)!important}
html[data-app-role=passenger] .r54-trip-dock[data-r54-level=min]{width:min(240px,calc(100% - 24px))!important;left:auto!important;right:12px!important}
html[data-app-role=passenger] .r54-trip-dock[data-r54-level=min] .r49-trip-toggle span{font-size:10px}
html[data-app-role=passenger] #rotas-ride-notice :is(.rotas-notice-copy>h2,.rotas-notice-copy>p,.rotas-driver-identity,.rotas-vehicle-facts,.rpr-detail,.rotas-approach){background:var(--r54-surface)!important;border-radius:10px;text-shadow:none!important}
html[data-app-role=passenger] #rotas-ride-notice .r54-wait-time{color:var(--r54-gold)!important;font-weight:700!important;font-variant-numeric:tabular-nums}
html[data-app-role=passenger] .r49-trip-body #rotas-ride-notice .rotas-notice-copy{padding:14px!important}
html[data-app-role=passenger] .r49-trip-body #rotas-ride-notice .rotas-notice-copy>h2{font-size:20px!important;line-height:1.2!important;margin:0 0 5px!important}
html[data-app-role=passenger] .r49-trip-body #rotas-ride-notice .rotas-notice-copy>p{font-size:12px!important;line-height:1.4!important;margin:0 0 8px!important}
html[data-app-role=passenger] .r49-trip-body #rotas-ride-notice .rotas-driver-identity.rpr-identity-with-car{display:grid!important;grid-template-columns:48px minmax(0,1fr) 92px!important;gap:8px!important;margin:3px 0 8px!important;min-height:68px!important}
html[data-app-role=passenger] .r49-trip-body #rotas-ride-notice .rpr-identity-with-car>div{grid-column:2!important;grid-row:1!important;min-width:0!important}
html[data-app-role=passenger] .r49-trip-body #rotas-ride-notice .rpr-identity-with-car>img:first-child{width:44px!important;height:44px!important;object-fit:cover!important}
html[data-app-role=passenger] .r49-trip-body #rotas-ride-notice .rpr-identity-with-car>.rpr-car{grid-column:3!important;grid-row:1!important;width:92px!important;max-width:92px!important;height:68px!important;object-fit:contain!important;border:0!important;border-radius:8px!important}
html[data-app-role=passenger] .r49-trip-body #rotas-ride-notice .rotas-driver-identity strong{font-size:13px!important}
html[data-app-role=passenger] .r49-trip-body #rotas-ride-notice .rotas-driver-identity small{font-size:10px!important}
html[data-app-role=passenger] .r49-trip-body #rotas-ride-notice .rpr-detail{padding:5px 0!important;margin:0 0 6px!important;font-size:11px!important}
html[data-app-role=passenger] .r49-trip-body #rotas-ride-notice .rpr-badges:empty{display:none!important}
html[data-app-role=passenger] .r49-trip-body #rotas-ride-notice .rpr-vehicle-summary{display:none!important}
html[data-app-role=passenger] .r49-trip-body #rotas-ride-notice .rotas-notice-action{min-height:44px!important}
html[data-app-role=driver] #driver-request .rotas-sheet-scroll{background:transparent!important}
html[data-app-role=driver] #driver-request .r54-driver-stage{margin:0 -13px 7px;padding:9px 13px;border-radius:0 0 13px 13px;background:#2843e6;color:#17281e;font-size:15px;line-height:1.2;font-weight:800;letter-spacing:-.35px}
html[data-app-role=driver] #driver-request :is(.rotas-sheet-scroll>h2,.rotas-sheet-scroll>p,.rotas-passenger-identity,.details>div){background:var(--r54-surface)!important;border-radius:9px;color:var(--r54-ink)!important}
html[data-app-role=driver] #driver-request .rotas-sheet-grabber{background:var(--r54-surface)!important;color:var(--r54-muted)!important}
html[data-app-role=driver] #driver-request.r54-card-full[data-driver-card-state=expanded]{max-height:78dvh!important}
html[data-app-role=driver] #driver-request .r54-driver-expand{position:absolute;top:3px;left:12px;z-index:8;padding:4px 8px;font:600 10px/1.4 Inter,Arial;min-height:26px;border:1px solid var(--r54-line);background:var(--r54-base);color:var(--r54-ink);border-radius:8px}
html[data-app-role=driver] #driver-request[data-driver-card-state=collapsed] .r54-driver-expand,html[data-app-role=driver] #driver-request[data-driver-card-state=hidden] .r54-driver-expand{display:none!important}
html[data-app-role=passenger] .rm-layer[data-rating] .rm-sheet,html[data-app-role=driver] .rm-layer[data-rating] .rm-sheet{background:var(--r54-base) var(--r54-card-art) center/cover no-repeat!important;color:var(--r54-ink)!important}
html[data-app-role=passenger] .rm-layer[data-rating] :is(h2,h3,p,label,small),html[data-app-role=driver] .rm-layer[data-rating] :is(h2,h3,p,label,small){color:var(--r54-ink)!important}
html[data-app-role=passenger] .rm-layer[data-rating] .rm-rating,html[data-app-role=driver] .rm-layer[data-rating] .rm-rating{background:var(--r54-surface);border-radius:12px}
@media(max-height:550px){html[data-app-role=passenger] .r54-trip-dock[data-r54-level=half] .r49-trip-body{max-height:calc(54dvh - 49px)!important}}
html[data-app-role=driver] #driver-request[data-overlay-offer] .r54-driver-stage{display:none!important}
html[data-app-role=driver] #driver-request .ride-offer-details{gap:8px!important}
html[data-app-role=driver] #driver-request .ride-offer-details>div{border:1px solid var(--r54-line)!important;border-radius:15px!important;background:var(--r54-surface)!important;color:var(--r54-ink)!important;padding:10px!important;min-width:0!important}
html[data-app-role=driver] #driver-request .rop-person img{width:52px!important;height:52px!important;object-fit:cover;border:3px solid #ffe568;border-radius:50%;box-shadow:0 3px 12px #0002}
html[data-app-role=driver] #driver-request #accept{background:linear-gradient(135deg,#fff12c,#ffdb00)!important;color:#101810!important;border:1px solid #2843e6!important;border-radius:17px!important;font-weight:800!important;box-shadow:0 5px 17px #e1b70030!important;min-height:48px!important;transition:transform .18s,box-shadow .18s!important}
html[data-app-role=driver] #driver-request #decline{border-radius:17px!important;border:1px solid var(--r54-line)!important;background:var(--r54-surface)!important;color:var(--r54-ink)!important;min-height:48px!important;font-weight:700!important;transition:transform .18s,box-shadow .18s!important}
@media(hover:hover){html[data-app-role=driver] #driver-request :is(#accept,#decline):hover{transform:translateY(-1px);box-shadow:0 7px 22px #d7ae0045!important}}
html[data-app-role=driver] #driver-request :is(#accept,#decline):active{transform:scale(.98)}
@media(prefers-reduced-motion:reduce){html[data-app-role=driver] #driver-request :is(#accept,#decline){transition:none!important;transform:none!important}}
