/* Simbora driver: map, one bottom sheet, persistent ride actions. */
body.formula-app.formula-driver.formula-home #screen[data-trip-panel=offer]{grid-template-rows:minmax(100px,27%) minmax(0,1fr)}
body.formula-app.formula-driver.formula-home #screen[data-trip-panel=active]{grid-template-rows:minmax(130px,53%) minmax(0,1fr)}
.driver-clear-summary header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}
.driver-clear-summary header strong{font-size:20px;line-height:1.2}.driver-clear-summary header span{font-size:12px;color:#777}
.driver-clear-person{font-size:16px;font-weight:600;margin:4px 0 10px!important;color:#111!important}
.driver-clear-address{border-left:2px solid #111;padding:0 0 0 11px;margin:10px 0}
.driver-clear-address small{font-size:11px;text-transform:uppercase;letter-spacing:.5px;font-weight:600;color:#666}
.driver-clear-address p{font-size:15px;line-height:1.3;margin:2px 0 0!important;color:#111;overflow-wrap:anywhere}
.driver-trip-details{margin-top:10px;border-top:1px solid #eee;padding-top:8px}.driver-trip-details>summary{font-size:13px;font-weight:600;padding:6px 0;cursor:pointer}
body.formula-driver #screen[data-trip-panel=active] .formula-availability [data-action=online],body.formula-driver #screen[data-trip-panel=active] .simbora-sound-control{display:none}
body.formula-driver #screen[data-trip-panel=active] .driver-bottom-panel>.formula-availability{padding-top:4px;padding-bottom:5px;gap:3px}
body.formula-driver #screen[data-trip-panel=active] .driver-panel-scroll{padding-top:8px;padding-bottom:6px}
body.formula-driver #screen[data-trip-panel=active] .driver-route-status{padding:8px 11px;margin-bottom:8px;font-size:14px}
body.formula-driver #screen[data-trip-panel=active] .driver-clear-person{margin-bottom:5px!important;font-size:14px}
body.formula-driver #screen[data-trip-panel=active] .driver-clear-summary header strong{font-size:18px}
@media(max-height:650px){body.formula-app.formula-driver.formula-home #screen[data-trip-panel=offer]{grid-template-rows:90px minmax(0,1fr)}body.formula-app.formula-driver.formula-home #screen[data-trip-panel=active]{grid-template-rows:30% minmax(0,1fr)}body.formula-driver .driver-clear-address p{font-size:13px}body.formula-driver .driver-panel-actions{padding-top:7px;padding-bottom:7px}body.formula-driver .driver-clear-person{margin-bottom:5px!important}}
@media(min-width:900px){body.formula-app.formula-driver.formula-home #screen[data-trip-panel]{grid-template-rows:1fr;grid-template-columns:minmax(0,1fr) 410px}}
body[data-role=driver]{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#111}
body.formula-app.formula-driver.formula-home .topbar{background:transparent!important;box-shadow:none;border:0;pointer-events:none;height:70px;padding:12px 16px;z-index:30}
body.formula-app.formula-driver.formula-home .topbar>*{pointer-events:auto}
body.formula-app.formula-driver.formula-home .topbar button{background:#fff;color:#000;border:0;border-radius:50%;width:44px;height:44px;box-shadow:0 3px 18px #0002}
body.formula-app.formula-driver.formula-home .driver-header-brand{background:#000;border-radius:24px;padding:9px 20px;width:164px;height:44px;box-shadow:0 3px 18px #0002}
body.formula-app.formula-driver.formula-home .driver-header-brand img{width:124px;height:28px;object-fit:contain}
body.formula-app.formula-driver.formula-home #screen{top:0;padding-top:0;grid-template-rows:minmax(130px,46%) minmax(0,1fr);background:#e8edf1}
body.formula-driver .driver-bottom-panel{border:0;border-radius:26px 26px 0 0;box-shadow:0 -8px 30px #0001;position:relative}
body.formula-driver .driver-bottom-panel:before{content:'';display:block;width:44px;height:5px;border-radius:9px;background:#e7e7e7;margin:9px auto 3px;flex-shrink:0}
body.formula-app.formula-driver.formula-home .driver-bottom-panel>.formula-availability{padding:9px 18px 12px;gap:8px;flex-wrap:wrap;background:white}
body.formula-driver .driver-bottom-panel .formula-availability strong{font:650 15px system-ui}
body.formula-driver .driver-bottom-panel .formula-availability .button,body.formula-driver .driver-bottom-panel .simbora-sound-control{border-radius:20px;background:#f1f1f1;border:0;font:550 12px system-ui;padding:9px 12px;min-height:36px}
body.formula-driver .driver-bottom-panel .live-gps{font:11px system-ui;line-height:1.4;width:100%;margin-top:2px;color:#666}
body.formula-driver .driver-panel-scroll{padding:14px 18px;scroll-padding-bottom:14px}
body.formula-driver .driver-panel-scroll>.card,body.formula-driver .driver-panel-scroll .suite-list>section{border:0;box-shadow:none;border-radius:0;padding:0;margin:0;background:white}
body.formula-driver .driver-panel-scroll h2{font:650 23px system-ui;letter-spacing:-.6px;margin:4px 0 16px}
body.formula-driver .driver-panel-scroll .eyebrow{font:600 10px system-ui;letter-spacing:1.5px;color:#777}
body.formula-driver .driver-bottom-panel .driver-route-status{border-radius:14px;background:#f2f2f2;font:550 15px system-ui;color:#111;padding:13px 15px;margin-bottom:16px}
body.formula-driver .driver-panel-actions{background:white;padding:12px 18px calc(12px + env(safe-area-inset-bottom));gap:9px;border-top:1px solid #eee}
body.formula-driver .driver-panel-actions .button{border-radius:12px;min-height:50px;font:600 16px system-ui;background:#000;color:#fff;border:1px solid #000;padding:12px}
body.formula-driver .driver-panel-actions [data-driver-decline]{background:#f1f1f1;color:#111;border-color:#f1f1f1}
body.formula-driver .driver-action-summary{padding:0 0 10px;align-items:center}
body.formula-driver .driver-action-summary strong{font:700 25px system-ui;letter-spacing:-.7px}
body.formula-driver .driver-action-summary span{font:12px system-ui;color:#666}
body.formula-driver .suite-bottom-nav{background:#fff;border-top:1px solid #eee;box-shadow:none}
@media(max-width:350px){body.formula-driver .driver-panel-scroll{padding:10px 14px}body.formula-driver .driver-panel-scroll h2{font-size:20px}body.formula-driver .driver-bottom-panel .formula-availability .button,body.formula-driver .driver-bottom-panel .simbora-sound-control{font-size:11px;padding:7px 9px}}
@media(min-width:900px){body.formula-app.formula-driver.formula-home #screen{grid-template-rows:1fr;grid-template-columns:minmax(0,1fr) 410px}body.formula-driver .driver-bottom-panel{border-radius:0}body.formula-app.formula-driver.formula-home .topbar{right:430px}}
/* Fixed black header: centered brand and availability at the right. */
body.formula-app.formula-driver.formula-home .topbar{height:calc(92px + env(safe-area-inset-top));padding:calc(10px + env(safe-area-inset-top)) 12px 30px;background:#000!important;color:#fff;display:flex;align-items:center;justify-content:flex-start;pointer-events:auto}
body.formula-app.formula-driver.formula-home .topbar>button{background:#000;color:#fff;box-shadow:none;width:40px;height:40px}
body.formula-app.formula-driver.formula-home .driver-header-brand{position:absolute;left:50%;transform:translateX(-50%);width:140px;height:46px;padding:6px 8px;box-shadow:none;border-radius:0;display:flex;align-items:center;justify-content:center}
body.formula-app.formula-driver.formula-home .driver-header-brand img{width:124px;max-width:100%;height:auto;max-height:40px}
body.formula-app.formula-driver.formula-home .topbar>.formula-availability{position:static;margin:0 0 0 auto;padding:0;display:flex;flex-direction:column;align-items:flex-end;gap:3px;width:94px;min-height:0;border:0;border-radius:0;background:#000;color:#fff;box-shadow:none;max-width:94px}
body.formula-driver .topbar .formula-availability strong{font-size:12px;line-height:1.1;color:#fff}
body.formula-driver .topbar .formula-availability p{display:none}
body.formula-driver .topbar .formula-availability .button{background:#262626;color:#fff;border:1px solid #555;border-radius:15px;font-size:11px;min-height:27px;padding:4px 8px;white-space:nowrap}
body.formula-driver .topbar .formula-availability .live-gps{position:absolute;bottom:6px;left:14px;right:14px;width:auto;margin:0;color:#ccc;font-size:10px;line-height:1.2;display:flex;align-items:center;gap:6px;justify-content:center}
body.formula-driver .topbar .formula-availability .live-gps button{color:#fff;background:#292929;border:1px solid #555;width:auto;height:auto;min-height:22px;font-size:10px;padding:2px 6px;border-radius:10px}
body.formula-app.formula-driver.formula-home #screen{top:calc(92px + env(safe-area-inset-top))}
@media(max-width:350px){body.formula-app.formula-driver.formula-home .driver-header-brand{width:115px}body.formula-app.formula-driver.formula-home .driver-header-brand img{width:108px}body.formula-app.formula-driver.formula-home .topbar>.formula-availability{width:86px;max-width:86px}}
body.formula-app.formula-driver.formula-home .suite-content{inset:calc(92px + env(safe-area-inset-top)) 0 calc(67px + env(safe-area-inset-bottom))}
body.formula-app.formula-driver.formula-home #screen{top:0}
body.formula-app.formula-driver.formula-home .topbar>a{display:none}
body.formula-app.formula-driver.formula-home .topbar .formula-availability .button{width:auto;height:auto;box-shadow:none;border-radius:15px;min-height:27px;padding:4px 8px}
body.formula-app.formula-driver.formula-home .topbar .formula-availability .driver-online-switch{display:flex!important;align-items:center;justify-content:center;gap:5px;background:transparent;color:#fff;border:0;padding:2px 0;min-height:28px;font-size:11px;font-weight:700;border-radius:0}
.driver-switch-track{display:block;width:36px;height:21px;border-radius:20px;background:#626262;padding:3px;transition:background .2s}
.driver-switch-track>span{display:block;width:15px;height:15px;background:white;border-radius:50%;transform:translateX(0);transition:transform .2s}
.driver-online-switch[aria-checked=true] .driver-switch-track{background:#16a565}
.driver-online-switch[aria-checked=true] .driver-switch-track>span{transform:translateX(15px)}
body[data-role=driver] [data-simbora-sound],body[data-role=driver] .simbora-sound-control{display:none!important}
/* Minimal header: menu, larger centered logo and availability switch only. */
body.formula-app.formula-driver.formula-home .topbar{height:calc(72px + env(safe-area-inset-top));padding:calc(10px + env(safe-area-inset-top)) 12px 10px}
body.formula-app.formula-driver.formula-home .driver-header-brand{width:190px;height:52px;padding:0}
body.formula-app.formula-driver.formula-home .driver-header-brand img{width:184px;height:auto;max-height:52px}
body.formula-app.formula-driver.formula-home .topbar>.formula-availability{width:62px;max-width:62px;justify-content:center;align-items:flex-end}
body.formula-driver .topbar .formula-availability>div>strong,body.formula-driver .topbar .formula-availability>.live-gps,body.formula-driver .topbar .formula-availability [data-live-gps]{display:none!important}
body.formula-driver .topbar .driver-online-switch>span:last-child{display:none}
body.formula-driver .topbar .driver-switch-track{width:42px;height:25px;padding:3px}
body.formula-driver .topbar .driver-switch-track>span{width:19px;height:19px}
body.formula-driver .topbar .driver-online-switch[aria-checked=true] .driver-switch-track>span{transform:translateX(17px)}
body.formula-app.formula-driver.formula-home .suite-content{top:calc(72px + env(safe-area-inset-top))}
@media(max-width:350px){body.formula-app.formula-driver.formula-home .driver-header-brand{width:165px}body.formula-app.formula-driver.formula-home .driver-header-brand img{width:160px}}
/* Floating dark navigation with a rounded selected item. */
body.formula-driver .suite-tabbar{position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));height:66px;min-height:66px;width:auto;max-width:560px;margin:0 auto;padding:6px;display:flex;align-items:stretch;justify-content:space-between;gap:3px;background:#1d1d1d;border:1px solid #393939;border-radius:38px;box-shadow:0 4px 22px #0003;z-index:90;overflow:hidden}
body.formula-driver .suite-tabbar>a{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:4px 2px;margin:0;background:transparent;color:#aaa;border:0;border-radius:30px;font-size:11px;line-height:1.2;text-decoration:none;white-space:nowrap}
body.formula-driver .suite-tabbar>a.active{background:#2c2c2c;color:#fff;font-weight:600;border:0}
body.formula-driver .suite-tabbar>a>svg{width:23px;height:23px;flex-shrink:0}
body.formula-driver .suite-tabbar>a.active>svg{stroke-width:2.2}
body.formula-driver .suite-tabbar>a>.driver-nav-label{font-size:11px;line-height:1.2;display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis}
body.formula-app.formula-driver.formula-home .suite-content{bottom:calc(86px + env(safe-area-inset-bottom))}
@media(min-width:900px){body.formula-driver .suite-tabbar{left:50%;right:auto;width:520px;transform:translateX(-50%)}}
body.formula-driver .suite-tabbar{height:56px;min-height:56px;max-width:370px;left:20px;right:20px;padding:5px;bottom:calc(9px + env(safe-area-inset-bottom));border-radius:32px}
body.formula-driver .suite-tabbar>a{gap:2px;padding:3px 5px;font-size:10px}
body.formula-driver .suite-tabbar>a>svg{width:20px;height:20px}
body.formula-driver .suite-tabbar>a>.driver-nav-label{font-size:10px}
body.formula-app.formula-driver.formula-home .suite-content{bottom:calc(74px + env(safe-area-inset-bottom))}
@media(min-width:900px){body.formula-driver .suite-tabbar{left:50%;right:auto;width:370px}}
/* Compact reference proportions: narrow pill and low profile. */
body.formula-driver .suite-tabbar{box-sizing:border-box;left:50%;right:auto;transform:translateX(-50%);width:78%;max-width:330px;height:52px;min-height:52px;padding:5px 6px;gap:3px;border-radius:30px;bottom:calc(12px + env(safe-area-inset-bottom));background:#1d1d1d;border:1px solid #393939;box-shadow:0 2px 10px #0002}
body.formula-driver .suite-tabbar>a{box-sizing:border-box;min-height:0;height:40px;flex:1 1 0;padding:3px 2px;gap:2px;border-radius:24px;font-size:9px;line-height:1.1}
body.formula-driver .suite-tabbar>a>svg{width:18px;height:18px}
body.formula-driver .suite-tabbar>a>.driver-nav-label{font-size:9px;line-height:1.1;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.formula-driver .suite-tabbar>a.active{background:#292929;color:#f5f5f5}
body.formula-app.formula-driver.formula-home .suite-content{bottom:calc(73px + env(safe-area-inset-bottom))}
/* Reference measured in screen proportions: 78% width, capsule ratio 4.8:1. */
body.formula-driver .suite-tabbar{width:78%;max-width:330px;height:clamp(52px,16.25vw,69px);min-height:0;padding:7px;gap:5px;border-radius:999px;bottom:calc(10px + env(safe-area-inset-bottom));border-color:#383838;background:#1d1d1d;box-shadow:0 3px 12px #0002}
body.formula-driver .suite-tabbar>a{height:100%;padding:3px 2px;gap:3px;border-radius:999px;justify-content:center;color:#aaa}
body.formula-driver .suite-tabbar>a>svg{width:19px;height:19px}
body.formula-driver .suite-tabbar>a>.driver-nav-label{font-size:11px;line-height:1.15;max-width:59px;font-weight:400}
body.formula-driver .suite-tabbar>a.active>.driver-nav-label{font-weight:600}
body.formula-driver .suite-tabbar>a.active{background:#292929;color:#eee}
body.formula-driver .suite-tabbar>a.active[href='#dashboard']>svg{fill:currentColor;stroke-width:1}
body.formula-app.formula-driver.formula-home .suite-content{bottom:calc(clamp(52px,16.25vw,69px) + 20px + env(safe-area-inset-bottom))}
/* Activity: dark history, recent trip card and compact previous trips. */
body.driver-activity,body.driver-activity .app-shell,body.driver-activity .main-wrap{background:#1d1d1d;color:#eee;min-height:100dvh}
body.driver-activity .topbar{display:none}
body.formula-driver.driver-activity .suite-content{max-width:600px;margin:0 auto;padding:calc(32px + env(safe-area-inset-top)) 16px calc(100px + env(safe-area-inset-bottom));background:#1d1d1d;color:#eee}
.activity-heading h1{font-size:34px;line-height:1.1;letter-spacing:-.7px;margin:0 0 28px;font-weight:700;color:#eee}
.activity-subheading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.activity-subheading h2{font-size:22px;font-weight:600;margin:0;color:#eee}
.activity-filter select{width:86px;min-height:36px;border:0;border-radius:24px;background:#272727;color:#ccc;font-size:12px;padding:6px 10px}
.activity-ride{display:flex;gap:16px;padding:16px 0;align-items:flex-start}.activity-car{width:64px;height:64px;border-radius:10px;background:#383838;display:flex;align-items:center;justify-content:center;flex-shrink:0}.activity-car img{width:54px;height:40px;object-fit:contain}
.activity-copy{flex:1;min-width:0;border-bottom:1px solid #373737;padding-bottom:13px}.activity-copy h3{font-size:18px;line-height:1.2;margin:0 0 5px;color:#eee;font-weight:600;overflow-wrap:anywhere}.activity-copy p{font-size:14px;color:#c4c4c4;line-height:1.35;margin:3px 0}
.activity-copy details>summary{display:inline-block;list-style:none;border-radius:25px;background:#292929;color:#ddd;padding:8px 14px;font-size:14px;margin-top:12px;cursor:pointer}.activity-copy details>summary::-webkit-details-marker{display:none}.activity-details{padding-top:8px}.activity-details p{font-size:13px;overflow-wrap:anywhere}
.activity-featured{display:block;border:2px solid #373737;border-radius:14px;padding:14px;margin-bottom:10px}.activity-featured .activity-car{width:100%;height:140px;border-radius:10px;background:#3d424a;margin-bottom:16px}.activity-featured .activity-car img{width:96px;height:65px}.activity-featured .activity-copy{border:0;padding:0}.activity-featured h3{font-size:22px}.activity-empty{color:#bbb;padding:25px 0;font-size:15px}
.activity-filter{position:relative;display:block;width:38px;height:38px;border-radius:50%;background:#272727}
.activity-filter:before{content:'';position:absolute;inset:9px;pointer-events:none;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ddd' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M3 7h18M3 17h18'/%3E%3Ccircle cx='8' cy='7' r='3' fill='%232727'/%3E%3Ccircle cx='16' cy='17' r='3' fill='%232727'/%3E%3C/svg%3E")}
.activity-filter select{position:absolute;inset:0;width:100%;height:100%;min-height:0;opacity:0;cursor:pointer;margin:0;padding:0}
.activity-filter:focus-within{outline:2px solid #ddd;outline-offset:3px}
.activity-filter>.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
body.driver-account,body.driver-account .app-shell,body.driver-account .main-wrap{background:#1d1d1d;color:#eee;min-height:100dvh}
body.driver-account .topbar{display:none}
body.formula-driver.driver-account .suite-content{max-width:600px;margin:0 auto;padding:calc(32px + env(safe-area-inset-top)) 16px calc(110px + env(safe-area-inset-bottom));background:#1d1d1d;color:#eee}
.account-title h1{font-size:34px;line-height:1.1;letter-spacing:-.7px;margin:0 0 24px;font-weight:700}
.driver-account-profile{display:flex;align-items:center;gap:14px;padding:18px 15px;border:1px solid #393939;border-radius:18px;background:#252525;margin-bottom:26px}
.account-avatar{width:56px;height:56px;border-radius:50%;background:#383838;display:grid;place-items:center;flex-shrink:0}.account-avatar svg{width:30px;height:30px}
.driver-account-profile>div:nth-child(2){flex:1;min-width:0}.driver-account-profile h2{font-size:21px;line-height:1.2;margin:0 0 5px;color:#eee;overflow-wrap:anywhere}.driver-account-profile p{font-size:13px;color:#aaa;line-height:1.4;margin:2px 0}.driver-account-profile>a{color:#ccc;font-size:28px;text-decoration:none;padding:8px}
.account-group{margin:0 0 24px}.account-group>h2{font-size:15px;color:#aaa;font-weight:600;margin:0 0 8px}
.account-row{display:flex;align-items:center;gap:14px;padding:15px 2px;color:#eee;text-decoration:none;border-bottom:1px solid #343434}.account-row>svg{width:23px;height:23px;flex-shrink:0;color:#ddd}.account-row>span{flex:1;min-width:0}.account-row strong{display:block;font-weight:600;font-size:17px;line-height:1.3}.account-row small{display:block;font-size:12px;color:#aaa;margin-top:3px;line-height:1.3}.account-row>b{font-size:24px;color:#888;font-weight:400}
.account-logout{width:100%;min-height:46px;border:1px solid #494949;border-radius:25px;color:#eee;background:#292929;font-size:16px;font-weight:600;cursor:pointer}.account-row:focus-visible,.account-logout:focus-visible{outline:2px solid white;outline-offset:3px}
/* Shared visual system for every secondary driver screen. */
body.driver-subpage,body.driver-subpage .app-shell,body.driver-subpage .main-wrap{background:#1d1d1d;color:#eee;min-height:100dvh;color-scheme:dark}
body.formula-driver.driver-subpage .topbar{background:#1d1d1d;color:#eee;box-shadow:none;border:0;height:calc(58px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 16px 0;justify-content:flex-start;gap:14px}
body.driver-subpage .driver-back{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;color:#eee;background:#292929;text-decoration:none}.driver-back svg{width:22px;height:22px}.driver-subpage-brand{font-size:19px;font-weight:600;color:#eee}
body.formula-driver.driver-subpage .suite-content{max-width:600px;margin:0 auto;padding:calc(72px + env(safe-area-inset-top)) 16px calc(110px + env(safe-area-inset-bottom));background:#1d1d1d;color:#eee}
body.driver-subpage .option-heading,body.driver-subpage .formula-section-title,body.driver-subpage .suite-title{padding:0;margin:0 0 24px;background:transparent}
body.driver-subpage :is(.option-heading,.formula-section-title,.suite-title) h1{font-size:29px;line-height:1.15;color:#eee;letter-spacing:-.5px;margin:0 0 9px}
body.driver-subpage .option-heading .eyebrow,body.driver-subpage .suite-title .eyebrow{display:none}
body.driver-subpage :is(.option-heading,.suite-title) p{font-size:14px;line-height:1.5;color:#aaa;margin:0}
body.driver-subpage :is(.card,.option-card,.section-card){background:#252525;color:#eee;border:1px solid #373737;border-radius:16px;box-shadow:none;padding:18px;margin:0 0 16px;min-width:0}
body.driver-subpage :is(h2,h3){color:#eee;line-height:1.3}body.driver-subpage h2{font-size:20px}body.driver-subpage h3{font-size:17px}
body.driver-subpage :is(p,.hint,small,.eyebrow){color:#bcbcbc;line-height:1.5}body.driver-subpage .field{margin:0 0 17px}body.driver-subpage :is(.field label,label){font-size:14px;color:#ddd;line-height:1.4}
body.driver-subpage :is(input:not([type=checkbox]):not([type=radio]),select,textarea){box-sizing:border-box;width:100%;max-width:100%;min-height:46px;background:#303030;color:#eee;border:1px solid #505050;border-radius:10px;padding:11px 12px;font-size:16px;margin-top:7px;box-shadow:none;color-scheme:dark}
body.driver-subpage input[type=file]{font-size:13px}body.driver-subpage input::file-selector-button{background:#454545;color:white;border:0;border-radius:6px;padding:7px;margin-right:8px}body.driver-subpage :is(input,textarea)::placeholder{color:#999}body.driver-subpage :is(input,select,textarea):focus{outline:2px solid #ccc;outline-offset:2px}body.driver-subpage input:disabled{opacity:.65}
body.driver-subpage :is(.button,button:not(.formula-round)){border-radius:24px;min-height:43px;padding:10px 16px;background:#eee;color:#181818;border:1px solid #eee;font-size:15px;font-weight:600;line-height:1.3;box-shadow:none;white-space:normal}
body.driver-subpage .button.secondary,body.driver-subpage .button.ghost{background:#333;color:#eee;border-color:#555}body.driver-subpage .button.full{width:100%}
body.driver-subpage .option-link{display:flex;align-items:center;justify-content:space-between;padding:16px 0;color:#eee;border-bottom:1px solid #414141;background:transparent;text-decoration:none;font-size:16px}.driver-subpage .option-link strong{color:#eee}.driver-subpage .option-link small{display:block;color:#aaa;font-size:12px;margin-top:3px}
body.driver-subpage :is(.notice,.option-notice,.suite-note){background:#303030;border:1px solid #474747;border-radius:10px;color:#ccc;font-size:13px;padding:12px;line-height:1.5}
body.driver-subpage .form-error:not(:empty){color:#ffb4b4;background:#472b2b;border-radius:8px;padding:10px}body.driver-subpage .option-row{border-color:#424242;padding:13px 0;overflow-wrap:anywhere}body.driver-subpage .divider{border-color:#444}
body.driver-subpage .service-tabs{display:flex;flex-wrap:wrap;gap:7px;background:transparent;border:0;padding:0;margin-bottom:18px}body.driver-subpage .service-tabs a{background:#303030;color:#ccc;border:1px solid #454545;border-radius:22px;padding:8px 13px;text-decoration:none;font-size:13px}body.driver-subpage .service-tabs a.active{color:#111;background:#eee;border-color:#eee}
body.driver-subpage .option-stats{gap:10px;flex-wrap:wrap}body.driver-subpage .option-stats strong{color:#eee;font-size:22px}body.driver-subpage .checkbox{display:flex;align-items:center;gap:10px;margin:13px 0}body.driver-subpage input[type=checkbox]{accent-color:#eee;width:18px;height:18px;flex-shrink:0}
body.driver-subpage .inline-actions{gap:8px;flex-wrap:wrap}body.driver-subpage .formula-period{display:flex;flex-wrap:wrap;gap:12px}body.driver-subpage .formula-period label{flex:1;min-width:115px}
body.driver-subpage .suite-message{background:#333;color:#eee;border-color:#444}body.driver-subpage .suite-message.mine{background:#414141}body.driver-subpage a:not(.button):not(.option-link):not(.driver-back):not(.suite-tabbar a){color:#ddd}body.driver-subpage .option-pre{white-space:pre-wrap;overflow-wrap:anywhere}
/* Flat forms: no enclosing cards, no input boxes or shadows. */
body.driver-subpage :is(.card,.option-card,.section-card){background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;margin:0 0 28px}
body.driver-subpage :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:transparent;border:0;border-bottom:1px solid #555;border-radius:0;box-shadow:none;padding:10px 0;margin-top:5px;min-height:44px}
body.driver-subpage textarea{resize:vertical}
body.driver-subpage :is(input,select,textarea):focus{outline:0;border-bottom-color:#eee;box-shadow:none}
body.driver-subpage .field{margin-bottom:22px}
body.driver-subpage input::file-selector-button{background:transparent;border:1px solid #777;border-radius:0;color:#eee}
body.driver-subpage :is(.notice,.option-notice,.suite-note){background:transparent;border:0;border-left:2px solid #555;border-radius:0;box-shadow:none;padding:8px 12px}
/* Driver options follows the same clean service layout as passenger options. */
body.driver-tools .topbar{display:none!important}
body.formula-driver.driver-tools .suite-content{padding:calc(32px + env(safe-area-inset-top)) 18px calc(110px + env(safe-area-inset-bottom));max-width:600px;margin:0 auto;background:#1d1d1d;color:#eee}
.driver-tools-page>header h1{font-size:34px;letter-spacing:-.7px;line-height:1.1;margin:0 0 7px;color:#eee}.driver-tools-page>header p{font-size:14px;color:#aaa;margin:0 0 26px}
.driver-tools-page .driver-tools-current{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:12px 0 24px;border-bottom:1px solid #383838;color:#eee;text-decoration:none}.driver-tools-current>span{flex:1;min-width:0}.driver-tools-current strong{display:block;font-size:24px;font-weight:600;line-height:1.15}.driver-tools-current small{display:block;font-size:13px;line-height:1.4;color:#aaa;margin-top:8px}.driver-tools-current b{display:inline-flex;align-items:center;gap:5px;font-size:14px;font-weight:600;margin-top:18px}.driver-tools-current b>svg{width:16px;height:16px}.driver-tools-current img{width:43%;max-width:170px;height:100px;object-fit:contain}
.driver-tools-shortcuts{padding:25px 0;border-bottom:1px solid #383838}.driver-tools-page h2{font-size:20px;font-weight:600;line-height:1.2;color:#eee;margin:0 0 19px}.driver-tools-shortcuts>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.driver-tools-shortcuts a{display:flex;align-items:center;flex-direction:column;gap:5px;min-width:0;padding:0;color:#eee;text-align:center;text-decoration:none}.driver-tools-shortcuts a>span{display:grid;place-items:center;width:66px;height:66px;background:#292929;border-radius:50%;margin-bottom:5px}.driver-tools-shortcuts svg{width:29px;height:29px;color:#ddd}.driver-tools-shortcuts strong{font-size:16px;font-weight:600}.driver-tools-shortcuts small{font-size:11px;color:#aaa;line-height:1.3}
.driver-tools-links{padding-top:25px}.driver-tools-page .driver-tools-links>a{display:flex;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid #343434;color:#eee;text-decoration:none}.driver-tools-links>a>span{flex:1;min-width:0}.driver-tools-links strong{display:block;font-size:17px;font-weight:600;line-height:1.3}.driver-tools-links small{display:block;font-size:12px;color:#aaa;margin-top:4px}.driver-tools-links>a>svg:first-child{width:23px;height:23px;color:#ccc}.driver-tools-links>a>svg:last-child{width:16px;height:16px;color:#888}
@media(max-width:350px){.driver-tools-current strong{font-size:21px}.driver-tools-shortcuts>div{gap:7px}.driver-tools-shortcuts a>span{width:57px;height:57px}}
/* Driver trip panels share the dark palette used by the rest of the app. */
body.formula-app.formula-driver.formula-home .suite-content,body.formula-driver.formula-home .main-wrap{background:#1d1d1d;color:#eee}
body.formula-driver.formula-home .driver-bottom-panel{background:#1d1d1d;color:#eee;border-color:#373737}
body.formula-driver.formula-home .driver-bottom-panel:before{background:#444}
body.formula-driver.formula-home .driver-panel-scroll,body.formula-driver.formula-home .driver-panel-actions{background:#1d1d1d;color:#eee;border-color:#383838}
body.formula-driver.formula-home .driver-panel-scroll>.card,body.formula-driver.formula-home .driver-panel-scroll .suite-list>section,body.formula-driver.formula-home .driver-panel-scroll>.empty{background:#1d1d1d!important;color:#eee;border-color:#383838}
body.formula-driver.formula-home .driver-panel-scroll :is(h2,h3,strong),body.formula-driver.formula-home .driver-clear-summary header strong{color:#eee}
body.formula-driver.formula-home .driver-clear-person,body.formula-driver.formula-home .driver-clear-address p{color:#eee!important}
body.formula-driver.formula-home .driver-clear-address{border-left-color:#ddd}
body.formula-driver.formula-home .driver-clear-address small,body.formula-driver.formula-home .driver-clear-summary header span,body.formula-driver.formula-home .driver-panel-scroll .eyebrow{color:#aaa}
body.formula-driver.formula-home .driver-trip-details,body.formula-driver.formula-home .driver-chat,body.formula-driver.formula-home .rider-contact-card{border-color:#383838;background:transparent;color:#ddd}
body.formula-driver.formula-home .driver-bottom-panel .driver-route-status{background:#292929;color:#eee;box-shadow:none}
body.formula-driver.formula-home .driver-action-summary strong{color:#eee}body.formula-driver.formula-home .driver-action-summary span{color:#aaa}
body.formula-driver.formula-home .driver-panel-actions>.button{background:#eee;color:#151515;border-color:#eee}
body.formula-driver.formula-home .driver-panel-actions>[data-driver-decline]{background:#303030;color:#eee;border-color:#555}
body.formula-driver.formula-home .driver-panel-scroll :is(.hint,p){color:#bbb}
body.formula-driver.formula-home .driver-panel-scroll input,body.formula-driver.formula-home .driver-panel-scroll textarea{background:transparent;color:#eee;border:0;border-bottom:1px solid #555;border-radius:0}
body.formula-driver.formula-home .driver-panel-scroll .button.secondary{background:#303030;color:#eee;border-color:#555}
html:has(body.formula-driver.formula-home){background:#1d1d1d;color-scheme:dark}
/* Preserve the dark surface behind the floating menu on all driver routes. */
html:has(body.formula-driver),body.formula-driver,body.formula-driver #suite,body.formula-driver .app-shell,body.formula-driver .main-wrap{background-color:#1d1d1d!important}
/* Use the full area above navigation; essential ride data stays outside details. */
@media(max-width:899px){
 body.formula-app.formula-driver.formula-home .suite-content{padding:0!important;margin:0;max-width:none;bottom:calc(clamp(52px,16.25vw,69px) + 14px + env(safe-area-inset-bottom))}
 body.formula-app.formula-driver.formula-home #screen:is([data-trip-panel=active],[data-trip-panel=offer]){grid-template-rows:minmax(85px,1fr) minmax(450px,auto)}
 body.formula-driver.formula-home .driver-panel-actions{margin-top:auto;padding-bottom:4px;flex-shrink:0}
 body.formula-driver.formula-home #screen[data-trip-panel=active] .simbora-home-greeting{font-size:17px;margin:4px 0 10px;flex-shrink:0}
 body.formula-driver.formula-home .driver-panel-scroll{scroll-padding:12px}
 body.formula-driver.formula-home .driver-clear-address{margin:8px 0}
 body.formula-driver.formula-home .driver-trip-details{margin-top:8px}
}
@media(max-width:899px) and (max-height:740px){
 body.formula-app.formula-driver.formula-home #screen:is([data-trip-panel=active],[data-trip-panel=offer]){grid-template-rows:minmax(75px,1fr) minmax(385px,auto)}
 body.formula-driver.formula-home #screen[data-trip-panel=active] .driver-clear-address p{font-size:14px}
}
.driver-journey-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 18px;border:0;background:#1d1d1d;color:#eee;text-align:left;font-family:inherit;cursor:pointer;flex-shrink:0}
.driver-journey-toggle>span:first-child{min-width:0;flex:1}.driver-journey-toggle strong{display:block;font-size:17px}.driver-journey-toggle small{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#bbb;font-size:13px;margin-top:4px}.driver-journey-toggle-label{font-size:13px;white-space:nowrap}
body.formula-driver.formula-home #screen[data-journey=travelling][data-journey-expanded=false] :is(.driver-panel-scroll,.driver-panel-actions){display:none}
body.formula-driver.formula-home #screen[data-journey=travelling] .driver-bottom-panel:before{display:none}
@media(max-width:899px){
 body.formula-app.formula-driver.formula-home #screen[data-journey=travelling][data-journey-expanded=false]{grid-template-rows:minmax(0,1fr) 72px}
 body.formula-app.formula-driver.formula-home #screen[data-journey=travelling][data-journey-expanded=true]{grid-template-rows:minmax(85px,1fr) minmax(480px,auto)}
}
@media(max-width:899px) and (max-height:740px){
 body.formula-app.formula-driver.formula-home #screen[data-journey=travelling][data-journey-expanded=true]{grid-template-rows:75px minmax(0,1fr)}
}
