:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202a30;background:#eef1f3;line-height:1.45;--ink:#20262b;--muted:#69767e;--line:#d8e0e4;--surface:#fff;--accent:#e17635;--signal:#f2c94c;--sidebar:#20262b}*{box-sizing:border-box}body{margin:0;background:#eef1f3;color:var(--ink)}a{color:inherit}.app-shell{min-height:100vh;display:flex}.app-sidebar{position:sticky;top:0;height:100vh;width:244px;flex:0 0 244px;background:var(--sidebar);color:#f5f7f8;padding:28px 18px;display:flex;flex-direction:column}.app-brand{display:flex;align-items:center;gap:11px;padding:0 10px 26px;text-decoration:none;font-size:24px;font-weight:850;letter-spacing:-.04em}.app-brand>span:last-child>span{color:var(--signal)}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--signal);color:#20262b;font-size:18px}.app-nav{display:grid;gap:5px}.app-nav a{padding:11px 12px;border-radius:9px;color:#b9c3c9;font-weight:650;text-decoration:none}.app-nav a:hover,.app-nav a.active{background:#3a444b;color:var(--signal)}.sidebar-foot{margin-top:auto;padding:16px 10px 0;border-top:1px solid #3a444b;color:#8f9ba2;font-size:12px}.app-main{width:100%;max-width:1450px;padding:34px clamp(20px,5vw,72px)}.page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:26px}.eyebrow{display:block;color:#a65d27;font-size:11px;font-weight:850;letter-spacing:.12em;text-transform:uppercase;margin-bottom:5px}.page-title{font-size:clamp(29px,4vw,42px);letter-spacing:-.045em;line-height:1.05;margin:0 0 8px}.page-description{color:var(--muted);margin:0}.header-actions,.inline-actions,.modal-actions{display:flex;gap:10px;align-items:center}.button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;padding:11px 16px;font:inherit;font-weight:750;text-decoration:none;cursor:pointer}.button.primary{background:var(--accent);color:#fff}.button.secondary{background:#dfe5e8;color:#263239}.button:hover{filter:brightness(.97)}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:18px}.stat-card,.panel,.vehicle-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 24px #27343d10}.stat-card{padding:19px}.stat-card h2{margin:0 0 8px;font-size:14px;color:#4c5b63}.stat-value{font-size:29px;font-weight:850;letter-spacing:-.04em}.stat-help{font-size:13px;color:var(--muted);margin-top:4px}.dashboard-grid{display:grid;grid-template-columns:2fr 1fr;gap:18px}.panel{padding:20px}.panel.full{grid-column:1/-1}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.panel-header h2{font-size:18px;margin:0}.vehicle-list{display:grid;gap:0}.vehicle-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 2px;border-top:1px solid #e9eef0}.vehicle-row:first-child{border-top:0}.vehicle-name{font-weight:800}.vehicle-meta{display:flex;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:13px;margin-top:4px}.vehicle-dot{width:12px;height:12px;border-radius:50%;border:1px solid #aab5ba;display:inline-block;margin-right:7px}.status-pill{font-size:11px;font-weight:800;padding:5px 9px;border-radius:999px;background:#fff3bd;color:#796000}.empty-state{padding:26px;border:1px dashed #aebbc2;border-radius:11px;text-align:center;color:var(--muted)}.empty-state strong{display:block;color:#303b42;margin-bottom:5px}.notice{padding:12px 15px;border-radius:10px;margin-bottom:18px;font-weight:650}.notice.success{background:#e7f4eb;border:1px solid #b9ddc3;color:#245d34}.notice.error{background:#fff0ed;border:1px solid #efc1b7;color:#8b3326}.vehicle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.vehicle-card{padding:19px}.vehicle-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.vehicle-card h2{font-size:19px;margin:0}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:16px}.detail{background:#f4f6f7;border-radius:8px;padding:10px}.detail small{display:block;color:#738089;font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;margin-bottom:2px}.modal-backdrop{position:fixed;inset:0;z-index:20;background:#142027a6;display:none;align-items:center;justify-content:center;padding:18px}.modal-backdrop.open{display:flex}.modal-panel{width:min(640px,100%);max-height:calc(100vh - 36px);overflow:auto;background:#fff;border-radius:16px;padding:23px;box-shadow:0 25px 70px #111c2255}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.modal-header h2{margin:0;font-size:25px;letter-spacing:-.03em}.icon-button{display:grid;place-items:center;flex:0 0 auto;width:38px;height:38px;border:0;border-radius:9px;background:#edf1f3;color:#344149;font-size:24px;cursor:pointer}.vehicle-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:grid;gap:6px}.field.full,.modal-actions.full{grid-column:1/-1}.field>span:first-child{font-size:12px;font-weight:800;color:#445159}.field input,.field select{width:100%;border:1px solid #cbd5da;border-radius:9px;padding:11px 12px;font:inherit;color:#222a30;background:#fff}.field input:focus,.field select:focus{outline:3px solid #f6df8b;border-color:#d2a62c}.color-control{display:flex;align-items:center;gap:10px;height:45px;border:1px solid #cbd5da;border-radius:9px;padding:5px 10px;color:var(--muted);font-size:13px}.color-control input{width:46px;height:32px;padding:0;border:0}.modal-actions{justify-content:flex-end;margin-top:8px}@media(max-width:850px){.app-shell{display:block}.app-sidebar{position:sticky;z-index:10;width:100%;height:auto;padding:13px 14px}.app-brand{padding:0 4px 12px;font-size:21px}.brand-mark{width:30px;height:30px}.app-nav{display:flex;overflow-x:auto;gap:5px;padding-bottom:2px}.app-nav a{white-space:nowrap;padding:9px 11px}.sidebar-foot{display:none}.app-main{padding:22px 15px}.page-header{display:block}.header-actions{margin-top:16px}.stats-grid{grid-template-columns:1fr}.dashboard-grid{grid-template-columns:1fr}.panel.full{grid-column:auto}.vehicle-grid{grid-template-columns:1fr}}@media(max-width:560px){.vehicle-form{grid-template-columns:1fr}.field.full,.modal-actions.full{grid-column:auto}.modal-actions{flex-direction:column-reverse}.modal-actions .button{width:100%}.details-grid{grid-template-columns:1fr}.vehicle-card-header{align-items:stretch;flex-direction:column}.vehicle-card-header .button{width:100%}}
