:root {
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-strong: #ffffff;
    --surface-soft: rgba(255, 250, 242, 0.78);
    --surface-soft-strong: rgba(255, 250, 242, 0.86);
    --surface-soft-muted: rgba(255, 255, 255, 0.76);
    --surface-input: rgba(255, 255, 255, 0.92);
    --ink: #122620;
    --muted: #50635d;
    --border: rgba(18, 38, 32, 0.12);
    --accent: #1f6f5f;
    --accent-contrast: #ffffff;
    --accent-soft: #d8efe5;
    --danger: #a23e2b;
    --danger-soft: #f7d9d2;
    --warn: #b87820;
    --warn-soft: #fae6bf;
    --shadow: 0 18px 40px rgba(18, 38, 32, 0.08);
}

body[data-theme="dark"] {
    --bg: #0f1316;
    --surface: #13181c;
    --surface-strong: #171d22;
    --surface-soft: rgba(22, 28, 33, 0.9);
    --surface-soft-strong: rgba(22, 28, 33, 0.94);
    --surface-soft-muted: rgba(18, 24, 29, 0.84);
    --surface-input: rgba(17, 23, 28, 0.98);
    --ink: #edf2f3;
    --muted: #9eb0ae;
    --border: rgba(255, 255, 255, 0.12);
    --accent: #e9eff0;
    --accent-contrast: #111417;
    --accent-soft: rgba(233, 239, 240, 0.14);
    --danger-soft: rgba(162, 62, 43, 0.2);
    --warn-soft: rgba(184, 120, 32, 0.2);
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

@media (prefers-color-scheme: dark) {
    body[data-theme="system"] {
        --bg: #0f1316;
        --surface: #13181c;
        --surface-strong: #171d22;
        --surface-soft: rgba(22, 28, 33, 0.9);
        --surface-soft-strong: rgba(22, 28, 33, 0.94);
        --surface-soft-muted: rgba(18, 24, 29, 0.84);
        --surface-input: rgba(17, 23, 28, 0.98);
        --ink: #edf2f3;
        --muted: #9eb0ae;
        --border: rgba(255, 255, 255, 0.12);
        --accent: #e9eff0;
        --accent-contrast: #111417;
        --accent-soft: rgba(233, 239, 240, 0.14);
        --danger-soft: rgba(162, 62, 43, 0.2);
        --warn-soft: rgba(184, 120, 32, 0.2);
        --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--bg);
}

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

button,
input,
select {
    font: inherit;
}

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

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.brand-logo {
    display: block;
    width: 12.5rem;
    height: auto;
}

.brand strong,
.hero h1,
.panel-heading h2,
.station-card h3,
.auth-copy h1,
.empty-state h1,
.subscriptions-layout h1 {
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.brand small,
.eyebrow,
.metric-label,
.hint,
.station-city,
.status-pill,
.flash {
    letter-spacing: 0.04em;
}

.auth-logo {
    display: block;
    width: min(18rem, 72%);
    height: auto;
    margin-bottom: 1rem;
}

.nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.nav-toggle {
    display: none;
    width: 3rem;
    height: 3rem;
    padding: 0;
    align-items: center;
    justify-content: center;
    gap: 0.24rem;
    flex-direction: column;
}

.nav-toggle span {
    display: block;
    width: 1.1rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

.nav a,
.ghost-button,
button {
    border-radius: 999px;
    padding: 0.8rem 1.1rem;
    border: 1px solid var(--border);
    background: var(--surface-soft);
    transition: 180ms ease;
}

.nav a.is-active,
button,
.ghost-button:hover,
.nav a:hover {
    background: var(--accent);
    color: var(--accent-contrast);
    border-color: transparent;
}

.ghost-button {
    color: var(--ink);
}

.nav-logout {
    display: inline-flex;
    gap: 0.6rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-user {
    font-size: 0.92rem;
    color: var(--muted);
}

.page {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto 3rem;
}

.route-dashboard .page {
    width: min(1560px, calc(100% - 2rem));
}

.flash {
    margin-bottom: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: var(--surface-strong);
    opacity: 1;
    transform: translateY(0);
}

.flash.is-hiding {
    opacity: 0;
    transform: translateY(-0.5rem);
}

.hero,
.dashboard-grid,
.results-grid,
.station-section,
.auth-layout,
.subscriptions-layout {
    margin-bottom: 1.5rem;
}

.hero {
    padding: 2rem 0 1rem;
}

.eyebrow {
    margin: 0 0 0.4rem;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

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

.map-panel,
.sidebar-panel,
.station-card,
.auth-card,
.summary-card,
.empty-state {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
}

.dashboard-grid-map .map-panel,
.results-grid .sidebar-panel,
.station-section {
    background: #ffffff;
}

.dashboard-grid-map .map-panel,
.results-grid .sidebar-panel,
.station-section,
.station-card {
    box-shadow: 0 18px 40px rgba(18, 38, 32, 0.05);
}

.metric-label {
    display: block;
    color: var(--muted);
    font-size: 0.75rem;
    text-transform: uppercase;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.8fr);
    gap: 1rem;
}

.dashboard-page {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(23rem, 29rem);
    grid-template-areas:
        "map list"
        "sidebar list";
    gap: 1rem;
    align-items: start;
    margin-bottom: 1.5rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.dashboard-surface {
    position: relative;
    padding: 0;
    border-radius: 1.75rem;
    background: transparent;
}

.dashboard-page .map-panel,
.dashboard-page .sidebar-panel,
.dashboard-page .station-section,
.dashboard-page .station-card,
.dashboard-page .filter-card,
.dashboard-page .membership-card,
.dashboard-page .notification-card,
.dashboard-page .inline-link,
.dashboard-page .checkbox-row,
.dashboard-page .map-search-overlay input,
.dashboard-page .map-search-suggestions,
.dashboard-page .detail-card-close {
    background: #ffffff;
}

.dashboard-page .map-panel,
.dashboard-page .sidebar-panel,
.dashboard-page .station-section,
.dashboard-page .station-card,
.dashboard-page .filter-card,
.dashboard-page .membership-card,
.dashboard-page .notification-card {
    border-color: rgba(18, 38, 32, 0.06);
    box-shadow: 0 16px 34px rgba(18, 38, 32, 0.032);
}

.dashboard-page .eyebrow,
.dashboard-page .station-city,
.dashboard-page .map-chip.available,
.dashboard-page .status-available,
.dashboard-page .station-live-live,
.dashboard-page .info-badge-accent {
    color: #18715d;
}

.dashboard-page .map-chip.available,
.dashboard-page .status-available,
.dashboard-page .station-live-live,
.dashboard-page .info-badge-accent {
    background: #e7f7ef;
}

.dashboard-page .inline-link,
.dashboard-page .ghost-button {
    background: #ffffff;
}

.dashboard-page .checkbox-row {
    border-color: rgba(18, 38, 32, 0.07);
}

.dashboard-page .map-search-overlay input {
    border-color: rgba(18, 38, 32, 0.08);
    box-shadow: 0 10px 22px rgba(18, 38, 32, 0.06);
}

.dashboard-page .map-search-suggestions {
    border-color: rgba(18, 38, 32, 0.08);
    box-shadow: 0 14px 28px rgba(18, 38, 32, 0.08);
}

.dashboard-page .map-fallback {
    background: rgba(255, 255, 255, 0.96);
}

.dashboard-page .station-map {
    border-color: rgba(18, 38, 32, 0.08);
}

.dashboard-grid-map {
    grid-template-columns: 1fr;
    margin-top: 0.5rem;
}

.dashboard-map-shell {
    grid-area: map;
    min-width: 0;
}

.dashboard-map-shell .map-panel {
    position: sticky;
    top: 1rem;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    min-height: calc(100vh - 2rem);
    padding: 1rem;
}

.dashboard-map-shell .map-frame {
    min-height: 0;
}

.dashboard-map-shell .station-map {
    height: 100%;
    min-height: 0;
}

.results-grid {
    display: grid;
    grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
    gap: 1rem;
    align-items: start;
}

.dashboard-browser {
    display: contents;
}

.dashboard-browser-body {
    display: contents;
}

.dashboard-browser .sidebar-panel {
    grid-area: sidebar;
    margin: 0;
}

.dashboard-browser .station-section {
    grid-area: list;
    margin: 0;
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 2rem);
    overflow: auto;
}

@media (min-width: 901px) {
    .route-dashboard .dashboard-browser .station-card {
        grid-template-columns: 1fr;
        grid-template-areas:
            "meta"
            "status"
            "actions";
        gap: 0.8rem;
    }

    .route-dashboard .dashboard-browser .station-status {
        text-align: left;
        justify-self: start;
    }

    .route-dashboard .dashboard-browser .station-actions {
        justify-self: start;
    }

    .route-dashboard .dashboard-browser .status-pill,
    .route-dashboard .dashboard-browser .station-live,
    .route-dashboard .dashboard-browser .info-badge {
        white-space: nowrap;
    }

    .route-dashboard .dashboard-browser .station-info-badges {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 0.15rem;
        margin-right: -0.15rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .route-dashboard .dashboard-browser .station-info-badges::-webkit-scrollbar {
        display: none;
    }

    .route-dashboard .dashboard-browser .station-info-badges > * {
        flex: 0 0 auto;
    }
}

.mobile-sheet-toggle,
.mobile-tabbar {
    display: none;
}

.filter-modal {
    display: none;
}

.panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-toggle {
    display: none;
    align-items: center;
    gap: 0.55rem;
}

.filter-toggle-count {
    display: inline-grid;
    place-items: center;
    min-width: 1.6rem;
    height: 1.6rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 78%, var(--ink) 22%);
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 700;
}

.panel-heading h2,
.subscriptions-layout h1,
.auth-copy h1,
.hero h1,
.empty-state h1 {
    margin: 0;
}

.map-panel,
.sidebar-panel,
.auth-card,
.subscriptions-layout,
.empty-state {
    padding: 1.25rem;
}

.sidebar-panel {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.map-legend {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.station-map {
    min-height: 26rem;
    border-radius: 1.25rem;
    border: 1px solid var(--border);
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(224, 238, 229, 0.82), transparent 40%),
        linear-gradient(180deg, #eef2ec, #e6ebe5);
}

.station-map .leaflet-tile {
    filter: brightness(1.06) saturate(0.82) contrast(1.02);
}

.station-map .leaflet-control-zoom a,
.station-map .leaflet-control-attribution,
.station-map .leaflet-popup-content-wrapper,
.station-map .leaflet-popup-tip {
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(18, 38, 32, 0.08);
    box-shadow: 0 14px 28px rgba(18, 38, 32, 0.08);
}

.station-map .leaflet-control-zoom {
    border: 0;
    box-shadow: none;
}

.station-map .leaflet-control-zoom a {
    width: 2.45rem;
    height: 2.45rem;
    font-weight: 700;
}

.station-map .leaflet-control-zoom a:hover,
.station-map .leaflet-control-zoom a:focus-visible {
    background: rgba(232, 240, 234, 0.96);
}

.map-frame {
    position: relative;
}

.map-search-overlay {
    position: absolute;
    top: 1rem;
    left: 3.5rem;
    width: min(18rem, calc(100% - 4.5rem));
    z-index: 500;
    display: grid;
    gap: 0.4rem;
    transition: width 180ms ease;
}

.map-search-overlay.is-expanded {
    width: min(34rem, calc(100% - 4.5rem));
}

.map-search-overlay input {
    min-width: 0;
    width: 100%;
    padding: 0.8rem 2.8rem 0.8rem 0.95rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 96%, var(--ink) 4%);
    box-shadow: 0 12px 24px rgba(18, 38, 32, 0.06);
    color: var(--ink);
}

.map-search-clear {
    position: absolute;
    top: 0.4rem;
    right: 0.45rem;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border-radius: 999px;
    border: 0;
    background: rgba(18, 38, 32, 0.08);
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
    box-shadow: none;
}

.map-search-clear:hover,
.map-search-clear:focus-visible {
    background: rgba(18, 38, 32, 0.14);
    color: var(--ink);
}

.map-search-clear[hidden] {
    display: none;
}

.map-search-suggestions {
    display: grid;
    gap: 0.3rem;
    padding: 0.45rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: 0 14px 28px rgba(18, 38, 32, 0.08);
}

.map-search-suggestions[hidden] {
    display: none;
}

.map-search-suggestion {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 0;
    border-radius: 0.9rem;
    background: transparent;
    color: var(--ink);
    text-align: left;
}

.map-search-suggestion:hover {
    background: color-mix(in srgb, var(--surface) 78%, var(--ink) 22%);
}

.map-search-suggestion strong,
.map-search-suggestion span {
    display: block;
}

.map-search-suggestion span {
    color: var(--muted);
    font-size: 0.84rem;
}

.map-action-rail {
    position: absolute;
    right: 1rem;
    z-index: 500;
    top: 1rem;
    display: grid;
    gap: 0.65rem;
}

.map-action-button {
    position: relative;
    width: 3.1rem;
    height: 3.1rem;
    padding: 0;
    border: 0;
    border-radius: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 38, 32, 0.74);
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 12px 24px rgba(18, 38, 32, 0.18);
    backdrop-filter: blur(16px);
}

.map-action-button svg {
    width: 1.4rem;
    height: 1.4rem;
}

.map-action-button small {
    position: absolute;
    right: -0.12rem;
    bottom: -0.18rem;
    min-width: 1.2rem;
    height: 1.2rem;
    padding: 0 0.32rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2aa8e6;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 18px rgba(22, 71, 118, 0.22);
}

.map-action-button.is-active {
    background: linear-gradient(135deg, #2aa8e6, #1a7fd0);
}

.map-action-button:disabled {
    opacity: 0.55;
}

.map-cluster {
    display: grid;
    place-items: center;
}

.map-cluster span {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 52%),
        linear-gradient(135deg, #214f65, #2b7f7f);
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(18, 38, 32, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.88);
}

.station-map-marker {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    min-width: 2.5rem;
    padding: 0.34rem 0.56rem 0.42rem;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 48%),
        linear-gradient(135deg, color-mix(in srgb, var(--marker-accent, #1f6f5f) 90%, #ffffff 10%), color-mix(in srgb, var(--marker-accent, #1f6f5f) 74%, #122620 26%));
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: 0 8px 18px rgba(18, 38, 32, 0.18);
    text-align: center;
    color: #fff;
    backdrop-filter: blur(8px);
}

.station-map-marker::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.18rem;
    width: 0.42rem;
    height: 0.42rem;
    background: color-mix(in srgb, var(--marker-accent, #1f6f5f) 82%, #122620 18%);
    transform: translateX(-50%) rotate(45deg);
    border-radius: 0.08rem;
}

.station-map-marker strong {
    display: block;
    font-weight: 800;
    letter-spacing: 0.01em;
    font-size: 0.74rem;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.station-map-marker-body {
    display: grid;
    gap: 0.08rem;
    justify-items: start;
}

.station-map-marker small {
    display: block;
    font-size: 0.53rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.01em;
    opacity: 0.88;
    font-variant-numeric: tabular-nums;
}

.station-map-marker-dot {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 0.08rem rgba(255, 255, 255, 0.18);
    flex: 0 0 auto;
}

.station-map-marker-focus {
    animation: mapFocusPulse 1.8s ease-in-out infinite;
    transform-origin: center;
}

.station-map-marker-no_live_data .station-map-marker-dot {
    background: rgba(255, 255, 255, 0.72);
}

.station-map-marker-full .station-map-marker-dot {
    background: #ffd9d2;
}

.station-map-marker-limited .station-map-marker-dot {
    background: #ffe7b0;
}

.station-map-marker-available .station-map-marker-dot {
    background: #d8ffe7;
}

.parked-car-marker {
    position: relative;
    min-width: 8rem;
    padding: 0.2rem 0.24rem 0.3rem;
    border-radius: 1.1rem;
    background: rgba(255, 250, 242, 0.98);
    border: 1px solid rgba(18, 38, 32, 0.14);
    box-shadow: 0 16px 30px rgba(18, 38, 32, 0.18);
    text-align: center;
    animation: mapFocusPulse 1.8s ease-in-out infinite;
}

.parked-car-marker::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.42rem;
    width: 0.9rem;
    height: 0.9rem;
    background: rgba(255, 250, 242, 0.98);
    border-right: 1px solid rgba(18, 38, 32, 0.14);
    border-bottom: 1px solid rgba(18, 38, 32, 0.14);
    transform: translateX(-50%) rotate(45deg);
}

.parked-car-marker-top {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    justify-content: center;
    padding: 0.48rem 0.7rem;
    border-radius: 0.95rem;
    background: linear-gradient(135deg, #2aa8e6, #1a7fd0);
    color: #fff;
    line-height: 1;
}

.parked-car-marker-top strong {
    font-size: 1rem;
}

.parked-car-marker-top span {
    max-width: 6rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.parked-car-marker-bottom {
    padding: 0.42rem 0.45rem 0.08rem;
    color: var(--ink);
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1;
}

@keyframes mapFocusPulse {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 14px 26px rgba(18, 38, 32, 0.16), 0 0 0 0 rgba(31, 111, 95, 0.2);
    }

    50% {
        transform: translateY(-0.08rem) scale(1.03);
        box-shadow: 0 18px 32px rgba(18, 38, 32, 0.18), 0 0 0 10px rgba(31, 111, 95, 0);
    }
}

.map-fallback {
    position: absolute;
    inset: 1rem;
    display: grid;
    place-items: center;
    padding: 1rem;
    border-radius: 1rem;
    background: var(--surface-soft-strong);
    color: var(--muted);
    text-align: center;
}

.map-frame.is-ready .map-fallback {
    display: none;
}

.map-toolbar {
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 0.95rem;
    border-radius: 1.2rem;
    border: 1px solid var(--border);
    background: var(--surface-soft-strong);
}

.map-park-button {
    flex: 0 0 auto;
    width: 3.35rem;
    height: 3.35rem;
    border: 0;
    border-radius: 1.1rem;
    background: linear-gradient(135deg, #2aa8e6, #1a7fd0);
    color: #fff;
    font-size: 1.4rem;
    box-shadow: 0 16px 30px rgba(22, 71, 118, 0.22);
}

.map-park-button.is-active {
    animation: mapFocusPulse 1.8s ease-in-out infinite;
}

.map-toolbar-copy {
    display: grid;
    gap: 0.2rem;
}

.map-toolbar-copy strong {
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    font-size: 0.96rem;
}

.map-toolbar-system {
    min-height: 1.1rem;
}

.map-charge-summary {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 3.35rem;
    padding: 0.8rem 1rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(18, 38, 32, 0.08);
    background: rgba(255, 255, 255, 0.98);
    color: var(--ink);
    box-shadow: 0 10px 22px rgba(18, 38, 32, 0.04);
}

.map-charge-summary:disabled {
    opacity: 0.7;
}

.map-charge-summary-icon {
    display: inline-grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    background: rgba(31, 111, 95, 0.1);
    font-size: 1rem;
}

.map-charge-summary-copy {
    display: grid;
    gap: 0.15rem;
    text-align: left;
}

.map-charge-summary-copy strong {
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    font-size: 0.94rem;
}

.map-chip {
    width: fit-content;
    margin-bottom: 0.65rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    font-weight: 700;
}

.map-chip.available,
.status-available {
    background: var(--accent-soft);
    color: var(--accent);
}

.map-chip.full,
.status-full {
    background: var(--danger-soft);
    color: var(--danger);
}

.map-chip.limited,
.status-limited {
    background: var(--warn-soft);
    color: var(--warn);
}

.map-chip.unknown,
.status-no_live_data {
    background: rgba(80, 99, 93, 0.14);
    color: var(--muted);
}

.status-meta {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    align-items: center;
}

.station-info-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.55rem;
}

.info-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.65rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 78%, var(--ink) 22%);
    color: var(--muted);
    font-size: 0.84rem;
}

.info-badge-accent {
    background: rgba(31, 111, 95, 0.12);
    color: var(--accent);
    font-weight: 700;
}

.info-badge-rating {
    background: rgba(184, 120, 32, 0.14);
    color: var(--warn);
    font-weight: 700;
}

.detail-pill-rating {
    background: rgba(184, 120, 32, 0.14);
    color: var(--warn);
}

.detail-pill-muted {
    background: rgba(18, 38, 32, 0.08);
    color: var(--muted);
}

.station-live {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.station-live-live {
    background: rgba(31, 111, 95, 0.1);
    color: var(--accent);
}

.station-live-muted {
    background: rgba(80, 99, 93, 0.12);
    color: var(--muted);
}

.detail-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.38rem;
    margin: 0.28rem 0 0.55rem;
}

.detail-facts-primary {
    margin-top: 0;
}

.detail-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.34rem 0.64rem;
    border-radius: 999px;
    background: #edf0eb;
    color: #50635d;
    font-weight: 600;
    font-size: 0.78rem;
}

.detail-pill-status {
    font-size: 0.82rem;
}

.detail-meta-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 0.55rem;
    margin: 0;
}

.detail-meta-row {
    display: grid;
    gap: 0.12rem;
    min-height: 4.35rem;
    padding: 0.8rem 0.82rem;
    border: 1px solid rgba(18, 38, 32, 0.08);
    border-radius: 0.9rem;
    background: #ffffff;
}

.detail-meta-row span {
    color: #50635d;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.detail-meta-row strong {
    color: #122620;
    font-size: 0.92rem;
    line-height: 1.15;
}

.detail-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    gap: 0.6rem;
}

.detail-highlight-card {
    display: grid;
    gap: 0.3rem;
    padding: 0.9rem 0.92rem;
    border: 1px solid rgba(18, 38, 32, 0.08);
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: none;
}

.detail-highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 999px;
    background: rgba(31, 111, 95, 0.12);
    color: #1f6f5f;
    font-size: 1rem;
}

.detail-highlight-label {
    color: #50635d;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.detail-highlight-card strong {
    color: #122620;
    font-size: 0.96rem;
    line-height: 1.2;
}

.detail-meta-list-overview,
.detail-meta-list-technical {
    margin-top: 0.05rem;
}

.detail-connector-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 0.65rem;
}

.detail-connector-summary-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.8rem;
    align-items: center;
    padding: 0.85rem 0.9rem;
    border-radius: 1rem;
    border: 1px solid rgba(18, 38, 32, 0.08);
    background: #ffffff;
}

.detail-connector-summary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    color: #1f6f5f;
    background: rgba(31, 111, 95, 0.12);
}

