* {
    box-sizing: border-box;
}

:root {
    --bg: #edf2f7;
    --ink: #132033;
    --muted: #5c6c82;
    --surface: #ffffff;
    --surface-soft: #f6f8fb;
    --line: #dbe2ea;
    --brand: #0f7bff;
    --brand-deep: #0b1730;
    --success: #10663b;
    --success-bg: #e6f8ee;
    --danger: #8f2020;
    --danger-bg: #fdeaea;
    --shadow: 0 18px 50px rgba(18, 36, 60, 0.08);
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, sans-serif;
    background: radial-gradient(circle at top left, #ffffff 0%, #edf2f7 45%, #e4ebf4 100%);
    color: var(--ink);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.app-body {
    min-height: 100vh;
}

.app-shell {
    min-height: 100vh;
    transition: transform 0.28s ease;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(7, 17, 32, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.menu-toggle,
.menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
}

.menu-toggle {
    flex-direction: column;
    gap: 4px;
}

.brand {
    font-size: 1.18rem;
    font-weight: 700;
    color: #ffffff;
}

.topbar-context {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 0;
}

.panel-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(15, 123, 255, 0.16);
    color: #9ec8ff;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.panel-context-copy {
    min-width: 0;
}

.panel-context-copy strong,
.panel-context-copy small {
    display: block;
    color: #ffffff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.panel-context-copy small {
    color: #aab8cb;
    margin-top: 3px;
}

.topbar-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-weight: 600;
}

.app-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 40;
    width: min(360px, 92vw);
    height: 100vh;
    background: linear-gradient(180deg, #0b1730 0%, #0f2447 100%);
    color: #ffffff;
    transform: translateX(-104%);
    transition: transform 0.32s ease;
    box-shadow: 24px 0 70px rgba(4, 11, 24, 0.4);
    display: flex;
    flex-direction: column;
}

.app-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-kicker {
    display: block;
    color: #8ebcff;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.app-sidebar-body {
    flex: 1;
    min-height: 0;
    padding: 18px 12px 34px 18px;
    display: grid;
    gap: 18px;
    align-content: start;
    overflow-y: auto;
    scroll-padding-bottom: 48px;
    scrollbar-width: thin;
    scrollbar-color: rgba(142, 188, 255, 0.38) rgba(255, 255, 255, 0.04);
}

.sidebar-profile {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
}

.sidebar-profile p {
    margin: 4px 0 0;
    color: #aab8cb;
    font-size: 0.92rem;
}

.sidebar-avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(15, 123, 255, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.sidebar-nav {
    display: grid;
    gap: 8px;
    padding-bottom: 32px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 0 14px;
    border-radius: 14px;
    color: #d6e2f2;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.sidebar-link:hover,
.sidebar-link.is-active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateX(3px);
}

.app-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 17, 32, 0.48);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
    z-index: 30;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open .app-sidebar {
    transform: translateX(0);
}

body.menu-open .app-drawer-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.page {
    padding: 28px 0 48px;
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 24px;
    align-items: stretch;
    padding: 42px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #d6f5e6;
    color: #0d6b45;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}

.hero h1,
.page-head h1,
.card h2,
.form-card h1,
.auth-split-copy h1 {
    margin: 0 0 12px;
}

.hero h1,
.auth-split-copy h1 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.03;
    max-width: 12ch;
}

.hero p,
.page-head p,
.card p,
.card small,
.auth-split-copy p {
    color: var(--muted);
    line-height: 1.6;
}

.actions,
.camera-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

.btn-primary {
    background: var(--brand);
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 123, 255, 0.22);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.18);
}

.card,
.stat-card,
.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.check-list {
    margin: 0;
    padding-left: 18px;
    line-height: 1.8;
}

.auth-shell {
    max-width: 1120px;
    margin: 10px auto 0;
}

.auth-split {
    display: grid;
    grid-template-columns: 1fr minmax(360px, 440px);
    gap: 22px;
    align-items: stretch;
}

.auth-split-copy,
.form-card,
.compact-stack {
    display: grid;
    gap: 16px;
}

.auth-split-copy {
    background: linear-gradient(135deg, #ffffff 0%, #f6f9fc 100%);
}

label {
    display: grid;
    gap: 8px;
    font-weight: 700;
}

input,
select,
textarea,
button {
    font: inherit;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cfd7e1;
    border-radius: 14px;
    background: #fbfcfe;
}

textarea {
    resize: vertical;
}

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

.page-head-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.panel-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: #e9f2ff;
    color: #0f5cb8;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stats-grid,
.grid-two,
.grid-three {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

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

.stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 20px;
}

.stat-card span {
    display: block;
    color: #607087;
    margin-bottom: 10px;
}

.stat-card strong {
    font-size: 1.8rem;
}

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

.table th,
.table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e6ebf1;
    text-align: left;
    vertical-align: top;
}

