:root {
    --bg: #08090d;
    --panel: rgba(17, 19, 27, .9);
    --panel-strong: rgba(16, 18, 26, .96);
    --line: rgba(255, 255, 255, .11);
    --text: #f7fbff;
    --muted: rgba(247, 251, 255, .62);
    --faint: rgba(247, 251, 255, .38);
    --brand: #e50914;
    --brand-strong: #ff1e2b;
    --brand-dark: #a80710;
    --blue: var(--brand);
    --cyan: var(--brand-strong);
    --green: #35d07f;
    --orange: #ffad42;
    --red: #ff6262;
    --shadow: 0 18px 46px rgba(0, 0, 0, .28);
    --soft-shadow: 0 12px 34px rgba(0, 0, 0, .2);
    --topbar-bg: rgba(8, 10, 15, .88);
    --field-bg: rgba(255,255,255,.045);
    --subtle-bg: rgba(255,255,255,.035);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
    overflow-x: hidden;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: "Exo 2", "Segoe UI", Arial, sans-serif;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0;
}

html[data-theme="light"] {
    --bg: #f7f8fa;
    --panel: rgba(255, 255, 255, .92);
    --panel-strong: rgba(255, 255, 255, .98);
    --line: rgba(30, 31, 38, .1);
    --text: #1e1f26;
    --muted: rgba(30, 31, 38, .62);
    --faint: rgba(30, 31, 38, .42);
    --green: #148c4d;
    --orange: #b46b00;
    --red: #d61f2a;
    --shadow: 0 18px 50px rgba(30, 31, 38, .1);
    --soft-shadow: 0 10px 28px rgba(30, 31, 38, .08);
    --topbar-bg: rgba(255, 255, 255, .9);
    --field-bg: rgba(30,31,38,.035);
    --subtle-bg: rgba(30,31,38,.04);
}

html.theme-changing *,
html.theme-changing *::before,
html.theme-changing *::after {
    transition: none !important;
    animation: none !important;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.grid-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(780px 420px at 50% -16%, rgba(229, 9, 20, .16), transparent 72%),
        linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
    background-size: auto, 48px 48px, 48px 48px;
}

.grid-bg::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,10,18,.25), rgba(7,10,18,.92));
    content: "";
}

html[data-theme="light"] .grid-bg {
    background:
        radial-gradient(760px 430px at 58% -12%, rgba(229, 9, 20, .11), transparent 72%),
        linear-gradient(rgba(30,31,38,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30,31,38,.035) 1px, transparent 1px);
    background-size: auto, 46px 46px, 46px 46px;
}

html[data-theme="light"] .grid-bg::after {
    background: linear-gradient(180deg, rgba(247,248,250,.28), rgba(247,248,250,.94));
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 28px;
    align-items: center;
    min-height: 76px;
    padding: 11px clamp(18px, 4vw, 52px);
    background: var(--topbar-bg);
    border-bottom: 1px solid var(--line);
}

.brand, .profile-pill, .nav, .login-pill, .menu-toggle, .header-tools, .auth-actions { display: flex; align-items: center; }

.profile-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: end;
}
.brand {
    position: relative;
    z-index: 2;
    gap: 13px;
    min-width: 350px;
    min-height: 52px;
}

.logo-icon {
    display: grid;
    width: 62px;
    height: 44px;
    place-items: center;
    border-radius: 8px;
    background: transparent;
    flex: 0 0 62px;
    overflow: visible;
}

.logo-icon svg {
    display: block;
    width: 62px;
    height: 44px;
}

.logo-p,
.logo-road {
    fill: var(--brand);
}

.logo-copy {
    min-width: 0;
}

.logo-copy strong {
    display: block;
    color: var(--text);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: .92;
}

.logo-copy small {
    display: block;
    color: var(--muted);
    margin-top: 3px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.logo-copy em {
    display: block;
    max-width: 360px;
    margin-top: 3px;
    overflow: hidden;
    color: var(--faint);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-tools {
    position: relative;
    z-index: 2;
    justify-self: end;
    gap: 10px;
}

.auth-actions {
    gap: 10px;
}

.nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
    gap: 6px;
}

.nav a, .ghost-btn, .mini-btn, .tabs-mini button, .admin-tabs a, .login-pill, .theme-toggle {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--subtle-bg);
    color: var(--muted);
    transition: .2s ease;
}

.nav a {
    padding: 8px 4px;
    border-color: transparent;
    background: transparent;
    font-size: 14px;
    font-weight: 450;
}

.nav a:hover, .ghost-btn:hover, .admin-tabs a.active, .admin-tabs a:hover, .login-pill:hover, .profile-pill:hover {
    color: var(--text);
}

.nav a:hover {
    border-color: transparent;
    background: transparent;
    color: var(--brand-strong);
}

.profile-pill, .login-pill {
    position: relative;
    z-index: 2;
    justify-self: end;
    gap: 8px;
    padding: 6px 10px 6px 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--subtle-bg);
}

.profile-pill span, .login-pill b {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-strong));
    font-size: 12px;
    font-weight: 600;
}

.profile-pill b, .login-pill span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 450;
}

.login-pill {
    padding-left: 14px;
}

.login-pill b {
    background: linear-gradient(135deg, var(--brand), var(--brand-strong));
    color: #ffffff;
}

.theme-toggle {
    position: relative;
    display: inline-grid;
    width: 40px;
    height: 40px;
    min-width: 40px;
    place-items: center;
    padding: 0;
    border-radius: 8px;
    line-height: 0;
    cursor: pointer;
}

.theme-toggle:hover {
    border-color: rgba(229,9,20,.38);
    color: var(--text);
}

.theme-toggle:focus {
    outline: none;
}

.theme-toggle:focus-visible {
    border-color: rgba(229,9,20,.55);
    box-shadow: 0 0 0 3px rgba(229,9,20,.14);
}

.theme-icon {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 17px;
    height: 17px;
    transform: translate(-50%, -50%);
    fill: currentColor;
}

.theme-icon-sun {
    display: block;
}

html[data-theme="light"] .theme-icon-sun {
    display: none;
}

.theme-icon-moon {
    display: none;
}

html[data-theme="light"] .theme-icon-moon {
    display: block;
}

