:root{--ink:#182e38;--muted:#6e7f87;--line:#e2e8e9;--green:#157666;--surface:#fff;--bg:#f4f7f7;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.55}button,input,select{font:inherit}button,a,label{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #58b9a8;outline-offset:3px}[hidden]{display:none!important}
.sidebar{width:244px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:32px 20px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;font-size:30px;font-weight:750;letter-spacing:-1.5px;margin:0 12px 54px;line-height:1}.brand-icon{display:inline-grid;place-items:center;background:var(--green);color:white;width:37px;height:39px;border-radius:10px;margin-right:10px;font-size:25px;letter-spacing:-2px}.brand-dot{color:var(--green)}.workspace-label{color:#91a0a5;font-size:10px;font-weight:700;letter-spacing:1.4px;margin:0 14px 14px}.nav-item{display:flex;align-items:center;gap:12px;border:0;background:transparent;width:100%;padding:13px 12px;text-align:left;color:#64757e;font-size:13px;font-weight:550;border-radius:7px;margin-bottom:5px}.nav-item span{font-size:10px;color:#91a0a5;font-variant-numeric:tabular-nums}.nav-item.active{background:#eaf4f0;color:#126957}.nav-item.active span{color:var(--green)}.nav-item:hover{background:#f1f6f4}.sidebar-bottom{margin-top:auto;padding:20px 12px 0;border-top:1px solid var(--line);font-size:12px;font-weight:600}.sidebar-bottom small{display:block;font-weight:400;color:var(--muted);font-size:11px;line-height:1.8;margin:8px 0 0 15px}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#2b9f7d;margin-right:7px}
main{margin-left:244px;min-width:0}.topbar{height:86px;padding:0 40px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{margin:0 13px;color:#c0c9cd}.breadcrumb strong{color:var(--ink);font-weight:500}.top-actions{display:flex;align-items:center;gap:9px}.button{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border:1px solid transparent;border-radius:6px;padding:9px 15px;font-size:12px;font-weight:600;min-height:38px}.primary{background:var(--green);color:#fff}.primary:hover{background:#105e52}.secondary{background:#fff;border-color:#d9e1e2;color:#465c65}.secondary:hover{background:#f4f8f6}.quiet{background:transparent;color:var(--muted);padding:9px 5px}.file-input{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.upload-label{cursor:pointer}.top-actions:has(.file-input:focus-visible) .upload-label{outline:3px solid #58b9a8}
.content{max-width:1580px;margin:auto;padding:34px 40px 22px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:700;color:var(--muted)}h1{font-size:30px;font-weight:650;letter-spacing:-.9px;line-height:1.3;margin:8px 0 7px}.page-heading p{color:var(--muted);font-size:12px;margin:0;overflow-wrap:anywhere}h2{font-size:15px;font-weight:650;margin:0}h3{font-size:14px;margin:30px 0 15px}.pill{padding:5px 11px;border-radius:20px;background:#e7f1ed;color:#256959;white-space:nowrap;font-size:11px;font-weight:600}.notice{background:#fbf7eb;border:1px solid #eee4c8;border-radius:7px;color:#807047;font-size:11px;padding:12px 16px;margin-bottom:24px}.notice strong{font-weight:650}.notice p{margin-bottom:0}.vehicle-card{background:#153f3b;color:white;border-radius:11px;padding:30px 34px;display:flex;justify-content:space-between;gap:24px;margin-bottom:22px;position:relative;overflow:hidden}.vehicle-card:after{content:"";width:320px;height:320px;border:1px solid #ffffff08;border-radius:50%;position:absolute;right:16%;top:-180px;pointer-events:none}.vehicle-card .eyebrow{color:#95b9ae;font-size:9px}.vehicle-card h2{font-size:36px;letter-spacing:1px;margin:10px 0 2px;font-weight:600}.vin{color:#b8cfca;font-family:Consolas,monospace;font-size:13px;letter-spacing:1px}.vehicle-meta{text-align:right;align-self:center}.pill.dark{background:#ffffff0c;color:#b9d2ca;border:1px solid #ffffff17;letter-spacing:1px;font-size:9px}.vehicle-meta p{font-size:12px;line-height:1.9;margin-bottom:0;color:#d4e3df}.vehicle-meta p span{color:#91b3a9}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:23px}.stat{border:1px solid var(--line);border-radius:9px;background:#fff;padding:21px 22px}.stat-label{font-size:9px;letter-spacing:1px;color:#6d7c84;font-weight:700}.stat strong{display:block;font-size:29px;line-height:1.6;font-weight:600;letter-spacing:-.7px}.stat small{font-size:10px;color:#8a979c}
.two-columns{display:grid;grid-template-columns:1.1fr 1fr;gap:22px}.panel{border:1px solid var(--line);border-radius:9px;background:#fff;padding:23px 24px;margin-bottom:23px;min-width:0}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.tag{display:inline-block;border-radius:4px;background:#f0f3f3;color:#809096;padding:3px 8px;font-size:10px;white-space:nowrap}.tag.success{background:#edf6f0;color:#378164}dl{margin:0}.meta-pair{display:flex;gap:16px;justify-content:space-between;font-size:11px;padding:12px 0;border-bottom:1px solid #eef1f1}.meta-pair:last-child{border-bottom:0}dt{color:#7b8b92}dd{margin:0;text-align:right;max-width:62%;overflow-wrap:anywhere}.panel-note{font-size:11px;color:#8b969c;line-height:1.8;margin:14px 0 0}.coverage-number{font-size:25px;margin:24px 0 12px;font-weight:550;letter-spacing:-.6px}.coverage-number span{font-size:12px;color:#94a1a6;font-weight:400;letter-spacing:0}.progress{height:5px;background:#e9eeec;border-radius:5px;margin-bottom:18px}.progress span{height:100%;display:block;background:#369a7f;border-radius:5px}.muted{color:var(--muted);font-size:11px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-size:10px;font-weight:550;color:#8c9a9f;border-bottom:1px solid var(--line);padding:11px 10px;background:#fafcfc;white-space:nowrap}td{border-bottom:1px solid #edf1f1;padding:13px 10px;vertical-align:top}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcfc}td:first-child,th:first-child{padding-left:0}td:last-child,th:last-child{padding-right:0}.text-button{border:0;background:transparent;color:var(--green);font-size:11px;font-weight:600;padding:0;white-space:nowrap}.file-panel h2{font-size:12px}.filename{font-size:12px;color:#687c85;overflow-wrap:anywhere}.hash-label{font-size:9px;color:#93a0a5;letter-spacing:1px}.hash-label code{display:inline-block;margin-left:12px;color:#84949b;letter-spacing:0;font-size:10px;overflow-wrap:anywhere;max-width:100%}code{font-family:Consolas,monospace}
.filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:0 0 22px}.filters label{display:flex;flex-direction:column;gap:6px;font-size:10px;color:#788991}.filters label:first-child{flex:1;min-width:200px}input,select{border:1px solid #dbe3e4;border-radius:5px;padding:9px 11px;background:#fff;color:#415761;min-height:39px;max-width:100%;font-size:12px}.pagination{display:flex;justify-content:space-between;align-items:center;gap:14px;border-top:1px solid var(--line);margin-top:18px;padding-top:18px;color:#819298;font-size:11px}.pagination .button{margin-left:6px}.empty{padding:45px 20px;text-align:center;color:var(--muted);font-size:13px}.info-note{color:#5a787d;background:#eaf1f2;border:1px solid #d9e6e7;font-size:12px;padding:14px 18px;border-radius:7px;margin-bottom:22px}.message{border:1px solid #b8d9ca;background:#eaf5ee;padding:15px 18px;border-radius:7px;color:#316c51;margin-bottom:20px;font-size:12px}.message.error{border-color:#e6b9b2;background:#fff0ec;color:#9c4c3b}
details{margin:18px 0 0;border-top:1px solid var(--line);padding-top:15px}summary{cursor:pointer;font-size:12px;font-weight:550;color:#55746d}details[open] summary{margin-bottom:16px}dialog{border:1px solid var(--line);border-radius:12px;max-width:950px;width:calc(100% - 40px);max-height:88vh;padding:26px;color:var(--ink)}dialog::backdrop{background:#112f38a6;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding-bottom:20px;position:sticky;top:-26px;background:white;z-index:2}.field-value{overflow-wrap:anywhere;white-space:pre-wrap}dialog table{table-layout:fixed}dialog th:first-child{width:46%}pre{font:11px/1.7 Consolas,monospace;white-space:pre-wrap;word-break:break-all;background:#f3f6f5;padding:16px;border-radius:5px}.day-select{font-size:11px;color:var(--muted)}.day-select select{margin-left:8px}.legend{display:flex;flex-wrap:wrap;gap:18px;margin:23px 0;font-size:10px;color:#6a7e86}.legend span{background:transparent!important}.legend span:before{content:"";display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:2px;background:var(--activity-color)}.a0{--activity-color:#b9c9c6}.a1{--activity-color:#dcb86c}.a2{--activity-color:#6f9db4}.a3{--activity-color:#24816e}.no-card{--activity-color:#586d71}.slot-heading{display:flex;justify-content:space-between;align-items:center;font-size:11px;margin:26px 0 12px}.slot-heading span{color:#85959b;font-size:10px}.timeline{position:relative;height:33px;background:#f2f5f5;border-radius:5px;overflow:hidden}.segment{position:absolute;height:100%;background:var(--activity-color);min-width:1px}.segment.striped{background:repeating-linear-gradient(135deg,#ffffff77 0,#ffffff77 2px,transparent 2px,transparent 6px),var(--activity-color)}.axis{display:flex;justify-content:space-between;color:#99a6aa;font-size:9px;margin-top:8px}.day-totals{display:flex;gap:22px;flex-wrap:wrap;font-size:10px;color:#819197;margin:13px 0 22px}.day-totals strong{color:#526a71;font-weight:550}footer{display:flex;justify-content:space-between;gap:18px;color:#95a3a8;font-size:9px;margin:34px 0 0}footer span:first-child{letter-spacing:1px}
@media(min-width:1500px){.content{padding:40px 52px}.topbar{padding:0 52px}.stat{padding:24px}}
@media(max-width:1150px){.sidebar{width:205px;padding:26px 12px}main{margin-left:205px}.content{padding:26px 24px}.topbar{padding:0 24px}.stats{gap:10px}.stat{padding:17px 14px}.stat small{font-size:9px}.two-columns{grid-template-columns:1fr}.topbar .quiet{display:none}.vehicle-card{padding:25px}.panel{padding:20px}.breadcrumb{font-size:11px}}
@media(max-width:800px){.sidebar{position:static;width:100%;padding:17px 18px;display:block;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:24px;margin:0 0 20px}.brand-icon{width:30px;height:32px;font-size:21px}.workspace-label,.sidebar-bottom{display:none}nav{display:flex;overflow:auto;gap:5px}.nav-item{width:auto;white-space:nowrap;font-size:11px;margin:0;padding:9px 11px}.nav-item span{display:none}main{margin-left:0}.topbar{height:auto;min-height:68px;padding:13px 20px;flex-wrap:wrap}.breadcrumb{display:none}.top-actions{width:100%;justify-content:flex-end}.topbar .quiet{display:block;margin-right:auto;font-size:10px}.content{padding:23px 18px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.vehicle-card{padding:24px;flex-direction:column;gap:20px}.vehicle-meta{text-align:left;align-self:start}.vehicle-meta p{margin:8px 0 0}.vehicle-card h2{font-size:32px}.page-heading{align-items:start}h1{font-size:26px}.page-heading .pill{margin-top:25px}.panel-heading{align-items:start;flex-wrap:wrap}.filters label{flex:1;min-width:140px}.filters label:first-child{flex-basis:100%}.filters input,.filters select{width:100%}.panel{padding:18px 16px}.meta-pair{font-size:10px}.pagination{align-items:start;flex-direction:column}.day-totals{gap:12px}.notice{font-size:10px}.hash-label code{margin:8px 0 0;display:block}footer{flex-direction:column;gap:5px}dialog{padding:18px}.dialog-heading{top:-18px}dialog table{font-size:10px}}
@media print{.sidebar,.topbar,.notice,.filters,.pagination,footer,button,.day-select{display:none!important}main{margin:0}.content{padding:0}.panel,.stat{break-inside:avoid}.vehicle-card{background:#eee;color:#111}.vehicle-card .eyebrow,.vehicle-meta p,.vin{color:#444}.table-scroll{overflow:visible}body{background:#fff}.two-columns{display:block}}
.driver-activity-grid{display:grid;grid-template-columns:minmax(240px,300px) 1fr;gap:24px;margin-bottom:22px}.driver-activity .panel-heading label{font-size:12px;color:var(--muted)}.driver-activity .panel-heading select{margin-left:8px}.driver-calendar{border:1px solid var(--line);border-radius:8px;padding:14px;align-self:start}.driver-calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;text-transform:capitalize}.driver-calendar-heading button,.driver-day-header button{border:1px solid var(--line);border-radius:5px;background:white;color:var(--ink);min-width:30px;min-height:30px}.driver-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin-top:12px;text-align:center}.driver-calendar-days b{font-size:10px;color:var(--muted);font-weight:500}.driver-calendar-days button{border:1px solid transparent;border-radius:4px;background:#e8f5ef;color:#146453;min-height:32px;font-size:12px}.driver-calendar-days button.chosen{border-color:#146453;background:#146453;color:white;font-weight:700}.driver-calendar-days button:disabled{background:transparent;color:#aeb9bb;opacity:1}.driver-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.driver-summary>div{border:1px solid var(--line);border-radius:8px;padding:13px;min-width:0}.driver-summary h3{margin:0 0 10px;font-size:12px}.driver-total{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-top:1px solid var(--line);font-size:11px}.driver-total:before,.driver-legend span:before{content:"";flex:none;width:9px;height:9px;border-radius:2px;background:var(--driver-color);margin-top:4px}.driver-total strong{margin-left:auto;white-space:nowrap}.driver-a0{--driver-color:#21b860}.driver-a1{--driver-color:#55869a}.driver-a2{--driver-color:#086388}.driver-a3{--driver-color:#e49b11}.driver-day-header{display:flex;align-items:center;gap:10px;border-top:2px solid #d8e7e8;padding-top:18px;margin:22px 0}.driver-day-header h3{margin:0;text-transform:capitalize}.driver-day-header .muted{margin-left:auto}.driver-chart{padding:12px 0 0}.driver-chart-bars{height:62px;position:relative;background:repeating-linear-gradient(to right,#f2f6f6 0,#f2f6f6 1px,transparent 1px,transparent 16.666%);border-bottom:1px solid var(--line)}.driver-bar{position:absolute;top:0;height:100%;background:var(--driver-color);min-width:1px;border-right:1px solid #fff}.driver-chart-axis{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin:7px 0 14px}.driver-legend{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:18px;font-size:11px}.driver-legend span{display:inline-flex;gap:5px}.driver-activity .table-scroll{max-height:360px;overflow:auto}.driver-activity details{margin-top:20px}
@media(max-width:1150px){.driver-activity-grid{grid-template-columns:1fr}.driver-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.driver-summary{grid-template-columns:1fr}.driver-day-header{flex-wrap:wrap}.driver-day-header .muted{width:100%;margin-left:0}.driver-chart-axis{font-size:8px}.driver-calendar{width:100%}}
.driver-places{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 14px}.driver-places>div{display:flex;flex-wrap:wrap;align-items:center;gap:7px;border:1px solid var(--line);border-radius:6px;padding:10px 12px;font-size:12px}.driver-places strong{width:100%;font-size:11px;color:var(--muted)}.driver-places span{border-radius:4px;background:#eaf4f0;color:#155b4f;padding:4px 7px}.driver-places small{display:block;font-size:10px;color:#516d70}@media(max-width:650px){.driver-places{grid-template-columns:1fr}}
.driver-range{display:flex;align-items:end;flex-wrap:wrap;gap:12px;padding:15px;margin:0 0 12px;border:1px solid var(--line);border-radius:7px;background:#f8fbfa}.driver-range label{display:flex;flex-direction:column;gap:5px;font-size:11px;color:var(--muted)}.driver-range input,.driver-range select{min-width:155px}.driver-range-error{flex-basis:100%;margin:0;color:#a3432a;font-size:12px}@media(max-width:650px){.driver-range label{flex:1 1 135px}.driver-range input,.driver-range select{width:100%;min-width:0}}@media print{.driver-range{display:none}}
.vu-slot{border-top:1px solid var(--line);padding:4px 0 22px;margin-top:12px}.vu-slot .slot-heading{margin:12px 0 4px}.vu-slot.selected .slot-heading strong{color:var(--green)}.vu-slot-totals{display:flex;gap:8px 18px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin:5px 0 18px}.vu-slot-totals strong{color:var(--ink);white-space:nowrap}.vu-slot .table-scroll{max-height:360px;overflow:auto}.driver-bar.vu-no-card,.driver-legend .vu-no-card:before{background:repeating-linear-gradient(135deg,#a3a9aa 0,#a3a9aa 2px,#424646 2px,#424646 6px)}.driver-places span{overflow-wrap:anywhere}@media(max-width:650px){.vu-slot-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
