html, body {
    font-family: Archivo, Helvetica, Arial, sans-serif;
}

a {
    color: var(--mud-palette-primary);
    text-underline-offset: 3px;
}

/* The Fight to FIRE design system v1.0 as the design canvas applies it (step R1): every number
   in IBM Plex Mono with tabular figures, explanations in Source Serif 4, small labels as mono
   eyebrows, hairlines instead of shadows. */
.num {
    font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
    font-variant-numeric: tabular-nums;
}

.lead {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--mud-palette-text-secondary);
}

.hero-title {
    margin: 0 0 12px;
    font-size: clamp(34px, 6vw, 52px);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -.02em;
}

.page-title {
    margin: 0 0 12px;
    font-size: clamp(28px, 4.5vw, 40px);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -.02em;
}

/* Small labels at 12 px and weight 500, the sub lines at 12 px: at 10-11 px and 400 the uppercase
   mono read faint (#167). */
.eyebrow {
    font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
}

.mud-paper.mud-elevation-1,
.mud-paper.mud-elevation-2,
.mud-paper.mud-elevation-3,
.mud-paper.mud-elevation-4 {
    border: 1px solid var(--mud-palette-lines-default);
}

.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--mud-palette-background);
    color: var(--mud-palette-text-primary);
}

.site-main {
    flex: 1 0 auto;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 16px 48px;
    box-sizing: border-box;
}

.ftf-bar {
    background: #262523;
    color: #B5B0A6;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 16px;
    font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

    .ftf-bar a {
        color: #FCFBF8;
    }

.site-header {
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.site-header-inner,
.site-footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 32px;
    box-sizing: border-box;
}

.site-name {
    color: var(--mud-palette-text-primary);
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 28px;
    flex: 1 1 auto;
    font-size: 15px;
    font-weight: 500;
}

    .site-nav a {
        color: var(--mud-palette-text-secondary);
        text-decoration: none;
        padding: 10px 0;
        border-bottom: 2px solid transparent;
    }

        .site-nav a.active {
            color: var(--mud-palette-text-primary);
            border-bottom-color: #4E9E2F;
        }

.site-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-menu-button {
    display: none;
}

/* The theme switch and the admin link (Should 8: static, app.js cycles the theme). The icon shown
   is the visitor's choice, which app.js mirrors in data-theme-choice; "systeem" until it runs. */
.theme-switch,
.admin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.theme-icon {
    display: none;
}

:root:not([data-theme-choice]) .theme-icon-systeem,
:root[data-theme-choice="systeem"] .theme-icon-systeem,
:root[data-theme-choice="licht"] .theme-icon-licht,
:root[data-theme-choice="donker"] .theme-icon-donker {
    display: inline-block;
}

/* On a phone: name, menu button and actions on one line; the menu opens below them. */
@media (max-width: 599px) {
    .site-header-inner {
        column-gap: 8px;
    }

    .site-actions {
        order: 2;
        gap: 0;
    }

    .site-menu-button {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding: 0 14px;
        border: 1px solid var(--mud-palette-lines-default);
        border-radius: 2px;
        background: transparent;
        color: var(--mud-palette-text-primary);
        font: 500 15px Archivo, Helvetica, Arial, sans-serif;
        order: 1;
        margin-left: auto;
    }

    /* Folded only when script can unfold it (App.razor sets "js"); without it the menu stays open. */
    .js .site-nav {
        display: none;
    }

    .site-nav {
        order: 3;
        flex-basis: 100%;
        flex-direction: column;
        gap: 0;
    }

        .js .site-nav.open {
            display: flex;
        }

        .site-nav a {
            padding: 12px 0;
            border-bottom: 1px solid var(--mud-palette-lines-default);
        }

            .site-nav a.active {
                border-bottom-color: #4E9E2F;
            }
}

.site-footer {
    border-top: 1px solid var(--mud-palette-lines-default);
}

.site-footer-inner {
    justify-content: space-between;
    padding: 28px 16px 40px;
}

.site-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
}

    .site-footer-nav a {
        display: inline-block;
        padding: 12px 0;
    }

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

    /* The texts are attributes, so a crawler doesn't read them as the page's content. */
    #blazor-error-ui::before {
        content: attr(data-message) " ";
    }

    #blazor-error-ui .reload::after {
        content: attr(data-label);
    }

