@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap'); :root {
    font-family: 'DM Sans',Arial,sans-serif;
    color: #302c35;
    background: #fcfbfc;
    --primary: #602849;
    --accent: #bf5294;
    --tint: #f7eef4;
    --ink: #392c36;
    --radius: 16px;
    --border: #e8e3e8;
    --mapfill: #dbd4e4;
    --headline: Georgia,serif
}

* {
    box-sizing: border-box
}

body {
    margin: 0
}

button,input,select {
    font: inherit
}

button,a,select,input {
    touch-action: manipulation
}

button {
    cursor: pointer
}

button:disabled {
    cursor: default
}

button,a,input,select {
    outline-offset: 4px
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {
    outline: 3px solid var(--accent)
}

button {
    color: inherit
}

a {
    color: var(--primary)
}

.skip {
    position: fixed;
    top: -100px;
    z-index: 99999;
    background: white;
    padding: 15px
}

.skip:focus {
    top: 5px
}

.design-bar {
    min-height: 54px;
    background: #25252c;
    color: #fafafa;
    padding: 9px 26px;
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 12px;
    letter-spacing: .08em
}

.design-label {
    white-space: nowrap;
    font-weight: 600
}

.design-label span {
    margin: 0 8px;
    color: #7b7b8c
}

.design-options {
    display: flex;
    gap: 4px;
    flex: 1;
    justify-content: center
}

.design-options button {
    border: 1px solid transparent;
    background: none;
    color: #cfcfd7;
    padding: 9px 13px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap
}

.design-options button[aria-pressed=true] {
    background: #45444d;
    color: white;
    border-color: #65636e
}

.design-options i {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--swatch);
    margin-right: 7px
}

.concept-label {
    font-size: 10px;
    color: #b9b8c4;
    white-space: nowrap
}

.site-header {
    height: 93px;
    display: flex;
    align-items: center;
    padding: 0 40px;
    border-bottom: 1px solid var(--border);
    background: #fff;
    gap: 70px
}

.wordmark {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1px;
    min-width: 220px
}

.brand-symbol {
    font-family: Georgia,serif;
    font-size: 55px;
    color: var(--accent);
    letter-spacing: -7px;
    margin-right: 7px
}

.brand-sub {
    display: block;
    font-family: 'DM Sans',sans-serif;
    font-size: 10px;
    letter-spacing: .34em;
    margin-top: 7px;
    font-weight: 500
}

.site-header nav {
    display: flex;
    align-items: stretch;
    gap: 30px;
    height: 100%
}

.site-header nav button {
    background: transparent;
    border: 0;
    font-size: 14px;
    font-weight: 600;
    position: relative
}

.site-header nav .nav-active {
    color: var(--primary)
}

.site-header nav .nav-active:after {
    content: '';
    position: absolute;
    height: 3px;
    background: var(--accent);
    bottom: 0;
    left: 0;
    right: 0
}

.header-note {
    margin-left: auto;
    color: #78717b;
    font-size: 13px
}

main {
    max-width: 1800px;
    margin: auto;
    padding: 0 36px
}

.intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 3px 26px;
    gap: 24px
}

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .17em;
    color: var(--accent);
    margin: 0 0 9px
}

h1 {
    font-family: var(--headline);
    font-size: clamp(30px,3vw,44px);
    font-weight: 500;
    color: var(--primary);
    letter-spacing: -1.1px;
    line-height: 1.13;
    margin: 0
}

h1 em {
    font-style: normal;
    color: var(--accent)
}

.intro-copy {
    font-size: 14px;
    color: #78717b;
    margin: 12px 0 0
}

.region-stat {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-right: 14px;
    color: var(--primary)
}

.region-stat strong {
    font-size: 49px;
    font-weight: 500;
    letter-spacing: -3px
}

.region-stat span {
    font-size: 12px;
    line-height: 1.6;
    border-left: 1px solid var(--border);
    padding-left: 16px
}

.workspace {
    display: grid;
    grid-template-columns: 338px 1fr;
    height: clamp(650px,calc(100vh - 335px),930px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 40px #35263806;
    background: white
}

.sidebar {
    display: flex;
    flex-direction: column;
    min-height: 0;
    z-index: 500;
    background: white;
    border-right: 1px solid var(--border);
    overflow: hidden
}

.filter-area {
    padding: 23px 23px 0
}

.sidebar-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px
}

h2 {
    font-size: 19px;
    letter-spacing: -.3px;    margin: 0;
    color: var(--primary)
}

.small-label {
    font-size: 10px;
    color: #98909a;
    letter-spacing: .15em
}

.field-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #655c68
}

select {
    width: 100%;
    background: #fff;
    padding: 11px 12px;
    border: 1px solid #dcd5de;
    border-radius: 7px;
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    min-height: 43px
}

.searchbox {
    margin-top: 12px;
    display: flex;
    align-items: center;
    background: #f6f4f7;
    border: 1px solid #f0edf2;
    border-radius: 7px;
    padding: 11px 10px;
    gap: 8px;
    min-width: 0
}

.searchbox svg {
    width: 17px;
    height: 17px;
    color: #847888;
    display: block
}

