:root{--navy:#142c41;--navy2:#203f58;--red:#e63b47;--bg:#f5f7fa;--ink:#192d40;--muted:#7b8796;--line:#e9edf2;--green:#27896a;--blue:#4288ad;--radius:16px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #4a9ddd;outline-offset:3px}a{color:inherit}svg{display:block;flex-shrink:0}button svg{pointer-events:none}h1,h2,h3,p{margin:0}button{border:0}input,select,textarea{color:var(--ink)}.skip{position:fixed;top:-100px;left:15px;background:white;padding:12px;z-index:100}.skip:focus{top:10px}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:var(--navy);color:#c0ceda;padding:33px 20px 22px;display:flex;flex-direction:column;z-index:30}.brand{padding:0 17px 33px}.brand-name{font-size:38px;letter-spacing:-2px;color:white;font-weight:800;font-style:italic;line-height:1}.brand-name b{color:var(--red);font-style:normal}.brand-caption{font-size:10px;letter-spacing:2.3px;color:#9daebe;margin-top:11px;text-transform:uppercase}.nav-label{font-size:10px;letter-spacing:1.7px;color:#7990a4;font-weight:700;padding:18px 16px 11px}.nav{display:grid;gap:7px}.nav-item{display:flex;align-items:center;gap:12px;color:#aebfce;background:none;border-radius:9px;padding:13px 15px;text-decoration:none;text-align:left;width:100%;font-size:13px;font-weight:550}.nav-item:hover{color:white;background:#ffffff0a}.nav-item.active{color:white;background:#ffffff12;box-shadow:inset 3px 0 0 var(--red)}.nav-item.active svg{color:#f16b73}.nav-item .count{margin-left:auto;background:#ffffff12;padding:2px 6px;border-radius:5px;font-size:10px;color:#dde7ef}.sidebar-bottom{margin-top:auto}.help-card{margin:22px 5px;padding:16px;border:1px solid #ffffff16;border-radius:12px;font-size:12px;line-height:1.6}.help-card strong{display:block;color:#dbe6ed;font-size:12px;margin-bottom:6px}.help-card p{color:#90a6b9;font-size:11px}.help-card button{margin-top:12px;background:none;color:#d8e5ee;padding:0;display:flex;align-items:center;gap:7px;font-size:11px}.profile{display:flex;gap:10px;align-items:center;width:100%;background:none;color:inherit;border-top:1px solid #ffffff14;padding:20px 6px 0;text-align:left}.avatar{width:37px;height:37px;border-radius:50%;background:#e6eef3;color:var(--navy);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:12px;flex-shrink:0}.profile strong{font-size:12px;color:#e1e9f0;display:block;margin-bottom:3px}.profile small{font-size:10px;color:#8ba3b7}.profile>svg{margin-left:auto;color:#8ba3b7}.shell{margin-left:238px}.topbar{height:77px;padding:0 38px;border-bottom:1px solid var(--line);background:white;display:flex;align-items:center;justify-content:space-between;gap:20px}.breadcrumb{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted)}.breadcrumb strong{font-weight:500;color:#405467}.top-actions{display:flex;align-items:center;gap:20px}.demo-pill{display:inline-flex;align-items:center;gap:6px;background:#fff7eb;color:#ab782a;border:1px solid #f5e6cb;border-radius:6px;padding:5px 8px;font-size:10px;font-weight:600}.demo-pill i{width:5px;height:5px;border-radius:100%;background:#cf983e}.top-button{background:transparent;border:1px solid var(--line);padding:8px;border-radius:50%;position:relative;color:#697a8b}.notification-dot{position:absolute;right:7px;top:6px;width:6px;height:6px;background:var(--red);border:1px solid white;border-radius:50%}.mobile-brand{display:none}.main{max-width:1550px;margin:0 auto;padding:32px 38px 20px}.hero{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:26px}.eyebrow{font-size:10px;text-transform:uppercase;font-weight:700;letter-spacing:1.4px;color:#7e8c9a;margin-bottom:11px}.hero h1{font-size:28px;letter-spacing:-.9px;line-height:1.2;font-weight:650}.hero p{font-size:12px;color:var(--muted);margin-top:10px}.hero-actions{display:flex;align-items:center;gap:12px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;border-radius:8px;background:var(--navy);color:#fff;font-size:12px;font-weight:600;line-height:20px;white-space:nowrap}.btn:hover{background:var(--navy2)}.btn.secondary{background:white;color:var(--ink);border:1px solid #dfe6ed}.btn.secondary:hover{background:#f7f9fc}.btn.red{background:var(--red)}.btn.red:hover{background:#cf2d39}.btn.ghost{background:none;color:#6f8091;padding:8px}.btn.small{padding:7px 12px;font-size:11px}.month-control{display:flex;align-items:center;gap:10px;background:white;border:1px solid #e3e8ef;padding:10px 12px;border-radius:8px;position:relative;height:43px;color:#526577}.month-control label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:550;pointer-events:none}.month-control input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.month-control input::-webkit-calendar-picker-indicator{width:100%;height:100%;cursor:pointer}.prototype-note{display:flex;align-items:center;gap:9px;font-size:11px;color:#6e7d8c;margin:0 0 20px}.prototype-note svg{color:#8b9aa7}.prototype-note button{margin-left:auto;color:#768595;background:none;text-decoration:underline;text-underline-offset:3px;font-size:11px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.stat{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:20px 20px 18px;min-width:0}.stat-head{display:flex;align-items:center;justify-content:space-between;gap:7px;color:#718090;font-size:11px;font-weight:500}.icon-box{width:32px;height:32px;border-radius:9px;background:#f1f5f8;color:#547c98;display:flex;align-items:center;justify-content:center}.icon-box.purple{background:#f2effa;color:#9c88c3}.icon-box.teal{background:#eef7f5;color:#4d9c89}.icon-box.rose{background:#fdf0f0;color:#df7e85}.stat-value{font-size:28px;font-weight:650;letter-spacing:-.9px;line-height:1;margin:16px 0 11px;white-space:nowrap}.stat-value small{font-size:12px;font-weight:400;letter-spacing:0;color:#9aa6b1;margin-left:5px}.stat-foot{font-size:10px;color:#8c98a5;display:flex;align-items:center;gap:4px;line-height:1.5}.stat-foot .dot{background:#50a187}.stat.accent{border-color:#dce8e3}.stat.accent .stat-value{color:#26765d}.stat-foot b{font-weight:500;color:#6f8290}.dot{display:inline-block;width:5px;height:5px;border-radius:100%;background:#99a7b5}.grid-main{display:grid;grid-template-columns:minmax(0,1fr) 318px;gap:22px;align-items:start}.left-column,.right-column{display:grid;gap:22px;min-width:0}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.card-header{padding:21px 23px 0;display:flex;align-items:center;justify-content:space-between;gap:14px}.card-header h2{font-size:14px;font-weight:650;letter-spacing:-.25px}.card-header p{color:#95a0ad;font-size:10px;margin-top:6px;line-height:1.5}.text-link{display:flex;align-items:center;gap:5px;font-size:10px;background:none;color:#7b8c9a;padding:4px 0;white-space:nowrap}.text-link:hover{color:var(--navy)}.legend{display:flex;align-items:center;gap:14px;color:#8a97a4;font-size:10px}.legend span{display:flex;align-items:center;gap:5px}.legend i{width:7px;height:7px;border-radius:2px;background:var(--navy2)}.legend i.pair{background:#b9d1dc}.chart{height:180px;padding:16px 22px 0}.chart svg{width:100%;height:100%;overflow:visible}.chart-summary{border-top:1px solid #f1f4f7;margin:7px 23px 0;padding:13px 0 17px;font-size:10px;color:#8d9ba8;display:flex;justify-content:space-between;gap:10px}.chart-summary strong{color:#5a7083;font-weight:500}.journey-card{border:0;background:var(--navy);color:white;border-radius:var(--radius);padding:23px;position:relative;overflow:hidden;min-height:270px}.journey-kicker{font-size:9px;font-weight:600;text-transform:uppercase;letter-spacing:1.4px;color:#9cb4c8;display:flex;align-items:center;gap:6px}.journey-card h2{font-size:21px;letter-spacing:-.4px;font-weight:550;line-height:1.25;margin-top:18px;max-width:220px}.journey-card p{font-size:11px;line-height:1.7;color:#9eb4c6;margin-top:10px;max-width:220px}.journey-card .btn{margin-top:23px;width:100%;background:white;color:var(--navy)}.journey-card .btn:hover{background:#f0f5f8}.journey-line{position:absolute;right:-10px;top:42px;opacity:.12;pointer-events:none}.journey-card .active-plate{font-size:23px;font-weight:700;margin-top:18px;letter-spacing:1px}.journey-info{display:flex;gap:8px;align-items:center;color:#b6c9d7;font-size:11px;margin-top:12px}.journey-live{display:inline-flex;background:#ffffff12;color:#d6e5ee;padding:6px 9px;border-radius:6px;font-size:10px;margin-top:13px;gap:6px;align-items:center}.live-dot{width:6px;height:6px;background:#75c5a8;border-radius:50%;box-shadow:0 0 0 3px #75c5a814}.fee-body{padding:20px 23px}.fee-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:17px;font-size:11px;color:#7c8c9a}.fee-row strong{font-weight:600;color:#40566a}.fee-label{display:flex;align-items:center;gap:8px}.fee-marker{width:7px;height:7px;background:#557991;border-radius:2px}.fee-marker.pair{background:#b4cbd7}.fee-total{border-top:1px dashed #e1e7ec;margin-top:6px;padding-top:15px;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#7f909f}.fee-total strong{color:#2a7f62;font-size:19px;font-weight:650;letter-spacing:-.4px}.rate-note{font-size:10px;color:#a3aeba;line-height:1.6;margin-top:15px}.attention{padding:0 20px 4px}.attention-item{display:flex;gap:10px;padding:17px 0;border-bottom:1px solid #f0f3f7;font-size:11px;line-height:1.6;width:100%;background:white;text-align:left;color:#758697}.attention-item:last-child{border-bottom:0}.attention-item b{display:block;font-weight:550;color:#50677b}.attention-item .mini-icon{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#fff7eb;color:#c58c37;flex-shrink:0}.attention-item>svg{margin-left:auto;margin-top:6px;color:#a0afba}.attention-clear{padding:23px;font-size:11px;color:#789188;display:flex;gap:9px;line-height:1.6}.table-wrap{width:100%;overflow-x:auto}.trips-table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:11px;text-align:left}.trips-table th{font-size:9px;letter-spacing:.45px;font-weight:600;color:#9aa6b3;background:#fafbfd;padding:13px 17px;border-top:1px solid #f0f3f6;border-bottom:1px solid #f0f3f6}.trips-table td{padding:15px 17px;border-bottom:1px solid #f0f3f6;color:#62768a}.trips-table tbody tr:last-child td{border-bottom:0}.trips-table tbody tr:hover{background:#fafcfe}.trips-table th:first-child,.trips-table td:first-child{padding-left:23px}.trips-table .date-cell strong{display:block;color:#3e566a;font-weight:550;font-size:11px}.trips-table .date-cell small{display:block;font-size:9px;color:#a3aeba;margin-top:4px}.plate{background:#f5f7fa;border:1px solid #e8edf2;color:#486075;padding:4px 6px;border-radius:4px;font-size:10px;letter-spacing:.3px;font-weight:600;display:inline-block}.crew{display:flex;align-items:center;gap:5px;font-size:10px;color:#8193a4}.crew svg{color:#9cabb9}.km-cell{font-weight:650;color:#40586d!important}.status{display:inline-flex;align-items:center;gap:4px;font-size:9px;font-weight:500;padding:5px 7px;border-radius:5px;line-height:1.2;white-space:nowrap}.status.approved{color:#4c937b;background:#eff8f3}.status.pending{color:#b28c4a;background:#fcf6e9}.status.review{color:#c47176;background:#fdf0f0}.status.open{color:#5e8da9;background:#edf5fa}.row-button{width:26px;height:26px;color:#9daeba;background:none;border-radius:7px;display:flex;align-items:center;justify-content:center}.row-button:hover{background:#eef2f6;color:var(--navy)}.table-heading{padding-bottom:20px}.table-footer{display:flex;justify-content:space-between;padding:14px 23px;font-size:10px;color:#9aa8b5;border-top:1px solid var(--line)}.filterbar{padding:20px 23px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.search-input{display:flex;align-items:center;gap:9px;flex:1;min-width:180px;max-width:310px;border:1px solid #e0e6ec;border-radius:8px;padding:9px 12px;color:#8a9bab}.search-input input{border:0;background:none;outline:0;width:100%;font-size:11px}.filterbar select{border:1px solid #e0e6ec;border-radius:8px;background:white;padding:9px 11px;font-size:11px;color:#657b8e}.footer{padding:24px 0 0;display:flex;justify-content:space-between;gap:15px;font-size:9px;color:#a6b0ba}.footer span:first-child{display:flex;gap:6px;align-items:center}.empty{padding:45px 25px;text-align:center;color:#91a0ad;font-size:12px;line-height:1.8}.empty svg{margin:0 auto 10px;color:#b1bec9}.empty strong{display:block;color:#526d81;font-size:14px;margin-bottom:5px}.empty .btn{margin-top:15px}.statement-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px}.statement-row{padding:22px 24px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:15px;align-items:center;font-size:12px}.statement-row small{display:block;color:#8b9ba8;font-size:10px;margin-top:7px}.statement-row strong{font-size:18px;color:#3c576c;letter-spacing:-.4px}.statement-row.head{color:#8799a8;background:#fafbfd;font-size:10px;padding-top:15px;padding-bottom:15px}.statement-row.total{border:0;background:#f7faf9}.statement-row.total strong{color:var(--green)}.info-box{padding:18px 20px;border-radius:10px;background:#f2f6fa;color:#6a8194;font-size:11px;line-height:1.8;margin:20px 23px}.info-box strong{color:#4e6d83}.list-cards{display:grid;grid-template-columns:1fr 1fr;gap:22px}.master-list{padding:8px 23px 16px}.master-row{display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:15px 0;font-size:12px}.master-row:last-child{border:0}.master-row small{display:block;color:#91a0ad;font-size:10px;margin-top:4px}.master-row .pill{margin-left:auto;color:#7c91a0;background:#f3f6f9;padding:4px 8px;border-radius:5px;font-size:9px}.pending-banner{border:1px solid #f2e6cc;background:#fffaf0;padding:16px 19px;margin-bottom:20px;border-radius:12px;color:#a0834e;display:flex;gap:11px;align-items:flex-start;font-size:11px;line-height:1.7}.pending-banner b{color:#8c6f3b}.toast{box-shadow:0 10px 30px #142c4125;background:var(--navy);color:white;border-radius:10px;padding:14px 18px;font-size:12px;display:flex;gap:10px;align-items:center;max-width:480px;line-height:1.6}.toast.error{background:#9e3540}#toasts{position:fixed;bottom:26px;left:calc(50% + 119px);transform:translateX(-50%);z-index:100;pointer-events:none;display:grid;gap:8px;width:max-content;max-width:calc(100% - 40px)}dialog{border:0;border-radius:19px;padding:0;width:min(570px,calc(100vw - 32px));max-height:calc(100dvh - 42px);color:var(--ink);box-shadow:0 25px 100px #11273e4d;background:white;overflow:auto}dialog::backdrop{background:#142b406b;backdrop-filter:blur(3px)}.modal-head{padding:23px 26px 18px;display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid var(--line);gap:15px}.modal-head .eyebrow{margin-bottom:8px;font-size:9px}.modal-head h2{font-size:20px;letter-spacing:-.5px;font-weight:650}.modal-head p{font-size:11px;color:#8b9aa7;margin-top:8px;line-height:1.6}.close-button{background:#f3f6f9;color:#7c8e9e;border-radius:50%;width:30px;height:30px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.modal-body{padding:22px 26px}.modal-footer{padding:18px 26px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;background:#fafbfd;border-radius:0 0 19px 19px}.stepper{display:flex;gap:12px;align-items:center;font-size:10px;color:#a7b1bb;margin-bottom:22px}.stepper span{display:flex;gap:7px;align-items:center}.stepper i{font-style:normal;width:21px;height:21px;border-radius:50%;background:#f0f3f7;display:flex;align-items:center;justify-content:center;font-size:10px}.stepper .active{color:#425e76;font-weight:600}.stepper .active i{background:var(--navy);color:white}.stepper .line{height:1px;background:var(--line);width:30px}.field{margin-bottom:18px;min-width:0}.field label,.field-label{display:block;font-size:11px;font-weight:600;color:#60788c;margin-bottom:8px}.field label span{color:#a0adb8;font-weight:400}.field input,.field select,.field textarea{width:100%;border:1px solid #dfe6ed;border-radius:8px;padding:11px 12px;font-size:12px;background:white;min-height:42px}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #abc5d8;outline-offset:1px;border-color:#88aabd}.field textarea{resize:vertical;line-height:1.6}.field small{display:block;color:#95a5b3;font-size:10px;margin-top:7px;line-height:1.6}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.crew-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}.crew-option{border:1px solid #e2e7ed;border-radius:9px;display:flex;align-items:center;padding:13px 14px;gap:9px;font-size:12px;color:#7c91a2;cursor:pointer}.crew-option:has(input:checked){border-color:#547b98;background:#f4f8fb;color:#365c78}.crew-option input{accent-color:var(--navy);margin:0}.crew-option svg{margin-left:auto}.reference-box{background:#f3f7fa;border:1px solid #e7eff5;padding:12px 14px;border-radius:8px;margin-bottom:16px;font-size:11px;line-height:1.7;color:#7a90a2;display:flex;gap:9px}.reference-box strong{color:#4b6a82}.warning-box{background:#fff8ec;border:1px solid #f3dfbc;color:#a17c42;border-radius:9px;padding:12px 14px;font-size:11px;line-height:1.7;margin-bottom:16px;display:flex;gap:9px}.warning-box svg,.reference-box svg{margin-top:1px}.warning-box strong{color:#92682c}.warning-box.error{background:#fff1f1;color:#b35d65;border-color:#f4d5d8}.form-error{font-size:11px;color:#b34955;line-height:1.7;padding:10px 0 0}.form-error:empty{display:none}.km-result{background:#f2f8f5;border:1px solid #dfede6;border-radius:10px;padding:17px 20px;display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.km-result span{font-size:11px;color:#729484}.km-result strong{font-size:23px;color:#39785d;letter-spacing:-.5px}.km-result small{font-size:11px;color:#84a292;font-weight:400}.driver-banner{display:flex;align-items:center;gap:11px;background:#f7f9fc;padding:13px;border-radius:9px;margin-bottom:20px;font-size:12px}.driver-banner small{display:block;color:#8a9dab;font-size:10px;margin-top:5px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px 18px;margin:18px 0 22px}.detail-grid dt{font-size:10px;color:#94a5b3;margin-bottom:7px}.detail-grid dd{margin:0;font-size:13px;color:#4f6a80;font-weight:550;line-height:1.6}.detail-title{font-size:10px;color:#8a9caa;font-weight:600;letter-spacing:.8px;text-transform:uppercase;margin:23px 0 13px}.audit{padding:0;list-style:none;margin:0}.audit li{position:relative;padding:0 0 17px 20px;border-left:1px solid #e5ecf2;margin-left:4px;font-size:11px;color:#748b9c;line-height:1.6}.audit li:before{content:'';position:absolute;left:-4px;top:4px;width:7px;height:7px;background:#b2c7d6;border-radius:50%}.audit li:last-child{padding-bottom:0}.audit small{display:block;color:#a0afba;font-size:9px;margin-top:4px}.detail-note{background:#f6f8fb;padding:12px;border-radius:8px;color:#7c91a2;font-size:11px;line-height:1.8}.toggle-role{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:17px 0}.role-option{padding:18px;border:1px solid #e0e8ef;border-radius:10px;background:white;text-align:left;color:#768da0;font-size:11px;line-height:1.7}.role-option.selected{border-color:#658aa7;background:#f3f8fc}.role-option svg{margin-bottom:9px}.role-option b{display:block;font-size:13px;color:#415f77;margin-bottom:5px}[hidden]{display:none!important}
@media(min-width:1550px){.main{padding-top:38px}.hero{margin-bottom:30px}.stats{gap:22px}.stat{padding:23px}.stat-value{font-size:32px}.chart{height:210px}}
@media(max-width:1250px){.sidebar{width:210px;padding-left:15px;padding-right:15px}.shell{margin-left:210px}.topbar{padding:0 26px}.main{padding:26px}.grid-main{grid-template-columns:minmax(0,1fr) 285px;gap:18px}.left-column,.right-column{gap:18px}.stats{gap:12px}.stat{padding:17px 15px}.stat-value{font-size:25px}.stat-head{font-size:10px}.icon-box{width:27px;height:27px}.icon-box svg{width:14px;height:14px}.hero h1{font-size:26px}.hero-actions{gap:9px}.btn{padding:10px 13px}.journey-card{padding:21px}.legend{gap:9px}.card-header{padding-left:20px;padding-right:20px}#toasts{left:calc(50% + 105px)}}
@media(max-width:1060px){.sidebar{width:186px;padding-left:10px;padding-right:10px}.shell{margin-left:186px}.brand-name{font-size:33px}.brand-caption{font-size:8px}.nav-item{font-size:12px;padding:13px}.grid-main{grid-template-columns:1fr}.right-column{grid-template-columns:1fr 1fr}.right-column .attention-card{grid-column:1/-1}.journey-card{min-height:260px}.stats{gap:12px;grid-template-columns:1fr 1fr}.stat{padding:18px}.stat-value{font-size:25px}.stat-head .icon-box{display:flex}.stat-foot{font-size:10px}.hero p{max-width:290px;line-height:1.6}.hero{align-items:center}.hero-actions{flex-direction:column;align-items:stretch}.month-control{justify-content:center}.statement-grid{grid-template-columns:1fr}.statement-grid .right-column{grid-template-columns:1fr}.help-card{padding:12px}#toasts{left:calc(50% + 93px)}}
@media(max-width:760px){.sidebar{inset:auto 0 0;width:100%;height:68px;padding:0 10px;background:white;box-shadow:0 -3px 18px #142b4008;border-top:1px solid var(--line)}.sidebar .brand,.sidebar .nav-label,.sidebar-bottom{display:none}.nav{display:flex;align-items:center;justify-content:space-around;height:100%;gap:2px}.nav-item{display:flex;flex-direction:column;gap:5px;text-align:center;justify-content:center;width:auto;min-width:65px;padding:8px 5px;font-size:9px;border-radius:0;color:#8b9eae}.nav-item.active{color:var(--navy);background:none;box-shadow:none}.nav-item.active svg{color:var(--red)}.nav-item .count{display:none}.nav-item:hover{color:var(--navy);background:#f7f9fb}.nav-item svg{width:20px;height:20px}.shell{margin-left:0;padding-bottom:70px}.topbar{height:65px;padding:0 21px}.breadcrumb{display:none}.mobile-brand{display:block;color:var(--navy);font-size:25px;font-weight:800;letter-spacing:-1.5px;font-style:italic}.mobile-brand b{color:var(--red);font-style:normal}.top-actions{gap:11px}.top-actions .avatar{width:31px;height:31px;font-size:10px}.demo-pill{font-size:8px;padding:4px 6px}.top-button{padding:6px}.top-button svg{width:16px;height:16px}.main{padding:24px 20px}.hero{margin-bottom:22px;gap:12px}.hero h1{font-size:25px}.hero .eyebrow{font-size:8px;margin-bottom:10px;letter-spacing:1.2px}.hero p{font-size:10px;max-width:215px}.hero-actions .btn{display:none}.hero-actions{align-self:flex-start;margin-top:20px}.month-control{padding:9px 10px;height:36px}.month-control label{font-size:10px;gap:5px}.month-control svg{width:13px;height:13px}.stats{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}.stat{padding:17px 16px}.stat-head{font-size:10px}.stat-head .icon-box{display:flex;width:25px;height:25px}.stat-value{font-size:26px;margin:14px 0 10px}.stat-foot{font-size:9px}.prototype-note{font-size:9px;line-height:1.6;align-items:flex-start;margin-bottom:17px;gap:6px}.prototype-note svg{width:13px;height:13px;margin-top:1px}.prototype-note button{display:none}.grid-main{gap:18px;display:flex;flex-direction:column}.left-column,.right-column{width:100%}.right-column{display:contents}.journey-card{order:-1;min-height:0;width:100%;padding:20px}.journey-card h2{font-size:19px;max-width:100%;margin-top:12px}.journey-card p{max-width:100%;font-size:10px;margin-top:7px}.journey-card .btn{margin-top:17px;font-size:12px}.journey-line{right:8px;top:22px}.journey-kicker{font-size:8px}.left-column{gap:18px}.card-header{padding:19px 18px 0}.card-header h2{font-size:13px}.card-header p{font-size:9px}.table-heading{padding-bottom:18px}.chart{height:171px;padding-left:17px;padding-right:17px}.legend{font-size:8px;gap:8px}.legend i{width:6px;height:6px}.chart-summary{font-size:9px;margin:5px 18px 0;padding:12px 0 15px}.fee-body{padding:20px}.right-column .attention-card{grid-column:auto}.trips-table td{padding:14px 13px}.trips-table th{padding:12px 13px}.trips-table th:first-child,.trips-table td:first-child{padding-left:18px}.trips-table .desktop-col{display:none}.table-footer{padding:13px 18px;font-size:9px}.footer{font-size:8px;line-height:1.6;padding-top:21px}.footer span:last-child{max-width:120px;text-align:right}.text-link{font-size:9px}.list-cards{grid-template-columns:1fr}.statement-row{padding:19px 17px;grid-template-columns:1.3fr 1fr 1.1fr;font-size:11px;gap:10px}.statement-row strong{font-size:15px}.statement-row small{font-size:9px}.statement-grid{gap:18px}.filterbar{padding:18px;gap:10px}.search-input{max-width:none}.filterbar select{font-size:10px;padding:9px;max-width:150px}.filterbar .btn{font-size:10px}#toasts{left:50%;bottom:84px}.toast{font-size:11px;padding:12px 15px}.modal-head{padding:21px 21px 17px}.modal-head h2{font-size:19px}.modal-body{padding:21px}.modal-footer{padding:16px 21px}.modal-footer .btn{font-size:11px}.field-grid{gap:11px}.field input,.field select{font-size:12px;padding:10px 9px}.crew-option{padding:12px 10px;font-size:11px;gap:6px}.crew-option svg{width:15px;height:15px}.detail-grid{gap:20px 12px}.detail-grid dd{font-size:12px}.pending-banner{padding:13px;font-size:10px}.help-card{margin:0}.hero-actions .btn.secondary{display:none}}
.brand{padding:0 8px 26px}.brand-logo{background:white;padding:6px 10px;border-radius:9px;display:flex;align-items:center;justify-content:center}.brand-logo img{display:block;width:100%;height:auto}.brand-caption{font-size:8px;letter-spacing:1.4px;text-align:center}.mobile-brand img{display:block;width:112px;height:auto}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.report-scope{display:flex;gap:8px;align-items:center;color:#7890a1;background:#edf3f7;padding:12px 16px;border-radius:10px;margin-bottom:17px;font-size:11px;line-height:1.7}.report-scope button{background:none;padding:0;color:#3d6b8d;text-decoration:underline;font-size:11px}.excel-tag{color:#3f896b;background:#eff7f2;border:1px solid #dfeee5;padding:5px 8px;border-radius:6px;font-size:10px;font-weight:700;letter-spacing:.5px}.report-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding:22px 23px}.report-filter-grid .field{margin-bottom:0}.report-filter-grid .field input,.report-filter-grid .field select{font-size:11px;min-width:0}.report-filter-buttons{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-direction:column}.report-filter-buttons .btn{width:100%;padding:9px 13px}.report-filter-buttons .text-link{font-size:10px;padding:0}.report-stats{margin-top:22px}.report-tabs{display:flex;overflow-x:auto;border-bottom:1px solid var(--line);padding:0 18px;gap:12px}.report-tabs button{background:none;color:#8a9ba9;border-bottom:2px solid transparent;padding:19px 6px 17px;font-size:11px;font-weight:550;display:flex;gap:7px;align-items:center;white-space:nowrap}.report-tabs button span{background:#f2f5f8;color:#95a5b2;font-size:9px;padding:3px 5px;border-radius:4px}.report-tabs button.selected{border-bottom-color:var(--red);color:#2c4d66}.report-tabs button.selected span{background:#eaf1f6;color:#56778e}.report-toolbar{padding:23px;display:flex;justify-content:space-between;align-items:center;gap:15px}.report-toolbar h2{font-size:14px;font-weight:650}.report-toolbar p{font-size:10px;color:#93a3b0;margin-top:7px;line-height:1.7}.report-downloads{display:flex;gap:8px;flex-shrink:0}.reports-table .numeric{text-align:right}.reports-table th:nth-child(n+3){text-align:right}.reports-table td{font-size:11px;line-height:1.5}.reports-table .numeric b{font-size:12px;color:#3c607a}.report-name{display:block;white-space:nowrap;color:#4f6f87;font-weight:550}.report-name small{display:block;font-weight:400;color:#99aab7;font-size:9px;margin-top:5px}.report-driver-names{display:block;white-space:normal;min-width:180px;max-width:290px;color:#758d9f;font-size:10px}.report-pagination{align-items:center;gap:16px;flex-wrap:wrap}.report-pagination>div{display:flex;gap:13px;align-items:center}.report-rule{background:#fafbfd;border-top:1px solid var(--line);display:flex;align-items:flex-start;gap:8px;padding:15px 22px;font-size:10px;color:#92a3b1;line-height:1.8}.report-rule svg{margin-top:2px}
@media(max-width:1150px){.report-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.report-filter-buttons{flex-direction:row;align-items:flex-end;justify-content:space-between}.report-filter-buttons .btn{width:auto}.report-toolbar{flex-wrap:wrap}}
@media(max-width:760px){.nav-item{min-width:52px;flex:1;font-size:8px}.nav{gap:0}.report-scope{font-size:10px;padding:11px 13px}.report-scope button{font-size:10px}.report-filter-grid{padding:18px;gap:16px 13px}.report-filter-grid .field label{font-size:10px;line-height:1.5}.report-filter-grid .field input,.report-filter-grid .field select{font-size:11px;padding:9px 8px}.report-filter-buttons{grid-column:1/-1;align-items:center}.report-filter-buttons .btn{width:auto;padding:10px 18px}.report-filter-buttons .text-link{font-size:10px}.report-tabs{gap:10px;padding:0 12px}.report-tabs button{padding:17px 5px 15px;font-size:10px}.report-toolbar{padding:18px;gap:17px}.report-toolbar h2{font-size:13px}.report-downloads{width:100%;gap:9px}.report-downloads .btn{flex:1;font-size:10px;padding:8px 9px}.report-rule{padding:13px 17px;font-size:9px}.report-pagination{font-size:9px;gap:10px}.report-pagination>span{max-width:100%;line-height:1.7}.report-pagination>div{margin-left:auto}.report-stats{margin-top:18px}}
.definition-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.definition-tabs button{gap:9px}.definition-actions{display:flex;align-items:center;gap:17px}.definition-actions .text-link{font-size:10px}.definition-actions .deactivate{color:#b77b80}.definition-actions .activate{color:#4e947a}.status.inactive{background:#f0f3f6;color:#91a0ad}.linked-user{display:block;font-size:10px;line-height:1.8;color:#6b879d}.muted{color:#a5b2bd}.user-role{display:inline-flex;align-items:center;gap:5px;background:#f0f4f8;color:#70889c;padding:6px 8px;border-radius:6px;font-size:10px}.user-role.role-admin{background:#edf1f7;color:#5b7393}.user-role.role-driver{background:#edf6f2;color:#639980}.user-role.role-viewer{background:#f3f0f8;color:#9280af}.definition-filterbar{padding-top:0}.definition-filterbar .search-input{max-width:360px}.definitions-table td{font-size:11px;line-height:1.7}.definitions-table .report-name small{white-space:normal;max-width:310px;font-size:10px}.definition-account-note{display:flex;align-items:flex-start;gap:9px;background:#f3f7fb;color:#8197a9;margin:0 23px 19px;padding:12px 14px;border-radius:9px;font-size:11px;line-height:1.8}.definition-account-note svg{margin-top:2px}.definition-account-note.in-modal{margin:0 0 20px}.field input[readonly],.field input:disabled{background:#f3f6f9;color:#91a2b1}.definition-history{margin:4px 0 0;padding-top:12px;border-top:1px solid var(--line);font-size:11px;color:#8398a9}.definition-history summary{cursor:pointer;padding:4px 0 13px}.definition-history .audit{margin-top:3px}.definition-history .audit li{font-size:10px}.definition-history .audit small{font-size:9px}
@media(max-width:760px){.definition-stats{gap:9px}.definition-stats .stat{padding:15px 11px}.definition-stats .stat-head{font-size:9px}.definition-stats .icon-box{display:none}.definition-stats .stat-value{font-size:24px;margin:15px 0 10px}.definition-stats .stat-value small{display:none}.definition-stats .stat-foot{font-size:8px;line-height:1.7}.definition-tabs{gap:4px;padding:0 8px}.definition-tabs button{font-size:10px;gap:5px;padding-left:4px;padding-right:4px}.definition-tabs button svg{width:14px;height:14px}.definition-account-note{margin:0 18px 17px;font-size:10px;padding:11px 12px}.definition-filterbar{padding-top:0}.definition-filterbar select{max-width:145px}.definition-actions{gap:14px}.definitions-table .report-name small{max-width:220px}.modal-footer{flex-wrap:wrap}}
@media(max-width:360px){.nav-item{min-width:46px;font-size:7px}.definition-tabs button{font-size:9px;gap:4px}}
@media(prefers-reduced-motion:no-preference){.card,.stat,.journey-card{animation:enter .3s ease both}.stat:nth-child(2){animation-delay:.04s}.stat:nth-child(3){animation-delay:.08s}.stat:nth-child(4){animation-delay:.12s}@keyframes enter{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:none}}button{transition:background .15s,color .15s}}
/* Shared accounts and first-owner setup. */
.auth-layout{min-height:100dvh;display:grid;grid-template-columns:minmax(360px,.95fr) minmax(420px,1.05fr);background:#fff}
.auth-story{position:relative;overflow:hidden;background:#142b40;color:white;padding:44px 52px;display:flex;flex-direction:column;justify-content:space-between;min-height:100dvh}
.auth-story::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 0 75%,#244c65a0,transparent 65%);opacity:.75}
.auth-story>img{width:220px;height:auto;object-fit:contain;background:white;padding:10px 14px;border-radius:9px;z-index:1}
.auth-story-copy{position:relative;z-index:1;margin:64px 0 100px}
.auth-story-copy .eyebrow{color:#a3bdcf;font-size:10px;letter-spacing:.16em}
.auth-story h1{font-size:clamp(38px,3.8vw,64px);font-weight:650;letter-spacing:-.045em;line-height:1.16;margin:24px 0;color:#fff}
.auth-story p{font-size:14px;line-height:1.9;color:#b7c9d5;margin:24px 0}
.auth-route{display:flex;align-items:center;width:240px;margin-top:48px;color:#95b4c7;gap:15px}
.auth-route span{height:2px;flex:1;border-top:2px dashed #7793a7}
.auth-story-footer{position:relative;z-index:1;color:#97acbd;font-size:11px}
.auth-main{display:flex;position:relative;justify-content:center;align-items:center;padding:56px 48px 84px;background:#fafcfd;min-height:100dvh}
.auth-card{width:100%;max-width:410px}
.auth-card>.eyebrow{color:#df001b;font-weight:750;font-size:10px;letter-spacing:.14em;margin-bottom:14px}
.auth-card h2{font-size:29px;line-height:1.25;font-weight:680;letter-spacing:-.045em;color:#142b40;margin:0 0 13px}
.auth-card>p{color:#718396;font-size:13px;line-height:1.8;margin:0 0 30px}
.auth-card .field{margin:0 0 20px}
.auth-card .field input{background:#fff;min-height:47px;font-size:14px;border-radius:7px}
.auth-card .field label{font-size:12px;font-weight:650;margin-bottom:9px}
.auth-submit{width:100%;min-height:47px;justify-content:center;margin-top:7px}
.auth-hint{font-size:11px;color:#6e8292;line-height:1.6;margin:-4px 0 20px}
.auth-footnote{display:flex;gap:10px;align-items:flex-start;border-top:1px solid #e3eaf0;padding-top:22px;margin-top:28px;font-size:11px;line-height:1.7;color:#81919f}
.auth-footnote svg{flex-shrink:0;margin-top:1px;color:#657d90}
.auth-copyright{position:absolute;bottom:30px;left:0;right:0;text-align:center;font-size:10px;color:#9babb8}
.auth-loading{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;text-align:center;color:#506b80;gap:14px;background:#f7fafc}
.live-pill{color:#41665b;background:#f0f8f3;border-color:#dbece1}
.live-pill i{background:#43977a}
.connection-note{background:#f2f7fa;color:#647b8e;border-color:#e0eaf1}
.definition-actions{flex-wrap:wrap}
@media(max-width:850px){.auth-layout{grid-template-columns:1fr}.auth-story{min-height:auto;padding:23px 28px}.auth-story>img{width:160px;padding:7px 10px}.auth-story-copy,.auth-story-footer{display:none}.auth-main{min-height:calc(100dvh - 100px);padding:42px 25px 85px;align-items:flex-start}.auth-card h2{font-size:26px}.auth-card{margin:auto}}
.drive-body{padding:24px}.drive-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:25px}.drive-status-grid small{display:block;color:#8497a6;font-size:11px;margin-bottom:10px}.drive-status-grid strong{display:block;font-size:14px;line-height:1.6;font-weight:600;color:#355367}.drive-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.drive-actions a{text-decoration:none}.drive-card .card-header{align-items:flex-start;flex-wrap:wrap}.drive-card .status{margin-top:2px}@media(max-width:750px){.drive-status-grid{grid-template-columns:1fr}.drive-body{padding:20px}}
/* Daily actions, pending work and recoverable business archives. */
[hidden]{display:none!important}
.driver-home{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:22px;align-items:start}.driver-primary{grid-row:span 2;display:grid;gap:22px}.driver-home .journey-card{min-height:245px}.driver-km-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:25px 23px}.driver-km-grid small{display:block;font-size:12px;color:#6b8090;margin-bottom:12px}.driver-km-grid strong{font-size:28px;color:var(--navy);font-variant-numeric:tabular-nums}.driver-km-grid strong span{font-size:12px;font-weight:500}.driver-earnings{display:grid;grid-template-columns:1fr 1fr;padding:19px 23px;background:#f7fafb;border-top:1px solid var(--line);gap:18px}.driver-earnings span{font-size:12px;color:#6b8090}.driver-earnings strong{display:block;color:#244c3f;font-size:21px;margin-top:9px}.driver-earnings span+span strong{color:#7f6b3f}.mobile-trip-list{display:none}.mobile-trip{width:100%;background:white;text-align:left;padding:18px 19px;border-bottom:1px solid var(--line);color:var(--ink)}.mobile-trip:last-child{border-bottom:0}.mobile-trip-head,.mobile-trip-info{display:flex;align-items:center;justify-content:space-between;gap:12px}.mobile-trip-info{margin-top:14px;color:#607789;font-size:12px}.mobile-trip-info strong{display:flex;align-items:center;gap:7px;white-space:nowrap;color:#29475d;font-size:15px}.mobile-trip-info small{display:block;margin-top:7px;line-height:1.6}.mobile-trip-head .status{font-size:10px;white-space:normal}.mobile-trip .plate{font-size:15px}.date-adjust{border:1px solid #dfe7ed;border-radius:9px;margin:4px 0 20px;padding:12px 14px;color:#61778a}.date-adjust summary{cursor:pointer;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;line-height:1.6}.date-adjust .field{margin-top:17px;margin-bottom:3px}.km-entry input{font-size:24px!important;font-weight:650;letter-spacing:.02em;min-height:62px}.km-entry input::placeholder{font-size:15px;font-weight:400;letter-spacing:0}.draft-note{background:#eff6fa;border:1px solid #d8e7f0;color:#4f6d83;font-size:12px;line-height:1.7;padding:12px 14px;border-radius:9px;margin-bottom:18px}.queue-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin-bottom:22px}.queue-stat{padding:19px;background:white;border:1px solid var(--line);border-radius:12px;text-align:left;color:#61798b;display:grid;grid-template-columns:1fr auto;gap:13px;align-items:center}.queue-stat strong{font-size:28px;color:#183a51;grid-column:1;grid-row:1}.queue-stat svg{grid-column:2;grid-row:1}.queue-stat span{font-size:11px;grid-column:1/-1;line-height:1.6}.queue-stat.selected{border-color:#638398;box-shadow:inset 0 0 0 1px #638398}.queue-tabs{display:flex;overflow-x:auto;gap:8px;padding:0 22px 18px;scrollbar-width:thin}.queue-tabs button{border:1px solid var(--line);border-radius:22px;padding:10px 13px;background:#fff;color:#627b8e;font-size:11px;white-space:nowrap;display:flex;align-items:center;gap:9px;min-height:40px}.queue-tabs button.selected{background:#17374e;color:white;border-color:#17374e}.queue-tabs button span{opacity:.75}.queue-list{padding:0 22px 19px;display:grid;gap:13px}.queue-item{padding:19px;border:1px solid var(--line);border-radius:10px;background:white;border-left:3px solid #9db4c3}.queue-item.urgent{border-left-color:#c54243}.queue-item-top{display:flex;gap:14px;align-items:flex-start;justify-content:space-between}.queue-item-top small{display:block;margin-top:8px;font-size:11px;color:#758998;line-height:1.6}.queue-drivers{display:flex;align-items:center;gap:9px;color:#476477;font-size:13px;line-height:1.6;margin:14px 0}.queue-reasons{display:flex;flex-wrap:wrap;gap:7px}.queue-reason{border-radius:5px;background:#f0f5f8;color:#587489;padding:5px 8px;font-size:10px;line-height:1.6}.queue-reason.urgent{background:#fff0ef;color:#ae3d3e}.queue-note{background:#fff9ed;padding:10px 12px;color:#846633;font-size:12px;line-height:1.7;border-radius:7px}.queue-item-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:16px}.queue-item-bottom>span{font-size:11px;color:#718694;line-height:1.7}.archive-card{margin-top:24px}.archive-card .card-header{gap:18px;flex-wrap:wrap}.archive-list{padding:0 24px}.archive-row{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line);padding:21px 0}.archive-row strong{font-size:14px;color:#2f5065}.archive-row small{display:block;font-size:11px;color:#738a9a;line-height:1.8;margin-top:5px}.archive-row .status{margin-top:10px}.archive-buttons{display:flex;gap:9px;flex-shrink:0;flex-wrap:wrap}.archive-buttons a{text-decoration:none}.archive-buttons .btn{min-height:42px}.nav-item .count{flex-shrink:0}
@media(max-width:1100px){.driver-home{grid-template-columns:1fr}.driver-primary{grid-row:auto;grid-template-columns:1fr 1fr}.driver-primary .journey-card{height:100%}.queue-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.archive-row{align-items:flex-start;flex-direction:column;gap:14px}}
@media(max-width:760px){
  .sidebar{height:calc(72px + env(safe-area-inset-bottom));padding:0 8px env(safe-area-inset-bottom)}.shell{padding-bottom:calc(84px + env(safe-area-inset-bottom))}.main{padding:22px 16px 16px}.topbar{padding-left:18px;padding-right:18px}.driver-sidebar .nav-item{font-size:12px;min-height:60px;gap:7px;min-width:0;padding:8px;position:relative}.driver-sidebar .nav-item svg{width:22px;height:22px}.driver-sidebar .nav-item .count{position:absolute;top:3px;left:calc(50% + 9px);font-size:9px}.operator-sidebar .nav{justify-content:flex-start;overflow-x:auto}.operator-sidebar .nav-item{min-width:74px;flex:1 0 74px;font-size:10px;white-space:nowrap;min-height:62px}.operator-sidebar .nav-item span.count{font-size:9px;padding:1px 4px;position:absolute;top:3px;right:8px}.operator-sidebar .nav-item{position:relative}.hero{gap:16px}.hero h1{font-size:28px}.hero p{font-size:13px;line-height:1.7}.hero .eyebrow{font-size:9px}.hero-actions{gap:10px}.driver-shell .connection-note{font-size:11px;padding:10px 12px}.driver-shell .hero-actions .month-control{min-height:43px}.driver-home{display:flex;flex-direction:column;gap:18px}.driver-primary{display:contents}.driver-home>.driver-primary>.journey-card{order:1;width:100%;min-height:225px;padding:25px}.driver-month{order:2;width:100%}.driver-home>.driver-primary>.attention-card{order:3;width:100%}.driver-recent{order:4;width:100%}.driver-home .journey-card .btn{width:100%;min-height:53px;justify-content:center;font-size:16px;margin-top:24px}.journey-card h2{font-size:26px}.journey-card p{font-size:14px}.journey-card .journey-line{opacity:.35}.journey-card .active-plate{font-size:29px}.driver-km-grid{padding:22px 18px;gap:10px}.driver-km-grid small{font-size:11px}.driver-km-grid strong{font-size:25px}.driver-km-grid strong span{display:block;margin-top:3px;font-size:11px}.driver-earnings{padding:18px;gap:12px}.driver-earnings span{font-size:11px}.driver-earnings strong{font-size:20px}.driver-shell .card-header h2{font-size:15px}.driver-shell .card-header .text-link{font-size:12px;min-height:42px}.mobile-trip-list{display:block}.trip-desktop{display:none}.btn{min-height:44px}.top-button,.close-button{min-width:44px;min-height:44px}.attention-item{padding:17px 18px;min-height:64px}.attention-item b{font-size:13px}.attention-item>span{font-size:12px;line-height:1.7}.filterbar{gap:11px}.filterbar .search-input{width:100%;max-width:none}.filterbar input,.filterbar select{font-size:14px;min-height:44px}.field input,.field select,.field textarea,.auth-card .field input,.report-filter-grid .field input,.report-filter-grid .field select{font-size:16px;min-height:50px;max-width:100%;min-width:0}.field label,.field-label{font-size:14px}.field small{font-size:12px;line-height:1.6}.field-grid{grid-template-columns:1fr}.crew-option{min-height:56px;font-size:15px;padding:14px 12px}.crew-options{gap:12px}.crew-option input{min-height:0}.date-adjust summary{font-size:12px;min-height:28px}.date-adjust input{width:100%}.driver-banner{font-size:14px}.driver-banner small{font-size:11px}.stepper{font-size:11px;margin-bottom:21px}.modal-body{padding:22px 20px}.modal-head{position:sticky;top:0;background:white;z-index:4;padding:20px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:23px}.modal-head p{font-size:13px;line-height:1.7}.modal-head .eyebrow{font-size:9px}.modal-footer{position:sticky;bottom:0;z-index:3;border-radius:0;padding:15px 20px calc(15px + env(safe-area-inset-bottom));gap:10px;box-shadow:0 -5px 16px #142b4006}.modal-footer .btn{font-size:14px;min-height:50px;flex:1;justify-content:center}.modal-footer .btn[type=submit]{flex:2}dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;max-block-size:100dvh;margin:0;border-radius:0;overscroll-behavior:contain;scroll-padding-top:140px;scroll-padding-bottom:100px}#trip-form{min-height:calc(100dvh - 140px);display:flex;flex-direction:column}#trip-form .modal-body{flex:1}#trip-form .km-entry input{min-height:65px}#trip-form .modal-footer{margin-top:auto}.reference-box,.warning-box{font-size:13px;line-height:1.7}.detail-grid{gap:20px 14px}.detail-grid dt{font-size:11px}.detail-grid dd{font-size:13px}.queue-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.queue-stat{padding:16px}.queue-stat:first-child{grid-column:span 2}.queue-stat span{font-size:12px}.queue-tabs{padding:0 16px 17px}.queue-tabs button{font-size:12px;min-height:44px}.queue-list{padding:0 15px 16px}.queue-item{padding:16px}.queue-item-top{gap:10px;flex-wrap:wrap}.queue-item-top .plate{font-size:16px}.queue-item-top small{font-size:12px}.queue-reason{font-size:11px}.queue-item-bottom{align-items:stretch;flex-direction:column;gap:12px}.queue-item-bottom>span{font-size:12px}.queue-item-bottom .btn{justify-content:center;font-size:14px}.queue-drivers{font-size:14px}.archive-list{padding:0 18px}.archive-buttons{width:100%}.archive-buttons .btn{flex:1;justify-content:center;min-height:46px;font-size:12px}.archive-row small{font-size:12px}.archive-row .status{font-size:11px}.drive-actions .btn{font-size:12px;line-height:1.6}.toast{max-width:calc(100vw - 30px);font-size:13px}.auth-card .field input{font-size:16px}
}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}

.definition-import-strip{display:flex;align-items:center;gap:14px;margin:0 23px 21px;padding:18px;border:1px solid #e1e9ef;border-radius:10px;background:#f6f9fb}.import-strip-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex-shrink:0;color:#50758f;background:#eaf1f6;border-radius:10px}.definition-import-strip strong,.import-template-note strong{font-size:13px;color:#24465e}.definition-import-strip p,.import-template-note p{font-size:11px;line-height:1.8;color:#738697;margin-top:5px}.import-strip-actions{display:flex;gap:9px;margin-left:auto;flex-wrap:wrap;justify-content:flex-end}.import-dialog{width:min(1080px,94vw);max-width:1080px}.import-template-note{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:15px;background:#f4f7fa;border-radius:9px;margin-bottom:22px}.import-template-note>div{max-width:660px}.import-template-note .btn{flex-shrink:0}.import-status{font-size:12px;color:#718697;line-height:1.7}.import-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.import-summary>div{border:1px solid #e0e8ee;border-radius:9px;padding:15px}.import-summary small{font-size:11px;color:#738697}.import-summary strong{display:block;font-size:25px;line-height:1.5;color:#27485f}.import-summary .has-error{background:#fff5f5;border-color:#f0c6ca}.import-summary .has-error strong{color:#bd4053}.import-preview{max-height:340px;border:1px solid #e2e9ef;border-radius:9px;margin:18px 0}.import-preview th{position:sticky;top:0;z-index:1;background:#f6f8fb;white-space:normal}.import-preview td{vertical-align:top;white-space:normal;min-width:90px}.import-preview .import-result{min-width:240px;max-width:350px;line-height:1.7}.import-error-row td{background:#fff5f5;color:#9d4351}.import-password{margin-top:22px}.import-dialog .form-error{white-space:pre-line}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:760px){.definition-import-strip{margin:0 18px 18px;padding:15px;align-items:flex-start;flex-wrap:wrap}.import-strip-icon{width:34px;height:34px}.definition-import-strip>div:nth-child(2){flex:1;min-width:170px}.import-strip-actions{width:100%;margin:5px 0 0;justify-content:flex-start}.import-strip-actions .btn{flex:1;justify-content:center;white-space:normal;font-size:11px}.import-dialog{width:100vw;max-width:100vw}.import-template-note{flex-direction:column;align-items:stretch;gap:14px}.import-template-note .btn{justify-content:center}.import-summary{gap:7px}.import-summary>div{padding:10px}.import-summary small{font-size:10px}.import-summary strong{font-size:23px}.import-preview .trips-table{font-size:12px}.import-dialog .modal-footer .btn{flex:auto}.import-dialog .field input[type=file]{font-size:13px;max-width:100%}}

.manual-save-card{margin-bottom:24px}.manual-save-card .card-header{gap:16px;flex-wrap:wrap}.manual-save-button{white-space:nowrap}
@media(max-width:760px){.top-actions{gap:8px}.top-actions .manual-save-button{padding:9px 11px;font-size:12px}.top-actions .manual-save-button~.live-pill{display:none}}

.definition-actions .delete-definition{color:#b34451}.definition-actions .delete-definition:disabled{color:#a5b2bd;cursor:not-allowed}.definition-actions .delete-definition:focus-visible{outline:2px solid #b34451;outline-offset:4px;border-radius:2px}

/* Driver declarations and operational summary. */
.departure-checklist{margin:22px 0;padding:18px;border:1px solid #dce6ec;border-radius:12px;background:#f8fafc;min-width:0}.departure-checklist legend{padding:0 7px;font-weight:650;font-size:14px;color:var(--navy)}.departure-checklist>p{font-size:12px;color:#64798b;line-height:1.6;margin-bottom:12px}.departure-question{display:flex;gap:12px;align-items:flex-start;padding:13px 0;cursor:pointer;font-size:13px;line-height:1.6;border-bottom:1px solid #e6edf2}.departure-question:last-of-type{border-bottom:0}.departure-question input{width:21px;height:21px;min-width:21px;accent-color:var(--navy);margin:1px 0 0}.departure-question span{flex:1}.departure-checklist>small{display:block;color:#6c7f8f;font-size:11px;line-height:1.6;margin-top:10px}.departure-record{list-style:none;padding:0;margin:14px 0 0;display:grid;gap:12px}.departure-record li{display:flex;align-items:flex-start;gap:9px;line-height:1.6}.departure-record svg{margin-top:3px;color:var(--green)}.driver-work-status{display:flex;gap:20px;flex-wrap:wrap;border-top:1px solid var(--line);margin:0 23px;padding:18px 0}.driver-work-status span{font-size:11px;color:#718495}.driver-work-status strong{display:block;font-size:17px;color:var(--navy);margin-top:7px}.statement-km-row{display:grid;grid-template-columns:1fr auto;gap:20px;padding:19px 23px;border-bottom:1px solid var(--line);font-size:13px}.statement-km-row.head{font-size:11px;color:#718495;background:#fafcfd;margin-top:18px}.hose-entry{margin-top:18px}.hose-entry small{line-height:1.65}.mobile-trip-info small{display:block;margin-top:5px}@media(max-width:540px){.departure-checklist{padding:12px}.departure-question{font-size:12px;padding:14px 0}.driver-work-status{gap:15px;margin:0 18px}.driver-work-status strong{font-size:16px}.statement-km-row{padding:17px 18px}}
#historical-form input[type="datetime-local"]{min-width:0;max-width:100%}#historical-form .field-grid>div{min-width:0}@media(max-width:760px){.operator-shell .hero-actions .btn[data-action="historical-add"]{display:inline-flex;white-space:normal;min-height:44px;font-size:11px;padding:8px 10px}.operator-shell .hero-actions{max-width:160px}}

.journey-card .history-driver-button{margin-top:10px;background:transparent;color:#e2edf5;border:1px solid #ffffff40}.journey-card .history-driver-button:hover{background:#ffffff12}.driver-shell .hero-actions .btn[data-action="historical-add"]{display:inline-flex}@media(max-width:760px){.driver-shell .hero-actions .btn[data-action="historical-add"]{display:inline-flex;white-space:normal;min-height:44px;font-size:11px;padding:8px 10px}.driver-shell .hero-actions{max-width:160px}}
.remember-choice{display:flex;align-items:flex-start;gap:10px;margin:8px 0 18px;cursor:pointer;font-size:14px;font-weight:600}.remember-choice input{width:18px;height:18px;margin:2px 0;accent-color:#e31e24}.remember-choice small{display:block;font-size:12px;font-weight:400;color:#6e8292;margin-top:3px}