code {
    color: #c02d76;
}

/* The overview of the design canvas (step R2c). Colours come from the theme, so light and dark
   both hold; green is a fill or a border only, its text colour is the theme's success ink. */
.section-title {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -.01em;
}

.section-note {
    font-size: 14px;
    color: var(--mud-palette-text-secondary);
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 1px;
    background: var(--mud-palette-lines-default);
    border: 1px solid var(--mud-palette-lines-default);
    margin-bottom: 48px;
}

.tile {
    background: var(--mud-palette-background);
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tile-ok {
    border-top: 3px solid #4E9E2F;
}

    .tile-ok .eyebrow {
        color: var(--mud-palette-success);
    }

.tile-value {
    font-size: 28px;
    font-weight: 500;
}

.tile-note {
    font-size: 13px;
    color: var(--mud-palette-text-secondary);
}

.overview {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.overview-head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

/* "Weergave: [tabel] [kaarten] [grafiek]" (Vincent 2026-11-23): a light outline around three
   segments, each an icon and its name; the current one filled in ink. */
.view-switch {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}

.segmented {
    display: inline-flex;
    gap: 2px;
    padding: 2px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 2px;
}

    .segmented a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        text-decoration: none;
        font: 500 14px Archivo, Helvetica, Arial, sans-serif;
        min-height: 40px;
        padding: 0 14px;
        border-radius: 2px;
        color: var(--mud-palette-text-secondary);
        cursor: pointer;
    }

        .segmented a svg {
            width: 18px;
            height: 18px;
            fill: currentColor;
        }

        .segmented a:hover {
            background: var(--mud-palette-action-default-hover);
            color: var(--mud-palette-text-primary);
        }

        .segmented a:focus-visible {
            outline: 2px solid var(--mud-palette-primary);
            outline-offset: 2px;
        }

        .segmented a[aria-current="true"] {
            background: var(--mud-palette-text-primary);
            color: var(--mud-palette-background);
        }

.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 10px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.field-grow {
    flex: 1 1 240px;
    max-width: 320px;
}

    .field input,
    .field select {
        font: 15px Archivo, Helvetica, Arial, sans-serif;
        min-height: 44px;
        padding: 0 12px;
        border: 1px solid var(--mud-palette-lines-default);
        border-radius: 2px;
        background: var(--mud-palette-background);
        color: var(--mud-palette-text-primary);
        box-sizing: border-box;
    }

.quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Buttons as on fighttofire.com (design-system.css v3.8.0, .ftf-btn; Vincent 2026-11-23): the
   primary is ember with paper text and inverts on hover ("not darkened"); the ghost is an ink
   outline that fills with ink on hover. From the theme's palette, so dark mode follows. */
.button-primary,
.button-outline,
.chip {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font: 600 15px Archivo, Helvetica, Arial, sans-serif;
    min-height: 44px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
}

    .button-primary {
        background: var(--mud-palette-primary);
        color: var(--mud-palette-primary-text);
    }

        .button-primary:hover {
            background: var(--mud-palette-background);
            border-color: var(--mud-palette-primary);
            color: var(--mud-palette-primary);
        }

    .button-outline {
        padding: 0 23px;
        border-color: var(--mud-palette-text-primary);
        background: transparent;
        color: var(--mud-palette-text-primary);
    }

        .button-outline:hover {
            background: var(--mud-palette-text-primary);
            color: var(--mud-palette-background);
        }

    /* A chip is a small ghost: a hairline that turns ink on hover; checked, it fills with ink like
       the current view in the view switch. */
    .chip {
        font-weight: 500;
        font-size: 14px;
        padding: 0 14px;
        border-color: var(--mud-palette-lines-default);
        background: transparent;
        color: var(--mud-palette-text-primary);
    }

        .chip:hover {
            border-color: var(--mud-palette-text-primary);
        }

    .button-primary:focus-visible,
    .button-outline:focus-visible {
        outline: 2px solid var(--mud-palette-primary);
        outline-offset: 2px;
    }

.toolbar-end {
    margin-left: auto;
}

/* The overview's toolbar (Vincent 2026-11-23): rows by purpose that share the table's edges.
   The search fills its row; filters and the export are compact, so they read as secondary. */
.overview-toolbar {
    flex-direction: column;
    flex-wrap: nowrap; /* a wrapping column sizes its rows as if they wrapped: empty space above */
    align-items: stretch;
    gap: 12px;
}

.toolbar-row {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 10px;
}

    .overview-toolbar .field-grow {
        max-width: none;
    }

    .overview-toolbar .quick-filters {
        align-items: center;
    }

        .overview-toolbar .quick-filters .eyebrow {
            margin-right: 4px;
        }

    .overview-toolbar .chip,
    .overview-toolbar .toolbar-end {
        min-height: 36px;
        padding: 0 12px;
        font-size: 13px;
        align-self: center;
    }

    /* A quick filter is a real checkbox in a chip; on, the chip is filled too (the tick alone
       already says it, so not colour alone). */
    .overview-toolbar .chip {
        gap: 6px;
    }

        .overview-toolbar .chip:has(input:checked) {
            border-color: var(--mud-palette-text-primary);
            background: var(--mud-palette-text-primary);
            color: var(--mud-palette-background);
        }

        .overview-toolbar .chip input {
            accent-color: var(--mud-palette-primary);
        }

        .overview-toolbar .chip input:focus-visible {
            outline: 2px solid var(--mud-palette-primary);
            outline-offset: 2px;
        }

.results-count {
    margin: 12px 0 8px;
    font-size: 14px;
    color: var(--mud-palette-text-secondary);
}

    .results-count:focus {
        outline: none;
    }

@media (max-width: 599.98px) {
    .overview-toolbar .field-grow {
        flex-basis: 100%;
    }

    .overview-toolbar .chip,
    .overview-toolbar .toolbar-end {
        min-height: 44px;
    }
}

/* Without a chosen view the screen decides (Should 8: no JavaScript asks for the width any more):
   a phone gets the cards, a wider screen the table. */
.only-narrow {
    display: none;
}

@media (max-width: 599.98px) {
    .only-wide {
        display: none;
    }

    .only-narrow {
        display: block;
    }
}

/* A table wider than its box says so (Vincent 2026-11-23, as on fighttofire.com, after NN/g
   "Mobile tables"): edge shadows where more is (CSS only: the `local` covers move with the
   content and hide the `scroll` shadows at an end), the hint app.js adds until the first scroll,
   and on a phone a first column that stays, with a shadow once scrolled. */
.table-scroll {
    overflow-x: auto;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 2px;
    background:
        linear-gradient(to right, var(--mud-palette-background) 30%, transparent) left center / 40px 100% no-repeat local,
        linear-gradient(to left, var(--mud-palette-background) 30%, transparent) right center / 40px 100% no-repeat local,
        radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, .24), transparent) left center / 18px 100% no-repeat scroll,
        radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, .24), transparent) right center / 18px 100% no-repeat scroll;
}

    .table-scroll:focus-visible {
        outline: 2px solid var(--mud-palette-primary);
        outline-offset: 2px;
    }

