@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{--ink:#18342b;--muted:#79827b;--green:#1d4435;--lime:#dcf58c;--bg:#f5f6f2;--line:#e6e9e1;--card:#fff;--radius:18px;--shadow:0 6px 25px #1f3b2710}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font:14px 'DM Sans',system-ui,sans-serif}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a5c651;outline-offset:3px}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4,.brand{font-family:Manrope,system-ui,sans-serif}h1{font-size:32px;font-weight:750;letter-spacing:-1.3px;line-height:1.25}h2{font-size:18px;letter-spacing:-.5px}h3{font-size:15px;letter-spacing:-.2px}p{line-height:1.65}.muted{color:var(--muted)}.small{font-size:12px}.caps{font-size:10px;font-weight:700;letter-spacing:1.7px;text-transform:uppercase}.ico{width:20px;height:20px;display:inline-block;flex-shrink:0;vertical-align:middle;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);background:white;border-radius:9px;padding:11px 16px;font-weight:600;min-height:43px;transition:.15s}.btn:hover{background:#f0f3eb;transform:translateY(-1px)}.btn.primary{background:var(--green);color:white;border-color:var(--green)}.btn.primary:hover{background:#2c5744}.btn.lime{background:var(--lime);border-color:var(--lime);color:#203724}.btn.small{min-height:34px;padding:7px 11px;font-size:12px}.btn.ghost{background:transparent;border-color:transparent}.iconbtn{border:1px solid var(--line);background:#fff;border-radius:50%;width:39px;height:39px;display:inline-flex;align-items:center;justify-content:center;position:relative}.iconbtn:hover{background:#edf1e7}.iconbtn .dot{position:absolute;width:7px;height:7px;background:#80a735;border:2px solid white;border-radius:50%;top:8px;right:9px}.row{display:flex;align-items:center;gap:12px}.between{display:flex;align-items:center;justify-content:space-between;gap:12px}.wrap{flex-wrap:wrap}.grow{flex:1}.stack{display:flex;flex-direction:column;gap:16px}.sidebar{width:230px;position:fixed;inset:0 auto 0 0;background:#152922;color:#c5cfc8;padding:32px 20px 20px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:800;letter-spacing:-.6px;color:white}.brand-symbol{display:inline-flex;align-items:center;justify-content:center;border-radius:10px;width:34px;height:34px;background:var(--lime);color:#21352a;font-size:30px;line-height:1;font-weight:600}.sidebar .section-label{padding:0 13px;margin:40px 0 13px;font-size:10px;color:#7c9488;letter-spacing:1.6px}.nav{display:flex;flex-direction:column;gap:5px}.nav a{display:flex;align-items:center;gap:12px;padding:13px 15px;font-size:13px;font-weight:500;border-radius:9px;color:#b4c3b9;transition:.15s}.nav a:hover{color:#fff;background:#ffffff09}.nav a.active{background:#d9f18d;color:#24352c;font-weight:700}.nav a .count{margin-left:auto;font-size:10px;padding:2px 6px;background:#ffffff12;border-radius:4px}.nav a.active .count{background:#29433014}.sidebar-bottom{margin-top:auto}.road-note{padding:17px;background:#243a30;border:1px solid #3b4d3a;border-radius:12px;margin-bottom:20px}.road-note p{font-size:12px;color:#a9bdb0;line-height:1.7;margin-top:8px}.road-note h3{font-size:13px;color:#dce9d7}.road-note .ico{color:var(--lime);margin-bottom:10px}.profile-mini{padding:17px 3px 0;border-top:1px solid #ffffff12;display:flex;align-items:center;gap:10px}.avatar{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#dfe8d3;color:#3f5536;font-weight:700;font-size:12px;flex-shrink:0}.avatar.dark{background:#385244;color:#e4efdc}.profile-mini strong{display:block;font-size:12px;color:#f0f2ea}.profile-mini span{font-size:10px;color:#a0b3a6}.shell{margin-left:230px}.topbar{height:82px;border-bottom:1px solid var(--line);padding:0 36px;display:flex;align-items:center;justify-content:space-between;background:#ffffffa8}.breadcrumb{font-size:12px;color:#8a9289;display:flex;gap:12px;align-items:center}.breadcrumb strong{color:#445548;font-weight:500}.topbar-right{display:flex;align-items:center;gap:17px}.date-pill{color:#6b756b;font-size:12px;display:flex;align-items:center;gap:8px}.main{padding:32px 36px 40px;max-width:1600px;margin:auto}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:16px}.heading p{color:#7c857a;margin-top:8px;font-size:13px}.eyebrow{color:#84917c;font-size:10px;letter-spacing:2px;font-weight:700;margin-bottom:8px}.demo-banner{background:#eef4df;color:#5a7036;padding:8px 36px;font-size:11px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e0e8d0}.demo-banner button{border:0;background:none;color:#48642a;font-size:11px;text-decoration:underline;cursor:pointer}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.stat{background:#fff;border:1px solid var(--line);border-radius:14px;padding:19px 20px}.stat .stat-icon{width:32px;height:32px;border-radius:9px;background:#f0f3e9;display:flex;align-items:center;justify-content:center;color:#5c704a}.stat .stat-icon .ico{width:17px;height:17px}.stat-value{font-family:Manrope,sans-serif;font-size:28px;font-weight:750;letter-spacing:-1px;margin:14px 0 6px}.stat-label{color:#7b8579;font-size:11px}.stat-foot{font-size:10px;margin-top:10px;color:#8c9587}.stat-foot .positive{color:#5b7d34}.stat.highlight{background:#eaf0db;border-color:#dfe8cc}.stat.highlight .stat-icon{background:#dde9c5}.dash-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(290px,1fr);gap:22px;align-items:start}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.card-head{padding:22px 23px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px}.card-head p{font-size:11px;color:var(--muted);margin-top:5px}.card-body{padding:0 23px 23px}.link{color:#5c724b;font-size:11px;font-weight:600;background:none;border:0;padding:6px 0;display:inline-flex;align-items:center;gap:5px}.link .ico{width:14px;height:14px}.tabs{display:flex;gap:7px;padding:0 23px 17px;border-bottom:1px solid var(--line)}.tab{font-size:11px;padding:7px 13px;border:1px solid transparent;background:transparent;border-radius:7px;color:#8b9288;cursor:pointer}.tab.active{border-color:#e4e9db;background:#f0f4e8;color:#3d5831;font-weight:600}.job-card{padding:20px 23px;border-bottom:1px solid #edf0e8;cursor:pointer;transition:.15s}.job-card:hover{background:#fafbf6}.job-card:last-child{border-bottom:0}.vehicle-icon{width:43px;height:43px;border-radius:11px;background:#f2f4ed;display:flex;align-items:center;justify-content:center;color:#718365}.vehicle-icon .ico{width:25px;height:25px}.vehicle-meta{font-size:10px;color:#969e91;margin-top:5px}.badge{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:5px;font-size:9px;font-weight:600;white-space:nowrap;background:#edf1e7;color:#6a7d56}.badge::before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}.badge.booked{background:#edf1fc;color:#7789b6}.badge.collected,.badge.on_way,.badge.arrived{background:#fff0da;color:#b88b45}.badge.delivered{background:#e9f1e2;color:#60804d}.badge.open{background:#eef2e5;color:#758d44}.badge.enquiry{background:#f1ecf7;color:#9978b3}.job-route{margin:18px 0 16px 5px;padding-left:21px;position:relative;display:grid;gap:13px;font-size:11px;color:#64715f}.job-route:before{content:'';position:absolute;left:3px;top:5px;bottom:5px;border-left:1px dashed #b9c7ae}.route-point{position:relative;display:flex;justify-content:space-between;gap:12px}.route-point:before{content:'';position:absolute;left:-21px;top:4px;width:6px;height:6px;border:1.5px solid #97a68a;background:white;border-radius:50%}.route-point:last-child:before{border-radius:1px;background:#617b4c;border-color:#617b4c}.job-footer{padding-top:13px;border-top:1px solid #f0f2eb;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#90998b}.job-footer .ico{width:13px;height:13px}.job-footer strong{font-size:15px;color:#344c37}.customer-chip{display:flex;align-items:center;gap:6px}.customer-chip .avatar{width:21px;height:21px;font-size:8px;background:#f0e9df;color:#a18c6f}.map-wrap{height:235px;position:relative;background:#edf0e7;overflow:hidden}.map-wrap > svg{width:100%;height:100%;display:block}.map-label{position:absolute;top:15px;left:16px;padding:7px 10px;border-radius:6px;background:#fffffff0;font-size:9px;color:#6c785e;box-shadow:0 2px 10px #00000009;display:flex;align-items:center;gap:5px}.map-label .ico{width:12px;height:12px}.map-key{position:absolute;bottom:12px;right:13px;background:#fffffff0;padding:5px 7px;border-radius:5px;color:#7f8975;font-size:8px}.map-caption{padding:15px 20px;display:flex;align-items:center;justify-content:space-between}.map-caption h3{font-size:12px}.map-caption p{font-size:10px;color:#8e9785;margin-top:4px}.opportunity-banner{margin:18px 0 0;background:#edf2e2;border:1px solid #e2e9d6;border-radius:var(--radius);padding:21px;position:relative;overflow:hidden}.opportunity-banner h3{font-size:15px;line-height:1.5;max-width:230px}.opportunity-banner p{font-size:11px;color:#7c8a68;margin:8px 0 17px;max-width:250px}.opportunity-banner .caps{font-size:8px;color:#80905c;margin-bottom:9px}.opportunity-banner .orb{position:absolute;right:-25px;top:23px;width:120px;height:120px;border:1px solid #dce6c7;border-radius:50%;pointer-events:none}.opportunity-banner .orb:before,.opportunity-banner .orb:after{content:'';position:absolute;border:1px solid #dce6c7;inset:15px;border-radius:50%}.opportunity-banner .orb:after{inset:32px}.week-strip{margin-top:23px}.week-grid{display:grid;grid-template-columns:repeat(7,1fr);padding:0 18px 20px;gap:8px}.day{border:1px solid var(--line);border-radius:9px;padding:11px 5px;text-align:center;cursor:pointer;background:white;min-height:74px}.day:hover{background:#f4f7ee}.day.selected{background:#edf3df;border-color:#d8e5bc}.day small{font-size:9px;color:#9aa18f;display:block}.day strong{font-size:14px;display:block;margin:6px 0}.day .dots{display:flex;justify-content:center;gap:3px;min-height:4px}.day .dots i{width:4px;height:4px;border-radius:50%;background:#839d5b}.bottom-nav{display:none}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:10px;font-weight:500;color:#8b9486;background:#f8f9f5;padding:14px 20px;border-block:1px solid var(--line)}td{padding:19px 20px;font-size:12px;border-bottom:1px solid #edf0e8}tbody tr{cursor:pointer}tbody tr:hover{background:#f9fbf5}td strong{display:block;margin-bottom:4px}.table-tools{padding:18px 22px;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}.search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;padding:8px 12px;background:white}.search input{border:0;outline:none;background:none;min-width:100px;width:190px;font-size:12px}.search .ico{width:16px;height:16px;color:#9ba48e}.empty{text-align:center;padding:45px 20px;color:#829075}.empty .ico{width:34px;height:34px;margin-bottom:15px;color:#94a77d}.empty h3{color:#405635;margin-bottom:8px}.empty p{max-width:330px;margin:auto auto 17px;font-size:12px}.opportunity-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.opp-card{padding:22px}.opp-card .job-route{margin-block:22px}.opp-card h3{font-size:16px}.opp-facts{display:flex;gap:6px;flex-wrap:wrap;margin:15px 0}.tag{padding:5px 7px;background:#f2f4ed;border-radius:4px;font-size:9px;color:#7c886a}.opp-card .btn{width:100%;margin-top:14px}.info-strip{padding:15px 20px;background:#eaf0df;border:1px solid #dde6cf;color:#697d4b;border-radius:12px;font-size:12px;display:flex;align-items:flex-start;gap:12px;margin-bottom:22px}.info-strip p{font-size:12px}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr)}.cal-name{text-align:center;padding:15px;color:#8b9581;font-size:11px;border-bottom:1px solid var(--line)}.cal-day{min-height:120px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:9px}.cal-day:nth-child(7n){border-right:0}.cal-day .num{font-size:11px;color:#89967c;width:25px;height:25px;display:flex;align-items:center;justify-content:center;margin-bottom:8px}.cal-day.today .num{background:var(--green);color:white;border-radius:50%}.cal-job{display:block;background:#edf3e3;border:0;border-left:2px solid #9ab669;text-align:left;width:100%;padding:6px;font-size:9px;margin-bottom:5px;border-radius:3px;color:#58713e}.cal-job strong{display:block;font-weight:600;margin-bottom:3px}.mobile-brand{display:none}.modal-backdrop{position:fixed;inset:0;background:#12251da3;backdrop-filter:blur(4px);z-index:100;display:flex;align-items:center;justify-content:center;padding:24px}.modal{width:620px;max-width:100%;max-height:92dvh;overflow:auto;background:var(--bg);border-radius:20px;box-shadow:0 25px 100px #0003}.modal.wide{width:820px}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:24px;border-bottom:1px solid var(--line);background:white;position:sticky;top:0;z-index:2}.modal-head h2{font-size:20px}.modal-body{padding:24px}.modal-foot{padding:18px 24px;border-top:1px solid var(--line);background:white;display:flex;align-items:center;justify-content:flex-end;gap:10px;position:sticky;bottom:0;z-index:2}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:11px;font-weight:600;color:#65755b}.field input,.field select,.field textarea{border:1px solid #dee4d7;background:white;border-radius:8px;min-height:43px;padding:11px 12px;width:100%;color:#344c30;outline-offset:1px}.field textarea{min-height:88px;resize:vertical}.field small{color:#8c987e;font-size:10px;line-height:1.5}.form-section{grid-column:1/-1;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;border-top:1px solid var(--line);padding-top:20px;margin-top:3px}.form-section:first-child{border-top:0;margin-top:0;padding-top:0}.form-section .ico{width:17px;height:17px;color:#7d9463}.calc-box{background:#eaf0dc;border:1px solid #dce6ca;border-radius:10px;padding:16px;grid-column:1/-1}.calc-box .price{font-size:24px;font-weight:700}.detail-summary{padding:22px;background:white;border:1px solid var(--line);border-radius:13px;margin-bottom:18px}.detail-summary h2{font-size:23px;margin-top:12px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.detail-section{padding:21px;background:white;border:1px solid var(--line);border-radius:13px}.detail-section h3{margin-bottom:17px}.detail-line{display:flex;justify-content:space-between;gap:12px;padding:9px 0;font-size:12px;border-bottom:1px solid #f0f2eb}.detail-line span:first-child{color:#8b977e}.detail-line:last-child{border:0}.timeline{padding:0 0 0 21px}.timeline-item{position:relative;border-left:1px solid #dde6d1;padding:0 0 23px 22px;font-size:11px;color:#93a185}.timeline-item:last-child{border:0;padding-bottom:0}.timeline-item:before{content:'';position:absolute;left:-5px;top:0;width:9px;height:9px;border-radius:50%;background:#e5e9df;border:2px solid white;box-shadow:0 0 0 1px #e3e8dc}.timeline-item.done:before{background:#81a450;box-shadow:0 0 0 1px #adc78d}.timeline-item.done{color:#496535}.timeline-item strong{display:block;font-size:12px;margin-bottom:5px}.message-list{max-height:260px;overflow:auto;display:flex;flex-direction:column;gap:12px;margin-bottom:17px}.message{max-width:90%;background:#f0f3e9;padding:11px 13px;border-radius:10px;font-size:12px;white-space:pre-wrap;word-break:break-word}.message.mine{align-self:flex-end;background:#e3edcf}.message small{display:block;color:#81916c;font-size:9px;margin-bottom:4px}.profile-layout{display:grid;grid-template-columns:250px 1fr;gap:22px}.profile-card{padding:30px 22px;text-align:center}.profile-card .avatar{width:76px;height:76px;font-size:25px;margin:0 auto 17px}.profile-card h2{margin-bottom:7px}.profile-card .badge{margin-top:17px}.profile-form{padding:25px}.check-row{display:flex;align-items:center;gap:8px;font-size:12px;color:#75836a}.check-row input{accent-color:var(--green);width:17px;height:17px}.onboarding{max-width:440px;margin:50px auto;padding:30px;background:white;border:1px solid var(--line);border-radius:20px}.onboarding h1{font-size:27px;margin:25px 0 12px}.onboarding .brand{color:var(--ink)}.onboarding p{color:#8a967e;font-size:12px;margin-bottom:22px}.onboarding .field{margin-bottom:16px}.onboarding .btn{width:100%;margin-top:7px}.onboarding .auth-switch{background:none;border:0;color:#647d47;width:100%;font-size:12px;margin-top:20px}.boot{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px}.boot p{color:#80916f;font-size:13px}#toast{position:fixed;left:50%;bottom:30px;transform:translate(-50%,20px);padding:14px 22px;border-radius:10px;background:#1e3e2d;color:#f0f5e8;box-shadow:var(--shadow);z-index:300;opacity:0;transition:.2s;pointer-events:none;font-size:12px;max-width:90vw}#toast.visible{opacity:1;transform:translate(-50%,0)}#toast.error{background:#863e32}.tracking-page{max-width:600px;margin:35px auto;padding:20px}.tracking-page>.brand{color:var(--ink);margin-bottom:35px}.tracking-page h1{font-size:29px;margin:20px 0 12px}.tracking-page .card{margin-top:20px}.tracking-page .card-body{padding-top:22px}.tracking-hero{background:#e8efda;border:1px solid #dbe6c7;border-radius:15px;padding:24px;margin-top:25px}.tracking-hero h2{font-size:24px;margin:12px 0 8px}.tracking-hero p{font-size:12px;color:#7d8c68}.progress{height:5px;background:#e2e8d8;border-radius:10px;overflow:hidden;margin-top:22px}.progress i{display:block;height:100%;background:#8cac55;border-radius:10px}.toolbar-select{background:white;border:1px solid var(--line);border-radius:8px;padding:8px 12px;font-size:12px;color:#748265}.section-gap{margin-top:22px}.invoice{background:white;color:#20302a;padding:40px;max-width:800px;margin:auto}.invoice h1{margin-block:30px}.invoice table{margin-block:30px}.invoice .brand{color:#20302a}.invoice-meta{display:grid;grid-template-columns:1fr 1fr;gap:20px}.invoice-meta p{font-size:12px}.invoice-total{text-align:right;margin:25px 0;font-size:24px}.status-action{width:100%;margin-bottom:14px}.hint{font-size:11px;color:#8a987c;line-height:1.7}.error-inline{background:#fff0ea;border-radius:8px;padding:12px;color:#9a5141;font-size:12px;margin-bottom:15px}.customer-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:22px}.customer-stats .stat-value{font-size:24px}.quote-box{padding:18px;background:#f5f7ef;border:1px solid var(--line);border-radius:11px;margin-top:12px}.quote-box .price{font-size:21px;font-weight:700}.notification-item{padding:16px 0;border-bottom:1px solid var(--line);cursor:pointer}.notification-item p{font-size:12px;margin-top:5px;color:#869578}.notification-item small{font-size:10px;color:#9aa68d}.notification-item.unread h3:before{content:'';display:inline-block;width:6px;height:6px;background:#95b264;border-radius:50%;margin-right:8px}.mobile-only{display:none}
@media(min-width:1500px){.main{padding-inline:50px}.topbar{padding-inline:50px}.dash-grid{grid-template-columns:1.7fr 1fr}.map-wrap{height:280px}}
@media(max-width:1150px){.sidebar{width:200px;padding-inline:15px}.shell{margin-left:200px}.main{padding:26px 24px}.topbar{padding-inline:24px}.dash-grid{grid-template-columns:1.4fr 1fr;gap:16px}.stat{padding:16px}.stats{gap:12px}.card-head{padding:20px}.opportunity-grid{grid-template-columns:repeat(2,1fr)}.date-pill{display:none}}
@media(max-width:850px){.sidebar{width:78px;padding:27px 15px}.sidebar .brand-text,.sidebar .section-label,.sidebar .nav a span,.sidebar .road-note,.sidebar .profile-mini div:not(.avatar){display:none}.sidebar .brand{justify-content:center}.sidebar .nav{margin-top:40px}.sidebar .nav a{padding:13px;justify-content:center}.sidebar .nav a .count{display:none}.sidebar .profile-mini{justify-content:center}.sidebar-bottom .nav{margin-bottom:20px}.shell{margin-left:78px}.main{padding:25px 22px}.stats{gap:10px}.stat{padding:14px}.stat-value{font-size:25px}.dash-grid{grid-template-columns:1.3fr 1fr}.topbar{height:70px}.heading h1{font-size:28px}.profile-layout{grid-template-columns:1fr}.profile-card{display:none}.demo-banner{padding-inline:22px}.job-card{padding:18px}.card-head{padding:18px}.tabs{padding-inline:18px}.customer-chip{display:none}.stat-foot{font-size:9px}.opportunity-banner{padding:18px}}
@media(max-width:650px){body{font-size:13px}.sidebar{display:none}.shell{margin-left:0}.topbar{height:68px;padding:0 20px;background:#fff}.breadcrumb,.topbar .desktop-profile{display:none}.mobile-brand{display:flex;color:var(--ink);font-size:18px}.mobile-brand .brand-symbol{width:29px;height:29px;border-radius:8px;font-size:26px}.topbar-right{gap:10px}.iconbtn{width:36px;height:36px}.main{padding:25px 18px 110px}.heading{align-items:flex-start;margin-bottom:22px}.heading h1{font-size:28px;letter-spacing:-1px}.heading p{font-size:12px;max-width:240px;margin-top:7px}.heading>.btn{padding:10px 12px;min-height:40px;font-size:11px;white-space:nowrap;margin-top:20px}.heading>.btn .ico{width:15px;height:15px}.eyebrow{font-size:9px;margin-bottom:7px}.demo-banner{padding:7px 18px;font-size:9px}.demo-banner button{font-size:9px}.stats{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.stat{padding:15px 16px;border-radius:12px}.stat-value{font-size:27px;margin:11px 0 4px}.stat-label{font-size:10px}.stat-foot{margin-top:8px;font-size:9px}.stat .stat-icon{width:27px;height:27px;border-radius:7px}.stat .stat-icon .ico{width:15px;height:15px}.dash-grid{grid-template-columns:1fr;gap:20px}.dash-grid>.stack{gap:0}.dash-grid>.stack .card:first-child{order:1}.map-wrap{height:220px}.opportunity-banner{margin-top:16px}.card{border-radius:14px}.card-head{padding:20px 18px 16px}.card-head h2{font-size:16px}.card-head p{font-size:10px}.job-card{padding:19px 18px}.job-card h3{font-size:14px}.job-route{font-size:11px;margin-block:17px}.job-footer{font-size:10px}.customer-chip{display:flex}.badge{font-size:8px}.week-strip{margin-top:20px}.week-grid{gap:5px;padding-inline:14px}.day{min-height:70px;padding:10px 2px}.day small{font-size:8px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fffffff5;backdrop-filter:blur(15px);border-top:1px solid var(--line);padding:9px 9px max(10px,env(safe-area-inset-bottom));justify-content:space-around;z-index:30}.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:9px;color:#97a18a;min-width:56px;min-height:43px;border-radius:9px}.bottom-nav a.active{color:#42602d;background:#edf3e2}.bottom-nav .ico{width:21px;height:21px}.opportunity-grid{grid-template-columns:1fr}.info-strip{font-size:11px;padding:14px}.info-strip p{font-size:11px}.table-tools{padding:15px;gap:10px}.search{flex:1}.search input{width:100%;min-width:60px}.table-tools .btn{font-size:11px}.table-wrap{display:none}.mobile-job-list{display:block}.desktop-only{display:none!important}.mobile-only{display:block}.form-grid{gap:15px}.field.full-mobile{grid-column:1/-1}.modal-backdrop{padding:0;align-items:flex-end}.modal{max-height:95dvh;border-radius:20px 20px 0 0;width:100%}.modal-head{padding:20px}.modal-head h2{font-size:18px}.modal-body{padding:20px}.modal-foot{padding:15px 20px max(15px,env(safe-area-inset-bottom))}.detail-grid{grid-template-columns:1fr}.detail-summary{padding:18px}.detail-summary h2{font-size:22px}.detail-section{padding:18px}.calendar-grid .cal-day{min-height:90px;padding:5px}.cal-job{font-size:8px;padding:4px}.cal-job span{display:none}.cal-name{font-size:9px}.calendar-heading{flex-wrap:wrap}.profile-form{padding:20px}.onboarding{margin:25px 18px;padding:25px}.tracking-page{margin:10px auto}.tracking-page h1{font-size:26px}#toast{bottom:90px;width:max-content;max-width:90vw;text-align:center}.customer-stats{gap:8px}.customer-stats .stat{padding:12px}.customer-stats .stat-value{font-size:20px}.customer-stats .stat-label{font-size:9px}.invoice{padding:20px}.invoice th,.invoice td{padding:10px 5px;font-size:11px}.invoice .table-wrap{display:block}.invoice-meta{gap:15px}.day-card .heading{margin-bottom:16px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:white}.sidebar,.topbar,.bottom-nav,.demo-banner,.heading,.modal-head,.modal-foot,#toast,.no-print{display:none!important}.shell{margin:0}.main{padding:0}.modal-backdrop{position:static;padding:0;background:white;display:block}.modal{max-height:none;overflow:visible;width:100%;box-shadow:none}.modal-body{padding:0}.invoice{max-width:none}.table-wrap{display:block!important}}
.upload-label{position:relative;cursor:pointer}.upload-gallery{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.upload-gallery img,.document-preview{display:flex;width:105px;height:85px;object-fit:cover;border-radius:9px;border:1px solid var(--line);align-items:center;justify-content:center;flex-direction:column;gap:7px;background:#edf2e5;font-size:10px}.upload-gallery small{display:block;color:#8a997a;font-size:9px;margin-top:5px;text-transform:capitalize}.tabs .tab{white-space:nowrap}.tabs{overflow:auto}.leaflet-container{font-family:'DM Sans',sans-serif!important}.map-live{height:235px;width:100%;background:#edf1e5;z-index:1}.route-marker{background:#1e4933;border:3px solid white;box-shadow:0 2px 8px #0003;border-radius:50%;width:16px!important;height:16px!important}
.team-switch{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#eaf0df;border:1px solid #dae5c9;padding:12px 18px;border-radius:10px;font-size:12px;margin-bottom:22px}.info-strip.full,.hint.full{grid-column:1/-1}.badge.cancelled{background:#f7e9e5;color:#a56f60}.badge.rescheduled{background:#edf1fc;color:#7789b6}@media(max-width:650px){.team-switch{font-size:11px;padding:10px 13px}.info-strip>.link{white-space:nowrap}.table-tools{align-items:center}.table-tools>#team-filter{width:100%}}
.demo-role-strip{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:7px 36px;background:#f2f5ea;border-bottom:1px solid var(--line);font-size:10px;color:#7a8b63}.demo-role-strip select{background:white;border:1px solid #dce4ce;padding:4px 8px;border-radius:6px;color:#51683c;font-size:10px}@media(max-width:650px){.demo-role-strip{padding:7px 18px}}
.sidebar{overflow-y:auto;scrollbar-width:thin}@media(max-height:850px) and (min-width:651px){.road-note{display:none}.sidebar-bottom{padding-top:20px}.sidebar .section-label{margin-top:28px}}
.match-map-tools{display:grid;grid-template-columns:1fr 1fr;gap:15px;align-items:end;margin:18px 0 12px}.load-match-map{height:330px;width:100%;border-radius:12px;background:#edf2e7;z-index:1}.load-marker{background:none;border:0}.load-marker span{display:block;width:22px;height:22px;border:3px solid white;border-radius:50%;box-shadow:0 2px 8px #0004}.match-map-tools input[type=range]{accent-color:#5c7c3b;padding:0;min-height:36px;border:0;background:transparent}@media(max-width:650px){.match-map-tools{grid-template-columns:1fr}.load-match-map{height:290px}}
/* Keep supporting text and journey statuses readable on phones. */
:root{--muted:#66735f}.hint,.heading p,.card-head p,.stat-label,.stat-foot,.job-footer,.vehicle-meta,.eyebrow,.tab,.cal-name,.cal-day .num,.field small,.onboarding p,.map-caption p,.opportunity-banner p{color:#66735f}.badge.booked{color:#4f6491}.badge.collected,.badge.on_way,.badge.arrived{color:#886019}.badge.delivered{color:#456734}.badge.open{color:#536a2f}.badge.enquiry{color:#79568f}.badge.cancelled{color:#885445}
.menu-row{width:100%;border:0;background:white;text-align:left}.menu-row+.menu-row{border-top:1px solid var(--line)}.transfer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.transfer-card{padding:23px}.transfer-person{padding-top:13px;margin-top:13px;border-top:1px solid var(--line)}.transfer-person strong{display:block;margin:5px 0}.commission-box{background:#edf2e3;border-radius:10px;padding:14px;margin-top:17px;font-size:12px}.commission-box p{margin-top:8px}.day-road-map{height:340px;margin:0 22px 20px;border-radius:12px;background:#eaf0e0;z-index:1}.day-segment{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:17px 22px;border-top:1px solid var(--line);border-left:3px solid #6b8c4f;font-size:12px}.day-segment.empty{background:#f4f7ec;border-left-color:#b6c299}.day-segment.occupied{border-left-color:#b79544}.route-day-stats{display:flex;gap:25px;padding:5px 22px 20px;font-size:11px;color:#66735f}.route-day-stats strong{display:block;font-size:24px;color:#2d4d32;margin-bottom:5px}.day-segment [id^=segment-gap]{color:#965c32}@media(max-width:650px){.transfer-grid{grid-template-columns:1fr}.transfer-card{padding:19px}.day-road-map{height:270px;margin-inline:15px}.day-segment{padding:15px;align-items:flex-start}.day-segment>.btn{white-space:nowrap;font-size:10px;padding:8px}.route-day-stats{padding-inline:18px;gap:20px}.route-day-stats strong{font-size:22px}.bottom-nav:has([data-view=transfers]) a{min-width:50px}}
.route-time{display:block;font-size:9px;margin-top:4px;text-align:right}.booking-windows{border-top:1px solid var(--line);padding-top:13px;margin-top:10px}.booking-windows p+p{margin-top:7px}
.opportunity-modes{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 20px}.forklift-fields{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:17px;background:#eff3e8;border-radius:10px}.forklift-fields[hidden]{display:none}.badge.expired{background:#f5ece5;color:#8b6349}@media(max-width:650px){.forklift-fields{padding:14px;gap:12px}.opportunity-modes .btn{font-size:11px}}

/* Keep Leaflet attribution icons at their intended inline size. */
.leaflet-attribution-flag{display:inline!important;width:1em!important;height:0.6667em!important;vertical-align:baseline!important}
