:root{--ink:#13343e;--muted:#536b70;--green:#137b5e;--line:#d7e8df;--gold:#dfb75a}*{box-sizing:border-box}body{margin:0;font:16px/1.6 Arial,sans-serif;color:var(--ink);background:#f3f8f5}header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px max(24px,calc((100% - 1160px)/2));background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink)}.brand img{width:60px;height:auto;border-radius:12px}.brand b{display:block;letter-spacing:2px;font-size:18px}.brand small{color:var(--muted)}nav{display:flex;align-items:center;gap:23px}.nav-login{font-weight:700;color:var(--green);text-decoration:none}.button{display:inline-block;padding:12px 22px;border-radius:10px;border:1px solid var(--green);background:var(--green);color:white;text-decoration:none;font:700 15px/1.5 Arial,sans-serif;cursor:pointer}.button.secondary{background:white;color:var(--ink);border-color:#c7dbcf}.button.danger{background:#fff;color:#a32937;border-color:#e0bec4}.button:disabled{opacity:.55;cursor:wait}.wide{width:100%;text-align:center}.welcome{max-width:1160px;margin:auto;display:grid;grid-template-columns:1.15fr 1fr;gap:75px;align-items:center;padding:68px 24px}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:2px;font-weight:700;color:var(--green)}h1{font-size:clamp(36px,4.5vw,58px);line-height:1.14;letter-spacing:-1.7px;margin:15px 0 24px}h1 span{color:var(--green)}.lead{font-size:19px;color:var(--muted);max-width:500px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.hint{font-size:13px;color:var(--muted);max-width:510px}.pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:28px}.pills span{background:#e3efe8;padding:5px 11px;border-radius:20px;font-size:12px;color:#346354}.welcome-card{background:#fff;padding:32px;border:1px solid var(--line);border-radius:23px;box-shadow:0 20px 50px #164e3510;text-align:center;border-top:4px solid var(--gold)}.hero-logo{width:128px;height:auto;border-radius:20px}h2{font-size:24px;line-height:1.3}.welcome-card p{color:var(--muted)}ol{text-align:left;padding-left:25px;line-height:1.5}li{padding:8px 0 8px 9px}li::marker{font-weight:700;color:var(--green)}li b,li span{display:block}li span{font-size:13px;color:var(--muted)}footer{max-width:1160px;margin:auto;padding:24px;display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}footer a{color:var(--green)}.workspace{max-width:1160px;margin:auto;padding:32px 24px;min-height:70vh}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.page-heading h1{font-size:33px;letter-spacing:-.7px;margin:8px 0 18px}.message{padding:12px 16px;background:#e3f2e8;border-radius:9px;font-size:14px}.message.error{color:#912735;background:#fbe9ec}.message:empty{display:none}.card{background:white;border:1px solid var(--line);border-radius:15px;padding:24px;margin-bottom:20px}.card h2{margin-top:0}.muted{color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.field{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600;margin-bottom:15px}input,select{font:inherit;width:100%;padding:12px;border:1px solid #bdd5c6;border-radius:8px;background:white;color:var(--ink)}input:focus,select:focus{outline:2px solid #217958;outline-offset:2px}.check{display:flex;gap:10px;align-items:flex-start;margin:15px 0;font-size:13px}.check input{width:auto;margin-top:5px}.tag{display:inline-block;border-radius:20px;padding:4px 12px;background:#e4efe7;font-size:12px;font-weight:700}.tag.PENDING{background:#fff0c5;color:#70510c}.tag.SUSPENDED,.tag.REJECTED{background:#fbe7eb;color:#932d3d}.trip-title{font-size:20px;margin-bottom:8px}.trip{border-left:4px solid var(--green)}.section-heading{margin:30px 0 18px}.row{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.small{font-size:13px}.controls{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.controls .button{padding:8px 13px;font-size:13px}a:focus-visible,button:focus-visible{outline:3px solid #bc8d27;outline-offset:4px}#identity{max-width:300px;overflow-wrap:anywhere;font-size:13px}#content{overflow-wrap:anywhere}.empty{padding:24px;text-align:center;background:#eaf2ec;border-radius:12px}.form-note{font-size:13px;color:var(--muted)}@media(max-width:700px){header{padding:14px 20px}.brand img{width:45px}.brand b{font-size:14px;letter-spacing:1px}.brand small{font-size:11px}nav{gap:12px}nav .button{padding:9px 13px}.welcome{grid-template-columns:1fr;gap:35px;padding:35px 20px}.welcome-card{padding:24px}.grid{grid-template-columns:1fr}.workspace{padding:24px 16px}.page-heading h1{font-size:27px}#identity{max-width:145px;font-size:11px}.page-heading .button{padding:9px 12px}.card{padding:19px}footer{display:block;padding:20px}footer a{display:block;margin-top:8px}}

.login-workspace{max-width:540px;margin:48px auto;padding:0 20px}.login-workspace h1{font-size:30px}.login-workspace .controls{margin-top:18px}[hidden]{display:none!important}

.office-map{width:100%;height:65vh;min-height:320px;border:0;border-radius:18px} [hidden]{display:none!important} details{padding:20px} summary{cursor:pointer}

.customer-shell{display:grid;grid-template-columns:210px 1fr;gap:20px}.customer-nav{display:flex;flex-direction:column;gap:8px;align-items:stretch}.customer-nav button{padding:14px;text-align:left;border:0;border-radius:12px;background:#e8edf6;color:#17385c;font-weight:700;cursor:pointer}.customer-nav button.selected{background:linear-gradient(120deg,#145b98,#16816a);color:white}.customer-panel{min-width:0}.fleet-map{height:60vh;min-height:320px;border-radius:16px;background:#e8f0f2}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%}td,th{padding:12px;border-bottom:1px solid #dbe2ec;text-align:left;white-space:nowrap}select{padding:12px;max-width:100%;border:1px solid #cbd5e1;border-radius:8px}.place-suggestions{max-height:240px;overflow:auto}.place-choice{display:block;width:100%;padding:12px;border:1px solid #dbe2ec;background:white;text-align:left;cursor:pointer}@media(max-width:700px){.customer-shell{grid-template-columns:1fr}.customer-nav{flex-direction:row;overflow-x:auto;position:sticky;top:0;background:#f5f8fc;padding:8px 0;z-index:1001}.customer-nav button{white-space:nowrap;flex-shrink:0}.fleet-map{height:55vh}.workspace{padding:16px}}@media print{header,footer,.customer-nav,button,.controls,#message,.page-heading{display:none!important}.customer-shell{display:block}.table-scroll{overflow:visible}td,th{white-space:normal}}
/* Expanded tracking workspace */
body:has(.customer-shell)>header{padding:10px 20px}body:has(.customer-shell) .workspace{max-width:none;padding:12px 20px}body:has(.customer-shell) .page-heading h1{font-size:23px;margin:0}body:has(.customer-shell) .page-heading .eyebrow{display:none}body:has(.customer-shell) .page-heading{margin-bottom:8px}body:has(.customer-shell) .brand img{width:42px}.access-strip{display:flex;align-items:center;gap:20px;padding:6px 14px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:12px}.access-strip h2{font-size:15px;margin:0}.access-strip p{font-size:13px;margin:0}.customer-shell{grid-template-columns:180px minmax(0,1fr);gap:14px}.customer-nav{position:sticky;top:10px;align-self:start}.customer-nav button{padding:12px;transition:background .2s,transform .2s}.customer-nav button:hover{transform:translateX(3px);background:#d9e8f1}.customer-panel>h2{font-size:19px;margin:0 0 8px}.fleet-map{height:calc(100dvh - 205px);min-height:420px}.controls{display:flex;gap:8px;flex-wrap:wrap}.controls .button{font-size:13px;padding:9px 13px}.share-result input{margin:10px 0}.public-section{max-width:1200px;margin:auto;padding:40px 24px;scroll-margin-top:20px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.feature-grid .card{margin:0;transition:transform .2s,box-shadow .2s}.feature-grid .card:hover{transform:translateY(-4px);box-shadow:0 14px 30px #174d3515}.feature-icon{display:inline-flex;font-size:25px;background:#e5f3ee;padding:9px 15px;border-radius:13px}.feature-grid p{font-size:14px;color:var(--muted)}.contact-section{display:flex;justify-content:space-between;align-items:center;gap:20px}.journey-strip{display:flex;justify-content:space-between;align-items:center;padding:24px;background:linear-gradient(110deg,#e1f2e9,#e4edf7);border-radius:14px;font-weight:700}.journey-strip span:nth-child(2){font-size:40px}.gm-style .controls .button{font-size:11px;padding:6px 8px}.gm-style .controls{max-width:260px}.gm-style .controls button{font-family:Arial,sans-serif}.gm-style p{margin:7px 0}@media(max-width:800px){.feature-grid{grid-template-columns:repeat(2,1fr)}.contact-section{flex-direction:column;align-items:flex-start}header nav{gap:10px;flex-wrap:wrap}.welcome{gap:24px;padding-top:35px}}@media(max-width:700px){body:has(.customer-shell) .workspace{padding:8px}.customer-shell{grid-template-columns:1fr}.customer-nav{top:0;flex-direction:row}.customer-nav button{padding:10px}.access-strip{gap:8px;flex-wrap:wrap}.fleet-map{height:calc(100dvh - 230px);min-height:340px}.feature-grid{grid-template-columns:1fr}.customer-panel>h2{margin-top:6px}}

.map-truck{position:absolute;transform:translate(-50%,-50%);border:0;background:transparent;padding:0;width:28px;height:54px;cursor:pointer;overflow:visible;color:var(--truck-color)}.map-truck svg{display:block;width:28px;height:54px;filter:drop-shadow(0 2px 3px #0005);transition:transform .3s}.truck-number{position:absolute;left:50%;top:58px;transform:translateX(-50%);padding:2px 5px;background:#fff;border:1px solid var(--truck-color);border-radius:5px;color:#173447;font:bold 10px Arial,sans-serif;white-space:nowrap;box-shadow:0 2px 5px #0002}.gps-bubble{display:none;width:12px;height:12px;border:2px solid #fff;border-radius:50%;background:var(--truck-color);box-shadow:0 0 0 5px color-mix(in srgb,var(--truck-color) 25%,transparent);animation:gps-pulse 2s infinite}.map-truck.compact{width:12px;height:12px}.map-truck.compact svg,.map-truck.compact .truck-number{display:none}.map-truck.compact .gps-bubble{display:block}@keyframes gps-pulse{50%{box-shadow:0 0 0 8px color-mix(in srgb,var(--truck-color) 8%,transparent)}}@media(prefers-reduced-motion:reduce){.gps-bubble{animation:none}.map-truck svg{transition:none}}

/* v7.1: compact individual and shared maps, smaller status trucks. */
.map-truck,.map-truck svg{width:22px;height:43px}.truck-number{top:46px;font-size:9px;padding:2px 4px}.map-truck.compact{width:12px;height:12px}
.truck-page>header{padding:9px 20px}.truck-page .brand img{width:40px}.truck-workspace{max-width:none;padding:10px 18px;min-height:0}.truck-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.truck-toolbar h1{font-size:26px;letter-spacing:-.5px;margin:0}.truck-toolbar p{font-size:13px;margin:3px 0}.truck-toolbar .controls{margin:0}.tracking-updated{font-size:12px;margin:5px 0}.single-map{height:calc(100dvh - 174px);min-height:390px}.share-dialog{width:min(560px,calc(100% - 24px));border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:0 20px 80px #0004;color:var(--ink)}.share-dialog::backdrop{background:#17343e80}.share-dialog h2{margin:0}.share-dialog p{font-size:14px}.share-dialog input{font-size:13px}.shared-truck-list{display:flex;flex-wrap:wrap;gap:10px;padding-top:12px}.shared-truck-item{background:white;border:1px solid var(--line);border-radius:10px;padding:10px}.shared-truck-item p{font-size:12px;margin:3px 0}.credential-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#e2f1f9;padding:10px 16px;border-radius:12px;margin:8px 0}.credential-banner p{margin:0;font-size:13px}.login-tabs{display:flex;gap:8px;margin-bottom:18px}.login-tabs button{flex:1}.credential-note{padding:12px;border-radius:10px;background:#edf4fa;font-size:14px}.office-login-section{max-width:750px}@media(max-width:700px){.truck-workspace{padding:8px}.truck-page>header{padding:8px 12px}.truck-toolbar h1{font-size:21px}.truck-toolbar .button{font-size:11px;padding:7px 9px}.single-map{height:calc(100dvh - 220px);min-height:330px}.credential-banner{flex-wrap:wrap}.share-dialog{padding:18px}}

dialog{border:0;border-radius:16px;max-width:900px;width:94%;max-height:90vh;overflow:auto;padding:24px;box-shadow:0 12px 70px #1235}dialog::backdrop{background:#102b4d88}.customer-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.customer-entry-grid label{display:flex;flex-direction:column;gap:5px}.customer-entry-grid input,.customer-entry-grid select{max-width:100%;padding:10px;border:1px solid #abc;border-radius:8px}@media(max-width:600px){.customer-entry-grid{grid-template-columns:1fr}}

/* Customer v7.5 */
.customer-shell{grid-template-columns:170px minmax(0,1fr);gap:12px}.customer-nav{max-height:calc(100dvh - 22px);overflow-y:auto;scrollbar-width:thin}.customer-nav button{font-size:12px;line-height:1.4;box-shadow:0 2px 6px #143d5010}.customer-nav button:nth-child(3n){border-left:3px solid #219ab4}.customer-nav button:nth-child(3n+1){border-left:3px solid #16a37e}.customer-nav button:nth-child(3n+2){border-left:3px solid #8c76d8}.customer-nav button.selected{box-shadow:0 6px 16px #145b9828}.access-strip{flex-wrap:wrap}.access-strip label{display:flex;align-items:center;gap:8px;font-size:12px;margin-left:auto}.access-strip select{padding:7px;min-width:155px}.fleet-map{height:calc(100dvh - 192px);min-height:430px;border:1px solid #cbdde5;box-shadow:0 4px 18px #153b5710}.filter-bar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding:12px;background:#e8f1f6;border-radius:12px;margin:10px 0}.filter-bar label{font-size:12px;font-weight:600;min-width:135px;flex:1;max-width:240px}.filter-bar input,.filter-bar select{padding:8px;font-size:13px}.filter-bar>input,.filter-bar>select{width:auto;flex:1;min-width:125px}.dashboard-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:16px 0}.metric-card{background:#fff;border:1px solid #dce5ed;border-top:4px solid var(--metric-color);border-radius:15px;padding:20px;text-align:left;color:#143f54;cursor:pointer;transition:transform .2s,box-shadow .2s}.metric-card:hover{transform:translateY(-3px);box-shadow:0 10px 20px #143f5414}.metric-card strong{display:block;color:var(--metric-color);font-size:32px}.metric-card span{font-size:13px}.smart-table{background:white;border:1px solid #d7e4eb;border-radius:12px;margin:12px 0}.smart-table thead th{background:#1c526e;color:white;font-size:12px;position:sticky;top:0;z-index:1}.smart-table td{font-size:12px}.smart-table tr:nth-child(even){background:#f1f7fa}.smart-table tbody tr{border-left:4px solid var(--status-color,#16816a)}.smart-table .status-cell{font-weight:700;color:var(--status-color)}.smart-table .controls{max-width:240px;min-width:195px}.smart-table .controls .button{font-size:11px;padding:5px 8px}.smart-table input[type=checkbox]{width:18px;height:18px}.location-name{background:#e9f3fb;border:0;padding:4px 7px;border-radius:4px;color:#25608e;font-size:11px;cursor:pointer}.controls>input{width:auto;flex:1;min-width:150px}.eway-card{border-top:4px solid #2885a7}.small-truck,.small-truck svg{width:20px;height:38px}.small-truck .truck-number{top:40px;font-size:9px;background:#fffef0}.customer-panel>p{font-size:13px}.customer-panel button:not(.button):not(.map-truck):not(.metric-card):not(.place-choice){cursor:pointer}.customer-panel>dialog{max-width:min(950px,96vw)}
@media(max-width:700px){.customer-shell{grid-template-columns:1fr}.customer-nav{max-height:none;overflow-y:hidden;overflow-x:auto;position:sticky;top:0}.customer-nav button{font-size:11px}.fleet-map{height:calc(100dvh - 218px);min-height:360px}.access-strip label{margin-left:0}.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-card{padding:14px}.filter-bar label{min-width:120px}.smart-table td{padding:9px}.filter-bar>input,.filter-bar>select{width:100%}}
@media(prefers-reduced-motion:reduce){.customer-nav button,.metric-card{transition:none}}

.daily-entry-area:empty{display:none}.inline-entry{border-top:4px solid #16826d;margin-top:14px}.customer-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.customer-entry-grid fieldset{min-width:0;border:1px solid #d3e5eb;background:#f5fafb;border-radius:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:15px}.customer-entry-grid legend{font-weight:700;font-size:13px;color:#1a5770;padding:0 6px}.customer-entry-grid label{font-size:12px;text-transform:capitalize;min-width:0}.customer-entry-grid input,.customer-entry-grid select{font-size:13px;padding:9px;min-width:0}.customer-entry-grid input[type=checkbox]{width:20px}.register-dialog{width:min(1100px,96vw);max-height:92dvh;overflow:auto}.advance-preview{display:block;background:#e4f4eb;border-radius:10px;padding:12px;margin:14px 0;font-size:14px;font-weight:600}.advance-preview.BLOCK{background:#fde3e6;color:#a12c39}.tender-BLOCK{background:#ffe8eb!important}.tender-NO_TENDER{background:#fff6db!important}.load-good{border-left:4px solid #1d9d76}.load-check{border-left:4px solid #e1ad26}.load-difference{border-left:4px solid #df6470}.tender-import textarea{width:100%;font:13px Arial,sans-serif;padding:12px;border:1px solid #adc9d3;border-radius:10px;margin-bottom:12px}.daily-entry-area .card>form>button{border:1px solid #c0d5d8;border-radius:8px;padding:10px 20px;margin-right:10px;background:#edf8f3;cursor:pointer}.customer-panel .controls>input{min-width:190px}
@media(max-width:900px){.customer-entry-grid{grid-template-columns:1fr}}@media(max-width:520px){.customer-entry-grid fieldset{grid-template-columns:1fr}.register-dialog{padding:12px}}
/* v7.7 screenshot-matched customer operations */
.customer-shell{grid-template-columns:270px minmax(0,1fr);gap:20px}.customer-nav{display:block;background:linear-gradient(145deg,#133d49,#0d202f);border-radius:18px;padding:16px;max-height:calc(100dvh - 160px);position:sticky;top:14px;overflow:auto;scroll-behavior:smooth}.customer-nav-brand{display:grid;grid-template-columns:58px 1fr;gap:4px 10px;align-items:center;color:#fff;padding:6px 0 20px}.customer-nav-brand img{width:58px;border-radius:13px;grid-row:span 2}.customer-nav-brand b{font-size:15px;letter-spacing:1px}.customer-nav-brand small{font-size:12px;color:#aed4d8}.customer-nav .map-space-toggle{width:100%;background:#ffffff08;color:#c9ebec;border:1px solid #ffffff21;padding:12px;margin:0 0 18px}.nav-group{border:1px solid #ffffff15;border-radius:16px;padding:8px;margin:10px 0;color:#70decc}.nav-group:nth-of-type(3){color:#e1ec75}.nav-group:nth-of-type(4){color:#efbd66}.nav-group summary{cursor:pointer;font-size:14px;font-weight:700;padding:12px 5px}.customer-nav .nav-group button{display:block;width:100%;text-align:left;margin:6px 0;padding:13px 12px;background:transparent;color:#d5e8ed;border:1px solid transparent;border-radius:12px;box-shadow:none;font-size:13px}.customer-nav .nav-group button.selected{background:#ffffff09;border:1px solid #59dac3;border-left:4px solid #59dac3;color:#fff}.compact-sidebar{grid-template-columns:74px minmax(0,1fr)}.compact-sidebar .customer-nav{padding:9px}.compact-sidebar .customer-nav-brand{display:block}.compact-sidebar .customer-nav-brand img{width:48px}.compact-sidebar .customer-nav-brand b,.compact-sidebar .customer-nav-brand small,.compact-sidebar .nav-group{display:none}.compact-sidebar .map-space-toggle{font-size:11px;padding:8px 3px}.customer-panel{min-width:0}.customer-panel>h2{background:white;border:1px solid #d5e3df;border-radius:18px;padding:22px 26px;font-size:28px;margin-top:0}.register-mode-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:16px 0}.register-mode-cards button{min-height:74px;border:1px solid #d0e0dc;border-radius:16px;background:white;color:#24473e;font-weight:700;font-size:14px;text-align:left;padding:17px}.register-mode-cards button.selected{background:#205c48;color:#fff;box-shadow:0 10px 18px #205c4818}.legacy-register-body{display:grid;gap:20px;align-items:start}.daily-two-column{grid-template-columns:minmax(320px,420px) minmax(0,1fr)}.register-records{min-width:0;background:white;border:1px solid #d7e5e0;border-radius:20px;padding:22px}.daily-two-column .customer-entry-grid{grid-template-columns:1fr}.daily-two-column .customer-entry-grid fieldset{grid-template-columns:repeat(2,minmax(0,1fr))}.inline-entry .customer-entry-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.inline-entry .customer-entry-grid fieldset{grid-column:span 1;grid-template-columns:repeat(2,minmax(0,1fr))}.daily-two-column .inline-entry .customer-entry-grid{grid-template-columns:1fr}.repeat-data{background:#f0f7f3;padding:16px}.repeat-data input[type=checkbox]{width:auto}.repeat-data button{display:block;width:100%;text-align:left;padding:9px;border:1px solid #c6dace;margin:5px 0;border-radius:8px;background:white}.repeat-data h4{margin:0}.session-toolbar{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin:0 0 15px}.session-toolbar button,.register-records button,.customer-panel .controls>button,.inline-entry button{border:0;background:#205c48;color:#fff;border-radius:10px;padding:10px 15px;font-weight:700}.session-toolbar button:first-child{background:#e5ece9;color:#25483d}.inline-entry button[type=submit]{background:#dfed72;color:#173d30;min-width:190px}.inline-entry button[type=button]{background:#edf6ec;color:#245843}.legacy-table{border:1px solid #d1dfd9;border-radius:14px;margin:18px 0}.legacy-table th{background:#edf2ee;color:#526b62;font-size:12px;letter-spacing:.5px;text-transform:uppercase;padding:17px 12px}.legacy-table td{padding:18px 12px;font-size:14px;border-bottom:1px solid #e8efeb;white-space:nowrap}.legacy-table tr:nth-child(even){background:#fbfcfa}.legacy-table .emphasis{font-weight:700}.legacy-table .advance-value{background:#e3f1e9;color:#17513b}.legacy-table td>button{font-size:11px;padding:6px 9px;margin:3px}.legacy-table input{min-width:95px;max-width:130px;padding:7px}.legacy-table input[type=checkbox]{min-width:0;width:18px}.folder-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:18px}.date-folder-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.date-folder{display:flex;flex-direction:column;gap:8px;border:1px solid #dce8dd!important;border-radius:15px!important;background:#eff7ed!important;color:#254f40!important;padding:18px!important;text-align:left}.date-folder span{font-size:12px;font-weight:400}.midland-date{margin-top:12px;background:#fff8e6!important;border-color:#ecd393!important}.advance-date{margin:20px 0 35px}.advance-date h3{margin:0}.extra-mng-options>div{display:grid;grid-template-columns:repeat(5,minmax(95px,1fr)) auto;gap:10px;margin:14px 0;background:#edf6f0;padding:14px;border-radius:15px}.extra-mng-options label{font-size:12px;font-weight:700}.extra-mng-options input,.extra-mng-options select{margin-top:6px}.destination-confirmation{background:#f4f8ef}.destination-confirmation button{margin:5px}.register-records output{display:block;padding:18px;margin:12px 0;background:#e6f2e8;border-radius:13px;font-weight:700}
@media(max-width:1300px){.daily-two-column{grid-template-columns:minmax(300px,360px) minmax(0,1fr)}.inline-entry .customer-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.customer-shell{grid-template-columns:210px minmax(0,1fr)}.daily-two-column,.folder-layout{grid-template-columns:1fr}.extra-mng-options>div{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-nav{padding:10px}}
@media(max-width:700px){.customer-shell,.compact-sidebar{grid-template-columns:1fr}.customer-nav{position:relative;max-height:280px;overflow:auto}.customer-nav-brand{padding-bottom:8px}.customer-nav .nav-group button{display:inline-block;width:auto}.nav-group{margin:6px 0}.customer-nav .map-space-toggle{margin-bottom:6px}.compact-sidebar .customer-nav-brand{display:none}.customer-panel>h2{font-size:23px;padding:17px}.register-records{padding:13px}.inline-entry .customer-entry-grid{grid-template-columns:1fr}.register-mode-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.legacy-table td{padding:12px;font-size:12px}}
@media(max-width:430px){.daily-two-column .customer-entry-grid fieldset,.inline-entry .customer-entry-grid fieldset{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.customer-nav{scroll-behavior:auto}}

.accident-recipients{display:grid;grid-template-columns:190px 1fr 1fr;gap:10px;margin-bottom:12px}.accident-recipients>div{padding:12px;border:1px solid #d8e1dc;border-radius:11px;background:#f4f8f5}.accident-recipients span,.accident-recipients b,.accident-recipients small{display:block}.accident-recipients span{margin-bottom:5px;color:#6c7c74;font-size:9px;font-weight:900;letter-spacing:.09em}.accident-recipients b{color:#174c3a}.accident-recipients small{line-height:1.45;color:#42564d}@media(max-width:850px){.accident-recipients{grid-template-columns:1fr}.accident-recipients>div{grid-column:auto}}
.accident-shell{max-width:1180px;margin:auto;padding:26px;background:#f7f3ee;min-height:100vh}.accident-top,.accident-mail-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.accident-top p,.accident-mail-head p{margin:0;color:#963d30;font-size:10px;font-weight:900;letter-spacing:.13em}.accident-top h1,.accident-mail-head h2{margin:4px 0;color:#26342e}.accident-top span{color:#6b7771}.accident-top a{color:#174c3a;font-weight:800}.accident-card{margin-bottom:18px;padding:22px;border:1px solid #dccdc8;border-radius:18px;background:#fff;box-shadow:0 9px 25px #55312612}.accident-type{display:flex;gap:10px;margin-bottom:18px}.accident-type button{width:auto;margin:0;background:#eee8e5;color:#704038}.accident-type button.active{background:#913d30;color:#fff}.accident-form{display:grid;grid-template-columns:repeat(5,1fr);gap:11px}.accident-form input{margin-top:6px}.accident-found{margin-top:14px;padding:14px;border-left:5px solid #277254;border-radius:10px;background:#edf7f1}.accident-found b,.accident-found span,.accident-found small{display:block}.accident-found span{margin:4px 0}.accident-error,.accident-success{padding:10px 12px;border-radius:9px}.accident-error{background:#fde8e4;color:#982f23}.accident-success{background:#e7f5ec;color:#186143}.accident-mail-head>span{padding:8px 11px;border-radius:9px;background:#fff0cd;color:#745710;font-size:11px;font-weight:800}.accident-preview{padding:20px;border:1px solid #d6ddd9;border-radius:13px;background:#fafbf9}.accident-preview>b{display:block;padding-bottom:13px;border-bottom:1px solid #dce3df;color:#263c33}.accident-preview pre{margin:15px 0 0;white-space:pre-wrap;font-family:inherit;font-size:14px;line-height:1.65;color:#26352f}.accident-actions{display:flex;gap:10px;margin-top:13px}.accident-actions button,.accident-actions a{display:grid;place-items:center;width:auto;min-width:140px;min-height:44px;margin:0;padding:10px 18px;border-radius:10px;background:#174c3a;color:#fff;font-weight:900;text-decoration:none}.accident-actions a{background:#913d30}.accident-actions .disabled{pointer-events:none;opacity:.45}.accident-attachment-note{display:block;margin-top:10px;color:#6c7772}@media(max-width:850px){.screen-nav{grid-template-columns:repeat(2,1fr)}.accident-form{grid-template-columns:1fr 1fr}.accident-top,.accident-mail-head{align-items:flex-start;flex-direction:column}}@media(max-width:520px){.accident-shell{padding:12px}.accident-form{grid-template-columns:1fr}.accident-type,.accident-actions{flex-direction:column}.accident-type button,.accident-actions button,.accident-actions a{width:100%}}
/* v7.9 old operational screen proportions and colours */
.old-register-screen{color:#1b2d27;background:#eef4f8;padding:0}.old-register-screen>.legacy-register-body{margin-top:20px}.old-register-screen .daily-register-controls{border:0;background:none}.old-register-screen .inline-entry,.old-register-screen .register-records,.supervisor-mobile-form{border:1px solid #ccd9d4;border-radius:21px;background:#fff;padding:28px;box-shadow:0 12px 30px #15372b06}.old-register-screen .daily-two-column{grid-template-columns:minmax(320px,450px) minmax(0,1fr);gap:20px;align-items:stretch}.old-register-screen .daily-two-column .inline-entry{margin-top:0;min-height:100%}.old-register-screen .customer-entry-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:15px}.old-register-screen .customer-entry-grid fieldset{display:contents!important}.old-register-screen .customer-entry-grid legend{display:none}.old-register-screen .customer-entry-grid label{font-size:12px;line-height:1.5;color:#687770;text-transform:uppercase;font-weight:700}.old-register-screen .customer-entry-grid input,.old-register-screen .customer-entry-grid select{min-height:55px;margin-top:8px;padding:12px 15px;font-size:15px;border:1px solid #d3ddd8;border-radius:12px;background:#fafcfb;color:#1b2d27;font-weight:600}.old-register-screen .daily-two-column .customer-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.old-register-screen .inline-truck_masters .customer-entry-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}.old-register-screen .customer-entry-grid [hidden]{display:none!important}.old-register-screen .repeat-data,.manual-loading-note{background:#f3f8f5;border:1px solid #d0e3da;border-radius:16px;padding:18px;margin:20px 0}.manual-loading-note h4{margin:0}.old-register-screen .inline-entry button[type=submit],.supervisor-mobile-form .controls button,.tender-import button{background:#dfed72;color:#173029;padding:19px 26px;font-size:15px;font-weight:800;border-radius:12px}.old-register-screen .legacy-table th{background:#eff2ee;color:#65736d;font-size:12px;padding:18px 12px}.old-register-screen .legacy-table td{font-size:15px;padding:20px 12px;color:#1b2d27}.old-register-screen .legacy-table tr:nth-child(even),.old-register-screen .legacy-table .recent-row{background:#f3f8f5}.old-register-screen .old-recent-table td.weight{font-weight:800}.old-register-screen .old-recent-table td.tds{background:#fff4aa}.old-register-screen .old-recent-table .groupstart{border-top:8px solid #f4f2eb}.old-register-screen .legacy-table .edit-row{background:#dcf0e6;color:#215e49}.old-register-screen .legacy-table .remove-row{background:#f7e8e6;color:#aa3228}.supervisor-mobile-form{margin:20px 0}.supervisor-mobile-form>p:first-child{font-weight:800;font-size:12px;letter-spacing:2px;color:#69766f}.supervisor-mobile-form h3{font-size:24px;margin:8px 0 22px}.supervisor-mobile-form label{min-width:280px}.supervisor-mobile-form input{max-width:650px}.supervisor-mobile-form strong{margin:10px;display:inline-block}.supervisor-mobile-form a{margin:10px;color:#205c48}.supervisor-shell{max-width:1180px;margin:auto;padding:24px;background:#eef4f8}.supervisor-shell header{display:flex;align-items:center;gap:18px}.supervisor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.supervisor-shell label{display:block}.supervisor-shell input,.supervisor-shell select{width:100%;padding:13px}.supervisor-shell button{padding:14px 20px;margin:10px;background:#dfed72;color:#173029;border:0;border-radius:12px;font-weight:700}.programme-match-status{color:#205c48;font-size:12px}.accident-recipients textarea{width:100%;min-height:86px;font-family:inherit;font-size:13px;resize:vertical}
@media(max-width:1250px){.old-register-screen .customer-entry-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.old-register-screen .inline-truck_masters .customer-entry-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.old-register-screen .daily-two-column{grid-template-columns:minmax(300px,360px) minmax(0,1fr)}}
@media(max-width:1000px){.old-register-screen .daily-two-column{grid-template-columns:1fr}.old-register-screen .customer-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){.old-register-screen .inline-entry,.old-register-screen .register-records,.supervisor-mobile-form{padding:16px}.old-register-screen .customer-entry-grid,.old-register-screen .inline-truck_masters .customer-entry-grid,.old-register-screen .daily-two-column .customer-entry-grid,.supervisor-grid{grid-template-columns:1fr!important}.supervisor-mobile-form label{min-width:0}.supervisor-shell{padding:12px}}

.old-register-screen .legacy-table td{white-space:pre-line}.old-register-screen .old-recent-table td{white-space:nowrap}.old-register-screen .legacy-table td:first-child{font-weight:600}.old-register-screen .session-toolbar button[hidden],.old-register-screen .register-mode-cards[hidden]{display:none!important}

.old-workflow-tabs{display:flex;gap:10px;background:#e7eeea;border-radius:16px;padding:9px;margin:18px 0}.old-workflow-tabs button{padding:14px 22px;background:white;color:#6d7a73;border:0;border-radius:12px;font-weight:800}.old-workflow-tabs button.selected{background:#205c48;color:white}.old-register-screen .inline-entry button[hidden]{display:none!important}
@media(min-width:1500px){.customer-shell{grid-template-columns:310px minmax(0,1fr)}.customer-shell.compact-sidebar{grid-template-columns:74px minmax(0,1fr)}}
.old-register-screen{position:relative}.old-register-screen>h2{background:#fff url('/logo.png?v=tm-selected-truck-20261017') no-repeat 24px center;background-size:64px;border-radius:20px;min-height:108px;padding:30px 400px 30px 108px;color:#172b23}.old-register-screen .session-toolbar{position:absolute;right:24px;top:22px;max-width:470px;margin:0}.old-register-screen .session-toolbar button{padding:17px 20px;font-size:14px}
@media(max-width:1100px){.old-register-screen>h2{padding-right:24px}.old-register-screen .session-toolbar{position:static;padding:12px;max-width:none}}

.old-register-screen .inline-programs .destination-confirmation{display:contents}.old-register-screen .inline-programs .destination-confirmation>h4,.old-register-screen .inline-programs .destination-confirmation>p{display:none}.old-register-screen .inline-programs .destination-confirmation>button{width:100%;margin:0}.old-register-screen .inline-programs .destination-confirmation>button:first-of-type{background:#edf5a7}.old-register-screen .inline-programs .destination-confirmation>button{background:#edf5a7}
/* v7.10: compact fleet table and truck details */
.tracking-workspace .fleet-map{height:43dvh;min-height:270px;max-height:540px}.tracking-view-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}.tracking-view-controls>span{margin-left:auto;color:#35594d;font-weight:700}.active-trip-data{min-width:0}.active-trip-data .smart-table{max-height:54dvh;overflow:auto}.active-trip-data .smart-table table{table-layout:fixed;min-width:780px;width:100%}.active-trip-data .smart-table th,.active-trip-data .smart-table td{padding:10px 9px;white-space:normal;vertical-align:middle;overflow-wrap:anywhere;font-size:13px;line-height:1.4}.active-trip-data .smart-table tbody tr{height:auto;background:color-mix(in srgb,var(--status-color) 7%,white)}.active-trip-data .smart-table tbody tr:nth-child(even){background:color-mix(in srgb,var(--status-color) 12%,white)}.active-trip-data .smart-table th{font-size:12px}.active-trip-data .smart-table .location-cell{width:24%;min-width:170px}.active-trip-data .smart-table td[data-column=truck_no]{font-weight:800}.active-trip-data .smart-table td[data-column=location_display]{min-width:170px}.status-badge,.truck-status-badge{display:inline-block;background:color-mix(in srgb,var(--status-color) 15%,white);color:var(--status-color);font-size:11px;font-weight:800;border:1px solid color-mix(in srgb,var(--status-color) 35%,white);padding:5px 8px;border-radius:9px;line-height:1.35}.table-truck-button,.table-details-button{padding:6px 4px;color:#205c48;background:transparent;border:0;font:700 13px Arial,sans-serif;text-align:left;cursor:pointer}.table-details-button{border-radius:8px;background:#e1eee8;padding:7px}.tracking-workspace.tracking-expanded{position:fixed;inset:10px;z-index:1100;border-radius:18px;background:#eef4f8;padding:16px;overflow:auto;box-shadow:0 0 0 20px #123b4b66}.tracking-expanded .fleet-map{height:40dvh;min-height:230px}.tracking-expanded>h2{font-size:22px;padding:8px;margin:0}.tracking-expanded .filter-bar{margin:6px 0;padding:8px}.tracking-expanded .smart-table{max-height:35dvh}.truck-details-dialog{width:min(850px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #cddfd6;border-top:5px solid var(--status-color);border-radius:20px;padding:0 22px 22px;color:#193a30;box-shadow:0 25px 70px #133e4a66}.truck-details-dialog::backdrop{background:#102f426b}.truck-details-dialog>header{display:flex;align-items:center;gap:12px;flex-wrap:wrap;position:sticky;top:0;padding:15px 0;background:white;z-index:1}.truck-details-dialog h2{font-size:24px;margin:0}.truck-dialog-close{margin-left:auto;padding:8px 12px;border:1px solid #d3e2da;background:#eff6f2;border-radius:9px;color:#254c3f;font-weight:700;cursor:pointer}.truck-current-location{padding:18px;background:#edf6f1;border-radius:14px;margin:16px 0;border-left:4px solid var(--status-color)}.truck-current-location>span,.truck-current-location>strong,.truck-current-location>small{display:block}.truck-current-location>span{font-size:11px;font-weight:800;letter-spacing:1px}.truck-current-location>strong{font-size:18px;line-height:1.4;margin:5px 0}.truck-current-location>small{font-size:12px;color:#557268}.truck-details-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.truck-details-grid>div{padding:12px;border:1px solid #dbe8e1;border-radius:12px;background:#fafcfb;min-width:0}.truck-details-grid dt{font-size:11px;color:#648073;text-transform:uppercase;font-weight:700}.truck-details-grid dd{margin:4px 0 0;font-size:14px;font-weight:600;overflow-wrap:anywhere}.truck-details-dialog .controls{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.truck-details-dialog .controls .button{font-size:12px;padding:8px 12px}.location-note{font-size:12px;color:#76683f}.truck-details-dialog .button{cursor:pointer}
@media(max-width:700px){.tracking-workspace .fleet-map{height:40dvh;min-height:240px}.tracking-workspace.tracking-expanded{inset:0;border-radius:0;padding:10px}.tracking-expanded .filter-bar{max-height:145px;overflow:auto}.tracking-expanded .fleet-map{height:34dvh;min-height:210px}.tracking-expanded .smart-table{max-height:34dvh}.truck-details-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.truck-details-dialog{padding:0 14px 14px}.truck-details-dialog h2{font-size:21px}.active-trip-data .smart-table td{padding:9px;font-size:12px}.truck-current-location>strong{font-size:16px}}

.active-trip-data .smart-table .full-fleet-table{min-width:1900px;table-layout:auto}.active-trip-data .smart-table .compact-fleet-table th:nth-child(6){width:23%}.active-trip-data .smart-table .compact-fleet-table th:nth-child(1){width:12%}.active-trip-data .smart-table .compact-fleet-table th:last-child{width:7%}
@media(max-width:700px){.active-trip-data .smart-table .compact-fleet-table{min-width:0;width:100%}.compact-fleet-table th:nth-child(2),.compact-fleet-table td:nth-child(2),.compact-fleet-table th:nth-child(3),.compact-fleet-table td:nth-child(3),.compact-fleet-table th:nth-child(4),.compact-fleet-table td:nth-child(4),.compact-fleet-table th:nth-child(7),.compact-fleet-table td:nth-child(7),.compact-fleet-table th:nth-child(8),.compact-fleet-table td:nth-child(8){display:none}.active-trip-data .smart-table .compact-fleet-table th:nth-child(1){width:27%}.active-trip-data .smart-table .compact-fleet-table th:nth-child(5){width:22%}.active-trip-data .smart-table .compact-fleet-table th:nth-child(6){width:40%}.active-trip-data .smart-table .compact-fleet-table th:last-child{width:11%}.active-trip-data .smart-table .compact-fleet-table td[data-column=location_display]{min-width:0}.table-details-button{font-size:11px;padding:5px 2px}}
/* v7.11: shared customer workspace chrome, scoped away from public/owner pages. */
.customer-portal{margin:0;background:#edf3f7}.customer-portal>header{height:60px;min-height:60px;padding:8px 18px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border-bottom:1px solid #dce6ec;position:sticky;top:0;z-index:40}.customer-portal>header .brand{gap:9px;font-size:17px}.customer-portal>header .brand img{width:40px;height:40px;object-fit:contain}.customer-portal>header .brand small{display:none}.customer-portal>header nav{display:flex;align-items:center;gap:12px}.customer-portal #identity{font-weight:750;color:#205c48;font-size:13px}.customer-portal #logout{font-size:12px}.customer-portal .workspace{max-width:none;width:auto;padding:10px 12px;margin:0}.customer-portal.portal-ready .page-heading{display:none}.customer-portal.portal-ready>footer{display:none}.customer-portal .access-strip{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:7px 12px;margin:0 0 10px;background:#fff;border:1px solid #dce7e2;border-radius:10px;min-height:38px;box-sizing:border-box}.customer-portal .access-strip h2{font-size:15px;margin:0;white-space:nowrap}.customer-portal .access-strip p{font-size:11px;margin:0;color:#547366;flex:1}.customer-portal .access-strip label{display:flex;align-items:center;gap:7px;font-size:12px;margin:0}.customer-portal .access-strip select{width:auto;max-width:200px;padding:5px 24px 5px 8px;min-height:30px;margin:0}.customer-portal #message:empty,.customer-portal #message[hidden]{display:none}.customer-portal.portal-ready #message:not(:empty){position:fixed;top:68px;right:16px;z-index:1200;width:min(480px,calc(100vw - 32px));box-sizing:border-box;box-shadow:0 8px 28px #153a4522;padding:12px 16px;font-size:13px;margin:0}.customer-portal #message.error{border-left:4px solid #dc2626}.customer-portal .customer-shell{display:grid;grid-template-columns:218px minmax(0,1fr);gap:12px;align-items:start}.customer-portal .customer-shell.compact-sidebar{grid-template-columns:54px minmax(0,1fr)}.customer-portal .customer-nav{position:sticky;top:118px;max-height:calc(100dvh - 130px);min-height:calc(100dvh - 130px);padding:10px 8px;border-radius:12px;box-sizing:border-box;overflow-y:auto;background:linear-gradient(170deg,#12394b,#16483d);scrollbar-width:thin}.customer-portal .customer-nav-brand{padding:4px 6px 8px;min-height:0;display:block;font-size:10px;letter-spacing:1.5px;color:#b4d1cb}.customer-portal .map-space-toggle{display:block;position:absolute;top:8px;right:8px;width:30px;height:28px;padding:0;margin:0;border:1px solid #ffffff30;border-radius:7px;background:#ffffff12;color:#fff;font-size:20px;line-height:1;cursor:pointer}.customer-portal .customer-nav .nav-group{display:block;background:transparent;border:0;border-radius:0;padding:0;margin:6px 0 10px}.customer-portal .customer-nav .nav-group summary{font-size:10px;letter-spacing:.6px;text-transform:uppercase;color:#afd0c6;padding:7px 7px;cursor:pointer}.customer-portal .customer-nav .nav-group button{display:flex;align-items:center;gap:8px;width:100%;min-height:35px;padding:8px;margin:3px 0;border:1px solid transparent;border-radius:8px;font-size:12px;line-height:1.25;background:transparent;text-align:left;color:#e2ece9;cursor:pointer}.customer-portal .nav-icon{flex:0 0 20px;text-align:center;font-size:16px}.customer-portal .nav-label{white-space:normal}.customer-portal .customer-nav .nav-group button:hover{background:#ffffff14}.customer-portal .customer-nav .nav-group button.selected{background:#d5f4e9;color:#114b3c;border-color:#8cd7bf;box-shadow:none}.customer-portal .customer-nav button:focus-visible{outline:2px solid #70dafa;outline-offset:1px}.customer-portal .compact-sidebar .customer-nav-brand,.customer-portal .compact-sidebar .nav-group summary,.customer-portal .compact-sidebar .nav-label{display:none}.customer-portal .compact-sidebar .customer-nav{padding:43px 5px 8px}.customer-portal .compact-sidebar .nav-group{display:block;margin:5px 0;border-bottom:1px solid #ffffff20;padding-bottom:6px}.customer-portal .compact-sidebar .nav-group button{display:flex;justify-content:center;min-height:37px;padding:7px 2px}.customer-portal .compact-sidebar .map-space-toggle{right:11px}.customer-portal .customer-panel{min-width:0;padding:0;margin:0}.customer-portal .customer-panel>h2,.customer-portal .old-register-screen>h2{font-size:20px;line-height:1.3;margin:0 0 10px;padding:9px 12px;min-height:0;background:#fff;border-radius:10px;box-sizing:border-box}.customer-portal .view-live-map .fleet-map{height:calc(100dvh - 177px);min-height:380px;max-height:none;margin:0;border-radius:12px}.customer-portal .tracking-workspace:not(.tracking-expanded) .fleet-map{height:43dvh;min-height:240px}.customer-portal .old-register-screen .session-toolbar{position:static;max-width:none;margin:0 0 8px;padding:0;display:flex;gap:6px;flex-wrap:wrap}.customer-portal .old-register-screen .session-toolbar button{padding:7px 10px;font-size:11px}.customer-portal .old-workflow-tabs{padding:5px;gap:6px;margin:8px 0;border-radius:9px}.customer-portal .old-workflow-tabs button{padding:7px 13px;font-size:12px;border-radius:7px}.customer-portal .supervisor-link-card{padding:14px}.customer-portal .old-register-screen .inline-entry,.customer-portal .old-register-screen .register-records{padding:16px}.customer-portal .credential-banner{padding:10px;margin:0 0 10px}.customer-portal .credential-banner p{margin:0 0 6px;font-size:12px}
@media(max-width:760px){.customer-portal>header{padding:7px 10px;height:54px;min-height:54px}.customer-portal>header .brand{font-size:14px}.customer-portal>header .brand img{width:34px;height:34px}.customer-portal>header nav{gap:7px}.customer-portal #identity{max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.customer-portal .workspace{padding:8px 6px}.customer-portal .access-strip{gap:5px 8px;padding:6px 8px;margin-bottom:8px}.customer-portal .access-strip h2{font-size:12px}.customer-portal .access-strip p{font-size:10px}.customer-portal .access-strip label{font-size:11px}.customer-portal .access-strip select{max-width:140px}.customer-portal .customer-shell,.customer-portal .customer-shell.compact-sidebar{grid-template-columns:46px minmax(0,1fr);gap:6px}.customer-portal .customer-nav{top:122px;max-height:calc(100dvh - 134px);min-height:calc(100dvh - 134px)}.customer-portal .compact-sidebar .map-space-toggle{right:7px}.customer-portal .customer-shell:not(.compact-sidebar) .customer-nav{position:fixed;left:6px;top:118px;bottom:8px;z-index:45;width:232px;box-shadow:20px 0 60px #12394b55;min-height:0;max-height:none}.customer-portal .customer-panel>h2{font-size:17px;padding:8px;margin-bottom:8px}.customer-portal .view-live-map .fleet-map{height:calc(100dvh - 184px);min-height:300px}.customer-portal .old-register-screen .inline-entry,.customer-portal .old-register-screen .register-records{padding:10px}.customer-portal.portal-ready #message:not(:empty){top:60px}.customer-portal .tracking-workspace.tracking-expanded{inset:0}}
@media(prefers-reduced-motion:no-preference){.customer-portal .customer-nav button{transition:background .15s,color .15s}.customer-portal .customer-nav{scroll-behavior:smooth}}
@media print{.customer-portal>header,.customer-portal .customer-nav,.customer-portal .access-strip,.customer-portal #message{display:none!important}.customer-portal .customer-shell{display:block}.customer-portal .workspace{padding:0}}

.customer-portal>header #refresh{padding:6px 9px;font-size:11px;min-height:30px;margin:0}.customer-portal:not(.portal-ready)>header #refresh{display:none}
@media(max-width:480px){.customer-portal>header #refresh{font-size:0;padding:5px 8px}.customer-portal>header #refresh::before{content:'↻';font-size:18px}.customer-portal>header #refresh{width:30px}.customer-portal #identity{max-width:85px}}
.customer-portal .customer-nav{display:block;overflow-x:hidden;z-index:30}.customer-portal .customer-nav button:hover{transform:none}.customer-portal:has(.customer-shell) .workspace{padding:10px 12px}.customer-portal .access-strip select{min-width:0}.customer-portal .access-strip label{margin-left:0}@media(max-width:760px){.customer-portal:has(.customer-shell) .workspace{padding:8px 6px}}
/* Old register behaviour: workflow-specific folders, short archives and direct actions. */
.customer-portal [hidden]{display:none!important}.customer-portal .folder-layout.folders-view-single{grid-template-columns:minmax(0,1fr)}.customer-portal .old-register-screen .register-mode-cards{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0}.customer-portal .old-register-screen .register-mode-cards button{flex:1 1 150px;padding:10px 12px;min-height:42px;font-size:12px;border-radius:10px}.customer-portal .date-folder-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:9px}.customer-portal article.date-folder{padding:10px;border-radius:10px}.customer-portal .folder-open{display:block;width:100%;padding:0 0 9px;text-align:left;border:0;background:transparent;font-size:13px;font-weight:750;color:#205c48;line-height:1.6;cursor:pointer}.customer-portal .date-folder .controls{margin:0;gap:6px}.customer-portal .date-folder .controls button{padding:6px 9px;font-size:11px;border-radius:7px}.customer-portal .folder-detail:not(:empty){padding:12px;margin-bottom:12px;background:#f1f7f3;border-radius:10px}.customer-portal .template-yellow{background:#fff200!important}.customer-portal .folder-layout>.card{padding:16px}.customer-portal .archive-more{grid-column:1/-1}.customer-portal .old-workflow-tabs{position:sticky;top:60px;z-index:10;border:1px solid #d7e5df;box-shadow:0 3px 9px #143e4010}.customer-portal .old-register-screen .session-toolbar{font-size:12px}.customer-portal .folder-layout h3{font-size:18px;margin:8px 0}.customer-portal .folder-layout p{font-size:12px;margin:8px 0}.customer-portal .folder-layout{gap:12px}
@media(max-width:760px){.customer-portal .old-workflow-tabs{top:54px}.customer-portal .date-folder-grid{grid-template-columns:1fr}.customer-portal .folder-layout>.card{padding:10px}}

/* v7.15: wide-view dots; close-view trucks share the same status colour. */
.map-truck.compact{width:28px;height:28px;display:flex;align-items:center;justify-content:center}.map-truck.compact .gps-bubble{width:9px;height:9px;flex:none;box-sizing:content-box;animation:gps-pulse 2s ease-in-out infinite}.map-truck.compact svg,.map-truck.compact .truck-number{display:none}.truck-map-popup{width:210px;max-width:65vw;border-left:3px solid var(--status-color);padding-left:9px;font:12px/1.4 Arial,sans-serif}.truck-map-popup b{font-size:13px}.truck-map-popup p{margin:5px 0}.truck-map-popup .popup-status{color:var(--status-color);font-weight:700}.truck-map-popup small{display:block;color:#596c7a;margin-top:4px}.truck-map-popup .button{font-size:11px;padding:5px 9px;margin-top:7px}@media(prefers-reduced-motion:reduce){.map-truck.compact .gps-bubble{animation:none}}

/* v7.17: Active Trips uses page scrolling and a larger map. */
.customer-portal .tracking-workspace .active-trip-data .smart-table{max-height:none;height:auto;overflow:visible}
.customer-portal .tracking-workspace .active-trip-data .smart-table table{min-width:0;width:100%;table-layout:fixed}
.customer-portal .tracking-workspace .fleet-map,.customer-portal .tracking-workspace:not(.tracking-expanded) .fleet-map{height:72dvh;min-height:480px;max-height:none}
.customer-portal .tracking-workspace .tracking-view-controls{margin:8px 0}
.customer-portal .tracking-workspace .filter-bar{padding:8px;margin:8px 0}
@media(max-width:700px){.customer-portal .tracking-workspace .fleet-map,.customer-portal .tracking-workspace:not(.tracking-expanded) .fleet-map{height:65dvh;min-height:340px}}

/* v7.18 fitted live/customer trip details; normal page scrolling. */
.customer-portal .fleet-summary-wrap{overflow:visible;max-height:none;height:auto}
.customer-portal .smart-table table.fleet-summary-table{width:100%;min-width:0;table-layout:fixed;font-size:12px}
.customer-portal .fleet-summary-table th,.customer-portal .fleet-summary-table td{white-space:normal;overflow-wrap:anywhere;padding:10px 6px;vertical-align:top}
.customer-portal .fleet-summary-table th{color:#fff;background:#155e75}
.customer-portal .fleet-summary-table th:nth-child(3n+2){background:#4338ca}
.customer-portal .fleet-summary-table th:nth-child(3n){background:#0f766e}
.customer-portal .fleet-summary-table th:first-child{width:4%}
.customer-portal .fleet-summary-table th:nth-child(6){width:auto}
.customer-portal .fleet-summary-table th:last-child{width:9%}
.customer-portal .fleet-summary-table th:nth-last-child(2){width:18%}
.customer-portal .fleet-summary-table tbody tr{background:color-mix(in srgb,var(--status-color) 7%,white);border-left:4px solid var(--status-color)}
.customer-portal .fleet-summary-table tbody tr:nth-child(even){background:color-mix(in srgb,var(--status-color) 13%,white)}
.customer-portal .fleet-summary-table tbody tr:hover{background:color-mix(in srgb,var(--status-color) 20%,white)}
.latest-location-name,.latest-location-time{display:block}.latest-location-time{margin-top:6px;color:#475569;font-size:11px}
@media(max-width:900px){.customer-portal .fleet-summary-table thead{display:none}.customer-portal .fleet-summary-table tbody,.customer-portal .fleet-summary-table tr{display:block}.customer-portal .fleet-summary-table tr{margin:10px 0;border-radius:10px;padding:8px}.customer-portal .fleet-summary-table td,.customer-portal .smart-table .compact-fleet-table.fleet-summary-table td{display:grid;grid-template-columns:38% 1fr;gap:6px;width:auto;padding:6px;border-bottom:1px solid #e2e8f0}.customer-portal .fleet-summary-table td:before{content:attr(data-label);font-weight:700;color:#334155}.customer-portal .fleet-summary-table .latest-location-time,.customer-portal .fleet-summary-table .location-name{grid-column:2}}

.customer-portal .smart-table .fleet-summary-table th:first-child{width:4%}.customer-portal .smart-table .fleet-summary-table th:nth-child(6){width:auto}.customer-portal .smart-table .fleet-summary-table th:last-child{width:9%}.customer-portal .smart-table .fleet-summary-table td.location-cell{min-width:0;width:auto}

/* v7.19 Custom Groups: compact actions and safe filtered selection. */
.custom-group-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.custom-group-controls>select{flex:1 1 230px;min-width:0}.group-select-all{display:flex;align-items:center;gap:8px;white-space:nowrap}.group-select-all input{width:18px;height:18px;margin:0}.custom-group-controls>span{font-size:13px;color:#35594d}.customer-portal .smart-table .fleet-summary-table th:nth-child(3){width:9%}.customer-portal .smart-table .fleet-summary-table td .table-truck-button{font-size:12px;overflow-wrap:normal;word-break:normal}.customer-portal .tracking-workspace,.customer-portal .active-trip-data{min-width:0;max-width:100%}

/* v7.20 shared group report: complete fitted details beneath the live map. */
.truck-page .shared-truck-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0}
.truck-page .shared-truck-details{min-width:0;padding:18px;border:1px solid #cbded5;border-left:5px solid var(--status-color);border-radius:16px;background:color-mix(in srgb,var(--status-color) 8%,white)}
.shared-truck-details h2{margin:0 0 14px;font-size:21px;color:var(--status-color)}.shared-truck-details dl{margin:0}.shared-truck-details dl>div{display:grid;grid-template-columns:38% minmax(0,1fr);gap:12px;padding:9px 0;border-bottom:1px solid #cbded577}.shared-truck-details dl>div:last-child{border-bottom:0}.shared-truck-details dt{font-weight:700;text-transform:uppercase;font-size:11px;color:#50665d;letter-spacing:.4px}.shared-truck-details dd{margin:0;text-align:right;overflow-wrap:anywhere;font-size:15px;line-height:1.4}.shared-truck-details a{color:#116851;font-weight:700}.truck-page:has(.shared-truck-list) .fleet-map{height:50dvh;min-height:300px;max-height:650px}
@media(max-width:700px){.truck-page .shared-truck-list{grid-template-columns:minmax(0,1fr)}.truck-page .shared-truck-details{padding:15px}.shared-truck-details dl>div{gap:10px;padding:11px 0}}

/* v7.21 Select All is available directly at the Custom Groups table. */
.table-select-all{display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer;line-height:1.25;font-size:11px;color:white}.table-select-all input{width:18px;height:18px;margin:0;accent-color:#16a34a}
@media(max-width:900px){.customer-portal .fleet-summary-table:has(.table-select-all) thead{display:block}.customer-portal .fleet-summary-table:has(.table-select-all) thead tr{margin:0;padding:0;border:0}.customer-portal .fleet-summary-table:has(.table-select-all) thead th{display:none}.customer-portal .fleet-summary-table:has(.table-select-all) thead th:first-child{display:block;width:auto;border-radius:10px}.table-select-all{flex-direction:row;justify-content:flex-start}}

/* v7.22 replay controls */
.replay-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.replay-controls label{display:flex;align-items:center;gap:6px}.replay-controls input[type=checkbox]{width:18px;height:18px}.replay-controls select{width:auto;max-width:100%}.replay-time{font-weight:700;color:#164e63}.replay-note{padding:10px;border-radius:10px;background:#eef6f3}.customer-portal .replay-content.fleet-map{height:65dvh;min-height:350px}

/* v7.30: fitted unloading tables and contained action controls. */
.customer-portal .customer-shell,.customer-portal .customer-panel,.customer-portal .customer-panel>div{min-width:0;max-width:100%}
.customer-portal .filter-bar{min-width:0;max-width:100%;gap:10px 12px}
.customer-portal .filter-bar label{min-width:0;flex:1 1 170px;max-width:none;display:flex;flex-direction:column;gap:4px}
.customer-portal .filter-bar label>input,.customer-portal .filter-bar label>select{min-width:0;width:100%;margin:0}
.customer-portal .smart-table .fleet-summary-table.has-inline-actions th:nth-child(1){width:4%}
.customer-portal .smart-table .fleet-summary-table.has-inline-actions th:nth-child(2){width:7%}
.customer-portal .smart-table .fleet-summary-table.has-inline-actions th:nth-child(3){width:8%}
.customer-portal .smart-table .fleet-summary-table.has-inline-actions th:nth-child(4){width:8%}
.customer-portal .smart-table .fleet-summary-table.has-inline-actions th:nth-child(5){width:9%}
.customer-portal .smart-table .fleet-summary-table.has-inline-actions th:nth-child(6){width:10%}
.customer-portal .smart-table .fleet-summary-table.has-inline-actions th:nth-child(7){width:9%}
.customer-portal .smart-table .fleet-summary-table.has-inline-actions th:nth-child(8){width:7%}
.customer-portal .smart-table .fleet-summary-table.has-inline-actions th:nth-child(9){width:9%}
.customer-portal .smart-table .fleet-summary-table.has-inline-actions th:nth-child(10){width:13%}
.customer-portal .smart-table .fleet-summary-table.has-inline-actions th:nth-child(11){width:16%}
.customer-portal .fleet-summary-table.has-inline-actions td{padding:12px 8px;line-height:1.45}
.customer-portal .fleet-summary-table .trip-actions-cell{min-width:0}
.customer-portal .fleet-summary-table .trip-actions-cell .controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0;width:100%;min-width:0}
.customer-portal .fleet-summary-table .trip-actions-cell .controls>.button{display:flex;align-items:center;justify-content:center;min-width:0;width:100%;max-width:100%;margin:0;padding:7px 5px;font-size:11px;line-height:1.3;white-space:normal;overflow-wrap:anywhere;text-align:center;border-radius:7px;box-sizing:border-box;text-decoration:none}
.customer-portal .fleet-summary-table .trip-actions-cell .controls>.danger{background:#fff1f2;color:#9f1239;border:1px solid #fecdd3}
.customer-portal .fleet-summary-table .status-badge{max-width:100%;white-space:normal;font-size:11px;line-height:1.4;padding:6px 8px}
@media(min-width:901px){.customer-portal .fleet-summary-table thead th{position:sticky;top:60px;z-index:10}}
@media(max-width:1200px) and (min-width:901px){
 .customer-portal .fleet-summary-table.has-inline-actions thead{display:none}
 .customer-portal .fleet-summary-table.has-inline-actions tbody,.customer-portal .fleet-summary-table.has-inline-actions tr{display:block}
 .customer-portal .fleet-summary-table.has-inline-actions tbody tr{margin:10px 0;padding:10px;border-radius:10px}
 .customer-portal .fleet-summary-table.has-inline-actions td{display:grid;grid-template-columns:32% minmax(0,1fr);gap:8px;width:auto;padding:8px;border-bottom:1px solid #dce6ec}
 .customer-portal .fleet-summary-table.has-inline-actions td:before{content:attr(data-label);font-weight:700;color:#334155}
 .customer-portal .fleet-summary-table.has-inline-actions .latest-location-time,.customer-portal .fleet-summary-table.has-inline-actions .location-name{grid-column:2}
}

/* v7.31: gentle multicolour customer tables. */
.customer-portal .smart-table{border-color:#dce5eb;box-shadow:0 2px 8px #27485905}
.customer-portal .fleet-summary-table th{background:#e8f0f9;color:#294459;border-bottom:1px solid #cddce7}
.customer-portal .fleet-summary-table th:nth-child(3n+2){background:#eeebf8;color:#493e68}
.customer-portal .fleet-summary-table th:nth-child(3n){background:#e5f2ec;color:#2d5548}
.customer-portal .fleet-summary-table .table-select-all{color:#294459}
.customer-portal .fleet-summary-table tbody tr{background:color-mix(in srgb,var(--status-color) 2%,white)}
.customer-portal .fleet-summary-table tbody tr:nth-child(even){background:color-mix(in srgb,var(--status-color) 4%,#f9fbfc)}
.customer-portal .fleet-summary-table tbody tr:hover{background:color-mix(in srgb,var(--status-color) 7%,white)}
.customer-portal .fleet-summary-table td{border-bottom:1px solid #e1e8ee}
.customer-portal .fleet-summary-table .trip-actions-cell .controls>.button{background:#e8f0f9;color:#315474;border:1px solid #d3e0ed;font-weight:700}
.customer-portal .fleet-summary-table .trip-actions-cell .controls>.button:nth-child(2){background:#e6f3ed;color:#2d5c49;border-color:#cfe6db}
.customer-portal .fleet-summary-table .trip-actions-cell .controls>.button:nth-child(3){background:#faf0e5;color:#765336;border-color:#eedfce}
.customer-portal .fleet-summary-table .trip-actions-cell .controls>.button:nth-child(4){background:#efebf8;color:#574478;border-color:#dfd6ed}
.customer-portal .fleet-summary-table .trip-actions-cell .controls>.button:nth-child(5){background:#e6f3f5;color:#315c68;border-color:#cfe5e9}
.customer-portal .fleet-summary-table .trip-actions-cell .controls>.button.danger{background:#fbebee;color:#8a3448;border-color:#edd3da}
.customer-portal .fleet-summary-table .trip-actions-cell .controls>.button:hover{filter:brightness(.97);box-shadow:0 2px 5px #2748590c}
.customer-portal .fleet-summary-table .trip-actions-cell .controls>.button:disabled{filter:none;box-shadow:none}
.customer-portal .table-details-button{background:#e6f3ed;color:#2d5c49}
.customer-portal .filter-bar{background:#edf3f7;border:1px solid #e1e9ef}
.customer-portal .customer-panel>.controls>.button.secondary{background:#e6f3ed;color:#2d5c49;border:1px solid #cfe6db}

/* v7.32: phone workspace uses the full screen; menu opens on demand. */
.mobile-menu-launcher{display:none}
@media(max-width:760px){
 .tm-native-app .customer-portal .customer-shell,.tm-native-app .customer-portal .customer-shell.compact-sidebar{grid-template-columns:minmax(0,1fr);gap:0}
 .tm-native-app .customer-portal .compact-sidebar .customer-nav{display:none}
 .tm-native-app .mobile-menu-launcher{display:block;position:fixed;bottom:14px;left:10px;z-index:50;border:1px solid #cfe6db;border-radius:22px;background:#e6f3ed;color:#2d5c49;padding:12px 16px;font:700 13px Arial,sans-serif;box-shadow:0 4px 15px #254b3522}
 .tm-native-app .customer-panel{padding-bottom:66px}
 .tm-native-app .customer-portal .view-live-map .fleet-map{height:calc(100dvh - 165px);min-height:340px}
 .tm-native-app .customer-portal .tracking-workspace .fleet-map{height:65dvh;min-height:340px}
 .tm-native-app .customer-portal .fleet-summary-table td{grid-template-columns:34% minmax(0,1fr);padding:9px 6px}
 .tm-native-app .customer-portal .filter-bar label{flex-basis:135px}
 .tm-native-app .customer-portal .controls>.button{min-height:40px}
 .tm-native-app .replay-controls{gap:8px}
 .tm-native-app .replay-controls .button{min-height:42px}
 .tm-native-app .replay-time{font-size:12px;line-height:1.5}
}
@media(max-width:760px){
 .tm-native-app .customer-portal>header{gap:7px;padding:7px 10px}
 .tm-native-app .customer-portal>header .brand{min-width:0;max-width:48%;gap:7px}
 .tm-native-app .customer-portal>header .brand img{width:30px;height:30px}
 .tm-native-app .customer-portal>header .brand b{font-size:12px;letter-spacing:1px}
 .tm-native-app .customer-portal>header nav{max-width:52%;min-width:0;flex-wrap:wrap;justify-content:flex-end;gap:3px 6px;line-height:1.25}
 .tm-native-app .customer-portal #identity{max-width:85px;font-size:10px}
 .tm-native-app .customer-portal>header nav a{font-size:10px}
 .tm-native-app .customer-portal>header nav .button{padding:5px 7px;font-size:10px}
}

/* Daily Operations: desktop office actions stay on the website; native app keeps the entry workspace. */
.tm-native-app .daily-operations-screen>.session-toolbar,
.tm-native-app .daily-operations-screen>.supervisor-mobile-form{display:none!important}

/* Daily loading: office records and a focused native entry form. */
.daily-loading-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.daily-loading-fields label{min-width:0;display:flex;flex-direction:column;gap:6px}.daily-loading-fields input,.daily-loading-fields select{width:100%;box-sizing:border-box;min-width:0}.daily-loading-fields input[type=checkbox]{width:22px;min-height:22px}.daily-office-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:12px 0}.daily-office-controls label{display:flex;flex-direction:column;gap:5px}.daily-record-table{overflow-x:auto;max-width:100%;background:#fff;border-radius:12px;padding:12px}.daily-record-table table{width:100%;font-size:12px}.daily-record-table th{background:#e5eef7;color:#24435a;padding:9px;white-space:nowrap}.daily-record-table td{padding:9px;border-bottom:1px solid #e0e8ed}.daily-record-table .daily-master-matched:nth-child(even){background:#eef7f2}.daily-record-table .daily-master-manual{background:#fff8e8}.daily-link-options{margin-top:16px;background:#f2f6fa;border-radius:12px}.daily-mobile-entry .card{padding:16px}.tm-native-app .daily-loading-workspace>.daily-office-records{display:none!important}.tm-native-app .daily-loading-workspace>.daily-mobile-entry{display:block!important}@media(max-width:540px){.daily-loading-fields{grid-template-columns:minmax(0,1fr)}.daily-loading-form button{width:100%;min-height:44px}.daily-office-controls>*{max-width:100%}}

.daily-record-table .daily-actions{position:sticky;right:0;min-width:128px;white-space:nowrap;background:#f3f7fa;box-shadow:-3px 0 5px #20384a12}.daily-record-table th.daily-actions{background:#e5eef7}.daily-office-controls button,.daily-actions button{border:1px solid #b7d4c6;border-radius:9px;padding:9px 12px;background:#e6f2ec;color:#205843;font-weight:600;cursor:pointer}.daily-actions button+button{margin-left:6px}.daily-actions .daily-delete{background:#fff0ed;border-color:#edc7c0;color:#994238}.daily-edit-dialog{width:min(820px,92vw);max-height:88dvh;overflow-y:auto;border:1px solid #d0dfd9;border-radius:16px;padding:12px}.daily-edit-dialog::backdrop{background:#182f3d66}.daily-edit-dialog .daily-loading-form{margin:0}.daily-edit-dialog form>button{margin:12px 8px 0 0}

/* Compact advance rows: keep dates, truck IDs and monetary values intact. */
.customer-panel .advance-date .legacy-table table{table-layout:auto;width:100%;min-width:1180px;font-size:12px}
.customer-panel .advance-date .legacy-table th,.customer-panel .advance-date .legacy-table td{padding:10px 8px;line-height:1.4;white-space:nowrap;word-break:normal;overflow-wrap:normal;width:auto;vertical-align:middle}
.customer-panel .advance-date .legacy-table th{background:#e8f0f8;color:#29465c}
.customer-panel .advance-date .legacy-table th:nth-child(3n){background:#e9f3ec}
.customer-panel .advance-date .legacy-table th:nth-child(3n+2){background:#f0ecf8}
.customer-panel .advance-date .legacy-table td[data-column=reference]{white-space:normal;min-width:145px;max-width:210px;overflow-wrap:break-word}
.customer-panel .advance-date .legacy-table td[data-column=loading_date]{min-width:85px}
.customer-panel .advance-date .legacy-table td[data-column=truck_no]{min-width:95px}
.customer-panel .advance-date .legacy-table tbody tr:nth-child(even){background:#f2f7f5}
.customer-panel .advance-date{min-width:0}
.customer-panel .advance-date .table-scroll{max-width:100%;overflow-x:auto}

/* Record tables retain complete identifiers; mobile uses labelled record cards. */
.customer-panel .legacy-table table{table-layout:auto;width:100%;min-width:1000px}
.customer-panel .legacy-table th,.customer-panel .legacy-table td{width:auto!important;white-space:nowrap;word-break:normal;overflow-wrap:normal;padding:10px 8px;font-size:12px;line-height:1.45;vertical-align:middle}
.customer-panel .legacy-table th{background:#e8f0f8;color:#29465c}
.customer-panel .legacy-table th:nth-child(3n){background:#e8f3ec}
.customer-panel .legacy-table th:nth-child(3n+2){background:#efecf7}
.customer-panel .legacy-table td[data-label=Customer],.customer-panel .legacy-table td[data-label=PARTY],.customer-panel .legacy-table td[data-column=reference]{white-space:normal;min-width:125px;max-width:200px}
.customer-panel .legacy-table tbody tr:nth-child(even),.customer-panel .legacy-table table>tr:nth-child(odd){background:#f1f7f4}
.customer-panel .legacy-table{max-width:100%;overflow-x:auto}
@media(max-width:700px){
 .customer-panel .legacy-table{overflow:visible;border:0;background:transparent}
 .customer-panel .legacy-table table,.customer-panel .advance-date .legacy-table table{display:block;min-width:0;width:100%;table-layout:auto}
 .customer-panel .legacy-table thead,.customer-panel .legacy-table table>tr:first-child{display:none}
 .customer-panel .legacy-table tbody{display:block}
 .customer-panel .legacy-table tr{display:block;margin:12px 0;padding:10px;border:1px solid #d2e1de;border-radius:12px;background:#f4f8fb}
 .customer-panel .legacy-table td,.customer-panel .advance-date .legacy-table td{display:grid;grid-template-columns:minmax(88px,34%) minmax(0,1fr);gap:10px;white-space:normal;min-width:0;max-width:none;overflow-wrap:anywhere;padding:8px 4px;border-bottom:1px solid #e0e8e5;font-size:13px;text-align:left}
 .customer-panel .legacy-table td:before{content:attr(data-label);color:#4b6472;font-weight:600}
 .customer-panel .legacy-table td:last-child{border-bottom:0}
 .customer-panel .register-records{padding:12px}
 .customer-panel .register-records .controls{display:flex;flex-wrap:wrap;gap:8px}
 .customer-panel .register-records button{padding:10px 12px;font-size:13px}
}

.customer-panel .daily-record-table table{table-layout:auto;min-width:1700px}
.customer-panel .daily-record-table td{white-space:nowrap;word-break:normal;overflow-wrap:normal}

.sim-consent-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:1050px;margin:16px 0;padding:20px;background:#f7fafb;border:1px solid #d6e4e1;border-radius:16px}.sim-consent-form .field{display:flex;flex-direction:column;gap:7px;min-width:0;margin:0}.sim-consent-form input,.sim-consent-form select{width:100%;box-sizing:border-box;min-height:44px;padding:10px 12px}.sim-consent-form small{font-size:12px;line-height:1.5;color:#496778}.sim-consent-form>.check,.sim-consent-form>button,.sim-consent-form>small,.sim-consent-form>select{grid-column:1/-1}.sim-consent-form .check input{width:20px;min-height:20px}.sim-consent-form .place-suggestions{display:grid;gap:5px}.sim-consent-form .place-choice{text-align:left;padding:10px 12px;white-space:normal;background:#e7f3ee;color:#245a48;border:1px solid #cadfd5;border-radius:8px}@media(max-width:700px){.sim-consent-form{grid-template-columns:minmax(0,1fr);padding:14px;gap:14px}}

.eway-mail-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0}.eway-mail-fields label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600;color:#315768}.eway-mail-fields input,.eway-mail-fields select{width:100%;min-width:0;box-sizing:border-box;padding:11px;border:1px solid #c7ddd5;border-radius:9px;background:#fafdfc}.eway-card>.controls{flex-wrap:wrap;gap:10px}.eway-card>small{display:block;color:#5a707b;font-size:12px;margin-bottom:12px}@media(max-width:700px){.eway-mail-fields{grid-template-columns:minmax(0,1fr)}.eway-card>.controls>*{max-width:100%;box-sizing:border-box}}
.eway-card{min-width:0}.eway-mail-preview{min-width:0;max-width:100%;margin-top:18px;padding:16px;border:1px solid #c8d3ce;border-radius:10px;background:#fff}.eway-reference-table{max-width:100%;overscroll-behavior-x:contain}.eway-reference-table table{min-width:960px}.eway-mail-preview>p{overflow-wrap:anywhere;font-size:14px;font-weight:700}@media(max-width:700px){.eway-mail-preview{padding:10px}.eway-card>.controls>.button{min-height:44px;flex:1 1 140px}}

/* v7.33: a map-first, private customer fleet workspace. */
.customer-portal .view-live-map>h2{background:transparent;padding:2px 0;margin-bottom:12px;font-size:22px;letter-spacing:-.4px;color:#173c44}
.fleet-toolbar{display:grid;grid-template-columns:minmax(180px,1fr) minmax(130px,180px) auto auto;align-items:end;gap:10px;padding:14px;background:#fff;border:1px solid #dce7e4;border-radius:14px;box-shadow:0 3px 12px #173c4405}
.fleet-toolbar label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.7px;color:#4f6870}
.fleet-toolbar input,.fleet-toolbar select{width:100%;min-width:0;min-height:44px;padding:10px 12px;border-color:#cbded8;border-radius:9px;font-size:14px;text-transform:none;letter-spacing:normal}
.fleet-toolbar .button{min-height:44px;padding:10px 13px;font-size:13px;white-space:nowrap}
.fleet-toolbar .button:disabled{cursor:default}
.fleet-meta{margin:10px 2px!important;min-height:18px;font-size:12px!important;color:#547078;line-height:1.5}
.live-fleet-grid{display:grid;grid-template-columns:248px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;grid-template-areas:'drawer map' 'selection map';gap:12px;height:calc(100dvh - 265px);min-height:510px}
.fleet-drawer{grid-area:drawer;min-width:0;min-height:0;overflow:auto;background:#fff;border:1px solid #dce7e4;border-radius:13px;scrollbar-width:thin}
.fleet-drawer>summary{position:sticky;top:0;z-index:1;cursor:pointer;padding:13px 14px;background:#fff;border-bottom:1px solid #e8efec;font-size:12px;font-weight:700;color:#244951}
.fleet-truck-list{display:grid;align-content:start;gap:7px;padding:9px}
.fleet-truck-row{display:grid;gap:5px;padding:12px!important;min-width:0;min-height:94px;background:#f8fbfa;color:#173c44;border:1px solid #e0e9e5;border-left:3px solid var(--status-color);border-radius:9px;text-align:left;font:12px/1.4 Arial,sans-serif;cursor:pointer}
.fleet-truck-row strong{font-size:14px;letter-spacing:.25px}
.fleet-row-status{font-size:10px;font-weight:700;color:var(--status-color);text-transform:uppercase;letter-spacing:.5px}
.fleet-row-destination{overflow-wrap:anywhere;color:#4b6570}
.fleet-truck-row small{font-size:10px;color:#6f8186}
.fleet-truck-row:hover{border-color:#78ad9b;background:#f0f8f4}
.fleet-truck-row[aria-pressed=true]{border-color:#14795f;background:#e9f5f0;box-shadow:0 0 0 1px #14795f}
.fleet-map-stage{grid-area:map;position:relative;min-width:0;min-height:0;border-radius:14px;overflow:hidden;border:1px solid #cedfda;background:#e7efeb;box-shadow:0 4px 16px #173c4408}
.customer-portal .view-live-map .fleet-map-stage .fleet-map{height:100%;min-height:0;max-height:none;border:0;border-radius:0;box-shadow:none}
.fleet-map-stage .gps-waiting{position:absolute;left:12px;top:12px;right:70px;margin:0;padding:12px;background:#fffffff0;border:1px solid #dbe8e2;border-radius:10px;font-size:12px;pointer-events:none;z-index:1}
.fleet-map-stage .fleet-map>p{padding:20px;max-width:450px;font-size:14px}
.fleet-empty{margin:5px;padding:12px;font-size:12px;line-height:1.6;color:#5b737b}
.fleet-selection{grid-area:selection;min-width:0;padding:14px;background:#fff;border:1px solid #c9ded5;border-top:3px solid var(--status-color);border-radius:13px;box-shadow:0 4px 15px #153f3408}
.fleet-selection-title{display:flex;align-items:center;justify-content:space-between;gap:10px}
.fleet-selection-title h3{margin:0;font-size:18px;line-height:1.3}
.fleet-selection-close{border:0;background:#edf4f0;color:#4a6a60;border-radius:8px;width:34px;min-height:34px;font-size:22px;cursor:pointer}
.fleet-selection-status{display:inline-block;color:var(--status-color);font-size:10px;font-weight:700;letter-spacing:.5px;margin-top:8px}
.fleet-selection-route{font-size:12px;margin:10px 0;line-height:1.5;overflow-wrap:anywhere}
.fleet-selection-location{font-size:12px;margin:8px 0;color:#4d6871;overflow-wrap:anywhere}
.fleet-selection>small{display:block;color:#617980;font-size:10px;line-height:1.5}
.fleet-selection-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.fleet-selection-actions .button{flex:1 1 80px;font-size:12px;padding:9px 7px;min-height:40px;border-radius:8px;white-space:nowrap}
.fleet-legend{margin-top:12px;padding:11px 14px;background:#f2f7f4;border:1px solid #dce7e2;border-radius:11px;font-size:12px;color:#536d73}
.fleet-legend summary{cursor:pointer;font-weight:700;min-height:20px}
.fleet-legend-items{display:flex;flex-wrap:wrap;gap:10px 17px;margin-top:12px}
.fleet-legend-items span{display:inline-flex;align-items:center;gap:6px;font-size:11px}
.fleet-legend-items span:before{content:'';width:8px;height:8px;border-radius:50%;background:var(--status-color)}
.fleet-legend p{margin:12px 0 0;font-size:11px;line-height:1.6}
.map-truck.small-truck{width:40px;height:44px;display:flex;align-items:center;justify-content:center}
.map-truck.small-truck svg{width:18px;height:36px;flex:none;transform-origin:50% 50%;transition:transform .45s ease-out;filter:drop-shadow(0 1px 2px #172b3955)}
.map-truck.small-truck .truck-number{top:43px;font-size:10px;font-weight:700;line-height:15px;padding:2px 5px;border-radius:5px;background:#fff;color:#173c44;box-shadow:0 2px 6px #1b4c3322;border-color:var(--truck-color)}
.map-truck.small-truck:hover .truck-number,.map-truck.small-truck:focus-visible .truck-number{box-shadow:0 0 0 2px var(--truck-color);z-index:2}
@media(min-width:761px) and (max-width:1000px){.live-fleet-grid{grid-template-columns:210px minmax(0,1fr)}.fleet-toolbar{grid-template-columns:minmax(160px,1fr) 140px auto auto;gap:7px;padding:11px}}
@media(max-width:760px){
 .customer-portal .view-live-map>h2{font-size:19px;margin:3px 0 10px;padding:0}
 .fleet-toolbar{grid-template-columns:minmax(0,1fr) auto auto;gap:8px;padding:11px}
 .fleet-search-label{grid-column:1/-1}.fleet-toolbar .fleet-status-label{grid-column:auto}.fleet-toolbar .button{padding:10px;font-size:12px}
 .fleet-toolbar input,.fleet-toolbar select{font-size:16px}.fleet-meta{font-size:11px!important;margin:9px 2px!important}
 .live-fleet-grid{height:auto;min-height:0;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(320px,64dvh) auto auto;grid-template-areas:'map' 'drawer' 'selection';gap:10px}
 .fleet-map-stage{min-height:320px}.fleet-drawer{max-height:285px}.fleet-truck-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .fleet-selection{padding:14px}.fleet-selection-actions .button{min-height:44px;flex:1;padding:11px 9px}
 .fleet-selection-close{width:44px;min-height:44px}.fleet-selection-title h3{font-size:20px}.fleet-selection>small{font-size:11px}
 .fleet-selection-route,.fleet-selection-location{font-size:13px}.fleet-legend summary{min-height:30px;padding:4px 0}
}
@media(max-width:420px){.fleet-truck-list{grid-template-columns:minmax(0,1fr)}.fleet-toolbar{gap:6px;padding:9px}.fleet-toolbar .button{padding:10px 8px;font-size:11px}.fleet-toolbar label{font-size:10px;letter-spacing:.3px}}
@media(prefers-reduced-motion:reduce){.map-truck.small-truck svg{transition:none}}

/* Compact Live Map controls reclaim the empty space above the fleet. */
@media(min-width:761px){
 .customer-portal .view-live-map>h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0;margin:0;border:0}
 .customer-portal .view-live-map .fleet-toolbar{padding:6px 9px;gap:8px;align-items:center;grid-template-columns:minmax(200px,1fr) minmax(160px,230px) auto auto;border-radius:10px}
 .customer-portal .view-live-map .fleet-toolbar label{flex-direction:row;align-items:center;gap:8px;white-space:nowrap;font-size:10px;letter-spacing:0}
 .customer-portal .view-live-map .fleet-toolbar input,.customer-portal .view-live-map .fleet-toolbar select{min-height:36px;padding:7px 9px;font-size:13px}
 .customer-portal .view-live-map .fleet-toolbar .button{min-height:36px;padding:7px 11px;font-size:12px}
 .customer-portal .view-live-map .fleet-meta{margin:5px 2px!important}
 .customer-portal .view-live-map .live-fleet-grid{height:calc(100dvh - 250px);min-height:320px;grid-template-columns:220px minmax(0,1fr);gap:8px}
}
@media(min-width:761px) and (max-width:1100px){
 .customer-portal .view-live-map .fleet-toolbar label{flex-direction:column;align-items:stretch;gap:2px}
 .customer-portal .view-live-map .fleet-toolbar{grid-template-columns:minmax(120px,1fr) 140px auto auto}
 .customer-portal .view-live-map .live-fleet-grid{grid-template-columns:190px minmax(0,1fr);height:calc(100dvh - 270px)}
}

/* Transmaster 7.45 branding and immediate consent shortcut */
.brand img{width:100px;height:60px;object-fit:contain;border-radius:8px}.hero-logo{width:min(280px,100%)}.app-landing-art{display:block;width:min(100%,260px);max-height:460px;object-fit:contain;margin:0 auto 20px;border-radius:18px}.dashboard-sim-consent{display:flex;align-items:center;gap:14px;max-width:360px;width:100%;padding:16px 20px;margin:0 0 18px;border:1px solid #b9ded0;border-radius:16px;background:linear-gradient(120deg,#e7f7ef,#edf4ff);color:#124d3a;text-align:left;cursor:pointer;box-shadow:0 6px 18px #143e4010}.dashboard-sim-consent img{width:54px;height:54px;flex:none}.dashboard-sim-consent strong{display:block;font-size:19px}.dashboard-sim-consent small{display:block;font-size:13px;color:#4e6860}.dashboard-sim-consent:focus-visible{outline:3px solid #1463a5;outline-offset:3px}.tm-native-app .brand img{width:90px!important;height:50px!important}@media(max-width:540px){.brand img{width:82px;height:50px}.dashboard-sim-consent{max-width:none;min-height:80px}.app-landing-art{max-height:380px}}
.dashboard-sim-quick{display:flex;align-items:center;gap:8px;min-height:44px;padding:6px 12px;border:1px solid #b9ded0;border-radius:12px;background:#e7f7ef;color:#124d3a;font:700 13px Arial,sans-serif;cursor:pointer}.dashboard-sim-quick img{width:32px;height:32px}.dashboard-sim-quick:focus-visible{outline:3px solid #1463a5;outline-offset:2px}

/* 7.46: larger, readable artwork in web and native app headers */
.brand img{width:140px!important;height:82px!important;flex-shrink:0;object-fit:contain}.hero-logo{width:min(360px,100%)}
.tm-native-app .brand img{width:116px!important;height:69px!important}
@media(max-width:540px){.brand img{width:116px!important;height:69px!important}.brand{gap:8px}.brand>span{display:none}}
@media(max-width:360px){.brand img,.tm-native-app .brand img{width:100px!important;height:60px!important}.brand b{font-size:16px}}

/* TM_MOBILE_COMPACT_V748_BEGIN */
@media(max-width:760px){
 .tm-native-app .customer-portal{padding:0!important}
 .tm-native-app .customer-portal>header{padding:5px 8px!important;min-height:44px;gap:6px;position:sticky;top:0;z-index:45;background:#fff}
 .tm-native-app .customer-portal>header .brand{max-width:35%;flex-shrink:0}
 .tm-native-app .customer-portal>header .brand img{width:68px!important;height:40px!important;border-radius:3px}
 .tm-native-app .customer-portal>header nav{gap:5px;flex-wrap:nowrap;max-width:65%;padding-right:0}
 .tm-native-app .customer-portal #identity{max-width:100px;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .tm-native-app .customer-portal>header nav .button{min-width:36px;min-height:36px;padding:5px;font-size:11px}
 .tm-native-app .customer-portal .access-strip{display:grid;grid-template-columns:1fr auto;gap:5px 8px;margin:0;padding:6px 8px;border-radius:0;border-left:0;border-right:0}
 .tm-native-app .access-strip>h2{font-size:13px!important;line-height:1.3;margin:0;align-self:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .tm-native-app .access-strip>p{grid-column:1/-1;margin:0;font-size:10px;line-height:1.2}
 .tm-native-app .access-strip>.dashboard-sim-quick{grid-column:2;grid-row:1;min-height:36px;gap:5px;padding:5px 8px;font-size:12px}
 .tm-native-app .access-strip>.dashboard-sim-quick img{width:24px;height:24px}
 .tm-native-app .access-strip>label{grid-column:1/-1;display:flex;align-items:center;gap:8px;font-size:11px}
 .tm-native-app .access-strip>label select{flex:1;padding:5px 8px;min-height:34px;font-size:13px}
 .tm-native-app .customer-shell{margin:0!important;gap:0!important}
 .tm-native-app .customer-panel{padding:6px 8px 10px!important;min-width:0}
 .tm-native-app .app-view-bar{display:flex;align-items:center;gap:8px;margin:0 0 6px;padding:0;min-height:38px}
 .tm-native-app .app-view-bar>strong{flex:1;font-size:16px}
 .tm-native-app .app-view-bar button{width:38px;height:38px;min-height:38px;padding:0;border-radius:9px;font-size:20px;background:#e6f3ed;border:1px solid #cfe6db}
 .tm-native-app .app-view-bar+.customer-panel>h2,.tm-native-app .app-view-bar+h2{display:none!important}
 .tm-native-app .mobile-menu-launcher{top:5px!important;right:8px!important;bottom:auto!important;left:auto!important;width:38px;height:38px;padding:0!important;border-radius:9px!important}
 .tm-native-app .customer-panel .card{padding:10px;margin:7px 0;border-radius:10px}
 .tm-native-app .customer-panel>h2{margin:0 0 8px;font-size:17px}
 .tm-native-app .customer-panel .controls{gap:6px;margin:6px 0}
 .tm-native-app .dashboard-sim-consent{min-height:0!important;padding:9px 12px;margin:0 0 8px;border-radius:10px;gap:9px}
 .tm-native-app .dashboard-sim-consent img{width:36px;height:36px}
 .tm-native-app .dashboard-sim-consent strong{font-size:15px}.tm-native-app .dashboard-sim-consent small{font-size:11px}
 .tm-native-app:has(.app-menu-button) .mobile-menu-launcher{display:none!important}
 .tm-native-app .dashboard-metrics{gap:8px;margin:8px 0;grid-template-columns:repeat(2,minmax(0,1fr))}
 .tm-native-app .metric-card{padding:10px;border-radius:10px}.tm-native-app .metric-card strong{font-size:26px}.tm-native-app .metric-card span{font-size:12px}
 .tm-native-app .customer-panel .cards{gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .tm-native-app .customer-panel .cards>.card{min-height:0;margin:0;padding:10px}
 .tm-native-app .customer-panel .sim-consent-form{gap:9px;padding:10px;margin:8px 0}
 .tm-native-app .daily-loading-fields{gap:8px}.tm-native-app .daily-loading-fields label{gap:4px}
 .tm-native-app .view-live-map .fleet-toolbar{grid-template-columns:minmax(0,1fr) auto auto;gap:5px;padding:7px;border-radius:10px}
 .tm-native-app .view-live-map .fleet-toolbar label{font-size:10px;gap:3px}
 .tm-native-app .view-live-map .fleet-toolbar input,.tm-native-app .view-live-map .fleet-toolbar select{padding:7px 8px;min-height:38px;font-size:14px}
 .tm-native-app .view-live-map .fleet-toolbar .button{min-height:38px;padding:7px 9px;font-size:11px}
 .tm-native-app .view-live-map .fleet-meta{font-size:10px!important;margin:4px 1px!important;line-height:1.35}
 .tm-native-app .view-live-map .live-fleet-grid{grid-template-rows:minmax(300px,calc(100dvh - 265px)) auto auto;gap:7px;min-height:0}
 .tm-native-app .view-live-map .fleet-map-stage{min-height:300px}
 .tm-native-app .customer-nav{position:fixed;top:48px;left:8px;bottom:8px;width:min(285px,calc(100vw - 16px));z-index:60;overflow:auto;box-shadow:0 8px 40px #0c302c66;border-radius:12px}
}
/* TM_MOBILE_COMPACT_V748_END */

/* TM_COMPLETION_REVIEW_V7485 */
.completion-notice{padding:13px 15px;border:1px solid #ddd0f2;border-radius:10px;background:#f6f1fc;color:#51386b;line-height:1.5}
.completion-list{display:grid;gap:12px}.completion-card{border:1px solid #dce4eb;border-radius:12px;background:#fff;padding:14px;min-width:0}.completion-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.completion-head h3{margin:0;color:#243e53}.completion-head strong{font-size:13px;color:#68448b}.completion-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:10px;margin:13px 0}.completion-details dt{font-size:11px;color:#627584}.completion-details dd{margin:4px 0 0;font-size:13px;font-weight:600;overflow-wrap:anywhere}.completion-error{color:#8f351f;background:#fff4ed;padding:10px;border-radius:8px}.completion-location-form{margin-top:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;background:#f5f9fc;border:1px solid #dce4eb;border-radius:10px}.completion-location-form label{display:grid;gap:5px}.completion-location-form label.check{display:flex;grid-column:1/-1;gap:8px}.completion-location-form>div{grid-column:1/-1}.completion-location-form input{width:100%;box-sizing:border-box}.completion-location-form .check input{width:auto}.completion-card .controls .button{min-height:42px}@media(max-width:600px){.completion-details{grid-template-columns:repeat(2,minmax(0,1fr))}.completion-card .controls .button{flex:1 1 145px}.completion-head strong{width:100%}.completion-location-form{grid-template-columns:1fr}.completion-details dd{font-size:12px}}

/* TM_LOGIN_CONTACT_DESIGN_START */
/* Transmaster login design 7.48.8 — scoped to public login */
.tm-login-page{margin:0;background:#edf5f4;color:#123b3b;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;min-height:100vh;overflow-x:hidden}
.tm-login-page *{box-sizing:border-box}.tm-login-page [hidden]{display:none!important}
.tm-login-page header{background:transparent;border:0;max-width:1280px;margin:auto;padding:20px 32px;display:flex;align-items:center;justify-content:space-between}.tm-login-page header .brand img{width:62px;height:62px;object-fit:contain}.tm-login-page .brand b{letter-spacing:2px}.tm-login-page .brand small{color:#567777}.tm-top-link{font-size:14px;color:#165b56;text-decoration:none;border:1px solid #bed6d0;padding:10px 16px;border-radius:24px}
.tm-login-page .login-workspace{max-width:1216px;margin:12px auto 28px;padding:0 24px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px;align-items:stretch}
.tm-login-hero{background:linear-gradient(135deg,#073f40,#0b6356);border-radius:30px;padding:42px 38px;color:#fff;position:relative;overflow:hidden;box-shadow:0 20px 60px #164f4520}.tm-login-hero:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;background:#51ecb31c;filter:blur(30px);right:-90px;top:-70px;pointer-events:none;animation:tm-glow 7s ease-in-out infinite alternate}
.tm-kicker{font-size:11px;font-weight:700;letter-spacing:3px;color:#9ce6d1;margin:0 0 22px}.tm-login-hero h2{font-size:clamp(36px,4vw,56px);line-height:1.08;letter-spacing:-2px;margin:0 0 22px;font-weight:750}.tm-login-hero h2 span{color:#8cf0c8}.tm-hero-copy{font-size:16px;line-height:1.7;color:#d0e9e1;max-width:380px}.tm-route-art{height:220px;position:relative;margin:25px -38px 20px;border-block:1px solid #ffffff16;background:#032f302c;overflow:hidden}.tm-grid{position:absolute;inset:0;background-image:linear-gradient(#ffffff06 1px,transparent 1px),linear-gradient(90deg,#ffffff06 1px,transparent 1px);background-size:30px 30px}.tm-route-svg{width:100%;height:100%}.tm-road{fill:none;stroke:#ffffff12;stroke-width:32}.tm-route-line{fill:none;stroke:#65dcae;stroke-width:3;stroke-dasharray:9 8;animation:tm-route 5s linear infinite}.tm-point{fill:#a2f1d4;stroke:#135e52;stroke-width:5}.tm-moving-truck{offset-path:path('M-20 180H130Q180 180 180 130V100Q180 60 230 60H360Q410 60 410 110V130Q410 180 460 180H620');animation:tm-drive 14s linear infinite;offset-rotate:auto}.tm-map-caption{position:absolute;bottom:12px;left:38px;font-size:11px;color:#caeee0;display:flex;align-items:center;gap:8px}.tm-dot{width:7px;height:7px;border-radius:50%;background:#8cf0c8}.tm-login-tags{display:flex;flex-wrap:wrap;gap:8px}.tm-login-tags span{padding:8px 12px;border:1px solid #ffffff26;border-radius:20px;font-size:12px;color:#e0f5ed}
.tm-login-page .login-workspace>.card{background:#fff;border:1px solid #deebe6;border-radius:30px;padding:32px;box-shadow:0 18px 50px #17463a0b;min-width:0}.tm-login-page h1{font-size:30px;letter-spacing:-1px;margin:0 0 22px}.tm-login-page .login-tabs{display:flex;gap:6px;padding:5px;background:#f0f6f4;border-radius:14px;margin-bottom:20px}.tm-login-page .login-tabs .button{flex:1;font-size:12px;padding:11px 8px;border-radius:10px;min-width:0}.tm-login-page .button{background:#0b6554;color:white;border:1px solid #0b6554;border-radius:12px;padding:13px 17px;font-weight:650;cursor:pointer;transition:background .2s,transform .2s}.tm-login-page .button:hover{background:#084c42;transform:translateY(-1px)}.tm-login-page .button.secondary{background:#f5f9f7;color:#315d53;border-color:#dce8e1}.tm-login-page .button:disabled{opacity:.55;cursor:wait;transform:none}.tm-login-page .wide{width:100%}.tm-login-page .field{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600;margin:15px 0}.tm-login-page input{width:100%;min-height:48px;border:1px solid #c8dcd4;background:#fbfdfc;border-radius:12px;padding:12px;color:#163d34;font:inherit}.tm-login-page input:focus{outline:3px solid #a9e5ce;outline-offset:1px}.tm-login-page :is(button,a):focus-visible{outline:3px solid #55b88e;outline-offset:3px}.tm-login-page #forgot{margin-top:12px;width:100%}.tm-login-page :is(#password-panel,#otp-panel)>p{font-size:13px;line-height:1.65;color:#5b736a}.tm-login-page .controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.tm-login-page .message{font-size:13px;line-height:1.5}.tm-login-page .message.error{color:#a42d2d}.tm-login-page footer{max-width:1216px;padding:0 24px 24px;margin:auto;background:transparent;border:0;display:block}.tm-contact-links{display:grid;grid-template-columns:1fr 1.5fr 1.3fr;gap:12px}.tm-contact{display:flex;align-items:center;gap:12px;text-decoration:none;color:#1b574a;padding:15px;background:#ffffffb8;border:1px solid #d9e8e0;border-radius:16px;min-width:0}.tm-contact-icon{width:38px;height:38px;flex-shrink:0;border-radius:12px;background:#e0f4e9;display:grid;place-items:center}.tm-contact-icon svg{width:20px;height:20px}.tm-contact small{display:block;font-size:11px;color:#638072;margin-bottom:3px}.tm-contact strong{display:block;font-size:12px;overflow-wrap:anywhere}.tm-contact:hover{border-color:#79bba1;background:white}
@keyframes tm-route{to{stroke-dashoffset:-85}}@keyframes tm-drive{from{offset-distance:0%}to{offset-distance:100%}}@keyframes tm-glow{to{transform:translate(-55px,75px)}}
@media(max-width:760px){.tm-login-page header{padding:12px 18px}.tm-login-page header .brand img{width:46px;height:46px}.tm-login-page .brand b{font-size:14px}.tm-top-link{padding:8px 11px;font-size:12px}.tm-login-page .login-workspace{display:flex;flex-direction:column;padding:0 14px;gap:14px;margin:6px auto 18px}.tm-login-hero{padding:24px;border-radius:22px}.tm-login-hero h2{font-size:34px;letter-spacing:-1px;margin-bottom:10px}.tm-login-hero h2 br{display:none}.tm-kicker{margin-bottom:10px}.tm-hero-copy{font-size:13px;margin:0}.tm-route-art{height:110px;margin:16px -24px 12px}.tm-map-caption{left:24px;bottom:5px;font-size:10px}.tm-login-tags span{padding:5px 9px;font-size:10px}.tm-login-page .login-workspace>.card{padding:24px 20px;border-radius:22px}.tm-login-page h1{font-size:26px;margin-bottom:14px}.tm-login-page footer{padding:0 14px 20px}.tm-contact-links{grid-template-columns:1fr}.tm-contact{padding:11px 14px}.tm-contact strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){.tm-login-page *, .tm-login-page *:after{animation:none!important;transition:none!important}.tm-moving-truck{offset-distance:45%}}

/* Contact component is shared by home and login pages. */
.tm-contact-links{width:100%;max-width:1080px;box-sizing:border-box;margin:12px auto;grid-template-columns:1fr 1.5fr 1.3fr;gap:10px}
.tm-contact{box-sizing:border-box;padding:12px 14px;border-radius:10px;background:#fff;border-color:#dce5e2;color:#284d45;text-align:left;min-height:62px}
.tm-contact-icon{width:30px;height:30px;border-radius:8px;background:#eff5f2}
.tm-contact-icon svg{display:block;width:18px!important;height:18px!important;max-width:18px!important;flex-shrink:0}
.tm-contact small{font-size:11px;color:#687c75}.tm-contact strong{font-size:12px;font-weight:600;line-height:1.5}
.contact-section{flex-wrap:wrap}.contact-section .tm-contact-links{flex:1 1 100%;margin-top:20px}
.tm-login-hero{border-radius:18px;box-shadow:none;background:linear-gradient(140deg,#183f3d,#245e53);padding:34px}
.tm-login-hero:after{display:none}.tm-login-hero h2{font-size:clamp(32px,3.5vw,46px);letter-spacing:-1px}
.tm-login-page .login-workspace>.card{border-radius:18px;box-shadow:0 8px 24px #17463a08}
.tm-route-art{height:170px;margin-inline:-34px}.tm-login-page .button:hover{transform:none}
@media(max-width:760px){.tm-contact-links{grid-template-columns:1fr;gap:8px}.tm-contact{padding:10px 12px;min-height:56px}.tm-login-hero{padding:22px}.tm-login-hero h2{font-size:30px}.tm-route-art{height:95px;margin-inline:-22px}}

/* Bright compact raised icons and clear contact hierarchy. */
.tm-contact-links{display:grid!important;gap:14px!important;width:100%;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
.tm-contact{display:flex!important;align-items:center;gap:14px!important;text-decoration:none!important;background:#fff!important;padding:16px!important;border:1px solid #dce5e2;border-radius:14px;box-shadow:0 5px 15px #153e3010}
.tm-contact-icon{display:grid!important;place-items:center;width:44px!important;height:44px!important;min-width:44px;border-radius:13px!important;color:#fff!important;position:relative;border:1px solid #ffffff66;box-shadow:inset 0 2px 2px #ffffff80,inset 0 -3px 4px #00000022,0 4px 0 #087347,0 7px 12px #19a26135;background:linear-gradient(145deg,#62f2a6,#16be68 55%,#07894c)!important}
.tm-contact:nth-child(2) .tm-contact-icon{background:linear-gradient(145deg,#79cdff,#258af2 55%,#155dcd)!important;box-shadow:inset 0 2px 2px #ffffff90,inset 0 -3px 4px #00000022,0 4px 0 #164faa,0 7px 12px #258af235}
.tm-contact:nth-child(3) .tm-contact-icon{background:linear-gradient(145deg,#c9a5ff,#9654ee 55%,#6230bc)!important;box-shadow:inset 0 2px 2px #ffffff90,inset 0 -3px 4px #00000022,0 4px 0 #522897,0 7px 12px #9654ee35}
.tm-contact-icon svg{width:24px!important;height:24px!important;max-width:24px!important;filter:drop-shadow(0 2px 1px #00000035);stroke-width:2}
.tm-contact small{display:block!important;margin-bottom:5px;font-size:12px!important;font-weight:500;color:#62776f!important}.tm-contact strong{display:block!important;font-size:13px!important;line-height:1.5;color:#193e34!important;overflow-wrap:anywhere}
.contact-section{display:block!important}.contact-section .tm-contact-links{margin-top:22px!important}
.feature-icon{color:white!important;background:linear-gradient(145deg,#4cbea5,#147566)!important;box-shadow:inset 0 2px 2px #ffffff55,0 3px 0 #0c5f53,0 6px 12px #14756620;border-radius:12px!important;font-size:24px!important;width:46px!important;height:46px!important;display:grid!important;place-items:center;padding:0!important}
@media(max-width:760px){.tm-contact-links{grid-template-columns:1fr!important}.tm-contact{padding:13px!important}.tm-contact-icon{width:40px!important;height:40px!important;min-width:40px}.tm-contact strong{font-size:12px!important}}

/* TM_LOGIN_CONTACT_DESIGN_END */

/* TM_LARGE_MAP_V7489_START */
/* Only the live-map workspace is compacted. */
.customer-portal:has(.view-live-map)>header{padding:5px 12px!important;min-height:48px!important;gap:8px}
.customer-portal:has(.view-live-map)>header .brand img{width:64px!important;height:38px!important;object-fit:contain}
.customer-portal:has(.view-live-map)>header nav{gap:7px}
.customer-portal:has(.view-live-map)>header #identity{font-size:12px;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.customer-portal:has(.view-live-map)>header #refresh{min-height:34px!important;padding:4px 8px!important}
.customer-portal:has(.view-live-map) .workspace{padding:5px 8px!important;max-width:none}
.customer-portal:has(.view-live-map) .access-strip{padding:4px 8px!important;gap:6px 10px!important;margin:0 0 5px!important;border-radius:7px!important;min-height:0!important;display:flex!important;flex-wrap:wrap;align-items:center}
.customer-portal:has(.view-live-map) .access-strip>h2{display:none!important}
.customer-portal:has(.view-live-map) .access-strip>p{font-size:10px!important;line-height:1.2!important;margin:0!important;flex:1}
.customer-portal:has(.view-live-map) .access-strip>label{display:flex!important;align-items:center!important;gap:6px!important;font-size:11px!important;margin:0!important;grid-column:auto!important}
.customer-portal:has(.view-live-map) .access-strip select{padding:4px 7px!important;min-height:30px!important;max-width:170px;font-size:12px!important}
.customer-portal:has(.view-live-map) .dashboard-sim-quick{padding:4px 8px!important;min-height:30px!important;font-size:11px!important;gap:5px!important}
.customer-portal:has(.view-live-map) .dashboard-sim-quick img{width:20px!important;height:20px!important}
.customer-portal .view-live-map{padding:0!important;min-width:0}
.customer-portal .view-live-map>h2{margin:0 0 4px!important;padding:2px 0!important;font-size:17px!important;line-height:1.3}
.customer-portal .view-live-map .app-view-bar{margin:0 0 4px!important;min-height:34px!important;gap:7px}
.customer-portal .view-live-map .app-view-bar button{width:34px!important;height:34px!important;min-height:34px!important;font-size:19px;padding:0!important}
.customer-portal .view-live-map .app-view-bar>strong{font-size:16px!important}
.customer-portal .view-live-map .app-view-bar+h2{display:none!important}
.customer-portal .view-live-map .fleet-toolbar{display:grid!important;grid-template-columns:minmax(180px,1fr) minmax(130px,190px) auto auto!important;gap:6px!important;padding:6px 8px!important;margin:0!important;border-radius:8px!important;align-items:center}
.customer-portal .view-live-map .fleet-toolbar label{font-size:10px!important;line-height:1.2!important;gap:3px!important;min-width:0;letter-spacing:0!important}
.customer-portal .view-live-map .fleet-toolbar input,.customer-portal .view-live-map .fleet-toolbar select{min-height:36px!important;height:36px!important;padding:6px 8px!important;font-size:13px!important;width:100%;margin:0!important}
.customer-portal .view-live-map .fleet-toolbar .button{min-height:36px!important;padding:6px 9px!important;font-size:11px!important;white-space:nowrap}
.customer-portal .view-live-map .fleet-meta{margin:4px 0!important;font-size:10px!important;line-height:1.3!important}
.customer-portal .view-live-map .live-fleet-grid{height:calc(100vh - 195px)!important;height:calc(100dvh - 195px)!important;min-height:320px!important;grid-template-columns:200px minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;gap:7px!important}
.customer-portal .view-live-map .fleet-map-stage{min-height:0!important;height:100%!important;border-radius:9px!important;overflow:hidden}
.customer-portal .view-live-map .fleet-map{width:100%!important;height:100%!important;min-height:0!important;border-radius:9px!important;margin:0!important}
.customer-portal .view-live-map .fleet-drawer{padding:6px 9px!important;margin:0!important;border-radius:8px!important;min-height:0!important}
.customer-portal .view-live-map .fleet-drawer>summary{padding:6px 0!important;min-height:32px!important;line-height:1.3!important;font-size:12px!important}
.customer-portal .view-live-map .fleet-legend{padding:5px 10px!important;margin:6px 0 0!important;border-radius:8px!important;min-height:0!important}
.customer-portal .view-live-map .fleet-legend>summary{padding:5px 0!important;min-height:30px!important;font-size:11px!important;line-height:1.4!important}
.customer-portal .view-live-map .fleet-legend p{margin:8px 0!important}
.customer-portal .view-live-map .fleet-selection{padding:10px!important}
@media(max-width:760px){
 .customer-portal:has(.view-live-map)>header{padding:4px 8px!important;min-height:44px!important}
 .customer-portal:has(.view-live-map)>header .brand img{width:60px!important;height:36px!important}
 .customer-portal:has(.view-live-map)>header #identity{font-size:11px!important;max-width:140px}
 .customer-portal:has(.view-live-map) .workspace{padding:4px!important}
 .customer-portal:has(.view-live-map) .access-strip{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:3px 6px!important;padding:4px 6px!important;margin-bottom:4px!important}
 .customer-portal:has(.view-live-map) .access-strip>p{grid-column:1/-1!important;grid-row:2!important;font-size:9px!important;line-height:1.2!important}
 .customer-portal:has(.view-live-map) .access-strip>label{grid-column:1!important;grid-row:1!important;font-size:10px!important}
 .customer-portal:has(.view-live-map) .access-strip select{min-height:28px!important;height:28px!important;max-width:155px;font-size:11px!important}
 .customer-portal:has(.view-live-map) .dashboard-sim-quick{grid-column:2!important;grid-row:1!important;min-height:28px!important;padding:3px 7px!important}
 .customer-portal .view-live-map .fleet-toolbar{grid-template-columns:minmax(0,1fr) auto auto!important;padding:5px 6px!important;gap:4px!important}
 .customer-portal .view-live-map .fleet-search-label{grid-column:1/-1!important;display:block!important;font-size:0!important}
 .customer-portal .view-live-map .fleet-status-label{grid-column:1!important;display:block!important;font-size:0!important}
 .customer-portal .view-live-map .fleet-toolbar input,.customer-portal .view-live-map .fleet-toolbar select{font-size:16px!important;min-height:34px!important;height:34px!important;padding:4px 7px!important}
 .customer-portal .view-live-map .fleet-toolbar .button{min-height:34px!important;height:34px!important;padding:4px 8px!important}
 .customer-portal .view-live-map .fleet-meta{font-size:9px!important;margin:3px 1px!important}
 .customer-portal .view-live-map .live-fleet-grid{height:auto!important;min-height:0!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(330px,calc(100vh - 205px)) auto auto!important;grid-template-rows:minmax(330px,calc(100dvh - 205px)) auto auto!important;grid-template-areas:'map' 'drawer' 'selection'!important;gap:5px!important}
 .customer-portal .view-live-map .fleet-drawer:not([open]){height:auto!important;max-height:none!important;padding:2px 9px!important}
 .customer-portal .view-live-map .fleet-drawer>summary{min-height:36px!important;padding:9px 0!important;margin:0!important;border:0!important}
 .customer-portal .view-live-map .fleet-drawer[open]{max-height:260px!important;overflow:auto}
 .customer-portal .view-live-map .fleet-legend{padding:2px 9px!important;margin-top:5px!important}
 .customer-portal .view-live-map .fleet-legend>summary{min-height:36px!important;padding:9px 0!important}
}
/* TM_LARGE_MAP_V7489_END */
/* TM_APP_LANDING_V74816_START */
.tm-app-header,.tm-app-shortcuts,.tm-app-menu-scrim{display:none}
.tm-native-app .tm-app-landing{--tm-app-header-height:60px;--tm-app-bottom-height:66px;--tm-app-dock-inset:0px;background:linear-gradient(145deg,#f3faf7,#f4f7ff 65%,#fcf6ff);margin:0;font-size:14px;overflow-x:hidden}
.tm-native-app .tm-app-landing>header,.tm-native-app .tm-app-landing>footer,.tm-native-app .tm-app-landing .page-heading,.tm-native-app .tm-app-landing .access-strip,.tm-native-app .tm-app-landing .mobile-menu-launcher,.tm-native-app .tm-app-landing .app-menu-button{display:none!important}
.tm-native-app .tm-app-landing .workspace{padding:0 6px!important;max-width:none;min-height:0!important;margin:0!important}
.tm-native-app .tm-app-landing #content{overflow-wrap:normal}
.tm-native-app .tm-app-landing .tm-app-header{display:flex!important;align-items:center;gap:6px;position:sticky;top:0;z-index:85;min-height:60px!important;padding:6px 8px!important;margin:0 -6px 6px!important;border-radius:0 0 18px 18px;background:linear-gradient(110deg,#fff1ca,#dcf7e8 36%,#ddf3fc 70%,#eee4fd);border:0;border-bottom:1px solid #d4e5ea;box-shadow:0 4px 12px #29465b12}
.tm-native-app .tm-app-landing .tm-app-brand{display:flex;align-items:center;gap:6px;flex:1;min-width:0}
.tm-native-app .tm-app-landing .tm-app-brand img{width:48px;height:46px;object-fit:contain;flex:0 0 48px;mix-blend-mode:multiply}
.tm-native-app .tm-app-landing .tm-app-brand>div{min-width:0;display:grid;gap:3px;line-height:1.2;overflow:hidden}
.tm-native-app .tm-app-landing .tm-app-brand b{font-size:clamp(14px,4.7vw,19px)!important;letter-spacing:.015em!important;color:#183e56;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;word-break:normal!important}
.tm-native-app .tm-app-landing .tm-app-customer{font-size:10.5px;font-weight:600;color:#365b70;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tm-native-app .tm-app-landing .tm-app-head-button,.tm-native-app .tm-app-landing .tm-app-account>summary{display:grid;place-items:center;width:44px;height:44px;min-height:44px!important;min-width:44px;padding:9px!important;margin:0!important;border-radius:13px;border:1px solid #ffffff;background:linear-gradient(145deg,#fff,#e1eeff);color:#285e99;box-shadow:inset 0 2px 1px #fff,0 3px 0 #c2d7e8,0 5px 9px #24486812;flex:0 0 44px;cursor:pointer;list-style:none}
.tm-native-app .tm-app-landing .tm-app-icon{display:inline-flex;width:20px;height:20px;align-items:center;justify-content:center;flex:0 0 20px;filter:drop-shadow(0 2px 0 #fff)}
.tm-native-app .tm-app-landing .tm-app-icon svg{width:20px;height:20px;display:block}
.tm-native-app .tm-app-landing .tm-app-bell{background:linear-gradient(145deg,#fffdf4,#ffe8ab)!important;color:#9a6210!important;box-shadow:inset 0 2px 1px #fff,0 3px 0 #e6c878,0 5px 9px #694e2810}
.tm-native-app .tm-app-landing .tm-app-account{position:relative;flex:0 0 44px;margin:0;padding:0;border:0;min-width:0}
.tm-native-app .tm-app-landing .tm-app-account>summary{background:linear-gradient(145deg,#fff,#e6d8ff);color:#7952af;box-shadow:inset 0 2px 1px #fff,0 3px 0 #d0bde8,0 5px 9px #654b8010}
.tm-app-account>summary::-webkit-details-marker{display:none}
.tm-native-app .tm-app-landing .tm-app-account-card,.tm-native-app .tm-app-landing .tm-app-notification-card{position:absolute;right:8px;top:calc(100% + 8px);width:min(284px,calc(100vw - 24px));max-height:calc(100dvh - 170px);overflow:auto;background:linear-gradient(145deg,#fff,#f6f5ff);color:#243d55;border:1px solid #d7e0ee;border-radius:16px;padding:13px;box-shadow:0 12px 35px #26375426;z-index:90;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.tm-native-app .tm-app-landing .tm-app-account-card{right:0}
.tm-native-app .tm-app-landing .tm-app-account-card p,.tm-native-app .tm-app-landing .tm-app-notification-card p{font-size:12px;line-height:1.45;margin:7px 0}
.tm-native-app .tm-app-landing .tm-app-account-card button,.tm-native-app .tm-app-landing .tm-app-popover-action{display:block;width:100%;min-height:44px;padding:8px;text-align:left;border:1px solid #d9e7ee;border-radius:10px;background:#eaf4f5;color:#244f68;font-weight:600;margin-top:7px}
.tm-native-app .tm-app-landing .tm-app-notice{display:grid;gap:3px;padding:9px 0;border-bottom:1px solid #dfe7f0}.tm-native-app .tm-app-landing .tm-app-notice small{color:#566b80}
.tm-native-app .tm-app-landing .customer-shell,.tm-native-app .tm-app-landing .customer-shell.compact-sidebar{display:block!important;margin:0!important;gap:0!important}
.tm-native-app .tm-app-landing .customer-panel{padding:0 0 calc(var(--tm-app-bottom-height) + 12px + var(--tm-app-dock-inset,0px))!important;min-width:0;margin:0!important;scroll-padding-bottom:110px}
.tm-native-app .tm-app-landing .customer-panel>h2{font-size:17px!important;line-height:1.25;padding:8px 10px!important;margin:0 0 7px!important;border-radius:11px!important;background:linear-gradient(110deg,#edf9f2,#f1edff)}
.tm-native-app .tm-app-landing .app-view-bar{min-height:34px!important;margin:0 0 5px!important;font-size:13px}
.tm-native-app .tm-app-landing .app-view-bar~h2{display:none!important}
.tm-native-app .tm-app-landing .customer-panel .card{padding:13px;margin-bottom:10px;border-radius:13px}
.tm-native-app .tm-app-landing .dashboard-metrics{gap:8px;margin:10px 0}.tm-native-app .tm-app-landing .metric-card{padding:12px}
.tm-native-app .tm-app-landing .filter-bar{gap:7px;margin:7px 0;padding:9px;background:linear-gradient(120deg,#edf8f4,#edf2ff)}
/* Explicit opaque text and surfaces replace the inherited dark-menu palette. */
.tm-native-app .tm-app-landing .customer-shell:not(.compact-sidebar) .customer-nav{display:block!important;position:fixed!important;left:6px!important;top:calc(var(--tm-app-header-height) + 6px)!important;bottom:calc(var(--tm-app-bottom-height) + 6px + var(--tm-app-dock-inset,0px))!important;width:min(310px,calc(100vw - 12px))!important;min-height:0!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;padding:12px!important;z-index:75!important;border:1px solid #d3e2e9;border-radius:16px;background:#f7fafc!important;box-shadow:0 12px 36px #29475b30;opacity:1!important;color:#25435b!important;scrollbar-width:thin}
.tm-native-app .tm-app-landing .compact-sidebar .customer-nav{display:none!important}
.tm-native-app .tm-app-landing .customer-nav-brand,.tm-native-app .tm-app-landing .map-space-toggle{display:none!important}
.tm-native-app .tm-app-landing .customer-nav .nav-group{display:block!important;margin:7px 0 10px!important;padding:4px!important;border:1px solid #dfe7f0!important;border-radius:12px!important;background:#fff!important;color:#334f6b!important;opacity:1!important}
.tm-native-app .tm-app-landing .customer-nav .nav-group summary{display:list-item!important;padding:8px 7px!important;font-size:11px!important;letter-spacing:.035em;color:#3e6374!important;opacity:1!important;text-transform:uppercase;font-weight:700}
.tm-native-app .tm-app-landing .customer-nav .nav-group button{display:flex!important;align-items:center;gap:8px;width:100%;min-height:44px;padding:10px!important;margin:3px 0!important;background:#f0f5fc!important;color:#25465f!important;opacity:1!important;border:1px solid #e1e9f3!important;border-radius:10px!important;font-size:13px!important;line-height:1.3!important;box-shadow:none!important;transform:none!important;text-shadow:none!important}
.tm-native-app .tm-app-landing .customer-nav .nav-group:nth-of-type(even) button{background:#f3f0fb!important}
.tm-native-app .tm-app-landing .customer-nav .nav-group button.selected{background:#d7f4e8!important;border-color:#87cdbb!important;color:#155b46!important;box-shadow:inset 3px 0 #2b9a7b!important}
.tm-native-app .tm-app-landing .customer-nav .nav-label{display:inline!important;color:inherit!important;opacity:1!important;white-space:normal}
.tm-native-app .tm-app-landing .customer-nav .nav-icon{color:inherit!important;opacity:1!important}
.tm-native-app .tm-app-landing .tm-app-workflow-filter{display:grid;gap:6px;padding:9px;margin:0 0 9px;background:linear-gradient(110deg,#e4f6ef,#eee8fb);border:1px solid #d5e4e8;border-radius:12px;color:#2d5369;font-size:12px;font-weight:700}
.tm-native-app .tm-app-landing .tm-app-workflow-filter select{width:100%;min-height:40px;padding:7px;background:white;color:#2b4b60;font-size:13px;max-width:none}
.tm-native-app .tm-app-landing .tm-app-menu-scrim{display:block;position:fixed;inset:var(--tm-app-header-height) 0 calc(var(--tm-app-bottom-height) + var(--tm-app-dock-inset,0px));z-index:70;background:#263d552e;border:0;border-radius:0;margin:0;padding:0;cursor:pointer}
.tm-native-app .tm-app-landing.tm-app-map .app-view-bar,.tm-native-app .tm-app-landing.tm-app-map .view-live-map>h2{display:none!important}
.tm-native-app .tm-app-landing .view-live-map .fleet-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;gap:5px!important;background:linear-gradient(115deg,#eef9f6,#edf1ff);border:1px solid #d9e5ee;border-radius:12px!important;padding:6px!important;margin:0!important}
.tm-native-app .tm-app-landing .view-live-map .fleet-search-label{grid-column:1/-1!important;display:block!important;font-size:0!important;margin:0!important;min-width:0}
.tm-native-app .tm-app-landing .view-live-map .fleet-search-label input{width:100%;min-height:36px!important;height:36px!important;padding:7px 10px!important;border:1px solid #cfdfeb;background:white;border-radius:9px!important;font-size:12px!important;margin:0!important}
.tm-native-app .tm-app-landing .view-live-map .fleet-status-label{font-size:0!important;min-width:0!important;margin:0!important}
.tm-native-app .tm-app-landing .view-live-map .fleet-status-label select,.tm-native-app .tm-app-landing .view-live-map .fleet-toolbar .button{min-height:34px!important;height:34px!important;margin:0!important;padding:5px 7px!important;font-size:11px!important;line-height:1.2!important}
.tm-native-app .tm-app-landing .view-live-map .fleet-meta{font-size:10px!important;line-height:1.3!important;margin:4px 1px!important}
.tm-native-app .tm-app-landing .view-live-map .live-fleet-grid{display:block!important;position:relative;min-height:0!important;margin:0!important}
.tm-native-app .tm-app-landing .view-live-map .fleet-map-stage{height:calc(100vh - 254px)!important;height:max(180px,calc(100dvh - var(--tm-app-header-height) - 194px - var(--tm-app-dock-inset,0px)))!important;min-height:180px!important;border-radius:13px;overflow:hidden;border:1px solid #d8e4ec}
.tm-native-app .tm-app-landing .view-live-map .fleet-map{height:100%!important;min-height:0!important;border-radius:13px;margin:0!important}
.tm-native-app .tm-app-landing .view-live-map .fleet-drawer{display:none!important}
.tm-native-app .tm-app-landing .view-live-map .fleet-selection:not([hidden]){position:absolute;z-index:12;left:7px;right:7px;bottom:8px;max-height:40dvh;overflow:auto;background:#fff;border-radius:12px;border:1px solid #d7e4ec;box-shadow:0 5px 20px #18354820}
.tm-native-app .tm-app-landing .view-live-map .fleet-legend{padding:3px 7px!important;min-height:24px!important;margin:3px 0 0!important;font-size:10px;background:#eef5f7;border-radius:8px!important}
/* A single connected dock: two rectangles meeting the centre circle. */
.tm-native-app .tm-app-landing .tm-app-shortcuts{display:grid!important;position:fixed;left:0;right:0;bottom:0;z-index:80;grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr);align-items:center;gap:0;height:66px;min-height:66px;padding:4px 12px!important;margin:0;border:0;border-top:1px solid #d5e3ed;border-radius:18px 18px 0 0;background:linear-gradient(115deg,#eefbf4,#f4f2ff 52%,#fff3e6);box-shadow:0 -4px 20px #29445d14}
.tm-native-app .tm-app-landing .tm-app-shortcut{display:flex;justify-content:center;align-items:center;gap:6px;width:100%;height:48px;min-height:48px;padding:5px 8px!important;margin:0;border:1px solid #bfe7da;border-radius:13px 0 0 13px;background:linear-gradient(145deg,#f0fff7,#c8efdd);color:#17664f;font-size:11px;font-weight:700;line-height:1.2;box-shadow:inset 0 2px 1px #fff,0 2px 0 #bedfcf}
.tm-native-app .tm-app-landing .tm-app-shortcut-sim{width:calc(100% + 12px);padding-right:15px!important;justify-self:start}
.tm-native-app .tm-app-landing .tm-app-shortcut-map{width:calc(100% + 12px);padding-left:15px!important;justify-self:end;border-radius:0 13px 13px 0;background:linear-gradient(145deg,#fff9e9,#ffe2be);color:#8c5925;border-color:#efceaa;box-shadow:inset 0 2px 1px #fff,0 2px 0 #e6c9a3}
.tm-native-app .tm-app-landing .tm-app-shortcut-main{position:relative;z-index:1;display:grid;justify-items:center;align-content:center;gap:3px;width:58px;height:58px;min-height:58px;padding:4px!important;border-radius:50%!important;border:1px solid #c9c5f0;background:linear-gradient(135deg,#e3f1ff,#e0d0fc);color:#544a9d;font-size:9px;box-shadow:inset 0 2px 2px #fff,0 3px 0 #c8c0e7,0 4px 10px #7764a51a}
.tm-native-app .tm-app-landing .tm-app-shortcut .tm-app-icon,.tm-native-app .tm-app-landing .tm-app-shortcut .tm-app-icon svg{width:22px;height:22px}
.tm-native-app .tm-app-landing .tm-app-current{box-shadow:inset 0 -3px #4b9589, inset 0 2px 1px #fff}
.tm-native-app .tm-app-landing .tm-app-workflow-popup{position:fixed;z-index:86;bottom:74px;left:50%;transform:translateX(-50%);width:min(290px,calc(100vw - 24px));max-height:45dvh;overflow:auto;overscroll-behavior:contain;display:grid;gap:5px;padding:8px;border:1px solid #d5dcef;border-radius:15px;background:linear-gradient(135deg,#f9fcff,#f5efff);box-shadow:0 10px 30px #29445d30}
.tm-native-app .tm-app-landing .tm-app-workflow-choice{min-height:44px;padding:10px 12px;border:1px solid #dce5f0;border-radius:10px;background:#fff;color:#365270;font-size:13px;text-align:left}
.tm-native-app .tm-app-landing .tm-app-workflow-choice[aria-pressed=true]{background:#dfecfb;color:#304d83;border-color:#a7bfdf;font-weight:700}
/* Active Trips keeps every filter in one compact popover beside Full view. */
.tm-native-app .tm-app-landing .tracking-view-controls{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px 8px;margin:5px 0 7px!important;align-items:center}
.tm-native-app .tm-app-landing .tracking-view-controls>button{min-height:40px!important;padding:7px 10px!important;margin:0!important;font-size:12px!important;border-radius:10px!important;line-height:1.2}
.tm-native-app .tm-app-landing .tracking-view-controls>span{grid-column:1/-1;grid-row:2;margin:0!important;font-size:10px;line-height:1.2;color:#446578}
.tm-native-app .tm-app-landing .tm-active-filters{grid-column:2;grid-row:1;min-width:0;border:0;margin:0;padding:0}
.tm-native-app .tm-app-landing .tm-active-filters>summary{display:flex;justify-content:center;align-items:center;min-height:40px;padding:7px;border:1px solid #cfdcf0;border-radius:10px;background:linear-gradient(120deg,#e8f5fc,#eee7fc);color:#355676;font-size:12px;font-weight:700;cursor:pointer;list-style:none}
.tm-active-filters>summary::-webkit-details-marker{display:none}
.tm-native-app .tm-app-landing .tm-active-filter-popover{position:absolute;top:46px;right:0;left:0;z-index:64;max-height:48dvh;overflow:auto;background:#f9fcff;border:1px solid #d5e2ed;border-radius:13px;box-shadow:0 8px 25px #29445d25;padding:8px}
.tm-native-app .tm-app-landing .tm-active-filter-popover .filter-bar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));max-height:none!important;overflow:visible!important;margin:0!important;gap:8px;padding:8px!important}
.tm-native-app .tm-app-landing .tm-active-filter-popover .filter-bar>label{display:grid;gap:4px;min-width:0;max-width:none;font-size:11px;margin:0}
.tm-native-app .tm-app-landing .tm-active-filter-popover .filter-bar>label:first-child{grid-column:1/-1}
.tm-native-app .tm-app-landing .tm-active-filter-popover :is(input,select){min-width:0;width:100%;font-size:12px;min-height:40px;padding:7px}
.tm-native-app .tm-app-landing .tm-active-filter-actions{display:flex;justify-content:flex-end;gap:7px;padding:7px 2px 0}
.tm-native-app .tm-app-landing .tm-active-filter-actions button{min-height:40px;font-size:12px;padding:7px 10px}
.tm-native-app .tm-app-landing .tracking-workspace .fleet-map{height:max(240px,calc(100dvh - var(--tm-app-header-height) - 174px))!important;min-height:240px!important;max-height:none!important;margin:0 0 6px!important;border-radius:13px}
.tm-native-app .tm-app-landing .tracking-workspace.tracking-expanded{position:fixed!important;inset:var(--tm-app-header-height) 0 66px!important;z-index:60!important;overflow:auto!important;padding:6px!important;background:#f4f8fc;border-radius:0}
.tm-native-app .tm-app-landing button:focus-visible,.tm-native-app .tm-app-landing summary:focus-visible{outline:3px solid #427ca9!important;outline-offset:2px}
.tm-native-app .tm-app-landing [hidden]{display:none!important}
@media(hover:hover){.tm-native-app .tm-app-landing .tm-app-shortcut:hover,.tm-native-app .tm-app-landing .tm-app-head-button:hover{filter:brightness(1.04);transform:translateY(-2px)}}
@media(prefers-reduced-motion:no-preference){.tm-native-app .tm-app-landing :is(button,summary){transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.tm-native-app .tm-app-landing .tm-app-shortcut:active,.tm-native-app .tm-app-landing .tm-app-head-button:active{transform:translateY(2px);box-shadow:inset 0 2px 4px #344b6514}.tm-native-app .tm-app-landing .customer-nav,.tm-native-app .tm-app-landing .tm-app-account[open] .tm-app-account-card{animation:tm-smart-reveal .18s ease-out}@keyframes tm-smart-reveal{from{opacity:.6;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}
@media(max-width:340px){.tm-native-app .tm-app-landing .tm-app-header{gap:3px;padding-inline:5px!important}.tm-native-app .tm-app-landing .tm-app-brand img{width:34px;flex-basis:34px}.tm-native-app .tm-app-landing .tm-app-customer{font-size:9px}.tm-native-app .tm-app-landing .tm-app-brand b{font-size:14px!important}}
/* TM_APP_LANDING_V74816_END */
/* TM_REPLAY_V74817_START */
.replay-history-note{font-size:12px;line-height:1.4;margin:4px 0 7px;color:#415e71}
.replay-history-tools{display:flex;gap:7px;margin-bottom:7px;align-items:center}.replay-history-tools input{flex:1;min-width:0}.replay-history-tools button{white-space:nowrap}
.replay-hero-truck svg{transition:none!important}
.tm-native-app .tm-app-landing .view-replay-history>select{min-height:40px;padding:7px;font-size:12px;margin-bottom:6px}
.tm-native-app .tm-app-landing .replay-history-note{font-size:10px;margin:3px 0 6px}
.tm-native-app .tm-app-landing .replay-history-tools input{min-height:38px;padding:7px 9px;font-size:12px}
.tm-native-app .tm-app-landing .replay-history-tools button{padding:6px;font-size:10px;min-height:38px}
.tm-native-app .tm-app-landing .replay-controls{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:0!important}
.tm-native-app .tm-app-landing .replay-controls button,.tm-native-app .tm-app-landing .replay-controls select{min-height:38px!important;margin:0!important;padding:7px!important;font-size:12px!important;width:auto;line-height:1.2}
.tm-native-app .tm-app-landing .replay-controls label{font-size:11px;display:flex;align-items:center;gap:4px;margin:0}.tm-native-app .tm-app-landing .replay-controls input[type=checkbox]{width:18px;height:18px;margin:0}
.tm-native-app .tm-app-landing .replay-content>input[type=range]{padding:0;margin:6px 0;min-height:24px}
.tm-native-app .tm-app-landing .replay-time{font-size:10px;line-height:1.3;margin:4px 0}
.tm-native-app .tm-app-landing .view-replay-history .fleet-map{height:max(280px,calc(100dvh - 380px))!important;min-height:280px!important;margin-top:6px}
/* TM_REPLAY_V74817_END */

/* TM_HEADER_COLOURS_START */
:root {
  --tm-brand-surface: linear-gradient(110deg, #cce7ff 0%, #ddd3ff 33%, #ffe1d3 67%, #ccefe0 100%);
}
:is(header, .header, .topbar, .top-bar, .site-header, .portal-header, .app-header):has(img:is([src*="brand-logo"], [alt*="Transmaster" i])),
.tm-app-header {
  background-color: #dce6f8 !important;
  background-image: var(--tm-brand-surface) !important;
  color: #123b4a;
  border-bottom: 1px solid #b7cedb;
}
/* TM_HEADER_COLOURS_END */
/* TM_FINAL_ICON_START */
:root {
  --tm-brand-surface: linear-gradient(110deg, #cce7ff 0%, #ddd3ff 33%, #ffe1d3 67%, #ccefe0 100%);
}
body {
  background-color: #eef3fb;
  background-image: linear-gradient(125deg, #e9f3ff 0%, #f0eafa 48%, #e6f5ee 100%);
  background-attachment: fixed;
}
/* Restrict the stronger pastel surface to headers that contain the brand. */
:is(header, .header, .topbar, .top-bar, .site-header, .portal-header, .app-header):has(img:is([src*="brand-logo"], [alt*="Transmaster" i])),
.tm-app-header {
  background-color: #dfeafa !important;
  background-image: var(--tm-brand-surface) !important;
  border-bottom: 1px solid #c8d8e7;
}
img[src*="brand-logo"],
:is(header, .header, .topbar, .top-bar, .site-header, .portal-header, .app-header) img[alt*="Transmaster" i],
.tm-app-brand img {
  object-fit: contain;
  mix-blend-mode: normal !important;
  filter: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
:is(header, .header, .topbar, .top-bar, .site-header, .portal-header, .app-header) img:is([src*="brand-logo"], [alt*="Transmaster" i]) {
  height: 56px !important;
  width: 56px !important;
  max-width: 56px;
  flex-shrink: 0;
}
.tm-app-brand img {
  height: 48px !important;
  width: 48px !important;
  flex: 0 0 48px !important;
}
@media (max-width: 600px) {
  :is(header, .header, .topbar, .top-bar, .site-header, .portal-header, .app-header) img:is([src*="brand-logo"], [alt*="Transmaster" i]) {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px;
  }
}
/* TM_FINAL_ICON_END */


/* Active Trips: presentation only. Keep existing columns, status colours and actions. */
.customer-portal .tracking-workspace .active-trip-data .fleet-summary-wrap{
 border:1px solid #cbdde5;border-radius:12px;background:#fff;box-shadow:0 4px 16px #183d5010;
}
.customer-portal .tracking-workspace .active-trip-data .fleet-summary-table thead th{
 background:#174b60;color:#fff;font-weight:700;font-size:12px;line-height:1.45;
 padding:14px 12px;border-right:1px solid #ffffff24;border-bottom:2px solid #58b8b0;
 text-align:left;letter-spacing:.15px;word-break:normal;overflow-wrap:normal;
}
.customer-portal .tracking-workspace .active-trip-data .fleet-summary-table tbody tr{
 background:#fff;border-left:4px solid var(--status-color,#16816a);
}
.customer-portal .tracking-workspace .active-trip-data .fleet-summary-table tbody tr:nth-child(even){background:#f3f8fb}
.customer-portal .tracking-workspace .active-trip-data .fleet-summary-table tbody tr:hover,
.customer-portal .tracking-workspace .active-trip-data .fleet-summary-table tbody tr:focus-within{background:#eaf5f8}
.customer-portal .tracking-workspace .active-trip-data .fleet-summary-table td{
 color:#203f50;font-size:13px;line-height:1.55;padding:13px 12px;vertical-align:top;
 border-bottom:1px solid #dce8ee;border-right:1px solid #e9f0f4;word-break:normal;overflow-wrap:break-word;
}
.customer-portal .tracking-workspace .active-trip-data .fleet-summary-table td:last-child,
.customer-portal .tracking-workspace .active-trip-data .fleet-summary-table th:last-child{border-right:0}
.customer-portal .tracking-workspace .active-trip-data .fleet-summary-table td[data-column=truck_no] .table-truck-button{
 padding:3px 0;font-size:13px;font-weight:800;color:#08665d;white-space:nowrap;
}
.customer-portal .tracking-workspace .active-trip-data .fleet-summary-table .status-badge{
 padding:6px 9px;border-radius:7px;line-height:1.35;font-size:11px;letter-spacing:.25px;
}
.customer-portal .tracking-workspace .active-trip-data .fleet-summary-table .latest-location-name{display:block;color:#234b60;line-height:1.55}
.customer-portal .tracking-workspace .active-trip-data .fleet-summary-table .latest-location-time{
 display:block;margin-top:7px;font-size:11px;line-height:1.45;font-weight:600;color:#607b8b;
}
.customer-portal .tracking-workspace .active-trip-data .fleet-summary-table .table-details-button{
 background:#e5f0f7;color:#195471;border:1px solid #c9dfeb;border-radius:8px;
 padding:7px 10px;font-size:12px;line-height:1.4;white-space:nowrap;
}
.customer-portal .tracking-workspace .active-trip-data .fleet-summary-table .table-details-button:hover{background:#d7eaf4}
@media(min-width:901px){
 .customer-portal .tracking-workspace .active-trip-data .fleet-summary-wrap{overflow-x:auto}
 .customer-portal .tracking-workspace .active-trip-data .fleet-summary-table{min-width:1320px;width:100%;table-layout:fixed}
 .customer-portal .tracking-workspace .active-trip-data .fleet-summary-table th:nth-child(1){width:3%}
 .customer-portal .tracking-workspace .active-trip-data .fleet-summary-table th:nth-child(2){width:7%}
 .customer-portal .tracking-workspace .active-trip-data .fleet-summary-table th:nth-child(3){width:8%}
 .customer-portal .tracking-workspace .active-trip-data .fleet-summary-table th:nth-child(4){width:8%}
 .customer-portal .tracking-workspace .active-trip-data .fleet-summary-table th:nth-child(5){width:11%}
 .customer-portal .tracking-workspace .active-trip-data .fleet-summary-table th:nth-child(6){width:11%}
 .customer-portal .tracking-workspace .active-trip-data .fleet-summary-table th:nth-child(7){width:9%}
 .customer-portal .tracking-workspace .active-trip-data .fleet-summary-table th:nth-child(8){width:7%}
 .customer-portal .tracking-workspace .active-trip-data .fleet-summary-table th:nth-child(9){width:9%}
 .customer-portal .tracking-workspace .active-trip-data .fleet-summary-table th:nth-child(10){width:20%}
 .customer-portal .tracking-workspace .active-trip-data .fleet-summary-table th:nth-child(11){width:7%}
 .customer-portal .tracking-workspace .active-trip-data .fleet-summary-table td:is([data-column=serial_no],[data-column=loading_date],[data-column=driver_mobile],[data-column=eway_bill_no],[data-column=expiry_date]){white-space:nowrap;font-variant-numeric:tabular-nums}
}


/* Keep the header in normal table flow so it cannot cover the first loading. */
.customer-portal .tracking-workspace .active-trip-data .fleet-summary-table thead th{
 position:static;top:auto;z-index:auto;color:#203f50;border-right:1px solid #d3e0e9;
}
.customer-portal .tracking-workspace .active-trip-data .fleet-summary-table thead th:nth-child(4n+1){background:#dcecfb;color:#1e4d72;border-bottom-color:#80b6df}
.customer-portal .tracking-workspace .active-trip-data .fleet-summary-table thead th:nth-child(4n+2){background:#ece5fa;color:#554377;border-bottom-color:#b29bd9}
.customer-portal .tracking-workspace .active-trip-data .fleet-summary-table thead th:nth-child(4n+3){background:#ddf2e8;color:#235e4c;border-bottom-color:#7fc5a7}
.customer-portal .tracking-workspace .active-trip-data .fleet-summary-table thead th:nth-child(4n+4){background:#fff0da;color:#795326;border-bottom-color:#e4bb7b}
.customer-portal .tracking-workspace .active-trip-data .fleet-summary-table td[data-column=serial_no]{text-align:center;font-weight:800;color:#245875;background:#edf4fb}
@media(min-width:901px){
 .customer-portal .tracking-workspace .active-trip-data .fleet-summary-table th:nth-child(1){width:4%;text-align:center}
 .customer-portal .tracking-workspace .active-trip-data .fleet-summary-table th:nth-child(10){width:19%}
}


/* Replay only: high-contrast truck and a larger road canvas. */
.map-truck.replay-hero-truck{will-change:transform;transition:none!important;width:32px;height:48px;z-index:10000;background:transparent!important;box-shadow:none!important;border:0!important;padding:0!important;display:flex;align-items:center;justify-content:center}
.map-truck.replay-hero-truck svg{display:block!important;width:22px!important;height:44px!important;flex:none;transform-origin:center;transition:none!important;filter:drop-shadow(0 0 2px #fff) drop-shadow(0 3px 3px #163755a6)}
.map-truck.replay-hero-truck .truck-number{top:50px;font:800 10px/15px Arial,sans-serif;padding:2px 5px;border:1px solid #1769cd;background:#fff;color:#123650;box-shadow:0 2px 6px #0c2a5266}
.map-truck.replay-hero-truck .gps-bubble{display:none!important}
.customer-portal .view-replay-history .replay-controls{gap:7px;margin:6px 0;align-items:center}
.customer-portal .view-replay-history .replay-controls .button{padding:8px 12px;min-height:38px;font-size:12px}
.customer-portal .view-replay-history .replay-controls select{min-height:38px;padding:7px 9px;font-size:12px}
.customer-portal .view-replay-history .replay-time{font-size:13px;line-height:1.6;padding:8px 12px;border-radius:10px;background:#e7f1ff;border:1px solid #c6dbf2;color:#184970;margin:7px 0}
.customer-portal .view-replay-history .replay-note{font-size:12px;line-height:1.5;padding:8px 10px;margin:5px 0}
.customer-portal .view-replay-history .replay-recorded-window{font-size:12px;line-height:1.4;margin:6px 0;color:#4f6878}
@media(min-width:761px){.customer-portal .view-replay-history>.fleet-map{height:72dvh;min-height:480px;max-height:none;margin-top:8px;width:100%}}