.table th {
    color: #5c6c82;
    font-size: 0.92rem;
}

.alert {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 20px;
}

.alert-success {
    background: var(--success-bg);
    color: var(--success);
}

.alert-error {
    background: var(--danger-bg);
    color: var(--danger);
}

.alert-info {
    background: #eaf3ff;
    color: #17305c;
    border: 1px solid #c8d8f2;
}

.inline-form {
    display: grid;
    grid-template-columns: 1.3fr repeat(4, 1fr) auto;
    gap: 8px;
    margin-bottom: 10px;
}

.inline-form-compact {
    grid-template-columns: 1fr auto;
    align-items: center;
}

.camera-shell {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px dashed #c7d3e1;
    border-radius: 16px;
    background: #f7fbff;
}

.camera-video,
.camera-preview {
    width: 100%;
    min-height: 220px;
    object-fit: cover;
    border-radius: 16px;
    background: #0e1f36;
}

.ticket-preview {
    display: grid;
    gap: 20px;
}

.ticket-qr {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 190px;
    padding: 26px;
    border-radius: 16px;
    background: #f6f8fb;
}

.ticket-meta p {
    margin: 0 0 8px;
}

.quick-grid {
    display: grid;
    gap: 14px;
}

.quick-link {
    display: grid;
    gap: 6px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--surface-soft);
}

.quick-link strong {
    font-size: 1.02rem;
}

.quick-link span {
    color: var(--muted);
    font-size: 0.94rem;
}

.admin-dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    gap: 24px;
    padding: 30px;
    margin-bottom: 26px;
    border-radius: 28px;
    border: 1px solid rgba(12, 40, 78, 0.08);
    background: linear-gradient(135deg, #0f2341 0%, #1b5fa7 52%, #2ac7c9 100%);
    color: #f7fbff;
    box-shadow: 0 28px 48px rgba(12, 36, 68, 0.18);
}

.admin-dashboard-hero-copy {
    display: grid;
    gap: 14px;
    align-content: center;
}

.admin-dashboard-hero-copy h2 {
    margin: 0;
    font-size: clamp(1.9rem, 2.6vw, 2.8rem);
    line-height: 1.06;
    color: #ffffff;
}

.admin-dashboard-hero-copy p {
    margin: 0;
    max-width: 56ch;
    font-size: 1rem;
    color: rgba(247, 251, 255, 0.84);
}

.admin-hero-tag {
    width: fit-content;
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.admin-dashboard-hero-side {
    display: grid;
    gap: 16px;
    align-content: center;
}

.admin-mini-stat {
    padding: 22px 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
}

.admin-mini-stat strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.9rem;
    color: #ffffff;
}

.admin-mini-stat span {
    display: block;
    color: rgba(247, 251, 255, 0.84);
}

.admin-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 28px;
}

.admin-stat-card {
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    min-height: 176px;
    padding: 24px;
}

.admin-stat-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 7px;
    border-radius: 22px 0 0 22px;
    background: rgba(11, 36, 70, 0.18);
}

.admin-stat-card span,
.admin-stat-card strong,
.admin-stat-card .metric-note {
    position: relative;
    z-index: 1;
}

.admin-stat-card span {
    margin-bottom: 12px;
    font-weight: 700;
    color: #27425e;
}

.admin-stat-card strong {
    font-size: 2rem;
    color: #13263f;
}

.admin-stat-card .metric-note {
    display: inline-flex;
    margin-top: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #26415d;
    background: rgba(255, 255, 255, 0.58);
}

