/* Travel09 driver interface. Scoped to avoid changing public/admin layouts. */
body.driver-portal-body{--dp-side:236px;--dp-top:68px;font:15px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif;background:#f3f7f8;color:#123247}
.driver-portal-body *,.driver-portal-body *:before,.driver-portal-body *:after{box-sizing:border-box}
.driver-portal-body :is(h1,h2,h3,strong,input,select,textarea,button){font-family:inherit}
.driver-portal-body :is(h1,h2,h3){letter-spacing:-.025em;overflow-wrap:anywhere}
.driver-portal-body h1{font-size:28px!important;line-height:1.2;margin:0 0 8px!important}
.driver-portal-body h2{font-size:21px!important;line-height:1.35}
.driver-portal-body h3{font-size:18px!important;line-height:1.4}
.driver-portal-body .dp-sidebar{width:var(--dp-side);padding:18px 12px;overflow-y:auto}
.driver-portal-body .dp-brand strong{font:750 23px/1.2 system-ui,sans-serif}
.driver-portal-body .dp-topbar{height:var(--dp-top);padding:0 24px}
.driver-portal-body .dp-nav a{min-height:46px;padding:10px 12px}
.driver-portal-body .dp-user{margin:16px 8px;min-width:0}
.driver-portal-body .dp-user>div{min-width:0;overflow-wrap:anywhere}
.driver-portal-body .dp-support{margin-top:24px}
.driver-portal-body .te-page{width:auto!important;min-width:0;max-width:none!important;margin-left:var(--dp-side)!important;padding:calc(var(--dp-top) + 24px) 24px 36px!important;background:#f3f7f8}
.driver-portal-body :is(.te-wrap,.dp-wrap,.dv-wrap){width:100%;min-width:0;max-width:1120px!important;margin-inline:auto}
.driver-portal-body :is(.te-hero,.dp-hero,.dv-hero){min-height:0;padding:22px!important;border-radius:16px;box-shadow:none;gap:16px;margin-bottom:20px}
.driver-portal-body :is(.te-hero,.dp-hero,.dv-hero) p{margin:8px 0 0;font-size:14px;line-height:1.6;max-width:65ch}
.driver-portal-body :is(.te-eyebrow,.dp-kicker,.dv-eyebrow){font-size:11px;letter-spacing:.1em}
.driver-portal-body :is(.te-panel,.te-card,.dv-section){border-radius:14px;box-shadow:0 3px 12px #082b4205;margin-bottom:18px;min-width:0}
.driver-portal-body .te-panel{padding:20px}
.driver-portal-body :is(.te-grid,.dp-stat-grid,.dv-stats){display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}
.driver-portal-body :is(.te-card,.dp-stat-grid article,.dv-stat){padding:16px;min-height:0;overflow-wrap:anywhere}
.driver-portal-body :is(.te-card strong,.dp-stat-grid strong,.dv-stat strong){font:750 24px/1.3 system-ui,sans-serif;margin:6px 0;overflow-wrap:anywhere}
.driver-portal-body .te-card:first-child strong{font-size:20px}
.driver-portal-body :is(.te-form,.dv-fields){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.driver-portal-body :is(.te-field,.dv-field){display:grid;gap:7px;min-width:0;font-size:14px;font-weight:650}
.driver-portal-body :is(.te-field,.dv-field) :is(input,select,textarea){width:100%;min-width:0;max-width:100%;min-height:48px;font:400 16px/1.4 system-ui,sans-serif;padding:11px 12px;border:1px solid #acc4cc;border-radius:10px;background:#fff;color:#123247}
.driver-portal-body .full{grid-column:1/-1}
.driver-portal-body :is(.te-btn,.dv-btn){display:inline-flex;justify-content:center;align-items:center;min-height:46px;max-width:100%;padding:11px 16px;border-radius:10px;font:700 14px/1.4 system-ui,sans-serif;white-space:normal;text-align:center;text-decoration:none}
.driver-portal-body :is(.te-btn.primary,.dv-btn){background:#007c8c;color:#fff;border:1px solid #007c8c}
.driver-portal-body .te-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.driver-portal-body .dp-section-head{margin:22px 0 12px}
.driver-portal-body .dp-empty{padding:20px}
.driver-portal-body .dp-job-list{padding:0}
.driver-portal-body .dp-job-row{padding:18px;min-width:0}
.driver-portal-body .dp-priority{padding:18px}
.driver-portal-body :is(.dp-job-row,.dp-priority)>*{min-width:0;overflow-wrap:anywhere}
.driver-portal-body .dv-hero{grid-template-columns:minmax(0,1fr) auto}
.driver-portal-body .dv-hero-actions{min-width:0}
.driver-portal-body .dv-fleet{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));padding:18px;gap:16px}
.driver-portal-body .dv-vehicle{max-width:480px;width:100%}
.driver-portal-body .dv-head{padding:18px}
.driver-portal-body .dv-form-wrap{padding:18px}
.driver-portal-body .dv-photo{height:180px}
.driver-portal-body .dv-photo img{object-fit:contain;background:#edf3f5}
.driver-portal-body .dv-fields,.driver-portal-body .dv-checks{padding:16px}
.driver-portal-body .dv-submit{padding:16px}
.driver-portal-body :is(img,video){max-width:100%}
.driver-portal-body .driver-photo-preview{width:96px;height:96px;object-fit:cover;border-radius:50%}
.driver-portal-body .vehicle-photo{width:100%;height:160px;object-fit:contain}
.driver-portal-body dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
.driver-portal-body dd{margin:0;text-align:right;font-weight:700}
.driver-portal-body :focus-visible{outline:3px solid #0696a8;outline-offset:3px}
.driver-portal-body :is(input,select,button,a){scroll-margin-top:90px}
.driver-portal-body [id]{scroll-margin-top:90px}
.dm-route{display:grid;gap:16px;margin-bottom:16px;border-left:3px solid #008899;padding-left:16px}
.dm-route small{font-weight:700;color:#516b78}
.driver-portal-body .dm-route h2{font-size:18px!important;margin:3px 0}
.dm-bottom,.dm-close{display:none}.dm-skip{position:fixed;top:-100px;left:16px;z-index:2000;background:white;padding:12px}.dm-skip:focus{top:10px}
.driver-portal-body .dm-offline{background:#fff3d7;color:#5d4100;padding:12px;border-radius:10px;margin-bottom:16px}
/* Public authentication forms retain the site's header/footer. */
.ds-page.dm-register{max-width:960px;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;padding:24px;margin:24px auto}
.dm-register h1{font:750 30px/1.25 system-ui,sans-serif;margin:0 0 8px}
.dm-register .ds-card{padding:24px;border-radius:16px;box-shadow:0 4px 20px #082b4206}
.dm-register .ds-grid{gap:18px 20px;align-items:start}
.dm-register .ds-grid label{margin:0;font-size:14px}
.dm-register .ds-grid input,.dm-register .ds-grid select{margin-top:6px;font-size:16px;min-height:48px}
.dm-register .ds-grid small{display:block;margin-top:6px;color:#516b78;font-size:13px;font-weight:400}
.dm-full{grid-column:1/-1}
.dm-steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:22px 0}
.dm-steps li{font-size:13px;display:flex;align-items:center;gap:8px;min-width:0}
.dm-steps b{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:50%;background:#e3f2f4;color:#006a77}
.dm-fees{background:#eef7f8;border:1px solid #cce2e6;padding:16px;border-radius:12px;font-size:14px}.dm-fees p{margin:8px 0 0}
.dm-privacy{padding:14px;background:#f5f8fa;border-radius:10px;margin:16px 0}.dm-privacy summary{cursor:pointer;font-weight:650;font-size:14px;min-height:30px}
.dm-register .ds-check{display:block;line-height:1.6;font-size:14px;padding-left:30px;position:relative;margin:16px 0}
.dm-register .ds-check input{position:absolute;left:0;top:3px;margin:0}
.dm-register button[type=submit]{width:100%;min-height:50px;font-weight:700}
.dm-register .dm-password-toggle{margin:0;align-self:end;font-size:13px;min-height:44px}
.driver-auth{max-width:600px;margin:32px auto;padding:20px;font:16px/1.6 system-ui,sans-serif;box-sizing:border-box}
.driver-auth *{box-sizing:border-box}.driver-auth-card{background:white;border:1px solid #d5e2e8;border-radius:16px;padding:24px}.driver-auth .te-form{display:grid;gap:18px}.driver-auth input{max-width:100%;width:100%;font-size:16px}
@media(max-width:1000px){.driver-portal-body :is(.te-grid,.dp-stat-grid,.dv-stats){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
body.driver-portal-body{--dp-top:60px;font-size:15px}
.driver-portal-body .dp-topbar{left:0;padding:0 12px;gap:10px}
.driver-portal-body .dp-topbar>div strong{font-size:15px}.driver-portal-body .dp-topbar>div small{display:none}
.driver-portal-body .dp-preferences{gap:4px}.driver-portal-body .dp-preferences select{font-size:12px;max-width:92px;min-height:40px;padding:5px}.driver-portal-body .dp-preferences label span{display:none}
.driver-portal-body .dp-sidebar{width:min(300px,86vw);z-index:1200;visibility:hidden;transform:translateX(-105%);padding-bottom:24px}
.driver-portal-body.driver-menu-open .dp-sidebar{visibility:visible;transform:translateX(0)}
.driver-portal-body.driver-menu-open{overflow:hidden}
.driver-portal-body.driver-menu-open .dp-overlay{z-index:1100}
.dm-close{display:block;align-self:flex-end;min-height:44px;background:transparent;border:0;color:white;font:inherit}
.driver-portal-body .te-page{margin-left:0!important;padding:76px 14px calc(88px + env(safe-area-inset-bottom))!important;min-height:100svh}
.driver-portal-body :is(.te-hero,.dp-hero,.dv-hero){display:block;padding:18px!important;border-radius:14px}
.driver-portal-body h1{font-size:23px!important}.driver-portal-body h2{font-size:19px!important}
.driver-portal-body :is(.dp-hero-actions,.dv-hero-actions){display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.driver-portal-body :is(.te-panel,.te-card){padding:16px}.driver-portal-body .dp-job-list{padding:0}
.driver-portal-body :is(.te-form,.dv-fields,.dv-checks){grid-template-columns:minmax(0,1fr)}
.driver-portal-body :is(.dp-stat-grid article,.dv-stat){padding:12px}
.driver-portal-body :is(.dp-stat-grid strong,.dv-stat strong,.te-card strong){font-size:20px;overflow-wrap:anywhere}
.driver-portal-body :is(.dp-stat-grid small,.dv-stat span){font-size:11px;letter-spacing:0}
.driver-portal-body .dp-stat-grid span{font-size:12px}
.driver-portal-body .dp-priority,.driver-portal-body .dp-job-row{grid-template-columns:minmax(0,1fr);gap:12px}
.driver-portal-body .dp-priority-actions{display:flex;flex-wrap:wrap}
.driver-portal-body .te-actions>*{flex:1 1 140px}
.driver-portal-body .job-save button{min-height:50px}
.driver-portal-body :is(.dv-fleet,.dv-fields,.dv-form-wrap,.dv-checks){padding:12px}
.driver-portal-body .dv-fleet{grid-template-columns:minmax(0,1fr)}
.driver-portal-body .dv-submit{display:block}.driver-portal-body .dv-submit button{width:100%;margin-top:12px}
.dm-bottom{position:fixed;z-index:1000;inset:auto 0 0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:5px 6px calc(5px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #d6e3e8;box-shadow:0 -3px 18px #082b4208}
.dm-bottom a,.dm-bottom button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:54px;padding:4px 2px;color:#526876;background:none;border:0;border-radius:10px;text-decoration:none;font:650 10px/1.3 system-ui,sans-serif;overflow-wrap:anywhere;text-align:center}
.dm-bottom span{font-size:22px;line-height:1.1}.dm-bottom [aria-current=page],.dm-bottom [aria-expanded=true]{background:#e6f4f5;color:#006b7a}
.ds-page.dm-register{padding:16px;margin:16px auto}.dm-register .ds-card{padding:18px}.dm-register .ds-grid{grid-template-columns:minmax(0,1fr);gap:18px}.dm-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
#t09-driver-login{padding:24px 16px!important;min-height:0!important}#t09-driver-login .login-layout{gap:20px!important;grid-template-columns:minmax(0,1fr)!important}#t09-driver-login .intro h1{font-size:28px!important}#t09-driver-login .benefits{display:none}#t09-driver-login .card{padding:22px!important}#t09-driver-login .intro p{margin-bottom:0}
.driver-auth{padding:16px;margin:16px auto}.driver-auth-card{padding:20px}
}
@media(prefers-reduced-motion:reduce){.driver-portal-body *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