.menu-toggle {
    display: none;
    position: relative;
    z-index: 2;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--subtle-bg);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 17px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    opacity: .72;
    transition: .2s ease;
}

.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
    border-color: rgba(229,9,20,.34);
    background: rgba(229,9,20,.1);
}

.menu-toggle[aria-expanded="true"] span {
    background: var(--cyan);
    opacity: 1;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.page-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 32px 0 66px;
}

.content-narrow {
    width: min(900px, 100%);
    margin: 0 auto;
}

.admin-shell {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.landing-shell {
    display: grid;
    gap: 14px;
}

.glass-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--soft-shadow);
}

.kicker {
    margin: 0 0 10px;
    color: var(--brand-strong);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; color: var(--text); font-size: 40px; font-weight: 700; line-height: 1.08; letter-spacing: 0; }
h2 { color: var(--text); font-size: 28px; font-weight: 600; line-height: 1.16; letter-spacing: 0; }
h3 { color: var(--text); font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: 0; }
.muted { color: var(--muted); }

.auth-page .page-shell {
    width: min(1180px, calc(100% - 32px));
    padding-top: 18px;
}

.auth-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 0;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 26px;
}

.section-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ghost-btn, .mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 14px;
    font-weight: 600;
    cursor: pointer;
}

.product-hero {
    position: relative;
    min-height: 0;
    margin-bottom: 0;
    padding: clamp(30px, 5vw, 54px);
    border-color: rgba(229,9,20,.16);
    background:
        linear-gradient(142deg, rgba(229, 9, 20, .18), transparent 46%),
        linear-gradient(180deg, rgba(255,255,255,.045), transparent 72%),
        var(--panel);
    overflow: hidden;
}

@media (min-width: 981px) {
    .landing-shell {
        grid-template-columns: minmax(0, 1fr) minmax(410px, .9fr);
        grid-template-areas:
            "hero tariffs"
            "photo photo";
        align-items: stretch;
        column-gap: 0;
        row-gap: 16px;
    }

    .product-hero {
        display: flex;
        grid-area: hero;
        min-height: 100%;
        align-items: center;
        padding: 48px 52px;
        border-right-color: transparent;
        border-radius: 8px 0 0 8px;
    }

    .tariffs-section {
        grid-area: tariffs;
        border-left-color: transparent;
        border-radius: 0 8px 8px 0;
    }

    .parking-photo-panel {
        grid-area: photo;
    }
}

.product-hero::after {
    display: none;
    content: "";
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.product-hero h1 {
    max-width: 520px;
    font-size: 44px;
}

.hero-lead {
    max-width: 500px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.gradient-link {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 8px;
    background: linear-gradient(100deg, var(--brand), var(--brand-strong));
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(229, 9, 20, .22);
}

.gradient-link:hover,
.gradient-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(229, 9, 20, .23);
}

.hero-secondary {
    min-height: 46px;
    padding-inline: 18px;
    background: transparent;
    color: var(--muted);
}

.gradient-link.large {
    min-height: 56px;
    padding-inline: 26px;
    border-radius: 8px;
    font-size: 16px;
}

.hero-occupancy {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.hero-occupancy strong {
    margin: 0;
    color: var(--text);
    font-size: clamp(36px, 5vw, 52px);
    line-height: 1;
}

.hero-occupancy span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 400;
}

.steps-section {
    padding: 22px 24px;
}

.panel-head.compact {
    margin-bottom: 14px;
}

.step-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.step-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    min-height: 64px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--subtle-bg);
}

.step-row b {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 8px;
    background: rgba(229,9,20,.12);
    color: var(--brand-strong);
    font-size: 13px;
}

.step-row span {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 500px);
    gap: clamp(28px, 7vw, 90px);
    align-items: center;
    min-height: calc(100vh - 120px);
}

.auth-layout-centered {
    grid-template-columns: minmax(320px, 532px);
    justify-content: center;
}

.registration-shell {
    display: grid;
    grid-template-columns: minmax(280px, .55fr) minmax(420px, .9fr);
    gap: clamp(22px, 5vw, 54px);
    align-items: start;
}

.registration-shell.is-minimal {
    grid-template-columns: minmax(320px, 720px);
    justify-content: center;
}

.registration-aside {
    position: sticky;
    top: 112px;
    padding: 32px;
}

.registration-aside h1 {
    margin-bottom: 16px;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.05;
}

.registration-summary {
    display: grid;
    gap: 12px;
    margin: 28px 0 0;
}

.registration-summary div,
.payment-summary div,
.final-panel div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.035);
}

.registration-summary dt,
.payment-summary span,
.final-panel span {
    color: var(--muted);
    font-size: 13px;
}

.registration-summary dd,
.payment-summary strong,
.final-panel strong {
    margin: 0;
    color: var(--text);
    font-size: 17px;
    font-weight: 650;
}

.registration-card {
    padding: 34px 38px;
    overflow: hidden;
}

.registration-shell.is-minimal .registration-card {
    width: 100%;
}

.form-errors {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid rgba(255,98,98,.38);
    border-radius: 14px;
    background: rgba(255,98,98,.08);
    color: #ffd6d6;
}

.form-errors.is-hidden {
    display: none;
}

.is-hidden {
    display: none !important;
}

.form-errors p {
    margin: 0;
}

.form-notice {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid rgba(45, 212, 191, .38);
    border-radius: 14px;
    background: rgba(45, 212, 191, .08);
    color: #bdfcf2;
}

.form-notice p {
    margin: 0;
}

.inline-code-panel {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(45, 212, 191, .34);
    border-radius: 14px;
    background: rgba(45, 212, 191, .07);
}

.inline-code-panel .muted {
    margin: 0;
}

.field-error {
    border-color: rgba(255,98,98,.72) !important;
    box-shadow: 0 0 0 4px rgba(255,98,98,.1) !important;
}

.registration-progress {
    grid-template-columns: repeat(5, 1fr);
}

.flow-step {
    display: none;
}

.flow-step.active {
    display: grid;
    gap: 16px;
}

.flow-step h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 600;
}

.flow-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 4px;
}

.flow-actions .gradient-btn {
    width: auto;
    min-width: 190px;
    padding-inline: 18px;
}