.table-hint {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    margin: 0 0 6px;
    font: 500 12px 'IBM Plex Mono', ui-monospace, Menlo, monospace;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
}

    .table-hint[hidden] {
        display: none;
    }

.table-hint-arrow {
    color: var(--mud-palette-success);
    font-size: 14px;
}

@media (prefers-reduced-motion: no-preference) {
    .table-hint-arrow {
        animation: table-nudge 1.6s ease-in-out infinite;
    }
}

@keyframes table-nudge {
    0%, 100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(4px);
    }
}

@media (max-width: 599.98px) {
    .table-scroll > table :is(th, td):first-child {
        position: sticky;
        left: 0;
        z-index: 1;
        background: var(--mud-palette-background);
    }

    /* A pseudo-element, because a collapsed table doesn't paint a cell's box-shadow; the hairline
       shows in dark mode too, where a dark shadow on dark doesn't. */
    .table-scroll.is-scrolled > table :is(th, td):first-child::after {
        content: "";
        position: absolute;
        top: 0;
        right: -1px;
        bottom: 0;
        width: 1px;
        background: var(--mud-palette-lines-default);
        box-shadow: 4px 0 8px rgba(0, 0, 0, .25);
    }
}

.data-table {
    border-collapse: collapse;
    width: 100%;
    min-width: 960px;
}

    .data-table th,
    .data-table td {
        padding: 12px 8px;
        border-bottom: 1px solid var(--mud-palette-lines-default);
        text-align: right;
        white-space: nowrap;
        vertical-align: top;
    }

    .data-table th {
        padding: 0;
        font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
        font-size: 11px;
        font-weight: 500;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--mud-palette-text-secondary);
    }

        .data-table th a {
            all: unset;
            display: block;
            box-sizing: border-box;
            width: 100%;
            padding: 12px 8px;
            cursor: pointer;
            text-align: inherit;
        }

            .data-table th a:focus-visible {
                outline: 2px solid var(--mud-palette-primary);
                outline-offset: -2px;
            }

        .data-table th[aria-sort] {
            color: var(--mud-palette-text-primary);
        }

        .data-table th:last-child {
            padding: 12px;
        }

    .data-table .left {
        text-align: left;
    }

    .data-table td {
        font-size: 14px;
    }

    .data-table tbody tr:hover td {
        background: var(--mud-palette-action-default-hover);
    }

    .data-table .name {
        font-weight: 600;
        font-size: 15px;
        white-space: normal;
        min-width: 170px;
    }

        .data-table .name a {
            color: var(--mud-palette-text-primary);
            text-decoration: none;
        }

            .data-table .name a:hover {
                text-decoration: underline;
            }