.detail-connector-summary-icon svg {
    width: 1.7rem;
    height: 1.7rem;
}

.detail-connector-summary-copy {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
}

.detail-connector-summary-copy strong {
    color: #122620;
    line-height: 1.2;
}

.detail-connector-summary-copy span {
    color: #50635d;
    font-size: 0.83rem;
}

.detail-connector-kind-ccs {
    color: #0f6f60;
    background: rgba(31, 111, 95, 0.14);
}

.detail-connector-kind-type2 {
    color: #2e5fb7;
    background: rgba(46, 95, 183, 0.12);
}

.detail-connector-kind-chademo {
    color: #b46a12;
    background: rgba(180, 106, 18, 0.14);
}

.detail-connector-kind-tesla {
    color: #a23e2b;
    background: rgba(162, 62, 43, 0.14);
}

.detail-connector-kind-schuko,
.detail-connector-kind-generic {
    color: #122620;
    background: rgba(18, 38, 32, 0.08);
}

.detail-connector-list {
    display: grid;
    gap: 0.75rem;
}

.detail-connector-group {
    display: grid;
    overflow: hidden;
    gap: 0;
    border: 1px solid rgba(18, 38, 32, 0.08);
    border-radius: 1.05rem;
    background: #ffffff;
    box-shadow: none;
}

.detail-connector-group-head,
.detail-connector-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
}

.detail-connector-group-head {
    padding: 0.72rem 0.8rem;
    background: #f4f6f4;
    border-bottom: 1px solid rgba(18, 38, 32, 0.08);
}

.detail-connector-row {
    padding: 0.62rem 0.8rem;
}

.detail-connector-group-head strong,
.detail-connector-row strong {
    display: block;
    color: #122620;
    font-size: 0.92rem;
    line-height: 1.15;
}

.detail-connector-group-head span,
.detail-connector-row span:not(.detail-pill) {
    display: block;
    color: #50635d;
    font-size: 0.74rem;
    line-height: 1.25;
}

.detail-connector-row {
    border-top: 1px solid rgba(18, 38, 32, 0.08);
}

.detail-connector-row:first-of-type {
    border-top: 0;
}