.intent-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.intent-card {
    display: grid;
    gap: 10px;
    min-height: 150px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255,255,255,.035);
    color: var(--muted);
    text-align: left;
    cursor: pointer;
}

.intent-card b {
    color: var(--text);
    font-size: 18px;
    font-weight: 650;
}

.intent-card span {
    font-size: 14px;
    line-height: 1.45;
}

.intent-card.active,
.intent-card:hover {
    border-color: rgba(79,216,208,.42);
    background: rgba(79,216,208,.1);
}

.vehicle-list {
    display: grid;
    gap: 12px;
}

.vehicle-form-row {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255,255,255,.025);
}

.add-vehicle-btn {
    justify-self: start;
}

.category-grid em {
    color: var(--text);
    font-size: 12px;
    font-style: normal;
}

.parking-info-panel {
    display: grid;
    grid-template-columns: minmax(180px, .45fr) 1fr;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.03);
}

.parking-info-panel img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    border-radius: 14px;
    background: rgba(255,255,255,.03);
}

.parking-info-panel h3 {
    margin: 6px 0 8px;
    font-size: 24px;
}

.payment-summary,
.final-panel {
    display: grid;
    gap: 10px;
}

.auth-aside h1 {
    max-width: 620px;
}

.auth-aside .muted {
    max-width: 560px;
    margin-top: 18px;
    font-size: 18px;
    font-weight: 350;
}

.auth-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    max-width: 620px;
    margin-top: 30px;
    overflow: hidden;
    border-radius: 18px;
}

.auth-proof div {
    padding: 18px;
    background: rgba(255,255,255,.025);
}

.auth-proof strong {
    display: block;
    color: var(--cyan);
    font-size: 25px;
    font-weight: 650;
}

.auth-proof span {
    color: var(--muted);
    font-size: 13px;
}

.auth-card {
    width: 100%;
    padding: 34px 38px;
}

.auth-mode {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 24px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.035);
}

.auth-progress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 18px;
}

.auth-progress span {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 7px 9px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255,255,255,.03);
    color: var(--faint);
    font-size: 13px;
}

.auth-progress b {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.auth-progress span.active {
    border-color: rgba(79, 216, 208, .34);
    background: rgba(79, 216, 208, .09);
    color: var(--text);
}

.auth-progress span[data-complete="true"] {
    border-color: rgba(79, 216, 208, .22);
    background: rgba(79, 216, 208, .055);
    color: var(--muted);
}

.auth-progress span.active b {
    background: linear-gradient(135deg, var(--brand), var(--brand-strong));
    color: #ffffff;
}

.auth-progress span[data-complete="true"] b {
    background: rgba(79, 216, 208, .18);
    color: var(--cyan);
}

.auth-mode button {
    min-height: 36px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.auth-mode button.active {
    background: rgba(229,9,20,.14);
    color: var(--text);
}

.step-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
}

.step-dots span, .step-dots i {
    display: block;
    width: 10px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
}

.step-dots span {
    width: 27px;
    background: linear-gradient(90deg, var(--brand), var(--brand-strong));
}

.auth-card h1 {
    margin-bottom: 14px;
    font-size: clamp(31px, 7vw, 42px);
}

.auth-card h2 {
    margin: 0 0 10px;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -.02em;
}

.auth-card h1 span {
    color: var(--cyan);
}

.auth-switch {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 14px;
}

.auth-switch a {
    color: var(--cyan);
    font-weight: 650;
}

.dark-form {
    display: grid;
    gap: 16px;
    margin-top: 30px;
}

.dark-form label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.code-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 9px;
}

.code-grid input {
    padding: 0;
    text-align: center;
    font-size: 20px;
}

.category-grid,
.zone-grid {
    display: grid;
    gap: 10px;
}

.zone-picker {
    display: grid;
    gap: 10px;
}

.zone-map {
    --map-zoom: .9;
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(229, 9, 20, .08), transparent 34%),
        rgba(255,255,255,.025);
}

.zone-map-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.zone-map-head > span {
    color: var(--text);
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0;
    text-transform: none;
}

.zone-map-controls {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255,255,255,.035);
}

.zone-map-controls button {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 0;
    border-radius: 7px;
    background: rgba(255,255,255,.05);
    color: var(--text);
    font-size: 17px;
    font-weight: 650;
    line-height: 1;
    cursor: pointer;
}

.zone-map-controls button:hover {
    background: rgba(229,9,20,.16);
}

.zone-map-controls output {
    min-width: 42px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    text-align: center;
}

.zone-map-range {
    min-height: 18px;
    padding: 0;
    accent-color: var(--brand);
}

.zone-map-viewport {
    height: 218px;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
    border-radius: 11px;
    background: #171a24;
    cursor: grab;
}

.zone-map-viewport:active {
    cursor: grabbing;
}

.zone-map-viewport img {
    display: block;
    width: calc(860px * var(--map-zoom));
    max-width: none;
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
}

.category-grid {
    grid-template-columns: repeat(3, 1fr);
}

.zone-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-grid button,
.zone-grid button {
    display: grid;
    gap: 4px;
    min-height: 58px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(255,255,255,.04);
    color: var(--muted);
    cursor: pointer;
}

.category-grid button[data-selected="true"],
.category-grid button[data-hovered="true"],
.zone-grid button[data-selected="true"] {
    border-color: rgba(229, 9, 20, .42);
    background: rgba(229, 9, 20, .1);
    color: var(--text);
}

.category-grid[data-hovering="true"] button[data-selected="true"],
.category-grid[data-hovering="true"] button[data-hovered="true"] {
    border-color: rgba(229, 9, 20, .42) !important;
    background: rgba(229, 9, 20, .1) !important;
    color: var(--text) !important;
}

.category-grid button:focus,
.zone-grid button:focus {
    outline: none;
}

.category-grid button:focus-visible,
.zone-grid button:focus-visible {
    box-shadow: 0 0 0 3px rgba(229,9,20,.16);
}

.category-grid b {
    color: var(--cyan);
    font-size: 18px;
    font-weight: 650;
}

.category-grid span,
.zone-grid span {
    font-size: 13px;
}

input {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: none;
    background: var(--field-bg);
    color: var(--text);
    font-size: 16px;
    font-weight: 400;
}