/* The main sector's colour (inline --sector, Vincent 2026-11-23) as a 4 px left edge and its icon
   by the sector text: decoration, the sector is written too. A pseudo-element, so the sticky first
   column on a phone keeps its own background and its ::after hairline; the header moves with it. */
    .data-table td.sector-edge {
        position: relative;
        padding-left: 14px;
    }

        .data-table td.sector-edge::before {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            width: 4px;
            background: var(--sector);
        }

    .data-table th a[data-column="Naam"] {
        padding-left: 14px;
    }

.sector-edge .sub svg {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    vertical-align: -2px;
    fill: var(--sector);
}

    .data-table .strong {
        font-weight: 600;
    }

    .data-table .sub {
        display: block;
        margin-top: 2px;
        font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
        font-size: 12px;
        font-weight: 400;
        color: var(--mud-palette-text-secondary);
    }

        .data-table .sub.warn,
        .data-table .flag {
            color: var(--mud-palette-warning);
        }

    .data-table .muted {
        font-size: 13px;
        color: var(--mud-palette-text-secondary);
    }

    .data-table .status {
        font-size: 13px;
        white-space: normal;
        min-width: 90px;
    }

    .data-table .ok {
        color: var(--mud-palette-success);
    }

    .data-table .flag {
        font-weight: 600;
    }

/* The cards and the chart of the overview (step R3). Hairlines between the facts, as the tiles. */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 16px;
}

