:root {
    --surface: #f8f9ff;
    --navy: #091426;
    --navy-hover: #1e293b;
    --accent: #40c2fd;
    --active: #dce9ff;
    --text: #0b1c30;
    --muted: #45474c;
    --border: #c5c6cd;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; background: var(--surface); color: var(--text); }
a { color: inherit; text-decoration: none; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 280px; background: #fff; border-right: 1px solid var(--border); padding: 22px 16px; display: flex; flex-direction: column; z-index: 20; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 4px 24px; border-bottom: 1px solid var(--border); }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; background: #eff4ff; color: #00668a; border-radius: 8px; }
.brand-title { font-size: 20px; line-height: 1.12; font-weight: 800; letter-spacing: 0; }
.brand-subtitle { margin-top: 6px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .03em; }
.nav-list { margin-top: 24px; display: grid; gap: 8px; }
.nav-item { display: flex; align-items: center; gap: 13px; min-height: 42px; padding: 0 16px; border-left: 3px solid transparent; border-radius: 4px; color: #5b6068; font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.nav-item svg { width: 19px; height: 19px; }
.nav-item.active { background: var(--active); border-left-color: #00668a; color: var(--text); }
.fleet-links { display: grid; gap: 6px; margin: 10px 0 0 46px; font-size: 13px; color: #00668a; }
.sidebar-footer { margin-top: auto; padding-top: 18px; border-top: 1px solid #e5e7eb; display: grid; gap: 8px; }
.support-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; background: var(--navy); color: white; border-radius: 4px; font-weight: 700; font-size: 14px; }
.topbar { position: fixed; left: 280px; right: 0; top: 0; height: 64px; background: #fff; border-bottom: 1px solid #e5e7eb; display: flex; align-items: center; gap: 28px; padding: 0 32px; z-index: 10; }
.product { font-weight: 800; font-size: 18px; }
.search { display: flex; align-items: center; gap: 12px; width: min(520px, 50vw); height: 42px; background: #f3f6ff; border: 1px solid #d3d8e4; border-radius: 10px; padding: 0 14px; }
.search input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 14px; }
.top-icons { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.top-icons span { width: 34px; height: 34px; display: grid; place-items: center; background: #d3e4fe; color: var(--navy); border-radius: 8px; font-weight: 800; }
.main-shell { margin-left: 280px; padding: 96px 32px 48px; max-width: 1480px; }
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.page-title { font-size: 36px; line-height: 44px; font-weight: 800; letter-spacing: 0; }
.page-subtitle { margin-top: 6px; color: var(--muted); font-size: 16px; }
.card { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; box-shadow: 0 4px 10px rgba(9,20,38,.05); }
.card-pad { padding: 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border: 1px solid var(--border); border-radius: 4px; font-weight: 800; font-size: 14px; cursor: pointer; }
.btn-primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-hover); }
.btn-secondary { background: #eff4ff; color: var(--text); }
.btn-accent { background: var(--accent); border-color: #0284c7; color: #073144; }
.grid-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat-card { min-height: 132px; padding: 24px; }
.stat-label { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 800; color: #222; }
.stat-value { margin-top: 10px; font-size: 34px; line-height: 40px; font-weight: 800; }
.stat-note { margin-top: 18px; color: #00668a; font-size: 14px; font-weight: 700; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { height: 42px; padding: 0 18px; background: #eff4ff; text-align: left; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: #2b2f36; }
.table td { min-height: 52px; padding: 14px 18px; border-top: 1px solid #e5e7eb; vertical-align: middle; }
.table tbody tr:hover { background: #f8fafc; }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: #293241; }
.field input, .field select, .field textarea { width: 100%; min-height: 42px; border: 1px solid var(--border); background: #f8f9ff; border-radius: 4px; padding: 10px 12px; outline: 0; font-size: 14px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(64,194,253,.22); }
.actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding-top: 18px; border-top: 1px solid #e5e7eb; }
.flash { position: fixed; top: 78px; right: 24px; z-index: 50; padding: 12px 16px; border-radius: 6px; font-weight: 700; box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.flash-success { background: #dcfce7; color: #166534; }
.flash-error { background: #fee2e2; color: #991b1b; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tab { height: 36px; padding: 0 16px; display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; font-weight: 700; }
.tab.active { background: var(--accent); border-color: #0284c7; color: #073144; }
.split { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 24px; }
.route-card { min-height: 250px; background: linear-gradient(90deg, #091426 0 34%, rgba(9,20,38,.82) 34%), url('https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1200&q=80') center/cover; color: white; border-radius: 8px; padding: 24px; }
.bar { height: 160px; background: linear-gradient(to top, #e7f5fd var(--h), transparent var(--h)); border-bottom: 1px solid #cbd5e1; display: flex; align-items: end; justify-content: center; }
@media (max-width: 900px) {
    .sidebar { width: 220px; }
    .topbar, .main-shell { margin-left: 220px; left: 220px; }
    .grid-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-grid, .split { grid-template-columns: 1fr; }
}