input:focus {
    border-color: rgba(229, 9, 20, .58);
    box-shadow: 0 0 0 4px rgba(229, 9, 20, .09);
}

input::placeholder { color: var(--faint); }

.plate-input {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--field-bg);
}

.plate-input input {
    border: 0;
    background: transparent;
}

.plate-input b {
    margin-right: 10px;
    padding: 3px 7px;
    border-radius: 7px;
    background: rgba(85,170,255,.16);
    color: var(--blue);
    font-size: 12px;
}

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--faint);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.divider::before, .divider::after {
    flex: 1;
    height: 1px;
    background: var(--line);
    content: "";
}

.gradient-btn {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(100deg, var(--brand), var(--brand-strong));
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 34px rgba(229,9,20,.22);
    transition: .2s ease;
}

.agreement-list {
    display: grid;
    gap: 9px;
}

.agreement-check {
    display: grid !important;
    grid-template-columns: auto 1fr;
    gap: 10px !important;
    align-items: start;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(255,255,255,.028);
    color: var(--muted) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    line-height: 1.45;
    text-transform: none !important;
}

.agreement-check input {
    width: 18px;
    min-height: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--cyan);
}

.agreement-check a,
.site-footer a {
    color: var(--cyan);
}

.agreement-check .field-error {
    outline: 2px solid rgba(255,98,98,.58);
    outline-offset: 2px;
}

.legal-page {
    padding-top: 28px;
}

.legal-card {
    padding: clamp(24px, 5vw, 42px);
}

.legal-card h1 {
    margin-bottom: 18px;
}

.legal-subtitle {
    max-width: 720px;
    margin: -6px 0 18px;
    color: var(--muted);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.5;
}

.legal-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 30px;
    color: var(--faint);
    font-size: 14px;
}

.legal-document-content {
    display: grid;
    gap: 12px;
    color: var(--muted);
    line-height: 1.68;
}

.legal-document-content h2 {
    margin: 22px 0 2px;
    color: var(--text);
    font-size: clamp(18px, 2vw, 22px);
}

.legal-document-content p {
    margin: 0;
}

.legal-document-content ul {
    margin: 0;
    padding-left: 20px;
}

.legal-card .gradient-link {
    margin-top: 12px;
}

.site-footer {
    border-top: 1px solid var(--line);
    background:
        radial-gradient(520px 240px at 20% 0, rgba(229,9,20,.08), transparent 70%),
        var(--panel);
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(360px, 1fr);
    gap: clamp(28px, 8vw, 120px);
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 36px 0 30px;
}

.footer-contacts {
    color: var(--muted);
    font-size: 14px;
}

.footer-contacts h2 {
    margin: 0 0 16px;
    color: var(--text);
    font-size: 15px;
    font-weight: 650;
}

.footer-contacts p {
    margin: 0 0 10px;
}

.footer-contacts strong {
    color: var(--text);
    font-weight: 600;
}

.footer-documents {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 22px;
    align-self: center;
}

.footer-documents a {
    color: var(--muted);
    font-size: 14px;
    transition: .2s ease;
}

.footer-documents a:hover {
    color: var(--brand-strong);
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 26px;
}

.car-card {
    display: block;
    padding: 32px;
    transition: .25s ease;
}

.car-card:hover {
    transform: translateY(-5px);
    border-color: rgba(85,170,255,.42);
    background: rgba(24, 32, 54, .86);
}

.car-art {
    display: grid;
    min-height: 130px;
    place-items: center;
}

.car-art img {
    width: min(260px, 100%);
    opacity: .72;
    filter:
        invert(1)
        drop-shadow(0 0 22px rgba(255,255,255,.08));
}

.car-card h2 {
    margin: 8px 0 8px;
    text-align: center;
    font-size: 28px;
    font-weight: 600;
}

.plate {
    display: table;
    margin: 0 auto;
    padding: 4px 12px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: rgba(255,255,255,.05);
    color: rgba(255,255,255,.64);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .16em;
}

.car-data, .list-data {
    display: grid;
    gap: 13px;
    margin: 26px 0 0;
}

.car-data div, .list-data div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

dt { color: var(--faint); }
dd { margin: 0; font-weight: 550; }

.form-alert {
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid rgba(79,216,208,.24);
    border-radius: 14px;
    background: rgba(79,216,208,.08);
    color: var(--text);
    font-size: 14px;
    font-weight: 550;
}

.status-badge, .active-chip, .blue-chip, .status-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 550;
}

.status-badge::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.status-badge.parked, .active-chip, .status-chip {
    border: 1px solid rgba(53,208,127,.42);
    background: rgba(53,208,127,.13);
    color: var(--green);
}

.status-badge.away {
    border: 1px solid rgba(255,173,66,.42);
    background: rgba(255,173,66,.13);
    color: var(--orange);
}

.anti-theft-control {
    margin-top: 18px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255,255,255,.035);
}

.anti-theft-control label {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    cursor: pointer;
}

.anti-theft-control strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
    font-size: 17px;
    font-weight: 650;
}

.anti-theft-control small {
    color: var(--muted);
    font-size: 13px;
}

.anti-theft-control input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.anti-theft-control i {
    position: relative;
    width: 54px;
    height: 30px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    transition: .18s ease;
}

.anti-theft-control i::after {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255,255,255,.72);
    transition: .18s ease;
    content: "";
}

.anti-theft-control input:checked + i {
    border-color: rgba(255,98,98,.46);
    background: rgba(255,98,98,.16);
}

.anti-theft-control input:checked + i::after {
    left: 28px;
    background: var(--red);
    box-shadow: 0 0 18px rgba(255,98,98,.32);
}

.anti-theft-control input:disabled + i {
    opacity: .42;
}

.anti-theft-control:has(input:disabled) label {
    cursor: not-allowed;
}

.anti-theft-control.is-submitting {
    opacity: .72;
    pointer-events: none;
}

.days-left {
    margin: 22px 0 0;
    color: var(--faint);
    text-align: center;
}

.vehicle-strip-wrap {
    position: relative;
    margin-bottom: 22px;
}