.searchbox input {
    border: 0;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 12px;
    min-width: 0
}

.searchbox button {
    background: none;
    border: 0;
    padding: 0;
    font-size: 18px
}

.topic-label {
    margin-top: 21px
}

.topics {
    display: flex;
    flex-wrap: wrap;
    gap: 7px
}

.topics button {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 8px 10px;
    font-size: 12px;
    display: flex;
    gap: 6px;
    align-items: center
}

.topics button svg {
    width: 15px;
    height: 15px
}

.topics button[aria-pressed=true] {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff
}

.nearby {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    color: #6f6671
}

.nearby input {
    accent-color: var(--primary);
    width: 15px;
    height: 15px;
    margin: 0
}

.nearby span:last-child {
    margin-left: auto
}

.results-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 23px 12px;
    gap: 5px
}

.results-heading h2 {
    font-size: 15px
}

.results-heading>span {
    font-size: 11px;
    color: #8e8290
}

.results {
    overflow: auto;
    flex: 1;
    padding: 0 14px;
    min-height: 120px;
    scrollbar-width: thin
}

.result-card {
    width: 100%;
    text-align: left;
    background: #fff;
    border: 0;
    border-bottom: 1px solid var(--border);
    padding: 14px 10px;
    display: flex;
    gap: 11px;
    align-items: flex-start;
    border-radius: 7px;
    transition: background .2s
}

.result-card:hover,.result-card.active {
    background: var(--tint)
}

.category-icon {
    width: 35px;
    height: 35px;
    border-radius: 9px;
    background: var(--tint);
    color: var(--accent);
    display: grid;
    place-items: center;
    flex-shrink: 0
}

.category-icon svg {
    height: 19px;
    width: 19px
}

.result-body {
    flex: 1;
    min-width: 0
}

.result-title {
    font-size: 14px;
    font-weight: 600;
    display: block;
    line-height: 1.4
}

.result-address {
    font-size: 12px;
    color: #8d818e;
    display: block;
    margin-top: 4px;
    line-height: 1.45
}

.result-tag {
    font-size: 10px;
    color: var(--primary);
    display: inline-block;
    margin-top: 7px
}

.result-arrow {
    color: #b7a8b7;
    font-size: 17px;
    margin-top: 8px
}

.coverage-note {
    padding: 13px 23px;
    background: #fcfbfc;
    display: flex;
    gap: 9px;
    align-items: center;
    border-top: 1px solid var(--border)
}

.coverage-note p {
    font-size: 11px;
    line-height: 1.6;
    margin: 0;
    color: #8b7e8c
}

.coverage-note button {
    font-size: 11px;
    padding: 0;
    background: none;
    border: 0;
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px
}

.info-dot {
    border: 1px solid #b5a8b7;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    text-align: center;
    font-family: Georgia;
    font-size: 11px;
    color: #8b7e8c;
    flex-shrink: 0
}

.map-panel {
    position: relative;
    min-width: 0;
    isolation: isolate;
    background: #eef1ee
}

.map-panel #map {
    height: 100%;
    width: 100%;
    background: #eff2ef;
    z-index: 0
}

.map-top {
    position: absolute;
    top: 20px;
    left: 21px;
    z-index: 450;
    display: flex;
    align-items: center;
    gap: 13px;
    pointer-events: none
}

.map-back {
    border: 1px solid #e2dfe2;
    background: #fff;
    border-radius: 7px;
    box-shadow: 0 2px 10px #29292906;
    padding: 12px 13px;
    font-size: 12px;
    pointer-events: auto;
    display: flex;
    gap: 10px;
    align-items: center
}

.map-context {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-shadow: 0 1px 4px #fff,0 1px 4px #fff
}

.map-context strong {
    font-size: 18px;
    color: var(--primary)
}

.map-context span {
    font-size: 11px;    color: #7a767a
}

.map-switch {
    position: absolute;
    z-index: 450;
    right: 17px;
    top: 21px
}

.map-switch button {
    background: #ffffffeb;
    border: 1px solid #e3e0e2;
    border-radius: 7px;
    font-size: 11px;
    padding: 11px
}

.map-bottom {
    position: absolute;
    bottom: 27px;
    left: 22px;
    right: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    pointer-events: none;
    z-index: 450
}

.map-legend {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 10px;
    background: #fffffff0;
    border: 1px solid #e6e5e6;
    padding: 10px 12px;
    border-radius: 6px;
    color: #746c76
}

.legend-boundary {
    border-top: 2px solid var(--accent);
    width: 19px
}

.legend-cluster {
    margin-left: 7px;
    border: 1px solid var(--accent);
    color: var(--primary);
    border-radius: 50%;
    height: 19px;
    width: 19px;
    text-align: center;
    line-height: 17px;
    font-weight: 700;
    font-size: 9px
}

.map-helper {
    font-size: 10px;
    color: #7f7e80
}

.leaflet-control-zoom {
    border: 1px solid #e4dfe5!important;
    box-shadow: 0 3px 15px #3131310b!important;
    border-radius: 8px!important;
    overflow: hidden
}