.stat-sky {
    background: linear-gradient(180deg, #edf7ff 0%, #d8ebff 100%);
    border-color: #c6defb;
}

.stat-sky::before {
    background: #3193ff;
}

.stat-indigo {
    background: linear-gradient(180deg, #f2f1ff 0%, #e1ddff 100%);
    border-color: #d5cdfd;
}

.stat-indigo::before {
    background: #6857ff;
}

.stat-emerald {
    background: linear-gradient(180deg, #effef6 0%, #d8f8e6 100%);
    border-color: #c0efda;
}

.stat-emerald::before {
    background: #18a76c;
}

.stat-gold {
    background: linear-gradient(180deg, #fff8e7 0%, #ffefbf 100%);
    border-color: #f7dda2;
}

.stat-gold::before {
    background: #d88b14;
}

.stat-cyan {
    background: linear-gradient(180deg, #ebfbff 0%, #d7f5fc 100%);
    border-color: #bceaf4;
}

.stat-cyan::before {
    background: #12a2c0;
}

.stat-rose {
    background: linear-gradient(180deg, #fff1f4 0%, #ffdce5 100%);
    border-color: #f5cad7;
}

.stat-rose::before {
    background: #d34f7b;
}

.admin-recent-card {
    padding-top: 24px;
}

.admin-section-row {
    align-items: end;
    margin-bottom: 14px;
}

code {
    padding: 2px 6px;
    background: #f3f6fa;
    border-radius: 6px;
}

@media (max-width: 900px) {
    .topbar-inner,
    .hero,
    .auth-split,
    .grid-two,
    .grid-three,
    .stats-grid,
    .page-head {
        grid-template-columns: 1fr;
        display: grid;
    }

    .topbar-context {
        justify-content: flex-start;
    }

    .topbar-logout {
        display: none;
    }

    .page-head {
        align-items: start;
    }

    .page-head-actions {
        width: 100%;
    }

    .inline-form,
    .inline-form-compact {
        grid-template-columns: 1fr;
    }

    .app-sidebar {
        width: 100vw;
        max-width: 100vw;
        border-radius: 0;
    }
}

.landing-body {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.96) 0%, rgba(236, 242, 248, 0.92) 34%, rgba(225, 234, 244, 0.95) 100%),
        linear-gradient(135deg, #f4f7fb 0%, #e7eef6 100%);
}

.marketing-nav {
    position: sticky;
    top: 0;
    z-index: 25;
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: none;
}

.marketing-nav-inner,
.marketing-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0;
}

.marketing-brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: #ffffff;
    text-decoration: none;
}



.marketing-brand-logo {
    display: inline-flex;
    align-items: center;
    height: 44px;
}

.marketing-brand-logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
}


.marketing-nav-links,
.marketing-nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.marketing-nav-links a {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--muted);
    font-weight: 600;
}

.marketing-nav-links a:hover {
    color: var(--brand-deep);
    background: rgba(15, 123, 255, 0.08);
}

.marketing-main {
    padding: 24px 0 56px;
}

.marketing-hero {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 28px;
    align-items: stretch;
    padding: 34px 0 14px;
}

.marketing-copy,
.marketing-stage,
.marketing-band,
.flow-card,
.cta-band {
    border: 1px solid rgba(19, 32, 51, 0.08);
    box-shadow: var(--shadow);
}

.marketing-copy {
    padding: 34px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 249, 253, 0.94) 100%);
}

.marketing-copy h1 {
    margin: 0 0 16px;
    font-size: clamp(2.5rem, 5vw, 4.9rem);
    line-height: 1.02;
    max-width: 11ch;
}

.marketing-lead {
    max-width: 60ch;
    font-size: 1.05rem;
    color: var(--muted);
}

.marketing-actions {
    margin: 28px 0 0;
}

.marketing-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.kpi-tile {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 22px;
    background: var(--surface);
    border: 1px solid rgba(15, 123, 255, 0.08);
}

.kpi-tile strong {
    font-size: 1.3rem;
    color: var(--brand-deep);
}

.kpi-tile span {
    color: var(--muted);
    line-height: 1.5;
}

.marketing-stage {
    display: grid;
    gap: 16px;
    padding: 24px;
    border-radius: 32px;
    background: linear-gradient(160deg, #132033 0%, #0f2f57 100%);
    color: #ffffff;
}

.stage-card {
    display: grid;
    gap: 10px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.stage-card-primary {
    padding: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.08) 100%);
}

.stage-card h2,
.stage-card p,
.stage-card span,
.stage-card strong,
.stage-kicker {
    color: inherit;
}

.stage-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(184, 214, 255, 0.86);
}

.stage-grid,
.feature-grid,
.marketing-flow {
    display: grid;
    gap: 18px;
}

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

.marketing-band,
.marketing-flow,
.marketing-cta {
    margin-top: 24px;
}

.marketing-band {
    padding: 28px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.88);
}

.marketing-band-copy {
    margin-bottom: 20px;
}

.marketing-band-copy h2,
.flow-card h2,
.cta-band h2 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.04;
}

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

.feature-card,
.flow-card {
    padding: 24px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.92);
}

.feature-card strong,
.flow-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.06rem;
}