.vehicle-strip {
    display: grid;
    grid-auto-columns: calc((100% - 32px) / 3);
    grid-auto-flow: column;
    justify-content: center;
    gap: 16px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.vehicle-tile {
    display: grid;
    min-height: 190px;
    padding: 18px;
    border: 1px solid var(--line);
    text-align: left;
    cursor: pointer;
    scroll-snap-align: start;
}

.vehicle-tile:hover,
.vehicle-tile.active,
.vehicle-add-card:hover {
    border-color: rgba(79,216,208,.62);
    background: rgba(22, 35, 54, .88);
}

.vehicle-tile img {
    width: 150px;
    max-width: 70%;
    margin: 2px auto 10px;
    opacity: .72;
    filter: invert(1) drop-shadow(0 0 18px rgba(255,255,255,.08));
}

.vehicle-tile strong {
    margin-top: 12px;
    color: var(--text);
    font-size: 20px;
    font-weight: 650;
}

.vehicle-tile .plate {
    margin: 8px 0 0;
}

.vehicle-tile small {
    margin-top: 10px;
    color: var(--muted);
}

.vehicle-add-card {
    align-content: center;
    justify-items: center;
    color: var(--text);
    text-align: center;
    text-decoration: none;
}

.add-card-icon {
    display: grid;
    width: 74px;
    height: 74px;
    place-items: center;
    border: 1px solid rgba(79,216,208,.42);
    border-radius: 50%;
    background: rgba(79,216,208,.1);
    color: var(--cyan);
    font-size: 34px;
    font-weight: 500;
}

.vehicle-add-card strong {
    margin-top: 18px;
}

.vehicle-strip-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(13, 18, 31, .9);
    color: var(--text);
    cursor: pointer;
    transform: translateY(-50%);
}

.vehicle-strip-arrow.prev { left: -18px; }
.vehicle-strip-arrow.next { right: -18px; }

.vehicle-detail-panel {
    display: none;
}

.vehicle-detail-panel.active {
    display: block;
}

.vehicle-hero {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
    padding: 34px;
    margin-bottom: 24px;
    background:
        radial-gradient(520px 160px at 60% 0, rgba(53,208,127,.18), transparent 70%),
        var(--panel);
}

.vehicle-ring {
    display: grid;
    width: 92px;
    height: 92px;
    place-items: center;
    border: 2px solid rgba(53,208,127,.55);
    border-radius: 50%;
    box-shadow: 0 0 34px rgba(53,208,127,.18);
}

.vehicle-ring svg {
    width: 34px;
    fill: var(--green);
}

.vehicle-ring img {
    width: 42px;
    opacity: .95;
    filter: invert(66%) sepia(83%) saturate(483%) hue-rotate(102deg) brightness(94%) contrast(88%);
}

.vehicle-hero h2 {
    margin: 0;
    font-size: clamp(40px, 5vw, 56px);
    line-height: 1;
}

.vehicle-hero .plate { margin: 7px 0 10px; }

.live-dot {
    margin-bottom: 6px;
    color: var(--green);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.parking-time {
    text-align: right;
}

.parking-time span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 550;
    text-transform: uppercase;
}

.parking-time strong {
    color: var(--green);
    font-size: 28px;
    font-weight: 650;
}

.metric-grid, .stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.metric-card, .stat-card {
    padding: 22px;
}

.metric-card p, .stat-card span {
    margin: 0 0 8px;
    color: var(--faint);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.metric-card strong, .stat-card strong {
    display: block;
    font-size: 28px;
    font-weight: 650;
    line-height: 1.1;
}

.metric-card small, .stat-card small {
    color: var(--muted);
}

.stat-card strong { color: var(--cyan); }
.stat-card.danger strong { color: var(--red); }
.stat-card.money strong { color: var(--orange); }

.detail-layout, .launch-grid, .admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.launch-grid { grid-template-columns: minmax(0, 1.4fr) minmax(340px, .65fr); }
.admin-grid { margin-bottom: 22px; }

.info-panel, .table-card, .parking-photo-panel {
    padding: 24px;
}

.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.panel-head h2 { margin: 0; }
.panel-head .kicker { margin-bottom: 5px; }
.panel-head a { color: var(--blue); font-size: 13px; }

.success { color: var(--green); }
.warning { color: var(--orange); }

.event-feed {
    display: grid;
    gap: 18px;
}

.event {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
}

.event i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px rgba(53,208,127,.6);
}

.event.out i {
    background: var(--red);
    box-shadow: 0 0 12px rgba(255,98,98,.55);
}

.event span, .event time {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.admin-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    overflow-x: auto;
}

.admin-tabs a {
    padding: 9px 13px;
    white-space: nowrap;
}

.parking-photo-panel img {
    display: block;
    width: 100%;
    max-height: 620px;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--subtle-bg);
}

.carousel-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.carousel-dots {
    display: flex;
    gap: 6px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--subtle-bg);
}

.carousel-dots button,
.carousel-arrow {
    min-height: 32px;
    padding: 6px 12px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.carousel-dots button.active {
    background: rgba(229,9,20,.13);
    color: var(--text);
}

.carousel-arrow {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    background: var(--panel-strong);
    font-size: 18px;
}

.carousel-arrow:hover {
    border-color: rgba(229,9,20,.36);
    color: var(--brand-strong);
}

.parking-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.parking-carousel .carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%);
    transition: opacity .18s ease, transform .18s ease, border-color .18s ease;
}

.parking-carousel:hover .carousel-arrow,
.parking-carousel:focus-within .carousel-arrow {
    opacity: 1;
    pointer-events: auto;
}

.parking-carousel .carousel-arrow.prev {
    left: 18px;
    transform: translate(-8px, -50%);
}

.parking-carousel .carousel-arrow.next {
    right: 18px;
    transform: translate(8px, -50%);
}

.parking-carousel:hover .carousel-arrow.prev,
.parking-carousel:focus-within .carousel-arrow.prev {
    transform: translate(0, -50%);
}

.parking-carousel:hover .carousel-arrow.next,
.parking-carousel:focus-within .carousel-arrow.next {
    transform: translate(0, -50%);
}

.parking-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.parking-track::-webkit-scrollbar {
    display: none;
}