.gvv-card {
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 2px;
    display: flex;
    flex-direction: column;
}

    /* As the compare tiles: the main sector's colour as the left edge. */
    .gvv-card.sector-edge {
        border-left: 4px solid var(--sector);
    }

.gvv-card .sub {
    display: block;
    margin-top: 2px;
    font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
    font-size: 12px;
    font-weight: 400;
    color: var(--mud-palette-text-secondary);
}

    .gvv-card .sub.warn,
    .gvv-card .flag {
        color: var(--mud-palette-warning);
    }

.gvv-card-head {
    padding: 14px 14px 10px;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 8px;
}

.gvv-card-name {
    color: var(--mud-palette-text-primary);
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
}

    .gvv-card-name:hover {
        text-decoration: underline;
    }

.gvv-card-hero {
    text-align: right;
}

    .gvv-card-hero .num {
        font-size: 24px;
        font-weight: 500;
        line-height: 1;
    }

.gvv-card-facts {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--mud-palette-lines-default);
    border-top: 1px solid var(--mud-palette-lines-default);
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

    .gvv-card-facts > div {
        background: var(--mud-palette-background);
        padding: 10px 14px;
    }

    .gvv-card-facts dd {
        margin: 2px 0 0;
        font-size: 15px;
        font-weight: 500;
    }

    .gvv-card-facts .muted {
        font-size: 13px;
        font-weight: 400;
        color: var(--mud-palette-text-secondary);
    }

.range {
    position: relative;
    display: block;
    height: 4px;
    margin: 8px 5px 4px;
    background: var(--mud-palette-lines-default);
}

.range-mark {
    position: absolute;
    top: -3px;
    width: 10px;
    height: 10px;
    margin-left: -5px;
    border-radius: 50%;
    background: var(--mud-palette-text-primary);
}

.gvv-card-foot {
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    font-size: 13px;
}

    .gvv-card-foot .ok {
        color: var(--mud-palette-success);
    }

    .gvv-card-foot .flag {
        font-weight: 600;
    }

.scatter-figure {
    margin: 0;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 2px;
    padding: 24px;
    max-width: 760px;
}

.scatter-title {
    margin: 4px 0 20px;
    font-size: 22px;
    font-weight: 600;
}

.scatter {
    position: relative;
    height: 340px;
    margin: 0 8px 32px 44px;
    border-left: 1px solid var(--mud-palette-text-primary);
    border-bottom: 1px solid var(--mud-palette-text-primary);
}

.scatter-grid {
    position: absolute;
    left: 0;
    right: 0;
    border-top: 1px solid var(--mud-palette-lines-default);
}

.scatter-ylabel,
.scatter-xlabel {
    position: absolute;
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
}

.scatter-ylabel {
    left: -44px;
    transform: translateY(-50%);
}

.scatter-xlabel {
    bottom: -24px;
    transform: translateX(-50%);
}

.scatter-point {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transform: translate(-5px, -50%);
    font-size: 11px;
    color: var(--mud-palette-text-primary);
    text-decoration: none;
}

    .scatter-point:hover .num,
    .scatter-point:focus-visible .num {
        text-decoration: underline;
    }

.scatter-figure .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--mud-palette-text-secondary);
}

.scatter-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-size: 13px;
    color: var(--mud-palette-text-secondary);
}

    .scatter-legend > span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

.band-low .dot {
    background: var(--mud-palette-success);
}

.band-mid .dot {
    background: var(--mud-palette-primary);
}

.band-high .dot {
    background: var(--mud-palette-error);
}

/* The GVV page's dividend chart: bars as server markup (design perf-gvv-page-without-wasm). */
.bars-figure {
    margin: 0;
    max-width: 760px;
}

.bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-top: 12px;
}

.bar-col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.bar-plot {
    display: flex;
    align-items: flex-end;
    width: 100%;
    max-width: 56px;
    height: 200px;
    border-bottom: 1px solid var(--mud-palette-text-primary);
}