.feature-card p,
.flow-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.flow-list {
    margin: 18px 0 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.9;
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px;
    border-radius: 32px;
    background: linear-gradient(135deg, #0b1730 0%, #154a88 100%);
    color: #ffffff;
}

.cta-band p,
.cta-band .eyebrow,
.cta-band h2 {
    color: inherit;
}

.marketing-footer {
    border-top: 1px solid rgba(19, 32, 51, 0.08);
    background: rgba(255, 255, 255, 0.72);
}

.marketing-footer-inner {
    color: var(--muted);
}

@media (max-width: 900px) {
    .marketing-hero,
    .stage-grid,
    .feature-grid,
    .marketing-flow,
    .marketing-kpis,
    .cta-band {
        grid-template-columns: 1fr;
        display: grid;
    }

    .marketing-nav-inner,
    .marketing-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .marketing-nav-links,
    .marketing-nav-actions {
        flex-wrap: wrap;
    }

    .marketing-copy,
    .marketing-stage,
    .marketing-band,
    .flow-card,
    .cta-band {
        padding: 22px;
        border-radius: 24px;
    }

    .marketing-copy h1 {
        max-width: 100%;
    }
}
.guest-topbar-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.guest-topbar-link,
.topbar-guest-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 700;
}

.guest-topbar-link {
    color: #d6dfeb;
}

.guest-topbar-link.is-active,
.guest-topbar-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.topbar-guest-cta {
    background: #0f7bff;
    color: #ffffff;
    box-shadow: 0 16px 28px rgba(15, 123, 255, 0.22);
}

.area-guest .topbar-inner {
    grid-template-columns: auto 1fr auto;
}

.auth-shell {
    max-width: 1180px;
    margin: 24px auto 0;
}

.auth-split {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 470px);
    gap: 28px;
}

.auth-split-copy,
.auth-split .form-card {
    align-content: start;
}

.auth-split-copy {
    padding: 30px;
}

.auth-split-copy h1 {
    font-size: clamp(2.3rem, 4vw, 4.5rem);
    line-height: 0.98;
    max-width: 9ch;
}

.auth-split .form-card {
    padding: 30px;
}

.auth-split .form-card h1 {
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.02;
    margin-bottom: 6px;
}

.auth-form-note {
    margin: -4px 0 6px;
    color: var(--muted);
    line-height: 1.6;
}

.auth-mini-card {
    display: grid;
    gap: 6px;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.7);
}

.auth-mini-card strong {
    font-size: 1.05rem;
}

.auth-mini-card span {
    color: var(--muted);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .guest-topbar-nav {
        display: none;
    }

    .topbar-guest-cta {
        display: none;
    }

    .auth-shell {
        margin-top: 18px;
    }

    .auth-split .form-card,
    .auth-split-copy {
        padding: 22px;
    }

    .auth-split-copy h1 {
        max-width: 100%;
    }
}
.no-topbar .page-standalone {
    padding-top: 40px;
}

.no-topbar .auth-shell {
    margin-top: 0;
}
.btn-warning {
    background: #fff4db;
    color: #8a5800;
    border-color: #f0d08d;
}

.btn-danger {
    background: #fff0f0;
    color: #9b1f1f;
    border-color: #f0b7b7;
}

.btn-small {
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
}

.search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    margin-bottom: 18px;
}

.card-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.results-copy,
.table-subline {
    color: var(--muted);
    font-size: 0.92rem;
}

.table-subline {
    margin-top: 4px;
}

