:root{font-family:Inter,'Segoe UI',sans-serif;color:#19202d;background:#f5f6f8;font-synthesis:none;--gold:#f5c72e;--ink:#19202d;--muted:#737d8c;--line:#e8ebf0;--white:#fff}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:#755a00;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #927000;outline-offset:3px}button{border:0;border-radius:12px;padding:13px 17px;min-height:46px;background:#edf0f4;color:var(--ink);font-weight:650}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--gold);color:#24200e}.dark{background:#1c2028;color:#fff}.ghost{background:transparent;padding:8px;color:var(--muted)}.outline{background:transparent;border:1px solid #cfd5df}.danger{color:#ac3333}.small{font-size:12px}.muted{color:var(--muted)}h1,h2,h3,p{margin:0}h1{font-size:clamp(25px,4vw,34px);letter-spacing:-1px;line-height:1.2}h2{font-size:19px;letter-spacing:-.4px}h3{font-size:16px}p{line-height:1.6}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.6px;text-transform:uppercase;color:var(--muted);margin-bottom:9px}.brand{display:flex;align-items:center;gap:11px}.brand .mark{width:44px;height:44px;border-radius:12px;background:var(--gold);color:#1a1b20;display:grid;place-items:center;font-size:34px;font-weight:900;font-style:italic}.brand strong{font-size:25px;letter-spacing:.8px;font-style:italic}.brand small{display:block;font-size:8px;letter-spacing:1.5px}.shell{max-width:1320px;margin:auto;display:grid;grid-template-columns:225px minmax(0,1fr);min-height:100dvh}.sidebar{background:#17191d;color:#fff;padding:34px 22px;display:flex;flex-direction:column;gap:42px}.sidebar .brand strong{color:var(--gold)}.sidebar small{color:#b7bdc8}.sidebar nav{display:grid;gap:7px}.sidebar nav button{display:flex;align-items:center;gap:12px;background:transparent;color:#aeb6c5;text-align:left;font-weight:500}.sidebar nav button.active{background:var(--gold);color:#25200d;font-weight:700}.sidebar .slogan{margin-top:auto;color:#969faa;font-size:12px;line-height:1.6}.nav-icon{font-size:20px;width:24px;display:inline-block;text-align:center}.main{min-width:0;padding:0 36px 35px}.topbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:20px 0;gap:10px}.topbar .brand{display:none}.avatar{border-radius:50%;width:34px;height:34px;background:#ede4c3;display:grid;place-items:center;font-size:12px;color:#695218;font-weight:750}.identity{display:flex;align-items:center;gap:10px}.identity small{display:block;color:var(--muted);font-size:10px}.heading{padding:32px 0 25px;display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}.heading p{font-size:13px;color:var(--muted);margin-top:9px}.heading-actions,.actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}.stat{background:#fff;border:1px solid var(--line);border-radius:17px;padding:20px;min-width:0}.stat:first-child{background:#fff8df;border-color:#f1e5b8}.stat .label{font-size:11px;color:#646e7b}.stat strong{display:block;font-size:clamp(19px,2.4vw,27px);letter-spacing:-.8px;margin:11px 0 6px;overflow-wrap:anywhere}.stat small{font-size:10px;color:var(--muted)}.grid{display:grid;grid-template-columns:1.3fr 1fr;gap:20px}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:23px;margin-bottom:20px;min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;flex-wrap:wrap}.row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 0;border-top:1px solid var(--line);flex-wrap:wrap}.row:first-child{border-top:0}.row-title{display:flex;align-items:center;gap:13px;min-width:0}.row-title>div{min-width:0}.row-title strong{overflow-wrap:anywhere}.row-title small{display:block;color:var(--muted);margin-top:5px;font-size:12px}.circle{display:grid;place-items:center;border-radius:14px;background:#f0f2f6;width:43px;height:43px;flex-shrink:0;font-size:20px}.badge{display:inline-flex;padding:6px 10px;border-radius:20px;font-size:11px;font-weight:650;white-space:nowrap;background:#eef1f5;color:#5c6879}.badge.green{background:#e9f6ed;color:#32804a}.badge.amber{background:#fff2d8;color:#916515}.badge.red{background:#ffeded;color:#a73535}.hero{padding:26px;border-radius:18px;background:#1b1e24;color:white;margin-bottom:20px;position:relative;overflow:hidden}.hero .eyebrow{color:#d3ae39}.hero h2{font-size:26px;line-height:1.3;max-width:330px;margin-bottom:15px}.hero p{font-size:13px;color:#b9c0cb;margin-bottom:20px}.route{display:grid;gap:20px;margin:23px 0}.route>div{display:flex;gap:12px;align-items:center}.route .point{width:11px;height:11px;border:3px solid #d1a725;border-radius:50%;flex-shrink:0}.route .end{border-radius:2px;background:#d1a725}.route small{display:block;font-size:10px;letter-spacing:1px;color:var(--muted);margin-bottom:5px}.trip-meta{display:flex;gap:18px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:15px;font-size:12px;color:var(--muted)}.empty{padding:23px 8px;text-align:center;color:var(--muted);font-size:13px;line-height:1.6}.empty strong{display:block;color:#424b59;font-size:15px;margin-bottom:7px}.list-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.list-grid>.panel{margin:0}.notice{background:#fff8df;padding:14px 17px;border-radius:12px;font-size:12px;color:#76622b;margin-bottom:18px}.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.filters button{font-size:12px;min-height:38px;padding:8px 13px}.filters button.active{background:#222731;color:#fff}.map{width:100%;height:235px;border:0;border-radius:12px;background:#f2f4f7;margin:15px 0}.document{padding:12px 0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12px}.document a{font-weight:650}.section-label{margin:20px 0 12px;font-size:13px;color:var(--muted)}.account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.account-grid button{background:white;border:1px solid var(--line);text-align:left;padding:22px}.account-grid strong{display:block;margin-bottom:7px}.account-grid small{font-weight:400;color:var(--muted);line-height:1.5}.bottom-nav{display:none}.footer{font-size:10px;color:#8a929d;margin-top:28px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.auth{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:white}.auth-art{background:#17191d;color:white;padding:55px;display:flex;flex-direction:column;justify-content:space-between;min-height:600px}.auth-art .brand strong{color:var(--gold)}.auth-art h1{font-size:clamp(35px,5vw,66px);max-width:540px;line-height:1.07;letter-spacing:-2px;margin-bottom:23px}.auth-art h1 em{font-style:normal;color:var(--gold)}.auth-art p{color:#abb2bf;max-width:360px}.auth-art .road{height:7px;background:repeating-linear-gradient(90deg,var(--gold) 0 45px,transparent 45px 60px);margin:35px 0;transform:skewY(-7deg)}.auth-form{padding:40px;display:flex;justify-content:center;align-items:center}.auth-form>div{width:100%;max-width:380px}.auth-form h2{font-size:29px;margin-bottom:12px}.auth-form p{font-size:13px;color:var(--muted);margin-bottom:25px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.fields .full{grid-column:1/-1}label{display:block;font-size:12px;font-weight:650;color:#536074}input,select,textarea{display:block;width:100%;border:1px solid #dce1e8;background:#fff;color:#222b39;border-radius:10px;padding:12px;margin-top:7px;min-height:46px;font-size:16px}textarea{min-height:90px;resize:vertical}input[type=file]{font-size:12px}label small{display:block;margin-top:5px;font-weight:400;color:var(--muted)}form>.primary{margin-top:20px;width:100%}.form-error{color:#a53434!important;margin-top:13px;font-size:13px;white-space:pre-wrap}.auth-form form label{margin-bottom:16px}dialog{border:0;border-radius:20px;width:min(650px,calc(100% - 28px));max-height:90dvh;padding:26px;color:var(--ink);box-shadow:0 25px 100px #0003}dialog::backdrop{background:#121a2d88;backdrop-filter:blur(3px)}dialog .modal-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}#toast{position:fixed;bottom:95px;left:50%;transform:translateX(-50%);max-width:90%;background:#202731;color:white;padding:13px 20px;border-radius:12px;z-index:100;font-size:13px;box-shadow:0 5px 20px #0002}#toast:empty{display:none}.loading{padding:40px}.wide-button{width:100%;margin-top:15px}.stack{display:grid;gap:12px}.amount{font-variant-numeric:tabular-nums}.auth-mobile-brand{display:none}
@media(min-width:1400px){.shell{border-left:1px solid var(--line);border-right:1px solid var(--line)}}
@media(max-width:1000px){.shell{grid-template-columns:190px minmax(0,1fr)}.main{padding:0 23px 25px}.sidebar{padding:28px 15px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.grid{grid-template-columns:1fr}.list-grid{grid-template-columns:1fr}.hero h2{max-width:none}}
@media(max-width:650px){body{background:#f8f9fb}.shell{display:block;min-height:100dvh}.sidebar{display:none}.main{padding:0 20px 105px}.topbar{border:0;padding:24px 0 10px}.topbar .brand{display:flex}.topbar .brand strong{font-size:23px}.topbar>.muted{display:none}.identity .user-name{display:none}.heading{padding:25px 0 23px}.heading h1{font-size:28px}.heading-actions{width:100%}.heading-actions button{flex:1}.stats{gap:11px}.stat{padding:18px 15px}.stat strong{font-size:24px}.stat .label{font-size:12px}.stat small{font-size:11px}.panel{padding:20px;border-radius:17px}.panel-head h2{font-size:19px}.row{gap:10px}.row-title strong{font-size:14px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);justify-content:space-around;padding:8px 4px calc(8px + env(safe-area-inset-bottom));z-index:10}.bottom-nav button{background:transparent;color:#818c9d;display:grid;gap:3px;justify-items:center;font-size:10px;padding:5px 12px;min-height:51px;border-radius:0}.bottom-nav .nav-icon{font-size:23px}.bottom-nav button.active{color:#826509;border-bottom:3px solid var(--gold)}.footer{display:none}.fields{grid-template-columns:1fr}.auth{display:block}.auth-art{display:none}.auth-form{padding:30px 23px;min-height:100dvh}.auth-mobile-brand{display:block;margin-bottom:50px}.auth-form h2{font-size:28px}.hero{padding:23px}.hero h2{font-size:24px}.account-grid{gap:10px}.account-grid button{padding:18px;font-size:13px}.trip-meta{gap:13px}dialog{padding:20px}.map{height:220px}}
.delivery-block{border-top:1px solid var(--line);padding:20px 0 8px;margin-top:10px}.delivery-block summary{cursor:pointer;font-size:12px;color:var(--muted);padding:12px 0}.delivery-block [hidden]{display:none}
.simple-home{max-width:760px;margin:0 auto}.home-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.home-section-title{margin:28px 0 16px}.home-current h2{margin:18px 0;font-size:20px;line-height:1.5}.simple-home .heading{padding:32px 0}.simple-home .heading .eyebrow,.simple-home .heading p:empty{display:none}.simple-home .stat:nth-child(2){background:#f1f7f1;border-color:#e5eee5}.simple-home .panel .wide-button.ghost{text-align:left;justify-content:flex-start;color:#80630a;border-top:1px solid var(--line);border-radius:0}.simple-home .home-stats{margin-bottom:32px}.account-grid{margin-bottom:20px}
.distance-tool{border-top:1px solid var(--line);padding-top:12px;margin-top:12px}.distance-tool summary{cursor:pointer;font-weight:600;font-size:13px;padding:12px 0}.distance-tool .fields{margin-top:14px}.distance-tool p{margin:12px 0}
.access-link{display:block;text-align:center;border-radius:12px;padding:12px;margin-top:18px;font-size:13px}
.simple-home .home-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.payroll-summary{background:#fff6eb}.payroll-summary .ghost{padding:8px 0;min-height:36px;font-size:12px;color:#80630a;display:block}.home-summary .stat{padding:18px 16px}.home-summary .stat strong{font-size:clamp(19px,2.2vw,27px)}@media(max-width:650px){.simple-home .home-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.home-summary .payroll-summary{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:12px}.payroll-summary .label{grid-column:1}.home-summary .payroll-summary strong{grid-column:2;grid-row:1/3;margin:0}.payroll-summary small{grid-column:1}.payroll-summary .ghost{grid-column:1/-1;text-align:left}}
.truck-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:22px 0}.truck-details dt{font-size:12px;color:var(--muted);margin-bottom:6px}.truck-details dd{margin:0;font-weight:600;overflow-wrap:anywhere}@media(max-width:400px){.truck-details{grid-template-columns:1fr}}
.license-photo{margin:20px 0;background:#f6f7f9;border:1px solid var(--line);border-radius:12px;padding:12px}.license-photo img{display:block;max-width:100%;max-height:360px;object-fit:contain;margin:auto}.license-photo figcaption{font-size:12px;color:var(--muted);margin-top:10px;overflow-wrap:anywhere}
.install-driver{position:relative;z-index:20;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;padding:12px 20px;background:#17191d;color:#fff;border-bottom:2px solid #facc15}.install-driver>span{font-weight:700}.install-driver p{flex-basis:100%;max-width:720px;margin:0 auto;color:#fff;font-size:14px}.install-driver button{padding:10px 16px}#activate-driver{display:grid;gap:14px;margin:20px 0;max-width:480px}

/* VERAS: compact mobile workspace, 12 October 2026. */
:root{--gold:#f6c928;--ink:#1d242c;--muted:#697581;--line:#e5e9ec}
.nav-icon svg,.circle svg{width:23px;height:23px;display:block}
.nav-icon{display:grid;place-items:center}
.install-driver{background:#fff9df;color:#504315;border:0;padding:8px 20px;gap:10px;justify-content:flex-start;min-height:52px}
.install-driver>span{font-size:12px;font-weight:600;margin-right:auto}
.install-driver button{font-size:12px;min-height:36px;padding:8px 14px;border-radius:9px}
.install-driver .install-dismiss{background:transparent;color:#75663b;font-size:23px;padding:4px 8px;min-width:36px}
.install-driver p{color:#504315;font-size:12px}
.simple-home .heading p{font-size:13px;color:#697581;margin-top:7px}
.simple-home .home-summary{gap:12px;margin-bottom:22px}
.simple-home .home-summary .stat{border-radius:18px;padding:20px;border-color:#e5e9ec;box-shadow:0 3px 12px #1c243004}
.simple-home .home-summary .stat:first-child{background:#20282f;border-color:#20282f;color:white}
.simple-home .home-summary .stat:first-child .label{color:#f8d766}
.simple-home .home-summary .stat:first-child small{color:#b6c0c8}
.simple-home .home-summary .stat:nth-child(2){background:#fff;border-color:#e5e9ec}
.simple-home .home-summary .stat strong{letter-spacing:-1px;margin:13px 0 7px;font-weight:750}
.simple-home .payroll-summary{background:#fff;position:relative;overflow:hidden}
.simple-home .payroll-summary:before{content:'';position:absolute;left:0;top:20px;bottom:20px;width:3px;background:var(--gold);border-radius:3px}
.simple-home .home-section-title{margin:24px 0 12px;font-size:18px}
.simple-home .panel{border-radius:18px;box-shadow:0 3px 12px #1c243004}
.circle{background:#fff7d6;color:#625017;border-radius:12px}
.badge.green{background:#e9f6ed;color:#247844}
@media(max-width:650px){
 body{background:#f3f5f7}
 .main{padding:0 18px 100px}
 .topbar{padding:20px 0 15px;border-bottom:1px solid #e4e8ec}
 .brand{gap:9px}.brand .mark{width:37px;height:37px;font-size:29px;border-radius:11px}
 .topbar .brand strong{font-size:21px}.brand small{font-size:7px;letter-spacing:1.2px}
 .avatar{width:35px;height:35px;background:#fff;border:1px solid #e5e9ec;color:#515c69}
 .simple-home .heading{padding:24px 0 20px}.simple-home .heading h1{font-size:26px;letter-spacing:-.8px}
 .simple-home .home-summary .stat{padding:17px 15px;border-radius:16px}
 .simple-home .home-summary .stat strong{font-size:24px;line-height:1.2;overflow-wrap:anywhere}
 .simple-home .home-summary .stat .label{font-size:12px}.simple-home .home-summary .stat small{font-size:10px}
 .home-summary .payroll-summary{column-gap:8px}.home-summary .payroll-summary .label{font-size:12px;max-width:185px;line-height:1.4}
 .home-summary .payroll-summary strong{font-size:22px;margin:0}
 .payroll-summary .ghost{grid-column:1/-1;padding:8px 0 0;min-height:32px;font-size:12px;text-align:left}
 .simple-home .panel{padding:16px;margin-bottom:16px}
 .simple-home .row{padding:13px 0;gap:8px}.simple-home .row-title{gap:10px}
 .simple-home .row-title strong{font-size:13px}.simple-home .row-title small{font-size:11px}
 .simple-home .row .ghost{min-height:36px;font-size:12px;padding:6px 0}
 .simple-home .home-current h2{font-size:18px;margin:12px 0}.home-current>p{font-size:12px;font-weight:650}
 .bottom-nav{padding:8px 12px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -4px 24px #18243106;gap:5px}
 .bottom-nav button{flex:1;font-size:10px;font-weight:600;padding:8px 5px;border-radius:12px;gap:5px;min-height:54px}
 .bottom-nav button.active{background:#fff5cc;border:0;color:#584810}
 .bottom-nav .nav-icon{width:24px;height:23px}
}

/* Three equally sized overview cards stay together on phones. */
.delete-trip-confirm{display:flex;gap:10px;align-items:center;font-size:14px}
.delete-trip-confirm input{width:20px;min-height:20px;margin:0;flex-shrink:0}
@media(max-width:650px){
 .simple-home .heading{padding:15px 0 13px}
 .simple-home .heading h1{font-size:23px}
 .simple-home .home-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:16px}
 .simple-home .home-summary .stat{padding:13px 9px;border-radius:13px;min-height:111px}
 .simple-home .home-summary .stat .label{font-size:10px;line-height:1.25;display:block}
 .simple-home .home-summary .stat strong{font-size:clamp(14px,4.4vw,21px);letter-spacing:-.6px;line-height:1.25;margin:11px 0 6px}
 .simple-home .home-summary .stat small{font-size:9px;line-height:1.3;display:block}
 .simple-home .home-summary .payroll-summary{display:block;grid-column:auto}
 .simple-home .home-summary .payroll-summary strong{margin:11px 0 6px}
 .simple-home .payroll-summary:before{display:none}
 .simple-home .payroll-summary .ghost{padding:6px 0 0;font-size:10px;min-height:30px;text-align:left}
 .simple-home .home-section-title{margin-top:18px}
}