.detail-connector-status {
    flex: 0 0 auto;
    background: rgba(31, 111, 95, 0.12);
    color: #122620;
    text-align: right;
}

.detail-status-details {
    padding: 0.95rem;
}

.detail-status-details > summary {
    color: #122620;
}

.detail-status-details .settings-panel-body {
    padding-top: 0.1rem;
}

.detail-history-card {
    display: grid;
    gap: 0.45rem;
    padding: 0.95rem;
}

.detail-history-head {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.detail-history-chart {
    min-height: 6.2rem;
}

.detail-history-bars {
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    gap: 0.14rem;
    align-items: end;
    min-height: 5.6rem;
}

.detail-history-bar {
    display: grid;
    justify-items: center;
    align-items: end;
    gap: 0.22rem;
}

.detail-history-bar span {
    display: block;
    width: 100%;
    min-height: 0.36rem;
    border-radius: 999px 999px 0.22rem 0.22rem;
    background: rgba(18, 38, 32, 0.08);
}

.detail-history-bar.is-available span {
    background: linear-gradient(180deg, #82d9a4, #1f6f5f);
}

.detail-history-bar.is-limited span {
    background: linear-gradient(180deg, #f2d17b, #b87820);
}

.detail-history-bar.is-full span {
    background: linear-gradient(180deg, #f2a08e, #a23e2b);
}

.detail-history-bar.is-empty span {
    background: rgba(18, 38, 32, 0.08);
}

.detail-history-bar small {
    color: var(--muted);
    font-size: 0.52rem;
    line-height: 1;
    text-transform: uppercase;
}

.detail-history-empty {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 0.82rem;
}

.detail-charge-card {
    display: grid;
    gap: 0.7rem;
    padding: 0.95rem;
}

.detail-charge-head {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.detail-charge-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.filter-card,
.membership-card,
.subscription-summary {
    display: grid;
    gap: 1rem;
}

.sync-form {
    margin: 0 0 0.25rem;
    display: grid;
    gap: 0.6rem;
}

.sync-form select {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: white;
}

.notification-card {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.82);
}

.admin-push-subscription {
    padding-top: 0.85rem;
    border-top: 1px solid rgba(18, 38, 32, 0.08);
}

.admin-push-subscription:first-of-type {
    padding-top: 0.1rem;
    border-top: 0;
}

.admin-push-subscription p {
    margin: 0.18rem 0;
    overflow-wrap: anywhere;
}

.notification-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.install-hint {
    display: grid;
    gap: 0.25rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(18, 38, 32, 0.08);
    border-radius: 1rem;
    background: rgba(31, 111, 95, 0.06);
    color: var(--muted);
    font-size: 0.95rem;
}

.install-hint strong {
    color: var(--ink);
}

.install-hint em {
    font-style: normal;
    font-weight: 700;
    color: var(--accent);
}

.filter-card label,
.auth-card label {
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
}

.filter-card input,
.filter-card select,
.auth-card input {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: var(--surface-input);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    color: var(--ink);
}

.checkbox-row {
    display: grid;
    grid-template-columns: 1.1rem 1fr;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: var(--surface-soft-muted);
}

.checkbox-row input {
    width: 1rem;
    height: 1rem;
    margin: 0;
    align-self: center;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    appearance: auto;
}

.checkbox-row span {
    font-weight: 500;
}

.membership-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.membership-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: var(--surface);
}

.membership-list li.is-current-plan {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.membership-usage {
    margin: 0;
}

.station-list {
    display: grid;
    gap: 1rem;
}

.station-card {
    padding: 1rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "meta status"
        "meta actions";
    align-items: start;
}

.station-card.is-selected {
    border-color: var(--accent);
    box-shadow: 0 20px 48px rgba(31, 111, 95, 0.14);
}

.station-card.is-nearest {
    border-color: rgba(31, 111, 95, 0.24);
}

.station-card-placeholder {
    grid-template-columns: 1fr;
}

.station-city {
    margin: 0 0 0.3rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
}

.station-card h3,
.station-meta p {
    margin: 0;
}

.station-meta {
    grid-area: meta;
    min-width: 0;
}

.station-actions form {
    margin: 0;
}

.card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.78rem 1.15rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-weight: 600;
    line-height: 1;
    text-align: center;
    transition: 180ms ease;
}

.card-action-secondary {
    background: color-mix(in srgb, var(--surface) 96%, var(--ink) 4%);
    color: var(--ink);
}

.card-action-secondary:hover,
.card-action-secondary:focus-visible {
    border-color: rgba(31, 111, 95, 0.24);
    background: var(--surface);
}

.card-action-primary {
    background: var(--accent);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(31, 111, 95, 0.16);
}

.card-action-primary:hover,
.card-action-primary:focus-visible {
    background: #185f51;
}

.action-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    justify-content: flex-start;
}

.action-group.is-compact {
    gap: 0.45rem;
}

.station-meta p:last-child,
.station-status small,
.hint,
.empty-state p,
.summary-card p {
    color: var(--muted);
}

.station-status {
    display: grid;
    gap: 0.35rem;
    grid-area: status;
}

.station-actions {
    grid-area: actions;
}

.inline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.8rem 1.1rem;
    border: 1px solid var(--border);
    background: var(--surface-soft);
}

.detail-card {
    display: grid;
    gap: 0.65rem;
    padding: 0.9rem;
    border: 1px solid rgba(18, 38, 32, 0.08);
    border-radius: 1.35rem;
    background: #f6f4ef;
    box-shadow: none;
    max-height: none;
    overflow: visible;
    color: #122620;
}

.detail-layout {
    display: grid;
    gap: 0.85rem;
}

.detail-card h3 {
    margin: 0;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    font-size: 1.18rem;
    line-height: 1.15;
    color: #122620;
}

.detail-hero-shell,
.detail-section,
.detail-history-card,
.detail-charge-card,
.settings-disclosure.detail-status-details {
    border: 1px solid rgba(18, 38, 32, 0.08);
    border-radius: 1.2rem;
    background: #ffffff;
    box-shadow: none;
}

.detail-hero-shell {
    display: grid;
    gap: 0.8rem;
    padding: 0.85rem;
    background: #ffffff;
}

.detail-card-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
}

.detail-hero-copy {
    display: grid;
    gap: 0.22rem;
}

.detail-hero-subline {
    margin: 0;
    color: #122620;
    font-weight: 600;
}

.detail-hero-address {
    margin: 0;
    color: #50635d;
}

.detail-card-actions-top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.detail-card-close {
    width: 2.55rem;
    min-width: 2.55rem;
    height: 2.55rem;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #122620;
    border-color: rgba(18, 38, 32, 0.08);
    font-size: 1.25rem;
    font-weight: 600;
}

.detail-metrics {
    display: grid;
    gap: 0.4rem;
}

.map-popup-action form {
    margin: 0;
}

.icon-button {
    min-width: 7.5rem;
    justify-content: center;
}

.icon-button.is-compact {
    min-width: 2.25rem;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1;
}

.icon-button.charge-toggle {
    min-width: 2.25rem;
    width: 2.25rem;
    padding: 0;
    background: rgba(162, 62, 43, 0.1);
    color: var(--danger);
    border-color: rgba(162, 62, 43, 0.2);
}

.icon-button.charge-toggle.is-active {
    background: rgba(31, 111, 95, 0.12);
    color: var(--accent);
    border-color: rgba(31, 111, 95, 0.18);
}

.charge-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
}

.charge-toggle-duration {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    min-width: 3.2rem;
    text-align: left;
}

.charge-toggle-group {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.icon-button.favorite {
    background: rgba(255, 250, 242, 0.9);
    color: var(--ink);
    border-color: rgba(162, 62, 43, 0.22);
}

.icon-button.favorite.is-active {
    background: var(--danger-soft);
    color: var(--danger);
    border-color: transparent;
}

.icon-button.subscription {
    background: rgba(255, 250, 242, 0.9);
    color: var(--ink);
    border-color: rgba(31, 111, 95, 0.2);
}

.icon-button.comment {
    background: rgba(255, 250, 242, 0.9);
    color: var(--ink);
    border-color: rgba(18, 38, 32, 0.14);
}

.icon-button.comment.is-active {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: transparent;
}

.icon-button.subscription.is-active {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: transparent;
}

.icon-button.navigation {
    background: rgba(255, 250, 242, 0.9);
    color: var(--ink);
    border-color: rgba(24, 113, 93, 0.2);
}

.icon-button.navigation:hover,
.icon-button.navigation:focus-visible {
    background: rgba(216, 239, 229, 0.9);
    color: var(--accent);
    border-color: transparent;
}

.detail-sheet {
    position: fixed;
    inset: 0;
    z-index: 1100;
    pointer-events: none;
    visibility: hidden;
}

.comment-modal {
    position: fixed;
    inset: 0;
    z-index: 1150;
    pointer-events: none;
}

.report-modal {
    position: fixed;
    inset: 0;
    z-index: 1155;
    pointer-events: none;
}

.photo-modal {
    position: fixed;
    inset: 0;
    z-index: 1160;
    pointer-events: none;
}

.photo-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 1165;
    pointer-events: none;
}

.nav-modal {
    position: fixed;
    inset: 0;
    z-index: 1170;
    pointer-events: none;
}

.park-modal {
    position: fixed;
    inset: 0;
    z-index: 1175;
    pointer-events: none;
}

.comment-modal[aria-hidden="false"] {
    pointer-events: auto;
}

.report-modal[aria-hidden="false"] {
    pointer-events: auto;
}

.photo-modal[aria-hidden="false"] {
    pointer-events: auto;
}

.photo-preview-modal[aria-hidden="false"] {
    pointer-events: auto;
}

.nav-modal[aria-hidden="false"] {
    pointer-events: auto;
}

.park-modal[aria-hidden="false"] {
    pointer-events: auto;
}

.comment-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 38, 32, 0.12);
    opacity: 0;
    transition: opacity 180ms ease;
}

.report-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 38, 32, 0.12);
    opacity: 0;
    transition: opacity 180ms ease;
}

.photo-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 38, 32, 0.12);
    opacity: 0;
    transition: opacity 180ms ease;
}

.photo-preview-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 15, 0.78);
    opacity: 0;
    transition: opacity 180ms ease;
}

.nav-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 38, 32, 0.12);
    opacity: 0;
    transition: opacity 180ms ease;
}

.park-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 38, 32, 0.12);
    opacity: 0;
    transition: opacity 180ms ease;
}

.comment-modal-panel {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 50%;
    width: min(34rem, calc(100% - 2rem));
    max-height: min(78vh, 42rem);
    margin: 0 auto;
    padding: 1rem;
    display: grid;
    gap: 0.9rem;
    overflow: auto;
    border-radius: 1.4rem;
    background: rgba(255, 250, 242, 0.98);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(calc(-50% + 1.5rem)) scale(0.98);
    opacity: 0;
    transition: transform 180ms ease, opacity 180ms ease;
}

.report-modal-panel {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 50%;
    width: min(38rem, calc(100% - 2rem));
    max-height: min(82vh, 46rem);
    margin: 0 auto;
    padding: 1.05rem;
    display: grid;
    gap: 1rem;
    overflow: auto;
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at top left, rgba(224, 238, 229, 0.86), transparent 38%),
        linear-gradient(180deg, rgba(255, 252, 247, 0.99), rgba(247, 242, 235, 0.99));
    border: 1px solid rgba(18, 38, 32, 0.08);
    box-shadow: 0 28px 64px rgba(18, 38, 32, 0.16);
    backdrop-filter: blur(12px);
    transform: translateY(calc(-50% + 1.5rem)) scale(0.98);
    opacity: 0;
    transition: transform 180ms ease, opacity 180ms ease;
}

.photo-modal-panel {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 50%;
    width: min(46rem, calc(100% - 2rem));
    max-height: min(82vh, 48rem);
    margin: 0 auto;
    padding: 1rem;
    display: grid;
    gap: 0.9rem;
    overflow: auto;
    border-radius: 1.4rem;
    background: rgba(255, 250, 242, 0.98);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(calc(-50% + 1.5rem)) scale(0.98);
    opacity: 0;
    transition: transform 180ms ease, opacity 180ms ease;
}

.photo-preview-panel {
    position: absolute;
    inset: 1rem;
    display: grid;
    gap: 0.75rem;
    align-content: center;
    justify-items: center;
    opacity: 0;
    transform: scale(0.98);
    transition: transform 180ms ease, opacity 180ms ease;
}

