/* Shared visual system for the approved six-screen flow. */
body.worcar-app{--wc-paper:#fff;--wc-soft:#f7f8f7;--wc-line:#e5e8e6;--wc-muted:#707873;--wc-primary:#171c19;--wc-green:#07844f;background:var(--wc-surface-ffffff)}
body.worcar-app #app h1,body.worcar-app #app .driver-greeting h1{font-size:26px;line-height:1.2;letter-spacing:-.8px}
body.worcar-app #app h2{font-size:18px;letter-spacing:-.3px}
body.worcar-app #app .topbar{height:68px;min-height:68px;padding:16px 20px}
body.worcar-app #app .wordmark{width:124px;max-height:26px}
body.worcar-app #app .main{padding-top:12px}
body.worcar-app #app .page-heading,body.worcar-app #app .dw-heading,body.worcar-app #app .driver-greeting{margin-bottom:22px}
body.worcar-app #app .btn{min-height:48px;border-radius:10px;font-size:14px;box-shadow:none}
body.worcar-app #app .btn.small{min-height:44px}
body.worcar-app #app input,body.worcar-app #app select{font-size:16px}
body.worcar-app #app .bottom-nav{background:var(--wc-surface-ffffff);border-top:1px solid var(--wc-line);box-shadow:none}
body.worcar-app #app .nav-item{font-size:11px;min-height:54px}
body.worcar-app #app .booking-launch{padding:0;border:0;background:none;box-shadow:none}
body.worcar-app #app .booking-mode{margin:0 0 14px;border:1px solid var(--wc-line);border-radius:9px;background:var(--wc-surface-f6f7f6);padding:3px;gap:3px}
body.worcar-app #app .booking-mode button{min-height:44px;padding:8px;font-size:13px;border-radius:6px;border:0}
body.worcar-app #app .booking-mode button[aria-pressed=true]{background:var(--wc-green);color:var(--wc-ink-ffffff);box-shadow:none}
body.worcar-app #app .booking-mode .mode-icon{display:none}
body.worcar-app #app .booking-mode strong{font-size:13px}
body.worcar-app #app .booking-mode small{font-size:10px;color:inherit}
body.worcar-app #app .home-booking-form{gap:10px}
body.worcar-app #app .home-booking-form .field{margin:0;display:block}
body.worcar-app #app .home-booking-form input{height:48px;min-height:48px;border:1px solid var(--wc-line);border-radius:9px;padding:12px;background:var(--wc-surface-ffffff);width:100%;box-sizing:border-box}
body.worcar-app #app .home-pickup-field{position:relative}
body.worcar-app #app .home-pickup-field input{padding-right:50px}
body.worcar-app #app .home-pickup-field .location-shortcut{position:absolute;right:2px;top:2px;width:44px;height:44px;padding:10px;margin:0;background:transparent;border:0}
body.worcar-app #app .home-date-control,body.worcar-app #app .home-seat-control{display:flex;align-items:center;gap:10px;min-height:48px;border:1px solid var(--wc-line);background:var(--wc-surface-ffffff);border-radius:9px;padding:0 12px;font:inherit;color:inherit;width:100%;box-sizing:border-box}
body.worcar-app #app .home-date-control span:last-child{margin-left:auto}
body.worcar-app #app .home-seat-control>span{display:flex;align-items:center;gap:10px;flex:1}
body.worcar-app #app .home-seat-control button{min-width:44px;width:44px;height:44px;min-height:44px;border:0;background:none;border-radius:8px;font-size:20px}
body.worcar-app #app .wc-home-art{margin-top:20px;max-height:145px;min-height:0;overflow:hidden}
body.worcar-app #app .home-assurance{display:none}
body.worcar-app #app .reference-status-heading{text-align:left;margin:4px 0 20px}
body.worcar-app #app .reference-status-heading h1{font-size:26px;margin-top:10px}
body.worcar-app #app .reference-route-card,body.worcar-app #app .reference-driver,body.worcar-app #app .compact-ride-ticket{border:1px solid var(--wc-line);border-radius:12px;padding:16px;box-shadow:none;background:var(--wc-surface-ffffff)}
body.worcar-app #app .reference-driver-person{gap:12px}
body.worcar-app #app .reference-driver-person strong{font-size:17px}
body.worcar-app #app .identified-vehicle-body{margin-top:12px;gap:12px}
body.worcar-app #app .vehicle-registration{font-size:20px}
body.worcar-app #app .vehicle-make-model{font-size:14px}
body.worcar-app #app .reference-review .reference-route-card{margin-bottom:16px}
body.worcar-app #app .approved-driver-home .reference-driving-controls{border:0;overflow:visible;border-radius:0;background:none;margin:0 0 20px}
body.worcar-app #app .approved-driver-home .reference-setting,body.worcar-app #app .approved-driver-home .home-week-summary{border:1px solid var(--wc-line);border-radius:12px;background:var(--wc-surface-ffffff);padding:14px 16px;margin-bottom:12px}
body.worcar-app #app .reference-setting strong{font-size:16px}
body.worcar-app #app .reference-setting small{font-size:12px}
body.worcar-app #app .approved-driver-home .home-week-label>strong{font-size:12px;letter-spacing:0}
body.worcar-app #app .approved-driver-home .home-week-amount{margin:2px 0;min-height:40px}
body.worcar-app #app .approved-driver-home .home-week-amount strong{font-size:30px;letter-spacing:-1px}
body.worcar-app #app .home-week-footer{border:0;padding-top:0}
body.worcar-app #app .home-week-footer button{color:inherit}
body.worcar-app #app .home-rides-heading{margin-bottom:12px}
body.worcar-app #app .home-rides-heading h2{font-size:18px}
body.worcar-app #app .home-manage-availability{border:1px solid var(--wc-line);border-radius:12px;background:var(--wc-surface-ffffff);padding:14px;margin-top:14px;min-height:58px;gap:12px}
body.worcar-app #app .home-manage-availability strong{font-size:14px}
body.worcar-app #app .home-car-footer{display:none}
body.worcar-app #app .driver-availability-glance{border:1px solid var(--wc-line);border-radius:12px;background:var(--wc-surface-ffffff);padding:14px 16px;min-height:0;margin:0 0 22px}
body.worcar-app #app .glance-heading{font-size:12px;font-weight:500}
body.worcar-app #app .glance-copy>strong{font-size:16px}
body.worcar-app #app .glance-place{font-size:12px}
body.worcar-app #app .reference-calendar{transform:none;width:42px;min-width:42px;height:45px;flex-basis:42px;box-shadow:none}
body.worcar-app #app .reference-calendar b{font-size:22px}
body.worcar-app #app .diary-week button{min-height:70px;border-radius:9px}
body.worcar-app #app .diary-week button strong{font-size:18px}
body.worcar-app #app .diary-day-head{margin-top:22px;margin-bottom:14px}
body.worcar-app #app .diary-entry{padding:16px;border-radius:12px}
body.worcar-app #app .diary-actions{margin:18px 0}
body.worcar-app #app .reference-driver-live .driver-live-map,body.worcar-app #app .reference-driver-live .live-ride-map{height:36dvh;min-height:220px;max-height:340px}
body.worcar-app #app .reference-driver-sheet{padding:16px 20px 20px;border-radius:18px 18px 0 0}
body.worcar-app #app .reference-pickup-heading h1{font-size:23px}
body.worcar-app #app .reference-driver-contact{gap:10px;margin:14px 0}
body.worcar-app #app .reference-driver-contact .btn{min-height:46px}
body.worcar-app #app:has(.reference-booking-status) .bottom-nav{display:flex}
body.worcar-app #app:has(.reference-booking-status) .main{padding-bottom:110px}
@media(max-width:350px){body.worcar-app #app .main{padding-left:16px;padding-right:16px}body.worcar-app #app .driver-ticket-facts{gap:8px;font-size:12px}}
body.worcar-app #app .approved-passenger-home .booking-mode .mode-icon{display:none!important}
body.worcar-app #app .approved-passenger-home .booking-mode button{min-height:48px!important;padding:7px!important}
body.worcar-app #app .approved-passenger-home .booking-mode{min-height:0!important}
/* Approved layout components: scoped to the rebuilt screens. */
body.worcar-app #app .main{max-width:480px;padding:12px 20px 100px;margin:0 auto}
body.worcar-app #app .greeting{font-size:14px;line-height:20px;margin:8px 0;color:var(--wc-ink-242a27)}
body.worcar-app #app .home-heading{margin:0 0 18px}
body.worcar-app #app .topbar{max-width:480px;margin:auto}
body.worcar-app #app .approved-route{display:grid;gap:22px;padding:2px 0;margin:0;text-align:left}
body.worcar-app #app .approved-route>div{display:grid;grid-template-columns:16px minmax(0,1fr);column-gap:14px;row-gap:3px;position:relative;padding:0;align-items:start;min-height:36px}
body.worcar-app #app .approved-route>div>span{grid-column:2;grid-row:1;font-size:14px;font-weight:600;line-height:1.45;padding:0;overflow-wrap:anywhere}
body.worcar-app #app .approved-route>div>time{grid-column:2;grid-row:2;font-size:13px;line-height:18px;font-weight:400;justify-self:start;white-space:nowrap;color:var(--wc-ink-333b36)}
body.worcar-app #app .approved-route>div>i{grid-column:1;grid-row:1;margin:4px 2px 0;width:11px;height:11px;border:3px solid #07844f;background:#07844f;box-sizing:border-box;border-radius:50%}
body.worcar-app #app .approved-route>div:last-child>i{background:var(--wc-surface-ffffff)}
body.worcar-app #app .approved-route>div:first-child:after{content:'';position:absolute;left:7px;top:17px;bottom:-22px;width:0;border-left:2px dotted #07844f;background:none}
body.worcar-app #app .approved-route>div>i:after,body.worcar-app #app .approved-route>div>i:before{display:none}
body.worcar-app #app .reference-route-card{margin:0 0 16px;padding:18px 16px 0;overflow:hidden}
body.worcar-app #app .booking-meta-row,body.worcar-app #app .driver-ticket-facts{display:flex;flex-wrap:nowrap;align-items:center;gap:10px;margin:16px 0 0;padding:14px 0;border-top:1px solid var(--wc-line-e5e8e6);font-size:12px}
body.worcar-app #app .booking-meta-row>span,body.worcar-app #app .driver-ticket-facts>span{display:flex;align-items:center;gap:6px;white-space:nowrap;color:var(--wc-ink-343b36)}
body.worcar-app #app .booking-meta-row .icon,body.worcar-app #app .driver-ticket-facts .icon{width:17px;height:17px}
body.worcar-app #app .booking-meta-fare,body.worcar-app #app .driver-ticket-facts>strong{margin-left:auto;font-size:20px;white-space:nowrap;color:var(--wc-ink-111714)}
body.worcar-app #app .trip-essential-details,body.worcar-app #app .approved-arrival{margin:0 -16px;padding:12px 16px;border-top:1px solid var(--wc-line-e5e8e6);font-size:12px;background:var(--wc-surface-fcfdfc);display:flex;align-items:center;justify-content:space-between;gap:8px}
body.worcar-app #app .trip-essential-details p{margin:0;font-size:12px}
body.worcar-app #app .trip-essential-details small{font-size:10px}
body.worcar-app #app .approved-review{display:flex;flex-direction:column;min-height:calc(100dvh - 105px)}
body.worcar-app #app .approved-review .approved-back{align-self:flex-start;margin:0 0 8px;padding:0;width:44px;font-size:24px}
body.worcar-app #app .approved-review .review-heading{margin:0 0 18px}
body.worcar-app #app .approved-review .review-heading p:empty{display:none}
body.worcar-app #app .approved-date-edit{display:flex;align-items:center;gap:6px;font:inherit;white-space:nowrap;padding:0;min-height:24px;background:none;border:0;color:inherit}
body.worcar-app #app .approved-review .review-payment,body.worcar-app #app .approved-review .reference-promo{border:1px solid var(--wc-line-e5e8e6);border-radius:9px;padding:14px;margin:0 0 10px;min-height:55px;background:var(--wc-surface-ffffff);font-size:14px}
body.worcar-app #app .approved-review .review-payment small{display:none}
body.worcar-app #app .approved-review .review-payment strong,body.worcar-app #app .approved-review .reference-promo strong{font-size:14px;font-weight:500}
body.worcar-app #app .approved-review .reference-cancel-policy{margin-top:auto;padding-top:22px;font-size:12px}
body.worcar-app #app .approved-review .reference-terms{font-size:11px;line-height:17px;text-align:center;margin:12px 0}
body.worcar-app #app .approved-review .reference-terms br{display:none}
body.worcar-app #app .reference-driver.approved-driver-card{display:grid;grid-template-columns:minmax(0,1fr) 42%;grid-template-rows:auto auto;gap:12px 8px;margin:18px 0 14px;padding:14px}
body.worcar-app #app .approved-driver-card .reference-driver-person{grid-column:1/-1;grid-row:1;display:flex;gap:12px;margin:0;min-width:0}
body.worcar-app #app .approved-driver-card .reference-avatar{width:80px;height:80px;min-width:80px;flex:0 0 80px}
body.worcar-app #app .approved-driver-card .reference-driver-person strong{font-size:16px;line-height:21px;max-width:150px}
body.worcar-app #app .approved-driver-card .identified-vehicle-body{display:contents}
body.worcar-app #app .approved-driver-card .reference-driver-vehicle{grid-column:1;grid-row:2;display:flex;flex-direction:column;gap:3px;margin:0;min-width:0}
body.worcar-app #app .approved-driver-card .vehicle-detail-label{display:none}
body.worcar-app #app .approved-driver-card .vehicle-registration{font-size:20px;line-height:25px;letter-spacing:0}
body.worcar-app #app .approved-driver-card .vehicle-make-model,body.worcar-app #app .approved-driver-card .reference-driver-vehicle small{font-size:12px;line-height:16px}
body.worcar-app #app .approved-driver-card .vehicle-photo,body.worcar-app #app .approved-driver-card .vehicle-illustration{grid-column:2;grid-row:2;align-self:center;width:100%;height:auto;min-height:0;margin:0;padding:0}
body.worcar-app #app .approved-driver-card .vehicle-photo img,body.worcar-app #app .approved-driver-card .vehicle-illustration img{width:100%;height:90px;object-fit:contain;background:var(--wc-surface-ffffff);border-radius:0}
body.worcar-app #app .reference-booking-status{display:grid;grid-template-columns:1fr 1fr;gap:0 8px}
body.worcar-app #app .reference-booking-status>*{grid-column:1/-1;min-width:0}
body.worcar-app #app .reference-booking-status>.trip-contact-actions{grid-column:1;margin:0;display:flex}
body.worcar-app #app .reference-booking-status>.trip-contact-actions .btn{width:100%;border:1px solid var(--wc-line-e5e8e6);border-radius:8px;padding:8px;font-size:13px;background:var(--wc-surface-ffffff)}
body.worcar-app #app .reference-booking-status>.btn[data-action=report]{grid-column:2;margin:0;border:1px solid var(--wc-line-e5e8e6);background:var(--wc-surface-ffffff);font-size:13px}
body.worcar-app #app .reference-booking-status .booking-options{margin-top:20px;font-size:12px}
body.worcar-app #app .approved-home-trip{width:100%;border:1px solid var(--wc-line-e5e8e6);border-radius:10px;padding:14px;background:var(--wc-surface-ffffff);text-align:left;color:inherit}
body.worcar-app #app .approved-trip-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px;font-size:12px}
body.worcar-app #app .approved-trip-top .dw-chip{font-size:10px;padding:4px 8px;min-height:0}
body.worcar-app #app .approved-home-trips{margin:22px 0 0}
body.worcar-app #app .approved-home-trips h2{font-size:16px;margin:0}
body.worcar-app #app .approved-home-trips>.row{margin-bottom:8px}
body.worcar-app #app .approved-home-trip .approved-route{gap:14px}
body.worcar-app #app .approved-home-trip .approved-route>div{min-height:24px}
body.worcar-app #app .approved-home-trip .approved-route>div:first-child:after{bottom:-15px}
body.worcar-app #app .approved-home-trip .approved-route>div>span{font-weight:400;font-size:13px}
body.worcar-app #app .approved-recurring-link{display:flex;align-items:center;justify-content:space-between;width:100%;background:none;border:0;padding:16px 0;font:inherit;font-size:13px;color:var(--wc-ink-525b55)}
body.worcar-app #app .approved-home-sketch{display:block;width:100%;max-height:110px;object-fit:cover;object-position:center;filter:grayscale(1);opacity:.65}
body.worcar-app #app .approved-driver-home .home-week-summary{padding:14px}
body.worcar-app #app .approved-driver-home .home-week-amount{padding:0;display:block;text-align:left}
body.worcar-app #app .approved-driver-home .home-week-amount strong{font-size:28px}
body.worcar-app #app .approved-driver-home .home-week-footer{padding:0;margin:0;border:0;font-size:12px;min-height:24px}
body.worcar-app #app .approved-driver-home .home-week-footer small{font-size:12px}
body.worcar-app #app .approved-driver-home .home-week-footer button{font-size:12px}
body.worcar-app #app .home-rides-heading{margin:20px 0 10px}
body.worcar-app #app .home-rides-heading button{font-size:12px}
body.worcar-app #app .driver-passenger-style{padding:16px 14px 0;border-radius:10px;margin:0 0 12px;background:var(--wc-surface-ffffff);border:1px solid var(--wc-line-e5e8e6)}
body.worcar-app #app .driver-passenger-style .dw-ride-top{margin:0 0 10px;min-height:0}
body.worcar-app #app .driver-passenger-style .dw-chip{font-size:10px;min-height:0;padding:4px 8px}
body.worcar-app #app .driver-route-open{padding:0;width:100%;background:none;border:0;text-align:left;color:inherit}
body.worcar-app #app .home-manage-availability{min-height:52px;margin:12px 0 0;padding:12px;border-radius:9px}
body.worcar-app #app .home-manage-availability .icon{width:21px;height:21px}
body.worcar-app #app .ride-now-switch,body.worcar-app #app .diary-day-switch{width:50px!important;min-width:50px!important;height:30px!important;padding:3px!important;background:var(--wc-surface-bfc3c1)!important;border:0!important;box-shadow:none!important}
body.worcar-app #app .ride-now-switch[aria-checked=true],body.worcar-app #app .diary-day-switch[aria-checked=true]{background:#07844f!important}
body.worcar-app #app .ride-now-switch>span,body.worcar-app #app .diary-day-switch>span{width:24px!important;height:24px!important;background:var(--wc-surface-ffffff)!important;box-shadow:0 1px 2px #0002!important;position:absolute!important;left:3px!important;top:3px!important;transform:none!important}
body.worcar-app #app .ride-now-switch[aria-checked=true]>span,body.worcar-app #app .diary-day-switch[aria-checked=true]>span{left:23px!important}
body.worcar-app #app .ride-now-switch small,body.worcar-app #app .diary-day-switch small{display:none!important}
body.worcar-app #app .availability-diary>.greeting{display:none}
body.worcar-app #app .driver-availability-glance{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:14px;padding:14px;border-radius:10px}
body.worcar-app #app .approved-availability-icon{display:flex;align-items:center;flex:0 0 28px}
body.worcar-app #app .approved-availability-icon .icon{width:28px;height:28px}
body.worcar-app #app .glance-copy{gap:5px}
body.worcar-app #app .glance-place .icon{display:none}
body.worcar-app #app .diary-month{margin:20px 0 10px;font-size:14px}
body.worcar-app #app .diary-month strong{font-size:15px}
body.worcar-app #app .diary-week{gap:5px;margin:0 0 22px}
body.worcar-app #app .diary-week button{min-height:63px!important;padding:8px 2px!important;border-radius:7px;background:var(--wc-surface-ffffff);border:1px solid var(--wc-line-e5e8e6);gap:2px}
body.worcar-app #app .diary-week button[aria-pressed=true]{background:#07844f;color:var(--wc-ink-ffffff);border-color:#07844f}
body.worcar-app #app .diary-week button small{font-size:11px}
body.worcar-app #app .diary-week button strong{font-size:16px}
body.worcar-app #app .diary-week button>span{font-size:10px;line-height:10px}
body.worcar-app #app .diary-day-heading{margin:18px 0 10px}
body.worcar-app #app .diary-day-heading h2{font-size:16px}
body.worcar-app #app .diary-day-control{padding:12px 14px;border:1px solid var(--wc-line-e5e8e6);border-radius:9px 9px 0 0;margin:0;background:var(--wc-surface-ffffff)}
body.worcar-app #app .diary-day-control strong{font-size:14px}
body.worcar-app #app .diary-day-control small{font-size:11px}
body.worcar-app #app .diary-day-control:has([aria-checked=true]) .row>div>small{display:none}
body.worcar-app #app .diary-entry{margin:0 0 12px;padding:16px 14px;min-height:84px;gap:12px;border-radius:0 0 9px 9px;border:1px solid var(--wc-line-e5e8e6);border-top:0}
body.worcar-app #app .diary-entry .diary-time{font-size:15px}
body.worcar-app #app .diary-entry .diary-place{font-size:12px}
body.worcar-app #app .diary-entry small{font-size:11px}
body.worcar-app #app .diary-clock .icon{width:22px;height:22px}
body.worcar-app #app .reference-driver-live .reference-pickup-heading{align-items:center;gap:12px}
body.worcar-app #app .reference-driver-live .reference-pickup-heading h2{font-size:21px;margin:0 0 12px}
body.worcar-app #app .reference-driver-live .reference-pickup-heading h1{font-size:16px;letter-spacing:0;margin:0 0 12px}
body.worcar-app #app .reference-driver-live .reference-pickup-heading p{font-size:14px;margin:0;line-height:1.4}
body.worcar-app #app .reference-driver-live .reference-pickup-heading time{font-size:14px;font-weight:600;align-self:flex-start;margin-top:42px}
body.worcar-app #app .reference-driver-sheet{display:flex;flex-direction:column;gap:0}
body.worcar-app #app .reference-driver-sheet>.driver-remaining{order:5;margin-top:12px}
body.worcar-app #app .reference-driver-sheet>.btn[data-action=ride-back]{order:6}
body.worcar-app #app .reference-driver-contact .driver-navigation{display:none}
body.worcar-app #app .reference-driver-contact .trip-contact-actions{display:flex;flex:1;gap:8px;grid-template-columns:1fr 1fr}
body.worcar-app #app .reference-driver-contact .trip-contact-actions .btn{flex:1;font-size:13px;padding:8px;border:1px solid var(--wc-line-e5e8e6);background:var(--wc-surface-ffffff)}
@media(max-width:350px){body.worcar-app #app .approved-driver-card .reference-avatar{width:72px;height:72px;min-width:72px;flex-basis:72px}body.worcar-app #app .booking-meta-row,body.worcar-app #app .driver-ticket-facts{font-size:11px;gap:7px}body.worcar-app #app .booking-meta-fare,body.worcar-app #app .driver-ticket-facts>strong{font-size:18px}}
body.worcar-app #app .reference-booking-status .reference-driver.identified-vehicle.approved-driver-card.large{display:grid;padding:14px;grid-template-columns:minmax(0,1fr) 42%;gap:12px 8px}
body.worcar-app #app .approved-driver-home .ride-now-switch{flex:0 0 50px!important}
body.worcar-app #app .ride-now-switch:before,body.worcar-app #app .ride-now-switch:after,body.worcar-app #app .diary-day-switch:before,body.worcar-app #app .diary-day-switch:after{display:none!important}
body.worcar-app #app .driver-greeting,body.worcar-app #app .page-home.role-driver .driver-greeting{display:block;min-height:0;padding:0;margin:0 0 18px}
body.worcar-app #app .driver-greeting h1,body.worcar-app #app .page-home.role-driver .driver-greeting h1,body.worcar-app #app .page-home .home-heading h1{font-size:26px;line-height:1.2;letter-spacing:-.8px;margin:0}
body.worcar-app #app .driver-greeting p{font-size:14px;line-height:20px;margin:0 0 8px}
body.worcar-app #app .reference-driver-contact .trip-contact-actions .btn{flex-direction:row;min-height:46px;gap:8px}
body.worcar-app #app .reference-driver-live .reference-driver-contact{margin:16px 0}
body.worcar-app #app .reference-driver-live .reference-pickup-heading{margin-bottom:0}
body.worcar-app #app .reference-driver-live .reference-driver-sheet>.btn[data-action=ride-back]{border:0;min-height:40px;font-size:12px}
body.worcar-app #app:has(.reference-driver-live)>.topbar{display:none}
body.worcar-app #app .main:has(.reference-driver-live){padding-top:0}
body.worcar-app #app .approved-review .reference-primary{justify-content:center}
body.worcar-app #app .approved-review .reference-primary>.icon{display:none}
body.worcar-app #app .approved-home-sketch{object-fit:contain;max-height:90px}
body.worcar-app #app .approved-passenger-home .booking-mode small{display:none}
body.worcar-app #app .approved-passenger-home .booking-mode button{min-height:38px!important}
body.worcar-app #app:has(.reference-booking-status) .bottom-nav{display:flex!important}
body.worcar-app #app .driver-live-map{position:relative}
body.worcar-app #app .approved-map-back{position:absolute;z-index:500;top:16px;left:16px;width:42px;min-height:42px;padding:0;background:var(--wc-surface-ffffff);border-radius:50%;font-size:22px}
body.worcar-app #app .reference-driver-live .driver-live-map{height:40dvh;max-height:380px}
body.worcar-app #app .reference-driver-live .driver-live-map .live-ride-map{height:100%;max-height:none}
body.worcar-app #app .reference-driver-live .driver-live-map .live-map-panel{height:100%}
/* Keep a 44px touch target around the compact switch track. */
body.worcar-app #app .ride-now-switch,body.worcar-app #app .diary-day-switch,body.worcar-app #app .ride-now-switch[aria-checked=true],body.worcar-app #app .diary-day-switch[aria-checked=true]{height:44px!important;min-height:44px!important;background:transparent!important}
body.worcar-app #app .ride-now-switch:before,body.worcar-app #app .diary-day-switch:before{content:'';display:block!important;position:absolute;inset:7px 0!important;background:var(--wc-surface-bfc3c1)!important;border:0!important;border-radius:20px}
body.worcar-app #app .ride-now-switch[aria-checked=true]:before,body.worcar-app #app .diary-day-switch[aria-checked=true]:before{background:#07844f!important}
body.worcar-app #app .ride-now-switch>span,body.worcar-app #app .diary-day-switch>span{top:10px!important}
body.worcar-app #app .approved-passenger-home .booking-mode small{display:none!important}
body.worcar-app #app .approved-review .reference-terms a{margin-left:3px}

/* Passenger schedule: practical weekly overview and compact recurring plans. */
.page-passenger-schedule .schedule-heading{margin:8px 0 28px}
.page-passenger-schedule .schedule-heading h1{margin:6px 0 0;font-size:30px;letter-spacing:-1px}
.page-passenger-schedule .schedule-heading p{margin:0;color:var(--muted,var(--wc-ink-737976));font-size:14px}
.page-passenger-schedule .schedule-week{margin-bottom:28px}
.page-passenger-schedule .schedule-week h2,.page-passenger-schedule .schedule-section-heading h2{font-size:17px;margin:0;letter-spacing:-.3px}
.page-passenger-schedule .schedule-week>.row>span{font-size:13px;color:var(--wc-ink-737976)}
.page-passenger-schedule .schedule-week-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;padding:0;margin:16px 0 0;list-style:none}
.page-passenger-schedule .schedule-week-days li{display:flex;flex-direction:column;align-items:center;gap:9px;padding:13px 0 8px;background:var(--wc-surface-f6f7f6);border:1px solid var(--wc-line-eeeeec);border-radius:12px}
.page-passenger-schedule .schedule-week-days span{font-size:11px;color:var(--wc-ink-737976)}
.page-passenger-schedule .schedule-week-days strong{font-size:19px;line-height:1}
.page-passenger-schedule .schedule-week-days small{height:10px;line-height:10px;color:var(--wc-ink-b8bdb9)}
.page-passenger-schedule .schedule-week-days i{display:block;width:5px;height:5px;border-radius:50%;background:#078251;margin:2px}
.page-passenger-schedule .schedule-week-days .is-today{background:#087f53;border-color:#087f53;color:var(--wc-ink-ffffff)}
.page-passenger-schedule .schedule-week-days .is-today span,.page-passenger-schedule .schedule-week-days .is-today small{color:var(--wc-ink-ffffff)}
.page-passenger-schedule .schedule-week-days .is-today i{background:var(--wc-surface-ffffff)}
.page-passenger-schedule .schedule-section-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px}
.page-passenger-schedule .schedule-section-heading .btn{min-height:32px;padding:4px 0;font-size:13px}
.page-passenger-schedule .schedule-empty{border:1px solid var(--wc-line-e5e8e5);border-radius:20px;padding:24px;background:linear-gradient(145deg,var(--wc-surface-f2f7f3),var(--wc-surface-ffffff) 70%)}
.page-passenger-schedule .schedule-empty-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:var(--wc-surface-ffffff);border:1px solid var(--wc-line-e3e9e3);color:#087f53;margin-bottom:20px}
.page-passenger-schedule .schedule-empty h3{font-size:21px;letter-spacing:-.5px;margin:0 0 8px}
.page-passenger-schedule .schedule-empty p{font-size:14px;color:var(--wc-ink-737976);margin:0 0 24px;line-height:1.5}
.page-passenger-schedule .schedule-empty .btn{font-size:14px;min-height:50px;margin:0;padding:12px 16px}
.page-passenger-schedule .schedule-upcoming{margin-top:28px}
.page-passenger-schedule .schedule-trip-list{border:1px solid var(--wc-line-e5e8e5);border-radius:16px;overflow:hidden}
.page-passenger-schedule .schedule-next-trip{display:flex;align-items:center;gap:13px;padding:18px 14px;width:100%;border:0;border-bottom:1px solid var(--wc-line-eceeec);background:var(--wc-surface-ffffff);text-align:left;color:inherit}
.page-passenger-schedule .schedule-next-trip:last-child{border-bottom:0}
.page-passenger-schedule .schedule-trip-date{display:grid;gap:6px;flex:0 0 76px}
.page-passenger-schedule .schedule-trip-date strong{font-size:18px}
.page-passenger-schedule .schedule-next-trip small{font-size:11px;color:var(--wc-ink-737976);line-height:1.4}
.page-passenger-schedule .schedule-trip-route{display:grid;gap:6px;min-width:0;flex:1}
.page-passenger-schedule .schedule-trip-route strong{font-size:13px;line-height:1.4}
.page-passenger-schedule .schedule-trip-route small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.page-passenger-schedule .schedule-next-trip>.icon{width:17px;flex-shrink:0}
.page-passenger-schedule .reference-routine-card{padding:20px;margin:0 0 12px;border-radius:18px}
.page-passenger-schedule .reference-routine-card .row{flex-wrap:wrap;gap:6px}
@media(max-width:350px){.page-passenger-schedule .schedule-empty{padding:18px}.page-passenger-schedule .schedule-week-days{gap:4px}.page-passenger-schedule .schedule-week-days span{font-size:10px}}
.page-passenger-schedule .schedule-empty,.page-passenger-schedule .schedule-empty h3,.page-passenger-schedule .schedule-empty p{text-align:left}
.page-passenger-schedule button.reference-routine-card{display:flex;flex-direction:column;align-items:stretch;gap:14px;width:100%;text-align:left;background:var(--wc-surface-ffffff);border:1px solid var(--wc-line-e5e8e5);color:var(--wc-ink-171c19);font-size:14px;line-height:1.5}
.page-passenger-schedule .reference-routine-card>span:not(.row){display:flex;gap:8px;align-items:flex-start}
.page-passenger-schedule .reference-routine-card .icon{width:18px;height:18px;flex-shrink:0;margin-top:2px;color:var(--wc-ink-737976)}
.page-passenger-schedule .reference-routine-card small{font-size:12px;color:var(--wc-ink-737976)}
.page-passenger-schedule .reference-routine-card>small{padding-top:12px;border-top:1px solid var(--wc-line-eceeec)}

/* Trip chat owns the lower panel; its controls never sit behind navigation. */
body.worcar-app #app[data-trip-chat-open] .trip-chat-sheet{bottom:var(--trip-chat-bottom,78px);height:var(--trip-chat-height,60dvh);max-height:var(--trip-chat-height,60dvh);width:min(100%,480px);padding-bottom:0;z-index:90;display:flex;flex-direction:column;box-sizing:border-box}
body.worcar-app #app .trip-chat-sheet .chat-sheet-handle{flex:0 0 28px;min-height:28px;padding:0}
body.worcar-app #app .trip-chat-sheet .chat-sheet-heading{flex:0 0 auto;padding:0 18px 12px}
body.worcar-app #app .trip-chat-sheet .chat-minimise-icon{width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;border-radius:50%}
body.worcar-app #app .trip-chat-sheet .conversation{flex:1 1 0;min-height:0;min-width:0;display:flex;flex-direction:column;margin:0;padding:0;overflow:hidden}
body.worcar-app #app .trip-chat-sheet .chat-messages{flex:1 1 0;min-height:0;height:0;max-height:none;overflow-y:auto;padding:12px 14px}
body.worcar-app #app .trip-chat-sheet :is(.quick-messages,.chat-composer,[data-action="chat-parked"],.chat-sheet-status,.chat-connection){flex-shrink:0}
body.worcar-app #app .trip-chat-sheet .quick-messages{margin:0;padding:8px 12px 0;min-width:0;max-width:100%}
body.worcar-app #app .trip-chat-sheet .chat-composer{margin:0;padding:10px 12px;min-width:0;border-top:0}
body.worcar-app #app .trip-chat-sheet .chat-composer textarea{min-height:44px;max-height:96px;padding:10px 14px;font-size:16px}
body.worcar-app #app .trip-chat-sheet [data-action="chat-parked"]{margin:8px 12px 10px;width:calc(100% - 24px);min-height:44px;font-size:13px}
body.worcar-app #app[data-trip-chat-open] :is(.reference-driver-sheet,.live-trip-panel){visibility:hidden;pointer-events:none}
body.worcar-app #app[data-trip-chat-open] :is(.reference-driver-live .driver-live-map,.reference-live .passenger-map){position:fixed;top:var(--trip-chat-top,0px);left:50%;transform:translateX(-50%);width:min(100%,480px);height:var(--trip-chat-mapHeight,260px);min-height:0;z-index:1;overflow:hidden}
body.worcar-app #app[data-trip-chat-open] :is(.reference-driver-live,.reference-live) .live-ride-map{height:100%;min-height:0}

body.worcar-app:has(#app[data-trip-chat-open]){overflow:hidden}
body.worcar-app #app[data-trip-chat-open] .trip-chat-sheet{padding-bottom:max(0px,calc(env(safe-area-inset-bottom) - var(--trip-chat-bottom,78px)))}
body.worcar-app #app .trip-chat-sheet .quick-messages{scrollbar-width:none}
body.worcar-app #app .trip-chat-sheet .quick-messages::-webkit-scrollbar{display:none}

/* Keep the photographed vehicle facing towards its details without mirroring it. */
body.worcar-app #app .reference-driver.identified-vehicle.approved-driver-card,
body.worcar-app #app .reference-booking-status .reference-driver.identified-vehicle.approved-driver-card.large{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);column-gap:14px}
body.worcar-app #app .approved-driver-card .reference-driver-vehicle{grid-column:2}
body.worcar-app #app .approved-driver-card .vehicle-photo,
body.worcar-app #app .approved-driver-card .vehicle-illustration{grid-column:1}
body.worcar-app #app .approved-driver-card .vehicle-photo img,
body.worcar-app #app .approved-driver-card .vehicle-illustration img{height:108px}

body.worcar-app #app .live-trip-summary{margin-top:14px;padding:16px 0;border-top:1px solid var(--wc-line-e8ebe9)}
body.worcar-app #app .live-trip-summary-destination{font-size:14px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}
body.worcar-app #app .live-trip-summary-meta{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:10px;font-size:13px;color:var(--wc-ink-737976)}
body.worcar-app #app .live-trip-summary-meta strong{font-size:17px;color:var(--wc-ink-171d19);white-space:nowrap}
body.worcar-app #app .live-trip-management:empty{display:none}

/* Active driver rides: one destination and one reachable next action. */
body.worcar-app #app:has(.reference-driver-live) .topbar{display:none}
body.worcar-app #app .main.page-driver-ride:has(.driver-live-action){padding-bottom:calc(var(--driver-live-nav-height,78px) + var(--driver-live-action-height,76px) + 24px)}
body.worcar-app #app .reference-driver-live.is-dropoff .driver-live-map{height:clamp(148px,calc(100dvh - 420px),320px);min-height:0}
body.worcar-app #app .reference-driver-live.is-dropoff .live-ride-map{height:100%;min-height:0}
body.worcar-app #app .reference-driver-live .driver-dropoff-heading{margin:0}
body.worcar-app #app .reference-driver-live .driver-dropoff-heading h2{font-size:12px;font-weight:600;letter-spacing:0;color:var(--wc-muted);line-height:1.4;margin:0 0 6px}
body.worcar-app #app .reference-driver-live .driver-dropoff-heading h1{font-size:24px;line-height:1.2;letter-spacing:-.5px;overflow-wrap:anywhere;margin:0 0 7px}
body.worcar-app #app .reference-driver-live .driver-dropoff-heading p{font-size:13px;line-height:1.5;color:var(--wc-muted);margin:0}
body.worcar-app #app .reference-driver-live .reference-passenger-list{padding:12px 14px;margin:14px 0 0}
body.worcar-app #app .reference-driver-live .reference-passenger-list>small{font-size:11px;letter-spacing:0;margin-bottom:8px;text-transform:none}
body.worcar-app #app .reference-driver-live .reference-passenger-list>div{padding:10px 0 0;gap:10px;min-width:0}
body.worcar-app #app .reference-driver-live .reference-passenger-list>div+div{padding-top:12px;margin-top:12px}
body.worcar-app #app .reference-driver-live .reference-passenger-list .reference-avatar{width:40px;height:40px;min-width:40px;flex:0 0 40px;font-size:18px}
body.worcar-app #app .reference-driver-live .reference-passenger-list>div>span:not(.reference-avatar){min-width:0;flex:1}
body.worcar-app #app .reference-driver-live .reference-passenger-list strong{font-size:14px;overflow-wrap:anywhere}
body.worcar-app #app .reference-driver-live .reference-passenger-list .dw-chip{flex-shrink:0;font-size:10px;padding:5px 8px}
body.worcar-app #app .reference-driver-live .reference-driver-contact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 0}
body.worcar-app #app .reference-driver-live .reference-driver-contact .trip-contact-actions{display:contents}
body.worcar-app #app .reference-driver-live .reference-driver-contact .btn{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;height:52px;min-height:52px;margin:0;padding:8px 10px;border:1px solid var(--wc-line);border-radius:12px;background:var(--wc-paper);color:var(--wc-ink);font-size:13px;font-weight:500;line-height:1.25}
body.worcar-app #app .reference-driver-live .reference-driver-contact .driver-navigation{display:none}
body.worcar-app #app .reference-driver-live .reference-driver-contact .btn .icon{width:20px;height:20px;flex-shrink:0}
body.worcar-app #app .driver-live-action{position:fixed;left:50%;bottom:var(--driver-live-nav-height,78px);transform:translateX(-50%);width:min(100%,480px);padding:10px 20px 12px;background:var(--wc-paper);border-top:1px solid var(--wc-line);z-index:79;box-sizing:border-box}
body.worcar-app #app .driver-live-action .btn{min-height:52px;width:100%;margin:0;border-radius:14px;font-size:15px;font-weight:650}
body.worcar-app #app[data-trip-chat-open] .driver-live-action,body.worcar-app #app:has(.modal-backdrop) .driver-live-action{visibility:hidden;pointer-events:none}

body.worcar-app #app .reference-driver-live.is-dropoff .reference-driver-sheet{padding-top:18px}
body.worcar-app #app[data-trip-chat-open] .reference-driver-live.is-dropoff .driver-live-map{height:var(--trip-chat-mapHeight,260px)}
/* Compact completion and a single rating chooser. */
body.worcar-app #app .reference-driver-complete>header{display:flex;align-items:center;gap:12px;text-align:left;margin:0 0 8px}
body.worcar-app #app .reference-driver-complete h1{font-size:24px;margin:0 0 4px}
body.worcar-app #app .reference-driver-complete>header p{font-size:13px;color:var(--wc-muted)}
body.worcar-app #app .reference-driver-complete .reference-complete-earnings{flex-direction:row;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;margin:0 0 16px}
body.worcar-app #app .reference-driver-complete .reference-complete-earnings strong{font-size:28px}
body.worcar-app #app .reference-driver-complete>h2{font-size:17px;margin:0 0 10px}
body.worcar-app #app .completion-passengers{margin:0 0 12px}
body.worcar-app #app .completion-passengers .account-row{padding:12px;gap:12px;min-height:72px}
body.worcar-app #app .completion-passengers .reference-avatar{width:44px;height:44px;flex:0 0 44px;font-size:20px}
body.worcar-app #app .completion-passengers .account-row-copy strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}
body.worcar-app #app .completion-passengers .account-row-copy small{font-size:12px}
body.worcar-app #app .completion-passengers .btn{flex-shrink:0;min-width:64px;padding:8px 12px}
body.worcar-app #app .completion-rated{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--wc-green)}
body.worcar-app #app .completion-rated .reference-check{width:18px;height:18px}
body.worcar-app #app .completion-rated .icon{width:12px;height:12px}
body.worcar-app #app .completion-actions{display:grid;gap:10px}
body.worcar-app #app .completion-actions .btn{margin:0;min-height:48px;padding:12px 18px}
body.worcar-app #app .completion-actions .btn.ghost{border:0;background:transparent;min-height:44px;padding:10px 18px}
body.worcar-app #app .modal-rate{padding:20px;max-width:440px;display:flex;flex-direction:column;overflow:hidden}
body.worcar-app #app .modal-rate>.row{gap:12px;align-items:flex-start;margin:0 0 12px;flex-shrink:0}
body.worcar-app #app .modal-rate h2{font-size:20px;line-height:1.3;margin:8px 0 0}
body.worcar-app #app .modal-rate .close{flex:0 0 44px;min-width:44px;min-height:44px;font-size:28px}
body.worcar-app #app .modal-rate .trip-rating{display:flex;flex-direction:column;gap:12px;min-height:0;overflow:hidden}
body.worcar-app #app .modal-rate .rating-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:2px}
body.worcar-app #app .modal-rate .trip-rating>button{flex-shrink:0;margin:0}
body.worcar-app #app .modal-rate .rating-stars{gap:4px;margin:4px 0 0}
body.worcar-app #app .modal-rate .rating-star{width:48px;height:48px;min-width:44px;padding:6px}
body.worcar-app #app .modal-rate .rating-label{font-size:14px;margin:0 0 4px}
body.worcar-app #app .modal-rate .rating-feedback{margin:0}
body.worcar-app #app .modal-rate .rating-feedback legend{font-size:15px}
body.worcar-app #app .modal-rate .rating-feedback .muted{margin:4px 0 8px;font-size:12px}
body.worcar-app #app .modal-rate .rating-reasons{gap:6px}
body.worcar-app #app .modal-rate .rating-reason{padding:8px 12px;font-size:12px;min-height:44px}
body.worcar-app #app .modal-rate .rating-note{font-size:13px;gap:5px}
body.worcar-app #app .modal-rate .rating-note textarea{min-height:72px;font-size:16px}
@media(max-width:350px){body.worcar-app #app .modal-rate{padding:16px}body.worcar-app #app .modal-rate .rating-stars{gap:0}body.worcar-app #app .modal-rate .rating-star{width:44px}}

/* Completed passenger trip: one summary and one rating, without disclosures. */
body.worcar-app #app .completion-redesign{max-width:480px;margin:0 auto;padding:8px 0 20px;background:none;border:0;box-shadow:none}
body.worcar-app #app .completion-redesign::before{content:none!important;display:none!important}
body.worcar-app #app .completion-redesign .completion-heading{margin:12px 0 22px;text-align:center}
body.worcar-app #app .completion-redesign .completion-tick{display:grid;place-items:center;width:44px;height:44px;margin:0 auto 12px;border-radius:50%;background:var(--wc-surface-eaf5ee);color:#237247}
body.worcar-app #app .completion-redesign .completion-heading h1{font-size:27px;letter-spacing:-.8px;line-height:1.2}
body.worcar-app #app .completion-journey{padding:18px;border:1px solid var(--wc-line-e5e7e7);border-radius:18px;background:var(--wc-surface-ffffff)}
body.worcar-app #app .completion-meta{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:16px;font-size:12px;color:var(--wc-ink-66716b)}
body.worcar-app #app .completion-total{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--wc-line-edf0ed);margin-top:14px;padding-top:14px;font-size:13px}
body.worcar-app #app .completion-total strong{font-size:26px;letter-spacing:-.7px}
body.worcar-app #app .completion-email{text-align:center;font-size:12px;color:var(--wc-ink-66716b);margin:10px 0;min-height:0}
body.worcar-app #app .completion-redesign .completion-rating{margin:22px 0;padding:0;text-align:center}
body.worcar-app #app .completion-redesign .completion-rating h2{font-size:17px;font-weight:600;margin:0 0 14px}
body.worcar-app #app .completion-redesign .rating-stars{justify-content:center;gap:12px}
body.worcar-app #app .completion-redesign .rating-star{width:42px;height:44px}
body.worcar-app #app .completion-redesign .trip-rating>button:disabled{display:none}
body.worcar-app #app .completion-redesign .completion-links{display:flex;justify-content:center;gap:12px;margin-top:8px}
body.worcar-app #app .completion-redesign .completion-links .btn{font-size:13px;min-height:44px}
body.worcar-app #app .completion-redesign .completion-done{min-height:52px;border-radius:14px}
body.worcar-app #app .completion-redesign .completion-payment{justify-content:center}

/* Rate each passenger directly on their completed ride card. */
body.worcar-app #app .completion-passengers .completion-passenger+.completion-passenger{border-top:1px solid var(--wc-line)}
body.worcar-app #app .completion-passengers .completion-passenger .account-row{border:0}
body.worcar-app #app .completion-passengers .trip-rating{padding:0 12px 14px;gap:12px;margin:0}
body.worcar-app #app .completion-passengers .rating-stars{margin:0;gap:8px}
body.worcar-app #app .completion-passengers .rating-star{width:44px;height:44px;min-width:44px;padding:5px}
body.worcar-app #app .completion-passengers .rating-star:not(.selected) svg{fill:none;stroke:var(--wc-muted)}
body.worcar-app #app .completion-passengers .rating-star.selected{color:var(--wc-green)}
body.worcar-app #app .completion-passengers .rating-star.selected svg{stroke:var(--wc-green)}
body.worcar-app #app .completion-passengers .rating-label{font-size:13px}
body.worcar-app #app .completion-passengers .rating-feedback{margin:0}
body.worcar-app #app .completion-passengers .rating-feedback legend{font-size:15px}
body.worcar-app #app .completion-passengers .rating-feedback .muted{margin:4px 0 8px;font-size:12px}
body.worcar-app #app .completion-passengers .rating-reasons{gap:6px}
body.worcar-app #app .completion-passengers .rating-reason{padding:8px 12px;font-size:12px}
body.worcar-app #app .completion-passengers .rating-note textarea{min-height:72px;font-size:16px}
body.worcar-app #app .completion-passengers .trip-rating>.btn{min-height:48px;margin:0}

/* Driver earnings: one total, compact chart and identifiable rides. */
body.worcar-app #app .earnings-overview{max-width:480px;margin:0 auto}
body.worcar-app #app .earnings-heading{display:flex;align-items:center;gap:10px;margin:0 0 18px}
body.worcar-app #app .earnings-heading h1{font-size:26px;line-height:1.2;margin:0;letter-spacing:-.6px}
body.worcar-app #app .earnings-back{display:grid;place-items:center;min-width:44px;width:44px;height:44px;padding:10px;border:1px solid var(--wc-line);border-radius:50%;background:var(--wc-paper)}
body.worcar-app #app .earnings-back .icon{transform:rotate(180deg);width:20px;height:20px}
body.worcar-app #app .earnings-total-card{padding:16px 18px;border:1px solid var(--wc-line);border-radius:18px;background:var(--wc-paper)}
body.worcar-app #app .earnings-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}
body.worcar-app #app .earnings-controls select{font:inherit;font-size:14px;font-weight:600;min-height:44px;max-width:calc(100% - 56px);border:0;border-radius:8px;background:transparent;color:var(--wc-ink);padding:8px 28px 8px 0}
body.worcar-app #app .earnings-controls .earnings-visibility{width:44px;height:44px;min-height:44px;border:0;background:transparent;color:var(--wc-muted)}
body.worcar-app #app .earnings-total-value{display:block;font-size:36px;line-height:1.1;font-weight:650;letter-spacing:-1.5px;margin:8px 0}
body.worcar-app #app .earnings-total-card>p{font-size:13px;color:var(--wc-muted);margin:0 0 16px}
body.worcar-app #app .earnings-pending{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:12px;border-top:1px solid var(--wc-line);font-size:13px}
body.worcar-app #app .earnings-pending small{font-size:12px;color:var(--wc-muted)}
body.worcar-app #app .earnings-pending b{font-weight:600;white-space:nowrap}
body.worcar-app #app .earnings-chart-card{margin:18px 0 20px;padding:14px;border:1px solid var(--wc-line);border-radius:16px;background:var(--wc-paper)}
body.worcar-app #app .earnings-chart-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;min-height:24px}
body.worcar-app #app .earnings-chart-heading h2,body.worcar-app #app .earnings-ride-heading h2{font-size:16px;line-height:1.4;margin:0;font-weight:650}
body.worcar-app #app .earnings-chart-selection{font-size:11px;line-height:1.5;color:var(--wc-muted);text-align:right}
body.worcar-app #app .earnings-chart-selection b{display:block;color:var(--wc-ink);font-size:13px}
body.worcar-app #app .earnings-chart-bars{display:flex;align-items:stretch;gap:4px;margin-top:10px}
body.worcar-app #app .earnings-chart-day{flex:1;min-width:0;min-height:108px;padding:5px 2px;border:0;border-radius:8px;background:transparent;color:var(--wc-muted);font:inherit;cursor:pointer}
body.worcar-app #app .earnings-bar-track{display:flex;justify-content:center;align-items:flex-end;height:72px;margin:0 auto 8px;width:100%}
body.worcar-app #app .earnings-bar-track i{display:block;width:28px;max-width:80%;height:max(2px,var(--bar));background:var(--wc-line);border-radius:4px 4px 1px 1px}
body.worcar-app #app .earnings-chart-day small{font-size:11px}
body.worcar-app #app .earnings-chart-day[aria-pressed="true"]{background:var(--wc-mint);color:var(--wc-ink)}
body.worcar-app #app .earnings-chart-day[aria-pressed="true"] i{background:var(--wc-green)}
body.worcar-app #app .earnings-chart-day:focus-visible,body.worcar-app #app .earnings-ride:focus-visible{outline:2px solid var(--wc-green);outline-offset:2px}
body.worcar-app #app .earnings-chart-empty,body.worcar-app #app .earnings-empty{font-size:13px;color:var(--wc-muted);margin:14px 0 4px}
body.worcar-app #app .earnings-ride-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}
body.worcar-app #app .earnings-ride-heading .btn{font-size:12px;min-height:44px;padding:8px 0 8px 12px;border:0;background:none}
body.worcar-app #app .earnings-ride-heading .icon{width:16px;height:16px}
body.worcar-app #app .earnings-ride-list{border:1px solid var(--wc-line);border-radius:16px;overflow:hidden}
body.worcar-app #app .earnings-ride{display:flex;align-items:center;gap:10px;width:100%;padding:14px 12px;border:0;background:var(--wc-paper);color:var(--wc-ink);font:inherit;text-align:left;cursor:pointer}
body.worcar-app #app .earnings-ride+.earnings-ride{border-top:1px solid var(--wc-line)}
body.worcar-app #app .earnings-ride-symbol{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:var(--wc-soft)}
body.worcar-app #app .earnings-ride-symbol .icon{width:20px;height:20px}
body.worcar-app #app .earnings-ride-copy{flex:1;min-width:0}
body.worcar-app #app .earnings-ride-copy strong{display:block;font-size:13px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
body.worcar-app #app .earnings-ride-copy small{display:block;font-size:11px;color:var(--wc-muted);margin-top:5px;line-height:1.4}
body.worcar-app #app .earnings-ride>b{font-size:14px;font-weight:650;white-space:nowrap}
body.worcar-app #app .earnings-ride>.icon{width:14px;height:14px;flex-shrink:0;color:var(--wc-muted)}
body.worcar-app #app .earnings-payout{margin:20px 0 0;min-height:48px;display:flex;justify-content:space-between;padding:12px 18px;border-radius:14px;font-size:14px}
body.worcar-app #app .earnings-sandbox{text-align:center;font-size:11px;color:var(--wc-muted);line-height:1.5;margin:10px 0 0}
/* Passenger Home: two large entry cards; booking controls open on the next screen. */
body.worcar-app #app .passenger-ride-choices{display:grid;gap:14px;margin:4px 0 26px}
body.worcar-app #app .passenger-ride-choice{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:end;width:100%;min-height:154px;padding:22px;border-radius:22px;text-align:left;font:inherit;cursor:pointer;box-shadow:none}
body.worcar-app #app .passenger-ride-choice.shared-choice{background:var(--wc-surface-17201b);color:var(--wc-ink-ffffff);border:1px solid var(--wc-line-17201b)}
body.worcar-app #app .passenger-ride-choice.instant-choice{background:var(--wc-surface-f4f7f5);color:var(--wc-ink-17201b);border:1px solid var(--wc-line-e1e7e3)}
body.worcar-app #app .passenger-ride-choice .choice-symbol{grid-column:1 / -1;line-height:0}
body.worcar-app #app .passenger-ride-choice .choice-symbol .icon{width:29px;height:29px}
body.worcar-app #app .passenger-ride-choice .choice-copy{display:grid;gap:6px}
body.worcar-app #app .passenger-ride-choice strong{font-size:25px;line-height:1.15;letter-spacing:-.6px;font-weight:700}
body.worcar-app #app .passenger-ride-choice small{font-size:13px;line-height:1.4;opacity:.76}
body.worcar-app #app .passenger-ride-choice .choice-arrow{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:rgba(128,150,138,.15)}
body.worcar-app #app .passenger-ride-choice:focus-visible{outline:3px solid #0a8857;outline-offset:4px}
body.worcar-app #app .passenger-home-cards .approved-home-sketch{display:block;width:220px;max-width:70%;margin:14px auto 0}

/* Reference passenger Home, without the decorative car panel. */
body.worcar-app #app .reference-passenger-home{display:grid;gap:14px}
body.worcar-app #app .home-week-link{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:6px 2px 18px;border:0;background:none;text-align:left;color:var(--wc-ink-171b18);font:inherit;cursor:pointer}
body.worcar-app #app .home-week-link>span{display:grid;gap:6px}
body.worcar-app #app .home-week-link strong{font-size:23px;line-height:1.2;letter-spacing:-.6px}
body.worcar-app #app .home-week-link small{font-size:13px}
body.worcar-app #app .home-ride-modes{display:grid;grid-template-columns:1fr 1fr;gap:8px}
body.worcar-app #app .home-ride-modes button{display:flex;align-items:center;gap:12px;min-height:84px;padding:16px 14px;border:1px solid var(--wc-line-eceeec);border-radius:14px;background:var(--wc-surface-f4f4f4);color:var(--wc-ink-151816);text-align:left;font:inherit;cursor:pointer}
body.worcar-app #app .home-ride-modes button[aria-pressed=true]{background:var(--wc-surface-1b1d1b);color:var(--wc-ink-ffffff);border-color:var(--wc-line-1b1d1b)}
body.worcar-app #app .home-ride-modes .icon{width:25px;height:25px;flex-shrink:0}
body.worcar-app #app .home-ride-modes button>span{display:grid;gap:5px;min-width:0}
body.worcar-app #app .home-ride-modes strong{font-size:15px;line-height:1.2;white-space:nowrap}
body.worcar-app #app .home-ride-modes small{font-size:11px;line-height:1.3;opacity:.7}
body.worcar-app #app .home-address-rows{display:grid;gap:9px}
body.worcar-app #app .home-address-row{display:flex;align-items:center;gap:16px;min-height:70px;width:100%;padding:14px 17px;border:1px solid var(--wc-line-eceeec);border-radius:14px;background:var(--wc-surface-f8f8f8);color:var(--wc-ink-171b18);text-align:left;font:inherit;cursor:pointer}
body.worcar-app #app .home-address-row>.icon{width:24px;height:24px;flex-shrink:0}
body.worcar-app #app .home-address-row>span:nth-child(2){display:grid;gap:4px;flex:1;min-width:0}
body.worcar-app #app .home-address-row strong{font-size:14px}
body.worcar-app #app .home-address-row small{font-size:12px;color:var(--wc-ink-7b807c);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.worcar-app #app .home-find-ride{display:flex;align-items:center;justify-content:space-between;min-height:58px;padding:15px 20px;border-radius:14px;background:var(--wc-surface-1b1d1b);color:var(--wc-ink-ffffff);font-size:17px}
body.worcar-app #app .home-trust-note{font-size:12px;text-align:center;color:var(--wc-ink-818681);margin:0 0 12px}
@media(max-width:350px){body.worcar-app #app .home-ride-modes button{gap:8px;padding:13px 10px}body.worcar-app #app .home-ride-modes .icon{width:21px;height:21px}body.worcar-app #app .home-ride-modes strong{font-size:13px}body.worcar-app #app .home-ride-modes small{font-size:10px}}

/* Ride Now: compact booking form, without decorative imagery or nested cards. */
body.worcar-app #app .clean-ride-now{padding:0;margin:4px 0 24px;border:0;border-radius:0;background:none;box-shadow:none;gap:22px}
body.worcar-app #app .clean-ride-now .booking-route{display:grid;gap:12px;padding:0;margin:0;border:0;border-radius:0;background:none;box-shadow:none}
body.worcar-app #app .clean-ride-now .booking-route .field{padding:13px 15px;gap:6px;border:1px solid var(--wc-line-e3e7e4);border-radius:14px;background:var(--wc-surface-fafbfa)}
body.worcar-app #app .clean-ride-now .booking-route .field>span{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600}
body.worcar-app #app .clean-ride-now .booking-route .field>span .icon{height:20px;width:20px}
body.worcar-app #app .clean-ride-now .booking-route .field input{width:100%;padding:0 0 0 30px;min-height:31px;font-size:15px;border:0;background:none;box-shadow:none}
body.worcar-app #app .clean-ride-now .location-shortcut{justify-self:end;display:flex;align-items:center;gap:7px;min-height:40px;padding:7px 0;margin:-6px 0 0;font-size:12px}
body.worcar-app #app .clean-ride-now .location-shortcut .icon{height:18px;width:18px}
body.worcar-app #app .clean-ride-now .vehicle-picker{margin:0;padding:0;border:0;min-width:0}
body.worcar-app #app .clean-ride-now .vehicle-dropdown{border:1px solid var(--wc-line-e3e7e4);border-radius:14px;background:var(--wc-surface-fafbfa)}
body.worcar-app #app .clean-ride-now .vehicle-dropdown summary{min-height:70px;padding:13px 15px}
body.worcar-app #app .clean-ride-now .vehicle-selected-copy small{font-size:12px}
body.worcar-app #app .clean-ride-now .vehicle-selected-copy strong{font-size:17px}
body.worcar-app #app .clean-ride-now #vehicle-capacity-note{font-size:11px;margin:8px 2px 0;color:var(--wc-ink-737a75)}
body.worcar-app #app .clean-ride-now>.btn{min-height:54px;margin:0;border-radius:14px;font-size:16px}
body.worcar-app #app .clean-ride-now::before,body.worcar-app #app .clean-ride-now::after{content:none}

/* Charcoal appearance with the same Worcar green action hierarchy in both roles. */
html[data-theme="dark"] body.worcar-app,
html[data-theme="dark"] body.worcar-app #app :is(.main,.role-driver,.role-passenger){--wc-ink:#f5f5f5;--wc-paper:#141414;--wc-soft:#1c1c1c;--wc-line:#2a2a2a;--wc-muted:#b8b8b8;--wc-primary:#f5f5f5;--wc-green:#07965b;--canvas:#000000;--surface:#141414;--soft:#1c1c1c;--ink:#f5f5f5;--muted:#b8b8b8;--line:#2a2a2a;--green:#07844f;--green-hover:#096e45;--brand:#07844f;--brand-text:#fff;--driver-green:#07844f;--accent:#63d6a2;background-color:#000000;color:#f5f5f5}
html[data-theme="dark"] body.worcar-app #app :is(.topbar,.bottom-nav){background:#141414;border-color:#2a2a2a}
html[data-theme="dark"] body.worcar-app #app .btn:not(.secondary):not(.ghost):not(.danger):not(.availability-danger):not(.availability-remove),
html[data-theme="dark"] body.worcar-app #app .home-ride-modes button[aria-pressed=true],
html[data-theme="dark"] body.worcar-app #app .booking-mode button[aria-pressed=true]{background:#07844f;color:#fff;border-color:#07844f}
html[data-theme="dark"] body.worcar-app #app .home-ride-modes button[aria-pressed=true] small{opacity:1;color:#e1f5eb}
html[data-theme="dark"] body.worcar-app #app .nav-item.active{color:#63d6a2}
html[data-theme="dark"] body.worcar-app #app :is(.home-week-link,.home-address-row){color:#f5f5f5}
html[data-theme="dark"] body.worcar-app #app :is(.home-address-row small,.home-trust-note,.clean-ride-now #vehicle-capacity-note){color:#b8b8b8}
html[data-theme="dark"] body.worcar-app #app :is(input,select,textarea){color:#f5f5f5}
html[data-theme="dark"] body.worcar-app #app .appearance-option:has(input:checked){background:#203a2e}
html[data-theme="dark"] body.worcar-app #app .appearance-option input{accent-color:#63d6a2}
html[data-theme="dark"] body.worcar-app #app :focus-visible{outline-color:#63d6a2}
html[data-theme="dark"] body.worcar-app #app .ride-now-switch{background:#414b46;border:1px solid #69756e}
html[data-theme="dark"] body.worcar-app #app .ride-now-switch>span{background:#e4ebe7}
html[data-theme="dark"] body.worcar-app #app .ride-now-switch[aria-checked=true]{background:#07844f;border-color:#63d6a2}
html[data-theme="dark"] body.worcar-app #app .ride-now-switch .switch-track-label{color:#f5f5f5}
html[data-theme="dark"] body.worcar-app #app :is(.notice.error,.notice.warning){background:#382824;color:#ffcec1;border-color:#805a50}
html[data-theme="dark"] body.worcar-app #app :is(.ride-now-switch,.diary-day-switch)::before{background:#57655d!important}
html[data-theme="dark"] body.worcar-app #app :is(.ride-now-switch,.diary-day-switch)[aria-checked=true]::before{background:#07844f!important}
html[data-theme="dark"] body.worcar-app #app :is(.ride-now-switch,.diary-day-switch)>span{background:#e4ebe7!important}
html[data-theme="dark"] body.worcar-app #app .completion-success-mark{color:#63d6a2}

/* Trips and Account share the home screen's spacing, surfaces and hierarchy. */
body.worcar-app #app :is(.refreshed-trips,.refreshed-account){--hub-text:#171c19;--hub-muted:#68736c;--hub-card:#f8faf8;--hub-border:#e3e8e4;--hub-accent:#087d4e;--hub-selected:#e7f3ed;color:var(--hub-text)}
html[data-theme="dark"] body.worcar-app #app :is(.refreshed-trips,.refreshed-account){--hub-text:#f5f5f5;--hub-muted:#b8b8b8;--hub-card:#141414;--hub-border:#2a2a2a;--hub-accent:#63d6a2;--hub-selected:#203d2e}
body.worcar-app #app .refreshed-trips .trip-tabs{display:flex;gap:4px;padding:4px;margin:0 0 24px;background:var(--hub-card);border:1px solid var(--hub-border);border-radius:14px}
body.worcar-app #app .refreshed-trips .trip-tabs button{min-height:42px;padding:10px 4px;border:0;border-radius:10px;font-size:13px;font-weight:600;color:var(--hub-muted)}
body.worcar-app #app .refreshed-trips .trip-tabs button[aria-pressed=true]{background:var(--hub-selected);color:var(--hub-accent)}
body.worcar-app #app .refreshed-trips .reference-date-heading{font-size:13px;font-weight:600;letter-spacing:0;color:var(--hub-muted);margin:24px 0 12px}
body.worcar-app #app .refreshed-trip-card{display:grid;gap:18px;width:100%;padding:16px;margin:0 0 12px;text-align:left;background:var(--hub-card);color:var(--hub-text);border:1px solid var(--hub-border);border-radius:16px;box-shadow:none;font:inherit}
body.worcar-app #app .trip-card-top,body.worcar-app #app .trip-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px}
body.worcar-app #app .trip-card-top>span:first-child{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}
body.worcar-app #app .trip-card-top .icon{width:18px;height:18px;color:var(--hub-muted)}
body.worcar-app #app .trip-card-top time{font-size:14px;font-weight:700}
body.worcar-app #app .trip-card-top small{font-size:11px;color:var(--hub-muted)}
body.worcar-app #app .trip-status{max-width:48%;padding:5px 8px;border-radius:7px;font-size:10px;font-weight:600;line-height:1.4;background:var(--hub-selected);color:var(--hub-accent)}
body.worcar-app #app .trip-card-route{display:grid;gap:16px}
body.worcar-app #app .trip-card-route>span{position:relative;display:flex;align-items:flex-start;gap:14px}
body.worcar-app #app .trip-card-route i{width:8px;height:8px;margin-top:6px;flex:0 0 8px;border:2px solid var(--hub-accent);border-radius:50%;box-sizing:border-box}
body.worcar-app #app .trip-card-route>span:first-child i{background:var(--hub-accent)}
body.worcar-app #app .trip-card-route>span:first-child:after{content:'';position:absolute;left:3px;top:17px;bottom:-13px;border-left:1px dashed var(--hub-border)}
body.worcar-app #app .trip-card-route strong{font-size:14px;line-height:1.5;font-weight:500;overflow-wrap:anywhere}
body.worcar-app #app .trip-card-bottom{padding-top:13px;border-top:1px solid var(--hub-border);font-size:12px;color:var(--hub-muted)}
body.worcar-app #app .trip-card-bottom>span:last-child{display:flex;align-items:center;gap:14px;color:var(--hub-text)}
body.worcar-app #app .trip-card-bottom b{font-size:16px}
body.worcar-app #app .trip-card-bottom .icon{width:18px;height:18px}
body.worcar-app #app .refreshed-trips .empty{padding:40px 22px;border:1px solid var(--hub-border);border-radius:16px;background:var(--hub-card);text-align:center}
body.worcar-app #app .refreshed-trips .empty-symbol{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 20px;border-radius:16px;background:var(--hub-selected);color:var(--hub-accent)}
body.worcar-app #app .refreshed-trips .empty p{color:var(--hub-muted);font-size:13px;line-height:1.6;margin:12px 0 24px}
body.worcar-app #app .refreshed-trips .history-period{margin:0 0 20px}
body.worcar-app #app .refreshed-trips .reference-history-filter{background:var(--hub-card);color:var(--hub-text);border:1px solid var(--hub-border);border-radius:12px;padding:2px 12px}
body.worcar-app #app .refreshed-trips .history-filter{color:var(--hub-text);background:transparent;min-height:44px}
body.worcar-app #app .refreshed-account .reference-profile{display:flex;align-items:center;gap:16px;width:100%;padding:18px;margin:0 0 14px;background:var(--hub-card);border:1px solid var(--hub-border);border-radius:16px;color:var(--hub-text);text-align:left}
body.worcar-app #app .refreshed-account .account-avatar{width:58px;height:58px;min-width:58px;border-radius:50%;font-size:23px;background:var(--hub-selected);color:var(--hub-accent)}
body.worcar-app #app .refreshed-account .profile-copy{flex:1;min-width:0}
body.worcar-app #app .refreshed-account .profile-copy>strong{display:block;font-size:18px;line-height:1.3;overflow-wrap:anywhere;color:var(--hub-text)}
body.worcar-app #app .refreshed-account .profile-copy small{display:block;font-size:12px;color:var(--hub-muted);margin:5px 0}
body.worcar-app #app .refreshed-account .profile-edit{display:block;font-size:12px;color:var(--hub-accent);margin-top:9px}
body.worcar-app #app .refreshed-account .account-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 26px}
body.worcar-app #app .refreshed-account .account-tile{display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:16px;min-height:66px;background:var(--hub-card);border:1px solid var(--hub-border);border-radius:14px;color:var(--hub-text);text-align:left}
body.worcar-app #app .refreshed-account .account-tile>.icon{width:22px;height:22px;color:var(--hub-accent);flex-shrink:0}
body.worcar-app #app .refreshed-account .account-tile strong{font-size:13px;margin:0;color:inherit}
body.worcar-app #app .refreshed-account .account-tile :is(small,.account-chevron){display:none}
body.worcar-app #app .refreshed-account .account-menu-group>h2{font-size:13px;letter-spacing:0;font-weight:600;color:var(--hub-muted);margin:0 0 10px}
body.worcar-app #app .refreshed-account .account-settings{margin:0 0 24px;background:var(--hub-card);border:1px solid var(--hub-border);border-radius:16px;overflow:hidden}
body.worcar-app #app .refreshed-account .account-row{min-height:62px;padding:15px 16px;gap:13px;background:transparent;color:var(--hub-text);border-color:var(--hub-border)}
body.worcar-app #app .refreshed-account .account-row:last-child{border-bottom:0}
body.worcar-app #app .refreshed-account .account-row-icon{color:var(--hub-muted);width:23px;height:23px;flex:0 0 23px}
body.worcar-app #app .refreshed-account .account-row-copy strong{font-size:14px;font-weight:500;line-height:1.4;color:var(--hub-text)}
body.worcar-app #app .refreshed-account .account-chevron{width:17px;height:17px;stroke:var(--hub-muted);flex-shrink:0}
body.worcar-app #app .refreshed-account .account-row-tail{background:var(--hub-selected);color:var(--hub-accent);border-radius:8px;padding:4px 7px;font-size:12px}
body.worcar-app #app .refreshed-account .reference-account-switch{margin:4px 0 16px;border:1px solid var(--hub-border);border-radius:14px;background:transparent;overflow:hidden}
@media(max-width:350px){body.worcar-app #app .refreshed-account .account-tile{padding:13px 11px;gap:8px}body.worcar-app #app .refreshed-trip-card{padding:14px}body.worcar-app #app .trip-card-top small{flex-basis:100%;padding-left:25px}}
body.worcar-app #app .refreshed-account .account-tile{flex-direction:row}
body.worcar-app #app .refreshed-account .reference-account-switch{padding:0}
body.worcar-app #app .refreshed-account .reference-account-switch .account-row{border:0;border-radius:0}
@media(max-width:350px){body.worcar-app #app .refreshed-account .reference-profile{padding:14px;gap:12px}body.worcar-app #app .refreshed-account .account-avatar{width:48px;height:48px;min-width:48px}body.worcar-app #app .refreshed-account .profile-copy>strong{font-size:16px;overflow-wrap:normal;word-break:normal}body.worcar-app #app .refreshed-account .account-tile strong{font-size:12px}}

/* One surface palette and heading rhythm for the four primary tabs. */
body.worcar-app #app{--tab-card:#f8f8f8;--tab-raised:#f4f4f4;--tab-border:#eceeec;--tab-muted:#707873;--tab-text:#171b18;--tab-green:#07844f;--tab-radius:14px}
html[data-theme="dark"] body.worcar-app #app{--tab-card:#141414;--tab-raised:#1c1c1c;--tab-border:#2a2a2a;--tab-muted:#b8b8b8;--tab-text:#f5f5f5}
body.worcar-app #app :is(.refreshed-trips,.refreshed-account){--hub-card:var(--tab-card);--hub-border:var(--tab-border);--hub-muted:var(--tab-muted);--hub-text:var(--tab-text)}
body.worcar-app #app :is(.page-home,.page-passenger-schedule,.page-trips,.page-account,.page-driver-account){padding-top:12px}
body.worcar-app #app :is(.home-heading,.schedule-heading,.refreshed-trips>.page-heading,.refreshed-account>.page-heading){margin:0 0 24px;padding:0}
body.worcar-app #app :is(.home-heading,.schedule-heading,.refreshed-trips>.page-heading,.refreshed-account>.page-heading) :is(.greeting,p){margin:0 0 10px;color:var(--tab-muted);font-size:14px;line-height:1.5;font-weight:400}
body.worcar-app #app :is(.home-heading,.schedule-heading,.refreshed-trips>.page-heading,.refreshed-account>.page-heading) h1{margin:0;font-size:26px;line-height:1.2;letter-spacing:-.8px}
body.worcar-app #app :is(.refreshed-trip-card,.refreshed-account .reference-profile,.refreshed-account .account-settings,.refreshed-account .account-tile,.refreshed-account .reference-account-switch,.schedule-empty,.reference-routine-card){background:var(--tab-card);border:1px solid var(--tab-border);border-radius:var(--tab-radius);box-shadow:none}
body.worcar-app #app .refreshed-trips .trip-tabs{background:var(--tab-raised);border-color:var(--tab-border);border-radius:var(--tab-radius)}
body.worcar-app #app .refreshed-trips .trip-tabs button[aria-pressed=true]{background:var(--tab-green);color:#fff}
body.worcar-app #app .schedule-week-days li{background:var(--tab-raised);border-color:var(--tab-border);color:var(--tab-text);border-radius:var(--tab-radius)}
body.worcar-app #app .schedule-week-days li.is-today{background:var(--tab-green);border-color:var(--tab-green);color:#fff}
body.worcar-app #app .schedule-week-days li.is-today :is(span,strong,small){color:#fff}
body.worcar-app #app .schedule-empty{padding:20px}
body.worcar-app #app .schedule-empty h3{font-size:18px;line-height:1.3;letter-spacing:-.3px;color:var(--tab-text)}
body.worcar-app #app .schedule-empty p{color:var(--tab-muted);font-size:13px}
body.worcar-app #app .schedule-empty-icon{background:var(--tab-raised);border-color:var(--tab-border);color:var(--tab-green);border-radius:12px}
html[data-theme="dark"] body.worcar-app #app .schedule-empty-icon{color:#63d6a2}
body.worcar-app #app .refreshed-account .account-shortcuts .account-tile{background:var(--tab-raised)}
body.worcar-app #app .refreshed-account .account-row-icon{color:var(--tab-text)}
body.worcar-app #app .refreshed-account .account-menu-group>h2{color:var(--tab-text);font-size:18px;letter-spacing:-.3px;margin-bottom:14px}
body.worcar-app #app .refreshed-account .account-row-copy strong{font-weight:600}
body.worcar-app #app .refreshed-account .reference-profile{padding:16px}
html[data-theme="dark"] body.worcar-app #app :is(.refreshed-trips,.refreshed-account){--hub-card:var(--tab-card);--hub-border:var(--tab-border);--hub-muted:var(--tab-muted);--hub-text:var(--tab-text)}
body.worcar-app #app .refreshed-account{padding:0}
body.worcar-app #app .refreshed-trips .empty{padding:20px;text-align:left;background:var(--tab-card);border-color:var(--tab-border);border-radius:var(--tab-radius)}
body.worcar-app #app .refreshed-trips .empty-symbol{width:44px;height:44px;margin:0 0 20px;border:1px solid var(--tab-border);border-radius:12px;background:var(--tab-raised)}
body.worcar-app #app .refreshed-trips .empty :is(h2,p){text-align:left}
body.worcar-app #app :is(.schedule-empty,.refreshed-trips .empty)>.btn{display:flex;align-items:center;justify-content:space-between;min-height:54px;border-radius:14px;padding:14px 16px;font-size:14px}

/* Pure black canvas, neutral surfaces, Worcar green actions. */
html[data-theme="dark"]{background:#000;color-scheme:dark}
html[data-theme="dark"] body.worcar-app,
html[data-theme="dark"] body.worcar-app #app,
html[data-theme="dark"] body.worcar-app #app :is(.main,.role-passenger,.role-driver){--canvas:#000;--surface:#141414;--soft:#1c1c1c;--cream:#1c1c1c;--line:#2a2a2a;--muted:#b8b8b8;--ink:#f5f5f5;--wc-paper:#141414;--wc-soft:#1c1c1c;--wc-line:#2a2a2a;--wc-muted:#b8b8b8;--wc-ink:#f5f5f5;--tab-card:#141414;--tab-raised:#1c1c1c;--tab-border:#2a2a2a;--tab-muted:#b8b8b8;--tab-text:#f5f5f5;background-color:#000;color:#f5f5f5}
html[data-theme="dark"] body.worcar-app #app :is(.topbar,.bottom-nav){background:#141414;border-color:#2a2a2a}
body.worcar-app #app .trip-history-details .completion-heading{text-align:left;padding:0;margin:0 0 24px}
body.worcar-app #app .trip-history-details .completion-heading h1{text-align:left;margin:0 0 8px}
body.worcar-app #app .trip-history-details .completion-heading p{font-size:13px;margin:0;color:var(--muted)}

/* Earnings: compact neutral cards, legible values, green only for earned amounts. */
body.worcar-app #app .earnings-total-card{padding:12px 18px 16px;background:var(--wc-paper)}
body.worcar-app #app .earnings-pending{color:var(--wc-muted)}
body.worcar-app #app .earnings-chart-day[aria-pressed="true"]{background:var(--wc-soft);color:var(--wc-ink)}
body.worcar-app #app .earnings-bar-track i[data-positive="true"]{background:#22b780}
body.worcar-app #app .earnings-bar-track i[data-positive="false"]{background:var(--wc-line)}
body.worcar-app #app .earnings-chart-card{margin:16px 0;padding:14px}
body.worcar-app #app .earnings-ride-copy strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:normal}
body.worcar-app #app .earnings-ride-symbol{width:30px;flex-basis:30px;height:34px}
body.worcar-app #app .earnings-total-value,body.worcar-app #app .earnings-ride>b{font-variant-numeric:tabular-nums}

/* Driver Home availability: one square tap target with an explicit state. */
body.worcar-app #app .reference-driving-controls .home-ride-now-button{display:grid;place-items:center;flex:0 0 60px;width:60px;height:60px;min-width:60px;padding:0;border:1px solid #ab3535;border-radius:10px;background:#8e2525;color:#fff;font:inherit;font-size:13px;font-weight:700;letter-spacing:.5px;cursor:pointer;box-shadow:none}
body.worcar-app #app .reference-driving-controls .home-ride-now-button[aria-checked=true]{background:#07844f;border-color:#07844f;color:#fff}
body.worcar-app #app .reference-driving-controls .home-ride-now-button:disabled{opacity:.55;cursor:wait}
body.worcar-app #app .reference-driving-controls .home-ride-now-button:focus-visible{outline:3px solid #63d6a2;outline-offset:3px}
body.worcar-app #app .reference-driving-controls .home-ride-now-button>span{color:inherit}

/* Keep transient feedback readable in both themes and clear of navigation. */
body.worcar-app #toast{top:auto;bottom:calc(96px + env(safe-area-inset-bottom, 0px));left:50%;transform:translateX(-50%);width:max-content;max-width:min(420px,calc(100vw - 32px));padding:12px 16px;border:1px solid #404040;border-radius:12px;background:#242424;color:#fff;font-size:13px;line-height:1.5;text-align:center;overflow-wrap:anywhere;box-shadow:0 6px 24px #0006;pointer-events:none;z-index:1000}

/* Driver Home: availability and the next journey share one continuous card. */
body.worcar-app #app .home-driving-panel{display:grid;gap:14px;background:none;border:0;overflow:visible}
body.worcar-app #app .home-driving-panel .reference-driving-controls{margin:0;padding:0;border:0;background:none}
body.worcar-app #app .home-driving-panel .reference-setting{border:1px solid var(--wc-line);border-radius:16px;margin:0;padding:16px;background:var(--wc-paper)}
body.worcar-app #app .home-driving-panel .approved-home-rides{margin:0;padding:0 16px 16px;border:1px solid var(--wc-line);border-radius:16px;background:var(--wc-paper)}
body.worcar-app #app .home-driving-panel .home-rides-heading{margin:10px 0 6px;gap:8px}
body.worcar-app #app .home-driving-panel .home-rides-heading h2{font-size:16px}
body.worcar-app #app .home-driving-panel .home-rides-heading button{font-size:12px;min-height:44px}
body.worcar-app #app .home-driving-panel .dw-ride-card{border:0;border-radius:0;margin:0;padding:8px 0 0;background:none;box-shadow:none}
body.worcar-app #app .home-driving-panel .approved-home-empty{border:0;background:none;padding:20px 0}
body.worcar-app #app .bottom-nav[data-role="driver"]{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0}
body.worcar-app #app .bottom-nav[data-role="driver"] .nav-item{min-width:0;padding-left:2px;padding-right:2px;font-size:11px}

body.worcar-app #app .home-manage-availability{display:flex;align-items:center;gap:12px;padding:14px;min-height:88px;border-radius:16px}
body.worcar-app #app .home-manage-availability .availability-car-sketch{width:90px;height:54px;flex:0 0 90px;color:#62cda5}
body.worcar-app #app .home-manage-availability>span{flex:1;min-width:0;text-align:left}
body.worcar-app #app .home-manage-availability strong{line-height:1.4}

body.worcar-app #app .availability-car-sketch :is(path,circle){vector-effect:non-scaling-stroke;stroke-width:1.1px}

/* Recurring rides sit after the main booking and upcoming-trip content. */
body.worcar-app #app .home-week-promo{padding:20px 16px;margin:8px 0 12px;gap:14px;border:1px solid var(--tab-border,#dedede);border-radius:20px;background:var(--tab-card,#f5f5f5);min-height:132px}
body.worcar-app #app .home-week-promo .home-week-calendar{width:96px;height:90px;flex:0 0 96px;color:#63cda2}
body.worcar-app #app .home-week-promo>span{flex:1;min-width:0;gap:8px}
body.worcar-app #app .home-week-promo strong{font-size:21px;line-height:1.2;letter-spacing:-.5px}
body.worcar-app #app .home-week-promo small{font-size:13px;color:var(--tab-muted,#666)}
body.worcar-app #app .home-week-promo>.icon{width:22px;height:22px;flex:0 0 22px;color:#63cda2}
body.worcar-app #app .home-week-promo:focus-visible{outline:2px solid #63cda2;outline-offset:4px}
@media(max-width:360px){body.worcar-app #app .home-week-promo{gap:10px;padding:16px 12px}body.worcar-app #app .home-week-promo .home-week-calendar{width:72px;height:76px;flex-basis:72px}body.worcar-app #app .home-week-promo strong{font-size:19px}}

/* Recurring form: preserve hidden state and make the switch legible in both themes. */
body.worcar-app #app .passenger-recurring-form [data-recurring-return][hidden]{display:none!important}
body.worcar-app #app .recurring-return-toggle .return-switch{position:relative;display:block;width:44px;height:26px;padding:3px;box-sizing:border-box;background:#666;border:0;border-radius:20px;flex:0 0 44px}
body.worcar-app #app .recurring-return-toggle .return-switch::before{content:'';display:block;position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0004;transform:translateX(0)}
body.worcar-app #app .recurring-return-toggle input:checked+.return-switch{background:#07844f}
body.worcar-app #app .recurring-return-toggle input:checked+.return-switch::before{transform:translateX(18px)}
body.worcar-app #app .recurring-return-toggle input:focus-visible+.return-switch{outline:2px solid #63cda2;outline-offset:4px}
body.worcar-app #app .main:has(.passenger-recurring-form){padding-bottom:calc(120px + env(safe-area-inset-bottom,0px))}
body.worcar-app #app .passenger-recurring-form .recurring-submit{padding-bottom:16px}

/* Keep the home trip section close to the booking controls. */
body.worcar-app #app .reference-passenger-home>.home-trust-note{margin-bottom:0}
body.worcar-app #app .reference-passenger-home>.approved-home-trips{margin-top:4px}

/* Compact reward invitation stays visible beside notifications on Home. */
body.worcar-app #app .home-earn-pill{display:inline-flex;align-items:center;justify-content:center;position:relative;min-height:32px;padding:6px 12px;border-radius:999px;background:#fff;border:1px solid #fff;color:#000;font-size:13px;font-weight:700;line-height:1.2;text-decoration:none;white-space:nowrap;flex-shrink:0}
body.worcar-app #app .home-earn-pill:hover{background:#f2f2f2;border-color:#fff}
body.worcar-app #app .home-earn-pill:focus-visible{outline:3px solid #63d6a2;outline-offset:3px}
body.worcar-app #app .topbar:has(.home-earn-pill) .top-actions{display:flex;gap:10px;align-items:center}
@media(max-width:360px){body.worcar-app #app .home-earn-pill{font-size:13px;padding:6px 10px}body.worcar-app #app .topbar:has(.home-earn-pill) .wordmark{width:108px}body.worcar-app #app .topbar:has(.home-earn-pill) .top-actions{gap:7px}}

.earnings-bonus-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px;margin:24px 0 16px;border:1px solid var(--border,#303030);border-radius:20px;background:var(--card,#151515);color:inherit;text-decoration:none}.earnings-bonus-card strong,.earnings-bonus-card small{display:block}.earnings-bonus-card small{margin-top:5px;color:var(--muted,#aaa);font-size:12px}.earnings-bonus-value{display:flex;align-items:center;gap:10px;font-weight:700;white-space:nowrap}.earnings-bonus-value .icon{width:20px;height:20px}.earnings-bonus-card:focus-visible{outline:3px solid #65d4a5;outline-offset:3px}

/* Bonus earnings belongs to the earnings screen, alongside ride income. */
body.worcar-app #app .bonus-earnings{margin:18px 0;padding:20px;border:1px solid var(--wc-line,#303030);border-radius:20px;background:var(--wc-paper,#141414);scroll-margin-top:18px}
.bonus-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.bonus-heading h2,.bonus-earnings>h2{font-size:20px;margin:0;font-weight:700}.bonus-symbol{color:#65d4a5}.bonus-symbol .icon{width:24px;height:24px}.bonus-balance{display:block;font-size:36px;letter-spacing:-.035em;line-height:1.2;margin-top:18px}.bonus-note{font-size:12px;color:var(--muted,#aaa);margin:6px 0 18px}.bonus-totals{display:flex;justify-content:space-between;gap:16px;font-size:12px;border-top:1px solid var(--wc-line,#303030);padding-top:14px;margin-bottom:16px;color:var(--muted,#aaa)}.bonus-totals b{color:var(--text,#fff);margin-left:6px}.bonus-withdraw{width:100%;min-height:46px}.bonus-withdraw:disabled{opacity:.4;cursor:default}.bonus-links{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px}.bonus-links a,.bonus-links button{font:inherit;font-size:12px;background:none;border:0;padding:0;color:inherit;text-decoration:none;cursor:pointer}.bonus-links .icon{width:16px;height:16px;margin-left:4px}.bonus-empty{font-size:12px;line-height:1.5;color:var(--muted,#aaa);margin:18px 0 0}.bonus-history{border-top:1px solid var(--wc-line,#303030);margin-top:18px;padding-top:12px}.bonus-history summary{cursor:pointer;font-size:13px;font-weight:600;padding:6px 0}.bonus-history-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--wc-line,#303030);font-size:14px}.bonus-history-row:last-child{border:0}.bonus-history-row small{display:block;margin-top:4px;color:var(--muted,#aaa);font-size:12px}

/* One earnings summary with explicit ride/bonus tabs. */
body.worcar-app #app .earnings-tabs{display:flex;gap:4px;background:var(--wc-paper,#141414);border:1px solid var(--wc-line,#303030);padding:4px;border-radius:14px;margin:0 0 18px}
body.worcar-app #app .earnings-tabs button{flex:1;border:0;border-radius:10px;background:transparent;color:var(--wc-muted,#aaa);font:inherit;font-weight:650;min-height:42px;cursor:pointer}
body.worcar-app #app .earnings-tabs button[aria-selected="true"]{background:#163c2c;color:#72dbb0}
body.worcar-app #app .earnings-tabs button:focus-visible{outline:2px solid #72dbb0;outline-offset:2px}
body.worcar-app #app #earnings-panel>.earnings-total-card,body.worcar-app #app #earnings-panel>.bonus-earnings{box-sizing:border-box;min-height:236px;display:flex;flex-direction:column;padding:20px;margin:0 0 20px;border-radius:20px}
body.worcar-app #app #earnings-panel .earnings-pending,body.worcar-app #app #earnings-panel .bonus-totals{margin-top:auto;padding-top:16px}
body.worcar-app #app #earnings-panel .bonus-balance{font-size:44px;margin:16px 0 8px;line-height:1.15}
body.worcar-app #app #earnings-panel .bonus-heading h2{font-size:18px}
body.worcar-app #app .bonus-actions{padding:0;margin:0}
body.worcar-app #app .bonus-actions .bonus-history{margin-top:24px}

/* Native swipe carousel: two equal summaries with a visible neighbouring edge. */
body.worcar-app #app .earnings-carousel{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;position:relative;padding:0 0 2px;}
.earnings-carousel::-webkit-scrollbar{display:none}
body.worcar-app #app .earnings-slide{flex:0 0 calc(100% - 28px);min-width:0;scroll-snap-align:start;scroll-snap-stop:always;display:flex}
body.worcar-app #app .earnings-slide:last-child{scroll-snap-align:end}
body.worcar-app #app .earnings-slide>.earnings-total-card,body.worcar-app #app .earnings-slide>.bonus-earnings{box-sizing:border-box;width:100%;height:270px;min-height:270px;margin:0;padding:20px;display:flex;flex-direction:column;border-radius:20px}
body.worcar-app #app .earnings-slide .earnings-pending,body.worcar-app #app .earnings-slide .bonus-totals{margin-top:auto;padding-top:16px}
body.worcar-app #app .earnings-slide .bonus-balance{font-size:44px;margin:18px 0 8px;line-height:1.15}
body.worcar-app #app .carousel-card-title,body.worcar-app #app .earnings-slide .bonus-heading h2{font-size:18px;margin:0 0 8px;font-weight:650}
body.worcar-app #app .earnings-dots{display:flex;justify-content:center;gap:0;margin:4px 0 12px}
body.worcar-app #app .earnings-dots button{width:36px;height:36px;padding:0;border:0;background:transparent;display:grid;place-items:center;cursor:pointer}
.earnings-dots button span{width:6px;height:6px;background:#555;border-radius:50%}.earnings-dots button[aria-pressed="true"] span{background:#6bd4a9}
body.worcar-app #app [data-earnings-detail][hidden]{display:none}
.earnings-carousel:focus-visible,.earnings-dots button:focus-visible{outline:2px solid #6bd4a9;outline-offset:2px}
body.worcar-app #app .earnings-slide .earnings-total-value{font-size:44px;line-height:1.15}
body.worcar-app #app .earnings-slide .bonus-heading{justify-content:flex-end;min-height:44px}
body.worcar-app #app .earnings-slide{flex-basis:100%}
body.worcar-app #app .earnings-slide>.earnings-total-card,body.worcar-app #app .earnings-slide>.bonus-earnings{height:220px;min-height:220px;padding:16px 20px}
body.worcar-app #app .earnings-slide .bonus-balance{margin:8px 0;font-size:44px}
body.worcar-app #app .earnings-slide .earnings-total-value{margin:8px 0}
body.worcar-app #app .earnings-dots button span{width:14px;height:3px;border-radius:2px}
body.worcar-app #app .earnings-dots{margin:2px 0 8px}
.earnings-custom-dates{margin:0 0 18px}
body.worcar-app #app .bonus-totals{flex-direction:column;gap:8px}
body.worcar-app #app .bonus-totals>span{display:flex;align-items:baseline;justify-content:space-between;gap:16px;width:100%}
body.worcar-app #app .bonus-totals b{margin-left:auto;text-align:right}

/* Keep the unread indicator distinct from the bell. */
body.worcar-app #app .notification-unread-dot{box-sizing:content-box;width:6px;height:6px;border:2px solid #1c1c1c;background:#07844f}

body.worcar-app #app .home-earn-pill::after{content:"";position:absolute;inset:-6px 0;border-radius:999px}

/* Welcome: compact headline and paired role tiles. */
body.worcar-app:has(.welcome-origin){background:#080808;color:#fff}
body.worcar-app #app:has(.welcome-origin) header.topbar{height:80px;box-sizing:border-box;max-width:520px;padding:26px 24px;margin:0 auto;background:#080808!important;border:0;box-shadow:none}
body.worcar-app #app:has(.welcome-origin) .wordmark{filter:brightness(0) invert(1);width:136px;max-width:136px;height:auto}
body.worcar-app #app .welcome-origin{margin:0 auto;padding:0 24px;max-width:520px;min-height:calc(100svh - 80px);display:flex;flex-direction:column;justify-content:flex-start;background:#080808;box-sizing:border-box}
body.worcar-app #app .origin-hero{padding:32px 0;flex:1;min-height:220px;display:flex;flex-direction:column;justify-content:center;background:none;border:0;border-radius:0;box-sizing:border-box}
body.worcar-app #app .origin-hero h1{font-size:clamp(42px,11.8vw,58px);font-weight:700;line-height:1.04;letter-spacing:-.055em;margin:0;color:#fff;align-self:flex-start;position:relative;z-index:1}
body.worcar-app #app .origin-hero h1 span{color:#fff}
.origin-bottom{width:100%;flex-shrink:0;padding:0 0 max(24px,env(safe-area-inset-bottom));box-sizing:border-box}
.origin-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body.worcar-app #app .origin-choices button{position:relative;width:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:24px;min-height:142px;padding:20px;border-radius:20px;text-align:left;font:inherit;cursor:pointer;box-shadow:none;border:0}
body.worcar-app #app .origin-passenger{background:#f4f4ee;color:#111}
body.worcar-app #app .origin-driver{background:#07844f;color:#fff}
.origin-choice-icon{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;color:inherit}
.origin-choice-icon .icon{width:28px;height:28px}.origin-choices strong{font-size:20px;font-weight:650;line-height:1.3;letter-spacing:-.025em}.origin-choices button>.icon{position:absolute;right:18px;top:22px;width:22px;height:22px;color:inherit}
.origin-signin{text-align:center;color:#a9a9a9;font-size:13px;margin:18px 0 0}.origin-signin button{color:#fff;background:none;border:0;min-height:44px;padding:10px 6px;text-decoration:underline;text-underline-offset:4px;font:inherit;font-weight:650;cursor:pointer}
.origin-choices button:focus-visible,.origin-signin button:focus-visible{outline:2px solid #63d6a2;outline-offset:4px}
body.worcar-app #app .origin-choices button:hover{filter:brightness(1.08)}
.origin-choices button:active{transform:translateY(1px)}
@media(max-height:650px){body.worcar-app #app .origin-hero{padding-top:24px;padding-bottom:32px}body.worcar-app #app .origin-choices button{min-height:124px;padding:16px}.origin-signin{margin-top:10px}}
@media(max-width:350px){.origin-choices strong{font-size:18px}body.worcar-app #app .origin-choices button{padding:16px}}

.origin-choice-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.origin-choice-copy small{font-size:13px;line-height:1.35;font-weight:400;letter-spacing:0}
.origin-passenger .origin-choice-copy small{color:#555}
.origin-driver .origin-choice-copy small{color:#e0f2e9}

/* Authentication is a page, never a modal over guest home. */
body.worcar-app #app .auth-topbar{box-sizing:border-box;max-width:520px;margin:0 auto;height:80px;padding:26px 24px;background:#080808}
.auth-topbar img{filter:brightness(0) invert(1);width:136px;height:auto}
body.worcar-app #app .auth-page{max-width:460px;margin:0 auto;padding:20px 24px 40px;box-sizing:border-box;min-height:calc(100svh - 80px)}
body.worcar-app #app .auth-page h1{font-size:34px;letter-spacing:-.04em;line-height:1.15;margin:12px 0 28px}
.auth-page .auth-back{padding:8px 0;min-height:44px;color:#fff;text-decoration:none}
.auth-role{color:#63d6a2;font-size:13px;margin:24px 0 0}
.auth-page .auth-intro{display:none}
.auth-page .auth-form{display:flex;flex-direction:column;gap:20px}
.auth-page .field{display:flex;flex-direction:column;gap:8px;font-size:14px}
.auth-page input{width:100%;box-sizing:border-box;min-height:54px;border:1px solid #363636;border-radius:12px;background:#181818;color:#fff;padding:14px;font:inherit}
.auth-page .password-field{position:relative;display:block}.auth-page .password-field input{padding-right:70px}
.auth-page .password-toggle{position:absolute;right:8px;top:5px;min-height:44px;background:none;border:0;color:#fff;padding:10px;font-size:12px}
.auth-page .btn{min-height:54px;background:#07844f;color:#fff;border-radius:12px;font-weight:650}
.auth-page .auth-forgot{align-self:flex-end;font-size:13px;padding:4px 0}
.auth-page .auth-switch{text-align:center;font-size:13px;color:#aaa;margin:4px 0}
.auth-page .auth-switch button,.auth-page .link{color:#fff}.auth-page .notice{margin:16px 0}
/* Phone authentication shares the app’s compact typography and Worcar green. */
.auth-description{color:#b6b9b7;font-size:16px;line-height:1.5;margin:0 0 28px}.auth-description strong{color:#fff;white-space:nowrap}.auth-page .field-hint{margin:-10px 0 0;font-size:13px;line-height:1.5;color:#aaa}.auth-page .otp-input{font-size:28px;letter-spacing:.35em;text-align:center;font-variant-numeric:tabular-nums;min-height:68px}.auth-page .otp-input::placeholder{color:#626562}.auth-edit-number{display:block;margin:-16px 0 28px;color:#66cfaa}.auth-divider{display:flex;align-items:center;gap:16px;margin:26px 0;color:#919792;font-size:13px}.auth-divider:before,.auth-divider:after{content:'';height:1px;background:#2d302e;flex:1}.auth-page .btn.secondary{background:#191c1a;border:1px solid #353a36}.auth-phone-link{display:block;margin:24px auto 0;min-height:44px}.auth-page .auth-switch{line-height:1.6;margin:22px 0 0}.auth-page [data-action="auth-resend"]:disabled{color:#999;opacity:1;cursor:default}

/* Compact phone entry: one field, one primary action, short alternatives. */
body.worcar-app #app .auth-page-phone h1{font-size:32px;margin:20px 0 32px}
.auth-page-phone .auth-form{gap:24px}
.auth-page-phone .auth-email-option{display:block;width:100%;min-height:48px;margin:14px 0 0;padding:12px;background:none;border:0;text-align:center;font-size:14px;font-weight:600}
.auth-page-phone .auth-switch{margin:24px 0 0;padding-top:24px;border-top:1px solid #292929}
.auth-page-phone .auth-switch button{min-height:44px;padding:8px 4px}
/* One consistent, accessible back control for nested screens. */
body.worcar-app #app .nav-back{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;min-width:44px;width:44px;min-height:44px;height:44px;padding:8px;margin-left:-8px;border:0;border-radius:50%;background:transparent;color:#fff;font-size:25px;line-height:1;text-decoration:none}
.nav-back-label{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.worcar-app #app .nav-back:focus-visible{outline:2px solid #66cfaa;outline-offset:2px}
body.worcar-app #app :is(.page-heading,.account-subheading):has(>.nav-back){display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:12px}
body.worcar-app #app :is(.page-heading,.account-subheading)>.nav-back{order:-1}
body.worcar-app #app .account-subheading>p{flex-basis:100%}
.mode-choice-page{padding-top:40px}.mode-choice-options{display:grid;gap:16px;margin-top:32px}
/* A separate, editable calling code and national number. */
.auth-page .phone-number-row{display:flex;align-items:stretch;width:100%;border:1px solid #363636;border-radius:12px;background:#181818;overflow:hidden}
.auth-page .phone-country-select{position:relative;display:flex;align-items:center;flex:0 0 auto;max-width:44%;padding:0 12px;border-right:1px solid #363636;font-size:14px;white-space:nowrap}
.auth-page .phone-country-select select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:16px}
.auth-page .phone-country-select .country-chevron{margin-left:4px;color:#aaa}
.auth-page .phone-number-row input{flex:1;min-width:0;width:0;border:0;border-radius:0;background:transparent;font-size:16px}
.auth-page .phone-country-select:focus-within{outline:2px solid #66cfaa;outline-offset:-3px}
.auth-page .phone-number-row:focus-within{border-color:#66cfaa}

.auth-page .country-flag{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:20px;vertical-align:middle;margin-right:3px;line-height:1}
/* Searchable country sheet; native dialog keeps keyboard focus inside. */
.auth-page button.phone-country-select{color:#fff;background:transparent;border:0;border-right:1px solid #363636;border-radius:0;cursor:pointer;min-height:54px;font:inherit;font-size:14px}
.country-picker{box-sizing:border-box;width:calc(100% - 24px);max-width:460px;max-height:80dvh;height:600px;padding:20px;margin:auto;border:1px solid #363636;border-radius:22px;background:#131313;color:#fff;overflow:hidden}
.country-picker[open]{display:flex;flex-direction:column;gap:16px}.country-picker::backdrop{background:rgba(0,0,0,.72)}
.country-picker header{display:flex;align-items:center;justify-content:space-between;gap:12px}.country-picker h2{font-size:21px;margin:0}.country-picker header button{width:44px;height:44px;border:0;border-radius:50%;background:#242424;color:#fff;font-size:28px;cursor:pointer}
.country-picker .country-search{box-sizing:border-box;width:100%;min-height:50px;flex-shrink:0;border:1px solid #3c3c3c;border-radius:12px;background:#202020;color:white;padding:12px 14px;font:inherit;font-size:16px}
.country-results{overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0}.country-option{width:100%;display:flex;align-items:center;gap:12px;text-align:left;min-height:56px;padding:12px 10px;background:transparent;color:white;border:0;border-bottom:1px solid #292929;font:inherit;cursor:pointer;border-radius:8px}.country-option[aria-pressed=true]{background:#153d2e}.country-option:hover{background:#25312b}.country-name{flex:1}.country-code{color:#b7bcb9;white-space:nowrap}.country-picker .country-flag{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:24px;min-width:30px}.country-picker :focus-visible{outline:2px solid #66cfaa;outline-offset:-2px}.country-empty{color:#aaa;text-align:center;font-size:14px}
@media(max-width:520px){.country-picker{margin:auto auto 12px;height:70dvh;max-height:calc(100dvh - 24px)}}

/* Steady active-state glow; OFF retains its existing unlit appearance. */
body.worcar-app #app .approved-driver-home .reference-driving-controls .home-ride-now-button[aria-checked="true"]{border-color:#21b47b;box-shadow:0 0 0 1px rgb(33 180 123 / 14%),0 0 14px rgb(7 132 79 / 32%),0 0 24px rgb(7 132 79 / 12%)}

/* Match the familiar welcome choices after login. */
body.worcar-app #app .mode-choice-page{padding-top:36px}
body.worcar-app #app .mode-choice-page h1{font-size:32px;line-height:1.15;letter-spacing:-.035em;margin:0 0 32px;max-width:360px}
.mode-choice-options.origin-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:0}
body.worcar-app #app .mode-choice-options button:disabled{opacity:.6;cursor:wait}

/* Notifications follow the active account mode. */
body.worcar-app #app .notification-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 24px}
body.worcar-app #app .notification-heading h1{margin:0;font-size:28px;line-height:1.2;letter-spacing:-.035em}
body.worcar-app #app .notification-settings-button{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid #292929;border-radius:50%;background:#171717;color:#eee;cursor:pointer}
body.worcar-app #app .notification-settings-button .icon{width:21px;height:21px}
body.worcar-app #app .notification-settings-button circle{fill:#171717}
body.worcar-app #app .notification-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 22px;padding-bottom:16px;border-bottom:1px solid #252525}
body.worcar-app #app .notification-count{font-size:13px;color:#aaa}
body.worcar-app #app .notification-toolbar>div{display:flex;gap:16px;flex-wrap:wrap}
body.worcar-app #app .notification-toolbar .link{font-size:13px;color:#6bd3aa;min-height:44px;padding:0;background:none;border:0;cursor:pointer}
body.worcar-app #app .notification-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:64px 16px 80px}
body.worcar-app #app .notification-empty-icon{position:relative;display:grid;place-items:center;width:88px;height:88px;margin-bottom:28px;border-radius:50%;background:#10291f;color:#6bd3aa;border:1px solid #1c4433}
body.worcar-app #app .notification-empty-icon>.icon{width:37px;height:37px;stroke-width:1.5}
body.worcar-app #app .notification-empty-icon>span{position:absolute;right:-2px;bottom:2px;display:grid;place-items:center;width:27px;height:27px;border:4px solid #000;border-radius:50%;background:#07844f;color:#fff;font-size:14px}
body.worcar-app #app .notification-empty h2{margin:0 0 10px;font-size:22px;letter-spacing:-.025em;line-height:1.3}
body.worcar-app #app .notification-empty p{margin:0;color:#a6a6a6;font-size:14px;line-height:1.5}
body.worcar-app #app .notification-centre .reference-notification{background:#141414;border-color:#282828;border-radius:18px;padding:16px}
body.worcar-app #app .notification-centre .reference-notification.is-unread{background:#102019;border-color:#244537}
body.worcar-app #app .notification-centre .update-symbol{background:#202823;color:#6bd3aa;border-radius:13px}
body.worcar-app #app .notification-centre .reference-date-heading{font-size:12px;color:#999;margin:24px 0 12px}
body.worcar-app #app .notification-centre button:focus-visible{outline:2px solid #6bd3aa;outline-offset:4px}

body.worcar-app #app .notification-settings-heading{display:flex;align-items:center;gap:12px;margin:0 0 28px}
body.worcar-app #app .notification-settings-heading h1{margin:0;font-size:26px;line-height:1.2;letter-spacing:-.035em;min-width:0}
body.worcar-app #app .notification-back{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;padding:10px;border:0;border-radius:50%;background:#171717;color:#fff;cursor:pointer}
body.worcar-app #app .notification-back svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body.worcar-app #app .notification-back:focus-visible{outline:2px solid #6bd3aa;outline-offset:3px}
body.worcar-app #app .notification-settings-page .account-settings{margin-top:0}

body.worcar-app #app .refresh-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;margin:0 0 14px;border:1px solid #383838;border-radius:12px;background:#191919;color:#cfcfcf;font-size:13px;line-height:1.4}body.worcar-app #app .refresh-notice button{flex-shrink:0;color:#fff;min-height:40px}

/* Square passenger home mode tiles. */
body.worcar-app #app .home-ride-modes button{aspect-ratio:1 / 1;width:100%;min-width:0;min-height:0;box-sizing:border-box;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:16px;text-align:center}
body.worcar-app #app .home-ride-modes .icon{width:32px;height:32px}
body.worcar-app #app .home-ride-modes button>span{justify-items:center;gap:6px}
body.worcar-app #app .home-ride-modes strong{font-size:18px}

/* Compact mode tiles aligned with the form edges. */
body.worcar-app #app .home-ride-modes{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:none;margin-inline:0;gap:12px}
body.worcar-app #app .home-ride-modes button{aspect-ratio:auto;height:clamp(120px,33vw,145px);padding:10px;gap:8px}
body.worcar-app #app .home-ride-modes .icon{width:26px;height:26px}
body.worcar-app #app .home-ride-modes strong{font-size:16px}
body.worcar-app #app .home-ride-modes button>span{gap:4px}
body.worcar-app #app .home-ride-modes small{font-size:11px}

/* Compact recurring schedule review. */
body.worcar-app #app .schedule-review-heading{display:flex;align-items:center;gap:12px;margin:0 0 22px;min-width:0}
body.worcar-app #app .schedule-review-heading h1{margin:0;min-width:0;font-size:26px;line-height:1.2;letter-spacing:-.6px}
body.worcar-app #app .schedule-review{padding:18px;display:grid;gap:20px;min-width:0}
body.worcar-app #app .schedule-review-route{display:grid;gap:7px;overflow-wrap:anywhere}
body.worcar-app #app .schedule-review-route>strong{font-size:16px;line-height:1.5}
body.worcar-app #app .schedule-review small{color:var(--ink-737c74);font-size:12px;line-height:1.5}
body.worcar-app #app .schedule-review-weeks{display:grid;gap:10px}
body.worcar-app #app .schedule-review-week{border:1px solid var(--line-dce1da);border-radius:14px;overflow:hidden;background:var(--surface-f5f5f3);color:var(--ink-202522)}
body.worcar-app #app .schedule-review-week summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:62px;padding:12px;cursor:pointer;list-style:none}
body.worcar-app #app .schedule-review-week summary::-webkit-details-marker{display:none}
body.worcar-app #app .schedule-review-week summary>span:first-child{display:grid;gap:3px}
body.worcar-app #app .schedule-review-week summary strong{font-size:14px;line-height:1.4}
body.worcar-app #app .schedule-review-chevron{font-size:22px;line-height:1}
body.worcar-app #app .schedule-review-week[open] .schedule-review-chevron{transform:rotate(180deg)}
body.worcar-app #app .schedule-review-trip{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;border-top:1px solid var(--line-dce1da)}
body.worcar-app #app .schedule-review-trip>div{display:grid;gap:4px}
body.worcar-app #app .schedule-review-trip strong{font-size:14px}
body.worcar-app #app .schedule-review-trip>span{font-size:13px;font-weight:600;white-space:nowrap}
body.worcar-app #app .schedule-review-payment{display:grid;gap:14px;margin:0}
body.worcar-app #app .schedule-review-payment .field{margin:0}
body.worcar-app #app .schedule-review-consent{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:10px;font-size:13px;line-height:1.5;cursor:pointer}
body.worcar-app #app .schedule-review-consent input{width:20px;height:20px;min-height:20px;margin:2px 0 0;accent-color:#078657}
body.worcar-app #app .schedule-review-note,body.worcar-app #app .schedule-review-policy{text-align:center}
body.worcar-app #app .schedule-review-policy{font-size:12px;color:var(--ink-737c74);text-underline-offset:3px}
body.worcar-app #app .schedule-review summary:focus-visible{outline:2px solid #66cfaa;outline-offset:-3px}
@media(max-width:360px){body.worcar-app #app .schedule-review{padding:14px}body.worcar-app #app .schedule-review-heading h1{font-size:24px}body.worcar-app #app .schedule-review-trip{gap:6px;padding:10px}}

body.worcar-app #app .schedule-review-week summary::after{content:none}
body.worcar-app #app .schedule-review-week summary .schedule-review-chevron{display:block;color:inherit}

.first-ride-breakdown{padding:14px 0;margin:12px 0;border-top:1px solid var(--border,#333);border-bottom:1px solid var(--border,#333)}
.first-ride-breakdown .row{gap:16px;margin:8px 0;font-size:14px}.first-ride-breakdown strong{white-space:nowrap}

/* Shared passenger/driver picker: compact content, always-visible actions. */
body.worcar-app .datetime-backdrop{padding:12px;padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom));overflow:hidden}
body.worcar-app .datetime-dialog{display:flex;flex-direction:column;padding:16px;width:min(100%,420px);max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:hidden;box-sizing:border-box}
body.worcar-app .datetime-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;flex:1 1 auto}
body.worcar-app .datetime-heading h2{font-size:21px;padding:0 4px 12px}
body.worcar-app .wc-picker-mode{margin-top:10px}
body.worcar-app .wc-picker-mode button{min-height:44px;padding:8px}
body.worcar-app .wc-picker-days{margin:10px 0;gap:4px}
body.worcar-app .wc-picker-days button{min-height:52px;padding:6px 2px}
body.worcar-app .wc-picker-days small{margin-bottom:3px}
body.worcar-app .wheel-pair{padding:10px 0}
body.worcar-app .wheel-labels{margin-bottom:4px}
body.worcar-app .datetime-day{padding:0 4px;min-height:48px}
body.worcar-app .datetime-day button{min-height:44px}
body.worcar-app .reset-time{min-height:44px;margin:4px auto 0;padding:8px;font-size:13px}
body.worcar-app .datetime-error{margin:4px 0;min-height:0}
body.worcar-app .datetime-error:empty{display:none}
body.worcar-app .datetime-dialog>.datetime-actions{flex:0 0 auto;margin:0;padding:12px 0 0;background:var(--wc-paper);gap:12px}
body.worcar-app .datetime-actions .btn{min-height:48px;margin:0}
body.worcar-app .calendar-selected{padding:12px 16px;border-radius:12px}
body.worcar-app .calendar-selected h2{font-size:24px}
body.worcar-app .calendar-body{padding:10px 0 0}
@media(max-height:580px){body.worcar-app .datetime-heading h2{font-size:19px;padding-bottom:8px}body.worcar-app .wc-picker-mode{margin-top:6px}body.worcar-app .wc-picker-days{margin:6px 0}body.worcar-app .wheel-pair{padding:4px 0}}
