:root {
            color-scheme: dark;
            --bg: #08131a;
            --bg-top: #102531;
            --panel: rgba(13, 27, 36, 0.92);
            --panel-strong: rgba(17, 36, 47, 0.98);
            --line: rgba(139, 178, 194, 0.16);
            --text: #edf6fb;
            --muted: #8ea8b4;
            --accent: #66d7c4;
            --accent-soft: rgba(102, 215, 196, 0.12);
            --metric-glow: rgba(74, 170, 213, 0.18);
            --metric-bg: linear-gradient(180deg, rgba(21, 43, 58, 0.92) 0%, rgba(11, 24, 33, 0.96) 100%);
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            font-family: "Trebuchet MS", Arial, sans-serif;
            background:
                radial-gradient(circle at top left, rgba(102, 215, 196, 0.18) 0, transparent 28%),
                radial-gradient(circle at top right, rgba(74, 170, 213, 0.18) 0, transparent 24%),
                linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 100%);
            color: var(--text);
        }

        .page {
            max-width: 1100px;
            margin: 0 auto;
            padding: 32px 20px 48px;
        }

        .hero {
            margin-bottom: 28px;
        }

        .home-legacy-hero {
            margin-bottom: 12px;
        }

        .home-legacy-hero > :not(.topbar) {
            display: none;
        }

        .site-test-banner {
            margin: 0;
            padding: 8px 16px;
            background: #3d4a1f;
            color: #e8f0c8;
            text-align: center;
            font-size: 0.88rem;
            font-weight: 600;
            letter-spacing: 0.01em;
        }

        .admin-banner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px 16px;
            flex-wrap: wrap;
            width: 100%;
            margin-bottom: 16px;
            padding: 10px 16px;
            border: 1px solid rgba(220, 96, 96, 0.28);
            border-radius: 8px;
            background: linear-gradient(180deg, rgba(92, 28, 32, 0.88) 0%, rgba(64, 20, 26, 0.9) 100%);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
        }

        .admin-banner.is-collapsed {
            display: none;
        }

        .admin-banner-act-as {
            display: flex;
            align-items: center;
            gap: 8px;
            margin: 0;
        }

        .admin-banner-act-as-label {
            color: #f3c4c4;
            font-weight: 600;
            font-size: 0.86rem;
        }

        .admin-banner-act-as-select {
            min-width: 10rem;
            max-width: 16rem;
            padding: 5px 8px;
            border: 1px solid rgba(220, 96, 96, 0.35);
            border-radius: 8px;
            background: rgba(8, 17, 24, 0.55);
            color: #fff5f5;
            font: inherit;
        }

        .admin-banner-act-as-select option.admin-banner-act-as-me {
            color: #66d7c4;
            font-weight: 700;
        }

        .admin-banner-links {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 8px 16px;
            flex-wrap: wrap;
            margin-left: auto;
        }

        .admin-banner-link {
            color: #f3c4c4;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.92rem;
            padding: 5px 12px;
            border-radius: 8px;
        }

        .admin-banner-link:hover,
        .admin-banner-link.is-active {
            color: #fff5f5;
            background: rgba(255, 160, 160, 0.14);
        }

        .topbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
            margin-bottom: 12px;
            flex-wrap: wrap;
        }

        .portal-nav {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            font-size: 0.92rem;
        }

        .portal-nav-user {
            color: var(--muted);
            max-width: 240px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .portal-nav-user-actor {
            color: #f26a6a;
            font-weight: 700;
        }

        .portal-nav-link {
            color: var(--accent);
            text-decoration: none;
            font-weight: 600;
        }

        .portal-nav-link:hover {
            text-decoration: underline;
        }

        .portal-nav-form {
            display: inline;
            margin: 0;
        }

        .portal-nav-button {
            background: transparent;
            border: 1px solid var(--line);
            color: var(--text);
            border-radius: 8px;
            padding: 6px 12px;
            font: inherit;
            cursor: pointer;
        }

        .portal-nav-button:hover {
            border-color: rgba(102, 215, 196, 0.45);
            color: var(--accent);
        }

        .portal-nav-button-admin,
        .portal-page .portal-nav-button-admin {
            color: #f3c4c4;
            border-color: rgba(220, 96, 96, 0.45);
            background: linear-gradient(180deg, rgba(92, 28, 32, 0.88) 0%, rgba(64, 20, 26, 0.9) 100%);
        }

        .portal-nav-button-admin:hover,
        .portal-page .portal-nav-button-admin:hover {
            color: #fff5f5;
            border-color: rgba(220, 96, 96, 0.7);
            background: linear-gradient(180deg, rgba(110, 36, 40, 0.94) 0%, rgba(78, 24, 30, 0.94) 100%);
        }

        .portal-form {
            max-width: 420px;
            display: flex;
            flex-direction: column;
            gap: 14px;
            margin-top: 8px;
        }

        .form-field {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .form-label {
            font-size: 0.88rem;
            color: var(--muted);
        }

        .form-check {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--text);
            font-size: 0.94rem;
        }

        .form-check input {
            width: 18px;
            height: 18px;
            margin: 0;
            accent-color: var(--accent);
        }

        .form-check.is-disabled {
            color: rgba(139, 178, 194, 0.58);
            cursor: not-allowed;
        }

        .form-check.is-disabled input {
            accent-color: rgba(139, 178, 194, 0.48);
            cursor: not-allowed;
        }

        .station-display-options-row {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 10px 22px;
        }

        .station-compass-editor {
            display: grid;
            grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
            gap: 18px;
            align-items: start;
            margin-top: 4px;
        }

        .station-compass-preview {
            padding: 16px;
            border: 1px solid rgba(130, 176, 196, 0.14);
            border-radius: 12px;
            background: rgba(9, 20, 27, 0.42);
        }

        .station-settings-compass {
            width: min(300px, 100%);
            height: auto;
            aspect-ratio: 1;
            cursor: crosshair;
        }

        .station-preview-arrow {
            left: calc(50% - 35px);
            top: calc(50% + 27px);
            transform: translate(-50%, -50%) rotate(38deg);
        }

        .station-compass-controls {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .zone-editor-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .zone-editor-row {
            display: flex;
            flex-direction: column;
            gap: 10px;
            padding: 10px;
            border: 1px solid rgba(130, 176, 196, 0.13);
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.025);
        }

        .zone-editor-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            color: var(--text);
            font-weight: 700;
        }

        .zone-editor-head label {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .zone-part-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .zone-part-row {
            display: grid;
            grid-template-columns: minmax(108px, 1fr) minmax(84px, 110px) minmax(84px, 110px);
            gap: 10px;
            align-items: end;
            padding: 8px;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.022);
        }

        .zone-editor-select {
            display: flex;
            align-items: center;
            gap: 8px;
            min-height: 40px;
            color: var(--text);
            font-size: 0.94rem;
        }

        .zone-editor-select label {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .zone-editor-select input {
            width: 16px;
            height: 16px;
            margin: 0;
            accent-color: var(--accent);
        }

        .zone-part-red .zone-editor-select {
            color: #ff8585;
        }

        .zone-part-yellow .zone-editor-select {
            color: #ffd46a;
        }

        .zone-part-green .zone-editor-select {
            color: #8de6a7;
        }

        .zone-editor-row.is-disabled {
            opacity: 0.54;
        }

        .zone-editor-row.is-disabled .zone-part-list {
            display: none;
        }

        .form-input {
            border-radius: 10px;
            border: 1px solid var(--line);
            background: rgba(9, 20, 27, 0.65);
            color: var(--text);
            padding: 10px 12px;
            font: inherit;
        }

        .form-input:focus {
            outline: 2px solid rgba(102, 215, 196, 0.35);
            outline-offset: 1px;
        }

        .form-submit {
            align-self: flex-start;
            border: none;
            border-radius: 10px;
            background: linear-gradient(180deg, rgba(102, 215, 196, 0.95), rgba(74, 170, 213, 0.85));
            color: #061018;
            font-weight: 700;
            padding: 10px 20px;
            cursor: pointer;
        }

        .form-secondary-button {
            align-self: flex-start;
            border: 1px solid rgba(102, 215, 196, 0.28);
            border-radius: 10px;
            background: rgba(9, 20, 27, 0.62);
            color: var(--text);
            padding: 9px 12px;
            font: 700 0.9rem/1 Arial, sans-serif;
            cursor: pointer;
        }

        .form-secondary-button:hover,
        .form-secondary-button:focus-visible {
            border-color: rgba(102, 215, 196, 0.58);
            outline: none;
        }

        .form-secondary-button:disabled {
            border-color: rgba(130, 176, 196, 0.12);
            background: rgba(255, 255, 255, 0.035);
            color: rgba(139, 178, 194, 0.56);
            cursor: not-allowed;
        }

        .station-location-editor {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin: 14px 0 4px;
            padding: 12px;
            border: 1px solid rgba(130, 176, 196, 0.16);
            border-radius: 10px;
            background: rgba(9, 20, 27, 0.34);
        }

        .station-location-editor-head h3 {
            margin: 0 0 5px;
            font-size: 0.98rem;
        }

        .station-location-editor-head .form-hint {
            margin: 0;
        }

        .station-location-actions {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 10px;
        }

        .station-location-status {
            min-height: 1.35em;
        }

        .station-identity-panel {
            display: grid;
            grid-template-columns: 1fr;
            gap: 10px;
            padding: 12px;
            border: 1px solid rgba(130, 176, 196, 0.14);
            border-radius: 10px;
            background: rgba(9, 20, 27, 0.42);
        }

        @media (min-width: 640px) {
            .station-identity-panel {
                grid-template-columns: minmax(6.5rem, 0.7fr) minmax(18rem, 2.2fr) minmax(6.5rem, 0.8fr);
            }
        }

        .station-identity-item {
            display: flex;
            flex-direction: column;
            gap: 5px;
            min-height: 64px;
            justify-content: center;
            padding: 10px;
            border-radius: 8px;
            border: 1px solid rgba(139, 178, 194, 0.12);
            background: rgba(255, 255, 255, 0.025);
        }

        .station-identity-item span {
            color: var(--muted);
            font-size: 0.8rem;
        }

        .station-identity-item strong {
            font-size: 1rem;
        }

        .station-identity-item.is-ok strong {
            color: #8de6a7;
        }

        .station-identity-item.is-warn strong {
            color: #ffd46a;
        }

        .station-identity-item.is-error strong {
            color: #ff8585;
        }

        .station-identity-item .form-input {
            width: 100%;
            min-width: 0;
            font-size: 0.95rem;
        }

        .station-identity-item-node.is-ok .form-input {
            color: var(--text);
        }

        .station-identity-item-node .form-input.node-status-ok,
        .station-identity-item-node option.node-status-ok {
            color: #8de6a7;
        }

        .station-identity-item-node .form-input.node-status-warn,
        .station-identity-item-node option.node-status-warn {
            color: #ffd46a;
        }

        .station-identity-item-node .form-input.node-status-error,
        .station-identity-item-node option.node-status-error {
            color: #ff8585;
        }

        .station-identity-item-node .form-input.node-status-unknown,
        .station-identity-item-node option.node-status-unknown {
            color: var(--muted);
        }

        .station-identity-item.is-ok .form-input {
            color: #8de6a7;
        }

        .station-identity-item.is-error .form-input {
            color: #ff8585;
        }

        .station-identity-node-hint {
            margin: 0;
            grid-column: 1 / -1;
            font-size: 0.8rem;
        }

        .station-link-editor {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .wind-speed-alert-editor {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .form-submit:hover {
            filter: brightness(1.05);
        }

        .form-error {
            color: #ff9389;
            margin: 0 0 4px;
            font-size: 0.95rem;
        }

        .form-success {
            color: #66d7c4;
            margin: 0 0 4px;
            font-size: 0.95rem;
        }

        .form-hint {
            font-size: 0.85rem;
            color: var(--muted);
            margin: 0;
        }

        .portal-wide-form {
            max-width: 760px;
        }

        .portal-form-row {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 14px;
            align-items: end;
        }

        .portal-form-actions {
            display: flex;
            align-items: center;
        }

        .portal-guest-create {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            align-items: end;
            margin-top: 12px;
            max-width: none;
        }

        .portal-page .portal-guest-create {
            padding: 0;
            border: none;
            background: transparent;
            box-shadow: none;
        }

        .portal-guest-create .portal-guest-days {
            flex: 0 0 88px;
            width: 88px;
        }

        .portal-guest-create .portal-guest-network {
            flex: 0 1 160px;
            min-width: 120px;
        }

        .portal-guest-create .portal-guest-label {
            flex: 1 1 160px;
            min-width: 140px;
        }

        .portal-guest-create .form-submit {
            flex: 0 0 auto;
            align-self: end;
            padding: 9px 14px;
            white-space: nowrap;
        }

        .portal-panel {
            border: 1px solid var(--line);
            background: rgba(13, 27, 36, 0.78);
            border-radius: 8px;
            padding: 16px;
            box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
        }

        .portal-panel-head {
            display: flex;
            justify-content: space-between;
            gap: 14px;
            align-items: baseline;
            margin-bottom: 12px;
        }

        .portal-panel-head h2 {
            margin: 0;
            font-size: 1.05rem;
        }

        .portal-panel-head span {
            color: var(--muted);
            font-size: 0.86rem;
        }

        .portal-map-panel {
            margin: 18px 0;
        }

        .portal-map {
            width: 100%;
            aspect-ratio: 900 / 420;
            min-height: 260px;
            display: block;
            border: 1px solid rgba(139, 178, 194, 0.12);
            border-radius: 8px;
            background: radial-gradient(circle at 50% 45%, rgba(102, 215, 196, 0.08), rgba(7, 17, 24, 0.72) 62%);
        }

        .portal-map-station-boundary {
            fill: rgba(102, 215, 196, 0.07);
            stroke: rgba(102, 215, 196, 0.56);
            stroke-width: 2;
            stroke-dasharray: 8 7;
        }

        .portal-map-soft-edge {
            stroke: rgba(240, 244, 246, 0.34);
            stroke-width: 2;
        }

        .portal-map-node circle {
            stroke: rgba(240, 244, 246, 0.48);
            stroke-width: 2;
        }

        .portal-map-node-node circle {
            fill: #4aaad5;
        }

        .portal-map-node-sensor circle {
            fill: #6bd47f;
        }

        .portal-map-node text {
            fill: #061018;
            font-size: 13px;
            font-weight: 800;
            text-anchor: middle;
            pointer-events: none;
        }

        .portal-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
            margin-top: 16px;
        }

        .portal-list {
            display: grid;
            gap: 10px;
        }

        .portal-list-item {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            align-items: center;
            padding: 12px;
            border-radius: 8px;
            border: 1px solid rgba(139, 178, 194, 0.14);
            background: rgba(8, 17, 24, 0.48);
            color: var(--text);
            text-decoration: none;
        }

        .portal-list-item:hover {
            border-color: rgba(102, 215, 196, 0.42);
            background: rgba(102, 215, 196, 0.08);
        }

        .portal-list-item strong,
        .portal-list-item em {
            display: block;
        }

        .portal-list-item em {
            color: var(--muted);
            font-size: 0.85rem;
            font-style: normal;
            margin-top: 3px;
        }

        .portal-page .portal-node-firmware {
            display: block;
            color: var(--muted);
            font-size: 0.85rem;
            margin-top: 3px;
        }

        .portal-page .portal-node-firmware.is-outdated {
            color: #ff7777;
            font-weight: 700;
        }

        .portal-pill {
            border: 1px solid rgba(102, 215, 196, 0.34);
            color: var(--accent);
            border-radius: 999px;
            padding: 5px 9px;
            font-size: 0.76rem;
            font-weight: 700;
            white-space: nowrap;
        }

        .portal-config-preview {
            border: 1px solid rgba(139, 178, 194, 0.16);
            border-radius: 8px;
            padding: 12px;
            background: rgba(8, 17, 24, 0.5);
        }

        .portal-config-preview strong {
            display: block;
            margin-bottom: 8px;
        }

        .portal-config-preview pre,
        .form-codearea {
            font-family: Consolas, "Liberation Mono", monospace;
        }

        .portal-config-preview pre {
            margin: 0;
            color: var(--muted);
            white-space: pre-wrap;
        }

        body.portal-page {
            font-family: "Trebuchet MS", Arial, sans-serif;
            background:
                radial-gradient(circle at top left, rgba(102, 215, 196, 0.16) 0, transparent 28%),
                radial-gradient(circle at top right, rgba(74, 170, 213, 0.14) 0, transparent 24%),
                linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 100%);
            color: var(--text);
        }

        .portal-page .page {
            max-width: 1180px;
            padding-top: 32px;
        }

        .portal-page .hero {
            margin-bottom: 26px;
            padding: 0 18px 18px;
        }

        @media (max-width: 620px) {
            .portal-page .hero {
                padding: 0 16px 16px;
            }
        }

        /* The shared site header replaces the hidden legacy hero label. */
        .bakvind-site:not(.explorer-preview) .topbar:not(:has(.portal-nav)) {
            display: none;
        }

        .portal-page .topbar {
            margin-bottom: 18px;
        }

        .settings-overview-page .hero > h1:first-of-type {
            margin-top: 0;
        }

        .portal-page h1 {
            margin: 14px 0 10px;
            font-family: "Trebuchet MS", Arial, sans-serif;
            font-size: clamp(2rem, 4.6vw, 3.8rem);
            line-height: 1;
            letter-spacing: 0;
        }

        .portal-page h2,
        .portal-page h3 {
            font-family: "Trebuchet MS", Arial, sans-serif;
            letter-spacing: 0;
        }

        .portal-page .intro {
            display: block;
            max-width: 820px;
            margin: 0 0 18px;
            padding: 0;
            color: var(--muted);
            font: 400 1.02rem/1.6 Arial, sans-serif;
        }

        .portal-page .title-with-icon {
            margin-bottom: 12px;
        }

        .portal-page .site-mark {
            width: clamp(52px, 7vw, 78px);
            height: clamp(52px, 7vw, 78px);
        }

        .portal-page .portal-form,
        .portal-page .portal-panel,
        .portal-page .panel {
            background:
                radial-gradient(circle at top right, rgba(102, 215, 196, 0.08), transparent 28%),
                linear-gradient(180deg, rgba(13, 28, 38, 0.96), rgba(9, 19, 27, 0.94));
            border: 1px solid rgba(139, 178, 194, 0.16);
            border-radius: 8px;
            box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
        }

        .portal-page .portal-form {
            padding: 18px;
        }

        .portal-page .ns-webflasher-panel {
            margin-top: 14px;
            padding: 14px 14px 16px;
            border: 1px solid rgba(139, 178, 194, 0.28);
            border-radius: 8px;
            background:
                radial-gradient(circle at top right, rgba(102, 215, 196, 0.06), transparent 40%),
                rgba(8, 19, 26, 0.55);
        }

        .portal-page .ns-webflasher-panel .form-field {
            margin-top: 10px;
        }

        .portal-page .ns-webflasher-panel .form-input {
            width: 100%;
            box-sizing: border-box;
        }

        .portal-page .password-input-wrap {
            position: relative;
            display: block;
            width: 100%;
        }

        .portal-page .password-input-wrap .form-input {
            width: 100%;
            box-sizing: border-box;
            padding-right: 2.6rem;
        }

        .portal-page .password-toggle {
            position: absolute;
            top: 50%;
            right: 0.45rem;
            transform: translateY(-50%);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 2rem;
            height: 2rem;
            margin: 0;
            padding: 0;
            border: 0;
            border-radius: 6px;
            background: transparent;
            color: rgba(180, 200, 210, 0.85);
            cursor: pointer;
        }

        .portal-page .password-toggle:hover,
        .portal-page .password-toggle:focus-visible {
            color: #e8eef2;
            background: rgba(255, 255, 255, 0.06);
            outline: none;
        }

        .portal-page .password-toggle-icon[hidden] {
            display: none;
        }

        .portal-page esp-web-install-button {
            display: inline-block;
            margin-top: 10px;
        }

        .portal-page .ns-uf2-wizard {
            border: 0;
            padding: 0;
            background: transparent;
            color: #e8eef2;
            max-width: calc(100vw - 32px);
        }

        .portal-page .ns-uf2-wizard::backdrop {
            background: rgba(0, 0, 0, 0.62);
        }

        .portal-page .ns-uf2-wizard-inner {
            position: relative;
            width: 390px;
            max-width: calc(100vw - 32px);
            padding: 18px 18px 16px;
            border: 1px solid rgba(160, 176, 188, 0.72);
            border-radius: 12px;
            background:
                radial-gradient(circle at top right, rgba(102, 215, 196, 0.08), transparent 42%),
                #0b161e;
            box-shadow:
                0 0 0 1px rgba(120, 140, 155, 0.35),
                0 18px 44px rgba(0, 0, 0, 0.55);
            box-sizing: border-box;
        }

        .portal-page .ns-uf2-wizard-close {
            position: absolute;
            top: 6px;
            right: 6px;
            z-index: 2;
            width: 36px;
            height: 36px;
            margin: 0;
            padding: 0;
            border: 0;
            border-radius: 8px;
            background: transparent;
            color: rgba(220, 230, 235, 0.88);
            font: 600 22px/1 Arial, sans-serif;
            cursor: pointer;
        }

        .portal-page .ns-uf2-wizard-close:hover,
        .portal-page .ns-uf2-wizard-close:focus-visible {
            color: #fff;
            background: rgba(255, 255, 255, 0.08);
            outline: none;
        }

        .portal-page .ns-uf2-wizard-title {
            margin: 0 36px 10px 0;
            font-size: 1.15rem;
            font-weight: 650;
            color: #e8eef2;
        }

        .portal-page .ns-uf2-wizard-body {
            color: rgba(220, 230, 235, 0.82);
            font-size: 0.95rem;
            line-height: 1.45;
        }

        .portal-page .ns-uf2-wizard-body p {
            margin: 0 0 0.75rem;
        }

        .portal-page .ns-uf2-wizard-img {
            display: block;
            width: 100%;
            max-height: 180px;
            object-fit: cover;
            border-radius: 8px;
            border: 1px solid rgba(139, 178, 194, 0.28);
            margin: 0 0 0.5rem;
        }

        .portal-page .ns-uf2-wizard-progress {
            height: 8px;
            margin: 12px 0 8px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.08);
            overflow: hidden;
        }

        .portal-page .ns-uf2-wizard-progress-bar {
            height: 100%;
            width: 0%;
            border-radius: inherit;
            background: #66d7c4;
            transition: width 120ms linear;
        }

        .portal-page .ns-uf2-wizard-status {
            min-height: 1.2em;
            margin: 0 0 12px;
            color: rgba(220, 230, 235, 0.72);
            font-size: 0.9rem;
        }

        .portal-page .ns-uf2-wizard-actions {
            display: flex;
            justify-content: flex-end;
            gap: 8px;
        }

        .portal-page .ns-uf2-wizard-actions .form-submit {
            min-width: 9rem;
        }

        .portal-page #ld-wizard-primary[hidden],
        .portal-page #ld-wizard-secondary[hidden] {
            display: none !important;
        }

        .portal-page #ns-uf2-webflasher-field .form-submit,
        .portal-page #ns-verify-field .form-submit {
            margin-top: 10px;
        }

        body.create-node-only .hero > .topbar {
            display: none;
        }

        body.create-node-only .hero {
            margin-bottom: 0;
        }

        body.create-node-only .page {
            padding-top: 28px;
        }

        body.create-node-only .create-node-page .portal-panel.cn-shell {
            padding: 28px 32px 24px;
            box-sizing: border-box;
        }

        .portal-page .create-node-page .cn-steps {
            display: flex;
            flex-wrap: wrap;
            gap: 8px 18px;
            margin: 0 0 22px;
            padding: 0;
            list-style: none;
            color: var(--muted);
        }

        .portal-page .create-node-page .cn-steps[hidden],
        .portal-page .create-node-page #cn-page-intro[hidden] {
            display: none;
        }

        .portal-page .create-node-page .cn-steps li.is-active {
            color: #dce6eb;
            font-weight: 700;
        }

        .portal-page .cn-panel {
            padding: 0;
            border: none;
            background: none;
            box-shadow: none;
        }

        .portal-page .cn-panel h2 {
            margin: 0 0 12px;
            font-size: 1.08rem;
            line-height: 1.25;
        }

        .portal-page .cn-panel h2 + .cn-cards,
        .portal-page .cn-panel h2 + p {
            margin-top: 0;
        }

        .portal-page .cn-panel .form-field {
            margin-top: 6px;
        }

        .portal-page .create-node-page .form-error {
            margin: 14px 0 0;
        }

        .portal-page .cn-cards {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 12px;
            margin: 0 0 20px;
        }

        .portal-page .cn-role-group h3 {
            margin: 0 0 8px;
            color: var(--muted);
            font-size: 0.85rem;
            font-weight: 700;
        }

        .portal-page .cn-role-group + .cn-role-group {
            margin-top: 4px;
        }

        .portal-page .cn-card {
            display: flex;
            flex-direction: column;
            gap: 8px;
            text-align: left;
            padding: 16px 18px;
            border: 1px solid rgba(139, 178, 194, 0.28);
            border-radius: 8px;
            background: rgba(8, 19, 26, 0.55);
            color: inherit;
            cursor: pointer;
        }

        .portal-page .cn-card.is-selected {
            border-color: rgba(102, 215, 196, 0.8);
            box-shadow: 0 0 0 1px rgba(102, 215, 196, 0.35);
        }

        .portal-page .cn-card-img,
        .portal-page .cn-howto,
        .portal-page .cn-panel > img.cn-card-img {
            width: 100%;
            max-height: 160px;
            object-fit: contain;
            border-radius: 6px;
            background: #08131a;
        }

        .portal-page .cn-card-media {
            display: grid;
            grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
            gap: 8px;
            align-items: center;
            height: 160px;
            padding: 10px;
            overflow: hidden;
            border-radius: 6px;
            background: #fff;
        }

        .portal-page .cn-card-media .cn-card-img {
            width: 100%;
            height: 100%;
            max-height: none;
            object-fit: contain;
            background: transparent;
        }

        .portal-page .cn-howto {
            margin: 8px 0;
            max-height: 200px;
        }

        .portal-page .cn-card-ph {
            min-height: 88px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px;
            font-size: 0.85rem;
            color: var(--muted);
            background: rgba(8, 19, 26, 0.7);
            border-radius: 6px;
        }

        .portal-page .cn-card span,
        .portal-page .cn-card em {
            font-size: 0.88rem;
            color: var(--muted);
        }

        .portal-page .cn-summary {
            display: grid;
            grid-template-columns: 10rem 1fr;
            gap: 6px 12px;
            margin: 12px 0;
        }

        .portal-page .cn-actions {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            margin-top: 20px;
        }

        .portal-page .cn-success {
            border-left: 3px solid #66d7c4;
            border-radius: 8px;
            background: rgba(102, 215, 196, 0.07);
            padding: 16px 18px;
        }

        .portal-page .cn-success h2 span {
            color: #66d7c4;
        }

        .portal-page .cn-success p {
            margin: 8px 0 0;
        }

        .portal-page .cn-success-actions {
            justify-content: flex-start;
            flex-wrap: wrap;
        }

        .portal-page .cn-success-actions a {
            display: inline-flex;
            align-items: center;
            text-decoration: none;
        }

        .portal-page .ns-verify-checklist {
            list-style: none;
            margin: 0 0 12px;
            padding: 0;
        }

        .portal-page .ns-verify-checklist li {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            padding: 8px 0;
            border-bottom: 1px solid rgba(139, 178, 194, 0.18);
            font-size: 0.95rem;
        }

        .portal-page .ns-verify-checklist li:last-child {
            border-bottom: 0;
        }

        .portal-page .ns-verify-dot {
            flex: 0 0 auto;
            width: 0.85rem;
            height: 0.85rem;
            margin-top: 0.28rem;
            border-radius: 50%;
            background: rgba(220, 230, 235, 0.28);
        }

        .portal-page .ns-verify-dot.is-pending { background: #e6b422; }
        .portal-page .ns-verify-dot.is-ok {
            background: #22e36a;
            box-shadow: 0 0 0 2px rgba(34, 227, 106, 0.35);
        }
        .portal-page .ns-verify-dot.is-fail { background: #ff5a5a; }
        .portal-page .ns-verify-dot.is-skip { background: rgba(220, 230, 235, 0.28); }

        .portal-page .ns-verify-row-main {
            flex: 1 1 auto;
            min-width: 0;
        }

        .portal-page .ns-verify-row-label {
            color: #e8eef2;
            font-weight: 600;
        }

        .portal-page .ns-verify-row-detail {
            margin-top: 2px;
            color: rgba(220, 230, 235, 0.72);
            font-size: 0.88rem;
            line-height: 1.35;
            word-break: break-word;
        }

        .portal-page .ns-verify-row-action {
            margin-top: 8px;
        }

        .portal-page .ns-verify-row-action .form-submit {
            margin-top: 0;
            padding: 7px 14px;
        }

        .portal-page .ns-verify-summary {
            margin: 0;
            padding: 0;
            color: rgba(220, 230, 235, 0.82);
            font-size: 0.92rem;
            line-height: 1.45;
        }

        .portal-page .ns-verify-summary dt {
            margin: 0.55rem 0 0;
            color: rgba(220, 230, 235, 0.62);
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.03em;
        }

        .portal-page .ns-verify-summary dd {
            margin: 0.1rem 0 0;
            color: #e8eef2;
        }

        .portal-page .portal-wide-form {
            max-width: 920px;
        }

        .portal-page .form-label,
        .portal-page .form-hint,
        .portal-page .portal-panel-head span,
        .portal-page .portal-list-item em,
        .portal-page .status-line {
            color: var(--muted);
        }

        .portal-page .portal-panel-head h2,
        .portal-page .panel-heading h2 {
            color: var(--text);
            font-size: 1.08rem;
            line-height: 1.25;
        }

        .portal-page .form-input,
        .portal-page .form-codearea {
            background: rgba(8, 17, 24, 0.68);
            border-color: rgba(139, 178, 194, 0.2);
            color: var(--text);
        }

        .portal-page .form-input:focus,
        .portal-page .form-codearea:focus {
            outline: none;
            border-color: rgba(102, 215, 196, 0.58);
            box-shadow: 0 0 0 3px rgba(102, 215, 196, 0.12);
        }

        .portal-page .form-submit,
        .portal-page .form-secondary-button,
        .portal-page .portal-nav-button,
        .portal-page .refresh-button {
            border-radius: 8px;
            border-color: rgba(139, 178, 194, 0.2);
            font-family: Arial, sans-serif;
        }

        .portal-page .form-submit {
            background: linear-gradient(180deg, rgba(102, 215, 196, 0.96), rgba(67, 184, 166, 0.96));
            color: #061018;
            box-shadow: 0 12px 24px rgba(42, 154, 139, 0.18);
        }

        .portal-page .danger-submit {
            align-self: flex-start;
            border: none;
            border-radius: 8px;
            background: linear-gradient(180deg, rgba(232, 96, 96, 0.98), rgba(196, 58, 58, 0.96));
            color: #fff7f7;
            font-weight: 700;
            font-family: Arial, sans-serif;
            padding: 10px 20px;
            box-shadow: 0 12px 24px rgba(176, 48, 48, 0.22);
            cursor: pointer;
        }

        .portal-page .danger-submit:hover {
            border: none;
            background: linear-gradient(180deg, rgba(242, 112, 112, 0.98), rgba(208, 68, 68, 0.96));
        }

        .portal-page .portal-system-map {
            display: grid;
            gap: 16px;
            margin-top: 18px;
        }

        .portal-page .summary {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 12px;
        }

        .portal-page .summary-card {
            padding: 14px 16px;
            border: 1px solid rgba(139, 178, 194, 0.14);
            border-radius: 8px;
            background: linear-gradient(180deg, rgba(21, 43, 58, 0.84), rgba(11, 24, 33, 0.9));
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
        }

        .portal-page .summary-card span {
            display: block;
            margin-bottom: 4px;
            color: var(--muted);
            font: 600 0.72rem/1.3 Arial, sans-serif;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .portal-page .summary-card strong {
            display: block;
            color: var(--text);
            font: 800 1.85rem/1 Arial, sans-serif;
            text-shadow: 0 0 14px rgba(102, 215, 196, 0.16);
        }

        .portal-page .panel-heading,
        .portal-page .contact-window-filter,
        .portal-page .gateway-filter,
        .portal-page .status-line {
            border-color: rgba(139, 178, 194, 0.14);
        }

        .portal-page .contact-window-filter,
        .portal-page .gateway-filter {
            background: rgba(8, 17, 24, 0.34);
        }

        .portal-page .contact-window-option,
        .portal-page .gateway-filter-option,
        .portal-page .refresh-button,
        .portal-page .drawer-close {
            background: rgba(8, 17, 24, 0.62);
            border-color: rgba(139, 178, 194, 0.18);
            color: var(--text);
        }

        .portal-page .network-map-maintenance {
            display: flex;
            align-items: center;
            justify-content: flex-end;
        }

        .portal-page .reset-network-form {
            margin: 0;
        }

        .portal-page .reset-network-button {
            min-height: 38px;
            padding: 8px 12px;
            border: 1px solid rgba(255, 170, 100, 0.26);
            border-radius: 8px;
            background: rgba(255, 170, 100, 0.08);
            color: #ffd1a1;
            font: 700 0.88rem/1 Arial, sans-serif;
            cursor: pointer;
        }

        .portal-page .reset-network-button:hover,
        .portal-page .reset-network-button:focus {
            border-color: rgba(255, 170, 100, 0.46);
            background: rgba(255, 170, 100, 0.13);
        }

        .portal-page .contact-window-option.is-active,
        .portal-page .gateway-filter-option.is-active {
            border-color: rgba(102, 215, 196, 0.55);
            background: rgba(102, 215, 196, 0.12);
        }

        .portal-page .graph-wrap {
            border-radius: 0 0 8px 8px;
            background-color: rgba(6, 14, 20, 0.34);
        }

        .portal-page .portal-grid {
            gap: 18px;
        }

        .portal-page .portal-live-tools {
            margin-top: 18px;
        }

        .portal-page .portal-live-tools .portal-panel {
            padding: 16px 16px 18px;
        }

        .portal-page .portal-live-tools .portal-panel:only-child {
            grid-column: 1 / -1;
        }

        .portal-page .portal-live-tools .form-hint {
            margin: 0 0 12px;
        }

        .portal-page .portal-live-tools .form-submit {
            margin-top: 0;
        }

        .portal-page .ld-checked-actions {
            display: flex;
            justify-content: flex-end;
            margin-top: 12px;
        }

        .portal-page .ld-port-help {
            margin: 10px 0 14px;
            color: rgba(220, 230, 235, 0.78);
            font-size: 0.88rem;
        }

        .portal-page .ld-port-help summary {
            color: #61d6c5;
            cursor: pointer;
            font-weight: 600;
        }

        .portal-page .ld-port-help p,
        .portal-page .ld-port-help ul {
            margin: 8px 0 0;
        }

        .portal-page .ld-port-help ul {
            padding-left: 20px;
        }

        .portal-page .portal-live-tools .portal-panel:nth-child(3) {
            grid-column: 1 / -1;
        }

        .portal-page .form-status-text {
            margin: 2px 0 0;
            color: var(--text);
            font-weight: 600;
        }

        .portal-page [data-node-settings-firmware] {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 2px;
        }

        .portal-page .node-status-summary {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .portal-page .node-status-warnings {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 6px;
            margin: 8px 0 0;
            padding: 0;
        }

        .portal-page .node-status-warning {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            margin: 0;
            font-weight: 600;
            line-height: 1.35;
        }

        .portal-page .node-status-warning-icon {
            flex: 0 0 16px;
            width: 16px;
            height: 16px;
            margin-top: 1px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font: 800 11px/1 Arial, sans-serif;
        }

        .portal-page .node-status-warning-icon::before {
            content: "!";
        }

        .portal-page .node-status-warning--warn {
            color: #ffe6a8;
        }

        .portal-page .node-status-warning--warn .node-status-warning-icon {
            background: #f2bc5e;
            color: #1a1406;
        }

        .portal-page .node-status-warning--critical {
            color: #ffc4c4;
        }

        .portal-page .node-status-warning--critical .node-status-warning-icon {
            background: #f26d6d;
            color: #2a0c0c;
        }

        .portal-page .firmware-version-status {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            font-weight: 600;
            line-height: 1.35;
        }

        .portal-page .firmware-version-status-icon {
            flex: 0 0 12px;
            width: 12px;
            height: 12px;
            margin-top: 3px;
            border-radius: 50%;
        }

        .portal-page .firmware-version-status--current {
            color: #8ee0b0;
        }

        .portal-page .firmware-version-status--current .firmware-version-status-icon {
            background: #59d88a;
            box-shadow: 0 0 0 4px rgba(89, 216, 138, 0.14);
        }

        .portal-page .firmware-version-status--available {
            color: #ffc4c4;
        }

        .portal-page .firmware-version-status--available .firmware-version-status-icon {
            background: #f26d6d;
            box-shadow: 0 0 0 4px rgba(242, 109, 109, 0.14);
        }

        .portal-page .firmware-version-status--pending {
            color: #ffe6a8;
        }

        .portal-page .firmware-version-status--pending .firmware-version-status-icon {
            background: #f2bc5e;
            box-shadow: 0 0 0 4px rgba(242, 188, 94, 0.16);
        }

        .portal-page .ld-choice {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
            margin-top: 12px;
        }

        .portal-page .ld-choice-btn {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 4px;
            width: 100%;
            padding: 12px;
            border: 1px solid rgba(139, 178, 194, 0.28);
            border-radius: 8px;
            background: rgba(8, 19, 26, 0.55);
            color: #e8eef2;
            text-align: left;
            cursor: pointer;
        }

        .portal-page .ld-choice-btn strong {
            font-size: 0.95rem;
        }

        .portal-page .ld-choice-btn em {
            color: var(--accent);
            font-size: 0.78rem;
            font-style: normal;
        }

        .portal-page .ld-choice-btn:hover,
        .portal-page .ld-choice-btn:focus-visible {
            border-color: rgba(102, 215, 196, 0.55);
            background: rgba(102, 215, 196, 0.1);
            outline: none;
        }

        .portal-page .ld-choice-btn.is-recommended {
            border-color: rgba(102, 215, 196, 0.62);
            box-shadow: 0 0 0 1px rgba(102, 215, 196, 0.22);
        }

        .portal-page .ld-recover {
            white-space: pre-line;
            color: rgba(220, 230, 235, 0.72);
            font-size: 0.88rem;
        }

        .portal-page .ld-esp-host {
            position: absolute;
            width: 1px;
            height: 1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
        }

        .portal-page .ld-compare-wrap {
            display: grid;
            gap: 10px;
            margin: 12px 0 4px;
        }

        .portal-page .ld-compare {
            padding: 10px 12px;
            border-radius: 8px;
            border: 1px solid rgba(139, 178, 194, 0.22);
            background: rgba(8, 19, 26, 0.45);
        }

        .portal-page .ld-compare.is-ok {
            border-color: rgba(34, 227, 106, 0.35);
        }

        .portal-page .ld-compare.is-warn {
            border-color: rgba(230, 180, 34, 0.5);
        }

        .portal-page .ld-compare strong {
            display: block;
            margin-bottom: 6px;
            color: #e8eef2;
        }

        .portal-page .ld-compare ul {
            margin: 0;
            padding-left: 1.1rem;
            color: rgba(220, 230, 235, 0.82);
            font-size: 0.88rem;
            line-height: 1.4;
        }

        .portal-page .ld-post-flash-result {
            padding: 14px;
            border: 1px solid rgba(230, 180, 34, 0.5);
            border-radius: 8px;
            background: rgba(230, 180, 34, 0.07);
        }

        .portal-page .ld-post-flash-result.is-ok {
            border-color: rgba(34, 227, 106, 0.48);
            background: rgba(34, 227, 106, 0.08);
        }

        .portal-page .ld-post-flash-result strong {
            display: block;
            margin-bottom: 8px;
            color: #e8eef2;
            font-size: 1.05rem;
        }

        .portal-page .ld-post-flash-result.is-ok strong {
            color: #7be7ac;
        }

        .portal-page .ld-post-flash-result p:last-child {
            margin-bottom: 0;
        }

        .portal-page .ld-post-flash-details {
            margin-top: 14px;
        }

        .portal-page .ld-post-flash-details summary {
            color: #61d6c5;
            cursor: pointer;
            font-weight: 600;
        }

        .portal-page .ld-post-flash-details .ns-verify-summary {
            margin-top: 10px;
        }

        .portal-page .portal-list-item {
            background: rgba(8, 17, 24, 0.5);
            border-color: rgba(139, 178, 194, 0.14);
            border-radius: 8px;
        }

        .portal-page .portal-list-item:hover {
            border-color: rgba(102, 215, 196, 0.44);
            background: rgba(102, 215, 196, 0.08);
        }

        .portal-page .portal-pill {
            border-color: rgba(102, 215, 196, 0.34);
            color: var(--accent);
            background: rgba(102, 215, 196, 0.08);
        }

        .admin-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 18px;
            margin: 18px 0;
        }

        .admin-panel {
            padding: 18px;
            border: 1px solid rgba(139, 178, 194, 0.16);
            border-radius: 8px;
            background:
                radial-gradient(circle at top right, rgba(102, 215, 196, 0.08), transparent 28%),
                linear-gradient(180deg, rgba(13, 28, 38, 0.96), rgba(9, 19, 27, 0.94));
            box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
        }

        .admin-wide-panel {
            margin-top: 18px;
        }

        .admin-panel-head {
            margin-bottom: 14px;
        }

        .admin-panel-head h2 {
            margin: 0 0 4px;
            font-size: 1.08rem;
        }

        .admin-panel-head p {
            margin: 0;
            color: var(--muted);
            font-size: 0.92rem;
            line-height: 1.45;
        }

        .admin-collapsible-panel > summary {
            display: block;
            position: relative;
            margin: 0;
            padding-right: 30px;
            cursor: pointer;
            list-style: none;
        }

        .admin-collapsible-panel > summary::-webkit-details-marker {
            display: none;
        }

        .admin-collapsible-panel > summary::after {
            content: '▸';
            position: absolute;
            top: 0;
            right: 2px;
            color: var(--accent);
            font-size: 1.2rem;
        }

        .admin-collapsible-panel[open] > summary {
            margin-bottom: 14px;
        }

        .admin-collapsible-panel[open] > summary::after {
            content: '▾';
        }

        .admin-collapsible-panel > summary:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 5px;
        }

        .admin-panel-title {
            display: block;
            margin-bottom: 4px;
            font-size: 1.08rem;
            font-weight: 700;
        }

        .admin-panel-subtitle {
            display: block;
            color: var(--muted);
            font-size: 0.92rem;
            line-height: 1.45;
        }

        .admin-form {
            padding: 0;
            background: none;
            border: 0;
            box-shadow: none;
        }

        .admin-job-progress {
            margin: 0 0 14px;
            padding: 12px 14px;
            border: 1px solid rgba(102, 215, 196, 0.28);
            border-radius: 8px;
            background: rgba(102, 215, 196, 0.08);
        }

        .admin-job-progress p {
            margin: 0 0 8px;
        }

        .admin-job-progress-label,
        .admin-job-progress-hint {
            color: var(--muted);
            font-size: 0.9rem;
        }

        .admin-job-progress-hint {
            margin-top: 8px;
            margin-bottom: 0;
            font-size: 0.82rem;
        }

        .admin-job-progress-track {
            height: 10px;
            border-radius: 999px;
            background: rgba(8, 15, 21, 0.55);
            overflow: hidden;
        }

        .admin-job-progress-bar {
            display: block;
            height: 100%;
            min-width: 0;
            background: rgba(102, 215, 196, 0.88);
        }

        .admin-job-warning {
            margin: 0 0 14px;
            padding: 12px 14px;
            border: 1px solid rgba(232, 160, 90, 0.55);
            border-radius: 8px;
            background: rgba(232, 160, 90, 0.12);
        }

        .admin-job-warning p {
            margin: 0 0 8px;
        }

        .admin-job-warning p:last-child {
            margin-bottom: 0;
        }

        .admin-last-status {
            font-weight: 600;
        }

        .admin-last-status-completed {
            color: #8fd9c8;
        }

        .admin-last-status-timeout,
        .admin-last-status-error {
            color: #e8a05a;
        }

        .admin-enrich-fails {
            margin: 0 0 16px;
            padding: 12px 14px;
            border: 1px solid rgba(232, 160, 90, 0.35);
            border-radius: 8px;
        }

        .admin-enrich-fails-intro,
        .admin-enrich-fail-search-label {
            margin: 0 0 8px;
            color: var(--muted);
            font-size: 0.9rem;
        }

        .admin-enrich-fail-search {
            display: block;
            width: 100%;
            max-width: 28rem;
            margin: 0 0 12px;
            padding: 8px 10px;
            border: 1px solid rgba(255, 255, 255, 0.16);
            border-radius: 6px;
            background: rgba(8, 15, 21, 0.45);
            color: inherit;
        }

        .admin-enrich-fails h3 {
            margin: 12px 0 6px;
            font-size: 0.95rem;
        }

        .admin-enrich-fail-list {
            margin: 0;
            padding-left: 1.1rem;
            max-height: 16rem;
            overflow: auto;
            font-size: 0.88rem;
        }

        .admin-enrich-fail-list li {
            margin: 0 0 4px;
        }

        .admin-external-page {
            display: grid;
            gap: 18px;
            min-width: 0;
        }

        .admin-external-page > .admin-panel {
            min-width: 0;
        }

        .admin-external-page > .admin-wide-panel:first-child {
            margin-top: 0;
        }

        .admin-external-stats {
            display: grid;
            gap: 6px;
            margin: 0 0 14px;
            min-width: 0;
        }

        .admin-external-stats p {
            margin: 0;
            overflow-wrap: anywhere;
        }

        .portal-page .admin-external-page .admin-form {
            max-width: none;
            width: auto;
            margin: 0;
            padding: 0;
            background: none;
            border: 0;
            box-shadow: none;
        }

        .admin-external-toolbar {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            gap: 12px;
            min-width: 0;
        }

        .admin-external-snapshots,
        .admin-external-translate,
        .admin-external-auto {
            display: flex;
            flex-wrap: wrap;
            align-items: flex-end;
            gap: 10px 12px;
            box-sizing: border-box;
            min-width: 0;
            max-width: 100%;
            padding: 12px 14px;
            border: 1px solid rgba(139, 178, 194, 0.16);
            border-radius: 8px;
            background: rgba(8, 15, 21, 0.35);
        }

        .admin-external-translate-key {
            display: flex;
            flex: 1 1 12rem;
            flex-direction: column;
            gap: 4px;
            min-width: 0;
            margin: 0;
            font-size: 0.9rem;
        }

        .admin-external-translate-key input {
            width: 100%;
            min-width: 0;
            box-sizing: border-box;
        }

        .admin-external-auto-title {
            flex: 1 1 100%;
            margin: 0;
            font-weight: 600;
        }

        @media (min-width: 880px) {
            .admin-external-toolbar {
                grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
                align-items: stretch;
            }

            .admin-external-snapshots {
                grid-column: 1;
                align-content: start;
            }

            .admin-external-translate {
                grid-column: 2;
                grid-row: 1;
            }

            .admin-external-auto {
                grid-column: 1 / -1;
            }
        }

        .admin-external-filters {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            gap: 12px 16px;
            align-items: end;
        }

        .admin-external-filter-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            align-items: center;
        }

        .admin-external-table {
            min-width: 760px;
        }

        .admin-external-table-scroll {
            max-height: 28rem;
        }

        .admin-external-row {
            cursor: pointer;
        }

        .admin-external-row:hover {
            background: rgba(102, 215, 196, 0.08);
        }

        .admin-external-row.is-selected {
            background: rgba(102, 215, 196, 0.16);
        }

        .admin-external-row.is-suppressed {
            opacity: 0.55;
        }

        .admin-external-hide {
            width: 3.2rem;
            text-align: center;
        }

        .admin-external-hide-form {
            margin: 0;
        }

        .admin-external-id {
            color: var(--muted);
            font-size: 0.72rem;
        }

        .admin-external-view {
            white-space: nowrap;
        }

        .admin-external-desc {
            max-width: 22rem;
            color: var(--muted);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .admin-external-status {
            white-space: nowrap;
        }

        .admin-external-pager {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            align-items: center;
            margin-top: 10px;
            color: var(--muted);
            font-size: 0.88rem;
        }

        .admin-external-detail-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 10px 16px;
            margin: 0 0 14px;
        }

        .admin-external-detail-grid div {
            margin: 0;
        }

        .admin-external-detail-grid dt {
            color: var(--muted);
            font-size: 0.74rem;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        .admin-external-detail-grid dd {
            margin: 2px 0 0;
        }

        .admin-external-detail h3 {
            margin: 14px 0 6px;
            font-size: 0.95rem;
        }

        .admin-external-detail-text {
            margin: 0;
            overflow-wrap: anywhere;
        }

        .admin-external-zones {
            margin: 0;
            padding: 10px 12px;
            overflow: auto;
            max-height: 16rem;
            border: 1px solid rgba(139, 178, 194, 0.16);
            border-radius: 6px;
            background: rgba(8, 15, 21, 0.45);
            font-size: 0.8rem;
        }

        .admin-generated-password {
            display: grid;
            gap: 6px;
            margin: 14px 0 18px;
            padding: 14px 16px;
            border: 1px solid rgba(102, 215, 196, 0.38);
            border-radius: 8px;
            background: rgba(102, 215, 196, 0.12);
        }

        .admin-generated-password span {
            color: var(--muted);
            font-size: 0.9rem;
        }

        .admin-generated-password strong {
            color: var(--text);
            font: 800 1.08rem/1.2 Arial, sans-serif;
            letter-spacing: 0.02em;
            word-break: break-all;
        }

        .admin-radio-group {
            display: flex;
            flex-wrap: wrap;
            gap: 10px 14px;
            margin: 12px 0;
            padding: 0;
            border: 0;
        }

        .admin-radio-group legend {
            width: 100%;
            margin-bottom: 2px;
            color: var(--muted);
            font: 700 0.78rem/1.2 Arial, sans-serif;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .admin-radio-group label,
        .portal-checkbox-row {
            color: var(--text);
            font-size: 0.94rem;
        }

        .danger-submit {
            padding: 9px 12px;
            border: 1px solid rgba(255, 110, 110, 0.34);
            border-radius: 8px;
            background: rgba(255, 110, 110, 0.1);
            color: #ffb2b2;
            font-weight: 800;
            cursor: pointer;
        }

        .danger-submit:hover {
            border-color: rgba(255, 110, 110, 0.62);
            background: rgba(255, 110, 110, 0.16);
        }

        .danger-submit:disabled {
            border-color: rgba(130, 176, 196, 0.12);
            background: rgba(255, 255, 255, 0.035);
            color: rgba(139, 178, 194, 0.56);
            cursor: not-allowed;
        }

        .text-button {
            padding: 0;
            border: 0;
            background: transparent;
            color: var(--muted);
            font: inherit;
            font-size: 0.92rem;
            cursor: pointer;
            text-decoration: underline;
            text-underline-offset: 2px;
        }

        .text-button:hover,
        .text-button:focus {
            color: var(--text);
        }

        .danger-text-button {
            color: #ffb2b2;
            text-decoration: underline;
            text-underline-offset: 2px;
            font-weight: 600;
        }

        .danger-text-button:hover,
        .danger-text-button:focus {
            color: #ffd0d0;
        }

        .admin-table-wrap {
            overflow-x: auto;
        }

        .admin-table-scroll {
            max-height: 520px;
            overflow: auto;
            border: 1px solid rgba(139, 178, 194, 0.12);
            border-radius: 8px;
            background: rgba(8, 17, 24, 0.26);
        }

        .admin-table {
            width: 100%;
            border-collapse: collapse;
            min-width: 680px;
            font-size: 0.84rem;
        }

        .admin-station-table {
            min-width: 1040px;
        }

        .admin-mobile-node-table {
            min-width: 860px;
        }

        .admin-clickable-row {
            cursor: pointer;
        }

        .admin-clickable-row:hover td,
        .admin-clickable-row:focus td {
            background: rgba(102, 215, 196, 0.07);
        }

        .admin-clickable-row:focus {
            outline: 2px solid rgba(102, 215, 196, 0.55);
            outline-offset: -2px;
        }

        .admin-table th,
        .admin-table td {
            padding: 7px 8px;
            border-bottom: 1px solid rgba(139, 178, 194, 0.12);
            text-align: left;
            vertical-align: middle;
        }

        .admin-table th {
            position: sticky;
            top: 0;
            z-index: 1;
            background: rgba(11, 24, 33, 0.98);
            color: var(--muted);
            font: 800 0.72rem/1.2 Arial, sans-serif;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .admin-sort-button {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 0;
            border: 0;
            background: transparent;
            color: inherit;
            font: inherit;
            letter-spacing: inherit;
            text-align: left;
            text-transform: inherit;
            cursor: pointer;
        }

        .admin-sort-button:hover,
        .admin-sort-button:focus-visible,
        .admin-table th[aria-sort] .admin-sort-button {
            color: var(--accent);
        }

        .admin-sort-button::after {
            content: '↕';
            opacity: 0.55;
        }

        .admin-table th[aria-sort="ascending"] .admin-sort-button::after {
            content: '▲';
            opacity: 1;
        }

        .admin-table th[aria-sort="descending"] .admin-sort-button::after {
            content: '▼';
            opacity: 1;
        }

        .admin-table .portal-status-led {
            display: inline-block;
            width: 12px;
            height: 12px;
            margin: 0 8px 0 4px;
            vertical-align: middle;
            flex: 0 0 12px;
        }

        .admin-table .portal-status-led:not(.ok):not(.warn):not(.error) {
            background: #9eaab3;
            box-shadow: 0 0 0 4px rgba(158, 170, 179, 0.14);
        }

        .admin-audit-scroll {
            max-height: 70vh;
        }

        .admin-audit-table {
            min-width: 920px;
            table-layout: fixed;
        }

        .admin-audit-table tbody td {
            max-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .admin-audit-table th:nth-child(1) { width: 12rem; }
        .admin-audit-table th:nth-child(2) { width: 16rem; }
        .admin-audit-table th:nth-child(3) { width: 13rem; }
        .admin-audit-table th:nth-child(4) { width: 15rem; }
        .admin-audit-table th:nth-child(5) { width: 22rem; }
        .admin-audit-table th:nth-child(6) { width: 9rem; }
        }

        .admin-audit-time,
        .admin-audit-ip {
            white-space: nowrap;
            color: var(--muted);
        }

        .admin-audit-action {
            font-size: 0.78rem;
        }

        .admin-audit-details {
            max-width: 28rem;
            word-break: break-word;
        }

        .admin-audit-details code {
            font-size: 0.75rem;
        }

        .admin-audit-row {
            cursor: pointer;
        }

        .admin-audit-row:hover td,
        .admin-audit-row:focus-visible td {
            background: rgba(99, 210, 180, 0.08);
        }

        .admin-audit-row:focus-visible {
            outline: 2px solid rgba(99, 210, 180, 0.7);
            outline-offset: -2px;
        }

        .admin-audit-target {
            min-width: 12rem;
            font-weight: 700;
        }

        .admin-audit-dialog {
            width: min(680px, calc(100vw - 28px));
            max-height: calc(100vh - 28px);
            padding: 0;
            overflow: hidden;
            border: 1px solid rgba(99, 210, 180, 0.3);
            border-radius: 14px;
            background: var(--panel);
            color: var(--text);
            box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
        }

        .admin-audit-dialog::backdrop {
            background: rgba(0, 8, 12, 0.76);
            backdrop-filter: blur(3px);
        }

        .admin-audit-dialog-panel {
            max-height: calc(100vh - 28px);
            padding: 18px;
            overflow-y: auto;
        }

        .admin-audit-dialog .admin-dialog-head {
            margin-bottom: 18px;
        }

        .admin-audit-dialog .admin-dialog-head h2,
        .admin-audit-dialog .admin-dialog-head p {
            margin: 0;
        }

        .admin-audit-explanation {
            margin: 0 0 18px;
            padding: 14px 16px;
            border: 1px solid rgba(99, 210, 180, 0.22);
            border-radius: 10px;
            background: rgba(99, 210, 180, 0.07);
            line-height: 1.55;
        }

        .admin-audit-dialog-facts {
            margin: 0;
        }

        .admin-audit-dialog-facts dd {
            overflow-wrap: anywhere;
            white-space: normal;
        }

        .admin-audit-background {
            margin-top: 18px;
            padding-top: 12px;
            border-top: 1px solid rgba(148, 163, 184, 0.18);
            color: var(--muted);
            font-size: 0.82rem;
        }

        .admin-audit-background .drawer-kv {
            margin: 0;
        }

        .admin-audit-background dd {
            overflow-wrap: anywhere;
            white-space: normal;
        }

        .admin-audit-dialog-actions {
            display: flex;
            justify-content: flex-end;
            margin-top: 18px;
        }

        .admin-audit-act-as {
            display: block;
            margin-bottom: 0.2rem;
            color: #ffd0d0;
            font-size: 0.75rem;
        }

        .admin-ingest-window {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            margin: 0 0 0.9rem;
            color: var(--muted);
            font-size: 0.85rem;
        }

        .admin-ingest-window-link {
            color: var(--text);
            text-decoration: none;
            border-bottom: 1px solid transparent;
        }

        .admin-ingest-window-link.is-active {
            font-weight: 700;
            border-bottom-color: #e8c36a;
        }

        .admin-ingest-summary {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 0.7rem;
            margin: 0 0 1.2rem;
        }

        .admin-ingest-stat {
            padding: 0.7rem 0.8rem;
            border: 1px solid rgba(232, 195, 106, 0.28);
            border-radius: 10px;
            background: rgba(11, 24, 33, 0.55);
        }

        .admin-ingest-stat strong {
            display: block;
            font-size: 1.4rem;
            line-height: 1.1;
        }

        .admin-ingest-stat span {
            color: var(--muted);
            font-size: 0.78rem;
        }

        .admin-ingest-panel h2 {
            margin: 1.2rem 0 0.3rem;
            font-size: 1rem;
        }

        .admin-ingest-note {
            margin: 0 0 0.5rem;
            color: var(--muted);
            font-size: 0.82rem;
        }

        .admin-ingest-reject-table {
            min-width: 860px;
        }

        @media (max-width: 720px) {
            .admin-ingest-summary {
                grid-template-columns: 1fr;
            }
        }

        .admin-release-form {
            margin: 0;
        }

        .admin-release-actions {
            display: flex;
            justify-content: flex-start;
            margin: 0 0 14px;
        }

        .admin-release-actions-bottom {
            margin: 22px 0 0;
        }

        .admin-release-grid {
            --admin-release-status-col: 10rem;
            display: grid;
            gap: 0 16px;
            align-items: center;
            width: 100%;
            max-width: 56rem;
            box-sizing: border-box;
            overflow-x: auto;
            border: 1px solid rgba(139, 178, 194, 0.12);
            border-radius: 8px;
            background: rgba(8, 17, 24, 0.26);
            padding: 0 12px;
        }

        .admin-release-grid-hw {
            grid-template-columns: var(--admin-release-status-col) 3rem minmax(0, 1.1fr) minmax(0, 1.2fr);
        }

        .admin-release-grid-role {
            grid-template-columns: var(--admin-release-status-col) minmax(0, 1.1fr) minmax(0, 1.2fr);
        }

        .admin-release-grid-ver {
            grid-template-columns: var(--admin-release-status-col) 5.5rem minmax(0, 1.6fr);
        }

        .admin-release-head,
        .admin-release-cell {
            padding: 8px 0;
            border-bottom: 1px solid rgba(139, 178, 194, 0.12);
            min-width: 0;
        }

        .admin-release-grid-hw > :nth-last-child(-n+4),
        .admin-release-grid-role > :nth-last-child(-n+3),
        .admin-release-grid-ver > :nth-last-child(-n+3) {
            border-bottom: 0;
        }

        .admin-release-head {
            color: var(--muted);
            font: 800 0.72rem/1.2 Arial, sans-serif;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            padding-top: 10px;
        }

        .admin-release-cell {
            font-size: 0.84rem;
            overflow-wrap: anywhere;
        }

        .admin-release-primary {
            margin-bottom: 2px;
        }

        .admin-release-code {
            font: 600 0.8rem/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
            color: var(--text);
        }

        .admin-inline-form {
            display: inline-flex;
            align-items: center;
            margin: 0;
        }

        select.admin-compact-select.admin-release-select {
            display: block;
            width: 100%;
            max-width: none;
            box-sizing: border-box;
        }

        .admin-firmware-shell {
            width: 100%;
        }

        .admin-neutral-flash {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            align-content: start;
            gap: 7px;
            min-width: 0;
            padding: 14px 16px;
            border: 1px solid rgba(103, 215, 193, 0.3);
            border-radius: 12px;
            background: rgba(11, 29, 37, 0.86);
            margin-bottom: 14px;
        }

        .admin-neutral-heading { position: relative; display: flex; align-items: center; gap: 8px; }
        .admin-neutral-flash h2 { margin: 0; font-size: 1rem; }
        .admin-neutral-flash p { margin: 0; color: var(--muted); font-size: 0.8rem; line-height: 1.35; }
        .admin-neutral-flash .admin-neutral-purpose { max-width: 850px; font-size: 0.9rem; }
        .admin-neutral-help { flex: 0 0 auto; }
        .admin-neutral-help summary {
            display: grid;
            place-items: center;
            width: 22px;
            height: 22px;
            border: 1px solid rgba(139, 178, 194, 0.5);
            border-radius: 50%;
            color: var(--text);
            font-size: 0.8rem;
            font-weight: 700;
            cursor: pointer;
            list-style: none;
        }
        .admin-neutral-help summary::-webkit-details-marker { display: none; }
        .admin-neutral-help summary:hover,
        .admin-neutral-help summary:focus-visible { border-color: var(--accent); color: var(--accent); }
        .admin-neutral-help-body {
            position: absolute;
            z-index: 20;
            top: calc(100% + 8px);
            left: 0;
            width: min(360px, 100%);
            box-sizing: border-box;
            padding: 12px 14px;
            border: 1px solid rgba(139, 178, 194, 0.5);
            border-radius: 10px;
            background: #122530;
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
        }
        .admin-neutral-help-body p + p { margin-top: 8px; }
        .admin-neutral-controls { display: grid; gap: 6px; align-content: start; }
        .admin-neutral-method { display: grid; gap: 6px; align-content: start; }
        .admin-neutral-method[hidden] { display: none; }
        .admin-neutral-controls label { font-weight: 700; font-size: 0.78rem; }
        .admin-neutral-controls select {
            width: 100%;
            min-height: 34px;
            padding: 5px 9px;
            border: 1px solid rgba(139, 178, 194, 0.3);
            border-radius: 8px;
            color: var(--text);
            background: #0b1a23;
        }
        .admin-neutral-flash .admin-neutral-warning { color: #f0c979; }
        .admin-neutral-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
        .admin-neutral-actions a { color: var(--accent); font-size: 0.78rem; }
        .admin-neutral-gateway-install { justify-self: start; }
        .admin-neutral-gateway-install[hidden] { display: none; }
        .admin-neutral-secondary { background: transparent; border: 1px solid rgba(103, 215, 193, 0.45); color: var(--text); }
        .admin-neutral-secondary[hidden] { display: none; }
        .admin-neutral-status:empty { display: none; }
        .admin-neutral-status.is-error { color: #f4a398; }

        .admin-firmware-shell .portal-live-tools {
            margin-top: 0;
            margin-bottom: 14px;
        }
        .admin-firmware-shell .portal-live-tools .portal-panel {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 6px 14px;
            padding: 10px 14px;
        }
        .admin-firmware-shell .portal-live-tools .portal-panel-head { margin: 0; }
        .admin-firmware-shell .portal-live-tools .form-hint { flex: 1 1 300px; margin: 0; font-size: 0.8rem; }
        .admin-firmware-shell .portal-live-tools .form-submit { margin: 0; }

        .admin-firmware-form {
            margin: 0;
        }

        .admin-firmware-toolbar {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 18px;
            margin: 0 0 24px;
        }

        .admin-firmware-toolbar > p {
            max-width: 760px;
            margin: 0;
            color: var(--muted);
            font-size: 0.84rem;
        }

        .admin-firmware-toolbar-actions {
            display: flex;
            align-items: center;
            gap: 9px;
            flex: 0 0 auto;
        }

        .admin-firmware-filter {
            width: 210px;
            min-height: 34px;
            padding: 6px 9px;
            border: 1px solid rgba(139, 178, 194, 0.24);
            border-radius: 8px;
            color: var(--text);
            background: rgba(8, 24, 32, 0.9);
        }

        .admin-firmware-families {
            display: grid;
            gap: 28px;
        }

        .admin-firmware-family + .admin-firmware-family {
            padding-top: 28px;
            border-top: 1px solid rgba(139, 178, 194, 0.28);
        }

        .admin-firmware-family-head {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 18px;
            margin-bottom: 12px;
        }

        .admin-firmware-family-head span {
            display: block;
            margin-bottom: 3px;
            color: var(--accent);
            font-size: 0.68rem;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .admin-firmware-family-head h2 {
            margin: 0;
            font-size: 1.12rem;
        }

        .admin-firmware-family-head p {
            max-width: 760px;
            margin: 3px 0 0;
            color: var(--muted);
            font-size: 0.8rem;
        }

        .admin-firmware-family-head small {
            flex: 0 0 auto;
            color: var(--muted);
            font-size: 0.74rem;
        }

        .admin-firmware-card-list {
            display: grid;
            gap: 14px;
        }

        .admin-firmware-card {
            overflow: hidden;
            border: 1px solid rgba(139, 178, 194, 0.16);
            border-radius: 9px;
            background:
                radial-gradient(circle at top right, rgba(102, 215, 196, 0.07), transparent 28%),
                linear-gradient(180deg, rgba(13, 28, 38, 0.96), rgba(9, 19, 27, 0.94));
            box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
        }

        .admin-firmware-card[hidden],
        .admin-firmware-family[hidden] {
            display: none;
        }

        .admin-firmware-card-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
            padding: 14px 17px;
            border-bottom: 1px solid rgba(139, 178, 194, 0.18);
        }

        .admin-firmware-card-head h3 {
            margin: 0;
            font-size: 1.03rem;
        }

        .admin-firmware-card-head code {
            color: var(--muted);
            font: 600 0.72rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
        }

        .admin-firmware-visibility {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            width: auto;
            min-height: 28px;
            padding: 4px 9px;
            border: 0;
            border-radius: 999px;
            font-family: inherit;
            font-size: 0.7rem;
            font-weight: 800;
            cursor: pointer;
        }

        .admin-firmware-visibility::before {
            content: "";
            width: 7px;
            height: 7px;
            flex: 0 0 7px;
            border-radius: 50%;
            background: currentColor;
        }

        .admin-firmware-visibility.is-released {
            border-color: rgba(102, 215, 196, 0.26);
            color: #7ce0be;
            background: rgba(41, 139, 108, 0.2);
        }

        .admin-firmware-visibility.is-admin-only {
            border-color: rgba(139, 178, 194, 0.2);
            color: #a9b8be;
            background: rgba(129, 147, 155, 0.12);
        }

        .admin-firmware-card-body {
            display: grid;
            grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
        }

        .admin-firmware-roles,
        .admin-firmware-build-panel {
            min-width: 0;
            padding: 16px 17px 17px;
        }

        .admin-firmware-build-panel {
            border-left: 1px solid rgba(139, 178, 194, 0.18);
        }

        .admin-firmware-roles > h4,
        .admin-firmware-build-panel > h4 {
            margin: 0 0 10px;
            color: #bed0d7;
            font-size: 0.75rem;
            letter-spacing: 0.07em;
            text-transform: uppercase;
        }

        .admin-firmware-role-row {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 74px;
            gap: 12px;
            align-items: center;
            min-height: 56px;
            padding: 8px 0;
            border-top: 1px solid rgba(139, 178, 194, 0.12);
        }

        .admin-firmware-role-row:first-of-type {
            border-top: 0;
        }

        .admin-firmware-role-row.is-off > div {
            opacity: 0.48;
        }

        .admin-firmware-role-row strong,
        .admin-firmware-role-row small {
            display: block;
        }

        .admin-firmware-role-row small {
            margin-top: 1px;
            color: var(--muted);
            font-size: 0.72rem;
        }

        .admin-firmware-toggle {
            position: relative;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--muted);
            font-size: 0.73rem;
            cursor: pointer;
            user-select: none;
        }

        .admin-firmware-toggle > input {
            position: absolute;
            width: 1px;
            height: 1px;
            opacity: 0;
            pointer-events: none;
        }

        .admin-firmware-switch {
            position: relative;
            width: 34px;
            height: 19px;
            flex: 0 0 34px;
            border-radius: 999px;
            background: #50616a;
            transition: background 0.15s ease;
        }

        .admin-firmware-switch::after {
            content: "";
            position: absolute;
            top: 2px;
            left: 2px;
            width: 15px;
            height: 15px;
            border-radius: 50%;
            background: #fff;
            transition: left 0.15s ease;
        }

        .admin-firmware-toggle > input:checked + .admin-firmware-switch {
            background: #287c64;
        }

        .admin-firmware-toggle > input:checked + .admin-firmware-switch::after {
            left: 17px;
        }

        .admin-firmware-toggle > input:focus-visible + .admin-firmware-switch {
            outline: 2px solid var(--accent);
            outline-offset: 3px;
        }

        .admin-firmware-modem-divider {
            margin-top: 5px;
            padding-top: 10px;
            border-top: 1px solid rgba(139, 178, 194, 0.3);
            color: var(--muted);
            font-size: 0.65rem;
            font-weight: 800;
            letter-spacing: 0.07em;
            text-transform: uppercase;
        }

        .admin-firmware-modem-divider + .admin-firmware-role-row {
            border-top: 0;
        }

        .admin-firmware-current {
            padding: 11px 12px;
            border: 1px solid rgba(139, 178, 194, 0.2);
            border-radius: 8px;
            background: rgba(8, 17, 24, 0.5);
        }

        .admin-firmware-current-head {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
        }

        .admin-firmware-current-head > strong {
            font-size: 1.22rem;
        }

        .admin-firmware-current p {
            margin: 3px 0 0;
            color: var(--muted);
            font-size: 0.73rem;
        }

        .admin-firmware-badge,
        .admin-firmware-archived {
            display: inline-flex;
            align-items: center;
            padding: 4px 8px;
            border-radius: 999px;
            font-size: 0.7rem;
            font-weight: 800;
        }

        .admin-firmware-badge.is-released {
            color: #7ce0be;
            background: rgba(41, 139, 108, 0.2);
        }

        .admin-firmware-badge.is-admin-only {
            color: #b9a6ff;
            background: rgba(106, 84, 184, 0.2);
        }

        .admin-firmware-archived {
            color: #a1b0b6;
            background: rgba(129, 147, 155, 0.14);
        }

        .admin-firmware-role-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            margin-top: 8px;
        }

        .admin-firmware-role-chips span {
            padding: 3px 7px;
            border-radius: 999px;
            color: #a8dfcd;
            background: rgba(67, 197, 158, 0.11);
            font-size: 0.67rem;
            font-weight: 700;
        }

        .admin-firmware-build-panel details {
            margin-top: 10px;
        }

        .admin-firmware-build-panel summary {
            color: #b9cbd1;
            cursor: pointer;
            font-size: 0.75rem;
            font-weight: 700;
        }

        .admin-firmware-history {
            width: 100%;
            min-width: 0;
            margin-top: 7px;
            border-collapse: collapse;
            table-layout: fixed;
            font-size: 0.72rem;
        }

        .admin-firmware-history th,
        .admin-firmware-history td {
            overflow: hidden;
            padding: 7px 5px;
            border-top: 1px solid rgba(139, 178, 194, 0.13);
            text-align: left;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .admin-firmware-history th {
            color: var(--muted);
            font-size: 0.64rem;
            text-transform: uppercase;
        }

        .admin-firmware-history th:nth-child(1),
        .admin-firmware-history td:nth-child(1) { width: 16%; }
        .admin-firmware-history th:nth-child(2),
        .admin-firmware-history td:nth-child(2) { width: 18%; }
        .admin-firmware-history th:nth-child(3),
        .admin-firmware-history td:nth-child(3) { width: 20%; }
        .admin-firmware-history th:nth-child(4),
        .admin-firmware-history td:nth-child(4) { width: 20%; }
        .admin-firmware-history th:nth-child(5),
        .admin-firmware-history td:nth-child(5) { width: 26%; }

        .admin-firmware-history select {
            width: 100%;
            min-width: 0;
            min-height: 30px;
            padding: 3px 5px;
            font-size: 0.69rem;
        }

        .admin-firmware-build-row {
            cursor: pointer;
        }

        .admin-firmware-build-row:hover,
        .admin-firmware-build-row:focus-visible {
            outline: none;
            background: rgba(102, 215, 196, 0.07);
        }

        .admin-firmware-build-row td:first-child {
            color: #8be1c5;
            font-weight: 800;
            text-decoration: underline;
            text-decoration-color: rgba(139, 225, 197, 0.45);
            text-underline-offset: 3px;
        }

        .admin-firmware-empty {
            margin: 0;
            padding: 12px;
            border: 1px solid rgba(232, 195, 106, 0.35);
            border-radius: 8px;
            color: #efd78f;
            background: rgba(115, 75, 7, 0.14);
            font-size: 0.78rem;
        }

        .admin-firmware-actions-bottom {
            margin-top: 22px;
        }

        .admin-firmware-dialog {
            width: min(610px, calc(100vw - 30px));
            max-height: calc(100vh - 30px);
            padding: 0;
            overflow: auto;
            border: 1px solid rgba(139, 178, 194, 0.34);
            border-radius: 10px;
            color: var(--text);
            background: #0a1d26;
            box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
        }

        .admin-firmware-dialog::backdrop {
            background: rgba(2, 9, 13, 0.76);
        }

        .admin-firmware-dialog > header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 18px;
            padding: 18px 20px 14px;
            border-bottom: 1px solid rgba(139, 178, 194, 0.2);
        }

        .admin-firmware-dialog > header span {
            color: var(--accent);
            font-size: 0.7rem;
            font-weight: 800;
            letter-spacing: 0.09em;
            text-transform: uppercase;
        }

        .admin-firmware-dialog > header h2 {
            margin: 2px 0 0;
            font-size: 1.2rem;
        }

        .admin-firmware-dialog > header button {
            width: 32px;
            height: 32px;
            padding: 0;
            border: 1px solid rgba(139, 178, 194, 0.24);
            border-radius: 7px;
            color: var(--text);
            background: transparent;
            font-size: 1.15rem;
            cursor: pointer;
        }

        .admin-firmware-dialog-body {
            padding: 18px 20px 21px;
        }

        .admin-firmware-dialog-body > h3 {
            margin: 0 0 6px;
            font-size: 0.78rem;
            letter-spacing: 0.07em;
            text-transform: uppercase;
        }

        .admin-firmware-dialog-body > p {
            margin: 0;
            color: #c6d4d9;
            white-space: pre-line;
        }

        .admin-firmware-dialog-body dl {
            display: grid;
            grid-template-columns: 130px minmax(0, 1fr);
            gap: 7px 12px;
            margin: 18px 0 0;
            font-size: 0.8rem;
        }

        .admin-firmware-dialog-body dt {
            color: var(--muted);
        }

        .admin-firmware-dialog-body dd {
            min-width: 0;
            margin: 0;
            overflow-wrap: anywhere;
        }

        .admin-firmware-dialog-body [data-release-compatibility].is-compatible {
            color: #7ce0be;
        }

        .admin-firmware-dialog-body [data-release-compatibility].is-breaking {
            color: #ff8d8d;
        }

        .admin-firmware-dialog-body [data-release-compatibility].is-undocumented {
            color: #efd78f;
        }

        @media (max-width: 980px) {
            .admin-firmware-card-body {
                grid-template-columns: 1fr;
            }

            .admin-firmware-build-panel {
                border-top: 1px solid rgba(139, 178, 194, 0.18);
                border-left: 0;
            }
        }

        @media (max-width: 720px) {
            .admin-firmware-toolbar,
            .admin-firmware-family-head,
            .admin-firmware-card-head {
                align-items: stretch;
                flex-direction: column;
            }

            .admin-firmware-toolbar-actions {
                align-items: stretch;
            }

            .admin-firmware-filter {
                width: 100%;
            }

            .admin-firmware-visibility {
                width: 100%;
            }

            .admin-firmware-dialog-body dl {
                grid-template-columns: 1fr;
                gap: 2px;
            }

            .admin-firmware-dialog-body dd + dt {
                margin-top: 9px;
            }
        }

        .admin-compact-input {
            width: 180px;
            min-height: 32px;
            padding: 6px 8px;
            font-size: 0.84rem;
        }

        .admin-compact-select {
            width: 118px;
            min-height: 32px;
            padding: 6px 8px;
            font-size: 0.84rem;
        }

        .admin-current-value {
            display: block;
            margin-top: 3px;
            color: var(--muted);
            font-size: 0.72rem;
            white-space: nowrap;
        }

        .admin-compact-check {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            color: var(--text);
            font-size: 0.8rem;
            white-space: nowrap;
        }

        .admin-compact-submit,
        .admin-danger-compact {
            min-height: 30px;
            padding: 6px 9px;
            border-radius: 7px;
            font-size: 0.78rem;
            line-height: 1;
        }

        .admin-compact-submit {
            border: 1px solid rgba(102, 215, 196, 0.34);
            background: rgba(102, 215, 196, 0.14);
            color: var(--text);
            font-weight: 800;
            cursor: pointer;
        }

        .admin-row-button {
            display: inline;
            padding: 0;
            border: 0;
            background: none;
            color: var(--accent);
            font: inherit;
            font-weight: 800;
            text-align: left;
            cursor: pointer;
        }

        .admin-row-button:hover,
        .admin-row-button:focus {
            color: var(--text);
            text-decoration: underline;
        }

        .admin-dialog-row,
        .admin-dialog-row td {
            height: 0;
            padding: 0;
            border: 0;
            line-height: 0;
        }

        .admin-dialog {
            width: min(520px, calc(100vw - 28px));
            max-height: calc(100vh - 40px);
            overflow-y: auto;
            padding: 0;
            border: 1px solid rgba(139, 178, 194, 0.2);
            border-radius: 8px;
            background: linear-gradient(180deg, rgb(13, 28, 38), rgb(9, 19, 27));
            color: var(--text);
            line-height: 1.45;
            box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
        }

        .admin-dialog::backdrop {
            background: rgba(0, 0, 0, 0.58);
        }

        .admin-dialog-form {
            max-width: none;
            width: 100%;
            margin: 0;
            padding: 18px;
            border: 0;
            border-radius: 0;
            box-shadow: none;
            background: transparent;
        }

        .admin-mobile-dialog {
            width: min(720px, calc(100vw - 28px));
        }

        .admin-mobile-overview {
            margin: 0 0 20px;
            padding: 16px;
            border: 1px solid var(--line);
            border-radius: 12px;
            background: rgba(102, 215, 196, 0.045);
        }

        .admin-mobile-overview-status,
        .admin-mobile-quota-heading,
        .admin-mobile-quota-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

        .admin-mobile-overview-status {
            padding-bottom: 14px;
            border-bottom: 1px solid var(--line);
        }

        .admin-mobile-overview-status small,
        .admin-mobile-overview-label,
        .admin-mobile-quota-footer span {
            color: var(--muted);
            font-size: 0.78rem;
        }

        .admin-mobile-overview-label {
            display: block;
            margin-bottom: 4px;
        }

        .admin-mobile-state-badge {
            display: inline-block;
            padding: 3px 9px;
            border: 1px solid var(--line);
            border-radius: 999px;
            color: var(--muted);
            font-size: 0.82rem;
        }

        .admin-mobile-state-badge.is-online {
            border-color: rgba(102, 215, 196, 0.35);
            background: rgba(102, 215, 196, 0.12);
            color: var(--accent);
        }

        .admin-mobile-state-badge.is-warning {
            border-color: rgba(255, 212, 106, 0.3);
            color: #ffd46a;
        }

        .admin-mobile-overview-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px 24px;
            margin: 14px 0 0;
        }

        .admin-mobile-overview-grid dt {
            color: var(--muted);
            font-size: 0.78rem;
        }

        .admin-mobile-overview-grid dd {
            margin: 2px 0 0;
            color: var(--text);
            font-weight: 700;
        }

        .admin-mobile-quota {
            margin-top: 16px;
            padding-top: 14px;
            border-top: 1px solid var(--line);
        }

        .admin-mobile-quota-heading {
            color: var(--text);
            font-size: 0.88rem;
        }

        .admin-mobile-quota-progress {
            display: block;
            width: 100%;
            height: 9px;
            margin: 10px 0 8px;
            overflow: hidden;
            border: 0;
            border-radius: 999px;
            background: rgba(139, 178, 194, 0.17);
            accent-color: var(--accent);
        }

        .admin-mobile-quota-progress::-webkit-progress-bar {
            background: rgba(139, 178, 194, 0.17);
            border-radius: 999px;
        }

        .admin-mobile-quota-progress::-webkit-progress-value {
            background: var(--accent);
            border-radius: 999px;
        }

        .admin-mobile-quota-progress::-moz-progress-bar {
            background: var(--accent);
            border-radius: 999px;
        }

        .admin-mobile-quota-empty,
        .admin-mobile-private-note {
            margin: 10px 0 0;
            color: var(--muted);
            font-size: 0.85rem;
        }

        .admin-mobile-quota .form-hint {
            margin: 8px 0 0;
        }

        .admin-dialog-head .admin-mobile-owner {
            margin-top: 6px;
            color: var(--text);
            font-weight: 700;
        }

        .admin-mobile-sim-state,
        .admin-dialog-head .admin-mobile-sim-note {
            color: #ffd46a;
            font-weight: 700;
        }

        .admin-mobile-detail-section + .admin-mobile-detail-section {
            margin-top: 20px;
            padding-top: 17px;
            border-top: 1px solid var(--line);
        }

        .admin-mobile-detail-section h4 {
            margin: 0 0 10px;
            color: var(--text);
            font-size: 1rem;
        }

        .admin-mobile-detail-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px 20px;
            margin: 0;
        }

        .admin-mobile-detail-grid div {
            min-width: 0;
        }

        .admin-mobile-detail-grid dt {
            margin: 0 0 2px;
            color: var(--muted);
            font: 700 0.75rem/1.35 Arial, sans-serif;
        }

        .admin-mobile-detail-grid dd {
            margin: 0;
            overflow-wrap: anywhere;
            color: var(--text);
            font-size: 0.92rem;
        }

        .admin-mobile-identity {
            font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
        }

        @media (max-width: 560px) {
            .admin-mobile-detail-grid,
            .admin-mobile-overview-grid {
                grid-template-columns: 1fr;
            }

            .admin-mobile-overview-status,
            .admin-mobile-quota-heading,
            .admin-mobile-quota-footer {
                align-items: flex-start;
                flex-direction: column;
                gap: 4px;
            }
        }

        .admin-dialog-head {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 14px;
            margin-bottom: 16px;
        }

        .admin-dialog-head h3 {
            margin: 0 0 4px;
            font-size: 1.2rem;
        }

        .admin-dialog-head p {
            margin: 0;
            color: var(--muted);
            font-size: 0.9rem;
        }

        .admin-owner-section {
            display: grid;
            gap: 12px;
            padding: 14px;
            border: 1px solid var(--line);
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.02);
        }

        .admin-owner-section h4 {
            margin: 0;
            color: var(--muted);
            font-size: 0.85rem;
            letter-spacing: 0.06em;
            text-transform: uppercase;
        }

        .admin-owner-name {
            margin: 0;
            color: var(--text);
            font-size: 1.2rem;
            font-weight: 700;
            line-height: 1.25;
        }

        .admin-owner-details {
            display: grid;
            gap: 6px;
            margin: 0;
            font-size: 0.82rem;
        }

        .admin-owner-details > div {
            display: grid;
            grid-template-columns: minmax(110px, 0.35fr) 1fr;
            gap: 10px;
        }

        .admin-owner-details dt {
            color: var(--muted);
        }

        .admin-owner-details dd {
            margin: 0;
            overflow-wrap: anywhere;
        }

        .admin-owner-section .portal-station-edit {
            justify-self: start;
        }

        .admin-agreement-section {
            padding: 14px;
            border: 1px solid var(--line);
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.02);
        }

        .admin-agreement-section h4 {
            margin: 0 0 12px;
            font-size: 0.95rem;
        }

        .admin-history-dialog { width: min(760px, calc(100vw - 32px)); }
        .admin-small-dialog, .admin-history-dialog { padding: 20px; }
        .admin-history-list { padding-left: 1.4rem; max-height: 65vh; overflow: auto; }
        .admin-history-list li { margin-bottom: 1rem; }
        .admin-history-list pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 0.8rem; }

        .admin-agreement-preview {
            margin: 0;
            padding: 12px 14px;
            border: 1px solid var(--accent);
            border-radius: 10px;
            color: var(--accent);
            font-weight: 700;
        }

        .admin-manual-expiry[hidden] {
            display: none !important;
        }

        .admin-dialog-close {
            width: 34px;
            height: 34px;
            border: 1px solid rgba(139, 178, 194, 0.2);
            border-radius: 8px;
            background: rgba(8, 17, 24, 0.62);
            color: var(--text);
            cursor: pointer;
            font-size: 1.2rem;
            line-height: 1;
        }

        .admin-dialog-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-top: 14px;
        }

        .admin-dialog-delete {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
            margin: 0 18px 18px;
            padding-top: 14px;
            border-top: 1px solid rgba(139, 178, 194, 0.14);
            line-height: 1.45;
        }

        .admin-dialog-delete-danger {
            align-items: flex-start;
        }

        .admin-action-copy {
            flex: 1 1 220px;
            color: var(--muted);
            font-size: 0.88rem;
            line-height: 1.4;
        }

        .admin-dialog-delete .form-secondary-button,
        .admin-dialog-delete .danger-submit {
            margin-left: auto;
        }

        .admin-delete-summary {
            display: grid;
            gap: 5px;
            flex: 1 1 100%;
            color: var(--muted);
            font-size: 0.88rem;
            line-height: 1.4;
        }

        .admin-delete-summary span {
            overflow-wrap: anywhere;
        }

        .admin-delete-summary strong {
            color: #ffb2b2;
        }

        .admin-confirm-text {
            display: grid;
            gap: 5px;
            flex: 1 1 220px;
            min-width: min(220px, 100%);
            color: var(--muted);
            font-size: 0.82rem;
        }

        @media (max-width: 820px) {
            .admin-grid {
                grid-template-columns: 1fr;
            }
        }

        .hidden {
            display: none !important;
        }

        .hero-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
        }

        .hero.station-hero {
            padding: 14px 16px 16px;
        }

        .hero-badges {
            display: flex;
            align-items: center;
            gap: 12px;
            flex: 0 0 auto;
            position: relative;
        }

        .hero-badge-item {
            display: grid;
            justify-items: center;
            gap: 6px;
        }

        .hero-badge-label {
            font-size: 0.74rem;
            line-height: 1.1;
            font-weight: 650;
            color: var(--muted);
            text-align: center;
            white-space: nowrap;
        }

        .hero-copy {
            min-width: 0;
        }

        .hero-title-row {
            display: flex;
            flex-wrap: wrap;
            align-items: baseline;
            justify-content: space-between;
            gap: 10px 16px;
        }

        .hero-station-links {
            display: inline-flex;
            flex-wrap: wrap;
            align-items: baseline;
            gap: 12px 20px;
            flex-shrink: 0;
            justify-content: flex-end;
        }

        .station-flightlog-slot {
            display: inline-flex;
            align-items: baseline;
        }

        .station-flightlog-slot:empty {
            display: none;
        }

        .hero-title-row h1 {
            margin: 0;
            min-width: 0;
        }

        .hero-title-heading {
            display: inline-flex;
            align-items: center;
            gap: 18px;
            flex: 1 1 100%;
            min-width: 0;
        }

        .hero-title-heading .site-mark {
            width: clamp(52px, 7vw, 78px);
            height: clamp(52px, 7vw, 78px);
        }

        .hero-title-row .hero-station-links {
            flex: 1 1 100%;
            justify-content: flex-start;
        }

        .demo-pill {
            display: inline-flex;
            align-items: center;
            min-height: 28px;
            padding: 5px 10px;
            border-radius: 6px;
            border: 1px solid rgba(244, 191, 79, 0.42);
            background: rgba(244, 191, 79, 0.12);
            color: #f8d98a;
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            line-height: 1;
        }

        .hero-yr-forecast-line {
            flex-shrink: 0;
            display: inline-flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0;
            font-size: 0.82rem;
            font-weight: 600;
            color: var(--muted);
            border-bottom: 1px solid rgba(139, 178, 194, 0.35);
            padding-bottom: 1px;
        }

        .hero-yr-forecast-line:hover {
            color: var(--accent);
            border-bottom-color: rgba(102, 215, 196, 0.55);
        }

        .hero-yr-forecast-seg {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: inherit;
            text-decoration: none;
            font-size: inherit;
            font-weight: inherit;
        }

        .hero-yr-forecast-seg:hover {
            color: inherit;
        }

        .hero-yr-forecast-tail {
            display: inline;
            font-weight: inherit;
        }

        .hero-yr-forecast-line:hover .hero-yr-forecast-seg-external {
            color: var(--accent);
        }

        .hero-yr-forecast-icon {
            display: block;
            opacity: 0.88;
        }

        .hero-yr-forecast-link {
            flex-shrink: 0;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.82rem;
            font-weight: 600;
            color: var(--muted);
            text-decoration: none;
            border-bottom: 1px solid rgba(139, 178, 194, 0.35);
            padding-bottom: 1px;
        }

        .hero-yr-forecast-link:hover {
            color: var(--accent);
            border-bottom-color: rgba(102, 215, 196, 0.55);
        }

        .station-comment-section {
            align-self: start;
            padding: 14px;
            border-radius: 16px;
            border: 1px solid rgba(139, 178, 194, 0.12);
            background: rgba(9, 19, 27, 0.58);
        }

        .station-comment-heading {
            margin: 0 0 8px;
            color: var(--muted);
            font: 600 0.72rem/1.3 Arial, sans-serif;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .station-comment-body-host {
            font-size: 0.95rem;
            line-height: 1.55;
            color: var(--text);
        }

        .station-comment-body-host .station-comment-body > p:last-child {
            margin-bottom: 0;
        }

        .station-comment-body-host .station-comment-body h2 {
            margin: 0 0 0.6em;
            font-size: 1.08rem;
            line-height: 1.25;
            color: var(--text);
        }

        .station-comment-body-host .station-comment-body p {
            margin: 0 0 0.85em;
        }

        .station-comment-body-host .station-comment-body a {
            color: var(--accent);
            text-decoration: underline;
            text-underline-offset: 2px;
        }

        .station-comment-body-host .station-comment-body code {
            font-size: 0.88em;
            padding: 0.1em 0.35em;
            border-radius: 4px;
            background: rgba(15, 31, 41, 0.45);
        }

        .form-textarea {
            min-height: 9rem;
            resize: vertical;
            font-family: inherit;
            line-height: 1.45;
        }

        .weather-badge,
        .flight-badge,
        .yr-weather-badge {
            width: 116px;
            height: 116px;
            display: grid;
            place-items: center;
            border-radius: 24px;
            background: linear-gradient(180deg, rgba(15, 31, 41, 0.92), rgba(9, 20, 27, 0.96));
            border: 1px solid rgba(139, 178, 194, 0.16);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 14px 28px rgba(0, 0, 0, 0.2);
            cursor: help;
            position: relative;
            overflow: visible;
        }

        .yr-weather-badge {
            cursor: pointer;
            text-decoration: none;
        }

        .weather-badge svg,
        .flight-badge svg,
        .yr-weather-badge img {
            width: 76px;
            height: 76px;
            display: block;
        }

        .weather-badge:focus-visible,
        .flight-badge:focus-visible,
        .yr-weather-badge:focus-visible {
            outline: 2px solid rgba(102, 215, 196, 0.86);
            outline-offset: 4px;
        }

        .weather-badge[data-badge-popover]::before,
        .flight-badge[data-badge-popover]::before {
            content: attr(data-badge-popover);
            position: absolute;
            z-index: 20;
            top: calc(100% + 12px);
            right: 0;
            width: min(320px, calc(100vw - 32px));
            padding: 12px 14px;
            border-radius: 8px;
            border: 1px solid rgba(139, 178, 194, 0.22);
            background: rgba(9, 20, 27, 0.98);
            box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
            color: var(--text);
            font-size: 0.86rem;
            font-weight: 500;
            line-height: 1.45;
            text-align: left;
            white-space: pre-line;
            opacity: 0;
            transform: translateY(-4px);
            pointer-events: none;
            transition: opacity 140ms ease, transform 140ms ease;
        }

        .weather-badge[data-badge-popover]::after,
        .flight-badge[data-badge-popover]::before,
        .flight-badge[data-badge-popover]::after {
            pointer-events: none;
        }

        .weather-badge[data-badge-popover]::after,
        .flight-badge[data-badge-popover]::after {
            content: "";
            position: absolute;
            z-index: 21;
            top: calc(100% + 6px);
            right: 28px;
            width: 12px;
            height: 12px;
            border-left: 1px solid rgba(139, 178, 194, 0.22);
            border-top: 1px solid rgba(139, 178, 194, 0.22);
            background: rgba(9, 20, 27, 0.98);
            transform: rotate(45deg);
            opacity: 0;
            transition: opacity 140ms ease;
        }

        .weather-badge[data-badge-popover]:hover::before,
        .weather-badge[data-badge-popover]:focus-visible::before,
        .weather-badge[data-badge-popover].is-popover-open::before,
        .flight-badge[data-badge-popover]:hover::before,
        .flight-badge[data-badge-popover]:focus-visible::before,
        .flight-badge[data-badge-popover].is-popover-open::before {
            opacity: 1;
            transform: translateY(0);
        }

        .weather-badge[data-badge-popover]:hover::after,
        .weather-badge[data-badge-popover]:focus-visible::after,
        .weather-badge[data-badge-popover].is-popover-open::after,
        .flight-badge[data-badge-popover]:hover::after,
        .flight-badge[data-badge-popover]:focus-visible::after,
        .flight-badge[data-badge-popover].is-popover-open::after {
            opacity: 1;
        }

        .eyebrow {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 6px 10px;
            border-radius: 999px;
            background: var(--accent-soft);
            color: var(--accent);
            font: 700 12px/1.2 Arial, sans-serif;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            text-decoration: none;
            transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
        }

        .eyebrow:hover {
            color: var(--text);
            background: rgba(102, 215, 196, 0.2);
        }

        .language-switcher {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            justify-content: flex-end;
        }

        .language-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 74px;
            padding: 7px 11px;
            border-radius: 999px;
            border: 1px solid rgba(139, 178, 194, 0.14);
            background: rgba(8, 17, 24, 0.56);
            color: var(--muted);
            font: 600 0.78rem/1 Arial, sans-serif;
            text-decoration: none;
            transition: border-color 120ms ease, color 120ms ease, background 120ms ease;
        }

        .language-link:hover,
        .language-link.is-active {
            color: var(--text);
            border-color: rgba(102, 215, 196, 0.44);
            background: rgba(102, 215, 196, 0.12);
        }

        h1 {
            margin: 14px 0 10px;
            font-size: clamp(2.1rem, 5vw, 4rem);
            line-height: 1;
        }

        .title-with-icon {
            display: inline-flex;
            align-items: center;
            gap: 18px;
            flex-wrap: wrap;
        }

        .site-mark {
            width: clamp(58px, 8vw, 86px);
            height: clamp(58px, 8vw, 86px);
            display: inline-block;
            flex: 0 0 auto;
            filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
        }

        .intro {
            max-width: 760px;
            color: var(--muted);
            font: 400 1.05rem/1.6 Arial, sans-serif;
        }

        .hero-links {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 18px;
        }

        .hero-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 16px;
            border-radius: 999px;
            border: 1px solid rgba(102, 215, 196, 0.22);
            background: rgba(11, 30, 40, 0.92);
            color: var(--text);
            text-decoration: none;
            font: 600 0.92rem/1.2 Arial, sans-serif;
            transition: border-color 120ms ease, transform 120ms ease, background 120ms ease;
        }

        .hero-link:hover {
            border-color: rgba(102, 215, 196, 0.45);
            background: rgba(13, 34, 45, 0.98);
            transform: translateY(-1px);
        }

        .node-link-distance {
            display: block;
            margin-top: 6px;
            color: var(--accent);
            font: 600 0.84rem/1.35 Arial, sans-serif;
        }

        .home-hero {
            position: relative;
            overflow: hidden;
            min-height: 205px;
            margin-bottom: 18px;
            border: 1px solid rgba(139, 178, 194, 0.2);
            border-radius: 12px;
            background: #07191f;
            box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
        }

        .home-hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image: var(--home-hero-image);
            background-repeat: no-repeat;
            background-size: 900px auto;
            background-position: right 18px top -18px;
            opacity: 0.88;
            mix-blend-mode: screen;
        }

        .home-hero::after {
            content: "";
            position: absolute;
            inset: 0;
            background:
                linear-gradient(90deg, rgba(7, 25, 31, 0.98) 0%, rgba(7, 25, 31, 0.84) 38%, rgba(7, 25, 31, 0.2) 68%, rgba(7, 25, 31, 0.46) 100%),
                linear-gradient(180deg, rgba(7, 25, 31, 0.08) 0%, rgba(7, 25, 31, 0.34) 64%, rgba(7, 25, 31, 0.86) 100%);
        }

        .home-hero-lines {
            position: absolute;
            inset: 0;
            z-index: 1;
            pointer-events: none;
            opacity: 0.45;
        }

        .home-hero-lines span {
            position: absolute;
            right: -6%;
            width: 72%;
            height: 2px;
            background: linear-gradient(90deg, transparent, rgba(102, 215, 196, 0.54), transparent);
            transform: rotate(-8deg);
        }

        .home-hero-lines span:nth-child(1) {
            top: 28%;
        }

        .home-hero-lines span:nth-child(2) {
            top: 47%;
            right: -12%;
            opacity: 0.58;
        }

        .home-hero-lines span:nth-child(3) {
            top: 67%;
            opacity: 0.34;
        }

        .home-hero-model-aircraft {
            position: absolute;
            right: 60px;
            bottom: 18px;
            z-index: 1;
            width: 230px;
            aspect-ratio: 2.55;
            background-image: var(--home-hero-model-aircraft);
            background-repeat: no-repeat;
            background-size: contain;
            background-position: center;
            filter: brightness(0.72) saturate(0.9) drop-shadow(0 12px 16px rgba(0, 0, 0, 0.32));
            opacity: 0.48;
            pointer-events: none;
        }

        .home-hero-inner {
            position: relative;
            z-index: 2;
            display: flex;
            min-height: inherit;
            align-items: center;
            padding: 28px;
        }

        .home-hero-copy {
            min-width: 0;
        }

        .home-hero-brand {
            display: inline-flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 0;
            color: var(--text);
        }

        .home-hero-brand .site-mark {
            width: 86px;
            height: 86px;
            flex: 0 0 auto;
        }

        .home-hero-brand strong,
        .home-hero-brand em {
            display: block;
            letter-spacing: 0;
        }

        .home-hero-brand strong {
            font-size: 2.9rem;
            line-height: 0.96;
            font-weight: 900;
        }

        .home-hero-brand em {
            margin-top: 3px;
            color: #f7fbfc;
            font: 700 1rem/1.1 Arial, sans-serif;
            font-style: normal;
            text-transform: lowercase;
        }

        .home-hero p {
            max-width: 680px;
            margin: 0;
            color: #d4e5eb;
            font: 700 clamp(1rem, 1.9vw, 1.28rem)/1.45 Arial, sans-serif;
        }

        .home-station-hero {
            position: relative;
            overflow: hidden;
            min-height: 132px;
            margin-bottom: 12px;
            border-radius: 22px;
            background: #08151d;
            box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
        }

        .home-station-hero::after {
            content: "";
            position: absolute;
            inset: 0;
            background:
                linear-gradient(90deg, rgba(5, 15, 22, 0.94) 0%, rgba(5, 15, 22, 0.78) 42%, rgba(5, 15, 22, 0.12) 72%),
                linear-gradient(180deg, rgba(5, 15, 22, 0.08), rgba(5, 15, 22, 0.56));
        }

        .home-station-hero img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: 58% center;
            filter: saturate(0.9) brightness(0.9);
        }

        .home-station-hero-copy {
            position: relative;
            z-index: 1;
            display: flex;
            min-height: 132px;
            max-width: 650px;
            padding: 24px 30px;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
        }

        .home-station-hero-top {
            display: flex;
            gap: 16px;
            align-items: center;
        }

        .home-station-brand {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            color: #f4f8fa;
        }

        .home-station-brand .site-mark {
            width: 43px;
            height: 43px;
        }

        .home-station-brand strong {
            font-size: 1.4rem;
            line-height: 1;
            letter-spacing: -0.025em;
        }

        .home-station-explorer .station-card {
            padding: 16px;
            border-radius: 22px;
        }

        .home-station-explorer .station-card-header {
            margin-bottom: 8px;
        }

        .home-station-explorer .station-action {
            min-height: 34px;
            padding: 6px 11px;
        }

        .home-station-explorer .station-search {
            margin: 8px 0 5px;
        }

        .home-station-explorer .station-search-label {
            margin-bottom: 4px;
            font-size: 0.7rem;
        }

        .home-station-explorer .station-search-input {
            max-width: 50%;
            min-height: 36px;
            padding: 7px 10px;
        }

        .home-station-explorer .station-search-status {
            margin-top: 3px;
        }

        .home-station-explorer .station-status {
            margin-bottom: 7px;
            line-height: 1.3;
        }

        .home-station-content {
            display: grid;
            grid-template-columns: minmax(340px, 0.9fr) minmax(440px, 1.25fr);
            gap: 18px;
            align-items: stretch;
        }

        .home-station-list {
            min-width: 0;
        }

        .home-station-list .node-links {
            grid-template-columns: minmax(0, 1fr);
        }

        .home-map-panel {
            display: flex;
            min-width: 0;
            padding: 10px;
            border: 1px solid rgba(139, 178, 194, 0.13);
            border-radius: 18px;
            background: rgba(7, 17, 24, 0.62);
            flex-direction: column;
            align-self: start;
        }

        .home-map-heading {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            align-items: flex-start;
            margin-bottom: 4px;
        }

        .home-map-heading h3 {
            margin: 4px 0 2px;
            font-size: 1.15rem;
        }

        .home-map-heading p {
            max-width: 460px;
            margin: 0;
            color: var(--muted);
            font-size: 0.84rem;
            line-height: 1.35;
        }

        .home-map-panel .station-map-status {
            margin: 0 0 4px;
            font-size: 0.78rem;
        }

        .home-map-panel .station-map.home-station-map {
            height: clamp(440px, 44vh, 500px);
            min-height: 440px;
            border-radius: 14px;
        }

        @media (max-width: 980px) {
            .home-station-content {
                grid-template-columns: 1fr;
            }

            .home-map-panel .station-map.home-station-map {
                height: 420px;
                min-height: 420px;
            }
        }

        @media (max-width: 620px) {
            .home-station-hero {
                min-height: 190px;
                border-radius: 18px;
            }

            .home-station-hero::after {
                background: linear-gradient(180deg, rgba(5, 15, 22, 0.18) 0%, rgba(5, 15, 22, 0.92) 66%);
            }

            .home-station-hero img {
                object-position: 68% center;
            }

            .home-station-hero-copy {
                min-height: 190px;
                padding: 20px;
                justify-content: flex-end;
            }

            .home-station-hero-top {
                gap: 10px;
                flex-wrap: wrap;
            }

            .home-station-brand .site-mark {
                width: 40px;
                height: 40px;
            }

            .home-station-explorer .station-card {
                padding: 15px;
            }

            .home-station-explorer .station-search-input {
                max-width: none;
            }

            .home-map-heading {
                flex-direction: column;
            }

            .home-map-panel .station-map.home-station-map {
                height: 360px;
                min-height: 360px;
            }
        }

        .project-grid {
            display: grid;
            grid-template-columns: minmax(0, 1.9fr) minmax(260px, 0.75fr);
            gap: 18px;
        }

        .project-grid.home-stations-only {
            grid-template-columns: minmax(0, 1fr);
        }

        .about-page {
            display: grid;
            gap: 22px;
        }

        .about-visual-hero {
            position: relative;
            overflow: hidden;
            min-height: 0;
            border: 0;
            border-radius: 0;
            background: var(--panel);
            box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
        }

        .about-hero-photo {
            display: block;
            width: 100%;
            height: clamp(360px, 44vw, 560px);
            object-fit: cover;
            object-position: center 45%;
        }

        .about-visual-copy {
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: center;
            width: auto;
            min-height: 0;
            padding: clamp(26px, 4vw, 44px);
        }

        .about-eyebrow {
            color: #7fe1b0;
            font: 700 0.76rem/1.3 Arial, sans-serif;
            letter-spacing: 0.13em;
            text-transform: uppercase;
        }

        .about-page h2,
        .about-visual-copy h1 {
            margin: 10px 0 14px;
            color: var(--text);
            font: 700 clamp(1.75rem, 3.7vw, 3.15rem)/1.05 Arial, sans-serif;
            letter-spacing: -0.035em;
        }

        .about-page p {
            margin: 0;
            color: var(--muted);
            font: 400 1rem/1.7 Arial, sans-serif;
        }

        .about-visual-copy p {
            max-width: 580px;
            color: #e2eef1;
            font-size: clamp(1rem, 1.6vw, 1.18rem);
        }

        .about-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 24px;
        }

        .about-button {
            display: inline-flex;
            align-items: center;
            min-height: 44px;
            padding: 0 18px;
            border: 1px solid rgba(255, 255, 255, 0.28);
            border-radius: 999px;
            color: #f5fbfc;
            font: 700 0.88rem/1 Arial, sans-serif;
            text-decoration: none;
            backdrop-filter: blur(8px);
            background: rgba(7, 25, 31, 0.42);
        }

        .about-button:hover {
            border-color: rgba(255, 255, 255, 0.56);
            transform: translateY(-1px);
        }

        .about-button-primary {
            border-color: #7fe1b0;
            color: #061d16;
            background: #7fe1b0;
        }

        .about-inline-action {
            margin-top: 20px;
        }

        .about-intro-block,
        .about-section-heading {
            max-width: 760px;
            padding: 34px 22px 10px;
        }

        .about-benefits,
        .about-steps {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 14px;
        }

        .about-benefit,
        .about-steps article {
            border: 1px solid var(--line);
            border-radius: 20px;
            padding: 24px;
            background: rgba(13, 38, 46, 0.78);
        }

        .about-benefit-mark {
            display: block;
            width: 34px;
            height: 4px;
            margin-bottom: 24px;
            border-radius: 999px;
            background: #7fe1b0;
        }

        .about-benefit h3,
        .about-steps h3 {
            margin: 0 0 10px;
            color: var(--text);
            font: 700 1.08rem/1.25 Arial, sans-serif;
        }

        .about-benefit p,
        .about-steps p {
            font-size: 0.92rem;
        }

        .about-split {
            display: grid;
            grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
            overflow: hidden;
            border: 1px solid var(--line);
            border-radius: 24px;
            background: var(--panel);
        }

        .about-split > div {
            align-self: center;
            padding: clamp(28px, 5vw, 56px);
        }

        .about-split img {
            width: 100%;
            height: 100%;
            min-height: 430px;
            object-fit: cover;
        }

        .about-private-photo {
            position: relative;
            align-self: stretch;
            overflow: hidden;
            min-height: 430px;
            padding: 0;
        }

        .about-split .about-private-photo img {
            position: absolute;
            inset: 0;
            object-position: 53% center;
        }

        .about-split p + p {
            margin-top: 14px;
        }

        .about-how {
            padding: 28px 0 12px;
            scroll-margin-top: 24px;
        }

        .about-steps article > span {
            display: grid;
            place-items: center;
            width: 38px;
            height: 38px;
            margin-bottom: 22px;
            border: 1px solid rgba(127, 225, 176, 0.5);
            border-radius: 50%;
            color: #9cebc2;
            font: 700 0.85rem/1 Arial, sans-serif;
            background: rgba(127, 225, 176, 0.08);
        }

        .about-split-windsock {
            grid-template-columns: minmax(360px, 1.05fr) minmax(0, 0.95fr);
        }

        .about-split-windsock h2 {
            font-size: clamp(1.75rem, 3vw, 2.35rem);
        }

        .about-split-windsock img {
            max-height: 540px;
            object-position: center 43%;
        }

        .card {
            background: var(--panel);
            border: 1px solid var(--line);
            border-radius: 22px;
            padding: 20px;
            box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
            min-width: 0;
        }

        .status {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 16px;
            color: var(--muted);
            font: 400 0.88rem/1.5 Arial, sans-serif;
        }

        .status-text {
            display: flex;
            flex-wrap: wrap;
            gap: 0.35rem;
        }

        .status-label,
        .status-detail {
            white-space: nowrap;
        }

        .status-dot {
            width: 12px;
            height: 12px;
            border-radius: 999px;
            background: #c58c3d;
            box-shadow: 0 0 0 4px rgba(197, 140, 61, 0.16);
        }

        .status-dot.ok {
            background: #59d88a;
            box-shadow: 0 0 0 4px rgba(89, 216, 138, 0.14);
        }

        .status-dot.warn {
            background: #c58c3d;
            box-shadow: 0 0 0 4px rgba(197, 140, 61, 0.16);
        }

        .status-dot.error {
            background: #ff6f6f;
            box-shadow: 0 0 0 4px rgba(255, 111, 111, 0.14);
        }

        .wind-data-warning {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin: -2px 0 16px;
            padding: 11px 13px;
            border: 1px solid rgba(230, 174, 76, 0.42);
            border-radius: 13px;
            background: rgba(89, 57, 13, 0.26);
            color: #f4d99a;
            font: 400 0.86rem/1.45 Arial, sans-serif;
        }

        .wind-data-warning[hidden] {
            display: none;
        }

        .wind-data-warning-icon {
            display: inline-grid;
            place-items: center;
            flex: 0 0 20px;
            width: 20px;
            height: 20px;
            border-radius: 999px;
            background: rgba(230, 174, 76, 0.2);
            border: 1px solid rgba(230, 174, 76, 0.55);
            color: #ffd46a;
            font-weight: 800;
            line-height: 1;
        }

        .wind-data-warning strong {
            display: block;
            color: #ffe2a3;
            font-weight: 700;
        }

        .wind-data-warning span[id$="-detail"] {
            display: block;
            margin-top: 1px;
            color: rgba(244, 217, 154, 0.88);
        }

        .dashboard-stale .hero-card {
            border-color: rgba(139, 178, 194, 0.2);
        }

        .dashboard-stale .summary-pill,
        .dashboard-stale .metric,
        .dashboard-stale .wind-figure-stat,
        .dashboard-stale .wind-figure-note {
            filter: grayscale(0.9);
            opacity: 0.54;
        }

        .dashboard-stale .metric-value,
        .dashboard-stale .summary-pill-value,
        .dashboard-stale .summary-pill-note,
        .dashboard-stale .wind-figure-stat-value {
            color: var(--muted);
            text-shadow: none;
        }

        .dashboard-stale .status-dot.error {
            background: rgba(139, 178, 194, 0.72);
            box-shadow: 0 0 0 4px rgba(139, 178, 194, 0.08);
        }

        .summary-strip {
            display: grid;
            grid-template-columns: 1fr;
            gap: 12px;
            margin-bottom: 0;
        }

        .summary-pill {
            padding: 14px 16px;
            border-radius: 16px;
            background: rgba(9, 19, 27, 0.72);
            border: 1px solid rgba(139, 178, 194, 0.12);
        }

        .summary-pill-label {
            display: block;
            margin-bottom: 5px;
            color: var(--muted);
            font: 600 0.72rem/1.3 Arial, sans-serif;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .summary-pill-value {
            display: block;
            font: 700 1rem/1.35 Arial, sans-serif;
            color: var(--text);
        }

        .summary-pill-note {
            display: block;
            margin-top: 4px;
            color: var(--muted);
            font: 400 0.82rem/1.45 Arial, sans-serif;
        }

        .summary-strip-yr-forecast .summary-pill {
            padding: 16px 18px;
        }

        .summary-strip-yr-forecast .summary-pill-value {
            display: none;
        }

        .summary-strip-yr-forecast .summary-pill-note {
            color: var(--text);
            font-size: 0.92rem;
            line-height: 1.55;
        }

        .hero-card {
            background:
                radial-gradient(circle at top right, rgba(102, 215, 196, 0.12), transparent 28%),
                linear-gradient(180deg, rgba(13, 28, 38, 0.98), rgba(9, 19, 27, 0.96));
        }

        .station-primary-grid {
            display: grid;
            grid-template-columns: minmax(300px, 360px) minmax(360px, 1fr) minmax(260px, 320px);
            grid-template-areas:
                "rose metrics side"
                "map map map";
            gap: 18px;
            align-items: start;
        }

        .station-primary-grid > .wind-figure {
            grid-area: rose;
        }

        .station-primary-grid > .metrics {
            grid-area: metrics;
        }

        .station-primary-grid > .station-side-panel {
            grid-area: side;
        }

        .station-primary-grid > .takeoff-map-card {
            grid-area: map;
            width: 100%;
            min-width: 0;
            margin-top: 0;
            align-self: stretch;
            box-sizing: border-box;
        }

        .station-side-panel {
            display: grid;
            gap: 12px;
            min-width: 0;
        }

        .metrics {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px;
            min-width: 0;
        }

        .hero-layout {
            display: grid;
            grid-template-columns: 360px minmax(0, 1.2fr);
            gap: 22px;
            align-items: start;
        }

        .hero-layout > * {
            min-width: 0;
        }

        .metric {
            padding: 14px;
            border-radius: 18px;
            background: var(--metric-bg);
            border: 1px solid rgba(130, 176, 196, 0.14);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 12px 24px rgba(0, 0, 0, 0.18);
        }

        .metric-label {
            display: block;
            margin-bottom: 7px;
            color: var(--muted);
            font: 600 0.7rem/1.25 Arial, sans-serif;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        .metric-value {
            font: 700 clamp(1rem, 1.15vw, 1.26rem)/1.12 Arial, sans-serif;
            text-wrap: balance;
            text-shadow: 0 0 12px var(--metric-glow);
        }

        .metric-value.multiline {
            font-size: clamp(0.86rem, 0.92vw, 0.98rem);
            line-height: 1.22;
            text-wrap: pretty;
        }

        .metric-value .metric-subline {
            display: block;
            margin-top: 3px;
            color: var(--muted);
            font-size: 0.78em;
            font-weight: 600;
            text-shadow: none;
        }

        .wind-figure {
            order: -1;
            padding: 16px;
            border-radius: 18px;
            background: linear-gradient(180deg, rgba(18, 38, 50, 0.95) 0%, rgba(11, 22, 30, 0.98) 100%);
            border: 1px solid rgba(130, 176, 196, 0.14);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 12px 24px rgba(0, 0, 0, 0.18);
        }

        .wind-figure-title {
            margin: 0 0 12px;
            color: var(--muted);
            font: 600 0.8rem/1.3 Arial, sans-serif;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        .compass {
            position: relative;
            width: 300px;
            height: 300px;
            margin: 0 auto;
            border-radius: 50%;
            border: 0;
            overflow: hidden;
            box-shadow:
                0 18px 38px rgba(0, 0, 0, 0.32);
            background:
                var(--compass-sectors, conic-gradient(from 0deg, transparent 0deg, transparent 360deg)),
                radial-gradient(circle at 45% 34%, #74bfd0 0%, #3c8496 48%, #1d4b5c 100%);
        }

        .compass.has-svg-base {
            background: transparent;
        }

        .compass.has-svg-base::before,
        .compass.has-svg-base::after {
            display: none;
        }

        .compass-svg-base {
            position: absolute;
            inset: 0;
            z-index: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.26));
        }

        .compass-svg-ring {
            fill: #172b31;
            stroke: #101416;
            stroke-width: 9;
        }

        .compass-svg-sector {
            opacity: 1;
        }

        .compass-svg-tick {
            stroke: rgba(245, 250, 246, 0.74);
            stroke-width: 2;
            stroke-linecap: round;
        }

        .compass-svg-tick.major {
            stroke-width: 3;
            stroke: rgba(245, 250, 246, 0.86);
        }

        .compass::before,
        .compass::after {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: 50%;
            pointer-events: none;
        }

        .compass::before {
            z-index: 4;
            background:
                repeating-conic-gradient(from -0.7deg, rgba(245, 250, 246, 0.64) 0deg 1.4deg, transparent 1.4deg 30deg),
                radial-gradient(circle at 50% 50%,
                    transparent 0%,
                    transparent 76%,
                    rgba(23, 43, 49, 0.22) 77%,
                    #172b31 82%,
                    #101416 94%,
                    #050708 100%);
            -webkit-mask: radial-gradient(circle, transparent 0 74%, #000 75% 100%);
            mask: radial-gradient(circle, transparent 0 74%, #000 75% 100%);
        }

        .compass::after {
            z-index: 1;
            background:
                linear-gradient(90deg, transparent 8%, rgba(5, 7, 8, 0.24) 8% calc(50% - 1px), transparent calc(50% - 1px) calc(50% + 1px), rgba(5, 7, 8, 0.24) calc(50% + 1px) 92%, transparent 92%),
                linear-gradient(0deg, transparent 8%, rgba(5, 7, 8, 0.24) 8% calc(50% - 1px), transparent calc(50% - 1px) calc(50% + 1px), rgba(5, 7, 8, 0.24) calc(50% + 1px) 92%, transparent 92%);
        }

        .compass-arrow {
            position: absolute;
            left: 50%;
            top: 50%;
            z-index: 8;
            width: 56px;
            height: 64px;
            background: transparent;
            --compass-arrow-shape: polygon(50% 0%, 82% 78%, 50% 58%, 18% 78%);
            transform-origin: 50% 50%;
            transform: translate(-50%, -50%) rotate(180deg) scale(var(--compass-arrow-scale, 1));
            filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.62));
        }

        .compass:not(.station-settings-compass) .compass-arrow {
            opacity: 0;
        }

        .compass.has-wind-data .compass-arrow,
        .station-settings-compass .compass-arrow {
            opacity: 1;
        }

        .compass-arrow.avg {
            width: 44px;
            height: 50px;
            opacity: 0.56;
        }

        .compass-arrow::before {
            content: "";
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.94);
            clip-path: var(--compass-arrow-shape);
        }

        .compass-arrow::after {
            content: "";
            position: absolute;
            inset: 3px;
            background: #f7fff8;
            clip-path: var(--compass-arrow-shape);
        }

        .compass-yr-arrow {
            position: absolute;
            left: 50%;
            top: 50%;
            z-index: 9;
            width: 34px;
            height: 40px;
            transform: translate(-50%, -50%) rotate(180deg);
            transform-origin: 50% 50%;
            filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.58));
            pointer-events: none;
        }

        .compass-yr-arrow.hidden {
            display: none;
        }

        .compass-yr-arrow-shape {
            position: absolute;
            inset: 0;
            --compass-arrow-shape: polygon(50% 0%, 82% 78%, 50% 58%, 18% 78%);
        }

        .compass-yr-arrow-shape::before,
        .compass-yr-arrow-shape::after {
            content: "";
            position: absolute;
            clip-path: var(--compass-arrow-shape);
        }

        .compass-yr-arrow-shape::before {
            inset: 0;
            background: rgba(0, 0, 0, 0.9);
        }

        .compass-yr-arrow-shape::after {
            inset: 3px;
            background: #00a6ff;
        }

        .compass-yr-label {
            position: absolute;
            left: 50%;
            top: 50%;
            z-index: 10;
            min-width: 78px;
            padding: 1px 4px;
            border-radius: 999px;
            color: #f2fbff;
            background: rgba(0, 48, 82, 0.82);
            border: 1px solid rgba(0, 166, 255, 0.65);
            font: 900 0.66rem/1.15 Arial, sans-serif;
            text-align: center;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95);
            transform: translate(-50%, 2px);
            white-space: nowrap;
        }

        .compass-yr-label.hidden {
            display: none;
        }

        .compass-windy-arrow {
            position: absolute;
            left: 50%;
            top: 50%;
            z-index: 8;
            width: 34px;
            height: 40px;
            transform: translate(-50%, -50%) rotate(180deg);
            transform-origin: 50% 50%;
            filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.58));
            pointer-events: none;
        }

        .compass-windy-arrow.hidden {
            display: none;
        }

        .compass-windy-arrow-shape {
            position: absolute;
            inset: 0;
            --compass-arrow-shape: polygon(50% 0%, 82% 78%, 50% 58%, 18% 78%);
        }

        .compass-windy-arrow-shape::before,
        .compass-windy-arrow-shape::after {
            content: "";
            position: absolute;
            clip-path: var(--compass-arrow-shape);
        }

        .compass-windy-arrow-shape::before {
            inset: 0;
            background: rgba(0, 0, 0, 0.9);
        }

        .compass-windy-arrow-shape::after {
            inset: 3px;
            background: #ff9ec8;
        }

        .compass-windy-label {
            position: absolute;
            left: 50%;
            top: 50%;
            z-index: 10;
            min-width: 78px;
            padding: 1px 4px;
            border-radius: 999px;
            color: #fff0f6;
            background: rgba(72, 18, 42, 0.84);
            border: 1px solid rgba(255, 158, 200, 0.62);
            font: 900 0.66rem/1.15 Arial, sans-serif;
            text-align: center;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95);
            transform: translate(-50%, 2px);
            white-space: nowrap;
        }

        .compass-yr-label.is-stacked,
        .compass-windy-label.is-stacked {
            min-width: 0;
            padding: 2px 6px;
        }

        .compass-windy-label.hidden {
            display: none;
        }

        .compass.is-stale .compass-arrow {
            opacity: 0;
        }

        .dashboard-stale .compass {
            filter: grayscale(0.85);
            opacity: 0.7;
        }

        .compass-runway {
            position: absolute;
            left: 50%;
            top: 50%;
            z-index: 3;
            width: 44px;
            height: 78%;
            border-radius: 4px;
            background:
                linear-gradient(90deg, rgba(255, 255, 255, 0.38) 0 2px, transparent 2px calc(100% - 2px), rgba(255, 255, 255, 0.38) calc(100% - 2px) 100%),
                linear-gradient(180deg, #36424b 0%, #202b33 14%, #172129 50%, #202b33 86%, #36424b 100%);
            border: 1px solid rgba(237, 246, 251, 0.48);
            box-shadow: 0 0 20px rgba(232, 237, 241, 0.16), 0 10px 24px rgba(0, 0, 0, 0.34);
            opacity: 0;
            pointer-events: none;
            transform: translate(-50%, -50%) rotate(0deg);
            transform-origin: 50% 50%;
            transition: opacity 0.18s ease;
        }

        .compass.has-runway .compass-runway {
            opacity: 1;
        }

        .compass-runway::before,
        .compass-runway::after {
            position: absolute;
            left: 50%;
            z-index: 2;
            min-width: 38px;
            color: rgba(255, 255, 255, 0.94);
            font: 900 0.78rem/1 Arial, sans-serif;
            text-align: center;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.72);
            transform: translateX(-50%);
        }

        .compass-runway::before {
            content: attr(data-runway-a);
            top: 13px;
        }

        .compass-runway::after {
            content: attr(data-runway-b);
            bottom: 13px;
            transform: translateX(-50%) rotate(180deg);
        }

        .compass-runway.hide-heading::before,
        .compass-runway.hide-heading::after {
            display: none;
        }

        .compass-runway-centerline {
            position: absolute;
            left: 50%;
            top: 22%;
            bottom: 22%;
            width: 4px;
            border-radius: 999px;
            background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0 18px, transparent 18px 36px);
            transform: translateX(-50%);
        }

        .compass-runway-threshold {
            position: absolute;
            left: 8px;
            right: 8px;
            height: 26px;
            background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0 4px, transparent 4px 8px);
        }

        .compass-runway-threshold.top {
            top: 36px;
        }

        .compass-runway-threshold.bottom {
            bottom: 36px;
        }

        .compass-label {
            position: absolute;
            z-index: 6;
            color: #f8fff8;
            font: 900 1.18rem/1 Arial, sans-serif;
            letter-spacing: 0;
            text-shadow:
                -2px -2px 0 #050708,
                2px -2px 0 #050708,
                -2px 2px 0 #050708,
                2px 2px 0 #050708,
                0 -2px 0 #050708,
                0 2px 0 #050708,
                -2px 0 0 #050708,
                2px 0 0 #050708,
                0 0 4px rgba(0, 0, 0, 0.9);
        }

        .compass-label.n { top: 20px; left: 50%; transform: translateX(-50%); }
        .compass-label.e { right: 19px; top: 50%; transform: translateY(-50%); }
        .compass-label.s { bottom: 18px; left: 50%; transform: translateX(-50%); }
        .compass-label.w { left: 18px; top: 50%; transform: translateY(-50%); }

        .compass-speed {
            position: absolute;
            left: 50%;
            top: 66%;
            z-index: 7;
            color: #f8fff8;
            font: 900 2.6rem/1 Arial, sans-serif;
            letter-spacing: 0;
            transform: translate(-50%, -50%);
            text-shadow:
                -2px -2px 0 #050708,
                2px -2px 0 #050708,
                -2px 2px 0 #050708,
                2px 2px 0 #050708,
                0 -2px 0 #050708,
                0 2px 0 #050708,
                -2px 0 0 #050708,
                2px 0 0 #050708,
                0 3px 7px rgba(0, 0, 0, 0.58);
            pointer-events: none;
        }

        .compass:not(.station-settings-compass) .compass-speed {
            opacity: 0;
        }

        .compass.has-wind-data .compass-speed,
        .station-settings-compass .compass-speed {
            opacity: 1;
        }

        .compass-caption {
            margin-top: 14px;
            text-align: center;
            color: var(--muted);
            font: 400 0.92rem/1.5 Arial, sans-serif;
        }

        .wind-figure-stats {
            margin-top: 14px;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
            max-width: 320px;
            margin-left: auto;
            margin-right: auto;
        }

        .wind-figure-stat {
            padding: 10px 12px;
            border-radius: 14px;
            background: rgba(8, 17, 24, 0.72);
            border: 1px solid rgba(139, 178, 194, 0.12);
        }

        .wind-figure-stat-label {
            display: block;
            margin-bottom: 4px;
            color: var(--muted);
            font: 600 0.72rem/1.3 Arial, sans-serif;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .wind-figure-stat-value {
            color: var(--text);
            font: 700 1.36rem/1.1 Arial, sans-serif;
            text-shadow: 0 0 14px rgba(102, 215, 196, 0.18);
        }

        .wind-figure-stat.gust .wind-figure-stat-value {
            text-shadow: 0 0 14px rgba(244, 191, 79, 0.18);
        }

        .wind-figure-note {
            margin-top: 12px;
            padding: 12px 14px;
            border-radius: 14px;
            background: rgba(8, 17, 24, 0.72);
            border: 1px solid rgba(139, 178, 194, 0.12);
        }

        .section-grid {
            margin-top: 18px;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
        }

        .history-card {
            margin-top: 18px;
            padding: 18px;
        }

        .wind-table-card {
            margin-top: 18px;
            padding: 14px;
            overflow: hidden;
        }

        .wind-table-wrap {
            overflow-x: auto;
            padding-bottom: 2px;
        }

        .wind-table {
            width: max-content;
            min-width: 100%;
            border-collapse: separate;
            border-spacing: 2px;
            color: #d9f5ff;
            font: 700 0.76rem/1.15 Arial, sans-serif;
        }

        .wind-table th,
        .wind-table td {
            min-width: 42px;
            padding: 4px 5px;
            text-align: center;
            vertical-align: middle;
            border-radius: 2px;
            background: rgba(8, 29, 41, 0.88);
            border: 1px solid rgba(130, 196, 215, 0.13);
            white-space: nowrap;
        }

        .wind-table th {
            position: sticky;
            left: 0;
            z-index: 2;
            min-width: 82px;
            color: #b9e9f8;
            text-align: left;
            background: rgba(5, 22, 32, 0.98);
            box-shadow: 5px 0 8px rgba(6, 16, 22, 0.28);
        }

        .wind-table .wind-table-hour {
            color: #f6fbff;
            background: rgba(18, 53, 70, 0.92);
            font-size: 0.92rem;
        }

        .wind-table .wind-table-muted {
            color: rgba(217, 245, 255, 0.68);
            font-weight: 600;
        }

        .wind-table .wind-table-green {
            background: rgba(30, 148, 64, 0.26);
            color: #dff8e5;
        }

        .wind-table .wind-table-yellow {
            background: rgba(255, 255, 0, 0.28);
            color: #fffbd0;
        }

        .wind-table .wind-table-red {
            background: rgba(255, 0, 0, 0.28);
            color: #ffe6e6;
        }

        .wind-table-arrow {
            display: inline-block;
            font-size: 1rem;
            line-height: 1;
            transform-origin: 50% 50%;
        }

        .history-subtitle {
            color: var(--muted);
            font: 400 0.92rem/1.5 Arial, sans-serif;
        }

        .history-tools {
            display: flex;
            align-items: flex-start;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 14px;
            min-width: 0;
        }

        .history-zoom {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            min-width: 0;
            flex: 1 1 520px;
        }

        .history-zoom button {
            appearance: none;
            border: 1px solid rgba(139, 178, 194, 0.18);
            background: rgba(8, 17, 24, 0.72);
            color: var(--muted);
            border-radius: 999px;
            padding: 8px 12px;
            font: 600 0.78rem/1 Arial, sans-serif;
            cursor: pointer;
            transition: border-color 120ms ease, color 120ms ease, background 120ms ease;
        }

        .history-zoom button.is-active,
        .history-zoom button:hover {
            color: var(--text);
            border-color: rgba(102, 215, 196, 0.5);
            background: rgba(102, 215, 196, 0.12);
        }

        .chart-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 16px;
            min-width: 0;
        }

        .chart-panel {
            padding: 16px;
            border-radius: 18px;
            background: linear-gradient(180deg, rgba(18, 38, 50, 0.95) 0%, rgba(11, 22, 30, 0.98) 100%);
            border: 1px solid rgba(130, 176, 196, 0.14);
            min-width: 0;
            overflow: hidden;
        }

        .chart-title {
            margin: 0 0 10px;
            color: var(--text);
            font: 700 0.98rem/1.3 Arial, sans-serif;
        }

        .chart-wrap {
            position: relative;
            width: 100%;
            max-width: 100%;
            height: 220px;
            border-radius: 14px;
            overflow: hidden;
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 100%),
                linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 100%),
                linear-gradient(180deg, rgba(9, 18, 25, 0.95), rgba(6, 12, 18, 0.96));
            background-size: 100% 25%, 20% 100%, auto;
            border: 1px solid rgba(139, 178, 194, 0.12);
        }

        .chart-svg {
            width: 100%;
            max-width: 100%;
            height: 100%;
            display: block;
        }

        .chart-hover-line {
            position: absolute;
            top: 10px;
            bottom: 10px;
            width: 1px;
            background: rgba(242, 247, 251, 0.5);
            pointer-events: none;
            opacity: 0;
            transform: translateX(-0.5px);
        }

        .chart-hover-line.is-visible {
            opacity: 1;
        }

        .chart-tooltip {
            position: fixed;
            z-index: 80;
            min-width: 150px;
            max-width: min(260px, calc(100vw - 24px));
            padding: 10px 12px;
            border-radius: 10px;
            border: 1px solid rgba(137, 214, 205, 0.26);
            background: rgba(5, 16, 23, 0.96);
            box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
            color: var(--text);
            font: 700 0.82rem/1.35 Arial, sans-serif;
            pointer-events: none;
        }

        .chart-tooltip[hidden] {
            display: none;
        }

        .chart-tooltip-time {
            margin-bottom: 6px;
            color: var(--accent);
            font-size: 0.78rem;
            text-transform: uppercase;
            letter-spacing: 0;
        }

        .chart-tooltip div:not(.chart-tooltip-time) {
            display: flex;
            justify-content: space-between;
            gap: 14px;
            align-items: baseline;
            white-space: nowrap;
        }

        .chart-tooltip span {
            color: var(--muted);
            font-weight: 600;
        }

        .chart-tooltip strong {
            color: var(--text);
            font-weight: 800;
        }

        .chart-labels {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 10px;
            color: var(--muted);
            font: 400 0.82rem/1.4 Arial, sans-serif;
        }

        .chart-labels span {
            min-width: 0;
        }

        .chart-legend {
            justify-content: flex-start;
            gap: 18px;
        }

        .chart-legend span::before {
            content: "";
            display: inline-block;
            width: 18px;
            height: 3px;
            margin-right: 6px;
            border-radius: 999px;
            vertical-align: middle;
        }

        .chart-legend .legend-temperature::before {
            background: #ff6666;
        }

        .chart-legend .legend-light::before {
            background: #ffff66;
        }

        .chart-legend .legend-uvi::before {
            background: #55b96b;
        }

        .chart-legend .legend-rain::before {
            background: #4f8cff;
        }

        .chart-legend .legend-humidity::before {
            background: #5ee0b8;
        }

        .chart-legend .legend-pressure::before {
            background: #d7b4ff;
        }

        .chart-meta {
            margin-top: 10px;
            color: var(--muted);
            font: 400 0.86rem/1.5 Arial, sans-serif;
        }

        .panel-title {
            margin: 0 0 12px;
            color: var(--text);
            font: 700 1rem/1.3 Arial, sans-serif;
        }

        .details {
            display: grid;
            gap: 8px;
            font: 400 0.95rem/1.5 Arial, sans-serif;
        }

        .section-title {
            margin: 22px 0 12px;
            color: var(--accent);
            font: 600 0.95rem/1.4 Arial, sans-serif;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }

        .refresh-note {
            margin-top: 14px;
            color: var(--muted);
            font: 400 0.88rem/1.5 Arial, sans-serif;
        }

        .detail-row {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            padding: 8px 0;
            border-bottom: 1px dashed var(--line);
        }

        .detail-row.hidden {
            display: none;
        }

        .card.hidden {
            display: none;
        }

        .detail-row span:first-child {
            color: var(--muted);
        }

        .project-list {
            margin: 0;
            padding-left: 20px;
            color: var(--text);
            font: 400 1rem/1.7 Arial, sans-serif;
        }

        .project-list strong {
            color: var(--accent);
        }

        .station-card {
            background:
                radial-gradient(circle at top right, rgba(102, 215, 196, 0.09), transparent 32%),
                linear-gradient(180deg, rgba(13, 28, 38, 0.98), rgba(9, 19, 27, 0.96));
        }

        .station-card-header {
            display: flex;
            align-items: end;
            justify-content: space-between;
            gap: 16px;
            margin-bottom: 14px;
        }

        .station-card-heading {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }

        .station-card-heading h2 {
            margin: 0;
        }

        .station-card-actions {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .station-count {
            flex: 0 0 auto;
            padding: 7px 10px;
            border-radius: 999px;
            background: rgba(102, 215, 196, 0.12);
            color: var(--accent);
            font: 700 0.76rem/1 Arial, sans-serif;
            letter-spacing: 0.06em;
            text-transform: uppercase;
        }

        .station-action {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 40px;
            padding: 8px 14px;
            border-radius: 999px;
            border: 1px solid rgba(102, 215, 196, 0.24);
            background: rgba(11, 30, 40, 0.86);
            color: var(--text);
            text-decoration: none;
            cursor: pointer;
            font: 600 0.88rem/1.2 Arial, sans-serif;
            transition: border-color 120ms ease, transform 120ms ease, background 120ms ease;
        }

        .station-action:hover {
            border-color: rgba(102, 215, 196, 0.45);
            background: rgba(13, 34, 45, 0.96);
            transform: translateY(-1px);
        }

        .station-action-link {
            color: var(--accent);
        }

        .station-map-layout {
            margin-top: 28px;
        }

        .station-map-card {
            overflow: hidden;
            padding: 0;
            background:
                radial-gradient(circle at 75% 0%, rgba(102, 215, 196, 0.08), transparent 34%),
                linear-gradient(180deg, rgba(13, 28, 38, 0.98), rgba(7, 17, 24, 0.98));
        }

        .station-map-toolbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            padding: 18px 20px;
            border-bottom: 1px solid rgba(139, 178, 194, 0.14);
        }

        .station-map-toolbar-side {
            display: grid;
            justify-items: stretch;
            gap: 9px;
            flex: 1 1 auto;
            min-width: 0;
        }

        .station-map-filters {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
            width: 100%;
            margin: 0;
            padding: 0;
            border: 0;
        }

        .station-map-filters .station-filter-end {
            margin-left: auto;
        }

        .station-map-filters label {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            min-height: 30px;
            padding: 5px 9px;
            border: 1px solid rgba(102, 215, 196, 0.24);
            border-radius: 999px;
            background: rgba(3, 12, 18, 0.42);
            color: #dceaf0;
            font: 800 0.76rem/1 Arial, sans-serif;
            cursor: pointer;
        }

        .station-map-filters input {
            width: 14px;
            height: 14px;
            accent-color: var(--accent);
        }

        .station-map-toolbar strong {
            display: inline-flex;
            min-width: 36px;
            justify-content: center;
            margin-left: 8px;
            padding: 6px 10px;
            border-radius: 999px;
            background: rgba(102, 215, 196, 0.12);
            color: var(--accent);
            font: 800 0.86rem/1 Arial, sans-serif;
        }

        .station-map-kicker {
            color: var(--muted);
            font: 800 0.76rem/1 Arial, sans-serif;
            letter-spacing: 0.07em;
            text-transform: uppercase;
        }

        .station-map-status {
            margin: 0;
            color: var(--muted);
            font: 400 0.9rem/1.4 Arial, sans-serif;
            text-align: right;
        }

        .station-map {
            width: 100%;
            height: min(74vh, 760px);
            min-height: 520px;
            background: #09161d;
        }

        .station-map .leaflet-tile {
            filter: saturate(0.82) brightness(0.82) contrast(1.05);
        }

        .station-map .leaflet-control-zoom a {
            background: rgba(9, 22, 30, 0.96);
            color: var(--accent);
            border-color: rgba(139, 178, 194, 0.18);
        }

        .station-map .leaflet-control-attribution {
            background: rgba(7, 17, 24, 0.76);
            color: rgba(209, 223, 231, 0.78);
        }

        .station-map .leaflet-control-attribution a {
            color: var(--accent);
        }

        .station-map .leaflet-popup-content-wrapper,
        .station-map .leaflet-popup-tip {
            background: #071118;
            color: #edf6fb;
            border: 1px solid rgba(102, 215, 196, 0.28);
            box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
        }

        .station-map .leaflet-popup-content {
            margin: 12px;
            color: #edf6fb;
        }

        .station-map .leaflet-popup-close-button {
            color: #c8d9e2;
        }

        .station-map .leaflet-popup-close-button:hover {
            color: #ffffff;
        }

        .station-map-marker {
            width: 70px;
            height: 78px;
        }

        .station-map-marker-inner {
            position: relative;
            display: grid;
            place-items: center;
            width: 70px;
            height: 70px;
            border-radius: 20px;
            border: 1px solid rgba(102, 215, 196, 0.34);
            background:
                radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.12), transparent 34%),
                linear-gradient(180deg, rgba(10, 27, 37, 0.96), rgba(4, 12, 17, 0.96));
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(0, 0, 0, 0.28);
        }

        .station-map-marker-inner::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: -8px;
            width: 14px;
            height: 14px;
            transform: translateX(-50%) rotate(45deg);
            border-right: 1px solid rgba(102, 215, 196, 0.34);
            border-bottom: 1px solid rgba(102, 215, 196, 0.34);
            background: rgba(4, 12, 17, 0.96);
        }

        .station-map-marker .overview-wind-badge-svg {
            position: relative;
            z-index: 1;
            width: 62px;
            height: 62px;
            display: block;
        }

        .station-map-marker.is-waiting .station-map-marker-inner {
            border-color: rgba(139, 178, 194, 0.28);
            opacity: 0.84;
        }

        .station-map-marker-waiting {
            position: relative;
            z-index: 1;
            color: rgba(237, 246, 251, 0.88);
            font: 800 0.72rem/1.2 Arial, sans-serif;
            text-align: center;
            text-transform: uppercase;
        }

        .station-map-marker-start {
            position: relative;
            width: 48px;
            height: 48px;
            overflow: visible;
            cursor: pointer;
        }

        .station-map-marker-start .station-map-marker-inner {
            position: absolute;
            z-index: 1;
            left: 6px;
            top: 6px;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border-color: rgba(139, 178, 194, 0.38);
            background:
                radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.06), transparent 46%),
                linear-gradient(180deg, rgba(15, 31, 41, 0.96), rgba(8, 19, 26, 0.98));
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(0, 0, 0, 0.28);
        }

        .station-map-marker-start .station-map-marker-inner::after {
            display: none;
        }

        .station-map-marker-start .station-map-marker-sectors {
            width: 48px;
            height: 48px;
        }

        .station-map-marker-start .station-map-start-icon {
            position: relative;
            z-index: 1;
            width: 26px;
            height: 26px;
            display: block;
        }

        .station-map-marker-start .station-map-start-icon svg {
            width: 26px;
            height: 26px;
            display: block;
        }

        .takeoff-start-pin-icon {
            background: none;
            border: 0;
            overflow: visible;
        }

        .station-map-marker-start.is-selected .station-map-marker-inner {
            border-color: rgba(237, 246, 251, 0.88);
            box-shadow: 0 0 0 2px rgba(237, 246, 251, 0.55), 0 10px 18px rgba(0, 0, 0, 0.28);
        }

        .station-map-cluster {
            position: relative;
            display: block;
            overflow: visible;
        }

        .station-map-cluster-count {
            position: absolute;
            top: 1px;
            right: 1px;
            z-index: 2;
            min-width: 16px;
            height: 16px;
            padding: 0 4px;
            border-radius: 999px;
            background: #0c1820;
            color: #edf6fb;
            border: 1px solid rgba(102, 215, 196, 0.4);
            font: 800 0.65rem/16px Arial, sans-serif;
            text-align: center;
        }

        .station-map-cluster .takeoff-sensor-rose ~ .station-map-cluster-count {
            top: 7px;
            right: 7px;
        }

        .takeoff-sensor-rose-icon {
            background: none;
            border: 0;
        }

        .takeoff-sensor-rose {
            width: 64px;
            height: 64px;
            overflow: visible;
            filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45));
        }

        .takeoff-sensor-rose svg {
            display: block;
            overflow: visible;
            width: 64px;
            height: 64px;
        }

        .takeoff-sensor-rose-icon.is-in-range .takeoff-sensor-rose {
            filter: drop-shadow(0 0 0 2px rgba(102, 215, 196, 0.7)) drop-shadow(0 8px 14px rgba(0, 0, 0, 0.45));
        }

        .takeoff-sensor-rose-icon.is-out-of-range {
            opacity: 0.42;
        }

        .takeoff-sensor-rose-icon.is-chosen .takeoff-sensor-rose {
            filter: drop-shadow(0 0 0 2px rgba(237, 246, 251, 0.8)) drop-shadow(0 8px 14px rgba(0, 0, 0, 0.45));
        }

        .station-map-marker-holfuy {
            width: 44px;
            height: 54px;
            cursor: pointer;
        }

        .station-map-marker-holfuy.is-in-range .station-map-marker-inner {
            box-shadow: 0 0 0 2px rgba(102, 215, 196, 0.55), 0 12px 24px rgba(0, 0, 0, 0.34);
        }

        .station-map-marker-holfuy.is-out-of-range {
            opacity: 0.42;
        }

        .station-map-marker-holfuy.is-chosen .station-map-marker-inner {
            box-shadow: 0 0 0 2px rgba(237, 246, 251, 0.7), 0 12px 24px rgba(0, 0, 0, 0.34);
        }

        .station-map-marker-holfuy .station-map-marker-inner {
            flex: 0 0 auto;
            width: 44px;
            height: 44px;
            border-radius: 16px;
            border-color: rgba(102, 215, 196, 0.34);
            background:
                radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.12), transparent 34%),
                linear-gradient(180deg, rgba(10, 27, 37, 0.96), rgba(4, 12, 17, 0.96));
        }

        .station-map-marker-holfuy.is-offline .station-map-marker-inner {
            border-color: rgba(139, 150, 158, 0.42);
        }

        .station-map-marker-holfuy .station-map-marker-inner::after {
            border-right-color: rgba(102, 215, 196, 0.34);
            border-bottom-color: rgba(102, 215, 196, 0.34);
            background: rgba(4, 12, 17, 0.96);
        }

        .station-map-marker-holfuy.is-offline .station-map-marker-inner::after {
            border-right-color: rgba(139, 150, 158, 0.42);
            border-bottom-color: rgba(139, 150, 158, 0.42);
        }

        .station-map-marker-sectors {
            position: absolute;
            inset: 0;
            width: 44px;
            height: 44px;
            pointer-events: none;
        }

        .station-map-marker-holfuy .station-map-sensor-icon {
            position: relative;
            z-index: 1;
            width: 26px;
            height: 26px;
            display: block;
        }

        .station-map-marker-holfuy .station-map-sensor-icon svg {
            width: 26px;
            height: 26px;
            display: block;
        }

        .station-map-marker-holfuy-pin {
            position: relative;
            z-index: 1;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #8b969e;
            box-shadow: 0 0 0 1px rgba(4, 12, 17, 0.85);
        }

        .station-map-marker-holfuy.is-live .station-map-marker-holfuy-pin,
        .takeoff-related-marker.is-live .takeoff-related-dot {
            background: #22c55e;
            box-shadow: 0 0 0 1px rgba(4, 12, 17, 0.85);
        }

        .station-map-marker-holfuy-label,
        .station-map-marker-holfuy-name {
            position: relative;
            z-index: 1;
            max-width: 108px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            color: #edf6fb;
            font: 800 0.62rem/1.15 Arial, sans-serif;
            letter-spacing: 0.01em;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.72);
        }

        .station-map-popup {
            color: #d9e9ef;
            font: 400 0.92rem/1.4 Arial, sans-serif;
            min-width: 210px;
        }

        .station-map-popup h3 {
            margin: 0 0 9px;
            color: #f4fbff;
            font: 800 1rem/1.25 Arial, sans-serif;
        }

        .station-map-popup-details {
            display: grid;
            gap: 4px;
            margin-bottom: 10px;
        }

        .station-map-popup-row {
            display: grid;
            grid-template-columns: minmax(82px, 1fr) auto;
            gap: 12px;
            align-items: baseline;
            padding: 3px 0;
            border-bottom: 1px solid rgba(139, 178, 194, 0.12);
        }

        .station-map-popup-row span {
            color: #9fb9c6;
            font-size: 0.78rem;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        .station-map-popup-row strong {
            color: #f4fbff;
            font: 800 0.92rem/1.25 Arial, sans-serif;
            text-align: right;
            white-space: nowrap;
        }

        .station-map-popup a {
            color: #66d7c4;
            font-weight: 800;
            text-decoration: none;
        }

        .station-map-popup a:hover {
            text-decoration: underline;
        }

        .leaflet-popup.station-map-cluster-popup .leaflet-popup-content {
            margin: 0.65rem 0.85rem;
            overflow: visible;
            max-height: none;
        }

        .station-map-cluster-links ul {
            list-style: none;
            margin: 0;
            padding: 0;
            overflow: visible;
        }

        .station-map-cluster-links li + li {
            margin-top: 0.4rem;
            padding-top: 0.4rem;
            border-top: 1px solid rgba(139, 178, 194, 0.16);
        }

        .station-map-cluster-links a {
            display: flex;
            align-items: center;
            gap: 0.55rem;
        }

        .station-map-cluster-link-icon {
            display: inline-flex;
            flex: 0 0 1.35rem;
            width: 1.35rem;
            height: 1.35rem;
            align-items: center;
            justify-content: center;
        }

        .station-map-cluster-link-icon svg {
            width: 1.25rem;
            height: 1.25rem;
        }

        .station-map-cluster-link-icon.is-bakvind {
            flex: 0 0 2rem;
            width: 2rem;
            height: 2rem;
        }

        .station-map-cluster-link-icon.is-bakvind .takeoff-sensor-rose,
        .station-map-cluster-link-icon.is-bakvind .takeoff-sensor-rose svg {
            width: 2rem;
            height: 2rem;
            filter: none;
        }

        .station-status {
            margin: 0 0 14px;
            color: var(--muted);
            font: 400 0.9rem/1.5 Arial, sans-serif;
        }

        .station-search {
            margin: 14px 0 10px;
        }

        .station-search-label {
            display: block;
            margin-bottom: 6px;
            color: var(--muted);
            font-size: 0.82rem;
            font-weight: 700;
            text-transform: uppercase;
        }

        .station-search-row {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .station-search-input {
            width: 100%;
            flex: 1 1 auto;
            min-width: 0;
            min-height: 42px;
            border: 1px solid rgba(139, 178, 194, 0.26);
            border-radius: 8px;
            background: rgba(6, 16, 22, 0.72);
            color: var(--text);
            font: inherit;
            padding: 10px 12px;
            outline: none;
        }

        .station-search-input:focus {
            border-color: rgba(102, 215, 196, 0.72);
            box-shadow: 0 0 0 3px rgba(102, 215, 196, 0.14);
        }

        .station-search-input::placeholder {
            color: rgba(155, 178, 191, 0.78);
        }

        .station-search-show-all-form {
            flex: 0 0 auto;
        }

        .station-search-show-all {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            border: 0;
            background: transparent;
            color: var(--accent);
            cursor: pointer;
            font: 700 0.9rem/1.2 Arial, sans-serif;
            padding: 8px 0;
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        .station-search-show-all input {
            accent-color: var(--accent);
            cursor: pointer;
        }

        .station-search-show-all:hover,
        .station-search-show-all:focus-within {
            color: var(--text);
        }

        .station-search-status {
            min-height: 1.2em;
            margin: 6px 0 0;
            color: var(--muted);
            font-size: 0.86rem;
        }

        .station-range-controls {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px;
            width: 100%;
            margin: 0 0 8px;
        }

        .station-range-group {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin: 0;
            min-height: 36px;
            padding: 2px 6px 2px 12px;
            border: 1px solid rgba(102, 215, 196, 0.24);
            border-radius: 999px;
            background: rgba(3, 12, 18, 0.42);
        }

        .station-range-group legend {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            overflow: hidden;
            clip-path: inset(50%);
            white-space: nowrap;
        }

        .station-range-group label {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin: 0;
            color: var(--text);
            font: 700 0.82rem/1 Arial, sans-serif;
            cursor: pointer;
        }

        .station-range-controls input {
            accent-color: var(--accent);
            width: 16px;
            height: 16px;
        }

        .station-range-group select {
            min-height: 32px;
            min-width: 5.5rem;
            border: 1px solid rgba(139, 178, 194, 0.26);
            border-radius: 8px;
            background: rgba(6, 16, 22, 0.72);
            color: var(--text);
            font: inherit;
            padding: 4px 8px;
        }

        .station-range-reset {
            min-height: 36px;
            padding: 6px 12px;
            border: 1px solid rgba(102, 215, 196, 0.24);
            border-radius: 999px;
            background: transparent;
            color: var(--accent);
            font: 700 0.82rem/1 Arial, sans-serif;
            cursor: pointer;
        }

        .station-range-reset:hover,
        .station-range-reset:focus {
            color: var(--text);
            border-color: rgba(102, 215, 196, 0.72);
        }

        .node-links {
            display: grid;
            gap: 12px;
        }

        @media (min-width: 861px) {
            .home-stations-only .node-links {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        .node-links-more {
            margin-top: 14px;
            border-top: 1px solid rgba(139, 178, 194, 0.12);
            padding-top: 14px;
        }

        .node-links-more summary {
            list-style: none;
        }

        .node-links-more summary::-webkit-details-marker {
            display: none;
        }

        .node-links-toggle {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 12px 16px;
            border-radius: 999px;
            border: 1px solid rgba(102, 215, 196, 0.24);
            background: rgba(11, 30, 40, 0.86);
            color: var(--text);
            cursor: pointer;
            font: 600 0.92rem/1.2 Arial, sans-serif;
            transition: border-color 120ms ease, transform 120ms ease, background 120ms ease;
        }

        .node-links-toggle:hover {
            border-color: rgba(102, 215, 196, 0.45);
            background: rgba(13, 34, 45, 0.96);
            transform: translateY(-1px);
        }

        .node-links-toggle::after {
            content: "+";
            color: var(--accent);
            font-size: 1.1rem;
            line-height: 1;
        }

        .node-links-more[open] .node-links-toggle::after {
            content: "−";
        }

        .node-links-extra {
            margin-top: 14px;
        }

        .station-row {
            position: relative;
            min-width: 0;
        }

        .station-lead,
        .node-link-copy {
            display: contents;
        }

        .station-live-dot {
            width: 8px;
            height: 8px;
            flex: 0 0 auto;
            border-radius: 50%;
            background: #8b969e;
            box-shadow: 0 0 0 3px rgba(139, 150, 158, 0.16);
        }

        .station-live-dot.is-live {
            background: #22c55e;
            box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
        }

        .station-live-dot.is-offline {
            background: #8b969e;
            box-shadow: 0 0 0 3px rgba(139, 150, 158, 0.16);
        }

        .node-link-title-line {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            flex-wrap: nowrap;
            gap: 5px 8px;
            min-width: 0;
            grid-column: 2;
            grid-row: 1;
        }

        .node-link-source-chip {
            display: inline-block;
            flex: 0 0 auto;
            padding: 2px 7px;
            border-radius: 6px;
            background: rgba(139, 178, 194, 0.2);
            color: rgba(205, 218, 225, 0.9);
            font: 700 0.68rem/1.25 Arial, sans-serif;
            letter-spacing: 0.01em;
        }

        .station-fav-star {
            appearance: none;
            -webkit-appearance: none;
            position: static;
            flex: 0 0 auto;
            width: 1.73em;
            height: 1.73em;
            margin: 0;
            padding: 0;
            border: 0;
            border-radius: 0;
            background: transparent;
            box-shadow: none;
            outline: none;
            filter: none;
            color: rgba(255, 214, 140, 0.82);
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 0;
            vertical-align: middle;
        }

        .station-fav-star svg {
            width: 1.73em;
            height: 1.73em;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.6;
            stroke-linejoin: round;
        }

        .station-fav-star.is-on {
            color: #ffd54a;
            background: transparent;
        }

        .station-fav-star.is-on svg {
            fill: #ffd54a;
            stroke: #ffd54a;
        }

        .station-fav-star:hover,
        .station-fav-star:focus,
        .station-fav-star:focus-visible {
            color: #ffd54a;
            outline: none;
            box-shadow: none;
            background: transparent;
            filter: none;
        }

        .station-fav-star-hero {
            width: 2.1em;
            height: 2.1em;
            margin: 0 -6px 0 0;
            background: transparent;
        }

        .station-fav-star-hero svg {
            width: 2.1em;
            height: 2.1em;
        }

        .node-link {
            display: block;
            padding: 10px 12px;
            border-radius: 14px;
            background: rgba(13, 28, 38, 0.88);
            border: 1px solid var(--line);
            color: var(--text);
            text-decoration: none;
            transition: border-color 120ms ease, transform 120ms ease, background 120ms ease;
        }

        .node-link:hover {
            border-color: rgba(102, 215, 196, 0.4);
            background: rgba(17, 36, 47, 0.96);
            transform: translateY(-1px);
        }

        .node-link:focus,
        .node-link:focus-visible {
            outline: none;
            border-color: rgba(102, 215, 196, 0.4);
        }

        .node-link-holfuy {
            background: rgba(28, 46, 58, 0.9);
            border-color: rgba(139, 178, 194, 0.22);
        }

        .node-link-holfuy:hover {
            background: rgba(36, 56, 70, 0.96);
            border-color: rgba(139, 178, 194, 0.34);
        }

        .station-list-group {
            margin-top: 18px;
        }

        #station-favorite-group {
            margin-top: 0;
        }

        #station-favorite-group[hidden] + .station-list-group {
            margin-top: 0;
        }

        .station-list-pager {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 6px;
            margin: 12px 0;
        }

        .station-list-pager[hidden] {
            display: none;
        }

        .station-list-pager-btn {
            min-width: 36px;
            min-height: 36px;
            padding: 6px 10px;
            border: 1px solid rgba(102, 215, 196, 0.24);
            border-radius: 10px;
            background: rgba(8, 18, 25, 0.88);
            color: rgba(237, 246, 251, 0.9);
            font: 700 0.82rem/1 Arial, sans-serif;
            cursor: pointer;
        }

        .station-list-pager-btn:hover,
        .station-list-pager-btn:focus {
            border-color: rgba(102, 215, 196, 0.72);
            color: #ffffff;
        }

        .station-list-pager-btn.is-current {
            border-color: rgba(102, 215, 196, 0.82);
            background: rgba(16, 42, 52, 0.96);
            color: #66d7c4;
        }

        .station-list-pager-btn:disabled {
            opacity: 0.38;
            cursor: default;
        }

        .station-list-pager-ellipsis {
            min-width: 18px;
            color: rgba(237, 246, 251, 0.55);
            font: 700 0.82rem/1 Arial, sans-serif;
            text-align: center;
        }

        .station-list-group-title {
            margin: 0 2px 16px;
            font-size: 0.92rem;
            font-weight: 650;
            letter-spacing: 0.01em;
            color: rgba(237, 246, 251, 0.78);
        }

        .holfuy-snapshot-description {
            margin: 10px 2px 0;
            font-size: 0.88rem;
            line-height: 1.45;
            color: rgba(237, 246, 251, 0.72);
        }

        .holfuy-list-attribution {
            margin: 14px 2px 0;
            font-size: 0.82rem;
            line-height: 1.45;
            color: rgba(237, 246, 251, 0.62);
        }

        .holfuy-list-attribution a {
            color: rgba(102, 215, 196, 0.92);
        }

        .node-link.is-stale {
            border-color: rgba(139, 178, 194, 0.12);
            background:
                linear-gradient(180deg, rgba(13, 24, 32, 0.58), rgba(8, 15, 21, 0.74));
            color: rgba(205, 218, 225, 0.62);
            opacity: 0.74;
        }

        .node-link.is-stale:hover {
            border-color: rgba(139, 178, 194, 0.22);
            background:
                linear-gradient(180deg, rgba(15, 27, 36, 0.72), rgba(10, 18, 25, 0.86));
            opacity: 0.86;
        }

        .node-link-title {
            display: block;
            flex: 0 1 auto;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font: 700 0.98rem/1.25 Arial, sans-serif;
        }

        .node-link-title-row {
            display: grid;
            grid-template-columns: 1.73em minmax(0, 1fr);
            grid-template-rows: auto auto;
            align-items: center;
            column-gap: 10px;
            row-gap: 4px;
            min-width: 0;
        }

        .node-link-title-row .station-fav-star {
            grid-column: 1;
            grid-row: 1;
            justify-self: center;
            align-self: center;
        }

        .node-link-title-row .station-live-dot {
            grid-column: 1;
            grid-row: 2;
            justify-self: center;
            align-self: center;
        }

        .node-link-title-row .node-link-distance {
            grid-column: 2;
            grid-row: 2;
            margin-top: 0;
            min-height: 1.35em;
        }

        .node-link-distance.is-pending {
            color: rgba(139, 178, 194, 0.42);
        }

        .node-link-head {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            align-items: center;
            gap: 14px;
        }

        .node-link-meta {
            min-width: 0;
        }

        .node-link-status {
            display: flex;
            align-items: center;
            gap: 7px;
            margin-top: 5px;
            min-height: calc(0.76rem * 1.25);
            color: rgba(139, 178, 194, 0.68);
            font: 600 0.76rem/1.25 Arial, sans-serif;
        }

        .node-link-status.is-pending {
            display: none;
        }

        .node-link-status::before {
            content: "";
            width: 8px;
            height: 8px;
            flex: 0 0 auto;
            border-radius: 50%;
            background: rgba(139, 178, 194, 0.5);
            box-shadow: 0 0 0 4px rgba(139, 178, 194, 0.06);
        }

        .node-link-badges {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 6px;
            flex: 0 1 auto;
            justify-content: flex-end;
            max-width: 300px;
            min-height: 56px;
        }

        .node-link-badge {
            position: relative;
            width: 56px;
            height: 56px;
            display: grid;
            place-items: center;
            border-radius: 12px;
            background: linear-gradient(180deg, rgba(15, 31, 41, 0.92), rgba(9, 20, 27, 0.96));
            border: 1px solid rgba(139, 178, 194, 0.16);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 10px 20px rgba(0, 0, 0, 0.16);
            overflow: visible;
        }

        .node-link-badge svg {
            width: 42px;
            height: 42px;
            display: block;
            overflow: visible;
        }

        .node-link-badge-external-station svg {
            transform: scale(0.82);
        }

        .node-link-badge img {
            width: 46px;
            height: 46px;
            display: block;
            object-fit: contain;
        }

        .node-link-badge.has-source svg {
            width: 40px;
            height: 40px;
            transform: translateY(-4px);
        }

        .node-link-badge.has-source img {
            width: 42px;
            height: 42px;
            transform: translateY(-4px);
        }

        .node-link-badge-source {
            position: absolute;
            left: 5px;
            right: 5px;
            bottom: 3px;
            display: block;
            min-width: 0;
            border-radius: 6px;
            background: rgba(6, 16, 22, 0.82);
            color: rgba(237, 246, 251, 0.92);
            font: 800 0.48rem/1.35 Arial, sans-serif;
            letter-spacing: 0;
            overflow: hidden;
            padding: 1px 3px;
            text-align: center;
            text-overflow: ellipsis;
            text-transform: uppercase;
            white-space: nowrap;
            pointer-events: none;
        }

        @media (min-width: 761px) {
            .node-link-badge-source {
                left: 3px;
                right: 3px;
                font-size: 0.4rem;
                padding-left: 2px;
                padding-right: 2px;
            }
        }

        .node-link-badge-wind svg {
            width: 52px;
            height: 52px;
        }

        .node-link-badge.hidden {
            display: none;
        }

        .node-link.is-stale .node-link-badge {
            filter: grayscale(1);
            opacity: 0.46;
        }

        .node-link-path {
            display: inline;
            margin-left: 8px;
            color: var(--muted);
            font: 400 0.8rem/1.25 Consolas, monospace;
            white-space: nowrap;
        }

        .info-link {
            display: block;
            margin-top: 18px;
            padding: 16px 18px;
            border-radius: 14px;
            border: 1px solid rgba(102, 215, 196, 0.22);
            background: linear-gradient(180deg, rgba(11, 30, 40, 0.96) 0%, rgba(9, 23, 31, 0.96) 100%);
            color: inherit;
            text-decoration: none;
            transition: border-color 120ms ease, transform 120ms ease, background 120ms ease;
        }

        .info-link:hover {
            border-color: rgba(102, 215, 196, 0.45);
            background: linear-gradient(180deg, rgba(13, 34, 45, 0.98) 0%, rgba(11, 27, 36, 0.98) 100%);
            transform: translateY(-1px);
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
            gap: 14px;
            margin-top: 18px;
        }

        .info-grid .info-link {
            margin-top: 0;
        }

        .info-link-title {
            display: block;
            font: 700 1rem/1.3 Arial, sans-serif;
            color: var(--text);
        }

        .info-link-copy {
            display: block;
            margin-top: 6px;
            color: var(--muted);
            font: 400 0.95rem/1.55 Arial, sans-serif;
        }

        .preview-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
            gap: 14px;
            margin-top: 18px;
        }

        .preview-card {
            padding: 16px;
            border-radius: 18px;
            background: rgba(9, 19, 27, 0.72);
            border: 1px solid rgba(139, 178, 194, 0.12);
            text-align: center;
        }

        .preview-badge {
            width: 110px;
            height: 110px;
            margin: 0 auto 12px;
            display: grid;
            place-items: center;
            border-radius: 28px;
            background: linear-gradient(180deg, rgba(15, 31, 41, 0.92), rgba(9, 20, 27, 0.96));
            border: 1px solid rgba(139, 178, 194, 0.16);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 14px 28px rgba(0, 0, 0, 0.2);
        }

        .preview-badge svg {
            width: 72px;
            height: 72px;
            display: block;
        }

        .aircraft-option-badge svg {
            width: 96px;
            height: 64px;
        }

        .preview-title {
            color: var(--text);
            font: 700 0.95rem/1.35 Arial, sans-serif;
        }

        .preview-copy {
            margin-top: 6px;
            color: var(--muted);
            font: 400 0.88rem/1.5 Arial, sans-serif;
        }

        .path-box {
            margin-top: 16px;
            padding: 14px 16px;
            border-radius: 14px;
            background: rgba(13, 28, 38, 0.88);
            border: 1px solid var(--line);
            font: 400 0.95rem/1.6 Consolas, monospace;
            overflow-wrap: anywhere;
        }

        @media (max-width: 1180px) {
            .station-primary-grid {
                grid-template-columns: 1fr;
                grid-template-areas:
                    "rose"
                    "metrics"
                    "side"
                    "map";
            }

            .summary-strip {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        @media (max-width: 820px) {
            .about-hero-photo {
                height: 390px;
                object-position: 47% center;
            }

            .about-visual-copy {
                padding: 28px 22px;
            }

            .about-benefits,
            .about-steps,
            .about-split,
            .about-split-windsock,
            .about-split img {
                min-height: 300px;
            }

            .about-private-photo {
                min-height: 360px;
            }

            .about-split .about-private-photo img {
                min-height: 360px;
                object-position: 48% center;
            }

            .about-split-field img {
                order: 0;
            }

            .about-split-field > div {
                order: 1;
            }

            .about-split-windsock img {
                max-height: 390px;
            }

            .home-hero {
                min-height: 112px;
            }

            .home-hero::before {
                background-size: 430px auto;
                background-position: right -150px top -18px;
                opacity: 0.68;
            }

            .home-hero::after {
                background:
                    linear-gradient(90deg, rgba(7, 25, 31, 0.96) 0%, rgba(7, 25, 31, 0.76) 48%, rgba(7, 25, 31, 0.18) 100%),
                    linear-gradient(180deg, rgba(7, 25, 31, 0.04) 0%, rgba(7, 25, 31, 0.55) 100%);
            }

            .home-hero-inner {
                display: flex;
                justify-content: flex-start;
                align-items: center;
                min-height: inherit;
                padding: 12px;
            }

            .home-hero-model-aircraft {
                top: auto;
                right: 7px;
                bottom: 3px;
                width: 72px;
                opacity: 0.28;
            }

            .home-hero-brand .site-mark {
                width: 32px;
                height: 32px;
            }

            .home-hero-brand {
                gap: 8px;
            }

            .home-hero-brand strong {
                font-size: 1.08rem;
            }

            .home-hero-brand em {
                font-size: 0.52rem;
            }

            .project-grid {
                grid-template-columns: 1fr;
            }

            .hero-head {
                align-items: flex-start;
            }

            .hero.station-hero {
                padding: 8px 10px 10px;
            }

            .hero.station-hero .hero-head {
                display: grid;
                grid-template-columns: auto auto minmax(0, 1fr) auto;
                grid-template-areas:
                    "mark star title badges"
                    "links links links links";
                align-items: center;
                column-gap: 8px;
                row-gap: 4px;
            }

            .hero.station-hero .hero-copy,
            .hero.station-hero .hero-title-row,
            .hero.station-hero .hero-title-heading {
                display: contents;
            }

            .hero.station-hero .hero-title-heading .site-mark {
                grid-area: mark;
                width: 34px;
                height: 34px;
            }

            .hero.station-hero .station-fav-star-hero {
                grid-area: star;
                width: 1.55em;
                height: 1.55em;
                margin: 0;
            }

            .hero.station-hero .station-fav-star-hero svg {
                width: 1.55em;
                height: 1.55em;
            }

            .hero.station-hero .hero-title-heading h1 {
                grid-area: title;
                margin: 0;
                min-width: 0;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                font-size: 0.88rem;
                line-height: 1.2;
            }

            .hero.station-hero .hero-badges {
                grid-area: badges;
                align-self: center;
                gap: 4px;
                padding-top: 0;
            }

            .hero.station-hero .hero-badge-label {
                display: none;
            }

            .hero.station-hero .weather-badge,
            .hero.station-hero .flight-badge,
            .hero.station-hero .yr-weather-badge {
                width: 34px;
                height: 34px;
                border-radius: 8px;
            }

            .hero.station-hero .weather-badge svg,
            .hero.station-hero .flight-badge svg,
            .hero.station-hero .yr-weather-badge img {
                width: 23px;
                height: 23px;
            }

            .hero.station-hero .hero-station-links,
            .hero.station-hero .demo-pill {
                grid-area: links;
            }

            .hero-layout {
                grid-template-columns: 1fr;
            }

            .summary-strip {
                grid-template-columns: 1fr;
            }

            .history-tools {
                align-items: stretch;
            }

            .history-zoom {
                flex-basis: 100%;
            }

            .status-text {
                display: block;
            }

            .status-label,
            .status-detail {
                display: block;
            }

            .metrics {
                grid-template-columns: 1fr;
            }

            .section-grid {
                grid-template-columns: 1fr;
            }

            .portal-grid {
                grid-template-columns: 1fr;
            }

            .portal-page .ld-choice {
                grid-template-columns: 1fr;
            }

            .station-compass-editor {
                grid-template-columns: 1fr;
            }

            .portal-map {
                min-height: 220px;
            }

            .station-card-header {
                align-items: flex-start;
                flex-direction: column;
            }

            .hero-links {
                flex-direction: column;
                align-items: stretch;
            }

            .hero-link,
            .node-links-toggle {
                justify-content: center;
            }

            .node-link-head {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .node-link-badges {
                --badge-slot: min(56px, calc((100% - 12px) / 4));
                justify-content: flex-start;
                max-width: none;
                width: 100%;
                flex-wrap: nowrap;
                align-items: center;
                gap: 4px;
                min-height: var(--badge-slot);
            }

            .node-link-badge {
                flex: 0 1 var(--badge-slot);
                width: var(--badge-slot);
                max-width: var(--badge-slot);
                height: auto;
                aspect-ratio: 1;
                min-width: 0;
            }

            .node-link-badge svg {
                width: 75%;
                height: 75%;
            }

            .node-link-badge img {
                width: 82%;
                height: 82%;
            }

            .node-link-badge.has-source svg,
            .node-link-badge.has-source img {
                width: 72%;
                height: 72%;
            }

            .node-link-badge-wind svg {
                width: 93%;
                height: 93%;
            }

        }

        @media (max-width: 560px) {
            body {
                font-size: 13px;
            }

            .hero.station-hero {
                padding: 10px 12px 12px;
            }

            .container {
                width: min(100% - 14px, var(--max));
                padding: 12px 0 24px;
            }

            .card {
                border-radius: 12px;
                padding: 10px;
            }

            .station-map-hero {
                margin-bottom: 10px;
            }

            .station-map-hero h1 {
                margin: 10px 0 0;
                font-size: 1.65rem;
                line-height: 1.05;
            }

            .station-map-hero .intro,
            .station-map-hero .hero-links {
                display: none;
            }

            .station-map-layout {
                margin-top: 10px;
            }

            .station-map-toolbar {
                display: block;
                padding: 8px;
            }

            .station-map-toolbar > div:first-child {
                display: none;
            }

            .station-map-toolbar-side {
                justify-items: stretch;
                gap: 6px;
            }

            .station-map-filters {
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 5px;
            }

            .station-map-filters label {
                min-height: 26px;
                justify-content: center;
                gap: 5px;
                padding: 4px 6px;
                border-radius: 8px;
                font-size: 0.68rem;
                white-space: nowrap;
            }

            .station-map-filters input {
                width: 12px;
                height: 12px;
                flex: 0 0 auto;
            }

            .station-map-filters .station-range-reset {
                grid-column: 1 / -1;
                justify-self: end;
                margin-left: auto;
                min-height: 32px;
            }

            .station-map-status {
                display: none;
            }

            .station-map {
                height: calc(100dvh - 270px);
                min-height: 390px;
            }

            .hero-head {
                display: grid;
                grid-template-columns: minmax(0, 1fr) auto;
                align-items: start;
                gap: 7px 8px;
            }

            .hero.station-hero .hero-head {
                display: grid;
                grid-template-columns: auto auto minmax(0, 1fr) auto;
                grid-template-areas:
                    "mark star title badges"
                    "links links links links";
                align-items: center;
                column-gap: 8px;
                row-gap: 4px;
            }

            .hero-copy {
                min-width: 0;
            }

            .hero-badges {
                width: auto;
                justify-content: flex-end;
                align-self: start;
                gap: 4px;
                padding-top: 2px;
            }

            .hero-badge-item {
                gap: 0;
            }

            .hero-badge-label {
                display: none;
            }

            .weather-badge,
            .flight-badge,
            .yr-weather-badge {
                width: 34px;
                height: 34px;
                border-radius: 8px;
            }

            .weather-badge[data-badge-popover]::before,
            .flight-badge[data-badge-popover]::before {
                right: 50%;
                transform: translate(50%, -4px);
            }

            .weather-badge[data-badge-popover]:hover::before,
            .weather-badge[data-badge-popover]:focus-visible::before,
            .weather-badge[data-badge-popover].is-popover-open::before,
            .flight-badge[data-badge-popover]:hover::before,
            .flight-badge[data-badge-popover]:focus-visible::before,
            .flight-badge[data-badge-popover].is-popover-open::before {
                transform: translate(50%, 0);
            }

            .weather-badge svg,
            .flight-badge svg,
            .yr-weather-badge img {
                width: 23px;
                height: 23px;
            }

            h1 {
                font-size: clamp(1.12rem, 5.7vw, 1.46rem);
                line-height: 1.08;
            }

            .hero-title-row {
                gap: 6px;
            }

            .hero-station-links {
                justify-content: flex-start;
                gap: 4px 8px;
                font-size: 0.68rem;
            }

            .hero-yr-forecast-line,
            .hero-yr-forecast-link {
                font-size: 0.68rem;
            }

            .station-comment-section {
                display: none;
            }

            .hero-card {
                display: flex;
                flex-direction: column;
                padding: 8px;
            }

            .station-primary-grid {
                display: flex;
                flex-direction: column;
                align-items: stretch;
            }

            .wind-figure {
                order: 1;
            }

            .station-primary-grid > .takeoff-map-card {
                order: 2;
            }

            .metrics {
                order: 3;
            }

            .station-side-panel {
                order: 4;
            }

            .status {
                gap: 7px;
                margin-bottom: 6px;
                font-size: 0.72rem;
                line-height: 1.35;
            }

            .status-dot {
                width: 9px;
                height: 9px;
                box-shadow: 0 0 0 3px rgba(197, 140, 61, 0.14);
            }

            .summary-strip {
                grid-template-columns: repeat(3, minmax(0, 1fr));
                order: 3;
                gap: 6px;
                margin: 10px 0 0;
            }

            .summary-strip-yr-forecast {
                grid-template-columns: minmax(0, 1fr);
            }

            .summary-pill {
                padding: 6px;
                border-radius: 9px;
            }

            .summary-pill-label {
                margin-bottom: 3px;
                font-size: 0.58rem;
                line-height: 1.15;
                letter-spacing: 0.03em;
            }

            .summary-pill-value {
                font-size: 0.78rem;
                line-height: 1.2;
            }

            .summary-pill-note {
                margin-top: 2px;
                font-size: 0.66rem;
                line-height: 1.25;
            }

            .wind-figure {
                display: grid;
                width: 100%;
                grid-template-columns: minmax(0, 1fr) auto;
                column-gap: 8px;
                align-items: center;
                justify-content: center;
                padding: 9px 8px;
            }

            .wind-figure-title {
                display: none;
            }

            .metrics {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 5px;
                padding: 0;
                border-radius: 0;
                background: transparent;
                border: 0;
            }

            .metric {
                display: block;
                padding: 6px 7px;
                border-radius: 9px;
                background: rgba(8, 17, 24, 0.72);
                border: 1px solid rgba(139, 178, 194, 0.12);
                box-shadow: none;
            }

            .metric-label {
                display: block;
                margin-bottom: 2px;
                text-transform: none;
                letter-spacing: 0;
                font-size: 0.62rem;
                line-height: 1.2;
            }

            .metric-value,
            .metric-value.multiline {
                font-size: 0.82rem;
                line-height: 1.2;
                text-align: left;
                text-shadow: none;
                text-wrap: pretty;
            }

            .hero-layout {
                display: flex;
                flex-direction: column;
                order: 1;
                gap: 8px;
            }

            .hero-layout .wind-figure {
                order: 1;
            }

            .hero-layout .metrics {
                order: 2;
            }

            .compass {
                width: min(100%, clamp(184px, 56vw, 230px));
                height: auto;
                justify-self: center;
                aspect-ratio: 1 / 1;
            }

            .compass-runway {
                width: 23px;
                height: 72%;
                border-radius: 3px;
            }

            .compass-runway::before,
            .compass-runway::after {
                min-width: 28px;
                font-size: 0.58rem;
            }

            .compass-runway::before {
                top: 8px;
            }

            .compass-runway::after {
                bottom: 8px;
            }

            .compass-runway-centerline {
                width: 2px;
                top: 24%;
                bottom: 24%;
                background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0 9px, transparent 9px 18px);
            }

            .compass-runway-threshold {
                left: 4px;
                right: 4px;
                height: 12px;
                background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0 2px, transparent 2px 4px);
            }

            .compass-runway-threshold.top {
                top: 20px;
            }

            .compass-runway-threshold.bottom {
                bottom: 20px;
            }

            .compass::before {
                height: 84%;
            }

            .compass::after {
                width: 80%;
            }

            .compass-arrow {
                width: clamp(34px, 9.8vw, 44px);
                height: clamp(39px, 11.2vw, 50px);
            }

            .compass-arrow.avg {
                width: clamp(29px, 8.4vw, 38px);
                height: clamp(33px, 9.6vw, 43px);
            }

            .compass-yr-arrow,
            .compass-windy-arrow {
                width: clamp(20px, 5.2vw, 25px);
                height: clamp(24px, 6.2vw, 30px);
            }

            .compass-yr-arrow-shape::after,
            .compass-windy-arrow-shape::after {
                inset: 2px;
            }

            .compass-yr-label,
            .compass-windy-label {
                min-width: 58px;
                padding: 1px 4px;
                font-size: clamp(0.54rem, 2.4vw, 0.62rem);
                line-height: 1.1;
            }

            .compass-yr-label.is-stacked,
            .compass-windy-label.is-stacked {
                min-width: 0;
                padding: 2px 5px;
            }

            .compass-label {
                font-size: clamp(0.82rem, 3.9vw, 1rem);
                text-shadow:
                    -1.5px -1.5px 0 #050708,
                    1.5px -1.5px 0 #050708,
                    -1.5px 1.5px 0 #050708,
                    1.5px 1.5px 0 #050708,
                    0 0 4px rgba(0, 0, 0, 0.9);
            }

            .compass-label.n { top: 13px; }
            .compass-label.e { right: 12px; }
            .compass-label.s { bottom: 12px; }
            .compass-label.w { left: 12px; }

            .compass-speed {
                top: 67%;
                font-size: clamp(1.55rem, 8vw, 1.85rem);
                text-shadow:
                    -1.5px -1.5px 0 #050708,
                    1.5px -1.5px 0 #050708,
                    -1.5px 1.5px 0 #050708,
                    1.5px 1.5px 0 #050708,
                    0 2px 5px rgba(0, 0, 0, 0.58);
            }

            .wind-figure-stats {
                grid-template-columns: 1fr;
                width: clamp(74px, 21vw, 96px);
                max-width: 100%;
                gap: 5px;
                padding: 0;
                border-radius: 0;
                background: transparent;
                border: 0;
            }

            .wind-figure-stat {
                display: block;
                padding: 7px 8px;
                border-radius: 9px;
                background: rgba(8, 17, 24, 0.72);
                border: 1px solid rgba(139, 178, 194, 0.12);
            }

            .wind-figure-stat-label {
                display: block;
                margin-bottom: 2px;
                text-transform: none;
                letter-spacing: 0;
                font-size: 0.62rem;
                line-height: 1.2;
            }

            .wind-figure-stat-value {
                font-size: 0.82rem;
                line-height: 1.2;
                text-align: left;
                text-shadow: none;
            }

            .wind-figure-note {
                grid-column: 1 / -1;
                margin-top: 4px;
                padding: 4px 6px;
                font: 400 0.58rem/1.25 Arial, sans-serif;
                color: rgba(184, 207, 217, 0.78);
                border-radius: 7px;
            }

            .compass-caption {
                margin-top: 0;
                text-align: left;
                font: inherit;
                color: inherit;
            }

            @media (max-width: 370px) {
                .wind-figure {
                    grid-template-columns: 1fr;
                }

                .wind-figure-stats {
                    grid-template-columns: repeat(2, minmax(0, 1fr));
                    width: 100%;
                }
            }

            .section-grid {
                gap: 8px;
            }

            .history-card {
                margin-top: 10px;
                padding: 8px;
            }

            .history-header {
                display: none;
                margin-bottom: 0;
            }

            .history-header .history-subtitle,
            #history-status,
            #history-hover-status,
            .chart-labels,
            .chart-meta {
                display: none;
            }

            .history-tools {
                margin-bottom: 6px;
                display: block;
            }

            .history-zoom {
                flex-basis: auto;
                gap: 4px;
            }

            .history-zoom button {
                padding: 5px 8px;
                font-size: 0.66rem;
                border-radius: 7px;
            }

            .chart-grid {
                gap: 8px;
            }

            .chart-panel {
                padding: 7px;
                border-radius: 10px;
            }

            .chart-title {
                margin-bottom: 5px;
                font-size: 0.78rem;
            }

            .chart-wrap {
                height: 132px;
                border-radius: 8px;
            }

            .section-grid .card {
                padding: 10px;
            }

            .panel-title {
                margin-bottom: 8px;
                font-size: 0.95rem;
            }

            .details {
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 6px;
            }

            .detail-row {
                display: block;
                padding: 7px 8px;
                border-radius: 9px;
                background: rgba(8, 17, 24, 0.58);
                border: 1px solid rgba(139, 178, 194, 0.1);
            }

            .detail-row span:first-child {
                display: block;
                margin-bottom: 2px;
                color: var(--muted);
                font-size: 0.66rem;
                line-height: 1.2;
            }

            .detail-row span:last-child {
                display: block;
                font-size: 0.84rem;
                line-height: 1.2;
                text-align: left;
            }
        }

        .takeoff-map-card {
            margin-top: 16px;
        }

        .takeoff-description-box {
            margin-top: 14px;
            padding: 14px 16px 12px;
            border-radius: 14px;
            border: 1px solid rgba(139, 178, 194, 0.12);
            background: rgba(9, 19, 27, 0.58);
        }

        .takeoff-description-heading {
            margin: 0 0 8px;
            color: var(--muted);
            font: 600 0.72rem/1.3 Arial, sans-serif;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .takeoff-description-text {
            margin: 0;
            font-size: 0.95rem;
            line-height: 1.55;
            color: var(--text);
            max-height: 18em;
            overflow: hidden;
            white-space: pre-wrap;
        }

        .takeoff-description-box.is-expanded .takeoff-description-text {
            max-height: none;
            overflow: visible;
        }

        .takeoff-description-more {
            margin-top: 8px;
            color: rgba(102, 215, 196, 0.92);
        }

        .takeoff-description-source {
            margin: 10px 0 0;
            font-size: 0.82rem;
            line-height: 1.45;
            color: rgba(237, 246, 251, 0.62);
        }

        .takeoff-description-source a {
            color: rgba(102, 215, 196, 0.92);
        }

        .takeoff-description-translated {
            margin-left: 0.45em;
            font-size: 0.78rem;
            color: rgba(237, 246, 251, 0.48);
        }

        .holfuy-station-layout {
            display: grid;
            grid-template-columns: 580px minmax(240px, 1fr);
            gap: 16px;
            align-items: start;
            margin-top: 12px;
        }

        .card.holfuy-widget-card {
            margin-top: 0;
            width: 580px;
            max-width: 100%;
            padding: 0;
            overflow: hidden;
            container-type: inline-size;
        }

        .holfuy-station-sidebar {
            margin-top: 16px;
            overflow: visible;
        }

        .holfuy-station-layout .holfuy-station-sidebar {
            margin-top: 0;
            padding: 10px 12px;
        }

        .holfuy-station-sidebar .node-links {
            margin: 0;
            gap: 8px;
        }

        .holfuy-station-sidebar .station-row,
        .holfuy-station-sidebar .node-link {
            margin-bottom: 6px;
        }

        .holfuy-station-sidebar .station-row:last-child,
        .holfuy-station-sidebar .node-link:last-child {
            margin-bottom: 0;
        }

        .holfuy-related-stations {
            margin-top: 16px;
        }

        .holfuy-related-heading {
            margin: 0 0 12px;
            font: 700 1.05rem/1.3 Arial, sans-serif;
        }

        .holfuy-related-groups {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 18px;
            align-items: start;
        }

        .holfuy-related-group-heading {
            margin: 0 0 8px;
            color: var(--muted);
            font: 700 0.78rem/1.3 Arial, sans-serif;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }

        .holfuy-related-group .node-links {
            grid-template-columns: minmax(0, 1fr);
        }

        .holfuy-related-more {
            display: flex;
            justify-content: center;
            margin-top: 16px;
        }

        .holfuy-related-more[hidden] {
            display: none;
        }

        .holfuy-related-toggle[aria-expanded="true"]::after {
            content: "−";
        }

        .holfuy-station-layout .holfuy-station-sidebar .holfuy-related-heading {
            margin: 0 0 8px;
        }

        @media (min-width: 861px) {
            .holfuy-related-stations .node-links,
            .holfuy-station-sidebar .node-links {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 12px;
            }

            .holfuy-station-sidebar .station-row,
            .holfuy-station-sidebar .node-link {
                margin-bottom: 0;
            }

            .holfuy-station-layout .holfuy-station-sidebar .node-links {
                grid-template-columns: minmax(0, 1fr);
                gap: 8px;
            }

            .holfuy-related-stations .holfuy-related-group .node-links {
                grid-template-columns: minmax(0, 1fr);
            }

            .holfuy-station-layout .holfuy-station-sidebar .station-row,
            .holfuy-station-layout .holfuy-station-sidebar .node-link {
                margin-bottom: 6px;
            }
        }

        @media (max-width: 860px) {
            .hero.station-hero:has(.holfuy-station-layout),
            .hero.station-hero:has(.holfuy-station-sidebar):not(:has(#wind-table-card)) {
                display: flex;
                flex-direction: column;
            }

            .hero.station-hero:has(.holfuy-station-layout) .holfuy-station-layout {
                order: 1;
            }

            .hero.station-hero:has(.holfuy-station-layout) .holfuy-widget-card {
                margin-top: 0;
            }

            .hero.station-hero:has(.holfuy-station-layout) .takeoff-map-card {
                order: 2;
            }

            .hero.station-hero:has(.holfuy-station-layout) .holfuy-related-stations {
                order: 3;
            }

            .hero.station-hero:has(.takeoff-map-card):has(.holfuy-station-sidebar):not(:has(.holfuy-station-layout)):not(:has(#wind-table-card)) .takeoff-map-card {
                order: 2;
            }

            .hero.station-hero:has(.takeoff-map-card):has(.holfuy-station-sidebar):not(:has(.holfuy-station-layout)):not(:has(#wind-table-card)) .holfuy-station-sidebar {
                order: 3;
                margin-top: 16px;
            }

            .hero.station-hero:has(.takeoff-map-card):has(.holfuy-station-sidebar):not(:has(.holfuy-station-layout)):not(:has(#wind-table-card)) .holfuy-related-stations {
                order: 4;
            }

            .holfuy-station-layout {
                grid-template-columns: 1fr;
            }

            .card.holfuy-widget-card {
                width: 100%;
            }

            .bakvind-site .card.holfuy-station-sidebar,
            .bakvind-site .card.holfuy-related-stations {
                padding: 0;
                border: 0;
                background: transparent;
                box-shadow: none;
                border-radius: 0;
            }

            .holfuy-related-heading {
                padding-inline: 12px;
            }

            .holfuy-related-groups {
                grid-template-columns: minmax(0, 1fr);
                gap: 18px;
            }

            .holfuy-related-group-heading {
                padding-inline: 12px;
            }

            .holfuy-station-sidebar .node-links,
            .holfuy-related-stations .node-links {
                display: flex;
                gap: 4px;
                overflow-x: auto;
                overflow-y: hidden;
                scroll-snap-type: x mandatory;
                padding-top: 8px;
                scroll-padding-inline: 8px;
                padding-inline: 8px;
                scrollbar-width: none;
                -webkit-overflow-scrolling: touch;
                overscroll-behavior-x: contain;
                overflow-anchor: none;
            }

            .holfuy-station-sidebar .node-links::-webkit-scrollbar,
            .holfuy-related-stations .node-links::-webkit-scrollbar {
                display: none;
            }

            .holfuy-station-sidebar .node-links > *,
            .holfuy-related-stations .node-links > * {
                flex: 0 0 calc(100% - 52px);
                min-width: 0;
                scroll-snap-align: center;
                margin-bottom: 0;
            }

            .holfuy-station-sidebar .node-links > :first-child,
            .holfuy-related-stations .node-links > :first-child {
                scroll-snap-align: start;
            }

            .holfuy-station-sidebar .node-links > :last-child,
            .holfuy-related-stations .node-links > :last-child {
                scroll-snap-align: end;
            }

            .holfuy-station-sidebar .node-links > :only-child,
            .holfuy-related-stations .node-links > :only-child {
                scroll-snap-align: start;
            }

            .holfuy-station-sidebar .node-links .node-link,
            .holfuy-related-stations .node-links .node-link {
                height: 100%;
                margin-bottom: 0;
            }
        }

        .holfuy-widget-frame {
            display: block;
            width: 580px;
            height: 250px;
            border: 0;
            background: #fff;
        }

        @container (max-width: 579px) {
            .holfuy-widget-frame {
                transform-origin: top left;
                transform: scale(calc(100cqi / 580));
            }

            .card.holfuy-widget-card {
                height: calc(250px * 100cqi / 580);
            }
        }

        .takeoff-related-marker {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            max-width: 176px;
            padding: 3px 8px 3px 4px;
            border-radius: 999px;
            border: 1px solid rgba(237, 246, 251, 0.28);
            background: rgba(6, 16, 22, 0.88);
            box-shadow: 0 6px 14px rgba(0, 0, 0, 0.32);
            color: #edf6fb;
            text-decoration: none;
            white-space: nowrap;
            cursor: pointer;
        }

        .takeoff-related-marker:hover,
        .takeoff-related-marker:focus {
            color: #ffffff;
            border-color: rgba(237, 246, 251, 0.55);
        }

        .takeoff-related-dot {
            flex: 0 0 auto;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #8b969e;
        }

        .takeoff-related-marker.is-favorite .takeoff-related-dot,
        .takeoff-related-marker.is-favorite .station-map-marker-holfuy-pin {
            box-shadow: 0 0 0 2px rgba(255, 209, 102, 0.55);
        }

        .takeoff-related-marker.has-icon-box {
            max-width: 44px;
            padding: 0;
            border: none;
            background: transparent;
            box-shadow: none;
        }

        .takeoff-related-marker.has-icon-box .station-map-marker-holfuy {
            width: 44px;
            height: 54px;
        }

        .takeoff-related-start-icon {
            background: none;
            border: 0;
        }

        .takeoff-related-marker-start {
            display: block;
            max-width: 36px;
            padding: 0;
            border: none;
            background: transparent;
            box-shadow: none;
        }

        .takeoff-related-start,
        .takeoff-related-start svg {
            display: block;
            width: 36px;
            height: 32px;
            filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.45));
        }

        .takeoff-start-activity-icon {
            background: none;
            border: 0;
        }

        .takeoff-start-activity {
            display: flex;
            align-items: flex-end;
            gap: 2px;
            filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.45));
        }

        .takeoff-start-activity svg {
            display: block;
            width: 40px;
            height: 40px;
        }

        .takeoff-related-name {
            overflow: hidden;
            text-overflow: ellipsis;
            font: 700 0.68rem/1.15 Arial, sans-serif;
        }

        .takeoff-runway-graphic {
            overflow: visible;
            z-index: 1;
        }

        .takeoff-ground-sector-ring {
            overflow: visible;
            z-index: 0;
            pointer-events: none;
        }

        .takeoff-ground-sector-ring .takeoff-ground-sector-svg {
            display: block;
            width: 100%;
            height: 100%;
        }

        .takeoff-map-runway.compass-runway {
            position: relative;
            left: 0;
            top: 0;
            width: 44px;
            height: auto;
            opacity: 1;
            pointer-events: none;
            transform: none;
            box-shadow: 0 0 12px rgba(0, 0, 0, 0.28);
        }

        .takeoff-map-runway.compass-runway::before,
        .takeoff-map-runway.compass-runway::after {
            min-width: 38px;
            font: 900 0.78rem/1 Arial, sans-serif;
        }

        .takeoff-map-runway.compass-runway::before {
            top: 13px;
        }

        .takeoff-map-runway.compass-runway::after {
            bottom: 13px;
        }

        .takeoff-map-runway .compass-runway-centerline {
            top: 22%;
            bottom: 22%;
            width: 4px;
            background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0 18px, transparent 18px 36px);
        }

        .takeoff-map-runway .compass-runway-threshold {
            left: 8px;
            right: 8px;
            height: 26px;
            background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0 4px, transparent 4px 8px);
        }

        .takeoff-map-runway .compass-runway-threshold.top {
            top: 36px;
        }

        .takeoff-map-runway .compass-runway-threshold.bottom {
            bottom: 36px;
        }

        .takeoff-runway-number-icon {
            background: transparent !important;
            border: none !important;
        }

        .takeoff-runway-number {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.94);
            font: 900 13px/1 Arial, sans-serif;
            text-align: center;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.72);
            letter-spacing: 0.04em;
        }

        .takeoff-refocus-button {
            display: flex !important;
            align-items: center;
            justify-content: center;
        }

        .takeoff-refocus-button svg {
            display: block;
            width: 18px;
            height: 18px;
        }

        .station-takeoff-map {
            width: 100%;
            height: min(54vh, 480px);
            min-height: 270px;
            border-radius: 12px;
            overflow: hidden;
            background: #0b161c;
        }

        .station-takeoff-map.is-touch-locked,
        .station-takeoff-map.is-touch-locked.leaflet-container {
            touch-action: pan-y pinch-zoom !important;
        }

        .station-takeoff-map .leaflet-bar,
        .station-map .leaflet-bar,
        #fw-map .leaflet-bar,
        [data-flight-path-map].leaflet-container .leaflet-bar {
            border: 1px solid rgba(139, 178, 194, 0.18);
            border-radius: 4px;
            overflow: hidden;
            box-shadow: none;
        }

        .station-takeoff-map .leaflet-bar a,
        .station-map .leaflet-bar a,
        #fw-map .leaflet-bar a,
        [data-flight-path-map].leaflet-container .leaflet-bar a {
            width: 34px;
            height: 34px;
            line-height: 34px;
            background: rgba(9, 22, 30, 0.96);
            color: var(--accent);
            border-bottom: 1px solid rgba(139, 178, 194, 0.18);
        }

        .station-takeoff-map .leaflet-bar a:last-child,
        .station-map .leaflet-bar a:last-child,
        #fw-map .leaflet-bar a:last-child,
        [data-flight-path-map].leaflet-container .leaflet-bar a:last-child {
            border-bottom: 0;
        }

        .station-takeoff-map .leaflet-bar a:hover,
        .station-map .leaflet-bar a:hover,
        #fw-map .leaflet-bar a:hover,
        [data-flight-path-map].leaflet-container .leaflet-bar a:hover {
            background: rgba(102, 215, 196, 0.18);
            color: #f4fbff;
        }

        .station-takeoff-map .leaflet-control-layers,
        #fw-map .leaflet-control-layers,
        [data-flight-path-map].leaflet-container .leaflet-control-layers {
            background: rgba(9, 22, 30, 0.96);
            border: 1px solid rgba(139, 178, 194, 0.18);
            color: #edf6fb;
            border-radius: 4px;
            box-shadow: none;
        }

        .station-takeoff-map .leaflet-control-layers-toggle,
        #fw-map .leaflet-control-layers-toggle,
        [data-flight-path-map].leaflet-container .leaflet-control-layers-toggle {
            width: 34px;
            height: 34px;
            background-color: rgba(9, 22, 30, 0.96);
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366d7c4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4 20 8l-8 4-8-4 8-4z'/%3E%3Cpath d='m4 12 8 4 8-4'/%3E%3Cpath d='m4 16 8 4 8-4'/%3E%3C/svg%3E");
            background-size: 20px 20px;
            background-position: center;
            background-repeat: no-repeat;
        }

        .station-takeoff-map .leaflet-control-layers-expanded,
        #fw-map .leaflet-control-layers-expanded,
        [data-flight-path-map].leaflet-container .leaflet-control-layers-expanded {
            padding: 8px 10px 8px 8px;
            color: #edf6fb;
        }

        .station-takeoff-map .leaflet-control-scale-line,
        .station-map .leaflet-control-scale-line,
        [data-flight-path-map].leaflet-container .leaflet-control-scale-line {
            background: rgba(9, 22, 30, 0.86);
            color: #dceaf0;
            border-color: rgba(139, 178, 194, 0.45);
        }

        .takeoff-map-expand-control,
        .takeoff-map-close-control {
            display: none;
        }

        .station-takeoff-map .takeoff-map-expand-control a.takeoff-map-expand-button,
        .takeoff-map-close-button {
            display: grid !important;
            place-items: center;
            width: 34px !important;
            height: 34px !important;
            padding: 0;
            line-height: 0;
            border: 0;
            background: rgba(9, 22, 30, 0.96);
            color: var(--accent);
            touch-action: manipulation;
            cursor: pointer;
        }

        .takeoff-map-expand-button svg,
        .takeoff-map-close-button svg {
            display: block;
            width: 21px;
            height: 21px;
            fill: none;
            stroke: currentColor;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .takeoff-map-close-button {
            border-radius: 4px;
            border: 1px solid rgba(139, 178, 194, 0.18);
            box-shadow: none;
        }

        .station-takeoff-map .takeoff-map-expand-control a.takeoff-map-expand-button:hover,
        .takeoff-map-close-button:hover,
        .takeoff-map-close-button:focus-visible {
            background: rgba(102, 215, 196, 0.18);
            color: #f4fbff;
        }

        html.is-takeoff-map-expanded,
        body.is-takeoff-map-expanded {
            overflow: hidden;
            overscroll-behavior: none;
        }

        .takeoff-map-card.is-map-expanded {
            position: fixed;
            inset: 0;
            z-index: 2000;
            width: 100%;
            max-width: none;
            height: 100%;
            height: 100dvh;
            margin: 0;
            padding: 0;
            border: 0;
            border-radius: 0;
            background: #0b161c;
            box-shadow: none;
        }

        .takeoff-map-card.is-map-expanded .station-takeoff-map {
            height: 100%;
            min-height: 100%;
            border-radius: 0;
        }

        @media (max-width: 860px) {
            .takeoff-map-expand-control {
                display: block;
                position: absolute;
                right: 0;
                left: auto;
                bottom: 0;
                margin: 10px !important;
                z-index: 1000;
            }

            .takeoff-map-card:not(.is-map-expanded) .leaflet-control-attribution {
                margin-right: 54px;
            }

            .takeoff-map-card.is-map-expanded .takeoff-map-expand-control {
                display: none;
            }

            .takeoff-map-card.is-map-expanded .takeoff-map-close-control {
                display: block;
                position: absolute;
                top: calc(10px + env(safe-area-inset-top, 0px));
                right: calc(10px + env(safe-area-inset-right, 0px));
                margin: 0 !important;
                z-index: 1100;
            }

            .takeoff-map-card.is-map-expanded .leaflet-control-layers {
                margin-top: 58px;
            }
        }

        .station-takeoff-map .leaflet-popup-content-wrapper,
        .station-takeoff-map .leaflet-popup-tip {
            background: #071118;
            color: #edf6fb;
            border: 1px solid rgba(102, 215, 196, 0.28);
            box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
        }

        .station-takeoff-map .leaflet-popup-close-button {
            color: #39d36a;
        }

        .station-takeoff-map .leaflet-popup-close-button:hover {
            color: #7ee89a;
        }

        .station-takeoff-map.leaflet-container .leaflet-popup.takeoff-related-popup a,
        .station-takeoff-map.leaflet-container .leaflet-popup.takeoff-related-popup a span {
            color: #176951;
            font: 800 0.92rem/1.4 Arial, sans-serif;
        }

        .station-takeoff-map.leaflet-container .leaflet-popup.takeoff-related-popup a:hover,
        .station-takeoff-map.leaflet-container .leaflet-popup.takeoff-related-popup a:hover span {
            color: #176951;
            text-decoration: underline;
        }

        .takeoff-map-compass-icon,
        .takeoff-path-arrow-icon {
            background: transparent !important;
            border: none !important;
        }

        .takeoff-map-compass-icon,
        .takeoff-map-compass {
            pointer-events: none;
        }

        .takeoff-map-compass.compass {
            width: 180px;
            height: 180px;
            margin: 0;
        }

        .takeoff-map-compass .compass-arrow {
            width: 34px;
            height: 38px;
        }

        .takeoff-map-compass .compass-speed {
            font-size: 1.35rem;
            top: 64%;
        }

        .takeoff-map-compass .compass-label {
            font-size: 0.78rem;
        }

        .takeoff-path-arrow {
            position: absolute;
            left: 50%;
            top: 50%;
            width: 18px;
            height: 20px;
            background: transparent;
            --compass-arrow-shape: polygon(50% 0%, 82% 78%, 50% 58%, 18% 78%);
            transform-origin: 50% 50%;
            pointer-events: none;
        }

        .takeoff-path-arrow::before {
            content: "";
            position: absolute;
            inset: 0;
            background: #000000;
            clip-path: var(--compass-arrow-shape);
        }

        .takeoff-path-arrow::after {
            content: "";
            position: absolute;
            inset: 1.5px;
            background: #39d36a;
            clip-path: var(--compass-arrow-shape);
        }

        .takeoff-path-end-label-icon {
            background: transparent !important;
            border: none !important;
            pointer-events: none;
        }

        .takeoff-path-end-label {
            display: inline-block;
            max-width: 9.5rem;
            padding: 1px 5px;
            border-radius: 3px;
            font: 600 11px/1.25 system-ui, sans-serif;
            color: #f7fff8;
            background: rgba(8, 16, 12, 0.58);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            pointer-events: none;
        }

        .leaflet-marker-icon.takeoff-wind-arrow-icon {
            width: 78px !important;
            height: 90px !important;
            margin-left: -39px !important;
            margin-top: -45px !important;
            background: transparent !important;
            border: none !important;
            pointer-events: none;
        }

        .takeoff-wind-arrow {
            position: absolute;
            left: 50%;
            top: 50%;
            width: 72px;
            height: 82px;
            background: transparent;
            --compass-arrow-shape: polygon(50% 0%, 82% 78%, 50% 58%, 18% 78%);
            transform-origin: 50% 50%;
            pointer-events: none;
        }

        .takeoff-wind-arrow::before {
            content: "";
            position: absolute;
            inset: 0;
            background: #000000;
            clip-path: var(--compass-arrow-shape);
        }

        .takeoff-wind-arrow::after {
            content: "";
            position: absolute;
            inset: 2px;
            background: #f7fff8;
            clip-path: var(--compass-arrow-shape);
        }

        .takeoff-wind-sensor-label {
            position: absolute;
            left: 50%;
            top: 50%;
            z-index: 2;
            transform: translate(-50%, -50%);
            font: 700 1.15rem/1 system-ui, sans-serif;
            color: #102018;
            text-shadow: 0 0 3px #fff, 0 0 6px #fff;
            pointer-events: none;
        }

        .leaflet-marker-icon.takeoff-wind-arrow-icon-2 {
            width: 168px !important;
            height: 90px !important;
            margin-left: -39px !important;
            margin-top: -45px !important;
            background: transparent !important;
            border: none !important;
            pointer-events: none;
        }

        .takeoff-wind-marker-2 {
            display: flex;
            align-items: center;
            width: 168px;
            height: 90px;
        }

        .takeoff-wind-arrow-slot {
            position: relative;
            flex: 0 0 78px;
            width: 78px;
            height: 90px;
        }

        .takeoff-wind-speeds {
            position: relative;
            display: flex;
            flex-direction: row;
            align-items: stretch;
            width: 100%;
            min-width: 0;
            padding: 0;
            overflow: hidden;
            border: 1px solid rgba(247, 255, 248, 0.38);
            border-radius: 6px;
            background: rgba(8, 16, 12, 0.84);
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
            color: #f7fff8;
            font: 600 12px/1.25 system-ui, sans-serif;
            white-space: nowrap;
            box-sizing: border-box;
        }

        .takeoff-wind-speeds-body {
            display: flex;
            flex-direction: column;
            gap: 3px;
            min-width: 0;
            flex: 1 1 auto;
            padding: 6px 8px;
        }

        .takeoff-wind-speed-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 6px;
            min-height: 22px;
        }

        .takeoff-wind-name {
            flex: 0 0 2.6rem;
            width: 2.6rem;
            color: #f7fff8;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.01em;
            opacity: 0.9;
        }

        .takeoff-wind-box-toggle {
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 22px;
            width: 22px;
            align-self: stretch;
            z-index: 2;
            padding: 0;
            border: 0;
            border-right: 1px solid rgba(247, 255, 248, 0.22);
            border-radius: 0;
            background: rgba(247, 255, 248, 0.16);
            color: inherit;
            cursor: pointer;
        }

        .takeoff-wind-box-toggle-arrow {
            display: block;
            width: 12px;
            height: 26px;
            fill: currentColor;
        }

        .takeoff-wind-box-toggle:hover,
        .takeoff-wind-box-toggle:focus {
            background: rgba(247, 255, 248, 0.28);
        }

        .takeoff-wind-speeds-yr .takeoff-wind-box-toggle {
            background: rgba(0, 166, 255, 0.32);
            border-right-color: rgba(0, 166, 255, 0.45);
        }

        .takeoff-wind-speeds-yr .takeoff-wind-box-toggle:hover,
        .takeoff-wind-speeds-yr .takeoff-wind-box-toggle:focus {
            background: rgba(0, 166, 255, 0.48);
        }

        .takeoff-wind-speeds-windy .takeoff-wind-box-toggle {
            background: rgba(255, 158, 200, 0.32);
            border-right-color: rgba(255, 158, 200, 0.45);
        }

        .takeoff-wind-speeds-windy .takeoff-wind-box-toggle:hover,
        .takeoff-wind-speeds-windy .takeoff-wind-box-toggle:focus {
            background: rgba(255, 158, 200, 0.48);
        }

        .takeoff-wind-speeds.is-compact .takeoff-wind-name,
        .takeoff-wind-speeds.is-compact .takeoff-wind-sensor-header,
        .takeoff-wind-speeds.is-compact .takeoff-wind-avg-mark,
        .takeoff-wind-speeds.is-compact .takeoff-wind-speed-caption,
        .takeoff-wind-speeds.is-compact .takeoff-wind-speed-icon {
            display: none;
        }

        .takeoff-wind-speeds.is-compact {
            padding: 0;
        }

        .takeoff-wind-speeds.is-compact .takeoff-wind-speeds-body {
            padding: 2px 5px 2px 4px;
            gap: 0;
            font-size: 11px;
            line-height: 1.15;
        }

        .takeoff-wind-speeds.is-compact .takeoff-wind-speed-row {
            min-height: 16px;
            gap: 2px;
        }

        .takeoff-wind-speeds.is-compact .takeoff-wind-box-toggle {
            flex-basis: 18px;
            width: 18px;
        }

        .takeoff-wind-speeds.is-compact .takeoff-wind-box-toggle-arrow {
            width: 11px;
            height: 22px;
        }

        .takeoff-wind-speed-text {
            display: flex;
            align-items: baseline;
            gap: 4px;
            min-width: 0;
            flex: 1 1 auto;
        }

        .takeoff-wind-speed-icon {
            flex: 0 0 22px;
            width: 22px;
            height: 22px;
            object-fit: contain;
        }

        .takeoff-wind-sensor-header {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 6px;
            font-size: 10px;
            font-weight: 700;
            line-height: 1.2;
            letter-spacing: 0.01em;
            padding-bottom: 2px;
            margin-bottom: 1px;
            border-bottom: 1px solid rgba(247, 255, 248, 0.2);
        }

        .takeoff-wind-speeds.takeoff-wind-speeds-sensor.is-live {
            border-color: #39d36a;
            box-shadow: 0 0 0 1px rgba(57, 211, 106, 0.28), 0 1px 4px rgba(0, 0, 0, 0.45);
        }

        .takeoff-wind-sensor-age,
        .takeoff-wind-avg-mark {
            display: inline-flex;
            align-items: baseline;
            justify-content: flex-end;
            gap: 2px;
            flex: 0 0 auto;
            min-width: 2.8rem;
            color: #f7fff8;
            font-size: 10px;
            font-weight: 700;
            font-variant-numeric: tabular-nums;
            opacity: 1;
        }

        .takeoff-wind-avg-x {
            font-size: 13px;
            line-height: 1;
        }

        .takeoff-wind-speed-caption {
            font-weight: 500;
            font-size: 10px;
            opacity: 0.88;
        }

        .takeoff-wind-speeds.takeoff-wind-speeds-yr {
            color: #f2fbff;
            border-color: rgba(0, 166, 255, 0.55);
            background: rgba(0, 48, 82, 0.82);
        }

        .takeoff-wind-speeds.takeoff-wind-speeds-yr .takeoff-wind-speed-caption {
            color: #00a6ff;
            opacity: 1;
        }

        .takeoff-wind-speeds.takeoff-wind-speeds-yr .takeoff-wind-speed-row {
            opacity: 0.48;
            padding: 1px 4px;
            margin: 0 -4px;
            border-radius: 4px;
            cursor: pointer;
        }

        .takeoff-wind-speeds.takeoff-wind-speeds-yr .takeoff-wind-speed-row.is-active {
            opacity: 1;
            background: rgba(0, 166, 255, 0.22);
            box-shadow: inset 2px 0 0 #00a6ff;
        }

        .takeoff-forecast-toggles {
            margin-bottom: 6px;
            padding: 6px 8px 6px 6px;
            background: rgba(9, 22, 30, 0.96);
            border: 1px solid rgba(139, 178, 194, 0.18);
            border-radius: 4px;
            box-shadow: none;
            display: flex;
            flex-direction: column;
            gap: 5px;
            font: 12px/1.2 Arial, sans-serif;
            color: #edf6fb;
        }

        .takeoff-forecast-toggles label {
            display: flex;
            align-items: center;
            gap: 6px;
            margin: 0;
            cursor: pointer;
            user-select: none;
        }

        .takeoff-forecast-toggles label[hidden] {
            display: none;
        }

        .takeoff-forecast-toggles input {
            margin: 0;
            flex: 0 0 auto;
        }

        .takeoff-forecast-toggles .takeoff-forecast-toggle-sensor {
            color: #7d8b94;
            font-weight: 700;
        }

        .takeoff-forecast-toggles .takeoff-forecast-toggle-yr {
            color: #00a6ff;
            font-weight: 700;
        }

        .takeoff-forecast-toggles .takeoff-forecast-toggle-windy {
            color: #ff9ec8;
            font-weight: 700;
        }

        .takeoff-wind-speeds.takeoff-wind-speeds-windy {
            color: #fff0f6;
            border-color: rgba(255, 158, 200, 0.62);
            background: rgba(72, 18, 42, 0.84);
        }

        .takeoff-wind-speeds.takeoff-wind-speeds-windy .takeoff-wind-speed-caption {
            color: #ff9ec8;
            opacity: 1;
        }

        .takeoff-wind-speeds.takeoff-wind-speeds-windy .takeoff-wind-speed-row {
            opacity: 0.48;
            padding: 1px 4px;
            margin: 0 -4px;
            border-radius: 4px;
            cursor: pointer;
        }

        .takeoff-wind-speeds.takeoff-wind-speeds-windy .takeoff-wind-speed-row.is-active {
            opacity: 1;
            background: rgba(255, 158, 200, 0.24);
            box-shadow: inset 2px 0 0 #ff9ec8;
        }

        .leaflet-marker-icon.takeoff-wind-speeds-icon.takeoff-windy-interactive {
            pointer-events: auto !important;
            cursor: pointer;
        }

        .takeoff-wind-particles {
            pointer-events: none;
        }

        .takeoff-wind-speeds-icon,
        .takeoff-use-icons-icon,
        .takeoff-weather-station-icon {
            background: transparent !important;
            border: none !important;
            pointer-events: none;
        }

        .leaflet-marker-icon.takeoff-wind-speeds-icon.takeoff-yr-interactive {
            pointer-events: auto !important;
            cursor: pointer;
        }

        .leaflet-marker-icon.takeoff-wind-speeds-icon {
            width: 196px !important;
            height: 56px !important;
            overflow: visible !important;
            background: transparent !important;
            border: none !important;
        }

        .leaflet-marker-icon.takeoff-wind-speeds-icon.takeoff-wind-speeds-icon-single {
            height: 28px !important;
        }

        .leaflet-marker-icon.takeoff-wind-speeds-icon.takeoff-wind-speeds-icon-sensor {
            width: 196px !important;
            height: 96px !important;
            pointer-events: auto !important;
        }

        .leaflet-marker-icon.takeoff-wind-speeds-icon.is-compact {
            width: 78px !important;
            height: 42px !important;
        }

        .leaflet-marker-icon.takeoff-wind-speeds-icon.takeoff-wind-speeds-icon-sensor.is-compact {
            width: 74px !important;
            height: 56px !important;
        }

        .takeoff-rain-drops {
            pointer-events: none;
        }

        .leaflet-marker-icon.takeoff-weather-station-icon {
            width: 42px !important;
            height: 51px !important;
            margin-left: -21px !important;
            margin-top: -48px !important;
        }

        .takeoff-use-icons {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            gap: 10px 14px;
            padding: 0;
            background: transparent;
        }

        .takeoff-use-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            min-width: 4.5rem;
        }

        .takeoff-use-svg {
            display: block;
            width: 40px;
            height: 34px;
        }

        .takeoff-use-caption {
            font: 600 11px/1.2 system-ui, sans-serif;
            color: #f7fff8;
        }

        .takeoff-weather-station {
            width: 42px;
            height: 51px;
            filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
        }

        .takeoff-weather-station svg {
            display: block;
            width: 42px;
            height: 51px;
        }

        .leaflet-tooltip.takeoff-rose-tooltip-pane {
            min-width: 220px;
            max-width: 280px;
            padding: 10px 12px;
            background: rgba(8, 16, 12, 0.88);
            border: 1px solid rgba(247, 255, 248, 0.28);
            border-radius: 8px;
            color: #f7fff8;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
            white-space: normal;
        }

        .leaflet-tooltip.takeoff-rose-tooltip-pane::before {
            border-top-color: rgba(8, 16, 12, 0.88);
        }

        .takeoff-rose-tooltip-block + .takeoff-rose-tooltip-block {
            margin-top: 10px;
        }

        .takeoff-rose-tooltip-name {
            margin: 10px 0 6px;
            font: 700 13px/1.3 system-ui, sans-serif;
        }

        .takeoff-rose-tooltip-block:first-child .takeoff-rose-tooltip-name {
            margin-top: 0;
        }

        .takeoff-rose-tooltip-text {
            margin: 0;
            font: 500 12px/1.45 system-ui, sans-serif;
            white-space: pre-wrap;
            opacity: 0.92;
        }

        .station-flight-path-map {
            width: 100%;
            height: min(56vh, 480px);
            min-height: 320px;
            margin: 12px 0 16px;
            border-radius: 10px;
            overflow: hidden;
            background: #dce4d8;
        }

        .station-flight-path-editor.is-placing-station .station-flight-path-map {
            cursor: crosshair;
        }

        .station-flight-path-editor [data-place-station].is-active {
            border-color: rgba(102, 215, 196, 0.78);
            background: rgba(61, 202, 175, 0.14);
            color: var(--accent);
        }

        .station-flight-path-map .leaflet-marker-icon.takeoff-weather-station-icon {
            pointer-events: auto !important;
            cursor: grab;
        }

        .station-flight-path-map .leaflet-marker-icon.takeoff-weather-station-icon.leaflet-drag-target {
            cursor: grabbing;
        }

        .flight-path-handle-icon {
            background: transparent !important;
            border: none !important;
        }

        .flight-path-handle {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.72rem;
            font-weight: 700;
            color: #102018;
            box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 1px 4px rgba(0, 0, 0, 0.35);
        }

        .flight-path-handle.start {
            background: #39d36a;
        }

        .flight-path-handle.end {
            background: #f3c14e;
        }

        .station-flight-path-row {
            margin: 0 0 16px;
            padding: 12px;
            border: 1px solid rgba(148, 180, 176, 0.18);
            border-radius: 10px;
        }

        .station-flight-path-row .portal-panel-head {
            margin-bottom: 10px;
        }

        .station-flight-path-row h3 {
            margin: 0;
            font-size: 0.95rem;
        }