.photo-preview-panel img {
    max-width: min(92vw, 72rem);
    max-height: 78vh;
    border-radius: 1.25rem;
    object-fit: contain;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 0.04);
}

.photo-preview-caption {
    max-width: min(92vw, 48rem);
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #f6f7f5;
    text-align: center;
    backdrop-filter: blur(10px);
}

.photo-preview-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 2.6rem;
    min-width: 2.6rem;
    height: 2.6rem;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1.35rem;
    box-shadow: none;
}

.nav-modal-panel {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: min(32rem, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1rem;
    display: grid;
    gap: 0.9rem;
    border-radius: 1.4rem;
    background: rgba(255, 250, 242, 0.98);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(calc(100% + 1rem));
    opacity: 0;
    transition: transform 180ms ease, opacity 180ms ease;
}

.park-modal-panel {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: min(34rem, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1rem;
    display: grid;
    gap: 0.95rem;
    border-radius: 1.4rem;
    background: rgba(255, 250, 242, 0.98);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(calc(100% + 1rem));
    opacity: 0;
    transition: transform 180ms ease, opacity 180ms ease;
}

.comment-modal[aria-hidden="false"] .comment-modal-panel {
    transform: translateY(-50%) scale(1);
    opacity: 1;
}

.report-modal[aria-hidden="false"] .report-modal-panel {
    transform: translateY(-50%) scale(1);
    opacity: 1;
}

.photo-modal[aria-hidden="false"] .photo-modal-panel {
    transform: translateY(-50%) scale(1);
    opacity: 1;
}

.photo-preview-modal[aria-hidden="false"] .photo-preview-panel {
    transform: scale(1);
    opacity: 1;
}

.comment-modal[aria-hidden="false"] .comment-modal-backdrop {
    opacity: 1;
}

.report-modal[aria-hidden="false"] .report-modal-backdrop {
    opacity: 1;
}

.photo-modal[aria-hidden="false"] .photo-modal-backdrop {
    opacity: 1;
}

.photo-preview-modal[aria-hidden="false"] .photo-preview-backdrop {
    opacity: 1;
}

.nav-modal[aria-hidden="false"] .nav-modal-panel {
    transform: translateY(0);
    opacity: 1;
}

.nav-modal[aria-hidden="false"] .nav-modal-backdrop {
    opacity: 1;
}

.park-modal[aria-hidden="false"] .park-modal-panel {
    transform: translateY(0);
    opacity: 1;
}

.park-modal[aria-hidden="false"] .park-modal-backdrop {
    opacity: 1;
}

.comment-modal-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
}

.report-modal-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
}

.report-modal-header > div {
    display: grid;
    gap: 0.18rem;
}

.photo-modal-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
}

.nav-modal-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
}

.park-modal-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
}

.comment-modal-header h3 {
    margin: 0;
}

.report-modal-header h3 {
    margin: 0;
}

.report-modal-status {
    padding: 0.72rem 0.9rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(18, 38, 32, 0.08);
    color: #50635d;
}

.photo-modal-header h3 {
    margin: 0;
}

.nav-modal-header h3 {
    margin: 0;
}

.park-modal-header h3 {
    margin: 0;
}

.nav-modal-actions {
    display: grid;
    gap: 0.75rem;
}

.park-modal-card {
    display: grid;
    gap: 0.55rem;
    padding: 0.95rem 1rem;
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(18, 38, 32, 0.08);
}

.park-modal-state {
    display: inline-flex;
    width: fit-content;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: rgba(18, 38, 32, 0.08);
    color: var(--muted);
    font-weight: 800;
}

.park-modal-state.is-active {
    background: var(--accent-soft);
    color: var(--accent);
}

.comment-list {
    display: grid;
    gap: 0.75rem;
}

.report-list {
    display: grid;
    gap: 0.9rem;
}

.photo-gallery {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
}

.photo-gallery-modal {
    grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
}

.station-photo-thumb {
    display: grid;
    gap: 0.45rem;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.station-photo-thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 1rem;
    border: 1px solid rgba(18, 38, 32, 0.08);
    background: rgba(18, 38, 32, 0.04);
    box-shadow: 0 10px 24px rgba(18, 38, 32, 0.08);
}

.station-photo-thumb:hover img,
.station-photo-thumb:focus-visible img {
    border-color: rgba(31, 111, 95, 0.24);
    box-shadow: 0 14px 28px rgba(18, 38, 32, 0.12);
}

.station-photo-meta {
    display: grid;
    gap: 0.18rem;
}

.station-photo-meta strong,
.station-photo-meta small {
    margin: 0;
}

.station-photo-meta small {
    color: var(--muted);
}

.comment-card {
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: var(--surface-soft-muted);
}

.report-card {
    display: grid;
    gap: 0.55rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(18, 38, 32, 0.08);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 28px rgba(18, 38, 32, 0.06);
}

.comment-card p,
.comment-card strong,
.comment-card span {
    margin: 0;
}

.report-card p,
.report-card strong,
.report-card span {
    margin: 0;
}

.report-card p {
    color: #20312b;
    line-height: 1.5;
}

.report-card .comment-card-head {
    margin-bottom: 0;
    align-items: start;
}

.report-card .comment-card-head strong {
    font-size: 0.96rem;
    color: #122620;
}

.report-card .comment-card-head span {
    text-align: right;
}

.comment-card-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
    margin-bottom: 0.45rem;
}

.comment-card-head span {
    color: var(--muted);
    font-size: 0.82rem;
}

.report-card-meta {
    margin-bottom: 0.05rem;
}

.report-category-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.34rem 0.62rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    background: rgba(18, 38, 32, 0.08);
    color: #122620;
}

.report-category-zugang {
    background: rgba(46, 95, 183, 0.12);
    color: #2e5fb7;
}

.report-category-defekt {
    background: rgba(162, 62, 43, 0.12);
    color: #a23e2b;
}

.report-category-bezahlung {
    background: rgba(180, 106, 18, 0.14);
    color: #b46a12;
}

.report-category-parken {
    background: rgba(18, 38, 32, 0.08);
    color: #50635d;
}

.report-category-hinweis {
    background: rgba(80, 99, 93, 0.12);
    color: #50635d;
}

.report-category-positiv {
    background: rgba(31, 111, 95, 0.14);
    color: #1f6f5f;
}

.comment-card-empty p {
    color: var(--muted);
    margin-top: 0.25rem;
}

.comment-card-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 0.7rem;
}

.comment-card-actions form {
    margin: 0;
}

.comment-delete-button {
    padding: 0.7rem 1rem;
}

.comment-form {
    display: grid;
    gap: 0.8rem;
}

.comment-rating {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    border: 0;
}

.comment-rating legend {
    width: 100%;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.comment-rating label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(18, 38, 32, 0.06);
    border: 1px solid rgba(18, 38, 32, 0.08);
}

.comment-rating input {
    margin: 0;
}

.comment-form textarea {
    width: 100%;
    resize: vertical;
    min-height: 5.5rem;
}

.comment-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    align-items: end;
}

.photo-form {
    display: grid;
    gap: 0.8rem;
}

.report-form {
    display: grid;
    gap: 0.85rem;
    padding: 1rem 1.05rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(18, 38, 32, 0.08);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 30px rgba(18, 38, 32, 0.07);
}

.report-form label {
    display: grid;
    gap: 0.35rem;
    color: #20312b;
    font-weight: 600;
}

.report-form textarea {
    width: 100%;
    resize: vertical;
    min-height: 6rem;
    padding: 0.9rem 0.95rem;
    border-radius: 1rem;
    border: 1px solid rgba(18, 38, 32, 0.1);
    background: #fcfcfa;
    color: #122620;
    font: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.report-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.8rem;
}

.report-form select {
    width: 100%;
    min-height: 2.8rem;
    padding: 0.7rem 0.85rem;
    border-radius: 1rem;
    border: 1px solid rgba(18, 38, 32, 0.1);
    background: #fcfcfa;
    color: #122620;
    font: inherit;
}

.report-form-actions {
    display: flex;
    justify-content: flex-end;
}

.photo-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.photo-form input[type="text"],
.photo-form input[type="file"],
.photo-form select {
    width: 100%;
}

.photo-form-actions {
    display: flex;
    justify-content: flex-end;
}

.detail-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 38, 32, 0.1);
    opacity: 0;
    transition: opacity 180ms ease;
}

.detail-sheet-panel {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: 38rem;
    max-height: calc(100vh - 2rem);
    margin: 0 auto;
    display: grid;
    gap: 0.45rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    transform: translateY(calc(100% + 1rem));
    transition: transform 220ms ease;
}

.detail-sheet-panel::-webkit-scrollbar {
    display: none;
}

.detail-map-context {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.9rem 0.95rem;
    border-radius: 1rem;
    background: #eef4f1;
    border: 1px solid rgba(31, 111, 95, 0.14);
}

.detail-map-context-copy {
    display: grid;
    gap: 0.2rem;
}

.detail-map-context-copy strong {
    line-height: 1.2;
}

.detail-map-context-copy span:last-child {
    color: #50635d;
    font-size: 0.82rem;
}

.detail-map-kicker {
    color: #1f6f5f;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
}

.detail-map-focus {
    flex: 0 0 auto;
    min-height: 2.65rem;
    padding-inline: 1rem;
    background: #2f353a;
    color: #ffffff;
    border-color: #2f353a;
}

.detail-section {
    display: grid;
    gap: 0.85rem;
    padding: 0.95rem;
}

.detail-section-featured {
    background: #ffffff;
}

.detail-section-muted {
    background: #ffffff;
}

.detail-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 0.8rem;
}

.detail-section-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-photo-strip {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(auto-fill, minmax(7.25rem, 1fr));
}

.detail-report-strip {
    display: grid;
    gap: 0.8rem;
}

.report-card-compact {
    gap: 0.42rem;
    padding: 0.9rem 0.95rem;
}

.report-card-compact .comment-card-head {
    margin-bottom: 0.35rem;
}

.report-card-compact p {
    font-size: 0.94rem;
}

@media (max-width: 720px) {
    .report-modal-panel {
        width: min(100%, calc(100% - 1rem));
        left: 0.5rem;
        right: 0.5rem;
        max-height: min(88vh, 48rem);
        padding: 0.9rem;
        border-radius: 1.35rem;
    }

    .report-modal-header {
        align-items: center;
    }

    .report-modal-header .ghost-button {
        min-height: 2.6rem;
        padding-inline: 0.9rem;
    }

    .report-card .comment-card-head {
        display: grid;
        gap: 0.2rem;
    }

    .report-card .comment-card-head span {
        text-align: left;
    }

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

    .report-form-actions button {
        width: 100%;
    }
}

.detail-photo-empty {
    display: grid;
    gap: 0.25rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px dashed rgba(18, 38, 32, 0.14);
    background: rgba(255, 255, 255, 0.72);
}

.detail-photo-empty strong,
.detail-photo-empty p {
    margin: 0;
}

.detail-photo-empty p {
    color: var(--muted);
}

.icon-button.photo {
    background: rgba(255, 250, 242, 0.9);
    color: var(--ink);
    border-color: rgba(31, 111, 95, 0.16);
}

.icon-button.photo svg {
    width: 1rem;
    height: 1rem;
}

.icon-button.photo.is-active {
    background: rgba(216, 239, 229, 0.9);
    color: var(--accent);
    border-color: transparent;
}

.detail-section-head h4 {
    margin: 0.12rem 0 0;
    color: #122620;
}

.detail-card .status-pill,
.detail-card .station-live {
    color: #122620;
}

.detail-card .station-live-live {
    background: #dff0e6;
    color: #1f6f5f;
}

.detail-card .station-live-muted,
.detail-card .status-no_live_data {
    background: #ecefed;
    color: #50635d;
}

.detail-sheet-handle {
    width: 3rem;
    height: 0.3rem;
    margin: 0 auto;
    border-radius: 999px;
    background: rgba(18, 38, 32, 0.18);
}

.dashboard-page.has-selected-station + .detail-sheet {
    pointer-events: auto;
    visibility: visible;
}

.dashboard-page.has-selected-station + .detail-sheet .detail-sheet-backdrop {
    opacity: 1;
}

.dashboard-page.has-selected-station + .detail-sheet .detail-sheet-panel {
    transform: translateY(0);
}

.station-status {
    grid-area: status;
    text-align: right;
}

.station-actions {
    grid-area: actions;
    justify-self: end;
}