.table-wrap {
    overflow-x: auto;
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.inline-danger-form {
    margin: 0;
}

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

.compact-table th,
.compact-table td {
    padding-top: 10px;
    padding-bottom: 10px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.status-trial {
    background: #eef5ff;
    color: #0f5cb8;
}

.status-active,
.status-approved,
.status-paid {
    background: #e8f8ee;
    color: #0f6b3a;
}

.status-suspended,
.status-cancelled,
.status-expired,
.status-inactive {
    background: #fff0f0;
    color: #9b1f1f;
}

.admin-grid-top {
    align-items: start;
}

.modal-open {
    overflow: hidden;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(7, 17, 32, 0.55);
}

.modal[hidden] {
    display: none;
}

.modal-card {
    width: min(720px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(10, 22, 38, 0.24);
}

.modal-card-wide {
    width: min(980px, 100%);
}

.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px 16px;
    border-bottom: 1px solid #e8edf3;
}

.modal-head h2 {
    margin: 0;
}

.modal-close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: #f3f6fa;
    color: var(--ink);
    font-size: 1.3rem;
    cursor: pointer;
}

.modal-body {
    padding: 22px 24px 24px;
}

.stack-form {
    display: grid;
    gap: 18px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

@media (max-width: 900px) {
    .search-form,
    .compact-grid,
    .table-actions,
    .card-toolbar,
    .modal-actions {
        grid-template-columns: 1fr;
        display: grid;
    }

    .modal {
        padding: 12px;
    }

    .modal-card,
    .modal-card-wide {
        width: 100%;
        max-height: calc(100vh - 24px);
        border-radius: 20px;
    }
}
.topbar-inner-admin {
    grid-template-columns: auto 1fr auto;
}

.topbar-admin-spacer {
    min-height: 1px;
}

.simple-page-head {
    margin-bottom: 18px;
}

.simple-page-head h1 {
    margin-bottom: 6px;
}

.admin-form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-actions-line {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.list-card-block {
    margin-top: 18px;
}

.search-form-inline {
    margin-bottom: 0;
    min-width: min(460px, 100%);
}

.toggle-field {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.toggle-field input {
    width: 20px;
    height: 20px;
}

.category-billing-mode {
    display: grid;
    gap: 10px;
}

.category-billing-mode > span {
    font-weight: 700;
}

.category-billing-options {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
}

.category-billing-option {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid #cfd7e1;
    border-radius: 14px;
    background: #fbfcfe;
    font-weight: 700;
}

.category-billing-option span {
    font-weight: 700;
}

.category-billing-option input {
    width: auto;
    margin: 0;
    flex: 0 0 auto;
}

.park-list-card .btn-secondary,
.modal-actions .btn-secondary,
.search-form-inline .btn-secondary,
.table-actions .btn-secondary {
    background: #eef5ff;
    color: #123b70;
    border-color: #c9d8ec;
}

.category-page-lead,
.category-helper-text,
.category-modal-subtitle {
    margin: 0;
    color: var(--muted);
}

.category-billing-badge {
    text-transform: none;
    letter-spacing: 0.01em;
}

.category-billing-badge-full {
    background: #eef5ff;
    color: #0f5cb8;
}

.category-billing-badge-fraction {
    background: #e8fbef;
    color: #117a4b;
}

@media (max-width: 900px) {
    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .form-actions-line {
        justify-content: stretch;
    }

    .search-form-inline {
        min-width: 100%;
    }
}
.page .container > * + * {
    margin-top: 28px;
}

.simple-page-head {
    margin-bottom: 0;
    padding: 2px 4px;
}

.simple-page-head h1 {
    margin: 0;
}

.simple-page-head p {
    display: none;
}

.metric-note {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.92rem;
}

.dashboard-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

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

.empty-state {
    display: grid;
    gap: 8px;
    padding: 22px;
    border: 1px dashed var(--line);
    border-radius: 18px;
    background: var(--surface-soft);
    color: var(--muted);
    text-align: center;
}


.billing-shell {
    max-width: 1040px;
    margin: 0 auto;
}

.billing-single-card {
    display: grid;
    gap: 28px;
    padding: 30px;
}

.billing-single-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.billing-single-head h1 {
    margin: 0 0 10px;
}

.billing-test-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff2cf;
    color: #9b6600;
    font-weight: 800;
    white-space: nowrap;
}

.billing-summary-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 24px;
    align-items: start;
}

.billing-summary-block,
.billing-action-box,
.billing-status {
    display: grid;
    gap: 18px;
}

.billing-action-box {
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(17, 74, 142, 0.12);
    background: linear-gradient(180deg, #eef6ff 0%, #dfefff 100%);
}

.billing-inline-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(21, 113, 229, 0.12);
    color: #0f5cb8;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.billing-action-box strong {
    font-size: 1.3rem;
    color: #12263f;
}

.billing-action-box p,
.billing-modal-note {
    margin: 0;
}

.billing-open-button {
    min-height: 54px;
}

.billing-support-grid {
    margin-top: 2px;
}

.compact-empty-state {
    padding: 18px;
}

.billing-muted {
    color: var(--muted);
}

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

.billing-info-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-soft);
}

.billing-info-line strong,
.billing-info-line span {
    margin: 0;
}

.billing-modal-card {
    width: min(1100px, 100%);
}

.billing-modal-body {
    display: grid;
    gap: 18px;
}

.billing-loading {
    display: grid;
    place-items: center;
    min-height: 80px;
    padding: 18px;
    border: 1px dashed #c9d8ea;
    border-radius: 18px;
    background: #f8fbff;
    color: #54708d;
    text-align: center;
}

#billing-brick {
    min-height: 360px;
}

#statusScreenBrick_container {
    min-height: 300px;
}