.bar {
    width: 100%;
    background: var(--mud-palette-primary);
}

.bar-value,
.bar-year {
    font-size: 11px;
    white-space: nowrap;
    color: var(--mud-palette-text-secondary);
}

@media (max-width: 599.98px) {
    /* Too narrow for an amount above every bar; the table below holds them. */
    .bar-value {
        display: none;
    }
}

/* The portfolio's income split: one bar per GVV, its share as text beside it. */
.split-figure {
    margin: 0;
    max-width: 760px;
}

.split {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.split-row {
    display: grid;
    grid-template-columns: minmax(0, 12rem) 1fr auto;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.split-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.split-plot {
    height: 12px;
}

.split-bar {
    display: block;
    height: 100%;
    background: var(--mud-palette-primary);
}

/* The GVV page's discount to NTA over a year (Should 9): an SVG line in the scatter's frame, the
   labels as HTML so they keep their size on a phone; colours from the theme only. */
.line-figure {
    margin: 0;
    max-width: 760px;
}

.line-chart {
    height: 220px;
    margin-top: 12px;
}

    .line-chart svg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        overflow: visible;
    }

    .line-chart polyline {
        fill: none;
        stroke: var(--mud-palette-primary);
        stroke-width: 2;
        stroke-linejoin: round;
        vector-effect: non-scaling-stroke;
    }

    .line-chart .scatter-grid.zero {
        border-top-color: var(--mud-palette-text-secondary);
    }

.line-xlabel {
    position: absolute;
    bottom: -24px;
    left: 0;
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
}

    .line-xlabel.end {
        left: auto;
        right: 0;
    }

.line-table > summary {
    cursor: pointer;
    font-size: 14px;
    color: var(--mud-palette-primary);
    margin-bottom: 8px;
}

.years-table {
    min-width: 860px;
}

/* "Mail me als het dividend verandert": <details> opens the form without script. */
.subscribe > summary {
    list-style: none;
}

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

.subscribe[open],
.subscribe-status {
    flex-basis: 100%;
}

.subscribe-form {
    max-width: 560px;
    margin-top: 12px;
}

.subscribe-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

    .subscribe-row input {
        flex: 1 1 240px;
        min-height: 44px;
        padding: 0 12px;
        font: inherit;
        border: 1px solid var(--mud-palette-lines-default);
        border-radius: 2px;
        background: var(--mud-palette-background);
        color: var(--mud-palette-text-primary);
    }

.subscribe-note,
.subscribe-status {
    font-size: 13px;
    color: var(--mud-palette-text-secondary);
}

/* The detail page of the design canvas (step R4). */
.detail-head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}

    .detail-head .eyebrow a {
        color: inherit;
    }

.tile-grid-small {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
    margin-top: -48px;
    border-top: 0;
}

.tile-small {
    padding: 14px 22px;
    gap: 4px;
}

    .tile-small .num {
        font-size: 20px;
        font-weight: 500;
    }

.detail-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 48px;
}

.detail-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
    gap: 32px;
    align-items: start;
}

.sources-table {
    min-width: 760px;
}

    .sources-table th {
        padding: 12px 8px;
    }

    .sources-table .source {
        white-space: normal;
    }

.versions {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 1px solid var(--mud-palette-lines-default);
}

    .versions li {
        position: relative;
        padding: 4px 0 20px 24px;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

        .versions li::before {
            content: "";
            position: absolute;
            left: -5px;
            top: 9px;
            width: 9px;
            height: 9px;
            border-radius: 50%;
            background: var(--mud-palette-lines-default);
        }

        .versions li:first-child::before {
            background: #4E9E2F;
        }

        .versions li.deleted strong {
            color: var(--mud-palette-warning);
        }

    .versions .changes {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 18px;
        font-size: 13px;
        color: var(--mud-palette-text-secondary);
    }

        .versions .changes b {
            font-weight: 500;
            color: var(--mud-palette-text-primary);
        }

.versions .sub,
.documents .sub,
.sources-table .sub {
    display: block;
    font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
}

.documents {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--mud-palette-lines-default);
}

    .documents li {
        border-bottom: 1px solid var(--mud-palette-lines-default);
    }

    .documents a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        padding: 14px 4px;
        min-height: 44px;
        box-sizing: border-box;
        color: var(--mud-palette-text-primary);
        text-decoration: none;
        font-weight: 500;
    }

        .documents a:hover {
            text-decoration: underline;
        }

