/* Aigle Royal Transport portal UI — black/gold, compact, responsive. */
:root{--ar-black:#090909;--ar-gold:#b88b20;--ar-gold2:#d4aa43;--ar-bg:#f3f4f6;--ar-card:#fff;--ar-text:#171717;--ar-muted:#666b70;--ar-line:#e1e3e6}
body.portal-page{margin:0!important;background:var(--ar-bg)!important;color:var(--ar-text)!important;font-family:'Fira Sans',Arial,sans-serif!important;line-height:1.5!important;overflow-x:hidden!important}
body.portal-page *,body.portal-page *:before,body.portal-page *:after{box-sizing:border-box}
body.portal-page .site-header{position:relative!important;z-index:5000!important;background:var(--ar-black)!important;border-bottom:1px solid rgba(184,139,32,.42)!important}
body.portal-page .navbar{width:100%!important;max-width:1380px!important;min-height:74px!important;margin:0 auto!important;padding:8px 22px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important}
body.portal-page .brand{display:flex!important;align-items:center!important;flex:0 0 auto!important;text-decoration:none!important}
body.portal-page .brand img{display:block!important;width:160px!important;max-height:55px!important;height:auto!important;object-fit:contain!important}
body.portal-page .menu-links{display:flex!important;align-items:center!important;gap:3px!important;margin:0!important;padding:0!important;list-style:none!important;flex-wrap:nowrap!important}
body.portal-page .menu-links>li{position:relative!important;margin:0!important;padding:0!important}
body.portal-page .menu-links>li>a{display:flex!important;align-items:center!important;color:#f4f4f4!important;text-decoration:none!important;font-size:13px!important;font-weight:600!important;line-height:1.2!important;padding:9px 7px!important;white-space:nowrap!important;border-radius:5px!important}
body.portal-page .menu-links>li>a:hover,body.portal-page .menu-links>li>a:focus{color:var(--ar-gold2)!important;background:#151515!important}
body.portal-page .join-btn a{border:1px solid var(--ar-gold)!important;color:var(--ar-gold2)!important;padding:9px 12px!important}
body.portal-page .dropdown-menu{display:none!important;position:absolute!important;top:calc(100% + 5px)!important;left:0!important;min-width:220px!important;margin:0!important;padding:7px!important;list-style:none!important;background:#111!important;border:1px solid rgba(184,139,32,.38)!important;border-radius:7px!important;box-shadow:0 16px 36px rgba(0,0,0,.35)!important;z-index:6000!important}
body.portal-page .dropdown:hover>.dropdown-menu,body.portal-page .dropdown:focus-within>.dropdown-menu,body.portal-page .dropdown.open>.dropdown-menu{display:block!important}
body.portal-page .dropdown-menu a{display:block!important;padding:9px 10px!important;color:#eee!important;text-decoration:none!important;font-size:13px!important;border-radius:4px!important}
body.portal-page .dropdown-menu a:hover{background:#1d1d1d!important;color:var(--ar-gold2)!important}
body.portal-page .menu-toggle,body.portal-page .menu-close{display:none!important;visibility:hidden!important;background:transparent!important;border:0!important;color:#fff!important;cursor:pointer!important}
body.portal-page .overlay{display:none!important}
body.portal-page .portal-main{width:100%!important;min-height:calc(100vh - 160px)!important;margin:0!important;padding:36px 24px 56px!important;background:var(--ar-bg)!important}
body.portal-page .portal-container,body.portal-page .portal-section{width:100%!important;max-width:1220px!important;margin:0 auto!important}
body.portal-page .page-intro{margin:0!important}
body.portal-page .eyebrow{display:inline-block!important;margin:0 0 6px!important;color:#876615!important;font-size:11px!important;font-weight:700!important;letter-spacing:.12em!important}
body.portal-page h1{margin:0 0 8px!important;color:#111!important;font-size:clamp(1.7rem,2.6vw,2.25rem)!important;line-height:1.13!important}
body.portal-page h2{margin:0 0 10px!important;color:#111!important;font-size:1.2rem!important;line-height:1.25!important}
body.portal-page h3{margin:0 0 7px!important;color:#171717!important;font-size:1rem!important}
body.portal-page p{margin:0 0 11px!important;color:var(--ar-muted)!important}
body.portal-page a{color:#795b12}
body.portal-page .dashboard-topbar{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:22px!important;margin:0 0 20px!important;padding:0 0 18px!important;border-bottom:1px solid #dddfe2!important}
body.portal-page .dashboard-quick-actions,body.portal-page .portal-actions,body.portal-page .footer-actions{display:flex!important;gap:9px!important;flex-wrap:wrap!important}
body.portal-page .portal-btn,body.portal-page .btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:39px!important;padding:9px 14px!important;border-radius:6px!important;border:1px solid #111!important;background:#111!important;color:#fff!important;text-decoration:none!important;font-size:13px!important;font-weight:650!important;cursor:pointer!important}
body.portal-page .portal-btn:hover,body.portal-page .btn:hover{background:var(--ar-gold)!important;border-color:var(--ar-gold)!important;color:#fff!important}
body.portal-page .portal-btn-outline{background:#fff!important;color:#222!important;border-color:#c9cdd1!important}
body.portal-page .portal-btn-small{min-height:33px!important;padding:6px 10px!important;font-size:12px!important}
body.portal-page .portal-card,body.portal-page .dashboard-panel,body.portal-page .dashboard-kpi,body.portal-page .auth-card{background:var(--ar-card)!important;color:var(--ar-text)!important;border:1px solid var(--ar-line)!important;border-radius:9px!important;box-shadow:0 5px 18px rgba(0,0,0,.05)!important}
body.portal-page .portal-card,body.portal-page .dashboard-panel{padding:20px!important;margin:0 0 18px!important}
body.portal-page .auth-card{max-width:540px!important;margin:12px auto!important;padding:26px!important}
body.portal-page .dashboard-kpis,body.portal-page .portal-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:0 0 18px!important}
body.portal-page .dashboard-kpi{padding:17px!important}
body.portal-page .dashboard-kpi span{display:block!important;color:#696d72!important;font-size:12px!important;font-weight:600!important}
body.portal-page .dashboard-kpi strong,body.portal-page .metric{display:block!important;margin:5px 0 3px!important;color:#111!important;font-size:1.65rem!important;line-height:1.1!important}
body.portal-page .metric.small{font-size:1.1rem!important}
body.portal-page .dashboard-kpi small{color:#898d91!important;font-size:11px!important}
body.portal-page .dashboard-main-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 310px!important;gap:18px!important;align-items:start!important}
body.portal-page .dashboard-side{display:grid!important;gap:0!important}
body.portal-page .dashboard-panel-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin-bottom:12px!important}
body.portal-page .dashboard-link-list a{display:flex!important;justify-content:space-between!important;align-items:center!important;padding:10px 0!important;border-bottom:1px solid #eceef0!important;text-decoration:none!important;color:#2e3033!important;font-size:13px!important}
body.portal-page .dashboard-link-list a:last-child{border-bottom:0!important}
body.portal-page .detail-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 20px!important;margin:10px 0!important}
body.portal-page .detail-grid>div{padding:10px 0!important;border-bottom:1px solid #eee!important}
body.portal-page .detail-grid span{display:block!important;color:#777!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.05em!important}
body.portal-page .detail-grid strong{display:block!important;margin-top:3px!important;color:#222!important;font-size:14px!important}
body.portal-page .portal-table-wrap{width:100%!important;overflow-x:auto!important;background:#fff!important;border:1px solid #e3e5e8!important;border-radius:7px!important}
body.portal-page .portal-table,body.portal-page .table-wrap table{width:100%!important;min-width:680px!important;border-collapse:collapse!important;margin:0!important;background:#fff!important;font-size:12.5px!important}
body.portal-page .portal-table th,body.portal-page .table-wrap th{padding:10px 12px!important;background:#111!important;color:#fff!important;text-align:left!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.04em!important;white-space:nowrap!important}
body.portal-page .portal-table td,body.portal-page .table-wrap td{padding:11px 12px!important;border-bottom:1px solid #eceef0!important;background:#fff!important;color:#25282b!important;vertical-align:top!important}
body.portal-page .portal-table tr:last-child td{border-bottom:0!important}
body.portal-page .portal-status{display:inline-flex!important;align-items:center!important;padding:4px 8px!important;border-radius:999px!important;background:#f0eee7!important;color:#5f4a13!important;font-size:11px!important;font-weight:700!important;white-space:nowrap!important}
body.portal-page .portal-form{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;box-shadow:none!important}
body.portal-page .form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px 16px!important;margin-bottom:13px!important}
body.portal-page .portal-form label{display:block!important;margin:0 0 11px!important;color:#303236!important;font-size:12px!important;font-weight:650!important}
body.portal-page .portal-form input,body.portal-page .portal-form select,body.portal-page .portal-form textarea,body.portal-page .inline-admin-form input,body.portal-page .inline-admin-form select,body.portal-page .dispatch-form input,body.portal-page .dispatch-form select{width:100%!important;min-height:40px!important;margin-top:5px!important;padding:9px 10px!important;border:1px solid #cfd3d7!important;border-radius:5px!important;background:#fff!important;color:#111!important;font:inherit!important;font-size:13px!important}
body.portal-page .portal-form textarea{min-height:100px!important;resize:vertical!important}
body.portal-page .inline-admin-form{display:grid!important;grid-template-columns:minmax(90px,1fr) minmax(100px,1fr) auto!important;gap:6px!important;align-items:end!important;min-width:260px!important}
body.portal-page .inline-admin-form input,body.portal-page .inline-admin-form select{margin:0!important;min-height:34px!important;padding:6px 8px!important;font-size:12px!important}
body.portal-page .dispatch-form{display:grid!important;grid-template-columns:1.2fr 1.2fr 1fr 1.3fr auto!important;gap:6px!important;align-items:end!important;min-width:650px!important}
body.portal-page .dispatch-form input,body.portal-page .dispatch-form select{margin:0!important;min-height:34px!important;padding:6px 8px!important;font-size:12px!important}
body.portal-page .portal-alert{margin:0 0 16px!important;padding:11px 13px!important;border-radius:6px!important;background:#fff4d8!important;border:1px solid #e7c86a!important;color:#5b4712!important;font-size:13px!important}
body.portal-page .portal-alert.success{background:#edf8ef!important;border-color:#aad4b0!important;color:#285d31!important}
body.portal-page .portal-alert.error{background:#fff0f0!important;border-color:#e7b4b4!important;color:#8b2828!important}
body.portal-page .empty-state{padding:22px!important;text-align:center!important;color:#777!important}
body.portal-page .timeline{display:grid!important;gap:12px!important}
body.portal-page .timeline-item{position:relative!important;padding:0 0 12px 18px!important;border-left:2px solid #d7bd78!important}
body.portal-page .timeline-item:before{content:'';position:absolute;left:-6px;top:3px;width:10px;height:10px;border-radius:50%;background:var(--ar-gold)}
body.portal-page .timeline-item strong,body.portal-page .timeline-item span,body.portal-page .timeline-item small{display:block!important}
body.portal-page .timeline-item span,body.portal-page .timeline-item small{color:#777!important;font-size:12px!important}
body.portal-page .notification-list{display:grid!important;gap:12px!important}
body.portal-page .notification-item{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:20px!important;margin:0!important}
body.portal-page .notification-item.is-unread{border-left:4px solid var(--ar-gold)!important}
body.portal-page .footer{margin:0!important;background:#090909!important;color:#bbb!important;border-top:1px solid rgba(184,139,32,.35)!important}
body.portal-page .footer-container{max-width:1220px!important;margin:0 auto!important;padding:34px 24px 17px!important}
body.portal-page .footer-row{display:grid!important;grid-template-columns:1.45fr repeat(4,minmax(0,1fr))!important;gap:28px!important}
body.portal-page .footer-col h4{margin:0 0 10px!important;color:var(--ar-gold2)!important;font-size:12px!important;letter-spacing:.08em!important;text-transform:uppercase!important}
body.portal-page .footer-brand h4{color:#fff!important;font-size:16px!important;letter-spacing:0!important;text-transform:none!important}
body.portal-page .footer-col p,body.portal-page .footer-col a{color:#aeb1b4!important;font-size:12px!important;line-height:1.6!important}
body.portal-page .footer-col ul{margin:0!important;padding:0!important;list-style:none!important}
body.portal-page .footer-col li{margin:0!important;padding:0!important}
body.portal-page .footer-col a{display:block!important;padding:2px 0!important;text-decoration:none!important}
body.portal-page .footer-col a:hover{color:var(--ar-gold2)!important}
body.portal-page .footer-actions a{display:inline-flex!important;padding:7px 10px!important;border:1px solid var(--ar-gold)!important;border-radius:5px!important;color:var(--ar-gold2)!important;text-decoration:none!important}
body.portal-page .footer-bottom{display:flex!important;justify-content:space-between!important;gap:20px!important;margin-top:24px!important;padding-top:14px!important;border-top:1px solid rgba(255,255,255,.09)!important}
body.portal-page .footer-bottom p{margin:0!important;color:#7f8386!important;font-size:11px!important}
@media(min-width:851px){body.portal-page #hamburger-btn,body.portal-page #close-menu-btn,body.portal-page .menu-toggle,body.portal-page .menu-close{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}body.portal-page .overlay{display:none!important}body.portal-page .menu-links{position:static!important;transform:none!important;visibility:visible!important;opacity:1!important;height:auto!important;width:auto!important;background:transparent!important}}
@media(max-width:1100px) and (min-width:851px){body.portal-page .navbar{padding:8px 14px!important;gap:6px!important}body.portal-page .brand img{width:142px!important}body.portal-page .menu-links>li>a{font-size:11px!important;padding:8px 4px!important}body.portal-page .dashboard-kpis,body.portal-page .portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.portal-page .dashboard-main-grid{grid-template-columns:1fr!important}body.portal-page .footer-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:850px){body.portal-page .navbar{min-height:68px!important;padding:7px 16px!important}body.portal-page .brand img{width:145px!important;max-height:50px!important}body.portal-page #hamburger-btn,body.portal-page .menu-toggle{display:inline-flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;margin-left:auto!important;font-size:31px!important}body.portal-page #close-menu-btn,body.portal-page .menu-close{display:none!important;visibility:visible!important;opacity:1!important;position:fixed!important;top:17px!important;right:18px!important;z-index:7002!important;font-size:31px!important}body.portal-page .site-header.menu-open #close-menu-btn,body.portal-page .site-header.menu-open .menu-close{display:inline-flex!important}body.portal-page .menu-links{position:fixed!important;top:0!important;right:-100%!important;width:min(88vw,360px)!important;height:100vh!important;z-index:7000!important;display:block!important;padding:76px 18px 30px!important;overflow-y:auto!important;background:#0b0b0b!important;transition:right .25s ease!important;box-shadow:-12px 0 35px rgba(0,0,0,.35)!important}body.portal-page .site-header.menu-open .menu-links{right:0!important}body.portal-page .menu-links>li>a{padding:12px 8px!important;font-size:14px!important;border-bottom:1px solid rgba(255,255,255,.07)!important}body.portal-page .dropdown-menu{position:static!important;display:none!important;min-width:0!important;margin:0!important;padding:5px 0 8px 13px!important;border:0!important;border-left:2px solid var(--ar-gold)!important;border-radius:0!important;box-shadow:none!important;background:#101010!important}body.portal-page .dropdown.open>.dropdown-menu{display:block!important}body.portal-page .dropdown:hover>.dropdown-menu:not(.force-open){display:none!important}body.portal-page .overlay{position:fixed!important;inset:0!important;z-index:6900!important;background:rgba(0,0,0,.55)!important}body.portal-page .site-header.menu-open .overlay{display:block!important}body.portal-page .portal-main{padding:26px 16px 44px!important}body.portal-page .dashboard-topbar{display:block!important}body.portal-page .dashboard-quick-actions{margin-top:14px!important}body.portal-page .dashboard-kpis,body.portal-page .portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.portal-page .dashboard-main-grid{grid-template-columns:1fr!important}body.portal-page .form-grid{grid-template-columns:1fr!important}body.portal-page .inline-admin-form{grid-template-columns:1fr!important;min-width:180px!important}body.portal-page .dispatch-form{grid-template-columns:1fr 1fr!important;min-width:500px!important}body.portal-page .footer-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){body.portal-page .portal-main{padding:22px 12px 38px!important}body.portal-page .dashboard-kpis,body.portal-page .portal-grid{grid-template-columns:1fr!important}body.portal-page .dashboard-quick-actions{display:grid!important;grid-template-columns:1fr!important}body.portal-page .portal-card,body.portal-page .dashboard-panel,body.portal-page .auth-card{padding:16px!important}body.portal-page .detail-grid{grid-template-columns:1fr!important}body.portal-page .notification-item{display:block!important}body.portal-page .notification-item .portal-btn{margin-top:10px!important}body.portal-page .footer-container{padding:28px 16px 15px!important}body.portal-page .footer-row{grid-template-columns:1fr!important;gap:18px!important}body.portal-page .footer-bottom{display:block!important}body.portal-page .footer-bottom p{margin-bottom:5px!important}}


/* 2026-08-31 FINAL NAVIGATION + DASHBOARD FIX */
@media (min-width:851px){
.site-header .menu-toggle,.site-header .menu-close,#hamburger-btn,#close-menu-btn{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
.navbar .dropdown-menu,body.portal-page .dropdown-menu{top:100%!important;margin-top:0!important}
.navbar .dropdown:hover>.dropdown-menu,.navbar .dropdown:focus-within>.dropdown-menu,body.portal-page .dropdown:hover>.dropdown-menu,body.portal-page .dropdown:focus-within>.dropdown-menu{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
.navbar .dropdown:after{content:"";position:absolute;left:0;right:0;top:100%;height:8px}
body.portal-page .mega-admin{right:0!important;left:auto!important;max-height:72vh!important;overflow:auto!important;min-width:260px!important}
}
@media (max-width:850px){
.site-header .menu-toggle,#hamburger-btn{display:inline-flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;align-items:center!important;justify-content:center!important}
.site-header .menu-close,#close-menu-btn{display:none!important;visibility:hidden!important}
.site-header.menu-open .menu-close,.site-header.menu-open #close-menu-btn,.site-header.show-mobile-menu .menu-close,.site-header.show-mobile-menu #close-menu-btn{display:inline-flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;align-items:center!important;justify-content:center!important}
.navbar .dropdown-menu{display:none!important;position:static!important;margin:0!important;visibility:visible!important;opacity:1!important;transform:none!important}
.navbar .dropdown.open>.dropdown-menu{display:block!important}
.navbar .dropdown:hover>.dropdown-menu{display:none!important}
.navbar .dropdown.open:hover>.dropdown-menu{display:block!important}
}
.dashboard-menu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0 0}
.dashboard-menu-grid>a{display:flex;flex-direction:column;gap:5px;min-height:104px;padding:18px;background:#fff;border:1px solid #e1e3e6;border-top:3px solid #b88b20;border-radius:8px;text-decoration:none!important;box-shadow:0 4px 14px rgba(0,0,0,.04)}
.dashboard-menu-grid>a:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(0,0,0,.08)}
.dashboard-menu-grid b{color:#171717;font-size:15px}.dashboard-menu-grid span{color:#686d72;font-size:12px;line-height:1.45}
@media(max-width:850px){.dashboard-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.dashboard-menu-grid{grid-template-columns:1fr}}

/* 2026-08-31 PROFESSIONAL CONTROL CENTRE DASHBOARDS */
body.portal-page .control-dashboard .dashboard-kpi{position:relative;overflow:hidden}
body.portal-page .control-dashboard .dashboard-kpi:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:#b88b20}
body.portal-page .control-dashboard .dashboard-kpi.warning:after{background:#c38719}
body.portal-page .control-dashboard .dashboard-kpi.danger:after{background:#9b2c2c}
body.portal-page .control-dashboard .dashboard-kpi.warning strong{color:#8a5d0a!important}
body.portal-page .control-dashboard .dashboard-kpi.danger strong{color:#8e2626!important}
body.portal-page .control-dashboard .portal-table small{color:#777;font-size:11px}
body.portal-page .control-dashboard .dashboard-link-list{display:grid;gap:4px}
body.portal-page .control-dashboard .dashboard-link-list a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #eceef0;text-decoration:none!important;color:#202224!important;font-size:13px;font-weight:600}
body.portal-page .control-dashboard .dashboard-link-list a:last-child{border-bottom:0}
body.portal-page .control-dashboard .dashboard-link-list a b{color:#b88b20;font-size:17px}
body.portal-page .control-dashboard .dashboard-menu-grid>a{transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
body.portal-page .control-dashboard .dashboard-menu-grid>a:hover{border-color:#d8c184;transform:translateY(-2px)}
@media(max-width:700px){body.portal-page .control-dashboard .portal-table{min-width:760px}}

/* Fuel / trip forms - visibility + responsive layout fix */
body.portal-page .portal-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 16px!important;align-items:start!important;margin-top:16px!important}
body.portal-page .portal-form-grid label{display:flex!important;flex-direction:column!important;gap:7px!important;color:#f7f7f7!important;font-weight:600!important;font-size:.93rem!important;min-width:0!important}
body.portal-page .portal-form-grid input,body.portal-page .portal-form-grid select,body.portal-page .portal-form-grid textarea{display:block!important;width:100%!important;min-height:44px!important;box-sizing:border-box!important;background:#111!important;color:#fff!important;border:1px solid rgba(184,139,32,.55)!important;border-radius:7px!important;padding:10px 12px!important;font:inherit!important;opacity:1!important;visibility:visible!important}
body.portal-page .portal-form-grid textarea{min-height:92px!important;resize:vertical!important}
body.portal-page .portal-form-grid input::placeholder,body.portal-page .portal-form-grid textarea::placeholder{color:#aaa!important;opacity:1!important}
body.portal-page .portal-form-grid select option{background:#111!important;color:#fff!important}
body.portal-page .portal-form-grid .portal-field-full{grid-column:1/-1!important}
body.portal-page .portal-form-grid .checkbox-row{display:flex!important;flex-direction:row!important;align-items:center!important;gap:9px!important;min-height:44px!important}
body.portal-page .portal-form-grid .checkbox-row input{width:18px!important;height:18px!important;min-height:0!important;flex:0 0 auto!important}
body.portal-page .fuel-trip-entry-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important;margin:20px 0!important}
body.portal-page .fuel-trip-entry-grid>.portal-card{margin:0!important}
body.portal-page .form-section-title{margin:0 0 4px!important;color:#fff!important;font-size:1.2rem!important}
@media(max-width:980px){body.portal-page .fuel-trip-entry-grid{grid-template-columns:1fr!important}}
@media(max-width:680px){body.portal-page .portal-form-grid{grid-template-columns:1fr!important}body.portal-page .portal-form-grid .portal-field-full{grid-column:auto!important}}

/* 2026-08-31 Trip Profit & Cost Dashboard */
body.portal-page .trip-profit-filters{margin-bottom:18px!important}
body.portal-page .trip-profit-filters .form-grid{align-items:end!important}
body.portal-page .trip-filter-actions{display:flex!important;gap:9px!important;align-items:center!important;min-height:44px!important;flex-wrap:wrap!important}
body.portal-page .trip-profit-table{min-width:1260px!important}
body.portal-page .profit-positive{color:#1f7a45!important}
body.portal-page .profit-negative{color:#b3261e!important}
body.portal-page .trip-detail-card{margin-top:20px!important}
body.portal-page .trip-detail-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:16px 0 20px!important}
body.portal-page .trip-detail-kpis>div{padding:15px!important;border:1px solid #e0e2e5!important;border-top:3px solid #b88b20!important;border-radius:8px!important;background:#fff!important;display:flex!important;flex-direction:column!important;gap:5px!important}
body.portal-page .trip-detail-kpis span{font-size:11px!important;text-transform:uppercase!important;letter-spacing:.06em!important;color:#777!important}
body.portal-page .trip-detail-kpis strong{font-size:20px!important;color:#171717!important}
body.portal-page .trip-detail-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;margin-bottom:18px!important}
body.portal-page .trip-detail-grid>div{min-width:0!important}
body.portal-page .trip-detail-grid h3,body.portal-page .trip-detail-card h3{margin:0 0 10px!important;color:#171717!important;font-size:16px!important}
body.portal-page .trip-detail-actions{margin-top:18px!important}
@media(max-width:850px){body.portal-page .trip-detail-grid{grid-template-columns:1fr!important}body.portal-page .trip-detail-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){body.portal-page .trip-detail-kpis{grid-template-columns:1fr!important}}


/* ADMIN CONTROL CENTRE CATEGORIES */
.admin-control-centre{max-width:1500px;margin:0 auto}
.control-today-heading{display:flex;justify-content:space-between;align-items:end;gap:18px;margin:30px 0 14px}
.control-today-heading h2{margin:2px 0 0}
.control-today-heading small{opacity:.72}
.control-alert-strip{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px 16px;margin:18px 0 28px;border:1px solid rgba(184,139,32,.35);border-radius:14px;background:rgba(184,139,32,.07)}
.control-alert-strip a{display:inline-block;padding:7px 10px;border:1px solid rgba(184,139,32,.3);border-radius:999px;text-decoration:none}
.admin-category-grid,.control-category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.admin-category-card,.control-category-action{position:relative;display:flex;flex-direction:column;min-height:145px;padding:20px;border:1px solid rgba(255,255,255,.12);border-radius:16px;text-decoration:none;background:rgba(255,255,255,.035);transition:transform .18s ease,border-color .18s ease,background .18s ease}
.admin-category-card:hover,.control-category-action:hover{transform:translateY(-2px);border-color:#b88b20;background:rgba(184,139,32,.08)}
.admin-category-card strong,.control-category-action strong{font-size:1.02rem;margin-top:auto}
.admin-category-card small,.control-category-action small{display:block;margin-top:7px;line-height:1.45;opacity:.74}
.admin-category-number{font-size:.78rem;letter-spacing:.14em;opacity:.58}
.admin-category-open,.control-category-arrow{position:absolute;right:18px;top:16px;font-size:1.25rem}
.control-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.control-category-action{min-height:135px}
.control-category-footer{margin-top:18px}
.control-category-footer span{margin:0 7px;opacity:.5}
.control-recent-card{margin-top:28px}
@media(max-width:1150px){.admin-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.control-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.admin-category-grid,.control-category-grid{grid-template-columns:1fr}.admin-category-card,.control-category-action{min-height:118px}.control-today-heading{align-items:start;flex-direction:column}.control-alert-strip{align-items:flex-start}}


/* ADMIN LEFT SIDEBAR */
body.portal-page.admin-layout{--admin-side-width:270px}
body.portal-page.admin-layout .admin-sidebar{
 position:fixed;left:0;top:74px;bottom:0;width:var(--admin-side-width);z-index:4200;
 display:flex;flex-direction:column;background:#0d0d0d;color:#fff;border-right:1px solid rgba(184,139,32,.35);
 box-shadow:8px 0 24px rgba(0,0,0,.12);overflow-y:auto
}
body.portal-page.admin-layout .admin-sidebar-head{
 min-height:72px;padding:15px 14px 12px 18px;display:flex;align-items:center;justify-content:space-between;
 border-bottom:1px solid rgba(255,255,255,.08)
}
body.portal-page.admin-layout .admin-sidebar-brand{display:flex;flex-direction:column;text-decoration:none!important;color:#fff!important}
body.portal-page.admin-layout .admin-sidebar-brand strong{font-size:.92rem;letter-spacing:.08em;color:#d4aa43}
body.portal-page.admin-layout .admin-sidebar-brand small{font-size:.72rem;color:#aaa;margin-top:2px}
body.portal-page.admin-layout .admin-sidebar-close{display:none;background:transparent;border:0;color:#fff;cursor:pointer;padding:5px}
body.portal-page.admin-layout .admin-sidebar-nav{padding:10px 9px 18px;display:flex;flex-direction:column;gap:3px}
body.portal-page.admin-layout .admin-sidebar-nav>a,
body.portal-page.admin-layout .admin-sidebar-foot>a{
 display:flex;align-items:center;gap:11px;min-height:42px;padding:9px 10px;border-radius:7px;
 color:#e9e9e9!important;text-decoration:none!important;font-size:.84rem;font-weight:600
}
body.portal-page.admin-layout .admin-sidebar-nav>a:hover,
body.portal-page.admin-layout .admin-sidebar-foot>a:hover{background:#191919;color:#d4aa43!important}
body.portal-page.admin-layout .admin-sidebar-nav .material-symbols-outlined,
body.portal-page.admin-layout .admin-sidebar-foot .material-symbols-outlined{font-size:19px;color:#b88b20}
body.portal-page.admin-layout .admin-side-label{
 padding:13px 10px 5px;color:#7f7f7f;font-size:.66rem;font-weight:700;letter-spacing:.12em
}
body.portal-page.admin-layout .admin-sidebar-foot{margin-top:auto;padding:10px 9px 16px;border-top:1px solid rgba(255,255,255,.08)}
body.portal-page.admin-layout .portal-main{margin-left:var(--admin-side-width)!important;width:calc(100% - var(--admin-side-width))!important}
body.portal-page.admin-layout .portal-footer{margin-left:var(--admin-side-width);width:calc(100% - var(--admin-side-width))}
body.portal-page.admin-layout .admin-sidebar-toggle{display:none}
body.portal-page.admin-layout .admin-sidebar-overlay{display:none}
@media(max-width:850px){
 body.portal-page.admin-layout{--admin-side-width:286px}
 body.portal-page.admin-layout .portal-main{margin-left:0!important;width:100%!important;padding-top:72px!important}
 body.portal-page.admin-layout .portal-footer{margin-left:0;width:100%}
 body.portal-page.admin-layout .admin-sidebar{
   top:0;transform:translateX(-102%);transition:transform .22s ease;z-index:7600;box-shadow:12px 0 32px rgba(0,0,0,.35)
 }
 body.portal-page.admin-layout.admin-sidebar-open .admin-sidebar{transform:translateX(0)}
 body.portal-page.admin-layout .admin-sidebar-close{display:inline-flex}
 body.portal-page.admin-layout .admin-sidebar-toggle{
   position:absolute;left:14px;top:82px;z-index:4100;display:inline-flex;align-items:center;gap:7px;
   min-height:40px;padding:8px 12px;border-radius:7px;border:1px solid #b88b20;
   background:#111;color:#fff;font-weight:700;cursor:pointer;box-shadow:0 4px 16px rgba(0,0,0,.14)
 }
 body.portal-page.admin-layout .admin-sidebar-toggle .material-symbols-outlined{font-size:20px;color:#d4aa43}
 body.portal-page.admin-layout .admin-sidebar-overlay{
   position:fixed;inset:0;z-index:7500;background:rgba(0,0,0,.55)
 }
 body.portal-page.admin-layout.admin-sidebar-open .admin-sidebar-overlay{display:block}
 body.portal-page.admin-layout.admin-sidebar-open{overflow:hidden!important}
}


/* ADMIN SIDEBAR SUBCATEGORIES */
body.portal-page.admin-layout .admin-sidebar-nav{gap:5px}
body.portal-page.admin-layout .admin-side-home{margin-bottom:5px}
body.portal-page.admin-layout .admin-side-group{border-top:1px solid rgba(255,255,255,.055);padding-top:5px}
body.portal-page.admin-layout .admin-side-parent{
 width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;
 min-height:42px;padding:9px 10px;border:0;border-radius:7px;background:transparent;color:#ededed;
 font-family:inherit;font-size:.84rem;font-weight:700;text-align:left;cursor:pointer
}
body.portal-page.admin-layout .admin-side-parent:hover,
body.portal-page.admin-layout .admin-side-parent[aria-expanded="true"]{background:#181818;color:#d4aa43}
body.portal-page.admin-layout .admin-side-parent-left{display:flex;align-items:center;gap:11px;min-width:0}
body.portal-page.admin-layout .admin-side-parent-left>.material-symbols-outlined{font-size:19px;color:#b88b20;flex:0 0 auto}
body.portal-page.admin-layout .admin-side-chevron{font-size:19px;transition:transform .18s ease;color:#858585}
body.portal-page.admin-layout .admin-side-parent[aria-expanded="true"] .admin-side-chevron{transform:rotate(180deg);color:#d4aa43}
body.portal-page.admin-layout .admin-side-children{display:none;padding:3px 0 6px 39px}
body.portal-page.admin-layout .admin-side-children.open{display:block}
body.portal-page.admin-layout .admin-side-children a{
 position:relative;display:block;padding:7px 8px 7px 12px;border-radius:5px;color:#bcbcbc!important;
 text-decoration:none!important;font-size:.78rem;font-weight:500;line-height:1.25
}
body.portal-page.admin-layout .admin-side-children a:before{
 content:"";position:absolute;left:0;top:50%;width:4px;height:4px;border-radius:50%;background:#6e6e6e;transform:translateY(-50%)
}
body.portal-page.admin-layout .admin-side-children a:hover{background:#171717;color:#d4aa43!important}
body.portal-page.admin-layout .admin-side-children a:hover:before{background:#b88b20}


/* ADMIN SIDEBAR ACTIVE + BADGES */
body.portal-page.admin-layout .admin-nav-badge{
 display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;
 margin-left:auto;border-radius:999px;background:#b88b20;color:#0b0b0b;font-size:.69rem;font-weight:800;line-height:1
}
body.portal-page.admin-layout .admin-side-home.active,
body.portal-page.admin-layout .admin-side-children a.active{
 background:rgba(184,139,32,.14)!important;color:#d4aa43!important;
 box-shadow:inset 3px 0 0 #b88b20
}
body.portal-page.admin-layout .admin-side-children a.active:before{background:#d4aa43!important}
body.portal-page.admin-layout .admin-side-parent.active-parent{
 background:#191919;color:#d4aa43
}
body.portal-page.admin-layout .admin-side-parent.active-parent .admin-side-chevron{color:#d4aa43}


/* ADMIN SIDEBAR SEARCH + FAVORITES */
body.portal-page.admin-layout .admin-sidebar-tools{padding:10px 9px 5px}
body.portal-page.admin-layout .admin-sidebar-search-wrap{
 display:flex;align-items:center;gap:6px;height:39px;padding:0 7px 0 10px;border:1px solid rgba(255,255,255,.12);
 border-radius:8px;background:#151515
}
body.portal-page.admin-layout .admin-sidebar-search-wrap:focus-within{border-color:#b88b20;box-shadow:0 0 0 2px rgba(184,139,32,.12)}
body.portal-page.admin-layout .admin-sidebar-search-wrap>.material-symbols-outlined{font-size:18px;color:#b88b20}
body.portal-page.admin-layout #admin-sidebar-search{
 width:100%;min-width:0;border:0;outline:0;background:transparent;color:#eee;font:inherit;font-size:.78rem
}
body.portal-page.admin-layout #admin-sidebar-search::placeholder{color:#777}
body.portal-page.admin-layout #admin-sidebar-search-clear{
 display:none;align-items:center;justify-content:center;width:26px;height:26px;padding:0;border:0;border-radius:5px;background:transparent;color:#888;cursor:pointer
}
body.portal-page.admin-layout #admin-sidebar-search-clear.show{display:inline-flex}
body.portal-page.admin-layout #admin-sidebar-search-clear:hover{background:#222;color:#d4aa43}
body.portal-page.admin-layout #admin-sidebar-search-clear .material-symbols-outlined{font-size:17px}
body.portal-page.admin-layout .admin-sidebar-no-results{padding:7px 10px 3px;color:#aaa;font-size:.75rem}
body.portal-page.admin-layout .admin-favorites{padding:5px 9px 8px;border-bottom:1px solid rgba(255,255,255,.07)}
body.portal-page.admin-layout .admin-favorites-title{display:flex;justify-content:space-between;align-items:center;padding:4px 9px 5px;color:#777;font-size:.64rem;font-weight:700;letter-spacing:.11em}
body.portal-page.admin-layout .admin-favorites-title small{font-size:.62rem;letter-spacing:0;color:#666;font-weight:500}
body.portal-page.admin-layout .admin-favorites-links:empty:after{
 content:"Use the ★ beside a page to pin it here.";display:block;padding:5px 9px;color:#666;font-size:.7rem;line-height:1.35
}
body.portal-page.admin-layout .admin-favorite-link{
 display:flex;align-items:center;gap:8px;min-height:33px;padding:6px 8px;border-radius:6px;color:#d7d7d7!important;
 text-decoration:none!important;font-size:.75rem;font-weight:600
}
body.portal-page.admin-layout .admin-favorite-link:hover{background:#181818;color:#d4aa43!important}
body.portal-page.admin-layout .admin-favorite-link .material-symbols-outlined{font-size:16px;color:#b88b20}
body.portal-page.admin-layout .admin-side-children a{padding-right:31px}
body.portal-page.admin-layout .admin-fav-toggle{
 position:absolute;right:3px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;
 width:27px;height:27px;padding:0;border:0;border-radius:5px;background:transparent;color:#5f5f5f;cursor:pointer
}
body.portal-page.admin-layout .admin-fav-toggle:hover,body.portal-page.admin-layout .admin-fav-toggle.is-favorite{color:#d4aa43;background:#1d1d1d}
body.portal-page.admin-layout .admin-fav-toggle .material-symbols-outlined{font-size:17px}
body.portal-page.admin-layout .admin-side-group.search-hidden,
body.portal-page.admin-layout .admin-side-children a.search-hidden,
body.portal-page.admin-layout .admin-side-home.search-hidden{display:none!important}
body.portal-page.admin-layout .admin-side-group.search-match>.admin-side-children{display:block}

/* PHASE 12 CRM + PRICING */
.quote-margin-preview{display:inline-block;margin:4px 6px 0 0;font-size:.72rem;font-weight:700;color:#8fc98f}
.quote-margin-preview.warning{color:#e0a35b}
.compact-form textarea{min-height:58px}


/* PHASE 13 VISUAL DISPATCH */
.visual-dispatch-page{max-width:none}
.visual-dispatch-toolbar{
 display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0
}
.visual-dispatch-toolbar input{
 width:min(560px,100%);padding:11px 13px;border:1px solid rgba(255,255,255,.14);
 border-radius:8px;background:#111;color:#eee
}
.visual-dispatch-toolbar span{font-size:.78rem;color:#999;white-space:nowrap}
.dispatch-alert-strip{
 display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;margin:12px 0
}
.dispatch-alert-pill{
 display:block;padding:10px 12px;border:1px solid rgba(184,139,32,.35);border-radius:8px;
 background:rgba(184,139,32,.07);text-decoration:none!important;color:#ddd!important
}
.dispatch-alert-pill.critical{border-color:rgba(205,85,85,.55);background:rgba(205,85,85,.08)}
.dispatch-alert-pill strong,.dispatch-alert-pill span{display:block}
.dispatch-alert-pill strong{font-size:.78rem;color:#d4aa43}
.dispatch-alert-pill.critical strong{color:#e59a9a}
.dispatch-alert-pill span{margin-top:3px;font-size:.68rem;line-height:1.3;color:#aaa}
.dispatch-kanban{
 display:grid;grid-template-columns:repeat(6,minmax(245px,1fr));gap:10px;overflow-x:auto;padding:4px 2px 14px;
 scroll-snap-type:x proximity
}
.dispatch-column{
 min-width:245px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:#0d0d0d;
 scroll-snap-align:start;overflow:hidden
}
.dispatch-column>header{
 position:sticky;top:0;z-index:2;padding:10px 11px;border-bottom:1px solid rgba(255,255,255,.08);background:#141414
}
.dispatch-column>header>div{display:flex;align-items:center;justify-content:space-between;gap:8px}
.dispatch-column>header strong{font-size:.76rem;color:#e7e7e7}
.dispatch-column-count{
 display:inline-flex;min-width:23px;height:23px;align-items:center;justify-content:center;padding:0 6px;border-radius:20px;
 background:#222;color:#d4aa43;font-size:.68rem;font-weight:700
}
.dispatch-dropzone{min-height:260px;padding:8px;transition:.15s ease}
.dispatch-dropzone.drag-over{background:rgba(184,139,32,.08);outline:1px dashed rgba(184,139,32,.65);outline-offset:-4px}
.dispatch-card{
 margin:0 0 8px;padding:10px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#171717;
 box-shadow:0 2px 10px rgba(0,0,0,.18);cursor:grab
}
.dispatch-card.dragging{opacity:.42}
.dispatch-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.dispatch-card-top strong{font-size:.84rem;color:#d4aa43}
.dispatch-card-top a{font-size:.68rem}
.dispatch-customer{display:block;margin-top:5px;font-size:.72rem;color:#ddd;font-weight:600}
.dispatch-route{display:flex;align-items:center;gap:5px;margin-top:6px;font-size:.7rem;color:#aaa;line-height:1.25}
.dispatch-route span{color:#b88b20}
.dispatch-dates,.dispatch-assignment{
 display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:7px;font-size:.64rem;color:#8f8f8f
}
.dispatch-assignment span{padding:4px 5px;border-radius:5px;background:#101010;color:#bdbdbd}
.dispatch-card-warning{
 margin-top:7px;padding:5px 7px;border-radius:5px;background:rgba(205,85,85,.11);color:#e59a9a;font-size:.66rem;font-weight:700
}
.dispatch-quick-assign{margin-top:7px;border-top:1px solid rgba(255,255,255,.07);padding-top:6px}
.dispatch-quick-assign summary{cursor:pointer;color:#aaa;font-size:.68rem;font-weight:600}
.dispatch-card-form{display:grid;gap:6px;margin-top:7px}
.dispatch-card-form select,.dispatch-card-form input{
 width:100%;min-width:0;padding:7px 8px;border:1px solid rgba(255,255,255,.1);border-radius:6px;background:#101010;color:#ddd;font-size:.68rem
}
.dispatch-board-toast{
 position:fixed;right:18px;bottom:18px;z-index:1005;max-width:360px;padding:11px 14px;border-radius:8px;
 background:#172216;color:#bde2b8;border:1px solid rgba(111,177,101,.4);box-shadow:0 10px 35px rgba(0,0,0,.35);font-size:.78rem
}
.dispatch-board-toast.error{background:#2a1717;color:#efb4b4;border-color:rgba(205,85,85,.5)}
.portal-status.alert-critical{background:rgba(205,85,85,.13);color:#e59a9a;border-color:rgba(205,85,85,.3)}
@media (max-width:850px){
 .visual-dispatch-toolbar{align-items:stretch;flex-direction:column}
 .dispatch-kanban{grid-template-columns:repeat(6,82vw);gap:8px}
 .dispatch-column{min-width:82vw}
 .dispatch-card{cursor:default}
 .dispatch-alert-strip{grid-template-columns:1fr}
}

/* PHASE 15 PERFORMANCE */
.performance-positive{font-weight:700}
.performance-warning{font-weight:700}


/* PHASE 31 — CARRIER & BROKER MANAGEMENT */
body.portal-page .carrier-management-page{max-width:1500px;margin:0 auto}
body.portal-page .carrier-management-page .dashboard-topbar{margin-bottom:18px!important}
body.portal-page .carrier-primary-grid,
body.portal-page .carrier-secondary-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(340px,.85fr);gap:18px;align-items:start;margin-bottom:18px}
body.portal-page .carrier-secondary-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
body.portal-page .carrier-management-page .portal-card{margin:0 0 18px!important}
body.portal-page .carrier-primary-grid>.portal-card,
body.portal-page .carrier-secondary-grid>.portal-card{margin:0!important;height:100%;box-sizing:border-box}
body.portal-page .carrier-management-page .portal-card h2{margin:0 0 5px!important;font-size:1.08rem!important;color:#171717!important}
body.portal-page .carrier-management-page .portal-card h2:after{content:"";display:block;width:38px;height:2px;margin-top:8px;background:#b88b20}
body.portal-page .carrier-management-page .portal-form-grid{margin-top:17px!important;gap:13px 14px!important}
body.portal-page .carrier-management-page .portal-form-grid label{color:#111111!important;font-size:.86rem!important;font-weight:800!important;letter-spacing:.01em!important;gap:6px!important;opacity:1!important;-webkit-text-fill-color:#111111!important}
body.portal-page .carrier-management-page .portal-form-grid input,
body.portal-page .carrier-management-page .portal-form-grid select,
body.portal-page .carrier-management-page .portal-form-grid textarea{min-height:42px!important;background:#fff!important;color:#202327!important;border:1px solid #d6d9dd!important;border-radius:7px!important;padding:9px 11px!important;box-shadow:none!important}
body.portal-page .carrier-management-page .portal-form-grid input:focus,
body.portal-page .carrier-management-page .portal-form-grid select:focus,
body.portal-page .carrier-management-page .portal-form-grid textarea:focus{outline:0!important;border-color:#b88b20!important;box-shadow:0 0 0 3px rgba(184,139,32,.11)!important}
body.portal-page .carrier-management-page .portal-form-grid select option{background:#fff!important;color:#202327!important}
body.portal-page .carrier-management-page .portal-form-grid textarea{min-height:84px!important}
body.portal-page .carrier-management-page .checkbox-row{flex-direction:row!important;align-items:center!important;align-self:end;min-height:42px!important;padding:0 2px!important;gap:8px!important}
body.portal-page .carrier-management-page .checkbox-row input{width:17px!important;height:17px!important;min-height:0!important;margin:0!important;accent-color:#b88b20}
body.portal-page .carrier-management-page .carrier-form-actions{display:flex;justify-content:flex-end;padding-top:2px}
body.portal-page .carrier-management-page .carrier-form-actions .portal-btn{min-width:150px;justify-content:center}
body.portal-page .carrier-management-page .portal-table-wrap{margin-top:15px!important}
body.portal-page .carrier-management-page .portal-table{min-width:760px!important}
body.portal-page .carrier-management-page .portal-table th{padding:9px 11px!important}
body.portal-page .carrier-management-page .portal-table td{padding:10px 11px!important;vertical-align:middle!important}
body.portal-page .carrier-management-page .portal-table td form{display:flex;align-items:center;gap:7px;margin:0;min-width:220px}
body.portal-page .carrier-management-page .portal-table td form select{min-height:34px;padding:6px 8px;border:1px solid #d8dade;border-radius:6px;background:#fff;color:#222}
body.portal-page .carrier-management-page .portal-table a{font-weight:700;color:#8b6918!important}
body.portal-page .carrier-management-page .portal-table small{display:block;margin-top:3px;line-height:1.35;color:#70747a!important}
@media(max-width:1080px){
 body.portal-page .carrier-primary-grid,body.portal-page .carrier-secondary-grid{grid-template-columns:1fr}
 body.portal-page .carrier-primary-grid>.portal-card,body.portal-page .carrier-secondary-grid>.portal-card{height:auto}
}
@media(max-width:680px){
 body.portal-page .carrier-management-page .portal-form-grid{grid-template-columns:1fr!important}
 body.portal-page .carrier-management-page .carrier-form-actions{justify-content:stretch}
 body.portal-page .carrier-management-page .carrier-form-actions .portal-btn{width:100%;min-width:0}
 body.portal-page .carrier-management-page .portal-card h2{font-size:1rem!important}
 body.portal-page .carrier-management-page .portal-table{min-width:720px!important}
}


/* PHASE 31 FORM LABEL CONTRAST FIX */
body.portal-page .carrier-management-page .portal-form-grid label,
body.portal-page .carrier-management-page .portal-form-grid label span{
    color:#111111!important;
    opacity:1!important;
    -webkit-text-fill-color:#111111!important;
}
body.portal-page .carrier-management-page .portal-form-grid input::placeholder,
body.portal-page .carrier-management-page .portal-form-grid textarea::placeholder{
    color:#555555!important;
    opacity:1!important;
}