.parking-slide {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 12px;
    flex: 0 0 100%;
    min-height: clamp(390px, 62vw, 660px);
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--subtle-bg);
    scroll-snap-align: start;
}

.parking-slide.active {
    border-color: rgba(229,9,20,.28);
}

.parking-photo {
    overflow: hidden;
    border-radius: 8px;
}

.parking-photo .parking-slide {
    min-height: 0;
    overflow: hidden;
    gap: 0;
    padding: 0;
}

.parking-photo .parking-slide::after {
    position: absolute;
    inset: auto 0 0;
    height: 48%;
    background: linear-gradient(180deg, transparent, rgba(5, 7, 11, .78));
    content: "";
    pointer-events: none;
}

.parking-photo .slide-caption {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 1;
    border-color: rgba(255,255,255,.12);
    background: rgba(10, 12, 18, .76);
}

.parking-slide img {
    height: 100%;
    max-height: 620px;
}

.parking-photo .parking-slide img {
    width: 100%;
    min-height: 380px;
    max-height: none;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    border: 0;
    border-radius: 0;
}

.parking-photo .parking-empty-media {
    min-height: 360px;
    margin: 12px;
}

.parking-empty-media {
    display: grid;
    min-height: 420px;
    place-items: center;
    align-content: center;
    gap: 12px;
    padding: 36px;
    border: 1px dashed rgba(229,9,20,.36);
    border-radius: 8px;
    color: var(--muted);
    text-align: center;
}

.parking-empty-media span {
    color: var(--brand-strong);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.parking-empty-media strong {
    color: var(--text);
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 600;
}

.parking-empty-media small {
    max-width: 430px;
    font-size: 14px;
    line-height: 1.5;
}

.slide-caption span {
    color: var(--brand-strong);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.slide-caption {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-strong);
}

.slide-caption strong {
    display: block;
    margin-top: 3px;
    font-weight: 550;
}

.tariffs-section {
    margin-top: 0;
    border-color: rgba(255,255,255,.1);
    padding: 30px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.035), transparent 78%),
        rgba(17, 19, 27, .86);
}

.tariffs-section .panel-head {
    margin-bottom: 18px;
}

.tariffs-section .active-chip {
    border-color: rgba(229,9,20,.3);
    background: rgba(229,9,20,.1);
    color: var(--brand-strong);
}

.parking-cta {
    display: flex;
    justify-content: center;
    padding: 2px 0;
}

.tariff-list {
    display: grid;
    gap: 8px;
}

.tariff-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 17px 0;
    border: 1px solid var(--line);
    border-width: 0 0 1px;
    border-radius: 0;
    background: transparent;
}

.tariff-row:first-child {
    padding-top: 4px;
}

.tariff-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.tariff-row:hover {
    border-color: rgba(255,255,255,.2);
    background: transparent;
}

.product-hero:hover {
    border-color: rgba(229,9,20,.24);
}

html[data-theme="light"] .tariff-row:hover {
    border-color: rgba(30,31,38,.15);
    background: rgba(30,31,38,.045);
}

html[data-theme="light"] .tariffs-section {
    background:
        linear-gradient(180deg, rgba(30,31,38,.025), transparent 78%),
        var(--panel);
}

@media (hover: none) {
    .tariff-row:hover {
        border-color: var(--line);
        background: transparent;
    }
}

.tariff-row b {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 8px;
    background: rgba(229,9,20,.12);
    color: var(--blue);
}

.tariff-row.green b,
.tariff-row.orange b {
    background: rgba(229,9,20,.12);
    color: var(--brand-strong);
}
.tariff-row span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.35;
}

.tariff-row strong {
    color: var(--text);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.15;
}

.tariff-row em {
    color: var(--brand-strong);
    font-size: 19px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 13px 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

th {
    color: var(--faint);
    font-size: 11px;
    text-transform: uppercase;
}

td {
    color: var(--text);
    font-size: 13px;
}

.table-search {
    width: min(240px, 45%);
    min-height: 34px;
    padding: 8px 11px;
}

.blue-chip {
    border: 1px solid rgba(229,9,20,.32);
    background: rgba(229,9,20,.1);
    color: var(--blue);
}

.approval-list {
    display: grid;
    gap: 12px;
}

.approval-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(255,255,255,.035);
}