/* A report note under its year in the dividend history (Must 4). */
/* Keuzedividend the report doesn't state (A2): grey, beside ✅ and ❌. */
.keuze-unknown {
    color: var(--mud-palette-text-disabled);
}

.history-note {
    display: block;
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
}

/* The same notes on the GVV page's chart: a number after the year, the text under the bars. */
.bar-note-ref {
    margin-left: 1px;
}

.bars-notes {
    margin: 12px 0 0;
    padding-left: 20px;
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
}

.lead.small {
    font-size: 15px;
    max-width: 860px;
    margin: 0;
}

/* Overview terms (roadmap 2b, feat/overview-jargon): the list under the overview. No colours. */
.overview-terms {
    margin-top: 24px;
    max-width: 860px;
    font-size: 15px;
    line-height: 1.55;
}

    .overview-terms ul {
        margin: 8px 0;
        padding-left: 1.2em;
    }

    .overview-terms li + li {
        margin-top: 6px;
    }

    .overview-terms p {
        margin: 0;
    }
/* End overview terms */

.reading-note {
    margin-top: 48px;
    padding: 24px 26px;
    border: 1px solid var(--mud-palette-lines-default);
    border-top: 3px solid #4E9E2F;
    border-radius: 2px;
    max-width: 860px;
}

    .reading-note p {
        font-family: 'Source Serif 4', Georgia, serif;
        font-size: 17px;
        line-height: 1.6;
        margin: 12px 0;
    }

    .reading-note a {
        font-weight: 600;
    }

/* The Methode page: explanations in the serif, at reading width. */
.method {
    max-width: 760px;
}

    .method .lead {
        margin: 0 0 40px;
    }

    .method p,
    .method li {
        font-family: 'Source Serif 4', Georgia, serif;
        font-size: 17px;
        line-height: 1.6;
    }

    .method p,
    .method ol {
        margin: 0;
    }

    /* The reset leaves a list no padding, so its numbers would hang into the page's gutter. */
    .method ol {
        padding-left: 1.6em;
    }

    .method li + li {
        margin-top: 8px;
    }

    /* "Hoe we rekenen": per figure its name, the formula in mono, then inputs, rules and an example. */
    .method .formulas {
        margin: 16px 0 0;
    }

        .method .formulas > div + div {
            margin-top: 24px;
        }

        .method .formulas dt {
            font-weight: 600;
        }

        .method .formulas dd {
            margin: 4px 0 0;
            font-family: 'Source Serif 4', Georgia, serif;
            font-size: 17px;
            line-height: 1.6;
        }

            .method .formulas dd.num {
                font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
                font-size: 15px;
            }

            .method .formulas dd.example {
                color: var(--mud-palette-text-secondary);
            }

/* /vergelijken (roadmap 2b): a GET form of checkboxes, and a table narrower than the overview's
   that scrolls inside .table-scroll on a phone. */
.compare-notice {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-left: 4px solid var(--mud-palette-info);
    background: var(--mud-palette-background-gray);
}

    .compare-notice p {
        margin: 0;
    }

.compare-form {
    margin-bottom: 24px;
}

    .compare-form fieldset {
        border: 0;
        padding: 0;
        margin: 0 0 16px;
        min-width: 0;
    }

    .compare-form legend {
        font-weight: 600;
        margin-bottom: 12px;
    }

