/* Driver-only layer: the customer booking layout remains unchanged. */
.tw-driver-shell{max-width:1080px;padding-bottom:48px}.tw-driver-shell .tw-card{border-radius:18px;padding:24px;box-shadow:0 5px 20px #203a4d06}.tw-driver-shell>.tw-heading h1{font-size:30px}.tw-driver-shell .tw-button{font-size:14px;min-height:48px;border-radius:12px}.tw-driver-shell .tw-small{min-height:44px}.tw-driver-shell .tw-note{font-size:13px}.tw-driver-shell .tw-pill{font-size:12px}.tw-driver-shell .tw-stops p{font-size:16px;line-height:1.55;overflow-wrap:anywhere}.tw-driver-shell .tw-stops small{font-size:11px;letter-spacing:1px;margin-bottom:4px}.tw-driver-shell .tw-info small{font-size:11px}.tw-driver-shell #td-availability{min-height:54px;font-size:16px}.tw-driver-shell .tw-driver-tools>span,.tw-driver-shell .tw-driver-tools .tw-text-button{font-size:14px}.tw-driver-shell .tw-driver-tools .tw-text-button{min-height:44px;text-align:left}.tw-driver-shell .tw-online-help{padding:12px;border-radius:10px;background:#fff4e3;color:#79501c}.td-status-banner{display:flex;align-items:center;gap:14px;border-radius:18px;background:#e9eef3;padding:18px 22px;margin-bottom:18px;border:1px solid #d7e0e7}.td-status-banner strong{font-size:18px}.td-status-banner p{font-size:13px;margin:3px 0 0;color:#465968}.td-status-dot{width:13px;height:13px;flex:none;border-radius:50%;background:#82909d;box-shadow:0 0 0 6px #82909d15}.td-status-banner[data-status=online]{background:#eaf8ee;border-color:#b9ddc5}.td-status-banner[data-status=online] .td-status-dot{background:#248451;box-shadow:0 0 0 6px #24845114}.td-status-banner[data-status=busy]{background:#eef0ff;border-color:#ccd3ee}.td-status-banner[data-status=busy] .td-status-dot{background:#4f62b9}.td-status-banner[data-status=other]{background:#fff5e5;border-color:#e8d4b4}.td-shortcuts{display:flex;gap:8px;padding:0 0 16px;overflow:auto}.td-shortcuts a{flex:1;min-width:max-content;padding:13px 16px;border:1px solid #e0e5eb;border-radius:12px;background:white;text-align:center;font-size:13px;font-weight:650;color:#495b6b}.td-shortcuts a:hover{border-color:#e4073a;color:#e4073a}.td-shortcuts span{display:inline-flex;align-items:center;justify-content:center;background:#e4073a;color:white;font-size:11px;min-width:21px;height:21px;border-radius:50%;margin-left:5px}.tw-driver-shell .tw-section{scroll-margin-top:18px}.tw-driver-shell .td-offer-card{border:2px solid #f0b7c4;margin-top:14px}.td-offer-card .tw-heading{margin-bottom:12px}.td-offer-card .tw-actions{display:grid;grid-template-columns:2fr 1fr;gap:12px}.td-offer-card .tw-actions button{font-size:16px;min-height:54px}.td-offer-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:14px;background:#f8f1f3;padding:12px 14px;border-radius:10px}.td-offer-meta strong{color:#ae1838;white-space:nowrap}.td-expired{opacity:.7}.td-ride-guide{padding:16px;border-radius:12px;background:#eef3fa;margin-bottom:16px}.td-ride-guide strong{font-size:18px}.td-ride-guide p{margin:5px 0 0;font-size:14px;color:#506578}.td-ride-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;list-style:none;padding:0;margin:0 0 22px}.td-ride-steps li{border-top:4px solid #e5e9ee;padding-top:7px;color:#74808c;font-size:12px;text-align:center}.td-ride-steps .is-complete{border-color:#39735b;color:#24513e}.td-ride-steps [aria-current=step]{font-weight:750}.tw-driver-shell #tw-active .tw-actions .tw-primary{min-width:210px}.tw-driver-shell .tw-route-panel{border-radius:18px}.tw-driver-shell .tw-route-toolbar h2{font-size:19px}.tw-driver-shell .tw-route-panel .tw-map-card iframe{height:400px}.tw-driver-shell .tw-driver-history{margin-top:32px}.tw-driver-shell .tw-history-row{align-items:center}.tw-driver-shell .tw-otp input{font-size:24px;letter-spacing:6px;text-align:center;min-height:58px}.tw-driver-shell .tw-otp label{margin-top:0}.tw-driver-shell .tw-fare{font-size:28px}.tw-driver-header nav a{min-height:44px;display:inline-flex;align-items:center}
@media(max-width:740px){.tw-driver-shell{padding:20px 14px 36px}.tw-driver-shell>.tw-heading{align-items:flex-start}.tw-driver-shell>.tw-heading h1{font-size:27px}.tw-driver-shell>.tw-heading .tw-toolbar{width:100%;justify-content:space-between}.tw-driver-shell .tw-card{padding:18px;border-radius:16px}.tw-driver-shell .tw-driver-overview{display:block}.tw-driver-shell .tw-driver-controls{border-left:0;border-top:1px solid #e4e8eb;padding:18px 0 0;margin-top:18px}.tw-driver-shell .tw-driver-profile h2{font-size:20px}.td-status-banner{padding:16px 18px}.td-shortcuts{gap:6px}.td-shortcuts a{padding:12px 10px;font-size:12px}.tw-driver-shell .tw-actions .tw-button{flex:1 1 160px}.tw-driver-shell #tw-active .tw-actions .tw-primary{width:100%;min-width:0}.tw-driver-shell .td-offer-card .tw-heading{flex-wrap:nowrap;gap:10px}.tw-driver-shell .tw-fare{font-size:25px;margin:0}.tw-driver-shell .tw-history-row{align-items:stretch}.tw-driver-shell .tw-history-row>div:last-child{display:flex;justify-content:space-between;align-items:center}.tw-driver-shell .tw-route-toolbar .tw-actions{gap:8px}.tw-driver-shell .tw-route-panel .tw-map-card iframe{height:340px}.tw-driver-header{padding:12px 16px;gap:12px}.tw-driver-header nav{gap:10px}.tw-driver-header nav>a{font-size:11px}.tw-driver-header .tw-button{min-height:44px}.td-offer-meta{font-size:13px;padding:10px}.tw-driver-shell .tw-info{grid-template-columns:1fr 1fr}.tw-driver-shell .tw-info div{padding:10px}}
@media(prefers-reduced-motion:reduce){.tw-driver-shell *{scroll-behavior:auto!important}}

/* Put feedback and primary ride actions in the user's current context. */
.td-action-feedback{flex:1 0 100%;width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid #edc2b4;border-radius:10px;background:#fff5ef;color:#81391d;font-size:14px;line-height:1.5;overflow-wrap:anywhere;scroll-margin:20px}
.td-action-feedback[hidden]{display:none}.td-action-feedback:focus-visible{outline:2px solid #bb2945;outline-offset:3px}
.tw-driver-shell .tw-otp{display:grid;gap:14px;margin-top:16px;padding:18px;border-radius:14px}.tw-driver-shell .tw-otp input[aria-invalid=true]{border-color:#bd2142}
.td-current-card h2{font-size:21px;margin:10px 0 0}.td-next-step{font-size:14px;color:#52616f;margin:0 0 16px}.td-customer-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0}
.td-testing-note{padding:10px 12px;border-radius:10px;background:#fff2da;color:#80500c;font-size:13px;line-height:1.5}
.td-main-actions{margin-top:16px}.td-trip-details{margin-top:20px;border-top:1px solid #e1e7eb;padding-top:4px}.td-trip-details summary,.td-profile-details summary{cursor:pointer;min-height:44px;display:list-item;align-content:center;font-weight:650;font-size:14px}.td-trip-details .tw-info{margin-top:8px}.td-trip-details .tw-info>div{overflow-wrap:anywhere;min-width:0}
.td-profile-details{min-width:0}.td-profile-details .tw-driver-profile{padding-top:14px}.tw-driver-overview{margin-top:20px}
.tw-driver-shell .td-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible}.td-shortcuts a{min-width:0;display:flex;align-items:center;justify-content:center;gap:4px;padding:12px 6px}.td-shortcuts span{margin:0;flex:none}
@media(max-width:740px){.tw-driver-shell>.tw-heading{margin-bottom:14px}.td-status-banner{padding:12px 14px;margin-bottom:12px}.td-status-banner p{font-size:12px}.tw-driver-shell .td-shortcuts a{font-size:11px;padding:10px 3px}.tw-driver-shell .tw-driver-overview{padding:14px 16px}.tw-driver-shell .tw-driver-controls{padding-top:12px;margin-top:6px}.tw-driver-shell .tw-driver-actions .tw-button{min-height:46px}.tw-driver-shell .tw-otp{padding:14px}.td-current-card .tw-heading{gap:8px}.td-current-card h2{font-size:20px}.td-action-feedback{font-size:13px}.tw-driver-shell .td-main-actions .tw-button{min-height:48px}}