@media (max-width: 900px) {
    .dashboard-actions,
    .billing-summary-grid,
    .billing-single-head {
        grid-template-columns: 1fr;
        display: grid;
    }

    .billing-single-card {
        padding: 22px;
    }

    .billing-info-line {
        align-items: flex-start;
        flex-direction: column;
    }
}
@media (max-width: 1100px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .admin-dashboard-hero,
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-dashboard-hero {
        padding: 24px;
    }

    .admin-dashboard-hero-side {
        grid-template-columns: 1fr;
    }
}
.billing-debug-box {
    margin: 0 0 1rem;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: #0f172a;
    color: #e2e8f0;
    font-size: 0.82rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-x: auto;
}


.topbar-park-spacer {
    min-height: 1px;
}

.status-warning {
    background: #fff7e0;
    color: #9a6400;
}

.is-disabled {
    pointer-events: none;
    opacity: 0.7;
}

.park-dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) auto;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
    padding: 28px;
    border: 0;
    background: linear-gradient(135deg, #11203c 0%, #0f7bff 52%, #55c7ff 100%);
}

.park-dashboard-hero-single {
    grid-template-columns: 1fr;
}

.park-dashboard-hero-copy {
    display: grid;
    gap: 12px;
}

.park-dashboard-hero-copy h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    line-height: 1.04;
}

.park-dashboard-hero-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.park-hero-actions {
    display: grid;
    gap: 12px;
}