.leaflet-control-zoom a {
    color: var(--primary)!important;
    width: 34px!important;
    height: 35px!important;
    line-height: 35px!important;
    font-weight: 400!important
}

.leaflet-top.leaflet-right {
    top: 70px;
    right: 7px
}

.leaflet-control-attribution {
    font-size: 9px!important;
    max-width: 100%
}

.leaflet-control-scale {
    margin-bottom: 75px!important
}

.municipal-label {
    background: none;
    border: 0;
    white-space: nowrap;
    text-align: center;
    color: #56545e;
    pointer-events: none;
    text-shadow: 0 1px 3px #fff,0 -1px 3px #fff,1px 0 3px #fff;
    font-family: 'DM Sans',sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3
}

.municipal-label.selected {
    color: var(--primary);
    font-weight: 700;
    font-size: 15px
}

.cluster-icon {
    background: none;
    border: 0
}

.cluster-button,.point-button {
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    border: 2px solid var(--accent);
    height: 34px;
    width: 34px;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 12px;
    box-shadow: 0 3px 8px #443b4b26;
    cursor: pointer;
    transition: transform .15s
}

.cluster-button:hover,.point-button:hover {
    transform: scale(1.12)
}

.point-button {
    height: 32px;
    width: 32px;
    color: white;
    background: var(--primary);
    border: 2px solid white
}

.point-button svg {
    width: 16px;
    height: 16px
}

.point-button.active {
    background: var(--accent);
    outline: 4px solid #ffffffa0
}

.leaflet-tooltip {
    font-family: inherit;
    font-size: 12px;
    border: 0;
    padding: 8px 12px;
    box-shadow: 0 2px 12px #0001
}

.detail-card {
    position: absolute;
    right: 22px;
    bottom: 75px;
    z-index: 600;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 50px #35293826;
    border: 1px solid var(--border);
    padding: 23px;
    width: 320px;
    max-width: calc(100% - 40px)
}

.detail-card h2 {
    font-size: 21px;
    line-height: 1.25;
    margin: 12px 24px 12px 0
}

.detail-card p {
    font-size: 13px;
    line-height: 1.6;
    color: #807583
}

.detail-close {
    position: absolute;
    top: 12px;
    right: 13px;
    border: 0;
    background: transparent;
    font-size: 24px;
    line-height: 1.2;
    padding: 5px
}

.detail-card .detail-address {
    padding: 12px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    font-size: 12px
}

.detail-card .detail-links {
    display: flex;
    gap: 8px;
    align-items: center
}

.detail-links a {
    font-size: 12px;
    text-decoration: none;
    display: block;
    padding: 11px 12px;
    border-radius: 6px;
    border: 1px solid var(--border)
}

.detail-links .primary-link {
    background: var(--primary);
    color: white;
    border-color: var(--primary)
}

.detail-card .meta {
    font-size: 10px;
    margin-bottom: 0
}

.empty {
    padding: 24px 10px;
    font-size: 14px;
    line-height: 1.65;
    color: #847487
}

.empty button {
    display: block;
    margin-top: 15px;
    background: var(--primary);
    color: white;
    border: 0;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 12px
}

footer {
    display: flex;
    justify-content: space-between;
    padding: 18px 2px;
    color: #958a96;
    font-size: 11px
}

dialog {
    border: 0;
    border-radius: 20px;
    max-width: 620px;
    width: calc(100% - 32px);
    padding: 35px;
    color: var(--ink);
    box-shadow: 0 20px 100px #0003
}

dialog::backdrop {
    background: #28242c80;
    backdrop-filter: blur(3px)
}

dialog h2 {
    font-family: var(--headline);
    font-size: 30px;
    font-weight: 500
}

dialog h3 {
    font-size: 16px;
    margin: 25px 0 7px
}

dialog p {
    font-size: 14px;
    line-height: 1.75;
    color: #756b78
}

dialog .dialog-close {
    position: absolute;
    right: 16px;
    top: 12px;
    border: 0;
    background: none;    font-size: 28px
}

.source-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.source-links a {
    font-size: 12px
}

dialog .meta {
    font-size: 11px
}

.leaflet-interactive:focus {
    outline: none;
    stroke: var(--primary);
    stroke-width: 4
}

.leaflet-container {
    font-family: inherit
}

#map-error {
    position: absolute;
    inset: 120px 25px auto;
    background: white;
    z-index: 650;
    padding: 25px;
    border-radius: 12px;
    color: var(--primary)
}

body[data-theme=online] {
    --primary: #245978;
    --accent: #5fa1c9;
    --tint: #eef7fd;
    --ink: #304c60;
    --mapfill: #d0e5ef;
    --headline: 'Montserrat',sans-serif;
    --radius: 24px;
    background: #f8fbfd;
    font-family: 'Montserrat',Arial,sans-serif
}

body[data-theme=online] .site-header {
    background: #5fa1c9;
    border: 0;
    color: white
}

body[data-theme=online] .wordmark,body[data-theme=online] .brand-symbol,body[data-theme=online] nav button,body[data-theme=online] .header-note {
    color: white
}