.approval-item span {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.approval-item button, .tabs-mini button {
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: rgba(255,255,255,.04);
    color: var(--muted);
    cursor: pointer;
}


.tabs-mini {
    display: flex;
    gap: 6px;
}

@media (max-width: 980px) {
    .landing-shell {
        grid-template-columns: 1fr;
    }
    .topbar {
        grid-template-columns: 1fr auto auto;
        gap: 12px 16px;
    }
    .brand {
        min-width: 0;
    }
    .nav {
        position: static;
        grid-column: 1 / -1;
        transform: none;
        justify-content: center;
        overflow-x: auto;
    }
    .profile-actions,
    .profile-pill,
    .login-pill {
        justify-self: end;
    }
    .cars-grid,
    .vehicle-hero,
    .metric-grid,
    .stat-grid,
    .detail-layout,
    .launch-grid,
    .admin-grid,
    .product-hero,
    .auth-layout,
    .registration-shell,
    .auth-progress,
    .registration-progress,
    .stat-grid.compact {
        grid-template-columns: 1fr;
    }
    .registration-aside {
        position: static;
    }
    .parking-time {
        text-align: left;
    }
    .vehicle-strip {
        grid-auto-columns: minmax(260px, 72vw);
    }
    .vehicle-strip-arrow {
        display: none;
    }
}

@media (max-width: 620px) {
    html {
        scroll-padding-top: 76px;
    }
    .grid-bg {
        display: none;
    }
    .topbar {
        grid-template-columns: minmax(0, 1fr) auto auto;
        grid-template-areas:
            "brand menu action";
        gap: 7px;
        min-height: 0;
        padding: 9px 10px;
        background: var(--topbar-bg);
    }
    .brand {
        grid-area: brand;
        gap: 8px;
        min-width: 0;
        min-height: 46px;
    }
    .logo-icon {
        width: 44px;
        height: 32px;
        border-radius: 8px;
        flex: 0 0 44px;
    }
    .logo-icon svg {
        width: 44px;
        height: 32px;
    }
    .topbar .logo-copy {
        min-width: 0;
    }
    .topbar .logo-copy strong {
        display: block;
        overflow: hidden;
        font-size: 16px;
        line-height: .95;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .topbar .logo-copy small {
        display: block;
        overflow: hidden;
        margin-top: 2px;
        font-size: 9px;
        letter-spacing: .08em;
        line-height: 1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .topbar .logo-copy em {
        display: block;
        max-width: min(176px, 45vw);
        margin-top: 2px;
        font-size: 10px;
        line-height: 1.1;
    }
    .nav {
        grid-area: nav;
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 15px;
        width: 168px;
        transform: none;
        grid-template-columns: 1fr;
        gap: 3px;
        justify-content: stretch;
        padding: 5px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--panel-strong);
        box-shadow: 0 14px 36px rgba(0,0,0,.34);
    }
    .topbar.menu-open .nav {
        display: grid;
    }
    .nav a {
        display: flex;
        min-height: 34px;
        align-items: center;
        justify-content: flex-start;
        padding: 7px 10px;
        border-radius: 8px;
        color: var(--muted);
        font-size: 13px;
        font-weight: 550;
        text-align: left;
    }
    .nav a::before {
        content: none;
    }
    .nav a:hover,
    .nav a:focus-visible {
        background: rgba(229,9,20,.1);
        color: var(--text);
    }
    .menu-toggle {
        display: flex;
        grid-area: menu;
        justify-self: end;
        width: 36px;
        height: 36px;
        transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
    }
    .header-tools {
        grid-area: action;
        gap: 5px;
    }
    .theme-toggle {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }
    .profile-actions {
        align-items: flex-end;
        gap: 6px;
        justify-self: end;
    }
    .profile-pill {
        max-width: 155px;
        padding: 5px 8px 5px 5px;
    }
    .profile-pill span,
    .login-pill b {
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
    }
    .profile-pill b {
        overflow: hidden;
        max-width: 92px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .login-pill {
        grid-area: action;
        justify-self: end;
        min-height: 36px;
        padding: 4px;
        border-color: var(--line);
        background: var(--subtle-bg);
    }
    .login-pill span {
        display: none;
    }
    .page-shell {
        width: min(100% - 16px, 1200px);
        padding: 12px 0 36px;
    }
    .auth-page .page-shell {
        width: min(100% - 16px, 720px);
        padding: 12px 0 28px;
    }
    .auth-topbar {
        width: min(100% - 20px, 720px);
        align-items: flex-start;
        padding-top: 12px;
        gap: 10px;
    }
    .auth-topbar .brand {
        max-width: calc(100% - 160px);
        gap: 10px;
    }
    .auth-topbar .logo-copy {
        min-width: 0;
    }
    .auth-topbar .logo-copy strong,
    .auth-topbar .logo-copy small {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .auth-switch {
        align-items: center;
        flex-direction: column;
        gap: 6px;
    }
    .auth-card,
    .car-card,
    .vehicle-hero,
    .info-panel,
    .table-card,
    .parking-photo-panel,
    .registration-card,
    .glass-card {
        border-radius: 8px;
        box-shadow: none;
    }
    .auth-card,
    .registration-card,
    .info-panel,
    .table-card,
    .parking-photo-panel {
        padding: 18px;
    }
    .product-hero {
        min-height: 0;
        gap: 22px;
        padding: 24px 18px 22px;
        margin-bottom: 0;
        background:
            linear-gradient(150deg, rgba(229, 9, 20, .14), transparent 48%),
            var(--panel);
    }
    .product-hero h1 {
        max-width: 330px;
        font-size: 34px;
        line-height: 1.1;
        font-weight: 700;
    }
    .hero-lead {
        margin-top: 14px;
        font-size: 16px;
        line-height: 1.5;
    }
    .hero-actions,
    .parking-cta {
        margin-top: 17px;
    }
    .hero-actions {
        gap: 9px;
    }
    .hero-secondary {
        width: 100%;
        min-height: 34px;
        padding: 3px 0;
        border-color: transparent;
        background: transparent;
        justify-content: center;
    }
    .gradient-link,
    .gradient-link.large,
    .gradient-btn {
        width: 100%;
        min-height: 52px;
        border-radius: 8px;
    }
    .tariffs-section {
        padding: 20px 18px;
        border-left-color: var(--line);
        border-radius: 8px;
    }
    .steps-section {
        padding: 16px;
    }
    .steps-section .panel-head {
        margin-bottom: 12px;
    }
    .step-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .step-row {
        min-height: 52px;
        padding: 11px 12px;
    }
    .step-row span {
        font-size: 13px;
    }
    .tariffs-section .panel-head {
        margin-bottom: 8px;
    }
    .tariffs-section .active-chip {
        font-size: 11px;
    }
    .section-title-row {
        gap: 12px;
        margin-bottom: 18px;
    }
    .section-title-row h1 {
        font-size: 38px;
    }
    .vehicle-tile {
        min-height: 170px;
        padding: 16px;
    }
    .vehicle-hero {
        gap: 18px;
        padding: 20px;
    }
    .vehicle-hero h2 {
        font-size: 34px;
    }
    .vehicle-strip {
        grid-auto-columns: minmax(238px, 82vw);
        justify-content: start;
    }
    .vehicle-ring {
        width: 68px;
        height: 68px;
    }
    .parking-time {
        text-align: left;
    }
    .form-grid,
    .intent-grid,
    .parking-info-panel,
    .section-title-row,
    .section-actions,
    .approval-item {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }
    .table-card {
        overflow-x: auto;
    }
    table {
        min-width: 640px;
    }
    .auth-proof {
        grid-template-columns: 1fr;
    }
    .code-grid,
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .category-grid,
    .zone-grid {
        gap: 8px;
    }
    .zone-map {
        padding: 8px;
        border-radius: 13px;
    }
    .zone-map-head {
        gap: 8px;
    }
    .zone-map-head > span {
        font-size: 12px;
    }
    .zone-map-controls {
        gap: 4px;
        padding: 3px;
    }
    .zone-map-controls button {
        width: 27px;
        height: 27px;
    }
    .zone-map-controls output {
        min-width: 39px;
        font-size: 11px;
    }
    .zone-map-viewport {
        height: 190px;
    }
    .zone-map-viewport img {
        width: calc(760px * var(--map-zoom));
    }
    .category-grid button,
    .zone-grid button {
        min-height: 74px;
        padding: 8px 6px;
    }
    .category-grid span,
    .zone-grid span {
        font-size: 11px;
        line-height: 1.25;
    }
    .category-grid em {
        font-size: 11px;
    }
    .registration-progress {
        display: flex;
        align-items: center;
        gap: 8px;
        max-width: 100%;
        margin: 0 0 22px;
        padding: 4px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--subtle-bg);
    }
    .registration-progress span {
        flex: 1 1 18px;
        min-width: 0;
        min-height: 5px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: color-mix(in srgb, var(--text) 13%, transparent);
        color: transparent;
        font-size: 0;
        overflow: hidden;
    }
    .registration-progress span[data-complete="true"] {
        background: linear-gradient(90deg, rgba(229,9,20,.72), rgba(255,30,43,.72));
    }
    .registration-progress span.active {
        flex: 0 0 auto;
        width: min(178px, 58vw);
        min-height: 38px;
        padding: 6px 12px 6px 7px;
        border: 1px solid rgba(229, 9, 20, .34);
        background:
            linear-gradient(90deg, rgba(229,9,20,.16), rgba(255,30,43,.1)),
            var(--subtle-bg);
        color: var(--text);
        font-size: 12px;
        font-weight: 650;
        letter-spacing: 0;
        white-space: nowrap;
        box-shadow: 0 10px 28px rgba(229,9,20,.08);
    }
    .registration-progress span b {
        display: inline-grid;
        width: 24px;
        height: 24px;
        margin-right: 7px;
        place-items: center;
        background: linear-gradient(135deg, var(--brand), var(--brand-strong));
        color: #ffffff;
        vertical-align: middle;
    }
    .registration-progress span.active b {
        box-shadow: none;
    }
    .registration-progress span:not(.active) b {
        display: none;
    }
    .flow-step {
        gap: 14px;
    }
    .flow-step h2,
    .auth-card h1 {
        font-size: 28px;
        line-height: 1.12;
    }
    .dark-form {
        gap: 14px;
        margin-top: 22px;
    }
    input {
        min-height: 54px;
        font-size: 16px;
    }
    .flow-actions,
    .flow-actions .gradient-btn,
    .flow-actions .ghost-btn {
        width: 100%;
    }
    .flow-actions {
        gap: 10px;
    }
    .intent-card {
        min-height: 0;
        padding: 15px;
    }
    .vehicle-form-row {
        padding: 14px;
    }
    .agreement-check {
        padding: 11px;
        font-size: 12px !important;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        width: min(100% - 32px, 720px);
        padding: 28px 0 26px;
    }
    .footer-contacts {
        font-size: 13px;
    }
    .footer-documents {
        grid-template-columns: 1fr;
        gap: 11px;
        padding-top: 2px;
        text-align: center;
    }
    .footer-documents a {
        font-size: 13px;
    }
    .legal-meta {
        flex-direction: column;
        gap: 6px;
    }
    .payment-summary div,
    .final-panel div {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
    .panel-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
    .carousel-controls {
        width: 100%;
        justify-content: space-between;
    }
    .carousel-dots {
        flex: 1;
    }
    .carousel-dots button {
        flex: 1;
    }
    .parking-carousel .carousel-arrow {
        display: none;
    }
    .parking-slide {
        min-height: 330px;
        padding: 10px;
    }
    .parking-photo .parking-slide {
        min-height: 0;
        padding: 0;
    }
    .parking-photo .parking-slide img {
        min-height: 230px;
        aspect-ratio: 4 / 3;
    }
    .parking-photo .slide-caption {
        right: 10px;
        bottom: 10px;
        left: 10px;
        padding: 12px;
    }
    .parking-slide img {
        max-height: 360px;
    }
    .parking-photo .parking-slide img {
        max-height: none;
    }
    .parking-empty-media {
        min-height: 280px;
        padding: 24px 16px;
    }
    .parking-photo .parking-empty-media {
        min-height: 230px;
        margin: 10px;
    }
    .slide-caption {
        padding: 12px;
    }
    .tariff-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        padding: 15px 0;
    }
    .tariff-row strong {
        font-size: 16px;
    }
    .tariff-row span {
        margin-top: 4px;
        font-size: 13px;
    }
    .tariff-row em {
        grid-column: auto;
        justify-self: end;
        font-size: 17px;
    }
    .event {
        grid-template-columns: auto 1fr;
    }
    .event time {
        grid-column: 2;
    }
}

@media (max-width: 380px) {
    .topbar {
        gap: 6px;
        padding-inline: 8px;
    }
    .brand {
        gap: 7px;
    }
    .logo-icon,
    .logo-icon svg {
        width: 40px;
        height: 29px;
    }
    .logo-icon {
        flex-basis: 40px;
    }
    .topbar .logo-copy strong {
        font-size: 15px;
    }
    .topbar .logo-copy em {
        max-width: 128px;
    }
}

html[data-theme="light"] .topbar,
html[data-theme="light"] .auth-topbar,
html[data-theme="light"] .site-footer {
    color: var(--text);
}

html[data-theme="light"] .car-art img,
html[data-theme="light"] .vehicle-tile img {
    filter: none;
}

html[data-theme="light"] .category-grid button,
html[data-theme="light"] .zone-grid button,
html[data-theme="light"] .intent-card,
html[data-theme="light"] .vehicle-form-row,
html[data-theme="light"] .registration-summary div,
html[data-theme="light"] .payment-summary div,
html[data-theme="light"] .final-panel div,
html[data-theme="light"] .auth-mode,
html[data-theme="light"] .auth-progress span,
html[data-theme="light"] .agreement-check,
html[data-theme="light"] .anti-theft-control,
html[data-theme="light"] .approval-item,
html[data-theme="light"] .approval-item button,
html[data-theme="light"] .tabs-mini button {
    background: var(--subtle-bg);
}

html[data-theme="light"] .form-errors {
    color: #9f111b;
}

html[data-theme="light"] .form-notice {
    color: #087568;
}
