: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;
        }

        .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: 160px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .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-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-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-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;
        }

        .hidden {
            display: none !important;
        }

        .hero-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
        }

        .hero-badges {
            display: flex;
            align-items: center;
            gap: 12px;
            flex: 0 0 auto;
        }

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

        .weather-badge,
        .flight-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);
        }

        .weather-badge svg,
        .flight-badge svg {
            width: 76px;
            height: 76px;
            display: block;
        }

        .flight-badge {
            position: relative;
            overflow: hidden;
        }

        .flight-badge::after {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.1), transparent 58%);
            pointer-events: none;
        }

        .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;
        }

        .project-grid {
            display: grid;
            grid-template-columns: 1.4fr 1fr;
            gap: 18px;
        }

        .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);
        }

        .summary-strip {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 12px;
            margin-bottom: 18px;
        }

        .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;
        }

        .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));
        }

        .metrics {
            display: grid;
            grid-template-columns: repeat(3, 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;
        }

        .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: 1px solid rgba(139, 178, 194, 0.2);
            box-shadow:
                inset 0 0 0 18px rgba(7, 16, 22, 0.82),
                inset 0 22px 34px rgba(255, 255, 255, 0.03),
                inset 0 -26px 28px rgba(0, 0, 0, 0.34),
                0 18px 38px rgba(0, 0, 0, 0.32);
            background:
                radial-gradient(circle, rgba(6, 14, 20, 0.98) 0 32%, transparent 33%),
                radial-gradient(circle, rgba(255, 212, 106, 0.05) 0 48%, transparent 49%),
                radial-gradient(circle, rgba(102, 215, 196, 0.08) 0 63%, transparent 64%),
                var(--compass-sectors, transparent);
        }

        .compass::before,
        .compass::after {
            content: "";
            position: absolute;
            left: 50%;
            top: 50%;
            background: rgba(139, 178, 194, 0.18);
            transform: translate(-50%, -50%);
        }

        .compass::before {
            width: 2px;
            height: 86%;
        }

        .compass::after {
            width: 82%;
            height: 2px;
        }

        .compass-arrow {
            position: absolute;
            left: 50%;
            top: 50%;
            z-index: 6;
            width: 4px;
            height: 116px;
            border-radius: 999px;
            background: linear-gradient(180deg, #f2f7fb 0%, #66d7c4 55%, rgba(102, 215, 196, 0.08) 100%);
            transform-origin: 50% calc(100% - 8px);
            transform: translate(-50%, -100%) rotate(0deg);
            box-shadow: 0 0 18px rgba(102, 215, 196, 0.3);
        }

        .compass-arrow.avg {
            width: 3px;
            height: 98px;
            background: linear-gradient(180deg, #ffd46a 0%, #f4bf4f 55%, rgba(244, 191, 79, 0.08) 100%);
            box-shadow: 0 0 14px rgba(244, 191, 79, 0.26);
            opacity: 0.9;
        }

        .compass-arrow.avg::before {
            top: -10px;
            border-left-width: 8px;
            border-right-width: 8px;
            border-bottom-width: 14px;
            border-bottom-color: #ffd46a;
        }

        .compass-arrow::before {
            content: "";
            position: absolute;
            left: 50%;
            top: -12px;
            transform: translateX(-50%);
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-bottom: 18px solid #f2f7fb;
        }

        .compass-center {
            position: absolute;
            left: 50%;
            top: 50%;
            z-index: 7;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: #f2f7fb;
            box-shadow:
                0 0 0 6px rgba(102, 215, 196, 0.14),
                0 0 22px rgba(255, 212, 106, 0.12);
            transform: translate(-50%, -50%);
        }

        .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: 5;
            color: var(--muted);
            font: 700 0.78rem/1 Arial, sans-serif;
            letter-spacing: 0.08em;
        }

        .compass-label.n { top: 10px; left: 50%; transform: translateX(-50%); }
        .compass-label.e { right: 10px; top: 50%; transform: translateY(-50%); }
        .compass-label.s { bottom: 10px; left: 50%; transform: translateX(-50%); }
        .compass-label.w { left: 10px; top: 50%; transform: translateY(-50%); }

        .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: 22px;
        }

        .history-header {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            gap: 12px;
            margin-bottom: 14px;
        }

        .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: 16px;
            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;
        }

        .direction-band {
            display: grid;
            grid-template-columns: repeat(var(--band-columns, 1), minmax(0, 1fr));
            gap: 2px;
            width: 100%;
            max-width: 100%;
            height: 16px;
            margin-top: 10px;
            padding: 3px;
            border-radius: 999px;
            background: rgba(8, 17, 24, 0.72);
            border: 1px solid rgba(139, 178, 194, 0.12);
            overflow: hidden;
        }

        .direction-band-segment {
            border-radius: 999px;
            min-width: 0;
            background: rgba(139, 178, 194, 0.18);
        }

        .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-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-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-status {
            margin: 0 0 14px;
            color: var(--muted);
            font: 400 0.9rem/1.5 Arial, sans-serif;
        }

        .node-links {
            display: grid;
            gap: 12px;
        }

        .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;
        }

        .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-title {
            display: inline;
            font: 700 0.98rem/1.25 Arial, sans-serif;
        }

        .node-link-head {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            align-items: center;
            gap: 10px;
        }

        .node-link-meta {
            min-width: 0;
        }

        .node-link-badges {
            display: flex;
            align-items: center;
            gap: 6px;
            flex: 0 0 auto;
        }

        .node-link-badge {
            width: 54px;
            height: 54px;
            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: 40px;
            height: 40px;
            display: block;
            overflow: visible;
        }

        .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-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;
        }

        .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: 820px) {
            .project-grid {
                grid-template-columns: 1fr;
            }

            .hero-head {
                align-items: flex-start;
            }

            .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;
            }

            .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;
            }

        }

        @media (max-width: 560px) {
            .hero-head {
                flex-direction: column;
                align-items: stretch;
            }

            .hero-badges {
                width: 100%;
                justify-content: center;
            }

            .weather-badge,
            .flight-badge {
                width: 88px;
                height: 88px;
                border-radius: 20px;
            }

            .weather-badge svg,
            .flight-badge svg {
                width: 58px;
                height: 58px;
            }

            h1 {
                font-size: clamp(1.85rem, 10vw, 2.4rem);
                line-height: 1.04;
            }

            .wind-figure {
                padding: 14px 12px;
            }

            .metrics {
                gap: 0;
                padding: 4px 12px;
                border-radius: 18px;
                background: rgba(8, 17, 24, 0.72);
                border: 1px solid rgba(139, 178, 194, 0.12);
            }

            .metric {
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 12px;
                padding: 10px 0;
                border-radius: 0;
                background: none;
                border: 0;
                border-bottom: 1px dashed var(--line);
                box-shadow: none;
            }

            .metric:last-child {
                border-bottom: 0;
            }

            .metric-label {
                margin-bottom: 0;
                text-transform: none;
                letter-spacing: 0;
                font-size: 0.92rem;
            }

            .metric-value,
            .metric-value.multiline {
                font-size: 1rem;
                line-height: 1.3;
                text-align: right;
                text-shadow: none;
                text-wrap: pretty;
            }

            .compass {
                width: min(100%, 248px);
                height: min(100vw - 72px, 248px);
            }

            .compass::before {
                height: 84%;
            }

            .compass::after {
                width: 80%;
            }

            .compass-arrow {
                height: 94px;
            }

            .compass-arrow.avg {
                height: 80px;
            }

            .wind-figure-stats {
                grid-template-columns: 1fr;
                max-width: 100%;
                gap: 0;
                padding: 4px 12px;
                border-radius: 14px;
                background: rgba(8, 17, 24, 0.72);
                border: 1px solid rgba(139, 178, 194, 0.12);
            }

            .wind-figure-stat {
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 12px;
                padding: 10px 0;
                border-radius: 0;
                background: none;
                border: 0;
                border-bottom: 1px dashed var(--line);
            }

            .wind-figure-stat:last-child {
                border-bottom: 0;
            }

            .wind-figure-stat-label {
                margin-bottom: 0;
                text-transform: none;
                letter-spacing: 0;
                font-size: 0.92rem;
            }

            .wind-figure-stat-value {
                font-size: 1rem;
                line-height: 1.3;
                text-align: right;
                text-shadow: none;
            }

            .wind-figure-note {
                margin-top: 10px;
                padding: 10px 12px;
            }

            .compass-caption {
                margin-top: 0;
                text-align: left;
            }
        }
