.fd-ride-controls{padding:12px 18px;border-top:1px solid var(--line);background:var(--surface,#fff);flex:none}
.fd-ride-heading{display:flex;justify-content:space-between;gap:12px;font-size:14px;color:var(--ink)}
.fd-ride-destination{margin:6px 0 10px;font-size:13px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fd-ride-primary{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:8px}.fd-ride-primary .button{min-width:0;padding:10px 7px;font-size:13px;min-height:44px;white-space:normal}
.fd-ride-navigation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px}.fd-ride-navigation .button{font-size:11px;min-width:0;padding:9px 5px;min-height:40px;white-space:normal}
.fd-ride-gps,.fd-ride-alert{font-size:11px;margin:8px 0 0;line-height:1.35}.fd-ride-alert:empty{display:none}
.fd-driver-sheet:has(.fd-ride-controls){max-height:calc(100% - var(--fd-driver-header,76px) - var(--fd-driver-nav,72px) - 12px)}
.fd-driver-sheet[data-state=collapsed]:has(.fd-ride-controls){min-height:0}
.fd-driver-sheet:has(.fd-ride-controls) .fd-driver-topbar{display:none}
.fd-driver-screen .fd-driver-sheet-body:has(.fd-driver-console[data-driver-state=busy]) .fd-driver-waiting{display:none}
.p-place .field{position:relative}.p-place input[data-address]{padding-right:48px!important}.fd-address-clear{position:absolute;right:8px;top:37px;min-width:36px;height:36px;border:0;border-radius:50%;background:var(--surface,#fff);color:var(--ink);font-size:24px;cursor:pointer}
body[data-page="/travel"] .modal-backdrop{z-index:1200;display:flex;align-items:center;justify-content:center;padding:16px}
body[data-page="/travel"] .modal:has(.fd-trip-chat-frame){width:min(660px,100%);max-height:85dvh;border-radius:22px;overflow:hidden}
body[data-page="/travel"] .fd-trip-chat-frame{display:block;width:100%;height:65dvh;border:0;background:var(--surface,#fff)}
.fd-road-toolbar{position:absolute;right:12px;top:130px;z-index:6;display:grid;gap:7px}.fd-road-toolbar button{width:40px;height:40px;border:1px solid var(--line);background:var(--surface,#fff);border-radius:12px;font-size:18px;box-shadow:0 3px 12px #16466018}
.fd-driver-map-stage[data-driver-mode=radar] .fd-road-toolbar{display:none}

.fd-passenger-quick{padding:12px 18px;border-bottom:1px solid var(--line);flex:none;background:var(--surface,#fff)}.fd-passenger-quick>strong{display:block;font-size:13px;color:var(--ink);margin-bottom:8px}.fd-passenger-quick .form-actions{display:flex;gap:8px;margin:0}.fd-passenger-quick .button{flex:1;min-width:0;font-size:13px;padding:10px 7px;min-height:44px}.fd-active-trip .fd-trip-status h2{font-size:20px}.fd-active-trip .fd-booking-sheet[data-sheet-state=collapsed] .fd-passenger-quick{display:block}
.account-caribbean .workspace .fd-active-trip .fd-booking-sheet[data-sheet-state=collapsed]{height:auto;min-height:80px}
.fd-map-screen .workspace .fd-route-fields .fd-address-clear{right:60px;top:auto;bottom:5px}
.fd-road-toolbar{top:14px;right:16px;grid-template-columns:repeat(2,40px);gap:6px;max-height:calc(100% - 170px);overflow-y:auto;scrollbar-width:none}.fd-road-toolbar::-webkit-scrollbar{display:none}.fd-road-toolbar svg{width:22px;height:22px}.fd-driver-map-stage:has(.fd-road-toolbar) .fd-driver-map-center{top:158px}
body[data-page="/travel"] .fd-road-dialog{max-height:90dvh;overflow-y:auto;padding:20px 24px 24px}.fd-road-dialog .modal-heading{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin-bottom:10px}.fd-road-dialog .modal-heading .icon-button{order:0;align-self:flex-end;min-width:36px;min-height:36px}.fd-road-dialog .modal-heading h2{order:1;font-size:24px;line-height:1.25;margin:0!important}.fd-road-dialog p{margin:10px 0;line-height:1.55}.fd-road-dialog .fd-road-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.fd-road-dialog .fd-road-actions .button{min-height:44px;flex:1;white-space:normal;min-width:140px}.fd-road-draft-map{width:100%;height:240px;min-height:180px;margin:16px 0;border:1px solid var(--line);border-radius:16px;overflow:hidden}.fd-road-votes{padding:12px;background:var(--surface-soft,#f2f8fc);border-radius:12px;font-size:14px}
@media(max-width:420px){.fd-driver-view-switch button{padding:8px 10px}.fd-road-draft-map{height:210px}}
.fd-road-nearby{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:10px 18px;border-top:1px solid var(--line);background:var(--surface,#fff);font-size:12px;flex:none}.fd-road-nearby>span{display:flex;align-items:center;gap:8px}.fd-road-nearby svg{width:20px;height:20px;flex:none;color:var(--ink)}.fd-road-nearby .button{min-height:40px;padding:8px 12px;font-size:12px}
/* Road tool group follows the Map/Radar segmented controls. */
.fd-driver-map-stage .fd-road-toolbar{padding:4px;border:1px solid var(--line,#d5dee3);border-radius:16px;background:#fff;box-shadow:none;gap:4px;grid-template-columns:repeat(2,40px)}
.fd-driver-map-stage .fd-road-toolbar button{display:grid;place-items:center;min-height:40px;padding:8px;border:0;border-radius:12px;background:transparent;color:var(--ink,#164660);box-shadow:none}
.fd-driver-map-stage .fd-road-toolbar svg{width:24px;height:24px;stroke-width:2.4}
.fd-driver-map-stage .fd-road-toolbar button[aria-pressed="true"]{background:var(--primary,#198cef);color:#fff}
.fd-driver-map-stage .fd-road-toolbar button:focus-visible{outline:3px solid var(--primary,#198cef);outline-offset:2px}
.fd-driver-map-stage:has(.fd-road-toolbar) .fd-driver-map-center{top:160px}

.fd-road-map-legend{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--ink)}.fd-road-map-legend>span{width:10px;height:10px;border-radius:50%;background:#198cef;flex:none;box-shadow:0 0 0 4px #198cef22}
