:root{--paper: #eef1f5;--panel: #ffffff;--panel-2: #f7f9fc;--ink: #0f1b26;--muted: #5b6b7b;--line: #dce3ec;--line-strong: #c4cfdb;--brand: #15507a;--brand-ink: #0e3a59;--accent: #b45309;--ok: #1b7a4b;--danger: #b42318;--radius: 10px;--shadow: 0 1px 2px rgba(16, 27, 38, .06), 0 2px 6px rgba(16, 27, 38, .05);--mono: Arial, Helvetica, "Segoe UI", sans-serif;--sans: Arial, Helvetica, "Segoe UI", sans-serif;--display: Arial, Helvetica, "Segoe UI", sans-serif}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;font-family:var(--sans);color:var(--ink);background:var(--paper);font-size:14px;line-height:1.45;-webkit-font-smoothing:antialiased}a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}.mono{font-family:var(--mono);font-variant-numeric:tabular-nums}.muted{color:var(--muted)}.center-screen{display:grid;place-items:center;min-height:100vh;color:var(--muted)}.topbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:24px;padding:0 24px;height:60px;background:var(--brand-ink);color:#eaf2f9;border-bottom:3px solid var(--accent)}.topbar .brand{font-family:var(--display);font-weight:700;letter-spacing:.04em;font-size:16px;color:#fff;text-transform:uppercase}.topbar .brand small{display:block;font-size:10px;letter-spacing:.22em;color:#9db8ce;font-weight:500}.topbar nav{display:flex;gap:4px}.topbar nav a{color:#bcd3e6;padding:8px 12px;border-radius:8px;font-weight:500}.topbar nav a:hover{background:#ffffff14;text-decoration:none}.topbar nav a.active{background:#ffffff24;color:#fff}.topbar .spacer{flex:1}.topbar .who{font-size:12px;color:#a9c3d8}.container{max-width:1080px;margin:0 auto;padding:28px 24px 64px}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:20px}.page-head h1{font-family:var(--display);font-size:22px;margin:0;font-weight:600}.page-head p{margin:4px 0 0;color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--brand);font-weight:600}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.panel+.panel{margin-top:18px}.panel-head{padding:14px 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.panel-head h2{font-family:var(--display);font-size:14px;margin:0;font-weight:600;letter-spacing:.02em}.panel-body{padding:18px}table{width:100%;border-collapse:collapse}thead th{text-align:left;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:600;padding:10px 14px;border-bottom:1px solid var(--line);background:var(--panel-2)}tbody td{padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr.clickable:hover{background:var(--panel-2);cursor:pointer}.num{text-align:right;font-variant-numeric:tabular-nums}.badge{display:inline-block;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:600;letter-spacing:.02em;border:1px solid transparent;white-space:nowrap}.st-draft{background:#eef1f5;color:#4a5866;border-color:#dce3ec}.st-reviewed{background:#e7f0fb;color:#1c4e86;border-color:#cfe0f6}.st-booked{background:#e8e9fb;color:#3b3f9c;border-color:#d5d7f4}.st-assigned{background:#dff5ef;color:#12735a;border-color:#c3ebe0}.st-picked_up{background:#fdf1dc;color:#97620a;border-color:#f6e2ba}.st-delivered{background:#e3f6e3;color:#1f7a35;border-color:#c9ecca}.st-invoice_sent{background:#f1e9fb;color:#6b3aa0;border-color:#e2d3f4}.st-payment_received{background:#dff2e6;color:#1a7a4a;border-color:#c3e7cf}.st-driver_paid{background:#e6eaef;color:#384756;border-color:#d3dbe4}.pill-review{background:#fdf0e3;color:var(--accent);border:1px solid #f4dcc0}.pipeline{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.pipeline .step{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:600;color:var(--muted);padding:5px 10px;border-radius:999px;background:var(--panel-2);border:1px solid var(--line)}.pipeline .step .dot{width:7px;height:7px;border-radius:50%;background:var(--line-strong)}.pipeline .step.done{color:var(--brand);background:#eaf1f9;border-color:#d3e2f2}.pipeline .step.done .dot{background:var(--brand)}.pipeline .step.current{color:#fff;background:var(--brand);border-color:var(--brand)}.pipeline .step.current .dot{background:#fff}.pipeline .sep{color:var(--line-strong);font-size:11px}.field{display:flex;flex-direction:column;gap:5px;margin-bottom:14px}.field label{font-size:12px;font-weight:600;color:#3a4653}.field .hint{font-size:11px;color:var(--muted)}input,select,textarea{font-family:var(--sans);font-size:14px;color:var(--ink);background:#fff;border:1px solid var(--line-strong);border-radius:8px;padding:9px 11px;width:100%}input:focus,select:focus,textarea:focus{outline:2px solid #bcd6ef;outline-offset:0;border-color:var(--brand)}input.mono{font-family:var(--mono);font-variant-numeric:tabular-nums}.grid{display:grid;gap:0 16px}.grid.cols-2{grid-template-columns:1fr 1fr}.grid.cols-3{grid-template-columns:1fr 1fr 1fr}.grid.cols-4{grid-template-columns:1fr 1fr 1fr 1fr}.check{flex-direction:row;align-items:center;gap:8px}.check input{width:auto}fieldset{border:1px solid var(--line);border-radius:var(--radius);padding:16px 18px;margin:0 0 18px}fieldset legend{font-family:var(--display);font-size:12px;font-weight:600;color:var(--brand);padding:0 6px;text-transform:uppercase;letter-spacing:.06em}.btn{display:inline-flex;align-items:center;gap:8px;font-family:var(--sans);font-size:13px;font-weight:600;padding:9px 15px;border-radius:8px;border:1px solid transparent;cursor:pointer;background:#e9eef4;color:var(--ink)}.btn:hover{filter:brightness(.98)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--brand);color:#fff}.btn-primary:hover{background:var(--brand-ink);filter:none}.btn-accent{background:var(--accent);color:#fff}.btn-ghost{background:transparent;border-color:var(--line-strong)}.btn-danger{background:#fff;color:var(--danger);border-color:#f0c6c1}.btn-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.kv{display:grid;grid-template-columns:160px 1fr;gap:8px 16px}.kv dt{color:var(--muted);font-size:12px}.kv dd{margin:0;font-weight:500}.stack{display:flex;flex-direction:column;gap:6px}.notice{padding:11px 14px;border-radius:8px;font-size:13px;margin-bottom:16px}.notice-info{background:#eaf1f9;color:var(--brand-ink);border:1px solid #d3e2f2}.notice-warn{background:#fdf3e6;color:#8a4b06;border:1px solid #f4ddbf}.notice-error{background:#fbeae8;color:var(--danger);border:1px solid #f1c9c3}.notice-ok{background:#e9f6ec;color:#1e6b33;border:1px solid #c6e6cf}.empty{text-align:center;padding:44px 20px;color:var(--muted)}.empty h3{font-family:var(--display);color:var(--ink);margin:0 0 6px}.timeline{list-style:none;margin:0;padding:0}.timeline li{display:flex;gap:12px;padding:8px 0;border-bottom:1px dashed var(--line)}.timeline li:last-child{border-bottom:0}.timeline .when{color:var(--muted);font-size:12px;min-width:150px}.back-link{font-size:13px;color:var(--muted)}@media(max-width:720px){.grid.cols-2,.grid.cols-3,.grid.cols-4{grid-template-columns:1fr}.kv{grid-template-columns:1fr;gap:2px 0}.kv dd{margin-bottom:8px}.topbar{gap:12px;padding:0 14px}.container{padding:20px 14px 48px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}.dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:48px 24px;cursor:pointer;border:2px dashed var(--line-strong);border-radius:var(--radius);background:var(--panel-2);color:var(--muted);transition:border-color .12s,background .12s}.dropzone:hover{border-color:var(--brand);background:#eef4fa}.dropzone.drag{border-color:var(--brand);background:#e6f0fa;color:var(--brand-ink)}.dropzone input{display:none}.dropzone .dz-title{font-family:var(--display);font-size:15px;font-weight:600;color:var(--ink)}.dropzone .dz-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#dbe7f4;color:var(--brand);font-size:20px;font-weight:700}.picked{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel)}.picked .file{display:flex;align-items:center;gap:12px;min-width:0}.picked .file .name{font-family:var(--mono);font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.progress-line{display:flex;align-items:center;gap:10px;color:var(--brand-ink);font-weight:500}.spinner{width:16px;height:16px;border-radius:50%;border:2px solid #cfe0f2;border-top-color:var(--brand);animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.spinner{animation:none}}.table-scroll{width:100%;overflow-x:auto;overscroll-behavior-inline:contain}.table-scroll table{margin:0}.receivables-table{min-width:1690px;table-layout:fixed}.receivables-table th,.receivables-table td{white-space:nowrap}.receivables-table th:nth-child(1),.receivables-table td:nth-child(1){width:132px}.receivables-table th:nth-child(2),.receivables-table td:nth-child(2){width:118px}.receivables-table th:nth-child(3),.receivables-table td:nth-child(3){width:190px;white-space:normal}.receivables-table th:nth-child(4),.receivables-table td:nth-child(4),.receivables-table th:nth-child(5),.receivables-table td:nth-child(5){width:112px}.receivables-table th:nth-child(6),.receivables-table td:nth-child(6){width:150px;white-space:normal}.receivables-table th:nth-child(7),.receivables-table td:nth-child(7),.receivables-table th:nth-child(8),.receivables-table td:nth-child(8),.receivables-table th:nth-child(9),.receivables-table td:nth-child(9){width:116px}.receivables-table th:nth-child(10),.receivables-table td:nth-child(10){width:112px}.receivables-table th:nth-child(11),.receivables-table td:nth-child(11){width:100px}.receivables-table th:nth-child(12),.receivables-table td:nth-child(12){width:155px}.receivables-table th:nth-child(13),.receivables-table td:nth-child(13){width:210px;text-align:right}.receivables-table td:nth-child(12) .badge{display:inline-flex;max-width:100%;white-space:normal;line-height:1.15;text-align:center}.receivables-table td:last-child .btn{justify-content:center;width:100%;min-width:178px;white-space:nowrap}.numeric,.num,.mono{font-variant-numeric:tabular-nums}.driver-deduction-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:74px;padding:14px 16px;border:1px solid var(--line);border-radius:8px;background:var(--panel-2)}.driver-deduction-summary strong{display:block;margin-bottom:3px}.driver-deduction-summary .summary-copy{min-width:0}.settlement-reference{font-size:12px;color:var(--muted);margin-top:4px}@media(max-width:720px){.driver-deduction-summary{align-items:flex-start;flex-direction:column}}body{font-family:Arial,Helvetica,Segoe UI,sans-serif;font-weight:500}.mono,input.mono,.numeric,.num{font-family:inherit;font-variant-numeric:tabular-nums}.page-head h1,.panel-head h2,.empty h3,fieldset legend,.eyebrow,.field>label,thead th,.badge,.btn,.topbar nav a,.back-link,.pipeline .step,[role=tablist] button{font-weight:700;text-transform:uppercase}.page-head h1{font-size:23px;letter-spacing:.018em}.panel-head h2{letter-spacing:.045em}.page-head p,.notice,.field .hint,.muted,tbody td,.kv dd,input,select,textarea{font-weight:500}select{text-transform:uppercase}strong{font-weight:700}.grid.cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.inline-fields{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.inline-fields>*{min-width:150px}.date-input.invalid{border-color:var(--danger);box-shadow:0 0 0 1px var(--danger)}.report-filter-bar{display:grid;grid-template-columns:minmax(160px,220px) minmax(160px,220px) minmax(0,1fr);align-items:end;gap:14px}.report-filter-bar .field{margin-bottom:0}.report-filter-actions{justify-content:flex-end}.report-basis-note{margin-top:16px}.report-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.report-summary-grid{margin-bottom:18px}.report-total{font-size:22px;line-height:1.15;font-weight:700;margin-top:7px}.report-table{min-width:1540px}.report-table td,.report-table th{white-space:nowrap}.mudflap-preview-table{min-width:1540px}.mudflap-review-table{min-width:1880px}.mudflap-review-table select{min-width:170px}.mudflap-review-table td:first-child{min-width:250px}.topbar .brand small,.topbar .who{font-weight:600}.topbar nav a{letter-spacing:.015em}@media(max-width:900px){.grid.cols-5,.report-filter-bar{grid-template-columns:1fr 1fr}.report-filter-bar .btn-row{grid-column:1 / -1}}@media(max-width:720px){.grid.cols-5,.report-filter-bar{grid-template-columns:1fr}.report-filter-bar .btn-row{grid-column:auto}}[role=dialog] h2{font-family:var(--display);font-weight:700;letter-spacing:.025em;text-transform:uppercase}[role=dialog] label,[role=dialog] dt{font-weight:700;text-transform:uppercase}.auth-panel{width:min(420px,calc(100vw - 28px))}.auth-mode-link{display:block;width:100%;margin-top:14px;border:0;background:transparent;color:var(--brand);font:inherit;font-size:12px;font-weight:700;cursor:pointer}.driver-portal-admin-summary,.portal-invite-box{border:1px solid var(--line);border-radius:10px;background:var(--panel-2);padding:14px 16px}.driver-portal-admin-summary{display:flex;justify-content:space-between;gap:16px;align-items:center}.portal-invite-box{margin-top:14px}.copy-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.settlement-statement{max-width:1080px;margin:0 auto 40px;padding:26px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);color:#14202b;text-transform:none}.statement-head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:3px solid var(--brand);padding-bottom:14px;margin-bottom:18px}.statement-brand{font-size:26px;font-weight:800}.statement-subtitle{font-size:12px;font-weight:700;letter-spacing:.08em}.statement-status{font-weight:800;border:1px solid var(--brand);border-radius:999px;padding:7px 12px}.statement-meta,.statement-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px}.statement-meta>div,.statement-total{border:1px solid var(--line);border-radius:8px;padding:11px;min-width:0}.statement-meta span,.statement-total span{display:block;color:var(--muted);font-size:10px;font-weight:700;margin-bottom:4px}.statement-meta strong,.statement-total strong{display:block;font-size:14px;overflow-wrap:anywhere}.statement-total.emphasized{border:2px solid var(--brand)}.statement-total.emphasized strong{font-size:20px}.statement-section,.statement-payment{margin-top:20px}.statement-section h2,.statement-payment h2{font-size:12px;letter-spacing:.05em;margin:0 0 8px}.statement-section table{font-size:12px}.statement-empty{border:1px solid var(--line);padding:10px;margin:0}.statement-footer{border-top:1px solid var(--line);margin-top:26px;padding-top:10px;color:var(--muted);font-size:9px;text-align:center;font-weight:700}.statement-meta-payment{margin-bottom:0}.driver-portal-shell{min-height:100vh;background:#f2f5f7;color:#14202b;padding-bottom:76px;font-family:Arial,Helvetica,Segoe UI,sans-serif}.driver-portal-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:68px;padding:10px 16px;background:#173c5e;color:#fff;box-shadow:0 2px 8px #00000026}.driver-portal-brand{font-size:15px;font-weight:800;letter-spacing:.04em}.driver-portal-driver{margin-top:3px;color:#d7e5f1;font-size:11px;font-weight:700}.driver-icon-btn{border:1px solid #62809a;border-radius:8px;background:transparent;color:#fff;padding:8px 10px;font-size:10px;font-weight:800}.driver-portal-content{width:min(760px,100%);margin:0 auto;padding:16px}.driver-bottom-nav{position:fixed;z-index:30;inset:auto 0 0;display:grid;grid-template-columns:1fr 1fr;min-height:62px;background:#fff;border-top:1px solid #cfd8e0;box-shadow:0 -2px 10px #00000014}.driver-bottom-nav a{display:grid;place-items:center;color:#51606d;font-size:12px;font-weight:800;text-decoration:none}.driver-bottom-nav a.active{color:#173c5e;background:#edf3f8;border-top:3px solid #173c5e}.driver-load-hero{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:14px}.driver-load-hero span{display:block;color:#667684;font-size:11px;font-weight:800}.driver-load-hero h1{margin:3px 0 0;font-size:27px}.driver-status{color:#173c5e!important;background:#dceaf5;border-radius:999px;padding:8px 12px}.driver-card{background:#fff;border:1px solid #d6dee5;border-radius:12px;padding:16px;margin-bottom:14px;box-shadow:0 2px 8px #152b3d0d}.driver-card>h2{margin:0 0 13px;font-size:13px;letter-spacing:.04em}.driver-route-point span{display:block;color:#667684;font-size:10px;font-weight:800;margin-bottom:3px}.driver-route-point strong{font-size:19px}.driver-route-arrow{color:#7c8b97;font-size:22px;line-height:1;padding:6px 0}.driver-primary-action{width:100%;min-height:54px;border:0;border-radius:10px;background:#173c5e;color:#fff;font-size:15px;font-weight:800;margin:0 0 14px}.driver-primary-action:disabled{opacity:.55}.driver-stop-list,.driver-vehicle-list{display:flex;flex-direction:column;gap:12px}.driver-stop{display:grid;grid-template-columns:34px 1fr;gap:10px;padding-bottom:12px;border-bottom:1px solid #e3e8ed}.driver-stop:last-child{border-bottom:0;padding-bottom:0}.driver-stop-number,.driver-vehicle-index{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#173c5e;color:#fff;font-weight:800;font-size:12px}.driver-stop-type{color:#637381;font-size:10px;font-weight:800}.driver-stop h3{margin:2px 0 4px;font-size:16px}.driver-stop p{margin:2px 0;font-size:13px}.driver-stop-window{font-weight:800;margin-top:7px!important}.driver-instructions{margin-top:8px;background:#fff4dc;border-left:4px solid #d88d18;border-radius:6px;padding:9px 10px;font-size:13px;font-weight:700;white-space:pre-wrap}.driver-instructions.large{font-size:14px}.driver-vehicle{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:flex-start}.driver-vehicle strong{display:block;font-size:14px}.driver-vehicle span{display:block;color:#5d6b77;margin-top:3px;font-size:12px;overflow-wrap:anywhere}.driver-page-title{margin-bottom:16px}.driver-page-title h1{margin:0;font-size:25px}.driver-page-title p{margin:4px 0 0;color:#62717d}.driver-settlement-list{display:flex;flex-direction:column;gap:11px}.driver-settlement-card{display:flex;justify-content:space-between;gap:12px;padding:15px;border:1px solid #d5dee6;border-radius:11px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 2px 7px #152b3d0d}.driver-settlement-card span,.driver-settlement-card small{display:block;color:#647481;font-size:11px;font-weight:700}.driver-settlement-card strong{display:block;font-size:20px;margin:3px 0}.driver-settlement-state{text-align:right;color:#173c5e;font-size:11px;font-weight:800}.driver-settlement-state small{margin-top:5px}.driver-empty{text-align:center;padding:56px 18px;color:#647481}.driver-empty h1{color:#24313d;font-size:20px}.driver-alert{border-radius:9px;padding:12px;margin-bottom:14px}.driver-alert.error{background:#fbeae8;color:#9a241c;border:1px solid #efc8c3}.driver-statement-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px}.driver-statement-tools a,.driver-statement-tools button{border:1px solid #c6d1da;border-radius:8px;background:#fff;color:#173c5e;padding:9px 11px;text-decoration:none;font:inherit;font-size:10px;font-weight:800}@media(max-width:760px){.statement-meta,.statement-totals{grid-template-columns:1fr 1fr}.settlement-statement{padding:14px;border-radius:9px;overflow-x:auto}.statement-section table{min-width:650px}.driver-portal-admin-summary{align-items:flex-start;flex-direction:column}.copy-row{grid-template-columns:1fr}}@media print{body{background:#fff!important}.no-print,.topbar,.driver-portal-header,.driver-bottom-nav{display:none!important}.container,.driver-portal-content{max-width:none;width:auto;margin:0;padding:0}.driver-portal-shell{padding:0;background:#fff}.settlement-statement{max-width:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;overflow:visible}.statement-section{break-inside:avoid}.statement-head{break-after:avoid}}.container-wide{max-width:1480px}.mobile-menu-button{display:none;border:1px solid #59758d;background:transparent;color:#fff;border-radius:8px;padding:8px 10px;font:inherit;font-weight:700;gap:7px;align-items:center}.signout-button{color:#dbe8f2;border-color:#33536e}.adjustment-editor-row{padding:12px 0;border-bottom:1px solid var(--line)}.adjustment-editor-row:first-child{padding-top:0}.adjustment-row-actions{justify-content:space-between;margin:-4px 0 10px}.correction-panel{border-color:#c5d5e4}.invoice-document{position:relative;max-width:980px;margin:0 auto 40px;padding:36px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);overflow:hidden;text-transform:none}.invoice-watermark{position:absolute;inset:280px auto auto 50%;transform:translate(-50%) rotate(-30deg);color:#505f6e1f;font-size:92px;font-weight:800;pointer-events:none}.invoice-document-head{display:flex;justify-content:space-between;gap:24px;padding-bottom:18px;border-bottom:3px solid var(--brand)}.invoice-document-head h1{margin:0 0 6px;font-size:25px}.invoice-document-head p{margin:3px 0}.invoice-title-block{text-align:right}.invoice-title-block strong{display:block;font-size:32px}.invoice-title-block span,.invoice-title-block small{display:block;margin-top:4px}.invoice-meta-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr;gap:10px;margin:20px 0}.invoice-meta-grid>div,.invoice-route{border:1px solid var(--line);border-radius:8px;padding:12px}.invoice-meta-grid span,.invoice-route span,.invoice-totals span{display:block;color:var(--muted);font-size:10px;font-weight:700;text-transform:uppercase}.invoice-meta-grid strong,.invoice-route strong{display:block;margin-top:4px}.invoice-meta-grid small,.invoice-route small{display:block;margin-top:5px;color:var(--muted)}.invoice-vehicles{margin-top:20px}.invoice-vehicles h2{font-size:13px}.invoice-totals{margin:24px 0 0 auto;width:min(360px,100%)}.invoice-totals>div{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--line)}.invoice-totals .invoice-balance{border-top:2px solid var(--brand);border-bottom:0;font-size:18px}.invoice-document footer{margin-top:38px;border-top:1px solid var(--line);padding-top:10px;text-align:center;color:var(--muted);font-size:10px}@media(max-width:900px){.topbar{height:auto;min-height:60px;flex-wrap:wrap;padding:10px 14px;gap:10px}.mobile-menu-button{display:inline-flex;margin-left:auto}.topbar nav{order:5;width:100%;display:none;flex-direction:column;padding:4px 0 8px}.topbar nav.open{display:flex}.topbar nav a{width:100%;min-height:44px;display:flex;align-items:center}.topbar .spacer,.topbar .who{display:none}.signout-button{margin-left:0}.container,.container-wide{width:100%;max-width:none;padding:18px 12px 48px}.page-head{align-items:flex-start;flex-direction:column}.page-head>.stack{width:100%;align-items:stretch!important}.page-head>.stack .btn{justify-content:center}.panel{overflow:hidden}.panel-head{align-items:flex-start;gap:10px;flex-wrap:wrap}.btn{min-height:42px;justify-content:center}.btn-row>.btn{flex:1 1 180px}input,select,textarea{min-height:44px;font-size:16px}.invoice-meta-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.topbar .brand{font-size:14px}.signout-button{width:100%}.grid.cols-2,.grid.cols-3,.grid.cols-4,.grid.cols-5{grid-template-columns:1fr}.pipeline{overflow-x:auto;flex-wrap:nowrap;padding-bottom:5px}.pipeline .step{flex:0 0 auto}.table-scroll{margin:0}.page-head h1{font-size:21px;overflow-wrap:anywhere}.invoice-document{padding:18px;border-radius:8px}.invoice-document-head{flex-direction:column}.invoice-title-block{text-align:left}.invoice-meta-grid{grid-template-columns:1fr}.invoice-vehicles{overflow-x:auto}.invoice-vehicles table{min-width:650px}}@media print{.invoice-document{max-width:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;overflow:visible}}.hub-loading{min-height:320px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted);font-weight:700;text-transform:uppercase}.hub-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding:28px;margin-bottom:18px;color:#fff;background:radial-gradient(circle at 92% 12%,rgba(255,255,255,.14),transparent 30%),linear-gradient(135deg,#07131d,#123f5f 70%,#15507a);border-radius:16px;box-shadow:0 10px 30px #0a1f2f29}.hub-hero .eyebrow{color:#a7d1ed}.hub-hero h1{margin:4px 0 8px;font-size:clamp(28px,4vw,42px);letter-spacing:.015em;text-transform:uppercase}.hub-hero p{max-width:720px;margin:0;color:#d9e8f3;font-size:15px}.hub-hero-actions{display:flex;flex-direction:column;align-items:flex-end;gap:12px;min-width:170px}.hub-hero-actions>span{color:#c4d8e7;font-size:12px;font-weight:700;text-transform:uppercase}.hub-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.hub-metric{min-width:0;padding:15px 16px;background:var(--panel);border:1px solid var(--line);border-radius:11px;box-shadow:var(--shadow)}.hub-metric>span{display:block;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.hub-metric>strong{display:block;margin:5px 0 2px;font-size:24px;line-height:1.15;overflow-wrap:anywhere}.hub-metric>small{display:block;color:var(--muted);font-size:11px;font-weight:600}.hub-metric-warning{border-color:#e8c88e;background:#fffaf0}.hub-metric-danger{border-color:#e7a9a1;background:#fff6f5}.hub-metric-danger>strong{color:var(--danger)}.hub-main-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:18px;margin-bottom:28px}.hub-count-badge{min-width:28px;padding:4px 8px;text-align:center;border-radius:999px;background:#e9f0f6;color:var(--brand-ink);font-size:11px;font-weight:800}.hub-attention-list,.hub-recent-list{display:flex;flex-direction:column}.hub-attention-item,.hub-recent-load{display:flex;align-items:center;gap:11px;min-height:64px;padding:11px 16px;color:inherit;border-bottom:1px solid var(--line);text-decoration:none}.hub-attention-item:last-child,.hub-recent-load:last-child{border-bottom:0}.hub-attention-item:hover,.hub-recent-load:hover{background:var(--panel-2);text-decoration:none}.hub-attention-item>span:nth-child(2),.hub-recent-load>span:first-child{flex:1;min-width:0}.hub-attention-item strong,.hub-recent-load strong{display:block;font-size:13px;text-transform:uppercase}.hub-attention-item small,.hub-recent-load small{display:block;margin-top:3px;color:var(--muted);overflow-wrap:anywhere}.hub-attention-item b{color:var(--muted)}.hub-attention-dot{width:9px;height:9px;flex:0 0 auto;border-radius:50%;background:var(--brand)}.hub-attention-urgent .hub-attention-dot{background:var(--danger)}.hub-attention-warning .hub-attention-dot{background:var(--accent)}.hub-all-clear{display:flex;flex-direction:column;gap:4px;min-height:130px;justify-content:center;text-align:center}.hub-all-clear span{color:var(--muted)}.hub-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 14px}.hub-section-head h2{margin:3px 0 0;font-size:20px;text-transform:uppercase}.hub-section-head p{max-width:620px;margin:0;color:var(--muted);text-align:right}.hub-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.hub-module-card{display:flex;flex-direction:column;min-height:255px;padding:18px;color:inherit;background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);text-decoration:none;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease}.hub-module-card:hover{transform:translateY(-2px);border-color:#aac3d7;box-shadow:0 8px 22px #10293c1a;text-decoration:none}.hub-module-card-disabled{background:#f7f8fa;color:#596674;box-shadow:none}.hub-module-card-disabled:hover{transform:none;border-color:var(--line);box-shadow:none}.hub-module-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.hub-module-head>span:first-child{color:var(--brand);font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.hub-module-state{padding:3px 7px;border-radius:999px;font-size:9px;font-weight:800;text-transform:uppercase}.hub-module-state-live{background:#e3f3e8;color:#1d6d3d}.hub-module-state-foundation{background:#eceff3;color:#5c6874}.hub-module-card h3{margin:16px 0 7px;font-size:18px;text-transform:uppercase}.hub-module-card p{margin:0;color:var(--muted)}.hub-module-value{margin-top:auto;padding-top:18px}.hub-module-value strong{display:block;font-size:25px;overflow-wrap:anywhere}.hub-module-value span{display:block;color:var(--muted);font-size:11px;font-weight:700;text-transform:uppercase}.hub-module-action{margin-top:14px;color:var(--brand);font-size:11px;font-weight:800;text-transform:uppercase}.loads-table{min-width:1180px}@media(max-width:1120px){.hub-metrics,.hub-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.hub-hero{align-items:flex-start;flex-direction:column;padding:21px 18px;border-radius:12px}.hub-hero-actions{width:100%;min-width:0;align-items:stretch}.hub-hero-actions .btn{width:100%}.hub-main-grid{grid-template-columns:1fr}.hub-section-head{align-items:flex-start;flex-direction:column}.hub-section-head p{text-align:left}}@media(max-width:560px){.hub-metrics,.hub-module-grid{grid-template-columns:1fr}.hub-metric{display:grid;grid-template-columns:1fr auto;column-gap:12px;align-items:center}.hub-metric>strong{grid-column:2;grid-row:1 / span 2;font-size:22px;text-align:right}.hub-metric>small{grid-column:1}.hub-module-card{min-height:230px}}.accounting-tab-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin:22px 0 16px}.accounting-tab-head h2,.fleet-section-title h2{margin:3px 0 0;font-size:20px;text-transform:uppercase}.accounting-tab-head p,.fleet-section-title p{margin:4px 0 0;color:var(--muted)}.rolodex-toolbar{margin-bottom:18px}.rolodex-toolbar .report-tabs{margin-bottom:14px}.rolodex-table{min-width:1080px}.rolodex-add-form{border-top:1px solid var(--line);background:var(--panel-2)}.rolodex-add-form .eyebrow{margin-bottom:12px}.fleet-profile-jumpnav{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 24px}.fleet-profile-section{scroll-margin-top:82px;margin:34px 0 0}.fleet-section-title{display:flex;justify-content:space-between;align-items:flex-end;gap:22px;margin-bottom:14px}.fleet-section-title p{max-width:560px;text-align:right}.fleet-summary-grid{margin-bottom:18px}.fleet-summary-grid .panel{margin:0}.fleet-summary-value{margin-top:7px;font-size:23px;font-weight:800}.fleet-summary-danger{border-color:#e7a9a1;background:#fff6f5}.fleet-summary-danger .fleet-summary-value{color:var(--danger)}.fleet-summary-warning{border-color:#e8c88e;background:#fffaf0}.truck-expense-table{min-width:1180px}.maintenance-table{min-width:1200px}.maintenance-completion-panel{border:2px solid var(--brand)}.maintenance-status{text-transform:uppercase}.maintenance-overdue{background:#fbeae8;color:var(--danger);border-color:#f1c9c3}.maintenance-due_soon{background:#fdf3e6;color:#8a4b06;border-color:#f4ddbf}.maintenance-needs_odometer{background:#eaf1f9;color:var(--brand-ink);border-color:#d3e2f2}.maintenance-upcoming{background:#e9f6ec;color:#1e6b33;border-color:#c6e6cf}input[type=date]{color-scheme:light}@media(max-width:760px){.accounting-tab-head,.fleet-section-title{align-items:flex-start;flex-direction:column}.fleet-section-title p{text-align:left}.fleet-profile-jumpnav .btn{flex:1 1 100%}}.draft-status-badge{background:#eef5fb;color:var(--brand-ink);border-color:#c9dceb;text-transform:uppercase}.draft-notice{display:flex;align-items:center;justify-content:space-between;gap:16px}.settlement-adjustment-notice,.odometer-inline-notice{margin:14px 18px 0}.vehicle-editor-list{display:flex;flex-direction:column;gap:18px;margin-bottom:18px}.vehicle-editor-card{padding:16px 18px 4px;border:1px solid var(--line-strong);border-left:5px solid var(--brand);border-radius:10px;background:#fff;box-shadow:0 1px 2px #101b260a}.vehicle-editor-card-alt{background:#edf1f5}.vehicle-editor-card-alt input,.vehicle-editor-card-alt select{background:#fff}.vehicle-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:13px;margin-bottom:14px;border-bottom:2px solid var(--line-strong)}.vehicle-editor-head strong{display:block;margin-top:3px;font-size:14px}.vehicle-editor-fields{align-items:end}.odometer-panel{margin:18px 0}.odometer-panel-subtitle{margin-top:3px;font-size:12px}.odometer-editor{border-bottom:1px solid var(--line);background:var(--panel-2)}.odometer-history{padding:16px 18px 18px}.odometer-history .eyebrow{margin-bottom:9px}.odometer-history table{min-width:720px}@media(max-width:760px){.draft-notice,.vehicle-editor-head{align-items:stretch;flex-direction:column}.vehicle-editor-head .btn{width:100%}.vehicle-editor-card{padding:14px 14px 2px}}.dropzone.compact{padding:28px 20px}.dz-icon.small{width:34px;height:34px;border-radius:8px;font-size:12px;flex:0 0 auto}.load-document-list{display:flex;flex-direction:column;gap:10px}.load-document-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(220px,.8fr) auto;gap:12px;align-items:end;padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--panel-2)}.load-document-row .file{display:flex;align-items:center;gap:10px;min-width:0}.load-document-row .file strong{display:block;overflow-wrap:anywhere}.document-type-field{margin:0}.document-type-field>span{font-size:10px;font-weight:700;text-transform:uppercase;color:var(--muted)}.document-button-list{display:flex;flex-wrap:wrap;gap:10px}.invoice-terms-editor .panel-head>div{min-width:0}.drivers-mobile-list{display:none}.driver-mobile-card{padding:16px;border-top:1px solid var(--line);background:#fff}.driver-mobile-card:nth-child(2n){background:var(--panel-2)}.driver-mobile-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.driver-mobile-card-head strong{font-size:18px}.mobile-kv{display:grid;grid-template-columns:82px minmax(0,1fr);gap:8px 12px;margin:16px 0}.mobile-kv dt{color:var(--muted);font-size:11px;font-weight:700;text-transform:uppercase}.mobile-kv dd{margin:0;overflow-wrap:anywhere}.mobile-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}@media(max-width:900px){.panel>table,.panel-body>table{display:block;width:100%;overflow-x:auto;overscroll-behavior-inline:contain}.document-button-list .btn{flex:1 1 240px;white-space:normal;text-align:center}.load-document-row{grid-template-columns:1fr;align-items:stretch}.load-document-row .btn{width:100%}.drivers-desktop-table{display:none!important}.drivers-mobile-list{display:block}.driver-portal-admin-summary{align-items:stretch;flex-direction:column}.copy-row{grid-template-columns:1fr}.copy-row .btn{width:100%}[role=dialog]{width:min(94vw,620px);max-height:88vh;overflow-y:auto}}@media(max-width:560px){.mobile-action-grid{grid-template-columns:1fr}.btn-row{width:100%}.btn-row>.btn{flex-basis:100%;width:100%}.report-tabs{display:grid;grid-template-columns:1fr}.report-tabs .btn,.report-tabs button{width:100%}.fleet-profile-jumpnav{display:grid;grid-template-columns:1fr}.invoice-terms-editor .panel-head{flex-direction:column}.load-document-row{padding:10px}}.invoice-bill-to small{display:block;line-height:1.35}.truck-nav-alert{position:relative;display:inline-flex!important;align-items:center;gap:7px}.truck-issue-nav-badge{min-width:20px;height:20px;padding:0 6px;border-radius:999px;display:inline-grid;place-items:center;background:#c62828;color:#fff;font-size:11px;font-weight:900;line-height:1;animation:rtopsIssuePulse 1.35s ease-in-out infinite}@keyframes rtopsIssuePulse{0%,to{transform:scale(1);box-shadow:0 0 #c628286b}50%{transform:scale(1.08);box-shadow:0 0 0 7px #c6282800}}@media(prefers-reduced-motion:reduce){.truck-issue-nav-badge{animation:none}}.truck-issues-alert-panel>.panel-head{border-left:5px solid #c62828}.truck-issue-staff-list{display:flex;flex-direction:column;gap:12px;padding:16px 18px 18px}.truck-issue-staff-card{border:1px solid var(--line);border-left:5px solid #d97706;border-radius:10px;padding:14px;background:#fff}.truck-issue-staff-card.severity-unsafe{border-left-color:#b91c1c;background:#fff7f7}.truck-issue-staff-card.severity-urgent{border-left-color:#d97706}.truck-issue-staff-card.severity-service_soon{border-left-color:#ca8a04}.truck-issue-staff-card.severity-monitor{border-left-color:#47718f}.truck-issue-staff-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.truck-issue-staff-head h3{margin:4px 0 0;text-transform:uppercase}.truck-issue-staff-card>p{margin:12px 0;white-space:pre-wrap}.truck-issue-meta{display:flex;flex-wrap:wrap;gap:7px 14px;color:var(--muted);font-size:12px;margin-bottom:12px}.issue-reported{background:#fde8e8;color:#991b1b}.issue-acknowledged{background:#fff4d6;color:#854d0e}.issue-scheduled,.issue-in_repair{background:#e5eef8;color:#174a73}.issue-resolved{background:#e2f5ec;color:#176b4c}.driver-bottom-nav{grid-template-columns:repeat(3,1fr)}.driver-bottom-nav a{padding:4px;text-align:center;font-size:11px}.driver-issue-hero{margin-bottom:12px}.driver-issue-form{display:grid;gap:13px}.driver-issue-form label{display:grid;gap:6px;color:#465865;font-size:11px;font-weight:900}.driver-issue-form input,.driver-issue-form select,.driver-issue-form textarea{width:100%;border:1px solid #bfcbd5;border-radius:8px;background:#fff;padding:12px;color:#14202b;font:inherit;font-size:16px}.driver-check{display:flex!important;grid-template-columns:auto 1fr;align-items:center;gap:9px!important}.driver-check input{width:22px;height:22px}.driver-primary-action.danger{background:#a71919}.driver-alert.success{background:#e3f5eb;color:#145c40;border:1px solid #a9dcc3}.driver-issue-list{display:flex;flex-direction:column;gap:10px}.driver-issue-row{border:1px solid #d6dee5;border-left:5px solid #d97706;border-radius:8px;padding:12px}.driver-issue-row.severity-unsafe{border-left-color:#b91c1c;background:#fff7f7}.driver-issue-row-head{display:flex;justify-content:space-between;gap:10px;font-size:12px}.driver-issue-row p{margin:9px 0;white-space:pre-wrap}.driver-issue-row small{color:#667684}@media(max-width:760px){.truck-issue-staff-head{flex-direction:column}.truck-issue-staff-card .btn-row{display:grid;grid-template-columns:1fr}.truck-issue-staff-card .btn{width:100%}.invoice-terms-editor fieldset .grid{grid-template-columns:1fr}}.invoice-meta-grid>div{min-width:0}.invoice-meta-grid strong,.invoice-meta-grid small,.invoice-route strong{overflow-wrap:anywhere}.invoice-bill-to small{line-height:1.35}.invoice-broker-load{margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}.invoice-broker-load span{margin-bottom:3px}.invoice-broker-load strong{margin-top:0}.invoice-density-compact .invoice-meta-grid{margin:14px 0}.invoice-density-compact .invoice-vehicles{margin-top:14px}.invoice-density-compact .invoice-vehicles h2{margin:0 0 7px}.invoice-density-compact .invoice-vehicles th{padding:7px 10px}.invoice-density-compact .invoice-vehicles td{padding:6px 10px;line-height:1.2}.invoice-density-compact .invoice-totals{margin-top:16px}.invoice-density-compact footer{margin-top:20px}.invoice-density-tight .invoice-document-head{padding-bottom:12px}.invoice-density-tight .invoice-meta-grid{margin:10px 0;gap:7px}.invoice-density-tight .invoice-meta-grid>div,.invoice-density-tight .invoice-route{padding:8px 10px}.invoice-density-tight .invoice-vehicles{margin-top:9px}.invoice-density-tight .invoice-vehicles h2{margin:0 0 5px}.invoice-density-tight .invoice-vehicles table{font-size:11px}.invoice-density-tight .invoice-vehicles th{padding:5px 8px;font-size:9px}.invoice-density-tight .invoice-vehicles td{padding:3px 8px;line-height:1.08}.invoice-density-tight .invoice-totals{margin-top:10px}.invoice-density-tight .invoice-totals>div{padding:5px 0}.invoice-density-tight footer{margin-top:12px}@media print{@page{size:letter;margin:.35in}.invoice-density-compact{zoom:.93}.invoice-density-tight{zoom:.86}.invoice-totals{break-inside:avoid}}