.status-pill {
    display: inline-flex;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
    gap: 1rem;
    align-items: center;
    min-height: 70vh;
}

.auth-stack {
    display: grid;
    gap: 1rem;
}

.auth-tabs {
    display: inline-flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.auth-tabs a {
    border-radius: 999px;
    padding: 0.8rem 1.1rem;
    border: 1px solid var(--border);
    background: rgba(255, 250, 242, 0.78);
}

.auth-tabs a.is-active {
    background: var(--accent);
    color: white;
    border-color: transparent;
}

.auth-card {
    display: grid;
    gap: 1rem;
}

.auth-card-pin {
    gap: 1rem;
}

.auth-card-pin h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.subscriptions-layout {
    display: grid;
    gap: 1rem;
}

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

.summary-card {
    padding: 1rem;
}

body[data-current-path="/settings"] .subscription-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

body[data-current-path="/settings"] .summary-card {
    gap: 0.35rem;
    min-height: 0;
    padding: 0.55rem 0.65rem;
    border-radius: 0.9rem;
}

body[data-current-path="/settings"] .summary-card .eyebrow {
    margin-bottom: 0.1rem;
    font-size: 0.6rem;
}

body[data-current-path="/settings"] .summary-card h2 {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.15;
}

body[data-current-path="/settings"] .summary-card strong {
    display: block;
    margin-top: 0.05rem;
    font-size: 0.78rem;
    line-height: 1.15;
}

body[data-current-path="/settings"] .summary-card p {
    margin-top: 0.1rem;
    font-size: 0.66rem;
    line-height: 1.2;
}

.settings-card {
    align-items: start;
}

.settings-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
    gap: 1rem;
    align-items: start;
    min-width: 0;
}

.settings-page {
    width: 100%;
    max-width: 100%;
}

