
        /* Self-hosted fonts (SIL OFL 1.1, licences in /assets/fonts): Inter, Outfit, JetBrains Mono */
        @font-face {
            font-family: 'Inter';
            font-style: normal;
            font-weight: 400 800;
            font-display: swap;
            src: url('/assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
            unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
        }
        @font-face {
            font-family: 'Inter';
            font-style: normal;
            font-weight: 400 800;
            font-display: swap;
            src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
            unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
        }
        @font-face {
            font-family: 'Outfit';
            font-style: normal;
            font-weight: 400 800;
            font-display: swap;
            src: url('/assets/fonts/outfit-latin-ext-wght-normal.woff2') format('woff2');
            unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
        }
        @font-face {
            font-family: 'Outfit';
            font-style: normal;
            font-weight: 400 800;
            font-display: swap;
            src: url('/assets/fonts/outfit-latin-wght-normal.woff2') format('woff2');
            unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
        }
        @font-face {
            font-family: 'JetBrains Mono';
            font-style: normal;
            font-weight: 400 600;
            font-display: swap;
            src: url('/assets/fonts/jetbrains-mono-latin-ext-wght-normal.woff2') format('woff2');
            unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
        }
        @font-face {
            font-family: 'JetBrains Mono';
            font-style: normal;
            font-weight: 400 600;
            font-display: swap;
            src: url('/assets/fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2');
            unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
        }

        :root {
            /* Colour scheme (ADR-023): light paper, dark type, one accent (petrol). All colour values live here. */
            --gs-bg: #FAFAF7;
            --gs-bg-warm: #F2EEE5;
            --gs-surface: #FFFFFF;
            --gs-surface-2: #EDE8DF;
            --gs-line: #E6E2DB;
            --gs-grid: #DDD6CA;
            --gs-text: #1C1917;
            --gs-text-2: #44403C;
            --gs-muted: #57534E;
            --gs-accent: #196C86;
            --gs-accent-hover: #145869;
            --gs-accent-tint: #E1EEF2;
            --gs-on-accent: #FFFFFF;
            --gs-data: #857E78;
            --gs-overlay: rgba(28, 25, 23, 0.5);
            /* Purchasing-power ring (v1.0.7): distance to the EU-27, no red/green */
            --aff-neutral: #DCD8D2;
            --aff-worse-1: #F6C48F;
            --aff-worse-2: #E07B24;
            --aff-better-1: #A8C8E6;
            --aff-better-2: #3A78B5;
            --aff-none: #FFFFFF;
            --gs-shadow: 0 1px 2px rgba(28, 25, 23, 0.06);
            --gs-mark-main: #FAFAF7;
            --gs-mark-counter: #9CCBD9;

            /* Older names used across the page, mapped onto the scheme */
            --bg-base: var(--gs-bg);
            --bg-card: var(--gs-surface);
            --bg-card-hover: var(--gs-bg-warm);
            --border-color: var(--gs-line);
            --border-glow: var(--gs-accent);

            --text-main: var(--gs-text);
            --text-muted: var(--gs-text-2);
            --text-dim: var(--gs-muted);

            --accent-cyan: var(--gs-accent);
            --accent-cyan-glow: transparent;
            --accent-indigo: var(--gs-accent);
            --accent-pink: var(--gs-accent);
            --accent-emerald: var(--gs-accent);
            --accent-amber: var(--gs-accent);

            --radius-lg: 16px;
            --radius-md: 10px;
            --radius-sm: 6px;
            --font-heading: 'Outfit', -apple-system, sans-serif;
            --font-body: 'Inter', -apple-system, sans-serif;
            --font-mono: 'JetBrains Mono', monospace;

            --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            --shadow-glass: var(--gs-shadow);

            /* Footer, language switcher and section kicker */
            --footer-bg: var(--gs-surface-2);
            --footer-text: var(--gs-muted);
            --footer-strong: var(--gs-text);
            --footer-link: var(--gs-text-2);
            --footer-rule: var(--gs-line);
            --lang-switch-bg: var(--gs-surface);
            --lang-switch-border: var(--gs-line);
            --lang-switch-text: var(--gs-text);
            --lang-switch-current-bg: var(--gs-accent-tint);
            --lang-menu-bg: var(--gs-surface);
            --kicker-color: var(--gs-accent);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            background: var(--gs-surface-2);
        }

        a:focus-visible,
        button:focus-visible,
        input:focus-visible,
        summary:focus-visible,
        [tabindex]:focus-visible {
            outline: 2px solid var(--gs-accent);
            outline-offset: 2px;
        }

        body {
            background-color: var(--bg-base);
            color: var(--text-main);
            font-family: var(--font-body);
            line-height: 1.6;
            padding: 2rem 1rem;
            min-height: 100vh;
            overflow-x: clip;
        }

        .container {
            max-width: 1240px;
            margin: 0 auto;
        }

        /* HEADER & NAVBAR (SLIM STICKY TOP BAR) */
        header {
            background: var(--gs-bg);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 0.5rem 1.25rem;
            margin-bottom: 1.5rem;
            box-shadow: var(--shadow-glass);
            position: sticky;
            top: 0.5rem;
            z-index: 100;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
        }

        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1.5rem;
            flex-wrap: wrap;
        }

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

        .brand-icon {
            width: 42px;
            height: 42px;
            background: var(--gs-accent);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            box-shadow: none;
        }

        .brand-title {
            font-family: var(--font-heading);
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--gs-text);
            letter-spacing: -0.02em;
        }

        .header-controls {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            flex-wrap: wrap;
        }

        .pwa-install-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            background: var(--gs-surface);
            border: 1px solid var(--gs-line);
            color: var(--accent-cyan);
            padding: 0.35rem 0.75rem;
            border-radius: var(--radius-md);
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition-fast);
            white-space: nowrap;
        }

        .pwa-install-btn:hover {
            background: var(--gs-accent-tint);
            border-color: var(--accent-cyan);
            box-shadow: none;
            color: var(--gs-text);
        }

        .export-switcher {
            display: flex;
            gap: 0.25rem;
            background: var(--gs-surface);
            padding: 0.3rem;
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
        }

        .export-btn {
            background: transparent;
            border: none;
            color: var(--text-muted);
            padding: 0.4rem 0.8rem;
            border-radius: var(--radius-sm);
            cursor: pointer;
            font-weight: 700;
            font-size: 0.825rem;
            font-family: var(--font-mono);
            transition: var(--transition-fast);
        }

        .export-btn:hover {
            color: var(--gs-text);
        }

        .lang-switcher {
            position: relative;
            flex-shrink: 0;
        }

        .lang-trigger {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.35rem;
            min-width: 44px;
            min-height: 44px;
            padding: 0 0.6rem;
            background: var(--lang-switch-bg);
            border: 1px solid var(--lang-switch-border);
            border-radius: var(--radius-md);
            color: var(--lang-switch-text);
            cursor: pointer;
        }

        .lang-flag {
            display: inline-flex;
        }

        .lang-flag[hidden] {
            display: none;
        }

        .lang-trigger svg,
        .lang-menu-item svg {
            display: block;
            border-radius: 2px;
            box-shadow: none;
        }

        .lang-caret {
            font-size: 0.75rem;
        }

        .lang-menu {
            position: absolute;
            right: 0;
            top: calc(100% + 0.35rem);
            min-width: 7.5rem;
            padding: 0.3rem;
            display: flex;
            flex-direction: column;
            background: var(--lang-menu-bg);
            border: 1px solid var(--lang-switch-border);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-glass);
            z-index: 200;
        }

        .lang-menu[hidden] {
            display: none;
        }

        .lang-menu-item {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            min-height: 44px;
            padding: 0 0.75rem;
            background: transparent;
            border: none;
            border-radius: var(--radius-sm);
            color: var(--lang-switch-text);
            font-size: 0.875rem;
            font-weight: 600;
            cursor: pointer;
            text-align: left;
            text-decoration: none;
        }

        .lang-menu-item:hover,
        .lang-menu-item:focus-visible,
        .lang-menu-item[aria-current="true"] {
            background: var(--lang-switch-current-bg);
        }




        .card.sq-card {
            background: var(--gs-surface);
            border: 1px solid var(--border-color);
            border-left: 4px solid var(--gs-accent);
            padding: 1.35rem 1.5rem;
        }

        .sq-card-head {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.6rem;
            margin-bottom: 0.85rem;
        }

        .sq-card-meta {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            flex-wrap: wrap;
        }

        .sq-date {
            font-family: var(--font-mono);
            font-size: 0.78rem;
            color: var(--text-muted);
            background: var(--gs-bg-warm);
            padding: 0.25rem 0.6rem;
            border-radius: 6px;
            border: 1px solid var(--gs-line);
        }

        .status-quo-dim-pill {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--gs-accent);
            border-color: var(--gs-line);
            background: var(--gs-accent-tint);
            cursor: pointer;
        }

        .sq-open-dossier {
            background: transparent;
            border: none;
            color: var(--gs-accent);
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            text-decoration: underline;
        }

        .sq-headline {
            font-size: 1.15rem;
            color: var(--gs-text);
            margin-bottom: 1rem;
            line-height: 1.4;
        }

        /* v1.0.6.2: one collapsible block per entry; the summary line is the whole clickable row */
        .card.sq-card { padding: 0; }
        .sq-count { font-size: 0.9rem; font-weight: 600; color: var(--gs-text-2); margin: 0 0 0.75rem 0; }
        .sq-summary {
            list-style: none;
            cursor: pointer;
            min-height: 44px;
            display: grid;
            grid-template-columns: 1fr auto;
            column-gap: 0.75rem;
            align-items: center;
            padding: 0.9rem 1.25rem;
        }
        .sq-summary::-webkit-details-marker { display: none; }
        /* v1.0.6.3: the same arrow as on the tiles (›), pointing down; it turns up when the block opens */
        .sq-summary::after {
            content: "›";
            grid-column: 2;
            grid-row: 1 / span 2;
            color: var(--gs-accent);
            font-weight: 700;
            font-size: 1.6rem;
            line-height: 1;
            transform: rotate(90deg);
            transition: transform 0.2s ease;
        }
        .sq-card[open] > .sq-summary::after { transform: rotate(-90deg); }
        .sq-summary:hover .sq-headline, .sq-summary:focus-visible .sq-headline { color: var(--gs-accent); }
        .sq-summary:focus-visible { outline: 2px solid var(--gs-accent); outline-offset: -2px; border-radius: var(--radius-md); }
        .sq-summary-meta {
            grid-column: 1;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0.35rem;
            font-size: 0.8rem;
            color: var(--text-muted);
        }
        .sq-summary-meta > * + *::before { content: "·"; color: var(--text-muted); margin-right: 0.35rem; font-weight: 400; }
        .sq-country { font-weight: 700; color: var(--gs-text); display: inline-flex; align-items: center; gap: 0.35rem; }
        .sq-summary .sq-date { background: none; border: none; padding: 0; font-size: 0.78rem; }
        .sq-dim-chip { color: var(--gs-accent); font-weight: 600; }
        .sq-summary .sq-headline { grid-column: 1; margin: 0.35rem 0 0 0; font-size: 1.05rem; }
        .sq-body { padding: 0 1.25rem 1.25rem 1.25rem; border-top: 1px solid var(--gs-line); padding-top: 0.9rem; }
        /* v1.0.6.3: jump targets stay below the sticky header (from 769 px; on phones it scrolls away) */
        :root { --anchor-offset: 1rem; }
        @media (min-width: 769px) { :root { --anchor-offset: 8rem; } }
        .sq-card, .mitgestalten { scroll-margin-top: var(--anchor-offset); }





        .sq-details p {
            font-size: 0.875rem;
            color: var(--gs-text);
            margin: 0;
            line-height: 1.55;
        }

        .sq-label {
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--gs-text-2);
            margin: 0 0 0.5rem 0;
        }

        .sq-dist {
            margin-bottom: 1rem;
        }

        .sq-dist-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.75rem;
        }

        .sq-dist-col {
            border: 1px solid var(--gs-line);
            border-radius: 6px;
            padding: 0.75rem 0.9rem;
            background: var(--gs-surface);
        }

        .sq-dist-head {
            font-weight: 700;
            font-size: 0.9rem;
            color: var(--gs-text);
            margin: 0 0 0.4rem 0;
        }

        .sq-dist-sub {
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: var(--gs-muted);
            margin: 0.5rem 0 0.25rem 0;
        }

        .sq-dist-list,
        .sq-positions {
            margin: 0;
            padding-left: 1.1rem;
            font-size: 0.875rem;
            line-height: 1.55;
            color: var(--gs-text);
        }

        .sq-dist-list li,
        .sq-positions li {
            margin-bottom: 0.3rem;
        }

        .sq-size-unknown,
        .sq-values {
            color: var(--gs-muted);
        }

        .sq-values,
        .sq-size,
        .sq-size-unknown {
            display: block;
            font-size: 0.8rem;
        }

        .sq-stance {
            background: var(--gs-accent-tint);
            border-radius: var(--radius-sm);
            padding: 0.75rem 0.9rem;
            font-size: 0.9rem;
            line-height: 1.55;
            color: var(--gs-text);
            margin-bottom: 1rem;
        }

        .sq-stance-label {
            font-weight: 700;
            color: var(--gs-text-2);
        }

        /* Declared interest on energy topics, directly under the reading (Nachtrag 2, 11.11.2026) */
        .sq-interest-note,
        .dossier-interest-note {
            font-size: 0.8rem;
            line-height: 1.45;
            color: var(--gs-text-2);
        }

        /* Update of a Status Quo entry (Fortschreibung, v1.0.7.6) */
        .sq-update {
            background: var(--gs-bg-warm);
            border-left: 3px solid var(--accent-cyan);
            border-radius: var(--radius-sm);
            padding: 0.7rem 0.9rem;
            margin-bottom: 1rem;
            font-size: 0.9rem;
            line-height: 1.55;
            color: var(--gs-text);
        }

        .sq-update p { margin: 0; }
        .sq-update .sq-update-sources { margin-top: 0.4rem; }
        .sq-update-link { color: var(--accent-cyan); font-weight: 600; text-decoration: underline; white-space: nowrap; }

        .sq-updated-mark {
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--accent-cyan);
            border: 1px solid currentColor;
            border-radius: 999px;
            padding: 0 0.45rem;
        }

        /* Explainer pages (v1.0.7.6) */
        .explainer-page { max-width: 760px; margin: 0 auto; padding: 1.5rem 1rem 0; line-height: 1.6; color: var(--gs-text); }
        .explainer-page h2 { font-size: 1.5rem; line-height: 1.25; margin-bottom: 0.75rem; }
        .explainer-intro { font-size: 1rem; margin-bottom: 1.25rem; }
        .explainer-point { border-top: 1px solid var(--gs-line); padding: 0.9rem 0; margin: 0; min-height: 0; }
        .explainer-point h3 { font-size: 1.05rem; margin-bottom: 0.35rem; color: var(--accent-cyan); }
        .explainer-point p { margin: 0 0 0.4rem; }
        .explainer-ref { font-size: 0.85rem; }
        .explainer-closing { border-top: 1px solid var(--gs-line); padding-top: 0.9rem; font-size: 0.9rem; color: var(--text-dim); }
        .mit-explainer-link a { color: var(--accent-cyan); font-weight: 600; text-decoration: underline; }

        .sq-interest-note {
            margin: -0.6rem 0 1rem;
        }

        .dossier-interest-note {
            margin: 0.4rem 0 0;
        }

        .sq-details {
            border-top: 1px solid var(--gs-line);
            padding-top: 0.6rem;
            margin-bottom: 0.75rem;
        }

        .sq-details summary {
            min-height: 44px;
            display: flex;
            align-items: center;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.875rem;
            color: var(--gs-accent);
            list-style: none;
            gap: 0.4rem;
        }

        .sq-details summary::-webkit-details-marker {
            display: none;
        }

        .sq-details summary::before {
            content: "▸";
            display: inline-block;
            transition: transform 0.15s;
        }

        .sq-details[open] summary::before {
            transform: rotate(90deg);
        }

        .sq-details[open] summary {
            margin-bottom: 0.5rem;
        }

        .sq-details p {
            margin-bottom: 0.9rem;
        }

        .sq-pos {
            margin-bottom: 1rem;
        }

        .sq-positions {
            list-style: none;
            padding-left: 0;
        }

        .sq-positions li {
            margin-bottom: 0.6rem;
        }

        .sq-positions li:last-child {
            margin-bottom: 0;
        }

        .sq-pos-meta {
            display: block;
            margin-top: 0.15rem;
            font-size: 0.8rem;
            color: var(--gs-muted);
        }

        .sq-pos-meta .sq-refs {
            display: flex;
            flex-wrap: wrap;
            gap: 0.3rem;
            margin-top: 0.25rem;
        }

        .sq-pos-meta .sq-refs .sq-chip {
            margin-left: 0;
        }

        /* Week switcher (v1.0.8): chips of the last six weeks, older weeks in a list; sticks under the header */
        .sq-weeks {
            position: sticky;
            top: var(--sq-weeks-top, 4.6rem);
            z-index: 50;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--gs-bg);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 0.4rem 0.5rem;
            box-shadow: var(--shadow-glass);
        }

        .sq-weeks-chips {
            display: flex;
            gap: 0.4rem;
            overflow-x: auto;
            scroll-snap-type: x proximity;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            flex: 1 1 auto;
            min-width: 0;
        }

        .sq-weeks-chips::-webkit-scrollbar { display: none; }

        .sq-week-chip {
            flex: 0 0 auto;
            scroll-snap-align: start;
            min-height: 40px;
            display: inline-flex;
            align-items: center;
            padding: 0 0.8rem;
            border: 1px solid var(--border-color);
            border-radius: 999px;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--gs-text-2);
            text-decoration: none;
            white-space: nowrap;
            background: var(--gs-bg);
        }

        .sq-week-chip:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); }

        /* Way back in the week bar (v1.0.8.2): like a chip without fill; arrow only on phones */
        .sq-weeks-back {
            flex: 0 0 auto;
            min-height: 40px;
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            padding: 0 0.75rem;
            border: 1px solid var(--accent-cyan);
            border-radius: 999px;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--accent-cyan);
            text-decoration: none;
            white-space: nowrap;
            background: transparent;
        }
        .sq-weeks-back:hover { background: var(--gs-accent-tint); }
        .sq-weeks-back:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 2px; }
        @media (max-width: 479px) {
            .sq-weeks-back { padding: 0 0.7rem; min-width: 40px; justify-content: center; }
            .sq-weeks-back-text { display: none; }
        }

        .sq-week-chip[aria-current="page"] {
            background: var(--accent-cyan);
            border-color: var(--accent-cyan);
            color: #FFFFFF;
        }

        .sq-week-chip:focus-visible, .sq-week-older-link:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 2px; }

        .sq-weeks-older { position: relative; flex: 0 0 auto; }

        .sq-weeks-older summary {
            min-height: 40px;
            display: inline-flex;
            align-items: center;
            padding: 0 0.6rem;
            cursor: pointer;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--gs-accent);
            list-style: none;
            white-space: nowrap;
        }

        .sq-weeks-older summary::-webkit-details-marker { display: none; }
        .sq-weeks-older summary::after { content: " ▾"; }

        .sq-weeks-older ul {
            position: absolute;
            right: 0;
            top: calc(100% + 0.25rem);
            min-width: 12rem;
            max-height: 18rem;
            overflow-y: auto;
            margin: 0;
            padding: 0.35rem;
            list-style: none;
            background: var(--gs-bg);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-sm);
            box-shadow: var(--shadow-glass);
        }

        .sq-week-older-link {
            display: block;
            padding: 0.45rem 0.6rem;
            border-radius: var(--radius-sm);
            color: var(--gs-text);
            text-decoration: none;
            font-size: 0.85rem;
        }

        .sq-week-older-link[aria-current="page"] { font-weight: 700; color: var(--accent-cyan); }

        /* Teaser under the headline, note for a missing review (v1.0.8.1) */
        .sq-teaser {
            margin: 0.3rem 0 0;
            font-size: 0.9rem;
            line-height: 1.45;
            color: var(--gs-text-2);
            font-weight: 400;
        }

        .sq-week-pending {
            margin: 0;
            padding: 0.5rem 0.85rem;
            border: 1px dashed var(--border-color);
            border-radius: var(--radius-sm);
            font-size: 0.85rem;
            color: var(--gs-text-2);
        }

        .tile-teaser {
            display: block;
            margin-top: 0.2rem;
            font-size: 0.85rem;
            line-height: 1.4;
            color: var(--gs-text-2);
        }

        .tile-updated { margin-left: 0.4rem; vertical-align: middle; }
        .tile-sources { display: block; margin-top: 0.2rem; font-size: 0.78rem; font-weight: 600; color: var(--gs-accent); }

        /* Details on tap (Nachtrag-2 v1.0.8.1): positions, and long reading and distribution, fold natively */
        .sq-positions { list-style: none; padding-left: 0; }
        .sq-positions > li { padding-left: 0; }
        .sq-positions > li::before { content: none; }
        .sq-fold > summary {
            list-style: none;
            cursor: pointer;
            display: grid;
            grid-template-columns: 1.1rem 1fr;
            column-gap: 0.25rem;
            row-gap: 0.15rem;
            padding: 0.45rem 0.25rem;
            border-radius: var(--radius-sm);
            min-height: 44px;
        }
        .sq-fold > summary::-webkit-details-marker { display: none; }
        .sq-fold > summary::before {
            content: "▸";
            grid-column: 1;
            grid-row: 1;
            align-self: start;
            justify-self: start;
            color: var(--accent-cyan);
        }
        /* open: swap the glyph instead of rotating it (a rotated glyph drifted into the text on phones) */
        .sq-fold[open] > summary::before { content: "▾"; }
        .sq-fold > summary > * { grid-column: 2; }
        .sq-fold > summary > :first-child { grid-row: 1; }
        .sq-fold > summary:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 2px; }
        .sq-fold-teaser {
            display: block;
            font-size: 0.88rem;
            line-height: 1.45;
            color: var(--gs-text-2);
            font-weight: 400;
        }
        .sq-fold[open] > summary .sq-fold-teaser { display: none; }
        .sq-fold-body { margin: 0.2rem 0 0.4rem 1.35rem; }
        .sq-fold > .sq-pos-meta, .sq-fold > .sq-dist-grid { margin-left: 1.35rem; }
        .sq-pos-item { border-bottom: 1px solid var(--gs-line); }
        details.sq-stance { padding: 0.35rem 0.6rem; }
        details.sq-dist { margin-bottom: 1rem; }

        /* Teaser on phones: two lines, the full teaser stays in the HTML */
        @media (max-width: 479px) {
            .sq-teaser, .tile-teaser, .sq-fold-teaser {
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }
            .sq-fold[open] > summary .sq-fold-teaser { display: none; }
        }

        /* Review of the week (v1.0.8) */
        .sq-week-review {
            /* v1.0.8.3: no section margin under the review (about 50 px of empty space); the feed gap sets the distance */
            margin: 0;
            background: var(--gs-accent-tint);
            border-radius: var(--radius-sm);
            padding: 0.85rem 1rem;
            font-size: 0.95rem;
            line-height: 1.6;
            color: var(--gs-text);
        }

        .sq-week-review p { margin: 0; }
        .sq-week-review-head { font-size: 0.85rem; color: var(--gs-text-2); margin-bottom: 0.4rem !important; }
        .sq-week-review-sources { margin-top: 0.5rem !important; }

        .sq-checkpoint {
            font-size: 0.85rem;
            color: var(--gs-text-2);
            margin: 0 0 0.75rem 0;
        }

        /* Source block (v1.0.8.3): visible at the end of the opened entry, heading with the number of sources */
        .sq-sources {
            margin: 0;
            font-size: 0.78rem;
            color: var(--text-muted);
            border-top: 1px solid var(--gs-line);
            padding-top: 0.75rem;
            scroll-margin-top: 4.5rem;
        }

        .sq-sources .sq-label { margin: 0 0 0.45rem 0; }

        .sq-source-list {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem;
            margin: 0;
            padding: 0;
        }

        .sq-source-list > li { padding-left: 0; margin: 0; }
        .sq-source-list > li::before { content: none; }

        /* Wayfinder (v1.0.8.3): number of sources under the teaser, ways on after the source block */
        /* v1.0.8.5: the eight dossiers in the page, for reading without JavaScript; with it the window shows them */
        .dossier-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
        html.js .dossier-list { display: none; }
        .dossier-dim { background: var(--gs-surface); border: 1px solid var(--gs-line); border-radius: var(--radius-sm); padding: 0.6rem 0.9rem; scroll-margin-top: 4.5rem; }
        .dossier-dim > summary { cursor: pointer; font-weight: 700; color: var(--gs-text); min-height: 32px; }
        .dossier-dim[open] > summary { margin-bottom: 0.5rem; }
        /* Without JavaScript a jump to /#dossier-<area> shows that dossier unfolded (browsers with ::details-content) */
        .dossier-dim:target::details-content { content-visibility: visible; display: block; }
        .dossier-dim:target > summary { margin-bottom: 0.5rem; }
        .dossier-bands { list-style: none; padding: 0; margin: 0 0 0.4rem 0; display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; font-size: 0.85rem; }
        .dossier-bands > li { padding-left: 0; margin: 0; }
        .dossier-bands > li::before { content: none; }
        .dossier-bands .is-selected { font-weight: 700; }
        .dossier-band-code { font-family: var(--font-mono); }
        .dossier-dim .source-links { font-size: 0.75rem; color: var(--gs-muted); line-height: 1.5; }
        .dossier-case { margin-top: 0.75rem; padding: 0.6rem 0.9rem; background: var(--gs-accent-tint); border-left: 3px solid var(--accent-cyan); border-radius: 4px; }
        .sq-src-count { grid-column: 1; margin: 0.3rem 0 0 0; font-size: 0.8rem; }
        .sq-src-count a, .sq-wayfinder a { color: var(--gs-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
        .sq-wayfinder {
            margin: 0.75rem 0 0 0;
            font-size: 0.875rem;
            line-height: 1.9;
            color: var(--gs-text-2);
        }

        /* No dead end (v1.0.8.3): "Next:" and the next page or section at the end of every surface */
        .next-line {
            margin: 1.5rem 0 0 0;
            padding-top: 0.75rem;
            border-top: 1px solid var(--gs-line);
            font-size: 0.9rem;
            line-height: 1.9;
            color: var(--gs-text-2);
        }

        .next-line a { color: var(--gs-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }

        .sq-chip {
            background: var(--gs-bg-warm);
            border: 1px solid var(--gs-line);
            padding: 0.15rem 0.5rem;
            border-radius: 4px;
            font-family: var(--font-mono);
            font-size: 0.75rem;
            color: var(--gs-accent);
            text-decoration: underline;
            white-space: nowrap;
        }

        span.sq-chip {
            color: var(--text-muted);
            text-decoration: none;
        }

        .sq-refs .sq-chip,
        .sq-size .sq-chip {
            margin-left: 0.25rem;
        }

        @media (max-width: 767px) {
            .sq-summary { padding: 0.8rem 1rem; }
            .sq-body { padding: 0.8rem 1rem 1.1rem 1rem; }

            .sq-dist-grid {
                grid-template-columns: 1fr;
            }
        }

        .warm-section {
            background: var(--gs-bg-warm);
            border-radius: var(--radius-lg);
            padding: 1.25rem;
        }

        .section-kicker {
            font-size: 0.72rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--kicker-color);
            margin: 0.5rem 0 0.2rem 0;
        }

        .export-btn {
            color: var(--accent-emerald);
        }

        .export-btn:hover {
            background: var(--accent-emerald);
            color: var(--gs-on-accent);
        }

        .subtitle {
            color: var(--text-muted);
            margin-top: 0.75rem;
            font-size: 1.05rem;
            max-width: 900px;
        }

        .intro-block {
            margin-top: 0.75rem;
            max-width: 900px;
        }

        /* NEW ENTRY (v1.0.6): key figures of the domain's country, one sentence, three tiles, stance line */
        .kf-block {
            background: var(--gs-surface);
            border: 1px solid var(--gs-line);
            border-left: 4px solid var(--gs-accent);
            border-radius: var(--radius-md);
            padding: 0.85rem 1rem;
            margin: 0 0 0.85rem 0;
        }
        .kf-block p { margin: 0; }
        .entry-tile-slot { display: contents; }
        .kf-head { margin: 0 0 0.35rem 0 !important; line-height: 1.35; }
        .kf-heading {
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--gs-accent);
        }
        .kf-subline { display: block; font-size: 0.8rem; color: var(--gs-muted); }
        .kf-badge {
            display: inline-block;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.05em;
            color: var(--gs-accent);
            background: var(--gs-accent-tint);
            border-radius: 4px;
            padding: 0.1rem 0.4rem;
            margin-bottom: 0.35rem !important;
        }
        .kf-big {
            font-family: var(--font-heading);
            font-weight: 800;
            font-size: 2.4rem;
            line-height: 1;
            color: var(--gs-accent);
            font-variant-numeric: tabular-nums;
        }
        .kf-sub {
            font-size: 0.95rem;
            line-height: 1.45;
            color: var(--gs-text-2);
            margin-top: 0.3rem !important;
        }
        .kf-src, .kf-s {
            font-size: 0.75rem;
            color: var(--gs-muted);
            margin-top: 0.35rem !important;
        }
        .kf-flag {
            font-family: var(--font-body);
            font-size: 0.7rem;
            font-weight: 600;
            color: var(--gs-muted);
            margin-left: 0.3rem;
            vertical-align: middle;
        }
        .kf-chip {
            font-family: var(--font-mono);
            font-size: 0.72rem;
            color: var(--gs-accent);
            text-decoration: underline;
            text-decoration-style: dotted;
            text-underline-offset: 2px;
            white-space: nowrap;
        }
        .kf-chip:hover, .kf-chip:focus-visible { text-decoration-style: solid; }
        .kf-more {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.6rem 0.9rem;
            margin-top: 0.7rem;
            padding-top: 0.7rem;
            border-top: 1px solid var(--gs-line);
        }
        .kf-n {
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: 1.25rem;
            line-height: 1.1;
            color: var(--gs-text);
            font-variant-numeric: tabular-nums;
        }
        .kf-t {
            font-size: 0.8rem;
            line-height: 1.35;
            color: var(--gs-text-2);
            margin-top: 0.2rem !important;
        }
        .intro-line {
            font-family: var(--font-heading);
            font-size: 1.2rem;
            line-height: 1.3;
            color: var(--gs-text);
            margin: 0 0 0.75rem 0;
            text-wrap: balance;
        }
        .entry-tiles {
            display: grid;
            grid-template-columns: 1fr;
            gap: 0.5rem;
            margin: 0 0 0.75rem 0;
        }
        .entry-tile {
            display: flex;
            align-items: center;
            gap: 0.7rem;
            min-height: 44px;
            padding: 0.65rem 0.8rem;
            background: var(--gs-surface);
            border: 1px solid var(--gs-line);
            border-radius: var(--radius-md);
            color: var(--gs-text);
            font-weight: 600;
            font-size: 0.93rem;
            line-height: 1.35;
            text-decoration: none;
            transition: var(--transition-fast);
        }
        .entry-tile:hover, .entry-tile:focus-visible { border-color: var(--gs-accent); background: var(--gs-accent-tint); }
        .entry-tile-icon {
            flex: 0 0 auto;
            width: 2rem;
            height: 2rem;
            border-radius: 50%;
            background: var(--gs-accent-tint);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
        }
        .entry-tile-body { flex: 1 1 auto; min-width: 0; }
        .entry-tile-arrow { flex: 0 0 auto; color: var(--gs-accent); font-weight: 700; font-size: 1.2rem; }
        .tile-kicker {
            display: block;
            font-size: 0.72rem;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            color: var(--gs-accent);
            font-weight: 700;
        }
        .tile-text { display: block; }
        .intro-stance-line {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 0.25rem 0.75rem;
            font-size: 0.9rem;
            color: var(--gs-text-2);
            margin: 0;
        }
        /* Phone: everything down to the stance line on the first screen */
        @media (max-width: 899px) {
            .kf-subline { display: inline; font-size: 0.74rem; }
            .kf-subline::before { content: "· "; color: var(--gs-muted); }
            .kf-head { line-height: 1.25; margin-bottom: 0.2rem !important; }
            .kf-heading { font-size: 0.68rem; letter-spacing: 0.06em; }
            .intro-stance-line { font-size: 0.85rem; gap: 0 0.5rem; }
            .hero-section .intro-block { margin-top: 0.5rem; }
            .kf-block { padding: 0.7rem 0.85rem; margin-bottom: 0.7rem; }
            .kf-big { font-size: 2.05rem; }
            .kf-sub { font-size: 0.9rem; line-height: 1.4; }
            .kf-more { margin-top: 0.55rem; padding-top: 0.55rem; gap: 0.5rem 0.8rem; }
            .kf-n { font-size: 1.15rem; }
            .kf-t { font-size: 0.78rem; }
            .kf-src, .kf-s { margin-top: 0.25rem !important; }
            .intro-line { font-size: 1rem; margin-bottom: 0.5rem; }
            .entry-tiles { gap: 0.4rem; margin-bottom: 0.5rem; }
            .entry-tile { padding: 0.5rem 0.7rem; font-size: 0.9rem; }
            .entry-tile-icon { width: 1.8rem; height: 1.8rem; font-size: 0.9rem; }
            .tile-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        }
        @media (min-width: 900px) {
            .entry-tiles { grid-template-columns: repeat(3, 1fr); }
            .entry-tile { align-items: flex-start; }
            .intro-stance-line { justify-content: flex-start; }
        }
        /* Modal "What we stand for": the former intro paragraphs come first */
        .not-intro { color: var(--gs-text-2); margin: 0 0 0.75rem 0; }
        /* Octagram explanation, folded below the chart */
        .radar-explain { margin: 0.25rem 0 0.75rem 0; font-size: 0.9rem; color: var(--text-muted); width: 100%; }
        .radar-explain summary { color: var(--gs-accent); font-weight: 600; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
        .radar-explain p { margin: 0.25rem 0 0 0; }
        /* Housing dossier: who owns the homes (national, official) */
        .housing-owners { margin-bottom: 1.25rem; }
        .housing-owners h4 { color: var(--accent-cyan); font-size: 1rem; margin: 0 0 0.35rem 0; }
        .housing-owners-note { font-size: 0.82rem; color: var(--gs-muted); margin: 0 0 0.75rem 0; }
        .ho-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.6rem; }
        .ho-row { background: var(--gs-surface); border: 1px solid var(--gs-line); border-radius: var(--radius-md); padding: 0.65rem 0.8rem; }
        .ho-row p { margin: 0; }
        .ho-country { font-weight: 700; color: var(--gs-text); margin-bottom: 0.3rem !important; }
        .ho-list { margin: 0 0 0.35rem 0; padding-left: 1.1rem; font-size: 0.88rem; color: var(--gs-text-2); }
        .ho-pending { font-size: 0.8rem; color: var(--gs-muted); }
        .ho-list li { margin-bottom: 0.3rem; }
        .ho-list li.ho-sub { margin-left: 1.1rem; }
        .ho-src { display: block; font-size: 0.75rem; color: var(--gs-muted); margin-top: 0.1rem; }
        /* Praxis: legal ways of taking part per country (#mitgestalten) */
        .mitgestalten { margin: 0 0 1.75rem 0; }
        .mitgestalten-intro { color: var(--text-muted); font-size: 0.92rem; margin: 0 0 0.85rem 0; }
        .mit-country { margin-bottom: 1rem; }
        .mit-country p { margin: 0; }
        .mit-country-name { font-weight: 700; color: var(--gs-text); margin-bottom: 0.45rem !important; }
        .mit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.6rem; }
        .mit-card { background: var(--gs-surface); border: 1px solid var(--gs-line); border-radius: var(--radius-md); padding: 0.75rem 0.85rem; display: flex; flex-direction: column; gap: 0.35rem; }
        .mit-title { font-weight: 700; color: var(--gs-text); display: flex; align-items: center; gap: 0.5rem; }
        .mit-icon { flex: 0 0 auto; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--gs-accent-tint); display: inline-flex; align-items: center; justify-content: center; font-size: 0.95rem; }
        .mit-text { font-size: 0.88rem; line-height: 1.5; color: var(--gs-text-2); }
        .mit-src { margin-top: auto !important; display: flex; flex-wrap: wrap; gap: 0.25rem 0.6rem; }

        .intro-btn {
            display: inline-flex;
            align-items: center;
            min-height: 44px;
            padding: 0 0.25rem;
            background: transparent;
            border: none;
            color: var(--gs-accent);
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            white-space: nowrap;
        }

        .intro-btn:hover,
        .intro-btn:focus-visible {
            text-decoration: underline;
        }

        .own-position-label {
            display: block;
            font-size: 0.8rem;
            font-style: italic;
            color: var(--gs-text-2);
            background: var(--gs-accent-tint);
            border-radius: var(--radius-sm);
            padding: 0.3rem 0.6rem;
            margin: 0.6rem 0 0.35rem 0;
        }

        .own-position-block {
            display: inline-block;
            margin: 0 0 0.75rem 0;
        }

        .card-lit {
            color: var(--gs-muted);
            font-size: 0.75rem;
            line-height: 1.45;
            margin: 0.6rem 0 0 0;
        }

        .history-table td.matrix-assessment {
            background: var(--gs-accent-tint);
            color: var(--gs-text-2);
            font-style: italic;
        }

        .matrix-assessment-label {
            display: block;
            font-style: normal;
            font-weight: 600;
            font-size: 0.75rem;
        }

        .not-list {
            margin: 0;
            padding-left: 1.1rem;
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
        }

        /* Purchasing-power ring (v1.0.7) */
        .aff-ring .aff-arc { stroke: var(--gs-surface); stroke-width: 1.5; cursor: pointer; transition: opacity 0.15s; }
        .aff-ring .aff-arc:hover, .aff-ring .aff-arc:focus-visible, .aff-ring .aff-arc.is-selected { stroke: var(--gs-text); stroke-width: 2; outline: none; }
        .aff-tone-neutral { fill: var(--aff-neutral); }
        .aff-tone-worse-1 { fill: var(--aff-worse-1); }
        .aff-tone-worse-2 { fill: var(--aff-worse-2); }
        .aff-tone-better-1 { fill: var(--aff-better-1); }
        .aff-tone-better-2 { fill: var(--aff-better-2); }
        .aff-ring .aff-tone-none { fill: var(--aff-none); stroke: var(--gs-data); stroke-width: 1; }
        .aff-ring .aff-tone-missing { fill: none; stroke: var(--gs-data); stroke-width: 1.2; stroke-dasharray: 4 3; }
        .aff-arrow { font-size: 15px; font-weight: 700; fill: var(--gs-text); pointer-events: none; }
        .aff-block { width: 100%; max-width: 760px; font-size: 0.85rem; color: var(--text-muted); margin: 0.25rem 0 0.5rem 0; }
        .aff-title { font-weight: 600; color: var(--gs-text); margin: 0 0 0.2rem 0; text-align: center; }
        .aff-legend { font-size: 0.78rem; margin: 0 0 0.5rem 0; text-align: center; line-height: 1.45; }
        .aff-detail { background: var(--gs-surface); border: 1px solid var(--gs-line); border-radius: var(--radius-lg); padding: 0.6rem 0.85rem; margin: 0 0 0.5rem 0; }
        .aff-detail p { margin: 0; line-height: 1.5; }
        .aff-detail a, .aff-table a { color: var(--gs-accent); }
        .aff-table-wrap summary { cursor: pointer; font-weight: 600; color: var(--gs-accent); }
        .aff-table-scroll { overflow-x: auto; margin-top: 0.4rem; }
        .aff-table { border-collapse: collapse; font-size: 0.78rem; width: 100%; min-width: 640px; }
        .aff-table th, .aff-table td { border-bottom: 1px solid var(--gs-line); padding: 0.35rem 0.4rem; text-align: left; vertical-align: top; }
        .aff-table thead th { color: var(--gs-text); }
        .aff-flag { font-size: 0.7em; margin-left: 0.1em; }
        .aff-table-note { font-size: 0.75rem; margin: 0.35rem 0 0 0; }

        .real-income {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin: 0 0 0.75rem 0;
            background: var(--gs-surface);
            border: 1px solid var(--gs-line);
            border-radius: var(--radius-lg);
            padding: 0.85rem 1rem;
        }

        .real-income [hidden] {
            display: none !important;
        }

        .real-income-line {
            margin: 0;
        }

        .real-income-reading-label {
            font-weight: 600;
        }

        .real-income-reading {
            margin: 0.6rem 0 0 0;
            padding: 0.45rem 0.65rem;
            font-size: 0.78rem;
            font-style: italic;
            color: var(--gs-text-2);
            background: var(--gs-accent-tint);
            border-radius: var(--radius-sm);
        }

        .real-income-key {
            color: var(--gs-accent);
            font-weight: 700;
        }

        .real-income a {
            color: var(--accent-cyan);
        }

        .real-income-bars {
            display: grid;
            gap: 0.35rem;
            max-width: 560px;
        }

        .real-income-bars-title {
            margin: 0 0 0.15rem 0;
        }

        .real-income-row {
            display: grid;
            grid-template-columns: minmax(3.5rem, auto) 1fr 4rem;
            align-items: center;
            gap: 0.5rem;
        }

        .real-income-label {
            font-family: var(--font-mono);
            color: var(--text-main);
            font-size: 0.8rem;
        }

        .real-income-note {
            color: var(--text-muted);
            font-family: var(--font-body);
            font-size: 0.72rem;
        }

        .real-income-track {
            position: relative;
            height: 10px;
            background: var(--gs-bg-warm);
            border-radius: 3px;
        }

        .real-income-bar {
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            background: var(--gs-data);
            border-radius: 3px;
        }

        .real-income-row.is-selected .real-income-bar {
            background: var(--gs-accent);
        }

        .real-income-row.is-eu .real-income-bar {
            background: var(--gs-data);
        }

        .real-income-ref {
            position: absolute;
            top: -3px;
            bottom: -3px;
            width: 1px;
            background: var(--gs-text-2);
        }

        .real-income-value {
            text-align: right;
            white-space: nowrap;
            font-family: var(--font-mono);
            color: var(--text-main);
            font-size: 0.8rem;
        }

        .meta-bar {
            display: flex;
            gap: 0.8rem;
            margin-top: 1.25rem;
            font-size: 0.85rem;
            flex-wrap: wrap;
            align-items: center;
        }

        .meta-tag {
            background: var(--gs-accent-tint);
            padding: 0.3rem 0.75rem;
            border-radius: var(--radius-sm);
            border: 1px solid var(--border-color);
            color: var(--accent-cyan);
            font-family: var(--font-mono);
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
        }

        .live-dot {
            width: 8px;
            height: 8px;
            background: var(--accent-emerald);
            border-radius: 50%;
            display: inline-block;
            box-shadow: none;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { opacity: 0.6; transform: scale(0.95); }
            50% { opacity: 1; transform: scale(1.1); }
            100% { opacity: 0.6; transform: scale(0.95); }
        }

        /* HERO ORIENTATION & SUMMARY BANNER */

        .hero-summary-box {
            background: var(--gs-surface);
            border-left: 3px solid var(--accent-cyan);
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
            padding: 0.5rem 0.85rem;
            margin-top: 0.5rem;
            font-size: 0.85rem;
            line-height: 1.35;
            color: var(--text-main);
            box-shadow: var(--shadow-glass);
        }

        .hero-summary-title {
            font-weight: 700;
            color: var(--accent-cyan);
            font-size: 0.825rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 0.25rem;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        /* CONCEPT TOOLTIPS */
        .concept-tooltip {
            position: relative;
            cursor: pointer;
            border-bottom: 1px dotted var(--accent-cyan);
            color: var(--accent-cyan);
            font-weight: 600;
            display: inline;
            outline: none;
        }

        .concept-tooltip:focus-visible {
            outline: 2px solid var(--accent-cyan);
            outline-offset: 2px;
            border-radius: 2px;
        }

        .concept-tooltip .tooltip-box {
            visibility: hidden;
            opacity: 0;
            width: 280px;
            background: var(--gs-surface);
            color: var(--text-main);
            text-align: left;
            border-radius: var(--radius-md);
            padding: 0.85rem 1rem;
            border: 1px solid var(--accent-cyan);
            box-shadow: var(--gs-shadow);
            position: absolute;
            z-index: 200;
            bottom: 125%;
            left: 50%;
            transform: translateX(-50%);
            transition: opacity 0.25s ease, visibility 0.25s ease;
            font-size: 0.825rem;
            font-weight: 400;
            line-height: 1.4;
            pointer-events: none;
        }

        .concept-tooltip .tooltip-box::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -6px;
            border-width: 6px;
            border-style: solid;
            border-color: var(--accent-cyan) transparent transparent transparent;
        }

        .concept-tooltip:hover .tooltip-box,
        .concept-tooltip:focus .tooltip-box,
        .concept-tooltip:focus-within .tooltip-box,
        .concept-tooltip.active .tooltip-box {
            visibility: visible;
            opacity: 1;
        }

        /* 8-DIMENSIONEN OKTAGRAMM RADAR CHART */
        #radar-chart-container {
            width: 100%;
            max-width: 580px;
            height: auto;
            aspect-ratio: 1 / 1;
            position: relative;
            margin: 0 auto;
        }

        .radar-dim-chips, #radar-dim-chips {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
            gap: 0.6rem;
            width: 100%;
            margin-top: 1.25rem;
        }

        .radar-dim-chip, .radar-touch-pill {
            text-decoration: none;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            gap: 0.5rem;
            padding: 0.55rem 0.85rem;
            min-height: 46px;
            background: var(--gs-surface);
            border: 1px solid var(--gs-line);
            border-radius: var(--radius-sm);
            color: var(--text-main);
            font-size: 0.8rem;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition-fast);
            text-align: left;
            width: 100%;
            box-sizing: border-box;
        }

        .radar-chip-label {
            flex: 1 1 auto;
            min-width: 0;
            line-height: 1.3;
            overflow-wrap: break-word;
            word-break: normal;
            hyphens: auto;
            -webkit-hyphens: auto;
        }

        .radar-chip-score,
        .radar-chip-band-row {
            hyphens: auto;
            -webkit-hyphens: auto;
        }

        .radar-chip-body {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 0.35rem;
            min-width: 0;
            flex: 1 1 auto;
        }

        .radar-chip-score {
            display: inline-block;
            font-family: var(--font-body);
            font-weight: 600;
            font-size: 0.75rem;
            color: var(--gs-accent);
            background: var(--gs-accent-tint);
            border-radius: 999px;
            padding: 0.1rem 0.55rem;
            text-align: left;
        }

        .radar-chip-arrow {
            flex: 0 0 auto;
            color: var(--gs-accent);
            font-size: 1.35rem;
            line-height: 1;
        }

        .flag-icon {
            display: inline-block;
            width: auto;
            height: 14px;
            border-radius: 2px;
            vertical-align: -2px;
            margin-right: 0.4em;
            box-shadow: none;
        }

        .radar-chip-icon {
            margin-right: 0.15rem;
        }

        .radar-chip-bands {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
            flex: 0 0 auto;
            text-align: left;
        }

        .radar-chip-band-row {
            white-space: normal;
        }


        /* Radar axis icons (narrow screens): 44 px tap target, visible keyboard focus */
        .radar-icon-hit {
            fill: transparent;
            stroke: transparent;
            stroke-width: 2;
        }

        .radar-axis-icon:hover .radar-icon-hit,
        .radar-axis-icon:focus-visible .radar-icon-hit {
            fill: var(--gs-accent-tint);
            stroke: var(--accent-cyan);
        }

        .radar-axis-icon:focus,
        .radar-axis-label-group:focus {
            outline: none;
        }

        .radar-axis-label-group:focus-visible text {
            text-decoration: underline;
        }

        /* Legend tiles below the radar: two columns on phones, no horizontal scrolling */
        @media (max-width: 639px) {
            .radar-dim-chips, #radar-dim-chips {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 0.5rem;
            }

            .radar-dim-chip, .radar-touch-pill {
                padding: 0.6rem 0.7rem;
                font-size: 0.875rem;
            }

            .radar-chip-label {
                font-size: 0.875rem;
                font-weight: 600;
            }

            .radar-chip-label {
                overflow-wrap: anywhere;
                hyphens: auto;
            }

            .radar-chip-score {
                overflow-wrap: normal;
                hyphens: auto;
            }

            .radar-chip-score {
                font-size: 0.68rem;
                padding: 0.1rem 0.4rem;
                max-width: 100%;
            }

            .radar-chip-arrow {
                font-size: 1.15rem;
            }

            .radar-dim-chip, .radar-touch-pill {
                gap: 0.3rem;
            }

            .radar-chip-band-row {
                white-space: normal;
            }
        }

        .radar-dim-chip:hover, .radar-dim-chip:focus-visible, .radar-dim-chip:active,
        .radar-touch-pill:hover, .radar-touch-pill:focus-visible, .radar-touch-pill:active {
            border-color: var(--gs-accent);
            color: var(--gs-text);
            outline: none;
        }

        /* 8-DIMENSIONEN DOSSIER MODAL 3-LEVEL STRUCTURE */
        .modal-level-block {
            margin-bottom: 1.25rem;
        }

        .modal-level-title {
            font-size: 0.95rem;
            margin-bottom: 0.4rem;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            font-weight: 700;
        }

        .modal-level-fisher-h {
            color: var(--gs-accent);
        }

        .modal-level-barrier-h {
            color: var(--gs-accent);
        }

        .modal-level-lever-h {
            color: var(--gs-accent);
        }

        .modal-box-fisher {
            padding: 0.9rem 1.15rem;
            background: var(--gs-bg-warm);
            border-left: 3px solid var(--gs-accent);
            border-radius: 4px;
            font-style: italic;
            color: var(--gs-text);
            line-height: 1.6;
        }

        .modal-box-barrier {
            padding: 0.9rem 1.15rem;
            background: var(--gs-bg-warm);
            border-left: 3px solid var(--gs-accent);
            border-radius: 4px;
            color: var(--gs-text);
            line-height: 1.6;
        }

        .modal-box-lever {
            padding: 0.9rem 1.15rem;
            background: var(--gs-bg-warm);
            border-left: 3px solid var(--gs-accent);
            border-radius: 4px;
            color: var(--gs-text);
            line-height: 1.6;
        }

        .radar-dot {
            cursor: pointer;
            transition: r 0.2s ease, fill 0.2s ease, filter 0.2s ease;
        }

        .radar-dot:hover, .radar-dot:focus-visible {
            r: 9;
            filter: drop-shadow(0 0 6px var(--accent-cyan));
            outline: none;
        }

        .radar-axis-label-group text {
            font-family: var(--font-sans);
            font-size: 13px;
            font-weight: 600;
            fill: var(--text-muted);
            transition: fill 0.2s ease;
            user-select: none;
        }

        .radar-axis-label-group:hover text, .radar-axis-label-group:focus-visible text {
            fill: var(--accent-cyan);
            outline: none;
        }

        /* SEARCH & FILTER BAR */
        .interactive-bar {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 1.25rem;
            margin-bottom: 1.5rem;
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
        }

        .search-box {
            flex: 1;
            min-width: 280px;
            position: relative;
        }

        .search-box input {
            width: 100%;
            padding: 0.75rem 1rem 0.75rem 2.5rem;
            background: var(--gs-surface);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            color: var(--gs-text);
            font-family: var(--font-body);
            font-size: 0.95rem;
            transition: var(--transition-fast);
        }

        .search-box input:focus {
            outline: none;
            border-color: var(--accent-cyan);
            box-shadow: none;
        }

        .search-icon {
            position: absolute;
            left: 0.9rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-dim);
        }

        .filter-pills {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .filter-pill {
            background: var(--gs-surface);
            border: 1px solid var(--gs-line);
            color: var(--gs-text-2);
            padding: 0.45rem 0.9rem;
            border-radius: 20px;
            font-size: 0.825rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition-fast);
        }

        .filter-pill:hover {
            border-color: var(--gs-accent);
            color: var(--gs-accent);
        }

        .filter-pill.active {
            background: var(--gs-accent);
            color: var(--gs-on-accent);
            border-color: var(--gs-accent);
            box-shadow: none;
        }

        /* INDEPENDENTLY COLLAPSIBLE WIDGET CARDS */
        .widgets-wrapper {
            margin-bottom: 2rem;
        }

        .widget-section {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
            gap: 1.25rem;
            align-items: start;
        }

        .widget-card {
            background: var(--bg-card);
            backdrop-filter: blur(12px);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 1.25rem 1.5rem;
            box-shadow: var(--shadow-glass);
            position: relative;
            overflow: hidden;
            transition: var(--transition-fast);
        }

        .widget-card:hover {
            border-color: var(--border-glow);
        }

        .widget-card::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--gs-accent);
        }

        .widget-card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 1rem;
            cursor: pointer;
            user-select: none;
        }

        .widget-header-text {
            flex: 1;
        }

        .widget-card-header h3 {
            font-family: var(--font-heading);
            font-size: 1.15rem;
            color: var(--gs-text);
            margin-bottom: 0.25rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: var(--transition-fast);
        }

        .widget-card-header:hover h3 {
            color: var(--accent-cyan);
        }

        .widget-desc {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-bottom: 0;
            line-height: 1.35;
        }

        .widget-toggle-arrow-btn {
            background: var(--gs-bg-warm);
            border: 1px solid var(--border-color);
            color: var(--accent-cyan);
            padding: 0.35rem 0.75rem;
            border-radius: var(--radius-sm);
            font-size: 0.8rem;
            font-weight: 600;
            font-family: var(--font-mono);
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            white-space: nowrap;
            transition: var(--transition-fast);
            flex-shrink: 0;
        }

        .widget-card-header:hover .widget-toggle-arrow-btn {
            background: var(--accent-cyan);
            color: var(--gs-on-accent);
            border-color: var(--accent-cyan);
        }

        .widget-card-body {
            margin-top: 1.15rem;
            padding-top: 1.15rem;
            border-top: 1px solid var(--gs-line);
            transition: all 0.3s ease-in-out;
        }

        .widget-card.collapsed .widget-card-body {
            display: none !important;
        }

        /* POLIS VOTING DEMO */
        .polis-option {
            background: var(--gs-surface);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 1rem;
            margin-bottom: 1rem;
        }

        .polis-prompt {
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--gs-text);
            margin-bottom: 0.75rem;
        }

        .vote-btns {
            display: flex;
            gap: 0.5rem;
        }

        .vote-btn {
            flex: 1;
            padding: 0.45rem;
            border-radius: var(--radius-sm);
            border: 1px solid var(--gs-line);
            background: var(--gs-surface);
            color: var(--gs-text);
            font-weight: 600;
            font-size: 0.8rem;
            cursor: pointer;
            transition: var(--transition-fast);
        }

        /* Agree, disagree and pass look alike; only the choice made is petrol */
        .vote-btn:hover {
            border-color: var(--gs-accent);
        }

        .vote-btn.active,
        .vote-btn.selected {
            background: var(--gs-accent);
            color: var(--gs-on-accent);
            border-color: var(--gs-accent);
        }

        .consensus-bar-wrapper {
            margin-top: 0.75rem;
        }

        .consensus-label {
            display: flex;
            justify-content: space-between;
            font-size: 0.75rem;
            color: var(--text-muted);
            margin-bottom: 0.25rem;
            font-family: var(--font-mono);
        }

        .consensus-bar {
            height: 6px;
            background: var(--gs-bg-warm);
            border-radius: 3px;
            overflow: hidden;
            display: flex;
        }

        .consensus-fill-agree {
            background: var(--accent-emerald);
            height: 100%;
            transition: width 0.4s ease;
        }

        .consensus-fill-disagree {
            background: var(--gs-data);
            height: 100%;
            transition: width 0.4s ease;
        }

        /* COMPUTE COMMONS CALCULATOR */
        .calc-control {
            margin-bottom: 1rem;
        }

        .calc-control label {
            display: flex;
            justify-content: space-between;
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-bottom: 0.4rem;
        }

        .calc-control input[type="range"] {
            width: 100%;
            accent-color: var(--accent-cyan);
            background: var(--gs-surface);
            border-radius: 4px;
            cursor: pointer;
        }

        .calc-results {
            background: var(--gs-surface);
            border: 1px dashed var(--accent-cyan);
            border-radius: var(--radius-md);
            padding: 1rem;
            margin-top: 1rem;
        }

        .result-stat {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.5rem;
        }

        .result-stat:last-child {
            margin-bottom: 0;
        }

        .result-title {
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        .result-val {
            font-family: var(--font-mono);
            font-weight: 700;
            color: var(--accent-cyan);
            font-size: 1.05rem;
        }

        /* SECTIONS & CARDS */
        section {
            margin-bottom: 3rem;
        }

        h2 {
            font-family: var(--font-heading);
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--gs-text);
            margin-bottom: 1.25rem;
            border-left: 4px solid var(--accent-cyan);
            padding-left: 0.85rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        @media (max-width: 639px) {
            h2:has(> .view-toggle) {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.6rem;
            }
        }

        .view-toggle {
            display: flex;
            gap: 0.3rem;
            background: var(--gs-surface);
            padding: 0.25rem;
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
        }

        .view-toggle-btn {
            background: transparent;
            border: none;
            color: var(--text-muted);
            padding: 0.3rem 0.65rem;
            border-radius: var(--radius-sm);
            cursor: pointer;
            font-size: 0.775rem;
            font-weight: 600;
            font-family: var(--font-mono);
            transition: var(--transition-fast);
        }

        .view-toggle-btn.active {
            background: var(--gs-accent);
            color: var(--gs-on-accent);
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 1.25rem;
        }

        .grid-4 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.25rem;
        }

        .card {
            background: var(--bg-card);
            backdrop-filter: blur(12px);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            transition: var(--transition-fast);
            position: relative;
        }

        .card:hover {
            background: var(--bg-card-hover);
            border-color: var(--border-glow);
            transform: translateY(-2px);
            box-shadow: var(--gs-shadow);
        }

        .card h3 {
            font-family: var(--font-heading);
            font-size: 1.15rem;
            margin-bottom: 0.6rem;
            color: var(--gs-text);
        }

        .card p {
            font-size: 0.925rem;
            color: var(--text-muted);
            margin-bottom: 0.85rem;
        }

        .badge {
            display: inline-block;
            font-family: var(--font-mono);
            font-size: 0.725rem;
            font-weight: 600;
            padding: 0.25rem 0.65rem;
            border-radius: var(--radius-sm);
            background: var(--gs-bg-warm);
            color: var(--gs-text-2);
            border: 1px solid var(--gs-line);
            margin-bottom: 0.75rem;
        }

        .badge-ai {
            background: var(--gs-bg-warm);
            color: var(--accent-indigo);
            border-color: var(--gs-line);
        }

        .badge-prop {
            background: var(--gs-bg-warm);
            color: var(--accent-pink);
            border-color: var(--gs-line);
        }

        .badge-ref {
            background: var(--gs-bg-warm);
            color: var(--accent-emerald);
            border-color: var(--gs-line);
        }

        ul {
            list-style: none;
        }

        ul li {
            position: relative;
            padding-left: 1.2rem;
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
            color: var(--text-muted);
        }

        ul li::before {
            content: "▹";
            position: absolute;
            left: 0;
            color: var(--accent-cyan);
            font-weight: bold;
        }

        .ref-link {
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
            margin-top: 0.75rem;
            color: var(--accent-cyan);
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 600;
            transition: var(--transition-fast);
        }

        .ref-link:hover {
            color: var(--gs-text);
            transform: translateX(3px);
        }

        /* HISTORICAL COMPARISON MATRIX TABLE */
        .matrix-table-container {
            width: 100%;
            overflow-x: auto;
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
            background: var(--gs-surface);
        }

        .history-table {
            width: 100%;
            border-collapse: collapse;
            text-align: left;
            font-size: 0.875rem;
        }

        .history-table th {
            background: var(--gs-bg-warm);
            color: var(--accent-cyan);
            font-family: var(--font-heading);
            padding: 0.85rem 1rem;
            border-bottom: 1px solid var(--border-color);
            font-weight: 700;
        }

        .history-table td {
            padding: 0.85rem 1rem;
            border-bottom: 1px solid var(--gs-line);
            color: var(--text-muted);
            vertical-align: top;
        }

        .history-table tr:last-child td {
            border-bottom: none;
        }

        .history-table tr:hover td {
            background: var(--gs-accent-tint);
            color: var(--text-main);
        }

        .changelog-entry {
            border-left: 2px solid var(--border-color);
            padding-left: 1.25rem;
            margin-bottom: 1.5rem;
            position: relative;
        }

        .changelog-entry::before {
            content: "";
            position: absolute;
            left: -6px;
            top: 6px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--accent-cyan);
            box-shadow: none;
        }

        .changelog-entry h4 {
            color: var(--gs-text);
            font-size: 1rem;
            margin-bottom: 0.3rem;
            display: flex;
            gap: 0.5rem;
            align-items: center;
        }

        .changelog-prev {
            font-size: 0.8rem;
            line-height: 1.5;
            color: var(--gs-muted);
            margin: 0;
        }

        .date {
            font-size: 0.8rem;
            color: var(--text-dim);
            font-family: var(--font-mono);
            font-weight: normal;
        }

        .site-footer {
            /* full width: break out of the container and the body padding */
            margin: 3rem calc(50% - 50vw) -2rem calc(50% - 50vw);
            padding: 1.5rem 0.75rem 1.25rem 0.75rem;
            gap: 0.6rem;
            background: var(--footer-bg);
            border-radius: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            font-size: 0.8125rem;
            line-height: 1.5;
            color: var(--footer-text);
        }

        .ft-line {
            margin: 0;
        }

        .ft-links,
        .ft-labs {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
        }

        .ft-links,
        .ft-labs {
            font-size: 0.875rem;
        }

        /* 44 px tap height from the link's own padding; negative margins keep the rows tight */
        .ft-links .ft-link,
        .ft-labs .ft-link {
            min-height: 44px;
            padding: 0;
            margin: -12px 0;
        }

        .ft-labs {
            padding-top: 0.6rem;
            border-top: 1px solid var(--footer-rule);
        }

        .ft-labs strong {
            color: var(--footer-strong);
        }

        .ft-link {
            display: inline-flex;
            align-items: center;
            min-height: 44px;
            padding: 0 0.15rem;
            background: none;
            border: none;
            color: var(--footer-link);
            font: inherit;
            text-decoration: none;
            cursor: pointer;
        }

        .ft-link:hover,
        .ft-link:focus-visible {
            text-decoration: underline;
        }

        /* separator belongs to the preceding entry, so no line starts with "·" */
        .ft-links > *:not(:last-child)::after,
        .ft-labs > *:not(:last-child)::after {
            content: "·";
            display: inline-block;
            padding: 0 0.25rem;
            color: var(--footer-text);
            font-weight: 400;
        }

        .ft-links > *,
        .ft-labs > * {
            white-space: nowrap;
        }

        .ft-small {
            font-size: 0.75rem;
        }

        /* links set the 44 px tap height; the rows themselves add no extra space */
        .ft-links,
        .ft-labs {
            line-height: 1.2;
        }

        .footer-github {
            color: var(--accent-cyan);
            text-decoration: none;
            font-family: var(--font-mono);
            font-size: 0.8rem;
        }

        .footer-github:hover {
            text-decoration: underline;
        }

        /* HIDDEN FOR FILTERING & TOGGLES */
        .card.hidden, .matrix-table-container.hidden, .grid.hidden {
            display: none !important;
        }

        /* SUB-PAGE SPA ROUTING */
        .subpage {
            display: block;
            animation: fadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .subpage.hidden {
            display: none !important;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(6px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* HEADER SUB-PAGE NAVIGATION */
        .nav-routes {
            display: flex;
            gap: 0.4rem;
            align-items: center;
        }

        .nav-route-btn {
            display: inline-flex;
            align-items: center;
            padding: 0.35rem 0.75rem;
            border-radius: var(--radius-sm);
            font-size: 0.825rem;
            font-weight: 600;
            text-decoration: none;
            color: var(--gs-text-2);
            background: transparent;
            border: 1px solid transparent;
            transition: var(--transition-fast);
            cursor: pointer;
            user-select: none;
        }

        .not-found-section {
            padding: 2.5rem 0 3rem;
        }

        .not-found-section p {
            color: var(--gs-text-2);
            margin: 0.5rem 0 1.25rem;
        }

        .not-found-link {
            border-color: var(--gs-accent);
            color: var(--gs-accent);
            min-height: 44px;
            padding: 0.55rem 1.25rem;
        }

        .ms-intro {
            font-size: 0.875rem;
            color: var(--gs-text-2);
            line-height: 1.55;
            margin: 0 0 0.75rem;
        }

        .ms-mode {
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--gs-text);
            margin: 0.9rem 0 0.4rem;
        }

        .ms-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.82rem;
            line-height: 1.45;
        }

        .ms-table th,
        .ms-table td {
            text-align: left;
            vertical-align: top;
            padding: 0.45rem 0.5rem;
            border-bottom: 1px solid var(--gs-line);
            color: var(--gs-text);
        }

        .ms-table thead th {
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--gs-text-2);
        }

        .ms-region {
            white-space: nowrap;
            font-weight: 600;
        }

        .ms-region .flag-icon {
            margin-right: 0.35rem;
            vertical-align: -2px;
        }

        .ms-best-label td {
            font-size: 0.72rem;
            font-weight: 700;
            color: var(--gs-accent);
            background: var(--gs-accent-tint);
            border-bottom: none;
            padding-bottom: 0;
        }

        .ms-benchmark th,
        .ms-benchmark td {
            background: var(--gs-accent-tint);
        }

        .ms-table tr.is-selected th,
        .ms-table tr.is-selected td,
        .ms-outcome-item.is-selected {
            color: var(--gs-accent);
        }

        .ms-table tr.is-selected th {
            box-shadow: inset 3px 0 0 var(--gs-accent);
        }

        .visually-hidden {
            position: absolute;
            width: 1px;
            height: 1px;
            margin: -1px;
            padding: 0;
            overflow: hidden;
            clip: rect(0 0 0 0);
            white-space: nowrap;
            border: 0;
        }

        .ms-mobile-only {
            display: none;
        }

        .ms-nodata,
        .ms-muted {
            color: var(--gs-muted);
        }

        .ms-outcome,
        .ms-note {
            font-size: 0.78rem;
            color: var(--gs-muted);
            line-height: 1.5;
            margin: 0.5rem 0 0;
        }

        .ms-outcome-label {
            font-weight: 600;
        }

        .ms-stance {
            margin-top: 0.9rem;
            margin-bottom: 0;
        }

        .mobility-safety .sq-chip {
            font-size: 0.7rem;
            padding: 0.05rem 0.4rem;
        }

        @media (max-width: 600px) {
            .ms-table thead {
                display: none;
            }

            .ms-mobile-only {
                display: inline;
            }

            .ms-table,
            .ms-table tbody,
            .ms-table tr,
            .ms-table th,
            .ms-table td {
                display: block;
                width: 100%;
            }

            .ms-table tr {
                border-bottom: 1px solid var(--gs-line);
                padding: 0.35rem 0;
            }

            .ms-table th,
            .ms-table td {
                border-bottom: none;
                padding: 0.15rem 0.5rem;
            }

            .ms-table td[data-label]::before {
                content: attr(data-label);
                display: block;
                font-size: 0.7rem;
                font-weight: 600;
                color: var(--gs-text-2);
            }

            .ms-best-label td {
                padding-top: 0.4rem;
            }
        }

        .teaser-card {
            display: block;
            color: inherit;
            text-decoration: none;
        }

        .nav-route-btn:hover {
            color: var(--gs-accent);
            background: var(--gs-accent-tint);
        }

        .nav-route-btn.active {
            color: var(--gs-accent);
            background: var(--gs-accent-tint);
            border-color: transparent;
            box-shadow: none;
        }

        /* MODAL HEADER (v1.0.5): petrol bar with white type for every dossier and info window */
        .modal-header {
            padding: 1.1rem 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 0.75rem;
            background: var(--gs-accent);
            color: var(--gs-on-accent);
            border-top-left-radius: calc(var(--radius-lg) - 1px);
            border-top-right-radius: calc(var(--radius-lg) - 1px);
        }
        .modal-header h3 {
            font-family: var(--font-heading);
            font-size: 1.2rem;
            color: var(--gs-on-accent);
            margin: 0;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        .modal-header .modal-subtitle {
            font-size: 0.8rem;
            color: var(--gs-on-accent);
            margin: 0.25rem 0 0 0;
        }
        /* The dimension's symbol on a white circle, left of the title */
        .modal-icon {
            flex: 0 0 auto;
            width: 2.25rem;
            height: 2.25rem;
            border-radius: 50%;
            background: var(--gs-on-accent);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.15rem;
            line-height: 1;
        }
        .modal-close {
            flex: 0 0 auto;
            min-width: 44px;
            min-height: 44px;
            background: transparent;
            border: none;
            border-radius: 8px;
            color: var(--gs-on-accent);
            font-size: 1.2rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .modal-close:hover { background: rgba(255, 255, 255, 0.15); }
        .modal-close:focus-visible { outline: 2px solid var(--gs-on-accent); outline-offset: -4px; }
        /* Housing dossier: the close button sits on the header bar, outside the header element */
        #btn-close-housing-dossier { position: absolute; top: 0.6rem; right: 0.75rem; z-index: 10; }
        #modal-housing-dossier .modal-header { padding-right: 4.5rem; }

        /* DOSSIER MODAL DIMENSION TABS & PILLS */
        .modal-tabs-wrap {
            position: relative;
            border-bottom: 1px solid var(--gs-line);
        }

        /* soft fade at the right edge: more tabs follow (background colour to transparent) */
        .modal-tabs-wrap::after {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            width: 2.5rem;
            background: linear-gradient(to left, var(--gs-surface), transparent);
            pointer-events: none;
        }

        #modal-radar-tabs {
            display: flex;
            gap: 0.4rem;
            padding: 0.65rem 2.5rem 0.65rem 1.25rem;
            background: var(--gs-surface);
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }

        #modal-radar-tabs::-webkit-scrollbar {
            display: none;
        }

        .dossier-scale {
            margin-bottom: 1.25rem;
        }

        .dossier-scale-label {
            font-weight: 700;
            color: var(--gs-text);
            font-size: 0.85rem;
            margin: 0 0 0.2rem 0;
        }

        .dossier-scale-hint {
            font-size: 0.8rem;
            color: var(--gs-muted);
            margin: 0 0 0.6rem 0;
        }

        .scale-grid {
            display: grid;
            grid-template-columns: 3.6rem 1fr minmax(6.5rem, auto);
            column-gap: 0.6rem;
            row-gap: 0.35rem;
            align-items: center;
            font-size: 0.78rem;
        }

        .scale-zone-names {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            font-size: 0.68rem;
            color: var(--gs-muted);
            line-height: 1.2;
        }

        .scale-zone-names span {
            padding: 0 0.25rem;
            border-left: 1px solid var(--gs-line);
        }

        .scale-country {
            display: flex;
            align-items: center;
            font-weight: 600;
            color: var(--gs-text);
        }

        .scale-track {
            position: relative;
            height: 22px;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            border-radius: 4px;
            overflow: hidden;
            border: 1px solid var(--gs-line);
        }

        .scale-track > i {
            background: var(--gs-bg);
            border-left: 1px solid var(--gs-line);
        }

        .scale-track > i:nth-child(even) {
            background: var(--gs-bg-warm);
        }

        .scale-track > i:first-child {
            border-left: none;
        }

        .scale-bar {
            position: absolute;
            left: 0;
            top: 7px;
            height: 8px;
            border-radius: 0 3px 3px 0;
            background: var(--gs-data);
        }

        .scale-row-selected .scale-bar {
            background: var(--gs-accent);
        }

        .scale-band {
            color: var(--gs-text-2);
        }

        .scale-legend {
            display: none;
            margin: 0.5rem 0 0 0;
            font-size: 0.72rem;
            color: var(--gs-muted);
        }

        .dossier-section-title {
            color: var(--gs-text);
            font-weight: 700;
            font-size: 0.95rem;
            margin-bottom: 0.4rem;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        .modal-body .dossier-box {
            border: none;
            font-style: normal;
            padding: 0.9rem 1.15rem;
            background: var(--gs-bg-warm);
            border-radius: var(--radius-md);
            color: var(--gs-text);
            line-height: 1.6;
        }

        @media (max-width: 639px) {
            .scale-grid {
                grid-template-columns: 3.2rem 1fr;
            }

            .scale-band {
                grid-column: 2;
                margin-top: -0.2rem;
                font-size: 0.72rem;
            }

            .scale-head-names {
                display: none;
            }

            .scale-legend {
                display: block;
            }
        }

        .modal-radar-pill {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            padding: 0.35rem 0.65rem;
            border-radius: var(--radius-sm);
            font-size: 0.775rem;
            font-weight: 600;
            white-space: nowrap;
            cursor: pointer;
            background: transparent;
            border: 1px solid var(--gs-line);
            color: var(--gs-text-2);
            transition: var(--transition-fast);
            flex-shrink: 0;
        }

        .modal-radar-pill:hover {
            color: var(--gs-text);
            border-color: var(--accent-cyan);
            background: var(--gs-accent-tint);
        }

        .modal-radar-pill.active {
            color: var(--gs-accent);
            border-color: transparent;
            background: var(--gs-accent-tint);
            box-shadow: none;
        }

        /* MOBILE RESPONSIVE & SCROLL OPTIMIZATION (PIXEL 9 / SMARTPHONES) */
        @media (max-width: 768px) {
            html, body {
                max-width: 100%;
                overflow-x: hidden;
                /* v1.0.8: clip instead of hidden where supported, so the body is no scroll container and sticky works */
                overflow-x: clip;
            }

            body {
                padding: 0.5rem 0.5rem;
                background-attachment: scroll; /* Prevents touch lag & fixed background jitter on mobile */
            }

            .container {
                max-width: 100%;
            }

            .site-footer {
                margin-bottom: -0.5rem;
            }

            header {
                padding: 0.4rem 0.5rem;
                margin-bottom: 1rem;
                max-width: 100%;
                overflow: visible;
                gap: 0.5rem;
                flex-wrap: wrap;
                /* the header scrolls away on phones as before; only the week switcher sticks (v1.0.8) */
                position: relative;
                top: auto;
            }

            .sq-weeks {
                --sq-weeks-top: 0.4rem;
            }


            .pwa-install-btn {
                font-size: 0.72rem;
                padding: 0.25rem 0.55rem;
            }

            #modal-radar-tabs {
                padding: 0.5rem 0.75rem;
                gap: 0.3rem;
            }

            .modal-radar-pill {
                font-size: 0.725rem;
                padding: 0.3rem 0.5rem;
            }

            .brand {
                gap: 0.4rem;
                min-width: 0;
            }

            .brand .brand-title {
                font-size: 1.15rem !important;
                white-space: nowrap;
            }


            .brand-title {
                font-size: 1.4rem;
            }

            .subtitle {
                font-size: 0.875rem;
                margin-top: 0.4rem;
            }

            .hero-summary-box {
                padding: 0.5rem 0.75rem;
                font-size: 0.825rem;
            }

            .meta-bar {
                gap: 0.4rem;
                font-size: 0.75rem;
            }

            .meta-tag {
                padding: 0.2rem 0.5rem;
                font-size: 0.725rem;
            }

            .interactive-bar {
                position: relative;
                top: auto;
                z-index: 10;
                background: var(--gs-surface);
                padding: 0.75rem;
                border-radius: var(--radius-md);
            }

            .search-box {
                min-width: 100%;
            }

            .search-box input {
                font-size: 0.85rem;
                padding: 0.6rem 0.8rem 0.6rem 2.2rem;
            }

            .filter-pills {
                overflow-x: auto;
                flex-wrap: nowrap;
                padding-bottom: 0.4rem;
                -webkit-overflow-scrolling: touch;
            }

            .filter-pill {
                flex-shrink: 0;
            }

            .widget-section {
                grid-template-columns: 1fr;
            }

            .grid, .grid-4 {
                grid-template-columns: 1fr;
            }
        }
        .source-links a { color: var(--accent-cyan); text-decoration: underline; }
    
        /* Main navigation: tabs at the top from 768 px, fixed tab bar at the bottom below that */
        .nav-routes .nav-icon {
            display: none;
        }

        .nav-routes .nav-route-btn {
            font-size: 1rem;
            font-weight: 600;
            color: var(--gs-text);
            min-height: 44px;
            padding: 0.4rem 0.85rem;
        }

        .nav-routes .nav-route-btn:hover {
            background: var(--gs-bg-warm);
            color: var(--gs-text);
        }

        .nav-routes .nav-route-btn.active {
            background: var(--gs-accent-tint);
            color: var(--gs-accent);
        }

        .radar-country-tabs .pill-code {
            display: none;
        }

        @media (max-width: 767px) {
            body {
                padding-bottom: calc(4.25rem + max(0.5rem, env(safe-area-inset-bottom)));
            }

            .site-footer {
                margin-bottom: calc(-4.25rem - max(0.5rem, env(safe-area-inset-bottom)));
                padding-bottom: calc(1.25rem + 4.25rem + max(0.5rem, env(safe-area-inset-bottom)));
            }

            .nav-routes {
                position: fixed;
                left: 0;
                right: 0;
                bottom: 0;
                z-index: 150;
                display: grid;
                grid-template-columns: repeat(5, 1fr);
                gap: 0;
                padding: 0.25rem 0.25rem max(0.5rem, env(safe-area-inset-bottom)) 0.25rem;
                background: var(--gs-surface);
                border-top: 2px solid var(--gs-accent);
                box-shadow: 0 -2px 8px rgba(28, 25, 23, 0.08);
                order: 0;
                width: auto;
                overflow: visible;
            }

            .nav-routes .nav-icon {
                display: block;
                padding: 0.15rem 0.85rem;
                border-radius: 999px;
                box-sizing: content-box;
            }

            .nav-routes .nav-route-btn {
                flex-direction: column;
                justify-content: center;
                gap: 0.2rem;
                min-height: 56px;
                padding: 0.3rem 0.1rem;
                font-size: 0.75rem;
                font-weight: 600;
                color: var(--gs-text);
                background: transparent;
                border: none;
                border-radius: var(--radius-sm);
                white-space: nowrap;
            }

            .nav-routes .nav-route-btn:hover {
                background: transparent;
                color: var(--gs-accent);
            }

            .nav-routes .nav-route-btn.active {
                background: transparent;
                color: var(--gs-accent);
            }

            .nav-routes .nav-route-btn.active .nav-icon {
                background: var(--gs-accent-tint);
            }

            .radar-country-tabs {
                display: grid !important;
                grid-template-columns: repeat(5, minmax(0, 1fr));
                gap: 0.3rem !important;
                width: 100%;
            }

            .radar-country-tabs .filter-pill {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 0.25rem;
                min-height: 44px;
                padding: 0.3rem 0.2rem;
                border-radius: var(--radius-sm);
                font-size: 0.8rem;
                white-space: nowrap;
            }

            .radar-country-tabs .filter-pill .flag-icon {
                margin-right: 0;
            }

            .radar-country-tabs .pill-name {
                display: none;
            }

            .radar-country-tabs .pill-code {
                display: inline;
            }
        }
