@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700;800;900&family=Material+Symbols+Outlined:FILL@0..1&display=swap');

:root {
    --primary: #c9a45c;
    --primary-light: #dcbe7e;
    --primary-dark: #a07f38;
    --primary-soft: #2b2517;
    --primary-soft-2: #352d1a;
    --ink: #e6e2d8;
    --muted: #9d968a;
    --line: #33323a;
    --background: #16151a;
    --surface: #1f1e24;
    --surface-soft: #25242b;
    --green: #86c99e;
    --green-soft: #1c2a21;
    --orange: #e0a15f;
    --orange-soft: #332719;
    --red: #e0887f;
    --red-soft: #33201e;
    --purple: #ab9bcc;
    --purple-soft: #282336;
    --shadow: 0 2px 5px rgba(0, 0, 0, .28);
    --shadow-lg: 0 12px 30px rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--background); color: var(--ink); font-family: 'Hanken Grotesk', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.material-symbols-outlined { font-size: 22px; line-height: 1; font-variation-settings: 'FILL' 0, 'wght' 450, 'GRAD' 0, 'opsz' 24; }
.material-symbols-outlined.filled { font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24; }

.topbar { align-items: center; background: #000; border-bottom: 1px solid rgba(201,164,92,.18); display: flex; height: 72px; justify-content: space-between; left: 0; padding: 0 28px; position: fixed; right: 0; top: 0; z-index: 100; }
.brand { align-items: center; display: flex; gap: 11px; }
.brand-img { height: 46px; width: auto; }
.brand-mark { align-items: center; background: var(--primary); border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,.35); color: #1a191f; display: flex; height: 42px; justify-content: center; width: 42px; }
.brand-mark .material-symbols-outlined { font-size: 25px; }
.brand-name { color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: .045em; line-height: 1.05; }
.brand-name strong { color: var(--primary); font-weight: 900; }
.topbar-actions { align-items: center; display: flex; gap: 20px; }
.status-pill { align-items: center; color: var(--green); display: flex; font-size: 12px; font-weight: 700; gap: 7px; }
.status-dot { background: currentColor; border-radius: 50%; display: inline-block; height: 7px; width: 7px; }
.logout-button { align-items: center; background: transparent; border: 1px solid var(--line); border-radius: 8px; color: var(--primary); cursor: pointer; display: flex; font-size: 12px; font-weight: 800; gap: 7px; padding: 9px 13px; transition: background .2s, border-color .2s; }
.logout-button:hover { background: var(--primary-soft); border-color: var(--primary); }

.sidebar { background: var(--surface); border-right: 1px solid var(--line); bottom: 0; display: flex; flex-direction: column; left: 0; padding: 31px 18px 22px; position: fixed; top: 72px; width: 240px; z-index: 90; }
.sidebar-heading { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .13em; margin: 0 11px 13px; text-transform: uppercase; }
.desktop-navigation { display: flex; flex-direction: column; gap: 4px; }
.nav-link { align-items: center; border-radius: 9px; color: var(--muted); display: flex; font-size: 14px; font-weight: 700; gap: 13px; padding: 12px 12px; transition: background .2s, color .2s; }
.nav-link:hover { background: var(--surface-soft); color: var(--primary); }
.nav-link.active { background: var(--primary); box-shadow: 0 6px 14px rgba(0,0,0,.3); color: #1a191f; }
.sidebar-footer { align-items: flex-start; background: #26251f; border: 1px solid #3a3320; border-radius: 10px; color: var(--primary); display: flex; gap: 9px; margin: auto 4px 0; padding: 12px 10px; }
.sidebar-footer .material-symbols-outlined { font-size: 19px; }
.sidebar-footer strong, .sidebar-footer small { display: block; }
.sidebar-footer strong { font-size: 11px; }
.sidebar-footer small { color: var(--muted); font-size: 10px; margin-top: 3px; }
.page-shell { margin-left: 240px; padding: 72px 0 0; }
.page-container { margin: 0 auto; max-width: 1320px; padding: 38px 44px 70px; }
.page-intro { align-items: flex-end; display: flex; justify-content: space-between; margin-bottom: 29px; }
.page-intro-short { align-items: center; }
.eyebrow { align-items: center; color: var(--primary); display: flex; font-size: 11px; font-weight: 800; gap: 7px; letter-spacing: .1em; margin-bottom: 9px; text-transform: uppercase; }
.eyebrow .material-symbols-outlined { font-size: 17px; }
.page-intro h1 { font-size: clamp(27px, 3vw, 35px); letter-spacing: -.035em; line-height: 1.05; margin: 0; }
.page-intro p { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.intro-date { align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; color: var(--muted); display: flex; font-size: 12px; font-weight: 700; gap: 8px; padding: 10px 13px; }
.intro-date .material-symbols-outlined { color: var(--primary); font-size: 18px; }

.stat-grid { display: grid; gap: 15px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 26px; }
.stat-card { align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); display: flex; gap: 13px; min-height: 138px; padding: 19px 17px; position: relative; }
.stat-icon { align-items: center; border-radius: 10px; display: flex; flex: 0 0 42px; height: 42px; justify-content: center; }
.stat-blue .stat-icon { background: var(--primary-soft); color: var(--primary); }
.stat-green .stat-icon { background: var(--green-soft); color: var(--green); }
.stat-orange .stat-icon { background: var(--orange-soft); color: var(--orange); }
.stat-red .stat-icon { background: var(--red-soft); color: var(--red); }
.stat-card > div:last-of-type { min-width: 0; }
.stat-label { color: var(--muted); display: block; font-size: 11px; font-weight: 800; letter-spacing: .02em; margin: 2px 0 8px; }
.stat-card strong { display: block; font-size: 32px; letter-spacing: -.05em; line-height: .95; }
.stat-card small { color: var(--muted); display: block; font-size: 11px; margin-top: 7px; }
.stat-trend { color: var(--muted); font-size: 10px; font-weight: 800; position: absolute; right: 15px; top: 18px; }
.content-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .8fr); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); padding: 22px; }
.panel-heading { align-items: center; display: flex; justify-content: space-between; margin-bottom: 21px; }
.panel-heading > div:first-child, .form-section-title { align-items: center; display: flex; gap: 12px; }
.panel-heading-border { border-bottom: 1px solid var(--line); margin: -2px 0 20px; padding-bottom: 17px; }
.section-icon { align-items: center; border-radius: 9px; display: flex; height: 38px; justify-content: center; width: 38px; }
.section-icon.blue { background: var(--primary-soft); color: var(--primary); }
.section-icon.green { background: var(--green-soft); color: var(--green); }
.section-icon.orange { background: var(--orange-soft); color: var(--orange); }
.section-icon.slate { background: var(--surface-soft); color: var(--muted); }
.section-icon .material-symbols-outlined { font-size: 20px; }
.panel h2 { font-size: 16px; letter-spacing: -.01em; margin: 0; }
.panel-heading p, .form-section-title p { color: var(--muted); font-size: 11px; margin: 4px 0 0; }
.text-link { align-items: center; color: var(--primary); display: flex; font-size: 11px; font-weight: 800; gap: 4px; white-space: nowrap; }
.text-link:hover { color: var(--primary-dark); }
.text-link .material-symbols-outlined { font-size: 16px; }
.empty-state { align-items: center; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.compact-empty { min-height: 286px; }
.empty-icon { align-items: center; background: var(--surface-soft); border-radius: 50%; color: var(--muted); display: flex; height: 68px; justify-content: center; margin-bottom: 14px; width: 68px; }
.empty-icon .material-symbols-outlined { font-size: 32px; }
.empty-state h3 { font-size: 16px; margin: 0; }
.empty-state p { color: var(--muted); font-size: 12px; line-height: 1.55; margin: 8px auto 17px; max-width: 305px; }
.quick-panel { min-height: 100%; }
.quick-actions { display: flex; flex-direction: column; gap: 10px; }
.quick-action { align-items: center; border: 1px solid var(--line); border-radius: 10px; display: flex; gap: 11px; padding: 12px; transition: border .2s, transform .2s, box-shadow .2s; }
.quick-action:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-1px); }
.quick-action-icon { align-items: center; border-radius: 8px; display: flex; flex: 0 0 34px; height: 34px; justify-content: center; }
.blue-bg { background: var(--primary-soft); color: var(--primary); }.green-bg { background: var(--green-soft); color: var(--green); }.purple-bg { background: var(--purple-soft); color: var(--purple); }
.quick-action-icon .material-symbols-outlined { font-size: 19px; }
.quick-action > span:nth-child(2) { flex: 1; }.quick-action strong, .quick-action small { display: block; }.quick-action strong { font-size: 12px; }.quick-action small { color: var(--muted); font-size: 10px; margin-top: 3px; }.quick-action .arrow { color: var(--muted); font-size: 18px; }
.button { align-items: center; border: 0; border-radius: 8px; cursor: pointer; display: inline-flex; font-size: 12px; font-weight: 800; gap: 7px; justify-content: center; padding: 11px 16px; transition: background .2s, box-shadow .2s, transform .2s; }.button:hover { transform: translateY(-1px); }.button .material-symbols-outlined { font-size: 18px; }.button-primary { background: var(--primary); box-shadow: 0 5px 14px rgba(0,0,0,.3); color: #1a191f; }.button-primary:hover { background: var(--primary-dark); }.button-secondary { background: var(--primary-soft); color: var(--primary); }.button-secondary:hover { background: var(--primary-soft-2); }.button-ghost { border: 1px solid var(--line); color: var(--muted); }.button-ghost:hover { background: var(--surface-soft); color: var(--ink); }.button-danger { background: #8a2a2a; color: #f3e2d9; }.button-danger:hover { background: #a33434; }
.confirm-dialog { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.6); color: var(--ink); max-width: 400px; padding: 0; width: calc(100% - 32px); }
.confirm-dialog::backdrop { background: rgba(0,0,0,.65); backdrop-filter: blur(2px); }
.confirm-dialog-inner { padding: 26px; text-align: center; }
.confirm-icon { align-items: center; background: var(--red-soft); border-radius: 50%; color: #e07a6b; display: flex; height: 52px; justify-content: center; margin: 0 auto 14px; width: 52px; }
.confirm-icon .material-symbols-outlined { font-size: 26px; }
.confirm-dialog h3 { font-size: 18px; margin: 0 0 8px; }
.confirm-dialog p { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0; }
.confirm-actions { display: flex; gap: 10px; justify-content: center; margin-top: 22px; }
.confirm-actions .button { flex: 1; }
.count-badge { background: var(--primary-soft); border-radius: 20px; color: var(--primary); font-size: 11px; font-weight: 800; padding: 7px 11px; }

.vehicle-list { display: flex; flex-direction: column; gap: 11px; }.vehicle-card { align-items: center; background: #1b1a20; border: 1px solid var(--line); border-radius: 10px; display: grid; gap: 20px; grid-template-columns: 1.05fr 1.4fr auto; padding: 16px; }.vehicle-main { align-items: center; display: flex; gap: 12px; }.vehicle-avatar { align-items: center; background: var(--primary-soft); border-radius: 10px; color: var(--primary); display: flex; height: 46px; justify-content: center; width: 46px; }.vehicle-avatar.small { height: 38px; width: 38px; }.vehicle-avatar .material-symbols-outlined { font-size: 24px; }.vehicle-main h3 { font-size: 17px; letter-spacing: .02em; margin: 0; }.vehicle-main p { align-items: center; color: var(--muted); display: flex; font-size: 12px; gap: 4px; margin: 5px 0 0; }.vehicle-main p .material-symbols-outlined { font-size: 15px; }.vehicle-details { display: flex; gap: 35px; }.vehicle-details span, .vehicle-details strong { display: block; }.vehicle-details span { color: var(--muted); font-size: 10px; margin-bottom: 6px; }.vehicle-details strong { align-items: center; display: flex; font-size: 12px; gap: 5px; }.vehicle-details strong .material-symbols-outlined { font-size: 16px; }.date-safe { color: var(--green); }.date-warning { color: var(--orange); }.vehicle-status { align-items: center; display: flex; gap: 14px; }.status-label { align-items: center; display: flex; font-size: 10px; font-weight: 800; gap: 6px; }.status-label.success { color: var(--green); }.icon-button { align-items: center; border: 0; border-radius: 7px; cursor: pointer; display: flex; height: 34px; justify-content: center; width: 34px; }.icon-button .material-symbols-outlined { font-size: 18px; }.icon-button.danger { background: var(--red-soft); color: var(--red); }.icon-button.danger:hover { background: #452521; }.info-banner { align-items: flex-start; background: #26251f; border: 1px solid #3a3320; border-radius: 10px; color: var(--primary); display: flex; gap: 11px; margin-top: 18px; padding: 13px 16px; }.info-banner .material-symbols-outlined { font-size: 20px; }.info-banner strong { font-size: 12px; }.info-banner p { color: var(--muted); font-size: 11px; margin: 3px 0 0; }
.breadcrumb { align-items: center; color: var(--muted); display: flex; font-size: 12px; gap: 8px; margin-bottom: 27px; }.breadcrumb a { align-items: center; color: var(--primary); display: flex; font-weight: 800; gap: 5px; }.breadcrumb .material-symbols-outlined { font-size: 17px; }.breadcrumb strong { color: var(--ink); }
.form-panel { padding: 25px; }.form-section-title { border-bottom: 1px solid var(--line); grid-column: 1 / -1; margin-bottom: 3px; padding-bottom: 18px; }.form-section-title.separated { margin-top: 9px; padding-top: 22px; }.form-grid { display: grid; gap: 19px 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }.full-width { grid-column: 1 / -1; }.field label { color: var(--ink); display: block; font-size: 12px; font-weight: 800; margin: 0 0 8px; }.field label span { color: var(--red); }.input-wrap, .select-wrap { align-items: center; background: var(--surface); border: 1px solid #38373f; border-radius: 8px; display: flex; min-height: 44px; position: relative; transition: border .2s, box-shadow .2s; }.input-wrap:focus-within, .select-wrap:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(201,164,92,.16); }.input-wrap > .material-symbols-outlined { color: #6f6a60; font-size: 19px; margin-left: 12px; }.input-wrap input, .input-wrap textarea, .select-wrap select { background: transparent; border: 0; color: var(--ink); min-width: 0; outline: 0; padding: 11px 12px; width: 100%; }.input-wrap input::placeholder, .input-wrap textarea::placeholder { color: #7a746a; }.select-wrap select { appearance: none; cursor: pointer; padding-right: 37px; }.select-wrap > .material-symbols-outlined { color: #6f6a60; pointer-events: none; position: absolute; right: 11px; }.textarea-wrap { align-items: flex-start; }.textarea-wrap > .material-symbols-outlined { margin-top: 12px; }.input-wrap textarea { min-height: 78px; resize: vertical; }.form-actions { align-items: center; border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; margin-top: 7px; padding-top: 20px; }.existing-panel { margin-top: 18px; }.mini-record { align-items: center; border: 1px solid var(--line); border-radius: 9px; display: flex; justify-content: space-between; padding: 11px 13px; }.mini-record .vehicle-main h3 { font-size: 14px; }.mini-record .vehicle-main p { margin-top: 2px; }
.filters { display: grid; gap: 12px; grid-template-columns: 1.7fr 1fr; margin-bottom: 18px; }.filters .input-wrap { background: #1b1a20; }.filters .select-wrap { background: #1b1a20; }.student-list { display: flex; flex-direction: column; gap: 13px; }.student-card { border: 1px solid var(--line); border-radius: 10px; padding: 17px; transition: box-shadow .2s, border .2s; }.student-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }.student-header { align-items: flex-start; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding-bottom: 14px; }.student-heading { align-items: center; display: flex; gap: 11px; }.student-avatar { align-items: center; background: var(--green-soft); border-radius: 50%; color: var(--green); display: flex; font-size: 11px; font-weight: 900; height: 38px; justify-content: center; width: 38px; }.avatar-purple { background: var(--purple-soft); color: var(--purple); }.student-heading h3 { font-size: 16px; margin: 0 0 7px; }.student-tags { display: flex; flex-wrap: wrap; gap: 6px; }.tag { border-radius: 4px; font-size: 10px; font-weight: 800; padding: 4px 7px; }.blue-tag { background: var(--primary-soft); color: var(--primary); }.orange-tag { background: var(--orange-soft); color: var(--orange); }.danger-text { align-items: center; background: transparent; border: 0; color: var(--red); cursor: pointer; display: flex; font-size: 11px; font-weight: 800; gap: 5px; padding: 4px; }.danger-text:hover { text-decoration: underline; }.danger-text .material-symbols-outlined { font-size: 16px; }.student-details { background: var(--surface-soft); border-radius: 7px; display: grid; gap: 13px 25px; grid-template-columns: repeat(2, 1fr); margin-top: 13px; padding: 13px; }.student-details span, .student-details strong, .student-details a { display: block; }.student-details span { color: var(--muted); font-size: 10px; margin-bottom: 4px; }.student-details strong, .student-details a { font-size: 12px; }.student-details a { color: var(--primary); font-weight: 800; }.student-details a:hover { text-decoration: underline; }.student-details .address { grid-column: 1 / -1; }
.mobile-navigation { display: none; }

.flash { align-items: flex-start; border-radius: 10px; display: flex; font-size: 12px; font-weight: 700; gap: 9px; margin-bottom: 20px; padding: 12px 14px; }
.flash .material-symbols-outlined { font-size: 19px; }
.flash-success { background: var(--green-soft); border: 1px solid #2c4b3a; color: var(--green); }
.flash-error { background: var(--red-soft); border: 1px solid #52302d; color: var(--red); }

.date-danger { color: var(--red); }
.status-label.danger { color: var(--red); }
.distribution-list { display: flex; flex-direction: column; gap: 13px; }
.distribution-row { align-items: center; display: grid; gap: 12px; grid-template-columns: 90px 1fr 34px; }
.distribution-name { color: var(--ink); font-size: 12px; font-weight: 700; }
.distribution-bar { background: var(--primary-soft); border-radius: 20px; height: 8px; overflow: hidden; }
.distribution-bar span { background: var(--primary); border-radius: 20px; display: block; height: 100%; }
.distribution-count { color: var(--primary); font-size: 13px; font-weight: 900; text-align: right; }

.login-body { align-items: center; background: var(--background); min-height: 100vh; }
.login-wrap { align-items: center; display: flex; justify-content: center; min-height: 100vh; padding: 24px; width: 100%; }
.login-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); max-width: 380px; padding: 30px; width: 100%; }
.login-brand { align-items: center; display: flex; gap: 11px; margin-bottom: 24px; }
.login-card h1 { font-size: 20px; letter-spacing: -.02em; margin: 0 0 6px; }
.login-card > p { color: var(--muted); font-size: 12px; margin: 0 0 22px; }
.login-submit { width: 100%; }
.user-chip { align-items: center; color: var(--muted); display: flex; font-size: 12px; font-weight: 800; gap: 8px; }
.user-chip .role-pill { background: var(--primary-soft); border-radius: 20px; color: var(--primary); font-size: 10px; font-weight: 800; padding: 4px 9px; text-transform: uppercase; }

.home-body { display: flex; flex-direction: column; min-height: 100vh; background: #0a0a0d; }
.home-navbar { background: #000; border-bottom: 1px solid rgba(201,164,92,.18); left: 0; position: fixed; right: 0; top: 0; z-index: 120; }
.home-navbar-inner { align-items: center; display: flex; gap: 26px; justify-content: space-between; margin: 0 auto; max-width: 1280px; padding: 14px 28px; }
.home-logo { align-items: center; display: flex; gap: 12px; }
.home-logo-img { height: 64px; width: auto; }
.home-logo-mark { align-items: center; background: radial-gradient(circle at 50% 30%, #3a3120, #17150f); border: 1px solid #4a3d1f; border-radius: 12px; color: var(--primary); display: flex; height: 46px; justify-content: center; width: 46px; }
.home-logo-mark svg { height: 34px; width: 34px; }
.home-logo-text strong { color: var(--primary); display: block; font-size: 17px; font-weight: 900; letter-spacing: .03em; line-height: 1; }
.home-logo-text small { color: #f2efe8; display: block; font-size: 9px; font-weight: 600; letter-spacing: .16em; margin-top: 5px; white-space: nowrap; }
.home-menu { align-items: center; display: flex; gap: 4px; }
.home-menu a { color: #f2efe8; font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 9px 12px; text-transform: uppercase; }
.home-menu a:hover, .home-menu a.active { color: var(--primary); }
.home-login { align-items: center; background: transparent; border: 1px solid rgba(201,164,92,.45); border-radius: 7px; color: var(--primary); cursor: pointer; display: flex; font: inherit; font-size: 12px; font-weight: 800; gap: 6px; padding: 8px 13px; transition: background .2s, color .2s; }
.home-login:hover { background: var(--primary); color: #1a191f; }
.home-main { flex: 1; }
.home-hero { align-items: center; border-bottom: 1px solid rgba(201,164,92,.18); display: flex; min-height: 48vh; overflow: hidden; padding: 128px 28px 48px; position: relative; }
.home-hero-bg { inset: 0; pointer-events: none; position: absolute; }
.home-hero-bg::before { background: radial-gradient(620px 420px at 20% 45%, rgba(201,164,92,.14), transparent 70%), radial-gradient(560px 420px at 82% 55%, rgba(201,164,92,.09), transparent 70%); content: ""; inset: 0; position: absolute; }
.home-hero-bg::after { background-image: radial-gradient(rgba(201,164,92,.14) 1px, transparent 1px); background-size: 26px 26px; content: ""; inset: 0; opacity: .45; position: absolute; }
.home-hero-inner { align-items: center; display: flex; gap: 48px; justify-content: flex-start; margin: 0 auto; max-width: 1080px; position: relative; width: 100%; }
.home-hero-art { flex: 0 0 360px; }
.hero-title { align-items: center; display: flex; flex-direction: column; gap: 12px; }
.hero-brand { color: var(--primary); font-size: 100px; font-weight: 900; letter-spacing: -.01em; line-height: .95; white-space: nowrap; }
.hero-brand-sub { color: #f2efe8; font-size: 17px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.hero-tagline { color: #f2efe8; font-size: clamp(14px, 1.7vw, 18px); font-weight: 600; letter-spacing: .05em; line-height: 1.5; margin: 24px 0 0; }
.home-hero-actions { align-items: center; display: flex; gap: 12px; margin-top: 24px; }
.home-about { padding: 64px 24px; }
.home-login-dropdown { position: relative; }
.home-login-pop { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 20px; position: absolute; right: 0; top: calc(100% + 12px); width: 330px; z-index: 200; }
.home-login-pop[hidden] { display: none !important; }
.home-login-head { align-items: center; display: flex; gap: 12px; margin-bottom: 18px; }
.home-login-badge { align-items: center; background: var(--primary-soft); border-radius: 12px; color: var(--primary); display: flex; flex: 0 0 42px; height: 42px; justify-content: center; width: 42px; }
.home-login-badge .material-symbols-outlined { font-size: 22px; }
.home-login-head h2 { font-size: 16px; letter-spacing: -.01em; margin: 0 0 4px; }
.home-login-head p { color: var(--muted); font-size: 11px; margin: 0; }
.home-login-pop .field { margin-bottom: 14px; }
.home-login-pop .flash { margin-top: 14px; }
.home-login-pop .button { justify-content: center; width: 100%; }.home-footer { border-top: 1px solid rgba(201,164,92,.18); color: var(--muted); font-size: 12px; padding: 24px 28px; text-align: center; }

.site-page { margin: 0 auto; max-width: 1080px; padding: 156px 28px 76px; }
.site-hero-block { margin: 0 auto 46px; max-width: 640px; text-align: center; }
.site-hero-block .eyebrow { justify-content: center; }
.site-hero-block h1 { color: var(--primary); font-size: clamp(32px, 4.5vw, 50px); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 14px; }
.site-hero-block p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 auto; max-width: 560px; }
.site-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.site-grid-center { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); justify-content: center; }
.site-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 24px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.site-card:hover { border-color: #4a3d1f; box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.site-card-icon { align-items: center; background: var(--primary-soft); border-radius: 10px; color: var(--primary); display: flex; height: 44px; justify-content: center; margin-bottom: 15px; width: 44px; }
.site-card-icon .material-symbols-outlined { font-size: 22px; }
.site-card h3 { font-size: 16px; letter-spacing: -.01em; margin: 0 0 8px; }
.site-card p { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0; }
.site-card p a { color: var(--primary); font-weight: 700; }
.site-vehicle-card p { align-items: center; display: flex; gap: 6px; }
.site-vehicle-card p .material-symbols-outlined { font-size: 16px; }
.site-cta { background: radial-gradient(circle at 50% 20%, var(--primary-soft-2), var(--surface) 80%); border: 1px solid #4a3d1f; border-radius: 18px; margin-top: 46px; padding: 46px 24px; text-align: center; }
.site-cta h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -.02em; margin: 0 0 10px; }
.site-cta p { color: var(--muted); font-size: 14px; margin: 0 auto 24px; max-width: 480px; }
.site-service-list { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-service { align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); display: flex; gap: 16px; padding: 26px; }
.site-service h2 { font-size: 18px; letter-spacing: -.01em; margin: 0 0 10px; }
.site-service p { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 0 0 14px; }
.site-feature-list { display: flex; flex-direction: column; gap: 9px; list-style: none; margin: 0; padding: 0; }
.site-feature-list li { align-items: flex-start; color: var(--ink); display: flex; font-size: 13px; gap: 9px; line-height: 1.45; }
.site-feature-list li::before { color: var(--primary); content: "◆"; flex: 0 0 auto; font-size: 9px; margin-top: 4px; }

@media (max-width: 1000px) { .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.content-grid { grid-template-columns: 1fr; }.quick-panel { min-height: auto; }.vehicle-card { grid-template-columns: 1fr 1fr; }.vehicle-status { justify-content: flex-end; }.vehicle-status .status-label { margin-left: auto; } }
@media (max-width: 767px) {
    .topbar { height: 64px; padding: 0 16px; }.brand-mark { border-radius: 9px; height: 36px; width: 36px; }.brand-mark .material-symbols-outlined { font-size: 22px; }.brand-name { font-size: 11px; }.topbar-actions { gap: 0; }.status-pill { display: none; }.logout-button { border: 0; padding: 7px; }.logout-button span:last-child { display: none; }.logout-button .material-symbols-outlined { font-size: 22px; }
    .sidebar { display: none; }.page-shell { margin-left: 0; padding-top: 64px; }.page-container { padding: 27px 16px 103px; }.page-intro, .page-intro-short { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 22px; }.page-intro h1 { font-size: 28px; }.page-intro p { font-size: 13px; line-height: 1.45; }.intro-date { display: none; }.page-intro > .button { align-self: stretch; }
    .stat-grid { gap: 9px; margin-bottom: 17px; }.stat-card { gap: 9px; min-height: 113px; padding: 13px 11px; }.stat-icon { flex-basis: 32px; height: 32px; }.stat-icon .material-symbols-outlined { font-size: 18px; }.stat-label { font-size: 9px; margin-bottom: 7px; }.stat-card strong { font-size: 25px; }.stat-card small { font-size: 9px; margin-top: 5px; }.stat-trend { display: none; }.panel { border-radius: 11px; padding: 16px; }.panel-heading { align-items: flex-start; margin-bottom: 16px; }.panel-heading > div:first-child { align-items: flex-start; }.panel h2 { font-size: 14px; }.panel-heading p { font-size: 10px; }.text-link { font-size: 10px; }.text-link .material-symbols-outlined { display: none; }.compact-empty { min-height: 235px; }.empty-icon { height: 57px; width: 57px; }.empty-icon .material-symbols-outlined { font-size: 27px; }.empty-state h3 { font-size: 14px; }.empty-state p { font-size: 11px; }.quick-action { padding: 10px; }
    .home-navbar-inner { align-items: flex-start; flex-direction: column; gap: 12px; padding: 12px 16px; }
    .home-menu { flex-wrap: wrap; gap: 2px; width: 100%; }
    .home-menu a { font-size: 10px; padding: 7px 9px; }
    .home-login { align-self: flex-end; }
    .home-hero { padding: 176px 16px 40px; }
    .home-hero-inner { flex-direction: column; gap: 26px; justify-content: center; }
    .home-hero-art { flex-basis: 0; height: 0; }
    .home-hero-text { text-align: center; }
    .hero-brand-sub { font-size: 13px; letter-spacing: .1em; }
    .hero-tagline { font-size: 13px; margin-top: 18px; }
    .home-hero-actions { flex-direction: column; margin-top: 24px; }
    .home-hero-actions .button { width: 100%; }
    .home-about { padding: 40px 16px; }
    .site-page { padding: 200px 16px 50px; }
    .site-hero-block { margin-bottom: 34px; }
    .site-hero-block h1 { font-size: 32px; }
    .site-hero-block p { font-size: 14px; }
    .site-grid { grid-template-columns: 1fr; }
    .site-service-list { grid-template-columns: 1fr; }
    .site-service { flex-direction: column; padding: 20px; }
    .site-cta { padding: 34px 18px; margin-top: 34px; }
    .vehicle-card { align-items: flex-start; grid-template-columns: 1fr auto; padding: 13px; }.vehicle-details { border-top: 1px solid var(--line); grid-column: 1 / -1; justify-content: space-between; padding-top: 12px; width: 100%; }.vehicle-status { grid-column: 2; grid-row: 1; }.vehicle-status .status-label { display: none; }.vehicle-main h3 { font-size: 15px; }.vehicle-details { gap: 10px; }.vehicle-details strong { font-size: 10px; }.vehicle-details span { font-size: 9px; }.info-banner { padding: 11px; }
    .breadcrumb { margin-bottom: 22px; }.form-panel { padding: 16px; }.form-grid { gap: 15px; grid-template-columns: 1fr; }.form-section-title { margin-bottom: 2px; }.form-section-title.separated { margin-top: 4px; }.full-width { grid-column: auto; }.form-actions { align-items: stretch; flex-direction: column-reverse; }.form-actions .button { width: 100%; }.existing-panel { padding: 16px; }.filters { grid-template-columns: 1fr; }.student-header { gap: 10px; }.student-heading { align-items: flex-start; }.student-avatar { flex: 0 0 34px; height: 34px; width: 34px; }.student-heading h3 { font-size: 14px; }.danger-text { font-size: 0; }.danger-text .material-symbols-outlined { font-size: 19px; }.student-details { gap: 12px; grid-template-columns: 1fr 1fr; padding: 11px; }.student-details strong, .student-details a { font-size: 11px; }.student-details .address { grid-column: 1 / -1; }
    .mobile-navigation { align-items: stretch; background: rgba(28,27,34,.98); border-top: 1px solid var(--line); bottom: 0; display: flex; height: 72px; justify-content: space-around; left: 0; padding: 6px 10px calc(6px + env(safe-area-inset-bottom)); position: fixed; right: 0; z-index: 110; }.mobile-nav-link { align-items: center; border-radius: 10px; color: var(--muted); display: flex; flex: 1; flex-direction: column; font-size: 10px; font-weight: 800; gap: 4px; justify-content: center; max-width: 110px; }.mobile-nav-link .material-symbols-outlined { font-size: 21px; }.mobile-nav-link.active { background: var(--primary); color: #1a191f; }
}
