@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--navy:#122c32;--ink:#193237;--muted:#738184;--green:#d9f078;--border:#e3e8e6;--surface:#f5f7f6;--accent:#365c3d;--radius:12px}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--surface);font-family:'DM Sans',system-ui,sans-serif;font-size:14px}h1,h2,h3,.brand{font-family:Manrope,system-ui,sans-serif}h1,h2,h3,p{margin-top:0}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #95ab39;outline-offset:4px}.brand{display:inline-flex;align-items:center;font-size:32px;letter-spacing:-1.8px;font-weight:800;color:inherit}.brand-mark{display:grid;place-items:center;background:var(--green);color:var(--navy);width:36px;height:36px;border-radius:9px;margin-right:10px;font-size:30px;font-style:italic;line-height:1}.brand-dot{color:#a3bd50}.eyebrow{display:block;font-size:10px;letter-spacing:1.8px;font-weight:750;color:#7b8a77;margin-bottom:14px}.muted{color:var(--muted);line-height:1.65}.button{border:0;display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:48px;padding:12px 22px;background:var(--navy);color:white;border-radius:8px;font-weight:650;cursor:pointer}.button:hover{background:#264b50}.button.full{width:100%;justify-content:space-between}.button.secondary{background:white;color:var(--ink);border:1px solid var(--border)}.auth-layout{min-height:100vh;display:grid;grid-template-columns:46% 54%}.auth-story{background:var(--navy);color:#fff;padding:44px 56px;display:flex;flex-direction:column;position:relative;overflow:hidden}.story-copy{max-width:470px;margin:auto 0;padding:70px 0}.story-copy h1{font-size:clamp(32px,3.4vw,52px);font-weight:650;letter-spacing:-2px;line-height:1.16;margin-bottom:24px}.story-copy>p{color:#b2c0c2;font-size:16px;max-width:350px;line-height:1.8}.story-copy .eyebrow{color:var(--green)}.route-art{height:165px;position:relative;margin:24px 0;opacity:.9;background-image:radial-gradient(#416064 1px,transparent 1px);background-size:18px 18px}.road{position:absolute;left:10%;top:30%;width:75%;height:65px;border:2px dashed #758d79;border-radius:0 50px 50px 0;border-left:0}.route-point{position:absolute;left:8%;width:12px;height:12px;border:3px solid var(--green);border-radius:50%;background:var(--navy)}.route-point.first{top:26%}.route-point.last{top:64%}.truck{position:absolute;top:40%;left:52%;background:var(--green);color:var(--navy);border-radius:7px;padding:12px 17px;font-weight:bold;transform:rotate(-6deg);box-shadow:0 8px 24px #0003}.truck span{margin-left:22px}.story-footer{display:flex;gap:15px;align-items:center}.story-footer strong{font-size:13px}.story-footer p{font-size:11px;color:#a9babb;margin:6px 0 0}.small-icon{background:#2c4448;padding:13px;border-radius:10px;color:var(--green);font-size:23px}.auth-foot{font-size:8px;color:#849c9e;letter-spacing:1px;display:flex;justify-content:space-between;gap:12px}.auth-panel{background:#fff;display:flex;flex-direction:column;padding:45px 12%;justify-content:center}.auth-content{max-width:470px;width:100%;margin:auto}.auth-content h2{font-size:30px;letter-spacing:-1.2px;margin-bottom:10px}.auth-content>.muted{margin-bottom:30px}.field{margin-bottom:18px}.field>label{display:block;font-size:12px;font-weight:650;margin-bottom:8px}.field input:not([type=radio]):not([type=checkbox]){width:100%;height:45px;border:1px solid #d8e0dd;border-radius:7px;padding:10px 12px;background:#fcfdfc}.field input[type=checkbox],.field input[type=radio]{accent-color:var(--navy);width:16px;height:16px;vertical-align:middle;margin-right:8px}.field:has(input[type=checkbox]){display:flex;flex-direction:row-reverse;align-items:center;justify-content:flex-end;gap:6px}.field:has(input[type=checkbox])>label{margin:0}.hint{font-size:11px;color:var(--muted);line-height:1.5;margin-top:6px}.hint ul{padding-left:17px;margin:4px 0}.error{color:#a22d2d;font-size:12px;line-height:1.6}.error ul{padding-left:17px}.account-types #id_account_type{display:grid;gap:7px}.account-types #id_account_type label{border:1px solid var(--border);border-radius:8px;padding:12px;display:flex;align-items:center;font-size:12px;cursor:pointer}.account-types #id_account_type label:has(:checked){border-color:#879a50;background:#f5f9e9}.form-link{text-align:right;margin:-2px 0 22px;font-size:12px;font-weight:600}.auth-switch{text-align:center;font-size:12px;color:var(--muted);margin-top:25px}.auth-switch a{font-weight:700;color:var(--ink)}.fine-print{text-align:center;font-size:10px;color:#a0aaa6;margin-top:36px}.mobile-brand{display:none}.card{background:white;border:1px solid var(--border);border-radius:var(--radius)}.defaults{padding:22px;background:#f4f7ee;border-radius:9px;margin:24px 0;line-height:1.8}.defaults p{color:var(--muted);margin:6px 0 0}.text-button{border:0;background:none;color:var(--ink);cursor:pointer}.simple-header{padding:28px 5%;display:flex;align-items:center;justify-content:space-between}.welcome{max-width:680px;margin:60px auto;padding:44px}.welcome h1{font-size:32px;letter-spacing:-1px;margin-top:24px}.workspace-option{padding:20px 0;border-bottom:1px solid var(--border);display:flex;justify-content:space-between}.workspace-option span{color:var(--muted);font-size:12px}.app-shell{display:flex;min-height:100vh}.sidebar{width:244px;flex-shrink:0;background:var(--navy);color:#bdcbcb;padding:30px 18px 18px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:10}.logo-space{padding:0 14px 31px;color:white;min-height:73px}.workspace-label{display:flex;align-items:center;gap:10px;background:#203b41;border:1px solid #345057;border-radius:8px;padding:12px 9px;margin-bottom:28px}.workspace-label>span:nth-child(2){flex:1;min-width:0}.workspace-label strong{color:#e6eded;font-size:11px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace-label small{font-size:9px;display:block;margin-top:5px;color:#a5b7b7}.workspace-avatar{background:#385354;color:#d6e2cc;display:grid;place-items:center;width:30px;height:30px;border-radius:6px;flex-shrink:0}.nav-caption{font-size:9px;letter-spacing:1.6px;color:#738e93;padding:0 14px;margin-bottom:12px}.nav-item{display:flex;align-items:center;gap:13px;padding:12px 14px;border-radius:7px;font-size:12px;margin:3px 0;min-height:43px}.nav-item:hover{background:#27444a}.nav-item.active{background:var(--green);color:var(--navy);font-weight:700}.nav-icon{width:19px;font-size:19px;text-align:center;line-height:1}.active-dot{margin-left:auto;width:5px;height:5px;border-radius:50%;background:var(--ink)}.sidebar-bottom{margin-top:auto;padding:30px 12px 0}.badge{display:inline-flex;align-items:center;white-space:nowrap;background:#edf3e5;color:#597140;border:1px solid #e0e8d4;padding:7px 10px;border-radius:6px;font-size:10px;font-weight:600;gap:5px}.badge.dark{color:#98aaa9;background:#203a40;border-color:#345057;font-size:8px;letter-spacing:1px}.profile{display:flex;align-items:center;gap:10px;margin-top:24px;padding-top:21px;border-top:1px solid #304a50}.avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#e5eadd;color:#516044;font-size:13px;font-weight:700;flex-shrink:0}.avatar.small{width:31px;height:31px;font-size:11px}.profile strong{font-size:11px;color:#edf1ef;display:block}.profile small{display:block;font-size:9px;margin-top:5px}.logout{display:flex;align-items:center;gap:12px;background:transparent;border:0;color:#a5b8b8;font-size:17px;padding:16px 0 0;cursor:pointer}.logout span{font-size:11px}.main-wrap{margin-left:244px;flex:1;min-width:0}.topbar{height:78px;background:white;border-bottom:1px solid var(--border);display:flex;align-items:center;padding:0 38px;gap:22px}.topbar>div{flex:1;display:flex;align-items:center;gap:15px}.breadcrumb{font-size:11px;color:#8b9898}.breadcrumb span{margin:0 13px;color:#c9d0ce}.breadcrumb strong{color:#4d6264;font-weight:500}.top-date{font-size:10px;color:#80908f}.menu-toggle{display:none;background:transparent;border:0;font-size:22px;color:var(--ink);cursor:pointer}.dashboard{padding:37px 38px 20px;max-width:1600px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading .eyebrow{font-size:9px;margin-bottom:10px}.page-heading h1{font-size:28px;letter-spacing:-1px;font-weight:750;margin-bottom:8px}.page-heading p{font-size:12px;margin:0}.welcome-banner{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;background:#e9efdd;border:1px solid #dce5cd;border-radius:12px;padding:30px 32px;margin-bottom:34px}.welcome-banner .eyebrow{font-size:8px;color:#71814a;margin-bottom:10px}.welcome-banner h2{font-size:20px;letter-spacing:-.6px;margin-bottom:9px}.welcome-banner p{font-size:11px;color:#7c886e;line-height:1.7;max-width:490px;margin:0}.banner-mark{font-size:70px;line-height:1;color:#8ca064;padding:0 20px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.section-heading h2{font-size:14px;font-weight:750;margin:0}.section-heading>span{font-size:10px}.stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin-bottom:26px}.stat{padding:19px 17px}.stat-label{display:flex;justify-content:space-between;gap:7px;color:#687c7c;font-size:10px;min-height:27px}.stat-label>span{color:#a1afab}.stat-value{font-size:29px;margin:10px 0 12px;font-weight:500;color:#3f5756}.stat-note{font-size:8px;color:#9ba6a3}.activity-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:22px}.card-header{padding:21px 23px;border-bottom:1px solid #eef1ef;display:flex;align-items:center;justify-content:space-between;gap:12px}.card-header h2{font-size:13px;margin:0}.subtle-badge{padding:5px 8px;border-radius:5px;background:#f5f7f6;color:#83928e;font-size:9px}.empty-state{text-align:center;padding:42px 26px 44px;max-width:370px;margin:auto}.empty-icon{display:grid;place-items:center;width:48px;height:48px;background:#f2f5ef;border:1px solid #e8ece1;border-radius:12px;margin:0 auto 20px;font-size:23px;color:#91a086}.empty-state h3{font-size:13px;margin-bottom:10px}.empty-state p{font-size:11px;color:#8b9793;line-height:1.8;margin:0}.foundation-note{display:flex;align-items:center;justify-content:center;gap:9px;font-size:10px;color:#9aa6a0;margin:26px 0 55px}.foundation-note p{margin:0;line-height:1.7}.dashboard-footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--border);padding:20px 0 0;font-size:8px;letter-spacing:.6px;color:#9ba7a2}.module-empty{margin-top:32px;padding:40px}.module-empty .empty-state{max-width:420px}
@media(min-width:1600px){.dashboard{padding-top:50px}.stats{gap:20px}.stat{padding:24px}.empty-state{padding-top:64px;padding-bottom:64px}}@media(max-width:1150px){.sidebar{width:216px;padding-left:12px;padding-right:12px}.main-wrap{margin-left:216px}.dashboard{padding:28px 24px}.topbar{padding:0 24px}.stats{grid-template-columns:repeat(3,1fr)}.page-heading{align-items:flex-start}.page-heading h1{font-size:24px}.auth-story{padding:35px}.auth-panel{padding:40px 9%}}@media(max-width:850px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:244px;top:65px}.nav-open .sidebar{transform:translateX(0);box-shadow:12px 0 30px #122c3233}.main-wrap{margin-left:0}.menu-toggle{display:inline-block}.topbar{height:65px}.auth-layout{grid-template-columns:38% 62%}.auth-story{padding:26px}.story-copy h1{font-size:33px}.story-copy>p{font-size:13px}.story-footer,.auth-foot{display:none}.auth-panel{padding:32px 8%}.activity-grid{gap:15px}.page-heading>.badge{margin-top:22px}}@media(max-width:600px){.auth-layout{display:block}.auth-story{display:none}.auth-panel{padding:28px 24px;min-height:100vh}.mobile-brand{display:block;margin-bottom:45px}.auth-content h2{font-size:27px}.auth-content{max-width:440px}.auth-content>.muted{font-size:13px}.dashboard{padding:26px 18px}.topbar{padding:0 18px}.top-date{display:none}.page-heading{display:block}.page-heading>.badge{margin-top:15px}.page-heading h1{font-size:25px}.welcome-banner{padding:24px}.welcome-banner h2{font-size:19px}.banner-mark{display:none}.stats{grid-template-columns:repeat(2,1fr);gap:10px}.stats .stat:last-child{grid-column:1/-1}.stat-label{min-height:18px}.activity-grid{grid-template-columns:1fr}.foundation-note{align-items:flex-start;margin-bottom:30px}.dashboard-footer{flex-direction:column;font-size:8px}.welcome{margin:25px 18px;padding:28px}.welcome h1{font-size:28px}.workspace-option{gap:10px;flex-direction:column}.module-empty{padding:15px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.auth-panel #login-account-type{display:block;width:100%;height:48px;box-sizing:border-box;border:1px solid #d8e0dd;border-radius:7px;padding:10px 42px 10px 12px;background-color:#fcfdfc;color:var(--ink);font:inherit;font-size:15px;cursor:pointer;appearance:none;background-image:linear-gradient(45deg,transparent 50%,#526864 50%),linear-gradient(135deg,#526864 50%,transparent 50%);background-position:calc(100% - 20px) 21px,calc(100% - 15px) 21px;background-size:5px 5px;background-repeat:no-repeat;transition:border-color .15s,box-shadow .15s}.auth-panel #login-account-type:hover{border-color:#96aaa3}.auth-panel #login-account-type:focus-visible{outline:2px solid var(--navy);outline-offset:2px;border-color:var(--navy)}


/* Shared sidebar states, including driver links without icon wrappers. */
.sidebar .nav-item:hover,.sidebar .nav-item:focus-visible,.sidebar .nav-item.active,.sidebar .nav-item[aria-current="page"]{background:var(--green);color:var(--navy)}.sidebar .nav-item:hover span,.sidebar .nav-item:focus-visible span,.sidebar .nav-item.active span{color:inherit}.sidebar .workspace-label{color:#e6eded;text-decoration:none}.sidebar .workspace-label strong{color:#e6eded;white-space:normal;overflow-wrap:anywhere}.sidebar .workspace-label small{color:#b9cccc}.sidebar .workspace-label:hover,.sidebar .workspace-label:focus-visible{background:var(--green);color:var(--navy)}.sidebar .workspace-label:hover strong,.sidebar .workspace-label:hover small,.sidebar .workspace-label:focus-visible strong,.sidebar .workspace-label:focus-visible small{color:var(--navy)}

/* Keep menu geometry stable while hover and current-page colours change. */
.sidebar .nav-item{font-weight:600}.sidebar .nav-item.active{font-weight:600}.sidebar .active-dot{visibility:hidden}.sidebar .nav-item.active .active-dot{visibility:visible}