.operation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.operation-card {
    display: grid;
    gap: 12px;
    min-height: 260px;
    padding: 28px;
    border-radius: 28px;
    color: #ffffff;
    box-shadow: 0 24px 48px rgba(18, 36, 60, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.operation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 58px rgba(18, 36, 60, 0.22);
}

.operation-card-entry {
    background: linear-gradient(135deg, #0f7bff 0%, #49b5ff 100%);
}

.operation-card-exit {
    background: linear-gradient(135deg, #0f2341 0%, #195d9d 100%);
}

.operation-card-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.operation-card strong {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.operation-card p {
    margin: 0;
    max-width: 28ch;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.65;
}

.park-metric-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

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

.compact-metrics-grid {
    margin-top: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.park-metric-card {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 8px;
    padding: 22px;
    border-radius: 24px;
    color: #11203c;
    box-shadow: 0 18px 40px rgba(18, 36, 60, 0.08);
}

.park-metric-card span,
.park-metric-card small {
    position: relative;
    z-index: 1;
}

.park-metric-card strong {
    position: relative;
    z-index: 1;
    font-size: 1.8rem;
    line-height: 1;
}

.park-metric-card::after {
    content: '';
    position: absolute;
    inset: auto -28px -38px auto;
    width: 110px;
    height: 110px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.26);
}

.tone-blue {
    background: linear-gradient(135deg, #dfefff 0%, #b7d4ff 100%);
}

.tone-cyan {
    background: linear-gradient(135deg, #d9fbff 0%, #a9eef8 100%);
}

.tone-emerald {
    background: linear-gradient(135deg, #dff9ea 0%, #b5efca 100%);
}

.tone-amber {
    background: linear-gradient(135deg, #fff2d9 0%, #ffdca6 100%);
}

.tone-rose {
    background: linear-gradient(135deg, #ffe3eb 0%, #ffc3d5 100%);
}

.tone-indigo {
    background: linear-gradient(135deg, #ece8ff 0%, #d2c9ff 100%);
}

.park-dashboard-grid,
.park-dashboard-actions {
    margin-top: 0;
}

.park-section-card,
.park-list-card,
.park-form-block,
.ticket-inline-card {
    margin-top: 22px;
}

.park-due-list {
    display: grid;
    gap: 14px;
}

.park-due-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid #e4ebf3;
    border-radius: 18px;
    background: #fbfdff;
}

.entry-single-card {
    margin-top: 18px;
}

.entry-single-card .camera-shell {
    margin-bottom: 10px;
}

.park-admin-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
    .park-dashboard-hero,
    .park-metrics-grid,
    .compact-metrics-grid,
    .park-admin-grid,
    .operation-grid {
        grid-template-columns: 1fr;
    }

    .park-due-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .park-hero-actions {
        grid-template-columns: 1fr;
    }
}

.app-sidebar-body::-webkit-scrollbar {
    width: 10px;
}

.app-sidebar-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.app-sidebar-body::-webkit-scrollbar-thumb {
    background: rgba(142, 188, 255, 0.38);
    border-radius: 999px;
    border: 2px solid rgba(15, 36, 71, 0.86);
}

.feedback-modal-card {
    width: min(460px, 100%);
}

.feedback-modal-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2157a5;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.qr-modal-card {
    width: min(760px, 100%);
}

.qr-modal-body {
    display: grid;
    gap: 16px;
    padding: 24px;
}

.qr-scanner-video {
    display: block;
    width: 100%;
    min-height: 320px;
    max-height: 56vh;
    border-radius: 22px;
    object-fit: cover;
    background: linear-gradient(135deg, #0f1f3b 0%, #162b4f 100%);
}

.qr-scanner-status {
    padding: 14px 16px;
    border-radius: 16px;
    background: #f4f7fb;
    color: #42526b;
    line-height: 1.5;
}

.modal-open .topbar {
    top: 0;
}

@media (max-width: 900px) {
    .app-sidebar-body {
        padding-right: 10px;
    }

    .qr-scanner-video {
        min-height: 280px;
    }
}
.fee-breakdown-note {
    margin-top: -2px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f4f8ff;
    color: #23436f;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .app-sidebar-body {
        padding-bottom: calc(110px + env(safe-area-inset-bottom));
    }

    .sidebar-nav {
        padding-bottom: 56px;
    }
}
/* auth-shell-login-fix */
@media (max-width: 900px) {
    .auth-shell {
        width: min(100%, calc(100% - 24px));
        margin: 16px auto 0;
    }

    .auth-split {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px;
        align-items: start;
    }

    .auth-split > * {
        min-width: 0;
    }

    .auth-split .form-card {
        order: 1;
        width: 100%;
        padding: 22px;
    }

    .auth-split-copy {
        order: 2;
        width: 100%;
        padding: 20px;
        overflow: hidden;
    }

    .auth-split-copy h1,
    .auth-split .form-card h1 {
        max-width: 100%;
        font-size: clamp(1.95rem, 8vw, 2.6rem);
        line-height: 1.02;
    }

    .auth-form-note,
    .auth-split-copy p {
        font-size: 1.02rem;
    }

    .quick-grid {
        gap: 12px;
    }

    .quick-link,
    .auth-mini-card {
        padding: 16px;
        border-radius: 18px;
    }
}
.guest-topbar-nav-back {
    justify-content: flex-start;
}

.guest-topbar-back {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding-inline: 16px;
}

.guest-topbar-back:hover {
    background: rgba(255, 255, 255, 0.14);
}

.marketing-nav-inner {
    justify-content: space-between;
}
.auth-inline-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: -4px;
}

.auth-text-link {
    color: var(--brand);
    font-weight: 700;
}

.auth-text-link:hover {
    text-decoration: underline;
}

.public-auth-nav {
    position: sticky;
    top: 0;
}

.page-public-auth {
    padding-top: 18px;
}
.pwa-install-button {
    display: none;
}

.pwa-install-button.is-visible {
    display: inline-flex;
}

.public-auth-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 720px) {
    .public-auth-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .public-auth-actions .btn,
    .public-auth-actions .pwa-install-button {
        flex: 1 1 auto;
        justify-content: center;
    }
}
.feedback-modal-badge-success {
    background: #e7f7ef;
    color: #0f8f53;
}

.exit-result-modal-card {
    width: min(480px, 100%);
}

.exit-result-body {
    display: grid;
    gap: 12px;
}
.password-field {
    position: relative;
    display: flex;
    align-items: center;
}

.password-field input {
    padding-right: 56px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 6px;
    color: #5b6780;
}
.auth-shell-single {
    display: block;
}

.auth-login-card {
    max-width: 540px;
    margin: 0 auto;
}

.auth-login-links {
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .auth-login-card {
        max-width: none;
    }
}
.auth-submit-button {
    width: 100%;
    justify-content: center;
    min-height: 54px;
    border-radius: 16px;
}

.auth-install-button {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    border-radius: 16px;
    margin-top: 12px;
}

.auth-install-button.is-visible {
    display: inline-flex;
}

.brand-with-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
}

.brand-logo img {
    display: block;
    height: 28px;
    width: auto;
    object-fit: contain;
}

.sidebar-head-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.sidebar-head-brand-simple strong {
    font-size: 1.9rem;
    line-height: 1;
}

.sidebar-head-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sidebar-head-logo img {
    display: block;
    width: 42px;
    height: auto;
    object-fit: contain;
}

.page-head-actions .btn-secondary {
    background: var(--brand) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 12px 26px rgba(15, 123, 255, 0.24) !important;
}

.page-head-actions .btn-secondary:hover {
    background: #0f5cb8 !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 14px 30px rgba(15, 92, 184, 0.32) !important;
}

.area-admin .topbar .container,
.area-park .topbar .container {
    width: 100%;
    max-width: none;
    padding-inline: 14px;
    box-sizing: border-box;
}

.area-admin .topbar-inner,
.area-park .topbar-inner {
    gap: 12px;
}

.compact-page-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 18px;
    margin: 4px 0 22px;
    padding: 0;
}

.compact-page-head > div:first-child {
    position: relative;
    padding-left: 18px;
}

.compact-page-head > div:first-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, #0f7bff 0%, #39a0ff 100%);
    box-shadow: 0 10px 24px rgba(15, 123, 255, 0.28);
}

.compact-page-head h1 {
    margin: 0;
    font-size: clamp(2.1rem, 4vw, 3.3rem);
    line-height: 0.95;
    letter-spacing: -0.035em;
}

.compact-page-head p {
    display: block;
    margin: 10px 0 0;
    max-width: 780px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.55;
}

.compact-page-head .page-head-actions {
    width: auto;
    justify-content: flex-end;
}

.compact-page-head .page-head-actions .btn {
    min-width: 172px;
}

@media (max-width: 900px) {
    .area-admin .topbar-inner,
    .area-park .topbar-inner {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
    }

    .area-admin .topbar-logout,
    .area-park .topbar-logout {
        display: inline-flex;
        justify-self: end;
    }

    .compact-page-head {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 14px;
    }

    .compact-page-head .page-head-actions {
        width: auto;
        justify-content: flex-end;
    }

    .compact-page-head .page-head-actions .btn {
        min-width: 0;
        white-space: nowrap;
    }

    .compact-page-head h1 {
        font-size: clamp(1.9rem, 9vw, 2.5rem);
    }

    .compact-page-head p {
        font-size: 0.95rem;
        line-height: 1.45;
    }
}

.area-admin .page-head,
.area-park .page-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 18px;
    margin: 4px 0 22px;
}

.area-admin .page-head > div:first-child,
.area-park .page-head > div:first-child {
    position: relative;
    padding-left: 18px;
}

.area-admin .page-head > div:first-child::before,
.area-park .page-head > div:first-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, #0f7bff 0%, #39a0ff 100%);
    box-shadow: 0 10px 24px rgba(15, 123, 255, 0.28);
}

.area-admin .page-head h1,
.area-park .page-head h1 {
    margin: 0;
    font-size: clamp(1.85rem, 3.2vw, 2.8rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.area-admin .page-head p,
.area-park .page-head p {
    display: block;
    margin: 10px 0 0;
    max-width: 780px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.55;
}

.area-admin .page-head .page-head-actions,
.area-park .page-head .page-head-actions {
    width: auto;
    justify-content: flex-end;
}

.area-admin .page-head .page-head-actions .btn,
.area-park .page-head .page-head-actions .btn {
    min-width: 172px;
}

@media (max-width: 900px) {
    .area-admin .page-head,
    .area-park .page-head {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 14px;
    }

    .area-admin .page-head .page-head-actions,
    .area-park .page-head .page-head-actions {
        width: auto;
        justify-content: flex-end;
    }

    .area-admin .page-head .page-head-actions .btn,
    .area-park .page-head .page-head-actions .btn {
        min-width: 0;
        white-space: nowrap;
    }

    .area-admin .page-head h1,
    .area-park .page-head h1 {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    .area-admin .page-head p,
    .area-park .page-head p {
        font-size: 0.95rem;
        line-height: 1.45;
    }
}

html,
body {
    padding: 0;
}

.area-admin,
.area-park {
    margin: 0;
    padding: 0;
}

.area-admin .app-shell,
.area-park .app-shell,
.area-admin .topbar,
.area-park .topbar {
    margin-top: 0 !important;
}

.area-admin .topbar,
.area-park .topbar {
    inset-block-start: 0;
}

.area-admin .topbar,
.area-park .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.area-admin .page,
.area-park .page {
    padding-top: 116px;
}

@media (max-width: 900px) {
    .area-admin .page,
    .area-park .page {
        padding-top: 108px;
    }
}

.camera-shell-compact {
    gap: 8px;
}

.camera-actions-compact {
    margin-top: 4px;
}

.camera-actions-single {
    justify-content: flex-start;
}

.camera-actions .btn-secondary {
    background: #ffffff;
    color: var(--ink);
    border-color: #c7d3e1;
    box-shadow: 0 8px 20px rgba(18, 36, 60, 0.08);
}

.camera-actions .btn-secondary:hover {
    background: #eef4fb;
    color: var(--ink);
    border-color: #b6c8dc;
}