body[data-theme=online] .site-header .nav-active:after {
    background: #fff
}

body[data-theme=online] .workspace {
    grid-template-columns: 1fr 338px
}

body[data-theme=online] .sidebar {
    grid-column: 2;
    grid-row: 1;
    border-right: 0;
    border-left: 1px solid var(--border)
}

body[data-theme=online] .map-panel {
    grid-column: 1;
    grid-row: 1
}

body[data-theme=online] h1 {
    font-weight: 600;
    font-size: 35px
}

body[data-theme=online] .intro {
    padding-block:32px}

body[data-theme=online] .topics button {
    border-radius: 8px
}

body[data-theme=online] .brand-symbol {
    font-family: Arial;
    font-size: 45px;
    letter-spacing: -3px
}

body[data-theme=gemeente] {
    --primary: #253c4c;
    --accent: #d52336;
    --tint: #fbeff0;
    --ink: #233948;
    --mapfill: #e6dddd;
    --headline: Arial,sans-serif;
    --radius: 3px;
    background: #f8f9fa
}

body[data-theme=gemeente] .site-header {
    border-top: 5px solid var(--accent)
}

body[data-theme=gemeente] h1 {
    font-weight: 700;
    font-size: 37px
}

body[data-theme=gemeente] .brand-symbol {
    font-family: Arial;
    font-size: 36px;
    letter-spacing: -3px;
    background: #d52336;
    color: white;
    padding: 10px 13px 10px 10px
}

body[data-theme=gemeente] .intro em {
    color: var(--primary)
}

body[data-theme=gemeente] .topics button,body[data-theme=gemeente] select,body[data-theme=gemeente] .searchbox {
    border-radius: 3px
}

body[data-theme=gemeente] .eyebrow {
    color: #637380
}

body[data-theme=wijkwijzer] {
    --primary: #326052;
    --accent: #d16e27;
    --tint: #fff3e6;
    --ink: #345449;
    --mapfill: #dce8dc;
    --headline: 'DM Sans',sans-serif;
    --radius: 25px;
    background: #fffcf6
}

body[data-theme=wijkwijzer] h1 {
    font-weight: 700;
    font-size: 39px
}

body[data-theme=wijkwijzer] .brand-symbol {
    font-family: Arial;
    font-size: 40px;
    letter-spacing: -2px
}

body[data-theme=wijkwijzer] .site-header {
    background: #fffdf8
}

body[data-theme=wijkwijzer] .intro {
    padding-block:33px}

body[data-theme=wijkwijzer] .topics button {
    padding: 9px 12px
}

body[data-theme=wijkwijzer] .category-icon {
    border-radius: 50%;
    background: #edf4e8;
    color: #53734c
}

@media(min-width: 1600px) {
    .workspace {
        grid-template-columns:370px 1fr
    }

    body[data-theme=online] .workspace {
        grid-template-columns: 1fr 370px
    }

    .filter-area {
        padding-inline:28px}

    .topics button {
        font-size: 13px
    }

    .result-title {
        font-size: 15px
    }

    .map-helper {
        font-size: 12px
    }
}

@media(max-width: 1200px) {
    .design-label {
        display:none
    }

    .concept-label {
        display: none
    }

    .design-bar {
        justify-content: center
    }

    .site-header {
        gap: 30px;
        padding-inline:25px}

    .header-note {
        display: none
    }

    main {
        padding-inline:23px}

    .map-helper {
        display: none
    }

    .map-context span {
        display: none
    }

    .map-context strong {
        font-size: 16px
    }

    .map-switch {
        top: 70px;
        left: 20px;
        right: auto
    }

    .workspace {
        grid-template-columns: 310px 1fr
    }

    body[data-theme=online] .workspace {
        grid-template-columns: 1fr 310px
    }

    .map-top {
        gap: 10px
    }

    .intro-copy {
        max-width: 650px;
        line-height: 1.6
    }
}

