/* Shared full-page navigation. Scoped names avoid the existing tools' header styles. */
.cl-portal-header{font:16px/1.4 Arial,sans-serif;color:#fff;background:#0e2945;border-bottom:3px solid #f28c28;width:100%;position:relative;z-index:40;box-sizing:border-box}
.cl-portal-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px clamp(16px,3vw,48px)}
.cl-portal-brand{display:flex;align-items:center;gap:14px;color:#fff;text-decoration:none;font-weight:700;min-width:0}.cl-portal-brand img{width:104px;height:48px;object-fit:contain;background:white;border-radius:6px}.cl-portal-brand span{overflow-wrap:anywhere}
.cl-navigation{display:flex;flex-wrap:wrap;gap:4px;padding:0 clamp(12px,3vw,44px) 10px}.cl-navigation a{display:flex;align-items:center;min-height:44px;padding:10px 14px;color:#e1ecf5;text-decoration:none;border-radius:6px;font-size:15px;box-sizing:border-box}.cl-navigation a:hover,.cl-navigation a[aria-current]{background:#234f74;color:#fff}.cl-navigation a[aria-current]{box-shadow:inset 0 -3px #f28c28;font-weight:700}
.cl-menu-toggle{display:none;border:1px solid #8196ab;background:transparent;color:white;padding:10px 14px;min-height:44px;font:inherit;border-radius:6px;cursor:pointer}.cl-skip{position:absolute;left:12px;top:-80px;background:#fff;color:#102c4a;padding:12px;z-index:2}.cl-skip:focus{top:8px}.cl-portal-header :focus-visible{outline:3px solid #ffbe6d;outline-offset:2px}
body.portal-page{padding:0;min-height:100dvh}body.portal-page>main,body.portal-page>.wrap{width:100%;max-width:none;box-sizing:border-box;padding:24px clamp(16px,3vw,48px);margin:0}body[data-portal-page=fleet]>main{padding:24px clamp(16px,3vw,48px)}
body[data-portal-page=index] .topbar{height:auto;min-height:64px;flex-wrap:wrap;padding:12px 3vw;gap:12px}body[data-portal-page=index] .tabs{display:flex;flex-wrap:wrap;border-radius:10px}body[data-portal-page=index] .tab{min-height:48px;text-decoration:none}body[data-portal-page=index] .login-screen{overflow:auto;min-height:100dvh}body[data-portal-page=index] .login-card{margin:auto}
.portal-page :is(main,.wrap,.page) :is(input,select,textarea){max-width:100%;min-width:0;box-sizing:border-box}.portal-page :is(main,.wrap) :is(.grid,.fields,.load-body,.record-row,.import-panel)>*{min-width:0}.portal-page dialog{max-height:90dvh;overflow-y:auto}.portal-page :is(.account,.actions,.request-actions){flex-wrap:wrap}.portal-page :is(.record-row,.history-row,.message,.request-row,.load-title h3){overflow-wrap:anywhere}
@media(max-width:760px){
 .cl-menu-toggle{display:block;flex:none}.cl-portal-top{padding:10px 14px;gap:10px}.cl-portal-brand{gap:10px;font-size:14px}.cl-portal-brand img{width:78px;height:40px}.cl-navigation{display:none;padding:4px 12px 12px;gap:4px}.cl-menu-open .cl-navigation{display:grid;grid-template-columns:1fr}.cl-navigation a{min-height:48px}.portal-page :is(button:not(.day),.header-link){min-height:44px}.portal-page :is(input,select,textarea){font-size:16px!important}.portal-page :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select){min-height:44px}.portal-page :is(input[type=checkbox],input[type=radio]){min-width:22px;min-height:22px}
 .portal-page>header{flex-wrap:wrap;gap:12px}.portal-page>header nav{gap:10px}.portal-page :is(.head,.page-head,.review-title,.request-row){display:flex;flex-direction:column;align-items:stretch;gap:12px}.portal-page .load-title{flex-wrap:wrap}.portal-page .load-title h3{flex-basis:65%;min-width:0}.portal-page .load-body{padding:14px}.portal-page .fields{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-page .import-panel{gap:20px;min-width:0}.portal-page .file-drop{padding:14px}.portal-page .file-drop input{width:100%}.portal-page .stops{overflow:visible}
 .cl-responsive-table,.cl-responsive-table tbody,.cl-responsive-table tr,.cl-responsive-table td{display:block;width:100%!important;min-width:0!important}.cl-responsive-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.cl-responsive-table tr{border:1px solid #d1dce6;border-radius:8px;margin:12px 0;padding:8px;background:#f6f9fc}.cl-responsive-table td{display:grid;grid-template-columns:minmax(80px,32%) minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;border:0;padding:6px}.cl-responsive-table td:before{content:attr(data-label);font-weight:700;font-size:14px;color:#526577}.cl-responsive-table td input{width:100%}
 .portal-page .safe{flex-wrap:wrap;justify-content:flex-start}.portal-page .page{width:100%;max-width:none;padding:22px 16px;margin:0;box-sizing:border-box}.portal-page .top-actions{justify-content:flex-start}.portal-page .appbar{position:static}.portal-page .wrap{min-width:0}.portal-page .card{padding:16px;box-sizing:border-box}.portal-page .tire-label{white-space:normal}.portal-page .login-card{padding:24px}.portal-page .sub{display:none}.portal-page .account{gap:8px}.portal-page .account-email{overflow-wrap:anywhere}.portal-page .loads{grid-template-columns:1fr}.portal-page .status{white-space:normal}.portal-page .review-card{padding:16px}
}
@media(max-width:380px){.portal-page .fields{grid-template-columns:1fr}.cl-portal-brand span{max-width:100px}.portal-page .metrics{gap:8px}.portal-page .metrics span{font-size:13px}}
/* Signage keeps its desktop behavior; phone/portal views flow vertically. */
body.portal-display,html:has(body.portal-display){height:auto;overflow:visible}body.portal-display .screen{height:auto;min-height:100dvh;overflow:visible}body.portal-display #loadScroll{overflow:visible;max-height:none}body.portal-display.board .loads{flex:none}body.portal-display.board{height:auto;overflow:visible}body.portal-display.board main{flex:none}
@media(max-width:700px){html:has([data-portal-display]),body[data-portal-display]{height:auto;overflow:visible}body[data-portal-display] .screen{height:auto;min-height:100dvh;overflow:visible}body[data-portal-display] .masthead{padding:20px 16px;gap:16px;flex-wrap:wrap}body[data-portal-display] .load-row{grid-template-columns:1fr!important}body[data-portal-display] .load-cell{padding:14px!important;font-size:18px!important;overflow-wrap:anywhere}body[data-portal-display] #loadScroll{overflow:visible;max-height:none}body[data-portal-display] .table-head{display:none}body[data-portal-display].board{height:auto;overflow:visible}body[data-portal-display].board .loads{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:none!important;flex:none}body[data-portal-display].board .load{--fit:1!important;height:auto}body[data-portal-display].board .summary{flex-wrap:wrap}body[data-portal-display].board main{flex:none}}
@media print{.cl-portal-header{display:none!important}}
.cl-navigation .cl-refresh{font:15px Arial,sans-serif;min-height:44px;padding:10px 14px;border:1px solid #8196ab;border-radius:6px;background:transparent;color:#fff;cursor:pointer;margin:0}
body[data-portal-page=garage] #garageToolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
body[data-portal-page=garage] #garageToolbar :is(#oneDriveStatus,#archiveStatus){flex-basis:100%;margin:0!important}
body[data-portal-page=garage] #garageToolbar #archiveStatus:empty{display:none}
@media screen and (max-width:700px){
 body.portal-page #serviceRequestPage:not(.pdf-capture) table.mobile-stacked{display:block!important;width:100%!important;font-size:16px!important}
 body.portal-page #serviceRequestPage:not(.pdf-capture) table.mobile-stacked thead{display:none!important}
 body.portal-page #serviceRequestPage:not(.pdf-capture) table.mobile-stacked tbody,body.portal-page #serviceRequestPage:not(.pdf-capture) table.mobile-stacked tr{display:block!important;width:100%!important}
 body.portal-page #serviceRequestPage:not(.pdf-capture) table.mobile-stacked td{display:block!important;width:100%!important;min-height:64px!important;height:auto!important;padding:12px!important;font-size:16px!important;border:1px solid #d3dde7!important;margin-top:6px;border-radius:6px}
 body.portal-page #serviceRequestPage:not(.pdf-capture) table.mobile-stacked td:empty{display:none!important}
 body.portal-page #serviceRequestPage:not(.pdf-capture) table.mobile-stacked td:before{content:attr(data-category);display:block;font-size:12px;color:#526577;margin-bottom:6px;font-weight:700}
 body.portal-page #serviceRequestPage:not(.pdf-capture) .check-cell-wrap{display:flex!important;align-items:center;justify-content:space-between;gap:12px;min-height:32px}
 body.portal-page #serviceRequestPage:not(.pdf-capture) .check-cell-wrap span{font-size:16px!important;white-space:normal!important;max-width:none!important}
 body.portal-page #serviceRequestPage:not(.pdf-capture) table.mobile-stacked td input[type=checkbox]{position:static!important;width:26px!important;height:26px!important;flex:none;margin:0!important;transform:none!important}
 body[data-portal-display=dispatch-display] .load-head{display:none}
 body[data-portal-display=dispatch-display] .summary{display:block}
 body[data-portal-display=dispatch-display] .load-cell{flex-direction:column;align-items:stretch;text-align:left;gap:6px;border-right:0}
 body[data-portal-display=dispatch-display] .load-cell:nth-child(2):before{content:'Route / trailer';font-size:13px;color:#526779}
 body[data-portal-display=dispatch-display] .load-cell:nth-child(3):before{content:'Driver';font-size:13px;color:#526779}
 body[data-portal-display=fleet-display] .fleet-card{grid-template-columns:1fr}
 body[data-portal-display=fleet-display] .fleet-card>div:nth-child(3){display:block}
 body[data-portal-display=fleet-display] .fleet-card>div{font-size:16px;padding:12px}
}

[hidden]{display:none!important}
.cl-navigation{align-items:stretch;gap:12px}
.cl-nav-group{display:flex;flex-wrap:wrap;align-content:flex-start;gap:4px;flex:1 1 220px;max-width:520px;border-right:1px solid #ffffff25;padding-right:12px}
.cl-nav-group:last-child{border:0;flex:0 1 240px}
.cl-nav-group-title{flex-basis:100%;font-size:12px;font-weight:700;letter-spacing:.06em;color:#ffbd76;padding:6px 14px;text-transform:uppercase}
.cl-nav-group .cl-refresh{align-self:flex-start}
body[data-portal-page=index] .tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:0;background:none;border:0}
.cl-tool-group{padding:18px;background:white;border:1px solid #dbe3ea;border-radius:12px;min-width:0}
.cl-tool-group h2{margin:0 0 12px;font-size:19px;color:#16395d}
body[data-portal-page=index] .cl-tool-group .tab{display:flex;white-space:normal;padding:14px;margin:6px 0;background:#eaf1f6;text-decoration:none;color:#16395d;font-weight:600}
.account-notifications{color:white;font-size:13px;min-height:44px;display:inline-flex;align-items:center;padding:6px;text-decoration:underline}
#notifications>section{padding:20px;border:1px solid #d4e0e7;border-radius:10px;margin:20px 0}
#notification-topics label{display:flex;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid #e0e7ec}
#notification-topics input{width:24px;height:24px;flex-shrink:0}
#notifications small{display:block;font-size:13px;color:#536975;margin-top:5px}
#notifications button{margin:8px 8px 8px 0}
#notification-updates article{padding:20px 0;border-bottom:1px solid #d4e0e7;overflow-wrap:anywhere}
#notification-updates h3{font-size:17px;margin:8px 0}
#notification-updates p{line-height:1.5;white-space:pre-wrap}
#notification-updates time{font-size:13px;color:#536975}
#notification-updates a{display:inline-block;padding:10px 0;color:#175c97}
@media(max-width:900px){body[data-portal-page=index] .tabs{grid-template-columns:1fr}.cl-nav-group{flex-basis:45%}}
@media(max-width:760px){.cl-navigation .cl-nav-group{display:flex;flex-direction:column;max-width:none;border-right:0;border-bottom:1px solid #ffffff25;padding:0 0 12px}.cl-nav-group-title{flex-basis:auto}.cl-nav-group:last-child{border-bottom:0}.cl-nav-group .cl-refresh{width:100%}#notifications>section{padding:14px}#notifications button{max-width:100%;white-space:normal}.account-notifications{font-size:12px}}

/* Match all heading options to the Management tabs. */
body[data-portal-page=index] .cl-tool-group{display:flex;flex-wrap:wrap;align-content:flex-start;align-items:flex-start;gap:8px}
.cl-tool-group h2{flex-basis:100%;margin-bottom:4px}
:is(.hub-tabs,.cl-navigation .cl-nav-group) :is(a,button),
body[data-portal-page=index] .cl-tool-group .tab{
 display:inline-flex;align-items:center;justify-content:flex-start;box-sizing:border-box;
 min-height:44px;max-width:100%;margin:0;padding:12px;
 border:0;border-radius:7px;background:#e0e8ee;color:#16324e;
 font:700 16px/1.4 Arial,sans-serif;text-align:left;text-decoration:none;
 white-space:normal;overflow-wrap:anywhere;cursor:pointer;box-shadow:none;
}
:is(.hub-tabs,.cl-navigation .cl-nav-group) :is(a,button):hover,
body[data-portal-page=index] .cl-tool-group .tab:hover{background:#cfdeea;color:#16324e}
.hub-tabs button[aria-current=true],
.cl-navigation .cl-nav-group a[aria-current=page],
body[data-portal-page=index] .cl-tool-group .tab[aria-current=page]{background:#17649e;color:white;box-shadow:none}
:is(.hub-tabs,.cl-navigation .cl-nav-group) :is(a,button):focus-visible,
body[data-portal-page=index] .cl-tool-group .tab:focus-visible{outline:3px solid #73b7e8;outline-offset:2px}
.cl-navigation .cl-nav-group{gap:8px}
@media(max-width:760px){
 .cl-navigation .cl-nav-group :is(a,button){min-height:48px}
 body[data-portal-page=index] .cl-tool-group .tab{flex-direction:row;gap:8px;min-height:48px}
}

/* Blue buttons with the portal's orange bottom highlight. */
:is(.hub-tabs,.cl-navigation .cl-nav-group) :is(a,button),
body[data-portal-page=index] .cl-tool-group .tab,
body.portal-page:not([data-portal-page=service-calendar]) :is(button,input[type=submit],input[type=button],a.download),
body[data-portal-page=index] button{
 background:#17649e!important;color:#fff!important;
 box-shadow:inset 0 -3px 0 #f28c28!important;
}
:is(.hub-tabs,.cl-navigation .cl-nav-group) :is(a,button):hover,
body[data-portal-page=index] .cl-tool-group .tab:hover,
body.portal-page:not([data-portal-page=service-calendar]) :is(button,input[type=submit],input[type=button],a.download):hover,
body[data-portal-page=index] button:hover{background:#125487!important;color:#fff!important}
.hub-tabs button[aria-current=true],
.cl-navigation .cl-nav-group a[aria-current=page],
body[data-portal-page=index] .cl-tool-group .tab[aria-current=page]{background:#0e4f82!important;color:#fff!important}

/* Compact, uniform portal buttons. */
:is(.hub-tabs,.cl-navigation .cl-nav-group) :is(a,button),
body[data-portal-page=index] .cl-tool-group .tab,
body.portal-page:not([data-portal-page=service-calendar]) :is(button,input[type=submit],input[type=button],a.download),
body[data-portal-page=index] button{
 display:inline-flex;align-items:center;justify-content:center;
 box-sizing:border-box;width:128px!important;max-width:100%;
 height:44px!important;min-height:44px!important;
 padding:6px 10px!important;margin:0;border-radius:6px!important;
 font:700 12px/15px Arial,sans-serif!important;
 text-align:center!important;white-space:normal;overflow-wrap:anywhere;
 flex:none;
}
.cl-navigation .cl-nav-group,.hub-tabs,body[data-portal-page=index] .cl-tool-group{gap:8px}
@media(max-width:760px){.cl-navigation .cl-nav-group{flex-direction:row}.cl-nav-group-title{flex-basis:100%}}

/* Historical requests occupy the two button spaces below the fleet tools. */
body[data-portal-page=index] .cl-tool-group.cl-fleet-options{
 display:grid;grid-template-columns:repeat(2,minmax(0,128px));gap:8px;align-items:start
}
.cl-tool-group.cl-fleet-options h2{grid-column:1/-1}
body[data-portal-page=index] .cl-fleet-options .tab{width:100%!important}
body[data-portal-page=index] .cl-fleet-options a[data-section=historical-requests],
.cl-navigation .cl-fleet-options a[href^="/historical-requests"]{grid-column:1/-1;width:264px!important;max-width:100%}

/* Keep web navigation visible without a Menu toggle. */
.cl-navigation{display:flex!important}
.cl-tool-group h2{font-size:16px}
.cl-nav-group-title{font-size:11px}

/* Equal section columns and aligned two-column button grids. */
.cl-navigation{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.cl-navigation .cl-nav-group,.cl-navigation .cl-nav-group:last-child{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;
 min-width:0;max-width:none;gap:8px;padding:0 16px 12px 0;border-right:1px solid #ffffff25;box-sizing:border-box;
}
.cl-navigation .cl-nav-group:last-child{border-right-color:transparent}
.cl-nav-group-title{grid-column:1/-1;padding:6px 0}
body.portal-page .cl-navigation .cl-nav-group :is(a,button){width:100%!important}
.cl-navigation .cl-fleet-options a[href^="/historical-requests"]{grid-column:1/-1;width:100%!important}
body[data-portal-page=index] .cl-tool-group,
body[data-portal-page=index] .cl-tool-group.cl-fleet-options{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-content:start;align-items:start;
}
.cl-tool-group h2{grid-column:1/-1;min-height:24px}
body[data-portal-page=index] .cl-tool-group .tab{width:100%!important}
body[data-portal-page=index] .cl-fleet-options a[data-section=historical-requests]{width:100%!important}
@media(max-width:900px){.cl-navigation{grid-template-columns:1fr}.cl-navigation .cl-nav-group,.cl-navigation .cl-nav-group:last-child{padding:0 0 12px;border-right:0}}

/* Smaller tab labels without changing the established layout. */
body.portal-page .cl-navigation .cl-nav-group :is(a,button),
body[data-portal-page=index] .cl-tool-group .tab,
.hub-tabs :is(a,button){font-size:6px!important}

/* Plain option links with regular text, preserving the section layout. */
body.portal-page .cl-navigation .cl-nav-group :is(a,button),
body[data-portal-page=index] .cl-tool-group .tab,
body.portal-page .hub-tabs :is(a,button){
 display:inline;justify-self:start;width:auto!important;max-width:100%;
 height:auto!important;min-height:0!important;padding:4px 0!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
 background:transparent!important;color:#17649e!important;
 font:400 15px/1.5 Arial,sans-serif!important;text-align:left!important;
 text-decoration:underline;white-space:normal;cursor:pointer;
}
body.portal-page .cl-navigation .cl-nav-group :is(a,button){color:#e1ecf5!important}
body.portal-page .cl-navigation .cl-nav-group :is(a,button):hover,
body[data-portal-page=index] .cl-tool-group .tab:hover,
body.portal-page .hub-tabs :is(a,button):hover{background:transparent!important;box-shadow:none!important;text-decoration-thickness:2px}
body.portal-page .cl-navigation .cl-nav-group a[aria-current=page],
body.portal-page .hub-tabs button[aria-current=true],
body[data-portal-page=index] .cl-tool-group .tab[aria-current=page]{background:transparent!important;box-shadow:none!important;font-weight:700!important}

/* Prominent section headings and a continuous orange heading rule. */
.cl-portal-brand{font-size:24px;gap:20px}
.cl-portal-brand img{width:156px;height:72px}
@media(min-width:901px){
 .cl-navigation{column-gap:0;row-gap:16px}
 .cl-navigation .cl-nav-group,.cl-navigation .cl-nav-group:last-child{padding-right:20px}
 .cl-nav-group-title{font-size:20px;line-height:28px;min-height:48px;padding:8px 0 10px;border-bottom:3px solid #f28c28;margin-right:-21px}
 body[data-portal-page=index] .tabs{column-gap:0}
 body[data-portal-page=index] .cl-tool-group{border-radius:0;border-right:0;padding:18px}
 body[data-portal-page=index] .cl-tool-group:last-child{border-right:1px solid #dbe3ea}
 .cl-tool-group h2{font-size:24px;line-height:30px;padding-bottom:12px;border-bottom:3px solid #f28c28;margin-left:-18px;margin-right:-18px;padding-left:18px;min-height:45px}
}
@media(max-width:900px){
 .cl-nav-group-title{font-size:20px;line-height:28px;padding:8px 0 10px;border-bottom:3px solid #f28c28}
 .cl-tool-group h2{font-size:24px;line-height:30px;padding-bottom:12px;border-bottom:3px solid #f28c28}
 .cl-portal-brand{font-size:22px}.cl-portal-brand img{width:130px;height:64px}
}
@media(max-width:380px){.cl-portal-brand span{max-width:none}.cl-portal-brand{font-size:20px;gap:12px}.cl-portal-brand img{width:116px;height:58px}}

/* Management tools remain buttons with a clear selected state. */
body.portal-page[data-portal-page=admin] .hub-tabs button,
body.portal-page[data-portal-page=admin] .hub-tabs button:hover{
 display:inline-flex;align-items:center;justify-content:center;
 width:128px!important;height:44px!important;min-height:44px!important;
 padding:6px 10px!important;border:0!important;border-radius:6px!important;
 background:#17649e!important;color:#fff!important;
 box-shadow:inset 0 -3px 0 #f28c28!important;
 font:700 12px/15px Arial,sans-serif!important;text-align:center!important;
 text-decoration:none!important;
}
body.portal-page[data-portal-page=admin] .hub-tabs button[aria-current=true],
body.portal-page[data-portal-page=admin] .hub-tabs button[aria-current=true]:hover{
 background:#f28c28!important;color:#fff!important;box-shadow:none!important;
}

/* Three equally sized orange section boxes. */
.cl-navigation{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.cl-navigation .cl-nav-group,.cl-navigation .cl-nav-group:last-child{
 border:2px solid #f28c28!important;padding:14px!important;
 min-width:0;max-width:none;align-self:stretch;
}
.cl-nav-group-title{margin:0!important;border:0!important;padding:0 0 10px!important}
body[data-portal-page=index] .tabs{gap:16px}
body[data-portal-page=index] .cl-tool-group,
body[data-portal-page=index] .cl-tool-group:last-child{border:2px solid #f28c28;border-radius:0;padding:18px}
.cl-tool-group h2{border:0;margin-left:0;margin-right:0;padding-left:0}
@media(max-width:900px){.cl-navigation{grid-template-columns:1fr}}

/* Keep the sign-in page clear of signed-in navigation. */
body[data-portal-page=index]:has(#loginScreen:not([hidden]))>.cl-portal-header{display:none}
body[data-portal-page=index] #loginScreen{
 z-index:60;display:flex;align-items:flex-start;justify-content:center;
 overflow-y:auto;padding:24px;min-height:0;
}
body[data-portal-page=index] #loginScreen[hidden]{display:none}
body[data-portal-page=index] #loginScreen .login-card{
 flex:none;width:min(410px,100%);margin:auto;padding:30px;
}
body[data-portal-page=index] #loginScreen .login-logo{width:180px;height:100px;object-fit:contain;margin:0 auto 18px}
body[data-portal-page=index] #loginScreen :is(.login-button,.register-button){
 display:flex;width:100%!important;height:44px!important;
 margin:10px 0 0!important;font-size:14px!important;
}
@media(max-width:560px){body[data-portal-page=index] #loginScreen{padding:16px}body[data-portal-page=index] #loginScreen .login-card{padding:24px}}


.cl-service-reminder{position:fixed;right:20px;bottom:20px;z-index:100;max-width:min(480px,calc(100vw - 40px));padding:20px;background:#fff7e8;color:#193550;border:2px solid #f28c28;border-radius:10px;box-shadow:0 8px 30px #102c4a33;font:15px/1.5 Arial,sans-serif}.cl-service-reminder p{margin:10px 0}.cl-service-reminder a{color:#17649e;text-decoration:underline}.cl-service-reminder button{margin:8px!important}

/* Show the CommerceLink graphic as it appears beside Management. */
.cl-portal-brand img{height:auto;object-fit:contain;background:transparent;border-radius:0}

.cl-account-controls{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-left:auto}.cl-account-controls[hidden]{display:none!important}.cl-account-controls a{color:white;font-size:14px}.cl-account-email{font-size:12px;overflow-wrap:anywhere}.cl-account-controls button{width:128px;min-height:44px;padding:8px 12px;background:#17649e;color:white;border:0;border-radius:6px;box-shadow:inset 0 -3px #f28c28;font:700 12px Arial}.cl-account-controls .cl-refresh{color:white!important;background:#17649e!important;box-shadow:inset 0 -3px #f28c28!important}body[data-portal-page=index] .topbar .account{display:none!important}#registrations{display:none!important}@media(max-width:760px){.cl-portal-top{flex-wrap:wrap}.cl-account-controls{width:100%;margin:0;justify-content:flex-end}.cl-account-email{flex-basis:100%;text-align:right}}
.cl-account-controls a{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:128px;min-height:44px;padding:8px 12px;background:#17649e;color:white;border:0;border-radius:6px;box-shadow:inset 0 -3px #f28c28;font:700 12px Arial;text-align:center;text-decoration:none}.cl-account-controls a:hover{background:#17649e;color:white}

/* Four equal portal sections, with two columns on tablets. */
@media(min-width:1101px){.cl-navigation,body[data-portal-page=index] .tabs{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(min-width:761px) and (max-width:1100px){.cl-navigation,body[data-portal-page=index] .tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.cl-navigation,body[data-portal-page=index] .tabs{grid-template-columns:1fr!important}}

.registration-section{margin-top:28px;padding-top:24px;border-top:2px solid #f28c28}.registration-section h1,.registration-section h2{font-size:22px}
body[data-portal-page=index] .cl-portal-brand img,body[data-portal-page=index] .topbar .brand-logo{display:none!important}

/* Phone and tablet edition. Desktop layouts and printed reports keep their sizing. */
.cl-reading-controls{display:none}
body.portal-page .cl-menu-toggle{display:none!important}
@media screen and (max-width:1100px){
 html{scroll-padding-top:12px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
 body.portal-page{font-size:var(--cl-reading-size,18px);line-height:1.5;min-width:0}
 body.portal-page .cl-portal-top{flex-wrap:wrap;padding:12px 16px;gap:12px}
 body.portal-page .cl-portal-brand{flex:1;min-width:0;font-size:20px;gap:12px}
 body.portal-page .cl-portal-brand img{width:90px;height:52px;flex:none}
 body.portal-page .cl-menu-toggle{display:inline-flex!important;width:auto!important;height:auto!important;min-height:48px!important;padding:12px 18px!important;font-size:18px!important}
 body.portal-page .cl-navigation{display:none!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:12px 16px;gap:12px}
 body.portal-page .cl-menu-open .cl-navigation{display:grid!important}
 body.portal-page .cl-reading-controls{display:flex;align-items:center;gap:10px;font-size:16px;width:100%}
 body.portal-page .cl-reading-controls select{width:auto;color:#193550;border:1px solid #b4c7d8;border-radius:6px;background:white;padding:8px 12px}
 body.portal-page .cl-account-controls{width:100%;margin:0;justify-content:flex-start;gap:10px}
 body.portal-page .cl-account-email{font-size:16px;text-align:left;flex-basis:100%}
 body.portal-page :is(main,.wrap,.page){min-width:0;width:100%;max-width:none;padding-inline:16px;box-sizing:border-box}
 body.portal-page :is(input,select,textarea){font-size:var(--cl-reading-size,18px)!important;line-height:1.5!important}
 body.portal-page :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select){min-height:52px}
 body.portal-page textarea{min-height:120px}
 body.portal-page .fields{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.portal-page :is(td,th,.metrics span,.notes,summary){font-size:var(--cl-reading-size,18px)!important;line-height:1.5}
 body.portal-page :is(p,label,legend,.hint,.subtitle,.meta,.intro,.field,.record-row,.history-row,.message,.request-row,.load-title h3,.account-email,.completion-status,.alert){font-size:var(--cl-reading-size,18px)!important;line-height:1.5;overflow-wrap:anywhere}
 body.portal-page small{font-size:max(16px,calc(var(--cl-reading-size,18px) - 2px))!important}
 body.portal-page :is(button:not(.day),input[type=submit],input[type=button],a.download,.cl-account-controls a),
 body[data-portal-page=index] :is(#loginScreen .login-button,#loginScreen .register-button),
 body.portal-page[data-portal-page=admin] .hub-tabs button{
  font-size:var(--cl-reading-size,18px)!important;line-height:1.4!important;width:auto!important;height:auto!important;min-height:52px!important;padding:12px 16px!important;white-space:normal;overflow-wrap:anywhere
 }
 body.portal-page .cl-navigation .cl-nav-group :is(a,button),body[data-portal-page=index] .cl-tool-group .tab,body.portal-page .hub-tabs :is(a,button){
  display:flex;align-items:center;min-height:52px!important;font-size:var(--cl-reading-size,18px)!important;line-height:1.4!important;padding:10px 6px!important;width:100%!important
 }
 body[data-portal-page=index] #loginScreen :is(.login-button,.register-button){width:100%!important}
 body[data-portal-page=index] .tabs{width:100%;overflow:visible;min-width:0}
 body[data-portal-page=index] .cl-tool-group{min-width:0}
 body.portal-page .cl-nav-group-title{font-size:20px}
 body.portal-page dialog{width:min(960px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:90dvh}
 body.portal-page :is(.actions,.top-actions,.account,.submit-row,.toolbar,.report-actions){flex-wrap:wrap;gap:12px}
 body.portal-page .cl-responsive-table td:before{font-size:16px}
 body.portal-page #serviceRequestPage:not(.pdf-capture) .check-cell-wrap span{font-size:var(--cl-reading-size,18px)!important}
 body.portal-page #serviceRequestPage:not(.pdf-capture) table.mobile-stacked td{font-size:var(--cl-reading-size,18px)!important}
}
@media screen and (max-width:600px){
 body.portal-page .cl-navigation{grid-template-columns:1fr!important}
 body.portal-page :is(.fields,.grid.fields,.import-panel){grid-template-columns:minmax(0,1fr)}
 body.portal-page .cl-portal-brand span{max-width:none}
 body.portal-page :is(.app,.card,.panel,.review-card){min-width:0}
 body.portal-page .share-controls{align-items:stretch}
 body.portal-page a.download{width:100%!important}
}
@media print{.cl-reading-controls,.cl-menu-toggle{display:none!important}}

/* Five portal sections, with one alphabetized link per row. */
body.portal-page .cl-navigation .cl-nav-group,
body[data-portal-page=index] .cl-tool-group,
body[data-portal-page=index] .cl-tool-group.cl-fleet-options{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-content:start;align-items:start;
}
body.portal-page .cl-navigation .cl-nav-group>a,
body[data-portal-page=index] .cl-tool-group>a{
 grid-column:1!important;width:100%!important;min-width:0;white-space:normal;
}
body.portal-page .cl-navigation .cl-nav-group[hidden],
body[data-portal-page=index] .cl-tool-group[hidden],
body.portal-page .cl-navigation .cl-nav-group>a[hidden],
body[data-portal-page=index] .cl-tool-group>a[hidden]{display:none!important}
@media(min-width:1301px){
 body.portal-page .cl-navigation,body[data-portal-page=index] .tabs{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}

/* Compact, evenly sized desktop section boxes. */
.cl-nav-group-title,body[data-portal-page=index] .cl-tool-group h2{
 text-align:center!important;width:100%!important;box-sizing:border-box;
}
@media(min-width:1101px){
 body.portal-page .cl-navigation,body[data-portal-page=index] .tabs{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important;align-items:stretch;
 }
 body.portal-page .cl-navigation .cl-nav-group,
 body.portal-page .cl-navigation .cl-nav-group:last-child,
 body[data-portal-page=index] .cl-tool-group,
 body[data-portal-page=index] .cl-tool-group:last-child{
  padding:12px!important;min-width:0;max-width:none!important;
 }
 body.portal-page .cl-nav-group-title,body[data-portal-page=index] .cl-tool-group h2{
  font-size:18px!important;line-height:1.3!important;margin:0 0 8px!important;padding:0 0 8px!important;min-height:0;
 }
 body.portal-page .cl-navigation .cl-nav-group>a,
 body[data-portal-page=index] .cl-tool-group>a.tab{
  font-size:14px!important;line-height:1.35!important;padding:8px 4px!important;min-height:40px!important;
 }
}


/* Compact groups ordered by link-name length, with aligned title rows. */
body.portal-page .cl-navigation .cl-nav-group,
body.portal-page .cl-navigation .cl-nav-group:last-child,
body[data-portal-page=index] .cl-tool-group,
body[data-portal-page=index] .cl-tool-group:last-child{
 gap:2px!important;row-gap:2px!important;padding:10px!important;
}
body.portal-page .cl-nav-group-title,
body[data-portal-page=index] .cl-tool-group h2{
 display:flex!important;justify-content:center!important;align-items:center!important;
 text-align:center!important;min-height:48px!important;height:48px!important;
 margin:0 0 4px!important;padding:0 4px!important;line-height:1.2!important;
 width:100%!important;align-self:start!important;
}
body.portal-page .cl-navigation .cl-nav-group>a,
body[data-portal-page=index] .cl-tool-group>a.tab{
 margin:0!important;padding:5px 4px!important;min-height:32px!important;line-height:1.25!important;
}
@media(max-width:1100px){
 body.portal-page .cl-navigation .cl-nav-group>a,
 body[data-portal-page=index] .cl-tool-group>a.tab{min-height:44px!important}
}

/* Logout remains inline with the header account controls. */
.cl-permanent-logout{position:static;min-height:44px;padding:10px 18px;background:#173b60;color:white;border:2px solid white;border-radius:7px;font:700 16px Arial;cursor:pointer;box-shadow:0 1px 6px #0004}

/* Reserve the finished header layout while access is being checked. */
.cl-navigation.cl-access-pending a{visibility:hidden!important;pointer-events:none!important}
html:has(body.portal-page){scrollbar-gutter:stable;background:#f3f6f8}
/* Same-origin document navigation retains the previous paint during the handoff. */
@view-transition{navigation:auto}
::view-transition-group(root){animation-duration:120ms;animation-timing-function:ease-out}
::view-transition-old(root),::view-transition-new(root){animation-duration:120ms;animation-timing-function:ease-out}
@media(prefers-reduced-motion:reduce){@view-transition{navigation:none}}
