:root{--ink:#202126;--muted:#77777e;--line:#e9e7e7;--paper:#f7f6f5;--card:#fff;--brand:#a70d23;--accent:#cf3349;--good:#32343a;--bad:#b0182b;--sidebar:#18191d}*{box-sizing:border-box}html{font-family:Segoe UI Variable,Segoe UI,Inter,Arial,sans-serif;color:var(--ink);background:var(--paper)}body{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}::selection{background:#e9b6bf;color:#530c18}.shell{display:flex;min-height:100vh;--brand:var(--tenant-brand,#a70d23);--accent:var(--tenant-accent,#cf3349)}.sidebar{width:260px;flex:0 0 260px;background:var(--sidebar);color:#fff;padding:27px 14px 20px;position:-webkit-sticky;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.sidebar-brand{display:flex;gap:10px;align-items:center;padding:0 12px 25px;font-size:12px;font-weight:500;letter-spacing:.075em;white-space:nowrap}.sidebar-brand b{color:#fefefe;font-weight:800}.sidebar-brand small{display:block;color:#818187;font-size:9px;letter-spacing:.15em;margin-top:5px}.auth-brand-icon,.sidebar-monogram{display:grid;place-items:center;flex:0 0 auto;background:var(--brand);color:white;border-radius:9px;width:37px;height:37px;font-weight:900;font-size:19px;letter-spacing:-.09em}.auth-brand-icon span,.sidebar-monogram span{color:#f0a7af}.sidebar-tenant{display:flex;align-items:center;gap:11px;margin:0 7px 21px;padding:13px 11px;border:1px solid #34353a;border-radius:11px;background:#232428;min-width:0}.sidebar-tenant img{width:34px;height:34px;object-fit:contain;border-radius:7px}.tenant-initial{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:8px;background:var(--tenant-brand,var(--brand));color:#fff;font-weight:800}.sidebar-tenant div{min-width:0}.sidebar-tenant small,.sidebar-tenant strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sidebar-tenant strong{font-size:13px;font-weight:650}.sidebar-tenant small{margin-top:3px;color:#96969e;font-size:10px;letter-spacing:.04em}.nav{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#44454b transparent;padding:0 3px 12px}.nav-group{margin-bottom:18px}.nav-group-label{color:#696a73;font-size:10px;font-weight:800;letter-spacing:.15em;padding:0 12px 8px}.nav a{display:flex;align-items:center;gap:11px;padding:9px 12px;min-height:39px;border-radius:7px;color:#b5b5bb;font-size:13px;font-weight:500;transition:background .16s ease,color .16s ease}.nav a svg{flex:0 0 auto;color:#77777e}.nav a:hover{background:#292a30;color:white}.nav a.active{background:#3c1e25;color:white;font-weight:700}.nav a.active svg{color:#f05c70}.sidebar-foot{margin-top:auto;border-top:1px solid #313237;padding:18px 12px 0;color:#888890;font-size:11px}.sidebar-foot-dot{display:inline-block;width:7px;height:7px;background:var(--accent);border-radius:50%;margin-right:7px}.main{flex:1 1;min-width:0;max-width:1600px;padding:31px clamp(22px,3vw,50px) 80px}.top{display:flex;justify-content:space-between;gap:18px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:28px}.top-kicker{color:var(--brand);font-size:10px;font-weight:800;letter-spacing:.16em;margin-bottom:8px}.top h1{margin:0;font-size:27px;line-height:1.15;font-weight:750;letter-spacing:-.045em}.top p{margin:6px 0 0;color:var(--muted);font-size:12px}.top-actions{display:flex;gap:8px;align-items:center}.top-actions a,.top-actions button{display:inline-flex;align-items:center;gap:7px;background:white;border:1px solid var(--line);border-radius:8px;color:#55565c;padding:9px 11px;font-size:12px;font-weight:650;white-space:nowrap}.top-actions a:hover,.top-actions button:hover{border-color:#d0a4ab;color:var(--brand)}.section-title{font-size:18px;font-weight:750;letter-spacing:-.035em;margin:32px 0 15px}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:14px;gap:14px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:21px;box-shadow:0 4px 18px #20212607}.card h2,.card h3{margin:0 0 15px;font-size:16px;letter-spacing:-.02em}.stat-label{color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}.stat-value{margin-top:12px;font-size:clamp(20px,2vw,28px);font-weight:750;letter-spacing:-.055em;overflow-wrap:anywhere}.stat-sub{margin-top:8px;color:var(--muted);font-size:12px}.good{color:var(--good)}.bad{color:var(--bad)}.muted{color:var(--muted)}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 4px 18px #20212607}table{border-collapse:collapse;width:100%;font-size:13px}th{text-align:left;color:#88888e;font-size:10px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;background:#fbfafa}td,th{padding:14px 17px;border-bottom:1px solid #f0eeee;white-space:nowrap}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fdf9fa}.link{color:var(--brand);font-weight:700}.link:hover{text-decoration:underline}.pill{display:inline-block;padding:5px 9px;border-radius:6px;background:#f1f0f0;color:#515158;font-size:11px;font-weight:700}.pill.green{background:#f6e7e9;color:#8c1828}.pill.orange{background:#fff0e1;color:#995c16}.pill.red{background:#fce8eb;color:#a2182a}.stack{display:grid;grid-gap:15px;gap:15px}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:14px;gap:14px}.field{display:grid;grid-gap:7px;gap:7px}.field label{color:#52535a;font-size:12px;font-weight:700}.field input,.field select,.field textarea{width:100%;min-width:0;min-height:43px;padding:10px 12px;border:1px solid #dedddd;border-radius:8px;background:#fff;color:var(--ink);outline:none}.field textarea{min-height:80px}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px #a70d231c}.field input::placeholder{color:#aaa9ae}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:10px 17px;background:var(--brand);border:1px solid var(--brand);border-radius:8px;color:#fff;font-size:13px;font-weight:750;transition:background .15s ease,transform .15s ease}.btn:hover{background:#86091a;transform:translateY(-1px)}.btn.secondary{background:#f7f4f4;border-color:#eee7e8;color:#5b343b}.btn.secondary:hover{background:#f0e6e8}.btn.accent{background:var(--accent);border-color:var(--accent);color:white}.form-actions{grid-column:1/-1;display:flex;justify-content:flex-end}.empty{padding:27px;color:var(--muted);font-size:13px}.small{font-size:12px}.filters{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:18px}.filters a{padding:9px 12px;border-radius:7px;border:1px solid var(--line);background:#fff;color:#66666c;font-size:12px;font-weight:650}.filters a.active{background:var(--brand);border-color:var(--brand);color:#fff}.note{border-left:3px solid var(--brand);border-radius:0 7px 7px 0;background:#fbf0f2;color:#6b3540;padding:12px 14px;font-size:13px}.inline-form{display:flex;align-items:center;gap:7px}.inline-form input{border:1px solid var(--line);border-radius:6px;padding:8px;width:120px}.inline-form .btn{padding:8px 11px}.alert{padding:12px;border-radius:8px;background:#fce8eb;color:#8e1b2b;margin-bottom:16px;font-size:13px}.admin-shell{max-width:1380px;margin:auto;padding:0 clamp(18px,3vw,48px) 70px}.admin-top{justify-content:space-between;gap:15px;height:76px}.admin-logo,.admin-top{display:flex;align-items:center}.admin-logo{gap:10px;font-size:12px;letter-spacing:.08em;white-space:nowrap}.admin-logo>span{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;background:var(--brand);color:white;font-size:19px;font-weight:900;letter-spacing:-.1em}.admin-logo>span span{color:#f3a3af}.admin-logo b{font-weight:850}.admin-logo small{display:block;margin-top:3px;color:var(--muted);font-size:9px;font-weight:700;letter-spacing:.16em}.admin-top-actions{display:flex;align-items:center;gap:7px}.admin-top-actions a,.admin-top-actions button{display:inline-flex;align-items:center;gap:7px;padding:8px 10px;background:#fff;border:1px solid var(--line);border-radius:7px;color:#606067;font-size:12px;font-weight:650}.admin-top-actions a:hover,.admin-top-actions button:hover{color:var(--brand);border-color:#dbb2b8}.admin-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;position:relative;overflow:hidden;background:linear-gradient(115deg,#271a1d,#48111c 55%,#8f1427);color:#fff;border-radius:15px;padding:clamp(26px,3.3vw,48px);margin:9px 0 20px}.admin-hero:after{content:"";position:absolute;width:330px;height:330px;border:1px solid #ffffff1e;border-radius:50%;right:80px;top:-190px;box-shadow:0 0 0 65px #ffffff08,0 0 0 130px #ffffff05;pointer-events:none}.admin-hero>*{position:relative;z-index:1}.admin-eyebrow{display:flex;align-items:center;gap:8px;color:#ee9baa;font-size:10px;font-weight:850;letter-spacing:.13em}.admin-hero h1{margin:17px 0 9px;font-size:clamp(28px,3.1vw,43px);line-height:1.08;letter-spacing:-.055em}.admin-hero p{max-width:510px;margin:0;color:#edd4d8;font-size:13px;line-height:1.5}.admin-create{display:inline-flex;align-items:center;gap:8px;padding:11px 15px;flex:0 0 auto;background:#fff;color:#842031;border-radius:8px;font-size:12px;font-weight:800}.admin-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:14px;gap:14px}.admin-metrics .card>svg{color:var(--brand);margin-bottom:19px}.admin-metrics .stat-value{font-size:29px;margin-top:7px}.admin-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin:34px 0 15px}.admin-section-head h2{margin:0;font-size:20px;letter-spacing:-.04em}.admin-section-head>span{color:var(--muted);font-size:12px}.admin-empty{display:grid;justify-items:center;grid-gap:7px;gap:7px;padding:45px;color:var(--muted);font-size:13px}.admin-empty svg{color:#b1717d;margin-bottom:4px}.admin-empty strong{color:var(--ink);font-size:15px}.admin-new{scroll-margin-top:20px}.admin-new .card{padding:26px}.admin-new .note{margin:0 0 22px}.admin-footer{margin-top:35px;color:#a09fa4;font-size:11px}.auth{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(430px,.95fr);background:#faf9f8}.auth-story{position:relative;min-height:100vh;display:flex;flex-direction:column;overflow:hidden;padding:clamp(30px,4vw,66px);color:white;background:radial-gradient(circle at 88% 80%,#ba1b31 0,transparent 33%),linear-gradient(140deg,#33070f,#640815 45%,#9c1024)}.auth-story:after{content:"";position:absolute;width:72%;aspect-ratio:1;border:1px solid #ffffff1a;border-radius:50%;bottom:-36%;right:-17%;box-shadow:0 0 0 100px #ffffff06,0 0 0 210px #ffffff05;pointer-events:none}.auth-brand{display:flex;align-items:center;gap:11px;position:relative;z-index:1;font-size:13px;letter-spacing:.12em;font-weight:500}.auth-brand b{font-weight:850}.auth-brand-icon{background:white;color:var(--brand);width:39px;height:39px}.auth-brand-icon span{color:#db596b}.auth-story-content{position:relative;z-index:1;margin:auto 0;max-width:660px;padding:50px 0}.eyebrow-light{display:flex;align-items:center;gap:11px;color:#f0abb6;font-size:11px;font-weight:800;letter-spacing:.18em}.eyebrow-line{width:23px;height:2px;background:#eb8b9b}.auth-story h1{margin:23px 0 20px;font-size:clamp(43px,5.2vw,78px);line-height:1.06;font-weight:750;letter-spacing:-.065em}.auth-story h1 em{font-style:normal;color:#f4a6b4}.auth-story-content>p{max-width:460px;font-size:17px;line-height:1.65;color:#f3d5da}.auth-highlights{display:flex;gap:9px;flex-wrap:wrap;margin-top:36px}.auth-highlights span{display:inline-flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid #ffffff32;border-radius:7px;color:#fbe7ea;font-size:12px}.auth-story-footer{position:relative;z-index:1;color:#dc8a98;font-size:10px;font-weight:650;letter-spacing:.2em}.auth-entry{display:grid;place-items:center;padding:48px 24px}.auth-card{width:min(410px,100%)}.auth-kicker{margin-bottom:16px;color:var(--brand);font-size:11px;font-weight:850;letter-spacing:.16em}.auth-card h2{margin:0;font-size:clamp(28px,2.7vw,37px);line-height:1.15;letter-spacing:-.055em}.auth-card p{margin:12px 0 34px;color:var(--muted);font-size:14px}.auth-card form{display:grid;grid-gap:18px;gap:18px}.auth-card .field label{font-size:13px}.auth-card .field input{height:51px;padding:13px 14px}.auth-submit{width:100%;min-height:51px;margin-top:5px;justify-content:space-between;padding:0 18px;font-size:14px}.auth-entry-footer{margin-top:45px;color:#99999f;font-size:11px}.auth-mobile-brand{display:none}.driver-wrap{max-width:680px;margin:auto;padding:28px 18px 80px;--brand:var(--tenant-brand,#a70d23);--accent:var(--tenant-accent,#cf3349)}.driver-header{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:28px;border-bottom:1px solid var(--line);padding-bottom:18px}.driver-header strong{margin-right:auto;font-size:19px;letter-spacing:-.03em}.driver-header a,.driver-header button{color:var(--muted);border:0;background:none;font-size:12px;font-weight:650}.driver-hero{background:linear-gradient(135deg,#68111e,var(--tenant-brand,var(--brand)));color:white;border-radius:15px;padding:27px;margin-bottom:17px;box-shadow:0 12px 30px #550b1822}.driver-hero .eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.12em;opacity:.75}.driver-route{font-size:29px;line-height:1.18;font-weight:750;letter-spacing:-.045em;margin:18px 0}.driver-hero p{margin:0;opacity:.85}.driver-cta{display:block;width:100%;background:var(--brand);color:#fff;padding:18px;border-radius:10px;text-align:center;font-size:16px;font-weight:800;margin:15px 0}.driver-form .field{margin-bottom:13px}.driver-form .btn{width:100%;padding:15px}.driver-list{display:grid;grid-gap:11px;gap:11px}.driver-item{background:white;border:1px solid var(--line);padding:17px;border-radius:11px}.driver-item b{display:block;margin-bottom:6px}.camera-button{display:block;padding:16px;border-radius:10px;background:#28191d;color:white!important;text-align:center;font-size:15px!important;cursor:pointer}.driver-records{display:grid;grid-gap:10px;gap:10px}.driver-records>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}.picker{position:relative}.picker-results{position:absolute;z-index:20;top:100%;left:0;right:0;max-height:230px;overflow:auto;background:white;border:1px solid var(--line);border-radius:8px;box-shadow:0 10px 24px #20101425}.picker-results button,.picker-results span{display:block;width:100%;padding:11px 12px;border:0;background:white;text-align:left;font-size:12px}.picker-results button:hover{background:#fbf0f2}.delete-button{background:transparent;border:0;color:#a70d23;font-size:12px;font-weight:700;padding:5px 7px}.delete-button:hover{text-decoration:underline}.report-charts{display:grid;grid-template-columns:1.4fr 1fr;grid-gap:14px;gap:14px}.chart-card{min-height:340px}.chart-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.chart-key{display:flex;gap:12px;color:var(--muted);font-size:11px}.chart-key span:before{content:"";display:inline-block;width:9px;height:9px;margin-right:5px;border-radius:2px;background:var(--brand)}.chart-key .key-cost:before{background:#e4a3ad}.bars{display:flex;align-items:flex-end;height:225px;gap:12px;border-bottom:1px solid var(--line);padding:16px 6px 0}.bar-group{flex:1 1;height:100%;display:grid;grid-template-rows:1fr auto;text-align:center;font-size:10px;color:var(--muted)}.bar-pair{display:flex;align-items:flex-end;justify-content:center;gap:4px}.bar{width:min(24px,35%);border-radius:5px 5px 0 0;min-height:2px}.bar.revenue{background:#99172b}.bar.cost{background:#e4a3ad}.bar-group>span{padding-top:10px}.pie-layout{display:flex;align-items:center;gap:24px;margin-top:20px}.pie{width:180px;height:180px;display:grid;place-items:center;flex:0 0 180px}.pie,.pie>div{border-radius:50%}.pie>div{width:115px;height:115px;background:white;display:grid;place-content:center;text-align:center}.pie strong{font-size:16px}.pie span{color:var(--muted);font-size:11px}.pie-legend{flex:1 1;min-width:0;display:grid;grid-gap:8px;gap:8px}.pie-legend>div{display:flex;align-items:center;gap:7px;font-size:11px}.pie-legend i{width:9px;height:9px;flex:0 0 9px;border-radius:2px}.pie-legend span{flex:1 1}@media (max-width:900px){.report-charts{grid-template-columns:1fr}}@media (max-width:470px){.pie-layout{flex-direction:column;align-items:flex-start}}@media (max-width:1080px){.form-grid,.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.auth{grid-template-columns:1fr 1fr}}@media (max-width:760px){.shell{display:block}.sidebar{width:100%;height:auto;position:static;padding:13px 13px 0}.sidebar-brand{padding:0 3px 10px}.nav-group-label,.sidebar-foot,.sidebar-tenant{display:none}.nav{overflow-x:auto;padding:0 0 10px}.nav,.nav-group{display:flex;gap:5px}.nav-group{flex:0 0 auto;margin:0}.nav a{white-space:nowrap;padding:9px 10px}.nav a svg{width:16px;height:16px}.main{padding:22px 15px 50px}.top{align-items:flex-start}.top h1{font-size:22px}.top-actions a,.top-actions button{padding:8px;font-size:0;gap:0}.top-actions svg{width:18px;height:18px}.form-grid,.grid,.grid.two{grid-template-columns:1fr}.card{padding:17px}.auth{display:block;min-height:100vh}.auth-story{display:none}.auth-entry{min-height:100vh;padding:30px 24px}.auth-mobile-brand{display:block;margin-bottom:65px;color:var(--brand);font-size:12px;letter-spacing:.12em}.auth-mobile-brand b{font-weight:850}.admin-top{height:67px}.admin-top-actions a,.admin-top-actions button{font-size:0;gap:0;padding:8px}.admin-hero{align-items:flex-start;flex-direction:column}.admin-metrics{grid-template-columns:1fr}.admin-new .card{padding:17px}}