@media(max-width: 760px) {
    .design-bar {
        padding:7px 8px;
        min-height: 44px;
        overflow: auto;
        justify-content: flex-start
    }

    .design-options {
        justify-content: flex-start;
        gap: 2px
    }

    .design-options button {
        font-size: 11px;
        padding: 8px 9px
    }

    .design-options i {
        width: 6px;
        height: 6px;
        margin-right: 5px
    }

    .site-header {
        height: 74px;
        padding: 0 18px;
        gap: 15px
    }

    .wordmark {
        font-size: 20px;
        min-width: 0;
        gap: 7px
    }

    .brand-symbol {
        font-size: 42px    }

    .brand-sub {
        font-size: 8px
    }

    .site-header nav {
        margin-left: auto;
        gap: 15px
    }

    .site-header nav button {
        font-size: 11px
    }

    .site-header nav #nav-map {
        display: none
    }

    main {
        padding: 0 12px
    }

    .intro {
        padding: 24px 7px 21px
    }

    .intro h1,body[data-theme] .intro h1 {
        font-size: 29px;
        line-height: 1.2;
        letter-spacing: -.8px
    }

    .eyebrow {
        font-size: 10px
    }

    .intro-copy {
        font-size: 12px;
        margin-top: 10px
    }

    .region-stat {
        display: none
    }

    .workspace,body[data-theme=online] .workspace {
        display: flex;
        flex-direction: column;
        height: auto;
        overflow: visible;
        border-radius: 14px
    }

    .map-panel,body[data-theme=online] .map-panel {
        height: 480px;
        min-height: 480px;
        order: 0;
        border-radius: 14px 14px 0 0;
        overflow: hidden
    }

    .sidebar,body[data-theme=online] .sidebar {
        order: 1;
        border: 0;
        border-top: 1px solid var(--border);
        border-radius: 0 0 14px 14px;
        overflow: visible
    }

    .filter-area {
        padding: 20px 20px 0
    }

    .sidebar-heading {
        margin-bottom: 15px
    }

    .topics {
        gap: 8px
    }

    .topics button {
        font-size: 13px
    }

    .field-label {
        font-size: 13px
    }

    .searchbox input {
        font-size: 14px
    }

    select {
        font-size: 16px
    }

    .searchbox {
        padding: 13px
    }

    .nearby {
        font-size: 13px
    }

    .results {
        max-height: 370px;
        min-height: 80px;
        padding: 0 12px
    }

    .result-title {
        font-size: 15px
    }

    .result-address {
        font-size: 13px
    }

    .result-tag {
        font-size: 11px
    }

    .coverage-note p,.coverage-note button {
        font-size: 12px
    }

    .map-top {
        top: 14px;
        left: 13px
    }

    .map-switch {
        top: 65px;
        left: 13px
    }

    .map-top strong {
        font-size: 14px
    }

    .map-back {
        font-size: 11px;
        padding: 11px
    }

    .map-bottom {
        left: 12px;
        right: 12px;
        bottom: 25px
    }

    .map-legend {
        font-size: 9px;
        padding: 8px
    }

    .municipal-label {
        font-size: 10px
    }

    .cluster-button {
        width: 29px;
        height: 29px;
        font-size: 11px
    }

    .detail-card {
        bottom: 58px;
        left: 12px;
        right: 12px;
        max-width: none;
        width: auto;
        padding: 17px
    }

    .detail-card h2 {
        font-size: 19px;
        margin-top: 8px
    }

    .detail-card p {
        font-size: 12px;
        margin-block:8px}

    .detail-card .detail-address {
        padding-block:8px}

    .detail-card .meta {
        font-size: 10px
    }

    footer {
        font-size: 10px;
        gap: 12px;
        line-height: 1.5;
        padding: 14px 5px
    }

    dialog {
        padding: 27px 22px
    }

    .source-links {
        grid-template-columns: 1fr
    }

    body[data-theme=gemeente] .brand-symbol {
        font-size: 23px;
        padding: 10px
    }

    .leaflet-control-scale {
        display: none
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto!important;
        transition: none!important
    }
}

/* Readable working controls across all four themes. */
.intro-copy {
    font-size: 16px
}

.field-label,.searchbox input,.topics button,.nearby {
    font-size: 14px
}

.result-title {
    font-size: 16px
}

.result-address {
    font-size: 14px
}

.result-tag {
    font-size: 12px
}

.results-heading>span {
    font-size: 12px
}

.coverage-note p,.coverage-note button {
    font-size: 12px
}

.design-options button {
    font-size: 14px
}

.detail-card p {
    font-size: 14px
}

.detail-links a {
    font-size: 14px
}

.detail-card .detail-address {
    font-size: 14px
}

.map-context span,.map-back,.map-switch button {
    font-size: 12px
}

.topics button {
    padding: 7px 9px
}

.sidebar-heading {
    margin-bottom: 14px
}

.topic-label {
    margin-top: 16px
}

.nearby {
    padding-block:14px}

.results {
    min-height: 140px
}

.filter-area {
    padding-top: 20px
}

body[data-theme=wijkwijzer] .topics button {
    padding: 7px 9px
}
@media(max-width: 760px) {
    .design-options button {
        font-size:12px
    }

    .intro-copy {
        font-size: 14px
    }

    .intro {
        padding-block:23px}

    .workspace {
        height: auto
    }

    .sidebar {
        min-height: 600px
    }

    .results {
        max-height: 450px
    }

    .map-context span {
        display: none
    }
}

.site-header nav {
    flex-wrap: wrap
}

.site-header nav a {
    font-size: 14px;
    text-decoration: none;
    color: var(--primary);
    padding: 8px
}

.detail-extra {
    font-size: 14px
}

.detail-card {
    max-height: calc(100% - 120px);
    overflow: auto
}

/* V10 · rustigere en logisch gegroepeerde hoofdnavigatie */
.site-header {
    gap: 42px;
}
.site-header nav {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: nowrap;
}
.site-header .nav-primary,
.site-header .nav-tools {
    display: flex;
    align-items: stretch;
    height: 100%;
    gap: 28px;
}
.site-header .nav-tools {
    margin-left: auto;
}
.site-header nav a,
.site-header nav button {
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    padding: 0 2px;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
}
.site-header nav a:hover,
.site-header nav button:hover {
    color: var(--primary);
}
.site-header nav .nav-active {
    color: var(--primary);
    font-weight: 600;
}
.site-header nav .nav-active::after {
    height: 3px;
}
.site-header .nav-tools::before {
    content: '';
    width: 1px;
    height: 24px;
    background: #e6dde4;
    align-self: center;
    margin-right: 2px;
}
.site-header .nav-manage {
    color: var(--primary);
    opacity: .68;
}