.settings-page .panel-heading,
.settings-page .subscription-summary,
.settings-page .settings-layout,
.settings-page .settings-section,
.settings-page .settings-section-stack,
.settings-page .settings-subsection,
.settings-page .settings-field-grid,
.settings-page .settings-metric-grid,
.settings-page .settings-inline-list,
.settings-page .settings-mini-list,
.settings-page .settings-mini-card,
.settings-page .notification-card,
.settings-page .subscription-user {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.admin-page {
    width: 100%;
    max-width: 100%;
}

.admin-page .panel-heading,
.admin-page .subscription-summary,
.admin-page .dashboard-grid,
.admin-page .sidebar-panel,
.admin-page .notification-card,
.admin-page .summary-card,
.admin-page .settings-panel-body,
.admin-page .settings-disclosure,
.admin-page .sync-form,
.admin-page input,
.admin-page select,
.admin-page .admin-push-subscription,
.admin-page .subscription-user {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.settings-section {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    background: var(--surface-soft-strong);
    box-shadow: var(--shadow);
    min-width: 0;
}

.settings-section-plain {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.settings-form,
.settings-section-stack {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.settings-subsection {
    display: grid;
    gap: 0.8rem;
    padding-top: 0.2rem;
}

.settings-panel-body {
    display: grid;
    gap: 0.8rem;
}

.settings-disclosure {
    display: grid;
    gap: 0.85rem;
}

.settings-disclosure > summary {
    cursor: pointer;
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
}

.settings-disclosure > summary::-webkit-details-marker {
    display: none;
}

.settings-disclosure > summary::before {
    content: "+";
    width: 1.3rem;
    height: 1.3rem;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface-soft);
}

.settings-disclosure[open] > summary::before {
    content: "-";
}

.settings-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.settings-form label {
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
}

.settings-form input,
.settings-form select {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: var(--surface-input);
    color: var(--ink);
}

.settings-form input[disabled] {
    color: var(--muted);
    background: color-mix(in srgb, var(--surface) 88%, var(--ink) 12%);
}

.settings-check-grid {
    display: grid;
    gap: 0.7rem;
}

.settings-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.settings-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.settings-inline-list {
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 1.2rem;
    background: var(--surface-soft-muted);
    min-width: 0;
}

.settings-collection {
    display: grid;
    gap: 0.9rem;
}

.settings-catalog-candidates {
    display: grid;
    gap: 0.7rem;
}

.settings-catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.settings-catalog-toolbar .hint {
    margin: 0;
}

.settings-collapse-toggle {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.settings-collapse-toggle .hint {
    margin: 0;
}

.settings-inline-action {
    display: flex;
    justify-content: flex-start;
    margin-top: 0.45rem;
}

.settings-inline-button {
    min-height: 0;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-size: 0.82rem;
    line-height: 1;
}

.settings-disclaimer {
    margin: 0.2rem 0 0;
    font-size: 0.76rem;
    line-height: 1.35;
    color: var(--muted);
    letter-spacing: 0.01em;
}

.settings-candidate-card {
    display: grid;
    gap: 0.55rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: var(--surface-soft);
}

.settings-candidate-head {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: start;
}

.settings-candidate-head strong,
.settings-candidate-head p {
    margin: 0;
}

.settings-candidate-head p {
    color: var(--muted);
    margin-top: 0.2rem;
}

.settings-candidate-apply {
    justify-self: start;
}

.settings-check-grid .checkbox-row {
    min-height: 3rem;
}

.settings-check-grid .checkbox-row span {
    line-height: 1.35;
}

.settings-inline-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
}

.settings-inline-header h3 {
    margin: 0;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.settings-mini-list {
    display: grid;
    gap: 0.7rem;
}

.settings-mini-card {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: start;
    padding: 0.85rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: var(--surface-soft-strong);
    min-width: 0;
}

.settings-mini-card strong,
.settings-mini-card p {
    margin: 0;
}

.settings-mini-card p {
    color: var(--muted);
    margin-top: 0.25rem;
}

.settings-mini-link {
    display: block;
    flex: 1 1 auto;
    color: inherit;
    text-decoration: none;
    min-width: 0;
}

.subscriptions-layout {
    min-width: 0;
}

.page,
.subscriptions-layout,
.settings-layout {
    overflow-x: clip;
}

.settings-mini-link:hover strong,
.settings-mini-link:focus-visible strong {
    text-decoration: underline;
    text-decoration-color: rgba(27, 122, 101, 0.35);
    text-underline-offset: 0.18em;
}

.subscription-user {
    display: grid;
    gap: 0.2rem;
    justify-items: end;
    text-align: right;
    min-width: 0;
}

.subscription-user strong,
.subscription-user span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.subscription-user span {
    color: var(--muted);
    text-transform: capitalize;
}

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

.empty-state {
    text-align: center;
}

body[data-theme="dark"]:not(.route-simple) {
    color: var(--ink);
}

@media (prefers-color-scheme: dark) {
    body[data-theme="system"]:not(.route-simple) {
        color: var(--ink);
    }
}

body[data-theme="dark"]:not(.route-simple) .topbar,
body[data-theme="dark"]:not(.route-simple) .map-panel,
body[data-theme="dark"]:not(.route-simple) .sidebar-panel,
body[data-theme="dark"]:not(.route-simple) .station-section,
body[data-theme="dark"]:not(.route-simple) .station-card,
body[data-theme="dark"]:not(.route-simple) .filter-card,
body[data-theme="dark"]:not(.route-simple) .membership-card,
body[data-theme="dark"]:not(.route-simple) .notification-card,
body[data-theme="dark"]:not(.route-simple) .auth-card,
body[data-theme="dark"]:not(.route-simple) .subscriptions-layout,
body[data-theme="dark"]:not(.route-simple) .summary-card,
body[data-theme="dark"]:not(.route-simple) .empty-state,
body[data-theme="dark"]:not(.route-simple) .settings-section,
body[data-theme="dark"]:not(.route-simple) .settings-inline-list,
body[data-theme="dark"]:not(.route-simple) .settings-candidate-card,
body[data-theme="dark"]:not(.route-simple) .settings-mini-card,
body[data-theme="dark"]:not(.route-simple) .comment-card,
body[data-theme="dark"]:not(.route-simple) .comment-modal-panel,
body[data-theme="dark"]:not(.route-simple) .photo-modal-panel,
body[data-theme="dark"]:not(.route-simple) .detail-card,
body[data-theme="dark"]:not(.route-simple) .detail-sheet-panel,
body[data-theme="dark"]:not(.route-simple) .favorites-layout,
body[data-theme="dark"]:not(.route-simple) .subscriptions-layout,
body[data-theme="dark"]:not(.route-simple) .mobile-tabbar,
body[data-theme="dark"]:not(.route-simple) .nav {
    background: var(--surface-soft-strong);
    border-color: var(--border);
    color: var(--ink);
    box-shadow: var(--shadow);
}

body[data-theme="dark"]:not(.route-simple) .station-map,
body[data-theme="dark"]:not(.route-simple) .map-fallback,
body[data-theme="dark"]:not(.route-simple) .map-search-suggestions,
body[data-theme="dark"]:not(.route-simple) .map-search-overlay input,
body[data-theme="dark"]:not(.route-simple) .comment-list,
body[data-theme="dark"]:not(.route-simple) .photo-gallery,
body[data-theme="dark"]:not(.route-simple) textarea,
body[data-theme="dark"]:not(.route-simple) input,
body[data-theme="dark"]:not(.route-simple) select {
    background: var(--surface-input);
    color: var(--ink);
    border-color: var(--border);
}

body[data-theme="dark"]:not(.route-simple) .ghost-button,
body[data-theme="dark"]:not(.route-simple) .inline-link,
body[data-theme="dark"]:not(.route-simple) .hint,
body[data-theme="dark"]:not(.route-simple) .station-city,
body[data-theme="dark"]:not(.route-simple) .status-pill,
body[data-theme="dark"]:not(.route-simple) .subscription-user span,
body[data-theme="dark"]:not(.route-simple) .settings-disclaimer,
body[data-theme="dark"]:not(.route-simple) .settings-mini-card p,
body[data-theme="dark"]:not(.route-simple) .settings-candidate-head p,
body[data-theme="dark"]:not(.route-simple) .mobile-tabbar a {
    color: var(--muted);
}

body[data-theme="dark"]:not(.route-simple) .nav a,
body[data-theme="dark"]:not(.route-simple) .ghost-button,
body[data-theme="dark"]:not(.route-simple) button {
    background: var(--surface-soft);
    border-color: var(--border);
    color: var(--ink);
}

body[data-theme="dark"]:not(.route-simple) .nav a.is-active,
body[data-theme="dark"]:not(.route-simple) .nav a:hover,
body[data-theme="dark"]:not(.route-simple) .ghost-button:hover,
body[data-theme="dark"]:not(.route-simple) button,
body[data-theme="dark"]:not(.route-simple) .mobile-tabbar a.is-active {
    background: var(--accent);
    color: var(--accent-contrast);
}

@media (prefers-color-scheme: dark) {
    body[data-theme="system"]:not(.route-simple) .topbar,
    body[data-theme="system"]:not(.route-simple) .map-panel,
    body[data-theme="system"]:not(.route-simple) .sidebar-panel,
    body[data-theme="system"]:not(.route-simple) .station-section,
    body[data-theme="system"]:not(.route-simple) .station-card,
    body[data-theme="system"]:not(.route-simple) .filter-card,
    body[data-theme="system"]:not(.route-simple) .membership-card,
    body[data-theme="system"]:not(.route-simple) .notification-card,
    body[data-theme="system"]:not(.route-simple) .auth-card,
    body[data-theme="system"]:not(.route-simple) .subscriptions-layout,
    body[data-theme="system"]:not(.route-simple) .summary-card,
    body[data-theme="system"]:not(.route-simple) .empty-state,
    body[data-theme="system"]:not(.route-simple) .settings-section,
    body[data-theme="system"]:not(.route-simple) .settings-inline-list,
    body[data-theme="system"]:not(.route-simple) .settings-candidate-card,
    body[data-theme="system"]:not(.route-simple) .settings-mini-card,
    body[data-theme="system"]:not(.route-simple) .comment-card,
    body[data-theme="system"]:not(.route-simple) .comment-modal-panel,
    body[data-theme="system"]:not(.route-simple) .photo-modal-panel,
    body[data-theme="system"]:not(.route-simple) .detail-card,
    body[data-theme="system"]:not(.route-simple) .detail-sheet-panel,
    body[data-theme="system"]:not(.route-simple) .favorites-layout,
    body[data-theme="system"]:not(.route-simple) .subscriptions-layout,
    body[data-theme="system"]:not(.route-simple) .mobile-tabbar,
    body[data-theme="system"]:not(.route-simple) .nav {
        background: var(--surface-soft-strong);
        border-color: var(--border);
        color: var(--ink);
        box-shadow: var(--shadow);
    }

    body[data-theme="system"]:not(.route-simple) .station-map,
    body[data-theme="system"]:not(.route-simple) .map-fallback,
    body[data-theme="system"]:not(.route-simple) .map-search-suggestions,
    body[data-theme="system"]:not(.route-simple) .map-search-overlay input,
    body[data-theme="system"]:not(.route-simple) .comment-list,
    body[data-theme="system"]:not(.route-simple) .photo-gallery,
    body[data-theme="system"]:not(.route-simple) textarea,
    body[data-theme="system"]:not(.route-simple) input,
    body[data-theme="system"]:not(.route-simple) select {
        background: var(--surface-input);
        color: var(--ink);
        border-color: var(--border);
    }

    body[data-theme="system"]:not(.route-simple) .ghost-button,
    body[data-theme="system"]:not(.route-simple) .inline-link,
    body[data-theme="system"]:not(.route-simple) .hint,
    body[data-theme="system"]:not(.route-simple) .station-city,
    body[data-theme="system"]:not(.route-simple) .status-pill,
    body[data-theme="system"]:not(.route-simple) .subscription-user span,
    body[data-theme="system"]:not(.route-simple) .settings-disclaimer,
    body[data-theme="system"]:not(.route-simple) .settings-mini-card p,
    body[data-theme="system"]:not(.route-simple) .settings-candidate-head p,
    body[data-theme="system"]:not(.route-simple) .mobile-tabbar a {
        color: var(--muted);
    }

    body[data-theme="system"]:not(.route-simple) .nav a,
    body[data-theme="system"]:not(.route-simple) .ghost-button,
    body[data-theme="system"]:not(.route-simple) button {
        background: var(--surface-soft);
        border-color: var(--border);
        color: var(--ink);
    }

    body[data-theme="system"]:not(.route-simple) .nav a.is-active,
    body[data-theme="system"]:not(.route-simple) .nav a:hover,
    body[data-theme="system"]:not(.route-simple) .ghost-button:hover,
    body[data-theme="system"]:not(.route-simple) button,
    body[data-theme="system"]:not(.route-simple) .mobile-tabbar a.is-active {
        background: var(--accent);
        color: var(--accent-contrast);
    }
}

.route-simple {
    background: #0d0f11;
    color: #f5f7f8;
}

.topbar-simple {
    background: #111417;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.route-simple .topbar,
.route-simple .page,
.route-simple .mobile-tabbar {
    background: #0d0f11;
    color: #f5f7f8;
}

.route-simple .nav a,
.route-simple .brand,
.route-simple .nav-logout button,
.route-simple .mobile-tabbar a {
    color: #f5f7f8;
}

.route-simple .nav a,
.route-simple .nav-logout button,
.route-simple .nav-toggle {
    background: #171a1e;
    border-color: rgba(255, 255, 255, 0.12);
    color: #f5f7f8;
}

.route-simple .nav a.is-active,
.route-simple .nav a:hover,
.route-simple .nav-logout button:hover,
.route-simple .nav-toggle:hover {
    background: #f5f7f8;
    color: #111417;
    border-color: #f5f7f8;
}

.route-simple .mobile-tabbar {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.route-simple .mobile-tabbar a.is-active {
    background: rgba(245, 247, 248, 0.12);
    color: #f5f7f8;
}

.simple-page {
    min-height: calc(100vh - 7rem);
}

.simple-shell {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.simple-intro {
    display: grid;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.simple-intro h1 {
    margin: 0;
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.simple-status {
    margin: 0;
    color: rgba(245, 247, 248, 0.76);
    font-size: 1rem;
}

.simple-location-hint {
    margin: 0;
    color: rgba(245, 247, 248, 0.68);
    font-size: 0.95rem;
    max-width: 48rem;
}

.simple-location-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.simple-filter-shell {
    display: grid;
    gap: 0.85rem;
}

.simple-filter-summary {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1.1rem;
    border-radius: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #15181c;
}

.simple-filter-summary-copy {
    display: grid;
    gap: 0.18rem;
}

.simple-filter-summary-copy strong {
    font-size: 1rem;
    line-height: 1;
}

.simple-filter-summary-toggle {
    border-radius: 999px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: transparent;
    color: #f5f7f8;
}

.simple-filter-row {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.simple-filter-button,
.simple-primary-button,
.simple-secondary-button {
    border-radius: 999px;
    padding: 1rem 1.35rem;
    font: inherit;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.simple-filter-button {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #171a1e;
    color: #f5f7f8;
}

.simple-filter-button.is-active {
    background: #f5f7f8;
    color: #111417;
    border-color: #f5f7f8;
}

.simple-card-grid {
    display: grid;
    gap: 1rem;
}

.simple-station-card {
    background: #15181c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2rem;
    padding: 1.4rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: center;
}

.simple-station-card.is-loading,
.simple-station-card-empty {
    grid-template-columns: 1fr;
}

.simple-station-rank {
    font-size: clamp(2.8rem, 8vw, 5rem);
    line-height: 1;
    color: rgba(255, 255, 255, 0.22);
    letter-spacing: -0.06em;
    min-width: 4.2rem;
}

.simple-station-copy {
    display: grid;
    gap: 0.45rem;
}

.simple-station-copy h2 {
    margin: 0;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.simple-station-meta,
.simple-station-metrics span {
    color: rgba(245, 247, 248, 0.72);
}

.simple-station-metrics {
    display: grid;
    gap: 0.2rem;
}

.simple-station-metrics strong {
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    line-height: 1;
}

.simple-station-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.simple-primary-button {
    background: #f5f7f8;
    color: #111417;
    border: 1px solid #f5f7f8;
}

.simple-secondary-button {
    background: transparent;
    color: #f5f7f8;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.simple-footer-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.simple-qr-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    z-index: 1800;
}

.simple-qr-modal[aria-hidden="true"] {
    display: none;
}

.simple-qr-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 6, 8, 0.78);
    backdrop-filter: blur(8px);
}

.simple-qr-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 28rem);
    display: grid;
    gap: 1rem;
    padding: 1.4rem;
    border-radius: 2rem;
    background: #15181c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.simple-qr-close {
    justify-self: end;
    border-radius: 999px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: transparent;
    color: #f5f7f8;
}

.simple-qr-panel h2 {
    margin: 0;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
}

.simple-qr-image {
    display: block;
    width: min(100%, 18rem);
    margin: 0 auto;
    border-radius: 1rem;
    background: #ffffff;
}

@media (max-width: 900px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .hero,
    .dashboard-grid,
    .results-grid,
    .auth-layout,
    .station-card,
    .subscription-summary,
    .settings-layout,
    .settings-field-grid,
    .settings-metric-grid {
        grid-template-columns: 1fr;
    }

    .simple-station-card {
        grid-template-columns: 1fr;
    }

    .simple-filter-summary {
        display: flex;
    }

    .simple-filter-row[hidden] {
        display: none;
    }

    .simple-filter-shell:not(.is-open) .simple-filter-row {
        display: none;
    }

    .simple-filter-shell.is-open .simple-filter-row {
        display: flex;
    }

    .simple-station-actions {
        justify-content: stretch;
    }

    .simple-primary-button,
    .simple-secondary-button,
    .simple-filter-button {
        width: 100%;
        text-align: center;
    }

    .simple-qr-close {
        width: 100%;
    }

    .station-card {
        grid-template-columns: 1fr;
        grid-template-areas:
            "meta"
            "status"
            "actions";
        gap: 0.8rem;
        padding: 0.95rem;
    }

    .station-meta {
        display: grid;
        gap: 0.45rem;
    }

    .station-card h3 {
        font-size: 1.05rem;
        line-height: 1.1;
    }

    .station-city {
        margin-bottom: 0.2rem;
        font-size: 0.72rem;
    }

    .status-meta,
    .station-info-badges {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 0.15rem;
        margin-right: -0.15rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .status-meta::-webkit-scrollbar,
    .station-info-badges::-webkit-scrollbar {
        display: none;
    }

    .status-meta > *,
    .station-info-badges > * {
        flex: 0 0 auto;
    }

    .station-status {
        text-align: left;
        gap: 0.2rem;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        column-gap: 0.7rem;
        row-gap: 0.18rem;
    }

    .station-status small {
        display: inline;
    }

    .station-actions {
        justify-self: stretch;
        width: 100%;
    }

    .station-actions form,
    .station-actions > a {
        width: 100%;
    }

    .action-group {
        justify-content: flex-end;
        width: 100%;
    }

    .station-actions {
        display: grid;
        gap: 0.65rem;
    }

    .card-action {
        width: 100%;
    }

    .detail-card-top {
        flex-direction: column;
    }

    .detail-card-actions-top {
        width: 100%;
        justify-content: space-between;
    }

    .photo-form-grid {
        grid-template-columns: 1fr;
    }

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

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

    .detail-layout {
        gap: 0.65rem;
    }

    .detail-sheet {
        inset: auto 0 0 0;
    }

    .detail-sheet-panel {
        top: auto;
        left: 0.5rem;
        right: 0.5rem;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 5.2rem);
        max-height: 80dvh;
        gap: 0.35rem;
    }

    .detail-sheet-handle,
    .detail-sheet-backdrop {
        display: none;
    }

    .detail-card {
        max-height: min(62dvh, calc(100dvh - 10rem));
        padding: 0.75rem;
        border-radius: 1.2rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .detail-hero-shell,
    .detail-section,
    .detail-history-card,
    .detail-charge-card,
    .detail-status-details {
        gap: 0.65rem;
        padding: 0.75rem;
        border-radius: 1rem;
    }

    .detail-card h3 {
        font-size: 1.08rem;
        line-height: 1.18;
    }

    .detail-card .eyebrow,
    .detail-section .eyebrow,
    .detail-status-details > summary {
        color: #50635d !important;
    }

    .detail-section-head h4 {
        color: #122620 !important;
    }

    .detail-card-actions-top {
        align-items: center;
        gap: 0.45rem;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .detail-card-actions-top .action-group {
        flex: 1 1 auto;
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 0.1rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .detail-card-actions-top .action-group::-webkit-scrollbar {
        display: none;
    }

    .detail-card-actions-top .action-group > * {
        flex: 0 0 auto;
    }

    .detail-card-close {
        flex: 0 0 auto;
    }

    .detail-card-actions-top .charge-toggle-duration {
        min-width: 2.5rem;
        font-size: 0.68rem;
    }

    .detail-facts {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 0.1rem;
        margin-right: -0.1rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .detail-facts::-webkit-scrollbar {
        display: none;
    }

    .detail-facts > * {
        flex: 0 0 auto;
    }

    .detail-map-context {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
        padding: 0.75rem;
        display: none;
    }

    .detail-map-kicker {
        display: none;
    }

    .detail-map-focus {
        width: 100%;
    }

    .detail-highlight-grid,
    .detail-connector-summary-grid {
        grid-template-columns: 1fr;
    }

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

    .detail-highlight-card,
    .detail-meta-row,
    .detail-connector-summary-card {
        min-height: 0;
        padding: 0.75rem 0.8rem;
    }

    .detail-highlight-card strong,
    .detail-meta-row strong,
    .detail-connector-summary-copy strong {
        font-size: 0.9rem;
    }

    .detail-history-card,
    .detail-section-muted {
        display: none;
    }

    .detail-sheet-backdrop {
        background: rgba(18, 38, 32, 0.02);
    }

    .detail-charge-actions {
        grid-template-columns: 1fr;
    }

    .panel-heading {
        flex-direction: column;
        align-items: stretch;
    }

    .topbar {
        position: relative;
        z-index: 1300;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1rem 0.75rem;
    }

    .nav {
        display: none;
        position: absolute;
        top: calc(100% + 0.35rem);
        left: 1rem;
        right: 1rem;
        flex-direction: column;
        align-items: stretch;
        padding: 0.85rem;
        border: 1px solid var(--border);
        border-radius: 1.25rem;
        background: rgba(255, 250, 242, 0.96);
        box-shadow: var(--shadow);
        z-index: 1000;
    }

    .nav.is-open {
        display: flex;
    }

    .nav a {
        flex: 1 1 auto;
        text-align: center;
    }

    .nav-toggle {
        display: inline-flex;
        align-self: auto;
    }

    .nav-logout {
        width: 100%;
        justify-content: space-between;
        padding-top: 0.35rem;
    }

    .brand-logo {
        width: 9.5rem;
    }

    .page {
        width: min(1180px, calc(100% - 1rem));
        padding-bottom: 6.8rem;
    }

    .settings-page .subscription-summary,
    .settings-page .settings-layout,
    .settings-page .settings-field-grid,
    .settings-page .settings-metric-grid {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0.85rem;
    }

    .settings-page .subscription-user {
        justify-items: start;
        text-align: left;
    }

    .settings-page .summary-card,
    .settings-page .settings-section,
    .settings-page .settings-inline-list,
    .settings-page .settings-mini-card,
    .settings-page .notification-card {
        width: 100%;
        min-width: 0;
    }

    .settings-page,
    .settings-page .settings-layout,
    .settings-page .settings-section,
    .settings-page .settings-section-stack,
    .settings-page .settings-subsection,
    .settings-page .settings-panel-body,
    .settings-page .settings-inline-header,
    .settings-page .settings-mini-list {
        min-width: 0;
    }

    .settings-page .panel-heading {
        gap: 0.65rem;
    }

    .settings-page .summary-card {
        padding: 0.8rem 0.9rem;
    }

    .admin-page .subscription-summary,
    .admin-page .dashboard-grid {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0.85rem;
    }

    .admin-page .panel-heading {
        gap: 0.65rem;
    }

    .admin-page .subscription-user {
        justify-items: start;
        text-align: left;
    }

    .admin-page .summary-card,
    .admin-page .sidebar-panel,
    .admin-page .notification-card,
    .admin-page .admin-push-subscription,
    .admin-page .sync-form,
    .admin-page input,
    .admin-page select {
        width: 100%;
        min-width: 0;
    }

    .admin-page .summary-card {
        padding: 0.8rem 0.9rem;
    }

    .flash {
        position: fixed;
        top: 5.25rem;
        left: 0.85rem;
        right: 0.85rem;
        margin: 0;
        z-index: 1200;
        background: rgba(243, 224, 181, 0.96);
        box-shadow: 0 16px 36px rgba(18, 38, 32, 0.16);
        backdrop-filter: blur(10px);
    }

    .filter-toggle {
        display: inline-flex;
        align-self: flex-start;
    }

    .filter-card.is-collapsed {
        display: none;
    }

    .dashboard-grid-map .map-panel {
        padding: 1rem;
    }

    .dashboard-surface {
        padding: 0;
        border-radius: 1.5rem;
        background: transparent;
    }

    .dashboard-page {
        display: block;
        padding: 0;
        border-radius: 0;
    }

    .dashboard-grid-map .panel-heading {
        margin-bottom: 0.75rem;
    }

    .dashboard-grid-map .panel-heading h2 {
        font-size: clamp(2rem, 8vw, 2.8rem);
        line-height: 0.95;
    }

    .station-map {
        min-height: 34rem;
        height: 64vh;
    }

    .map-search-overlay {
        top: 0.75rem;
        left: 3rem;
        right: 4.75rem;
        width: auto;
    }

    .map-search-overlay.is-expanded {
        right: 4.75rem;
        width: auto;
    }

    .auth-logo {
        width: min(14rem, 68vw);
        margin-bottom: 0.85rem;
    }

    .detail-sheet-panel {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        max-width: none;
    }

    .map-toolbar {
        margin-top: 0.7rem;
        padding: 0.8rem;
        flex-wrap: wrap;
    }

    .map-toolbar-copy {
        min-width: 0;
    }

    .map-charge-summary {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
    }

    .map-toolbar-copy strong,
    .map-toolbar-copy span {
        overflow-wrap: anywhere;
    }

    .detail-card {
        max-height: 33vh;
        overflow: auto;
    }

    .settings-inline-header {
        flex-direction: column;
    }

    .mobile-tabbar {
        position: fixed;
        left: 0.75rem;
        right: 0.75rem;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 0.55rem);
        z-index: 1450;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.45rem;
        padding: 0.55rem;
        border-radius: 1.55rem;
        border: 1px solid rgba(18, 38, 32, 0.08);
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 18px 40px rgba(18, 38, 32, 0.14);
        backdrop-filter: blur(18px);
    }

    .mobile-tabbar a {
        display: grid;
        place-items: center;
        gap: 0.16rem;
        min-height: 3.8rem;
        padding: 0.5rem 0.35rem;
        border-radius: 1.1rem;
        color: var(--muted);
        text-align: center;
    }

    .mobile-tabbar a span {
        font-size: 1.08rem;
        line-height: 1;
    }

    .mobile-tabbar a strong {
        font-size: 0.74rem;
        font-weight: 700;
        letter-spacing: 0.01em;
    }

    .mobile-tabbar a.is-active {
        background: rgba(31, 111, 95, 0.12);
        color: var(--accent);
    }

    .route-dashboard .page {
        width: 100%;
        margin: 0;
        padding-bottom: 0;
    }

    .route-dashboard .flash {
        top: calc(env(safe-area-inset-top, 0px) + 4.8rem);
    }

    .route-dashboard .topbar-dashboard {
        position: fixed;
        top: calc(env(safe-area-inset-top, 0px) + 0.85rem);
        right: 0.85rem;
        left: auto;
        display: block;
        padding: 0;
        z-index: 1460;
        pointer-events: none;
    }

    .route-dashboard .topbar-dashboard .brand {
        display: none;
    }

    .route-dashboard .topbar-dashboard .nav-toggle {
        display: inline-flex;
        width: 3.45rem;
        height: 3.45rem;
        border-radius: 1.25rem;
        background: rgba(18, 38, 32, 0.76);
        border: 1px solid rgba(255, 255, 255, 0.08);
        color: #ffffff;
        box-shadow: 0 16px 30px rgba(18, 38, 32, 0.18);
        backdrop-filter: blur(16px);
        pointer-events: auto;
    }

    .route-dashboard .topbar-dashboard .nav {
        top: calc(100% + 0.55rem);
        left: auto;
        right: 0;
        width: min(18rem, calc(100vw - 1.5rem));
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 20px 40px rgba(18, 38, 32, 0.16);
        backdrop-filter: blur(16px);
        pointer-events: auto;
    }

    .route-dashboard .dashboard-page {
        margin: 0;
        min-height: 100dvh;
    }

    .route-dashboard .dashboard-map-shell {
        margin: 0;
    }

    .route-dashboard .dashboard-map-shell .map-panel {
        position: relative;
        top: auto;
        min-height: 100dvh;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: #ffffff;
    }

    .route-dashboard .dashboard-map-shell .panel-heading {
        display: none;
    }

    .route-dashboard .dashboard-map-shell .map-frame {
        min-height: 100dvh;
        height: 100dvh;
    }

    .route-dashboard .dashboard-map-shell .station-map {
        height: 100dvh;
        min-height: 100dvh;
        border: 0;
        border-radius: 0;
    }

    .route-dashboard .map-search-overlay {
        top: calc(env(safe-area-inset-top, 0px) + 0.85rem);
        left: 4rem;
        right: 5.15rem;
        width: auto;
        z-index: 920;
    }

    .route-dashboard .map-search-overlay.is-expanded {
        right: 5.15rem;
        width: auto;
    }

    .route-dashboard .map-search-overlay input {
        min-height: 3.45rem;
        padding-right: 3.15rem;
        border-radius: 1.25rem;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(16px);
    }

    .route-dashboard .map-action-rail {
        right: 1rem;
        top: calc(env(safe-area-inset-top, 0px) + 5.35rem);
        z-index: 930;
        gap: 0.75rem;
    }

    .route-dashboard .map-action-button {
        width: 3.15rem;
        height: 3.15rem;
        border-radius: 1.15rem;
        background: rgba(18, 38, 32, 0.72);
        box-shadow: 0 14px 28px rgba(18, 38, 32, 0.22);
    }

    .route-dashboard .map-toolbar {
        display: none;
    }

    .route-dashboard .map-toolbar-copy {
        min-width: 0;
        flex: 1 1 0;
    }

    .route-dashboard .map-charge-summary {
        width: auto;
        min-width: 0;
        flex: 1 1 100%;
    }

    .route-dashboard .dashboard-browser {
        position: fixed;
        left: 0;
        right: 0;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 5.75rem);
        z-index: 940;
        border-radius: 1.7rem 1.7rem 0 0;
        border: 1px solid rgba(18, 38, 32, 0.08);
        background: rgba(255, 255, 255, 0.97);
        color: var(--ink);
        box-shadow: 0 -18px 34px rgba(18, 38, 32, 0.14);
        backdrop-filter: blur(18px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(calc(100% + 2rem));
        transition: transform 220ms ease, opacity 180ms ease, visibility 0s linear 220ms;
        display: block;
    }

    .route-dashboard .dashboard-browser[data-mobile-sheet-open="true"] {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition: transform 220ms ease, opacity 180ms ease;
    }

    .route-dashboard .mobile-sheet-toggle {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.85rem;
        width: 100%;
        margin: 0;
        padding: 0.9rem 1rem 1rem;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: var(--ink);
        box-shadow: none;
    }

    .route-dashboard .mobile-sheet-toggle:hover {
        background: transparent;
        color: var(--ink);
    }

    .route-dashboard .mobile-sheet-toggle-handle {
        flex: 0 0 auto;
        width: 2.8rem;
        height: 0.3rem;
        margin-top: 0.45rem;
        border-radius: 999px;
        background: rgba(18, 38, 32, 0.18);
    }

    .route-dashboard .mobile-sheet-toggle-copy {
        display: grid;
        gap: 0.12rem;
        text-align: left;
        flex: 1 1 auto;
    }

    .route-dashboard .mobile-sheet-toggle-copy strong {
        font-family: "Space Grotesk", "Segoe UI", sans-serif;
        font-size: 0.9rem;
    }

    .route-dashboard .mobile-sheet-close {
        flex: 0 0 auto;
        padding: 0.65rem 0.95rem;
        background: rgba(255, 255, 255, 0.92);
        color: var(--ink);
        border-color: rgba(18, 38, 32, 0.08);
    }

    .route-dashboard .dashboard-browser-body {
        display: grid;
        gap: 1rem;
        max-height: calc(72vh - 4rem);
        padding: 0 1rem 1rem;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    .route-dashboard .dashboard-browser .station-section {
        position: static;
        max-height: none;
        overflow: visible;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .route-dashboard .dashboard-browser .sidebar-panel {
        display: none;
        grid-area: auto;
    }

    .route-dashboard .dashboard-browser .panel-actions {
        display: none;
    }

    .route-dashboard .dashboard-browser .panel-heading {
        padding: 0 0.1rem 0.2rem;
        margin-bottom: 0.35rem;
    }

    .route-dashboard .dashboard-browser .panel-heading h2,
    .route-dashboard .dashboard-browser .station-city,
    .route-dashboard .dashboard-browser .hint,
    .route-dashboard .dashboard-browser .station-meta p:last-child,
    .route-dashboard .dashboard-browser .station-status small {
        color: var(--muted);
    }

    .route-dashboard .dashboard-browser .eyebrow {
        color: var(--accent);
    }

    .route-dashboard .dashboard-browser .station-card {
        padding: 1rem 0.15rem;
        border: 0;
        border-bottom: 1px solid rgba(18, 38, 32, 0.08);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .route-dashboard .dashboard-browser .station-card:last-child {
        border-bottom: 0;
    }

    .route-dashboard .dashboard-browser .station-card.is-selected,
    .route-dashboard .dashboard-browser .station-card.is-nearest {
        border-color: rgba(31, 111, 95, 0.24);
        background: rgba(31, 111, 95, 0.05);
    }

    .route-dashboard .dashboard-browser .station-card h3 {
        font-size: 1.06rem;
        line-height: 1.2;
        color: var(--ink);
    }

.route-dashboard .dashboard-browser .status-pill,
.route-dashboard .dashboard-browser .station-live,
.route-dashboard .dashboard-browser .info-badge {
    background: rgba(18, 38, 32, 0.06);
    color: var(--ink);
    white-space: nowrap;
}

    .route-dashboard .dashboard-browser .status-available,
    .route-dashboard .dashboard-browser .station-live-live,
    .route-dashboard .dashboard-browser .info-badge-accent {
        background: rgba(31, 111, 95, 0.12);
        color: var(--accent);
    }

    .route-dashboard .dashboard-browser .status-full {
        background: rgba(162, 62, 43, 0.12);
        color: var(--danger);
    }

    .route-dashboard .dashboard-browser .status-limited,
    .route-dashboard .dashboard-browser .info-badge-rating {
        background: rgba(184, 120, 32, 0.14);
        color: var(--warn);
    }

    .route-dashboard .dashboard-browser .action-group {
        justify-content: flex-start;
        width: auto;
        flex-wrap: nowrap;
        gap: 0.45rem;
    }

    .route-dashboard .dashboard-browser .icon-button {
        background: rgba(255, 255, 255, 0.92);
        color: var(--ink);
        border-color: rgba(18, 38, 32, 0.08);
    }

    .route-dashboard .dashboard-browser .station-actions {
        display: block;
        width: auto;
        justify-self: start;
    }

.route-dashboard .dashboard-browser .station-actions form,
.route-dashboard .dashboard-browser .station-actions > a {
    width: auto;
}

.route-dashboard .dashboard-browser .station-info-badges {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.15rem;
    margin-right: -0.15rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.route-dashboard .dashboard-browser .station-info-badges::-webkit-scrollbar {
    display: none;
}

.route-dashboard .dashboard-browser .station-info-badges > * {
    flex: 0 0 auto;
}

.route-dashboard .dashboard-browser-body::after {
    content: "";
    display: block;
    height: 0.25rem;
}

    .route-dashboard .detail-sheet-panel {
        left: 0.75rem;
        right: 0.75rem;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 6rem);
        max-height: 80dvh;
    }

    .route-dashboard .park-modal-panel {
        left: 0.75rem;
        right: 0.75rem;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 6rem);
        max-height: calc(100dvh - 11rem);
        overflow: auto;
        padding: 1rem;
    }

    .route-dashboard .park-modal-card {
        padding: 1rem;
    }

    .route-dashboard .park-modal .nav-modal-actions {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .route-dashboard .park-modal .card-action {
        min-height: 3.2rem;
        padding-block: 0.8rem;
    }

    .route-dashboard .filter-modal {
        position: fixed;
        inset: 0;
        z-index: 1480;
        display: block;
        pointer-events: none;
    }

    .route-dashboard .filter-modal-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(18, 38, 32, 0.16);
        opacity: 0;
        transition: opacity 180ms ease;
    }

    .route-dashboard .filter-modal-panel {
        position: absolute;
        left: 0.75rem;
        right: 0.75rem;
        top: calc(env(safe-area-inset-top, 0px) + 5.2rem);
        bottom: calc(env(safe-area-inset-bottom, 0px) + 6rem);
        padding: 1rem;
        border-radius: 1.5rem;
        border: 1px solid rgba(18, 38, 32, 0.08);
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 18px 34px rgba(18, 38, 32, 0.18);
        transform: translateY(1rem);
        opacity: 0;
        transition: transform 180ms ease, opacity 180ms ease;
        overflow: auto;
    }

    .route-dashboard .filter-modal[aria-hidden="false"] {
        pointer-events: auto;
    }

    .route-dashboard .filter-modal[aria-hidden="false"] .filter-modal-backdrop,
    .route-dashboard .filter-modal[aria-hidden="false"] .filter-modal-panel {
        opacity: 1;
    }

    .route-dashboard .filter-modal[aria-hidden="false"] .filter-modal-panel {
        transform: translateY(0);
    }

    .route-dashboard .filter-modal-body,
    .route-dashboard .filter-modal-mirror {
        display: grid;
        gap: 1rem;
    }

    .route-dashboard .filter-modal-close {
        justify-self: end;
    }

    .route-dashboard .filter-modal-mirror .sidebar-panel {
        display: grid;
        padding: 0;
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .route-dashboard .filter-modal-mirror .membership-card,
    .route-dashboard .filter-modal-mirror .notification-card {
        margin: 0;
    }

    .route-dashboard .filter-modal-mirror .panel-heading,
    .route-dashboard .filter-modal-mirror .eyebrow,
    .route-dashboard .filter-modal-mirror .panel-heading h2,
    .route-dashboard .filter-modal-mirror .filter-toggle {
        display: none;
    }

.route-dashboard .filter-modal-mirror .filter-card {
        padding-top: 0;
    }
}

.subscription-mode-form {
    display: grid;
    gap: 0.65rem;
    width: 100%;
    margin-top: 0.85rem;
}

.subscription-mode-form-inline {
    margin-top: 1rem;
}

.subscription-mode-field {
    display: grid;
    gap: 0.35rem;
    width: 100%;
    font-size: 0.92rem;
    color: var(--muted);
}

.subscription-mode-field span {
    font-weight: 600;
}

.subscription-mode-button {
    justify-self: start;
}

.subscription-mode-description {
    margin-top: 0.55rem;
}

@media (max-width: 720px) {
    .settings-page .settings-mini-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.9rem;
        align-items: start;
    }

    .settings-page .settings-mini-link,
    .settings-page .subscription-mode-form,
    .settings-page .subscription-mode-description {
        grid-column: 1 / -1;
        min-width: 0;
    }

    .settings-page .settings-mini-link,
    .settings-page .subscription-mode-form {
        margin: 0;
    }

    .settings-page .subscription-mode-form-inline {
        margin-top: 0;
    }

    .settings-page .subscription-mode-button {
        width: 100%;
        justify-self: stretch;
    }

    .settings-page .subscription-mode-field select {
        width: 100%;
        min-width: 0;
    }

    .settings-page .subscription-mode-description {
        margin-top: 0;
    }

    .settings-page .settings-mini-card > form[action*="/delete"] {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
        justify-self: end;
        margin: 0;
        width: auto;
    }

    .settings-page .settings-mini-card strong,
    .settings-page .settings-mini-card p {
        overflow-wrap: anywhere;
    }

    .settings-page .settings-mini-card .status-meta {
        flex-wrap: wrap;
    }
}

@media (min-width: 721px) {
    .subscription-mode-form-inline {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }
}

body[data-theme="dark"]:not(.route-simple) .dashboard-page .map-panel,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .sidebar-panel,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .station-section,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .station-card,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .filter-card,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .membership-card,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .notification-card,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .inline-link,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .ghost-button,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .checkbox-row,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .map-search-overlay input,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .map-search-suggestions,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-card-close,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .map-fallback {
    background: var(--surface-soft-strong);
    border-color: var(--border);
    color: var(--ink);
}

body[data-theme="dark"]:not(.route-simple) .dashboard-page .map-panel,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .sidebar-panel,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .station-section,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .station-card,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .filter-card,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .membership-card,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .notification-card {
    box-shadow: var(--shadow);
}

body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-card,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-hero-shell,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-section,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-history-card,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-charge-card,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-status-details,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-highlight-card,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-meta-row,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-connector-summary-card,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-connector-group,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-map-context {
    color: #122620;
}

body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-card h3,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-hero-subline,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-meta-row strong,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-highlight-card strong,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-connector-summary-copy strong,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-connector-group-head strong,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-connector-row strong,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-section-head h4,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-map-context-copy strong,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-status-details > summary {
    color: #122620;
}

body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-hero-address,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-meta-row span,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-highlight-label,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-connector-summary-copy span,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-connector-group-head span,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-connector-row span:not(.detail-pill),
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-map-context-copy span:last-child,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-pill,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .hint {
    color: #50635d;
}

body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-map-kicker,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-card .eyebrow {
    color: #1f6f5f;
}

body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-card .status-pill,
body[data-theme="dark"]:not(.route-simple) .dashboard-page .detail-card .station-live {
    color: #122620;
}

@media (prefers-color-scheme: dark) {
    body[data-theme="system"]:not(.route-simple) .dashboard-page .map-panel,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .sidebar-panel,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .station-section,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .station-card,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .filter-card,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .membership-card,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .notification-card,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .inline-link,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .ghost-button,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .checkbox-row,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .map-search-overlay input,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .map-search-suggestions,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-card-close,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .map-fallback {
        background: var(--surface-soft-strong);
        border-color: var(--border);
        color: var(--ink);
    }

    body[data-theme="system"]:not(.route-simple) .dashboard-page .map-panel,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .sidebar-panel,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .station-section,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .station-card,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .filter-card,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .membership-card,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .notification-card {
        box-shadow: var(--shadow);
    }

    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-card,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-hero-shell,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-section,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-history-card,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-charge-card,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-status-details,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-highlight-card,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-meta-row,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-connector-summary-card,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-connector-group,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-map-context {
        color: #122620;
    }

    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-card h3,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-hero-subline,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-meta-row strong,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-highlight-card strong,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-connector-summary-copy strong,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-connector-group-head strong,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-connector-row strong,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-section-head h4,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-map-context-copy strong,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-status-details > summary {
        color: #122620;
    }

    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-hero-address,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-meta-row span,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-highlight-label,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-connector-summary-copy span,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-connector-group-head span,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-connector-row span:not(.detail-pill),
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-map-context-copy span:last-child,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-pill,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .hint {
        color: #50635d;
    }

    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-map-kicker,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-card .eyebrow {
        color: #1f6f5f;
    }

    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-card .status-pill,
    body[data-theme="system"]:not(.route-simple) .dashboard-page .detail-card .station-live {
        color: #122620;
    }
}

/* Detail sheet: final simplified override */
.dashboard-page .detail-card,
.dashboard-page .detail-hero-shell,
.dashboard-page .detail-section,
.dashboard-page .detail-history-card,
.dashboard-page .detail-charge-card,
.dashboard-page .detail-status-details,
.dashboard-page .detail-highlight-card,
.dashboard-page .detail-meta-row,
.dashboard-page .detail-connector-summary-card,
.dashboard-page .detail-connector-group,
.dashboard-page .detail-map-context {
    background: #ffffff !important;
    background-image: none !important;
    box-shadow: none !important;
    color: #122620 !important;
}

.dashboard-page .detail-card {
    background: #f6f4ef !important;
}

.dashboard-page .detail-map-context {
    background: #eef4f1 !important;
}

.dashboard-page .detail-section-featured,
.dashboard-page .detail-section-muted,
.dashboard-page .detail-connector-group-head {
    background: #ffffff !important;
    background-image: none !important;
}

.dashboard-page .detail-connector-group-head {
    background: #f4f6f4 !important;
}

.dashboard-page .detail-pill,
.dashboard-page .detail-pill-muted,
.dashboard-page .detail-pill-rating {
    background: #edf0eb !important;
    color: #50635d !important;
}

.dashboard-page .detail-card .status-pill,
.dashboard-page .detail-card .station-live {
    color: #122620 !important;
}

.dashboard-page .detail-card .station-live-live {
    background: #dff0e6 !important;
    color: #1f6f5f !important;
}

.dashboard-page .detail-card .station-live-muted,
.dashboard-page .detail-card .status-no_live_data {
    background: #ecefed !important;
    color: #50635d !important;
}

.dashboard-page .detail-card h3,
.dashboard-page .detail-hero-subline,
.dashboard-page .detail-meta-row strong,
.dashboard-page .detail-highlight-card strong,
.dashboard-page .detail-connector-summary-copy strong,
.dashboard-page .detail-connector-group-head strong,
.dashboard-page .detail-connector-row strong,
.dashboard-page .detail-section-head h4,
.dashboard-page .detail-map-context-copy strong,
.dashboard-page .detail-status-details > summary {
    color: #122620 !important;
}

.dashboard-page .detail-hero-address,
.dashboard-page .detail-meta-row span,
.dashboard-page .detail-highlight-label,
.dashboard-page .detail-connector-summary-copy span,
.dashboard-page .detail-connector-group-head span,
.dashboard-page .detail-connector-row span:not(.detail-pill),
.dashboard-page .detail-map-context-copy span:last-child,
.dashboard-page .detail-pill,
.dashboard-page .detail-history-empty,
.dashboard-page .hint {
    color: #50635d !important;
}

.dashboard-page .detail-highlight-icon,
.dashboard-page .detail-map-kicker,
.dashboard-page .detail-card .eyebrow {
    color: #1f6f5f !important;
}

.dashboard-page .detail-highlight-icon,
.dashboard-page .detail-connector-summary-icon {
    background: rgba(31, 111, 95, 0.12) !important;
}

.dashboard-page .detail-map-focus {
    background: #2f353a !important;
    color: #ffffff !important;
    border-color: #2f353a !important;
}
