/* V254: match the retained approved worker and Team references. */
:root{--av254-navy:#0c2744;--av254-gold:#ffda3e;--av254-blue:#e5f2ff;--av254-text:#092442;--av254-muted:#506783}
.portal251,#accounts251,#workerTrip253,#adminTrips253{color:var(--av254-text);background:linear-gradient(125deg,#f4f8fc,#eaf3fa);font-family:Arial,Helvetica,sans-serif}
.p251-brand,#accounts251 .a251-brand,#workerTrip253 .t253-brand,#adminTrips253 .t253-brand{background:linear-gradient(110deg,#102a43,#17354b);min-height:86px;padding:8px 18px}
.p251-brand img,#accounts251 .a251-brand img,#workerTrip253 .t253-brand img,#adminTrips253 .t253-brand img{width:184px;height:70px;mix-blend-mode:lighten}
.portal251 main{margin-top:22px;max-width:560px;padding-bottom:110px}.p251-heading h1{font-size:34px;font-weight:800;letter-spacing:-1px}.p251-heading h2{font-size:21px}.p251-date{font-size:15px;margin-top:8px}.p251-heading .p251-avatar{width:44px;height:44px}
.p251-welcome{padding:18px 12px 12px}.p251-shield{width:142px;height:136px;background:radial-gradient(ellipse,#e5f3ff, #edf7ff);margin-bottom:18px}.p251-shield svg{width:94px;height:94px}.p251-welcome h1{font-size:34px;line-height:1.1;max-width:360px;font-weight:800}.p251-welcome p{font-size:18px;line-height:1.4;max-width:350px;margin:0 auto 12px}
.p251-panel{padding:20px 18px;border-radius:17px;box-shadow:0 4px 14px #173c5510}.p251-panel label{font-size:15px}.p251-field{min-height:46px}.p251-field button{display:grid;place-items:center}.p251-login-options label,.p251-link{font-size:13px}.p251-panel .p251-gold{font-size:19px;min-height:50px;background:linear-gradient(105deg,#ffdf50,#ffd630)!important}.p251-private{font-size:13px}.p251-stats{padding:15px 8px;border:1px solid #e5edf4}.p251-stats strong{font-size:26px}.p251-stats span{font-size:15px}.p251-job{box-shadow:0 5px 16px #15384c08}.p251-job.next{border-color:#e0e7ef}.p251-job header{font-size:14px;padding:10px;background:linear-gradient(100deg,#e8f3ff,#def0ff)}.p251-job-body{padding:12px 8px;grid-template-columns:43% 1fr;gap:12px}.p251-job-body h2{font-size:21px;margin-bottom:9px}.p251-job-body p{font-size:15px;margin:7px 0}.p251-job-body img{height:130px}.p251-state{font-size:12px;padding:5px 12px}.p251-actions>a{font-size:16px;min-height:44px}.p251-next{font-size:11px;padding:4px 11px}.p251-gold{background:linear-gradient(105deg,#ffdf50,#ffd630)!important}.p251-tabs button{font-size:15px}.p251-bottom{border-radius:18px 18px 0 0;box-shadow:0 -3px 12px #10243c05}.p251-bottom button{font-size:13px}.p251-bottom [aria-current=page]{background:#ffdf50}
/* Attention uses the same card, type and icon scale as the job overview. */
.a252-panel{padding:18px;border-radius:17px;box-shadow:0 5px 16px #15384c08}.a252-panel h2{font-size:24px}.a252-eyebrow{font-size:11px}.a252-count{font-size:12px}.a252-icon{width:43px;height:43px;border-radius:12px}.a252-copy h3{font-size:16px}.a252-copy p{font-size:14px}.a252-copy small,.a252-scope{font-size:12px}.a252-copy a{font-size:14px}.a252-row{padding:17px 0}.a252-note{font-size:12px}
/* Worker administration: horizontal summary and full-width account cards. */
#accounts251 .a251-content{padding:20px 14px 105px;max-width:690px}#accounts251 h1{font-size:35px;font-weight:800}.a251-sub{font-size:17px;margin-bottom:18px}.a251-stats{padding:20px 9px;gap:7px}.a251-stats>div{display:grid;grid-template-columns:32px auto;grid-template-rows:auto auto;gap:3px 8px;text-align:left;justify-content:center;align-items:center}.a251-stats svg{grid-row:1/3;width:30px;height:30px}.a251-stats strong{font-size:27px;line-height:1.1}.a251-stats span{font-size:11px;line-height:1.3;max-width:70px}.a251-card{padding:18px 12px;border:0;border-radius:16px;box-shadow:0 6px 18px #15384c09}.a251-avatar{width:54px;height:54px;font-size:19px;background:linear-gradient(120deg,#062642,#173b55)}#accounts251 .a251-card h3{font-size:20px}.a251-card header{gap:11px;flex-wrap:wrap}.a251-card header>div{flex:1;min-width:120px}.a251-status{font-size:12px;padding:7px 10px}.a251-status:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:currentColor;margin-right:6px}#accounts251 .a251-card p{font-size:14px;margin:13px 0}#accounts251 .a251-card header p{font-size:14px}.a251-jobs{padding-left:10px;border-left:1px solid #d4dfeb}#accounts251 .a251-card small{font-size:12px}#accounts251 .a251-actions button{font-size:14px;min-height:46px}.a251-actions{gap:9px}.a251-gold{background:linear-gradient(100deg,#e6bc42,#f2ca45)!important}.a251-private{font-size:14px;background:#e2effc}.a251-title{margin-top:20px}#accounts251 .a251-title h2{font-size:25px}#accounts251 .a251-title button{display:flex;gap:5px;align-items:center;font-size:14px}.a251-tabs{overflow:visible}#accounts251 .a251-tabs button{font-size:12px;padding:12px 5px;border-radius:10px}.a251-tabs [aria-current=page]{background:linear-gradient(100deg,#e5b941,#efc647)!important}.a251-bottom{border-radius:0}#accounts251 .a251-bottom [aria-current=page]{background:white;color:#b68b19;box-shadow:inset 0 -3px #dfb43b;border-radius:0}#accounts251 .a251-access{border:1px solid #dae4ef;scroll-margin-top:16px}.team251-tabs button{font-size:12px;padding:10px 4px}
/* Trip references: rounded surface, prominent type, balanced card heights. */
#workerTrip253 .t253-content,#adminTrips253 .t253-content{padding:20px 14px 105px;max-width:590px;border-radius:18px 18px 0 0;position:relative;background:linear-gradient(135deg,#f0f7ff,#eaf2fa);min-height:calc(100% - 86px)}
#workerTrip253 h1,#adminTrips253 h1{font-size:34px;font-weight:800;margin-bottom:8px}.t253-sub{font-size:17px;margin-bottom:18px}.t253-vehicle{padding:14px 12px;gap:14px;min-height:132px}.t253-vehicle img{height:120px;width:45%}.t253-vehicle h2{font-size:21px;margin:0 0 12px}.t253-vehicle p{font-size:15px}.t253-share{padding:19px 13px;border:0;box-shadow:0 6px 18px #15384c08}.t253-share-title{gap:15px}.t253-share-title>svg{width:37px;height:37px}.t253-share-title h2{font-size:20px}.t253-share-title p{font-size:15px;line-height:1.45;margin-bottom:17px}.t253-share>.t253-gold{font-size:16px!important;min-height:48px!important;background:linear-gradient(100deg,#ffdf4d,#ffd52e)!important}.t253-permission{font-size:13px}.t253-sharing{background:linear-gradient(120deg,#e5f3ff,#e0effd);padding:16px}.t253-sharing strong{font-size:17px}.t253-sharing p,.t253-sharing small{font-size:14px}.t253-sharing button{min-width:150px;border-color:#15334f!important;background:#f7fbff!important;font-size:14px!important}.t253-muted{font-size:12px}.t253-route{padding:13px;gap:10px}.t253-route a,.t253-route button{font-size:14px!important;min-height:44px}.t253-route p,.t253-limit{font-size:13px}.t253-limit{line-height:1.45}.t253-worker-nav,.t253-admin-nav{border-radius:18px 18px 0 0;padding-top:5px}#workerTrip253 .t253-worker-nav button,#workerTrip253 .t253-worker-nav a,#adminTrips253 .t253-admin-nav button{font-size:12px;gap:4px}#workerTrip253 .t253-worker-nav [aria-current=page],#adminTrips253 .t253-admin-nav [aria-current=page]{background:white;color:#96701c}#workerTrip253 .t253-worker-nav [aria-current=page] svg,#adminTrips253 .t253-admin-nav [aria-current=page] svg{background:#ffdf50;border-radius:50%;box-sizing:content-box;padding:5px;margin-top:-5px}.t253-tabs{margin-bottom:16px}#adminTrips253 .t253-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;font-size:14px}.t253-admin-card{border:0;padding:0 10px 10px;box-shadow:0 6px 18px #15384c09}.t253-admin-card>header{padding:16px 2px;gap:13px}.t253-avatar{width:50px;height:50px;font-size:18px;background:linear-gradient(120deg,#062642,#173b55)}.t253-admin-card h2{font-size:19px}.t253-admin-card>header p{font-size:14px}.t253-onway{font-size:11px;padding:7px 9px}.t253-onway:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:currentColor;margin-right:5px}.t253-map-wrap{margin:0;border-radius:12px}.t253-map{height:252px}.t253-map-detail{padding:13px 4px 3px}.t253-map-detail .t253-status{font-size:14px}.t253-map-detail>strong{font-size:16px;margin-left:20px}.t253-map-detail>p:not(.t253-status){font-size:14px}.t253-map-actions>a,#adminTrips253 .t253-map-actions button{font-size:13px!important;min-height:44px}.t253-paused-note{padding:14px;gap:12px}.t253-paused-note strong{font-size:15px}.t253-paused-note p{font-size:13px}.t253-private{font-size:13px}.t253-map-note{font-size:10px}
@media(max-width:380px){.a251-stats>div{grid-template-columns:24px auto;gap:3px 5px}.a251-stats svg{width:23px}.a251-stats span{font-size:10px}.a251-status{font-size:10px}.a251-avatar{width:43px;height:43px}#accounts251 .a251-card h3{font-size:17px}.t253-admin-card h2{font-size:16px}.t253-admin-card>header p{font-size:12px}.t253-onway{font-size:10px}.t253-avatar{width:42px;height:42px}.t253-vehicle h2{font-size:19px}.t253-vehicle p{font-size:13px}.t253-share-title h2{font-size:18px}.t253-share-title p{font-size:14px}.p251-job-body h2{font-size:18px}.p251-job-body p{font-size:13px}}

.p254-signed-in .p251-brand{justify-content:space-between}.p254-signed-in .p251-brand img{width:190px}.p254-signed-in #portal251Signout{width:44px;height:44px;min-width:44px;min-height:44px;border-radius:50%;background:#e7f2ff;color:#0b2644;border:0;font-weight:700;font-size:17px}.p254-signed-in .p251-heading .p251-avatar{display:none}#accounts251 .a254-refresh{display:block;border:0;background:transparent;margin:16px auto;color:#2065a7;font-size:13px}