body[data-theme=online] .site-header nav a,
body[data-theme=online] .site-header nav button {
    color: rgba(255,255,255,.88);
}
body[data-theme=online] .site-header nav a:hover,
body[data-theme=online] .site-header nav button:hover,
body[data-theme=online] .site-header nav .nav-active {
    color:#fff;
}
body[data-theme=online] .site-header .nav-tools::before {
    background: rgba(255,255,255,.35);
}
body[data-theme=online] .site-header .nav-manage {
    color:#fff;
    opacity:.78;
}

@media (max-width: 1200px) {
    .site-header { gap: 24px; }
    .site-header .nav-primary,
    .site-header .nav-tools { gap: 20px; }
    .site-header nav { gap: 20px; }
}

@media (max-width: 900px) {
    .site-header .nav-primary #about { display:none; }
    .site-header .nav-tools::before { display:none; }
    .site-header .nav-primary,
    .site-header .nav-tools { gap: 16px; }
}

@media (max-width: 760px) {
    .site-header {
        height: auto;
        min-height: 74px;
        padding: 10px 18px 0;
        gap: 0;
        flex-wrap: wrap;
    }
    .wordmark {
        width: 100%;
        min-height: 52px;
    }
    .site-header nav {
        order: 2;
        width: 100%;
        height: 42px;
        margin-left: 0;
        gap: 22px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
    }
    .site-header nav::-webkit-scrollbar { display:none; }
    .site-header .nav-primary,
    .site-header .nav-tools {
        gap: 22px;
        flex: 0 0 auto;
    }
    .site-header nav #nav-map { display:inline-flex; }
    .site-header nav a,
    .site-header nav button { font-size: 12px; }
}