/* The examples first, then the GVVs grouped by main sector (Vincent 2026-11-22; layout 11-23:
   aligned rows, a sector icon). The inline style sets each left border to the sector's colour:
   decoration, the sector is always written too, and the icons are aria-hidden. */
.compare-pairs {
    margin-bottom: 32px;
}

    .compare-pairs .section-title {
        margin-bottom: 12px;
    }

    /* Equal tiles: five on one row on a desktop, two or one per row on a phone. */
    .compare-pairs ul {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 8px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .compare-pairs a,
    .compare-choices label {
        box-sizing: border-box;
        min-height: 44px;
        border: 1px solid var(--mud-palette-lines-default);
        border-left: 4px solid;
        border-radius: 2px;
        color: var(--mud-palette-text-primary);
        font: 500 15px Archivo, Helvetica, Arial, sans-serif;
        cursor: pointer;
    }

        /* Only the hairline turns ink: the inline left border keeps the sector colour. */
        .compare-pairs a:hover,
        .compare-choices label:hover {
            border-color: var(--mud-palette-text-primary);
            background: var(--mud-palette-action-default-hover);
        }

    .compare-pairs a {
        display: flex;
        flex-direction: column;
        gap: 4px;
        height: 100%;
        padding: 10px 12px;
        text-decoration: none;
    }

        .compare-pairs a:focus-visible,
        .compare-choices label:has(input:focus-visible) {
            outline: 2px solid var(--mud-palette-primary);
            outline-offset: 2px;
        }

        .compare-pairs a .sub {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            color: var(--mud-palette-text-secondary);
        }

    .compare-pairs svg,
    .compare-group .eyebrow svg {
        flex: none;
        width: 18px;
        height: 18px;
        fill: currentColor;
    }

/* One row per main sector: a fixed label column, the chips flowing to its right, so every row
   starts at the same x; a hairline between the rows. */
.compare-group {
    display: grid;
    grid-template-columns: 224px 1fr;
    gap: 8px 16px;
    padding: 8px 0;
    border-top: 1px solid var(--mud-palette-lines-default);
}

    .compare-group:last-child {
        border-bottom: 1px solid var(--mud-palette-lines-default);
    }

    .compare-group .eyebrow {
        display: flex;
        align-items: center;
        gap: 8px;
        min-height: 44px;
        margin: 0;
    }

.compare-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .compare-choices label {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 0 14px 0 10px;
    }

        /* On: filled in ink with the native tick, like the overview's quick filters; not colour alone. */
        .compare-choices label:has(input:checked) {
            border-color: var(--mud-palette-text-primary);
            background: var(--mud-palette-text-primary);
            color: var(--mud-palette-background);
        }

    .compare-choices input {
        width: 18px;
        height: 18px;
        margin: 0;
        accent-color: var(--mud-palette-primary);
    }

        /* The ring goes around the whole chip (above), not a second one on the box. */
        .compare-choices input:focus-visible {
            outline: none;
        }

/* On a phone the label sits above its chips. */
@media (max-width: 599.98px) {
    .compare-group {
        grid-template-columns: 1fr;
    }

        .compare-group .eyebrow {
            min-height: 0;
        }
}

.data-table.compare-table {
    min-width: 520px;
}

    .compare-table th {
        padding: 12px 8px;
    }

    .compare-table th[scope="row"] {
        font-family: inherit;
        font-size: 14px;
        letter-spacing: normal;
        text-transform: none;
        color: var(--mud-palette-text-primary);
    }

    .compare-table thead th a {
        all: unset;
        cursor: pointer;
        font-size: 14px;
        letter-spacing: normal;
        text-transform: none;
        color: var(--mud-palette-text-primary);
    }

        .compare-table thead th a:hover {
            text-decoration: underline;
        }

        .compare-table thead th a:focus-visible {
            outline: 2px solid var(--mud-palette-primary);
        }

.compare-caption {
    margin-top: 8px;
    font-size: 13px;
    color: var(--mud-palette-text-secondary);
}