/* Aanvullingen voor de gegroepeerde broncatalogus. */
.results-section-title {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    padding:12px 10px 5px;
    color:#958996;
    font-size:9px;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase
}
.results-section-title span { font-weight:400 }
.catalog-match {
    display:block;
    margin-top:5px;
    color:#6f6471;
    font-size:11px;
    line-height:1.45
}
.result-tag.needs-review { color:#8b5a13 }
.all-offers-link {
    display:block;
    padding:12px 10px 15px;
    color:var(--primary);
    font-size:12px;
    font-weight:600;
    text-decoration:none
}
.detail-offers {
    display:grid;
    gap:8px;
    max-height:290px;
    overflow:auto;
    margin:14px 0
}
.detail-offer {
    padding:10px 11px;
    border:1px solid var(--border);
    border-radius:8px;
    background:#fcfbfc
}
.detail-offer strong,.detail-offer span,.detail-offer a { display:block }
.detail-offer strong { font-size:12px; color:var(--primary) }
.detail-offer span { margin-top:3px; color:#7b707d; font-size:10px; line-height:1.45 }
.detail-offer a { margin-top:6px; font-size:10px; font-weight:600; text-decoration:none }


/* DARK MODE · Sociale kaart Twente */
.scheme-toggle {
    align-self:center;
    border:1px solid var(--border)!important;
    border-radius:999px!important;
    height:auto!important;
    padding:8px 11px!important;
    margin:auto 0!important;
    line-height:1!important;
}
html[data-color-scheme="dark"] {
    color-scheme: dark;
    background:#17161a;
}
html[data-color-scheme="dark"] body {
    background:#17161a;
    color:#eee9ee;
    --primary:#f0b4d7;
    --accent:#e16caf;
    --tint:#352734;
    --ink:#f2edf1;
    --border:#4a4149;
    --mapfill:#413742;
}
html[data-color-scheme="dark"] .site-header,
html[data-color-scheme="dark"] .sidebar,
html[data-color-scheme="dark"] .workspace,
html[data-color-scheme="dark"] .result-card,
html[data-color-scheme="dark"] select,
html[data-color-scheme="dark"] .topics button {
    background:#211f24;
    color:#eee9ee;
}
html[data-color-scheme="dark"] .site-header {
    border-bottom-color:#3b363d;
}
html[data-color-scheme="dark"] .header-note,
html[data-color-scheme="dark"] .intro-copy,
html[data-color-scheme="dark"] .field-label,
html[data-color-scheme="dark"] .nearby,
html[data-color-scheme="dark"] .result-address,
html[data-color-scheme="dark"] .results-heading>span,
html[data-color-scheme="dark"] .coverage-note p,
html[data-color-scheme="dark"] .map-context span,
html[data-color-scheme="dark"] footer {
    color:#b9afb9;
}
html[data-color-scheme="dark"] .searchbox {
    background:#2a272d;
    border-color:#413b43;
}
html[data-color-scheme="dark"] .searchbox input {
    color:#f2edf1;
}
html[data-color-scheme="dark"] .topics button,
html[data-color-scheme="dark"] select {
    border-color:#4a424b;
}
html[data-color-scheme="dark"] .result-card {
    border-bottom-color:#403941;
}
html[data-color-scheme="dark"] .result-card:hover,
html[data-color-scheme="dark"] .result-card.active {
    background:#352734;
}
html[data-color-scheme="dark"] .category-icon {
    background:#382b36;
    color:#ef8ac4;
}
html[data-color-scheme="dark"] .coverage-note {
    background:#1d1b20;
    border-top-color:#403941;
}
html[data-color-scheme="dark"] .map-panel,
html[data-color-scheme="dark"] .map-panel #map {
    background:#22272a;
}
html[data-color-scheme="dark"] .leaflet-tile-pane {
    filter:brightness(.55) contrast(1.1) saturate(.65);
}
html[data-color-scheme="dark"] .map-back,
html[data-color-scheme="dark"] .map-switch button,
html[data-color-scheme="dark"] .map-legend,
html[data-color-scheme="dark"] .detail-card,
html[data-color-scheme="dark"] dialog,
html[data-color-scheme="dark"] .leaflet-bar a,
html[data-color-scheme="dark"] .leaflet-tooltip {
    background:#262329!important;
    color:#eee9ee!important;
    border-color:#4d454e!important;
}
html[data-color-scheme="dark"] .map-context {
    text-shadow:0 1px 4px #17161a,0 1px 4px #17161a;
}
html[data-color-scheme="dark"] .municipal-label {
    color:#ddd4dd;
    text-shadow:0 1px 3px #17161a,0 -1px 3px #17161a,1px 0 3px #17161a;
}
html[data-color-scheme="dark"] .municipal-label.selected {
    color:#f3b7d9;
}
html[data-color-scheme="dark"] .cluster-button {
    background:#27232a;
    color:#f5d9e9;
}
html[data-color-scheme="dark"] .detail-card p,
html[data-color-scheme="dark"] dialog p,
html[data-color-scheme="dark"] .detail-offer span,
html[data-color-scheme="dark"] .catalog-match {
    color:#c5bbc5;
}
html[data-color-scheme="dark"] .detail-card .detail-address,
html[data-color-scheme="dark"] .detail-offer {
    border-color:#4a4149;
}
html[data-color-scheme="dark"] .detail-offer {
    background:#201e22;
}
html[data-color-scheme="dark"] .location-note {
    background:#332a31;
    border-left:3px solid var(--accent);
    border-radius:6px;
    padding:9px 11px;
}
html[data-color-scheme="dark"] .leaflet-control-attribution {
    background:#201e22d9!important;
    color:#beb5bf!important;
}
html[data-color-scheme="dark"] .leaflet-control-attribution a {
    color:#e2a3c7!important;
}
@media(max-width:760px) {
    .scheme-toggle { flex:0 0 auto; }
}

html[data-color-scheme="dark"] body[data-theme="online"] {
    --primary:#a8d9f2;
    --accent:#69b9e7;
    --tint:#203542;
    --ink:#edf7fc;
}
html[data-color-scheme="dark"] body[data-theme="gemeente"] {
    --primary:#f2c0c7;
    --accent:#ef6676;
    --tint:#3e272d;
    --ink:#f8edef;
}
html[data-color-scheme="dark"] body[data-theme="wijkwijzer"] {
    --primary:#b8dfd2;
    --accent:#e69a60;
    --tint:#2b3832;
    --ink:#eff7f3;
}


/* SINGLE STYLE · Sociale Kaart Twente */
.design-bar,.intro,.coverage-note,.map-helper,.small-label { display:none!important; }
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.site-header{height:76px;padding:0 max(24px,calc((100vw - 1800px)/2 + 36px));gap:36px;background:#fffdf8}
.wordmark{min-width:260px;font-size:22px;letter-spacing:-.5px;gap:10px}
.brand-symbol,body[data-theme=wijkwijzer] .brand-symbol{font-family:'DM Sans',Arial,sans-serif;font-size:24px;line-height:1;letter-spacing:-1px;margin-right:2px;color:var(--accent);font-weight:800}
.brand-sub{font-size:9px;letter-spacing:.3em;margin-top:5px}
.site-header nav{margin-left:auto;justify-content:flex-end}
.site-header .nav-tools::before{display:none}
.site-header nav a,.site-header nav button{font-size:13px;font-weight:500}
.site-header .scheme-toggle{border:1px solid var(--border)!important;border-radius:999px!important;padding:8px 11px!important;height:auto!important;margin:auto 0!important;line-height:1!important}
main{max-width:1800px;padding:24px 36px 0}
.workspace{height:clamp(650px,calc(100vh - 145px),900px)}
.sidebar-heading{margin-bottom:16px}
.sidebar-heading h2{font-size:18px}
.results-heading h2{font-size:16px}
.result-card{padding-block:13px}
.result-tag,.result-arrow{display:none!important}
.map-context{gap:0}.map-context strong{font-size:17px}.map-bottom{bottom:18px}.leaflet-control-scale{margin-bottom:64px!important}
.site-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:30px;padding:20px 2px 24px;color:#756f72;font-size:11px;line-height:1.5}
.footer-copy{display:flex;gap:12px;flex-wrap:wrap}.footer-copy strong{color:var(--primary)}
.footer-links{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap}
.footer-links a,.footer-links button{border:0;background:none;padding:0;color:var(--primary);font:inherit;text-decoration:none;cursor:pointer}
.footer-links a:hover,.footer-links button:hover{text-decoration:underline;text-underline-offset:3px}
.legal-dialog{max-width:560px}.legal-dialog h2{margin-top:0}

/* Dark mode: icons keep their own readable accent instead of becoming white. */
html[data-color-scheme="dark"] .site-header{background:#211f24;border-color:#3b363d}
html[data-color-scheme="dark"] .site-footer{color:#b9afb9}
html[data-color-scheme="dark"] .footer-copy strong,
html[data-color-scheme="dark"] .footer-links a,
html[data-color-scheme="dark"] .footer-links button{color:#d9a06e}
html[data-color-scheme="dark"] .topics button{background:#27242a;color:#d8d0d8;border-color:#4b444c}
html[data-color-scheme="dark"] .topics button svg{color:#d9a06e;stroke:currentColor}
html[data-color-scheme="dark"] .topics button[aria-pressed="true"]{background:#34584d;border-color:#51786c;color:#f4eee8}
html[data-color-scheme="dark"] .topics button[aria-pressed="true"] svg{color:#f0b070}
html[data-color-scheme="dark"] .category-icon{background:#2e3832!important;color:#e5a269!important}
html[data-color-scheme="dark"] .category-icon svg{stroke:currentColor!important}
html[data-color-scheme="dark"] .point-button{background:#31594e!important;color:#f0b070!important;border-color:#171b19!important}
html[data-color-scheme="dark"] .point-button svg{stroke:currentColor!important}
html[data-color-scheme="dark"] .point-button.active{background:#8b562f!important;color:#fff0df!important;outline-color:#171b19a0!important}
html[data-color-scheme="dark"] .cluster-button{background:#252a27;color:#f0b070;border-color:#d88344}
html[data-color-scheme="dark"] .scheme-toggle{color:#eee9ee!important;border-color:#574f57!important}

@media(max-width:760px){
  .site-header{height:auto;min-height:64px;padding:8px 16px;gap:8px;flex-wrap:wrap}
  .wordmark{min-width:0;font-size:18px;min-height:46px}.brand-symbol,body[data-theme=wijkwijzer] .brand-symbol{font-size:20px}.brand-sub{font-size:7px}
  .site-header nav{order:2;width:100%;height:38px;margin:0;overflow-x:auto;scrollbar-width:none}.site-header nav::-webkit-scrollbar{display:none}
  .site-header .nav-tools{gap:18px;flex:0 0 auto}
  main{padding:14px 12px 0}.workspace{height:auto}
  .site-footer{flex-direction:column;gap:10px;padding:18px 4px 28px}.footer-copy{flex-direction:column;gap:3px}.footer-links{justify-content:flex-start;gap:12px}
}


/* Headercorrectie · SKT + altijd zichtbare navigatie */
.site-header .brand-symbol {
    min-width: 38px;
    letter-spacing: -1.6px;
}
.site-header .nav-tools > a {
    color: var(--primary);
    opacity: 1;
    visibility: visible;
}
html[data-color-scheme="dark"] .site-header .nav-tools > a {
    color: #f0e9ef;
}


/* Fysieke locaties versus organisaties die alleen in het gebied actief zijn. */
.active-area-toggle {
    margin-top: 16px;
    padding: 12px 11px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #faf8fa;
    cursor: pointer;
}
.active-area-toggle.disabled {
    opacity: .55;
    cursor: default;
}
.active-area-toggle input:disabled {
    cursor: default;
}
.active-here-count {
    min-width: 24px;
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--tint);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}
.results-section-title {
    min-height: 31px;
}
.results-section-title strong {
    color: #716773;
    font-size: 10px;
}
.results-section-title.secondary {
    margin-top: 5px;
    border-top: 1px solid var(--border);
    padding-top: 15px;
}
.results-section-title.secondary strong {
    color: var(--primary);
}
.results-section-title.secondary span {
    text-transform: none;
    letter-spacing: 0;
    font-size: 10px;
}
.empty.compact {
    padding: 16px 10px 20px;
    font-size: 12px;
    color: #8b828d;
}
html[data-color-scheme="dark"] .active-area-toggle {
    background: #27242a;
    border-color: #4a424b;
}
html[data-color-scheme="dark"] .active-here-count {
    background: #34584d;
    color: #f4eee8;
}
html[data-color-scheme="dark"] .results-section-title strong,
html[data-color-scheme="dark"] .empty.compact {
    color: #b9afb9;
}
html[data-color-scheme="dark"] .results-section-title.secondary strong {
    color: #b8dfd2;
}
@media(max-width:760px) {
    .active-area-toggle {
        margin-top: 14px;
        padding: 11px 10px;
    }
    .results-section-title.secondary span {
        display: none;
    }
}
