:root{color-scheme:light;--surface:#fff;--muted:#62605a;--brand-fill:#1648e8}
html[data-theme=dark]{color-scheme:dark;--paper:#141414;--ink:#f3f0e8;--line:#42413d;--surface:#1c1c1b;--muted:#b9b7b0;--blue:#9bb3ff;--brand-fill:#1648e8}
body{background:var(--paper);color:var(--ink)}button,input,select,textarea{color:inherit}input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
.header{background:var(--surface);border-bottom-color:var(--line)}.site-tools{display:flex;gap:12px;align-items:center;flex:none}.theme-control{position:relative}.theme-toggle{width:44px;height:44px;border:1px solid var(--line);background:transparent;display:grid;place-items:center;color:var(--ink)}.theme-toggle svg,.site-menu summary svg{width:22px;height:22px}.theme-options{position:absolute;right:0;top:52px;background:var(--surface);color:var(--ink);border:1px solid var(--line);padding:6px;width:150px;box-shadow:0 6px 25px #0002;z-index:100}.theme-options[hidden]{display:none}.theme-options button{display:block;width:100%;border:0;padding:13px;text-align:left;background:transparent;color:var(--ink);font-size:13px}.theme-options button[aria-pressed=true]{background:var(--brand-fill);color:#fff}.ui-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.site-menu{display:none}.site-menu summary{list-style:none;width:44px;height:44px;display:grid;place-items:center;cursor:pointer}.site-menu summary::-webkit-details-marker{display:none}.site-menu-panel{position:absolute;top:100%;left:0;right:0;padding:16px 5% 24px;background:var(--surface);border-bottom:1px solid var(--line);box-shadow:0 12px 20px #0002}.header .site-menu-panel a{padding:14px 0;font-size:16px;border-bottom:1px solid var(--line)}
html[data-theme=dark] .brand img{filter:invert(1)}
html[data-theme=dark] :is(.work,.ecosystem-card,.announcements-body,.page-panel,.place-list,.list-heading){background:var(--surface)}
html[data-theme=dark] :is(.programme-row p,.programme-row .number,.programme-note,.archive-note,.save-note,.area,.place-card .tip,.map-after .editorial-note,.about-colophon .about-dedication,.press-links>a>span){color:var(--muted)}
.editorial-page .form-note{color:var(--muted)}
:is(.contact,.newsletter,.ticker,.nav-contact){background:var(--brand-fill);color:white}
html[data-theme=dark] .media-network{background:#090909;color:#f3f0e8}
html[data-theme=dark] :is(.contact,.newsletter) .submit{background:#f5f2ea;color:#111}
html[data-theme=dark] form option{background:var(--surface);color:var(--ink)}
html[data-theme=dark] .languages button{color:var(--muted)}html[data-theme=dark] .languages button[aria-pressed=true]{color:var(--ink)}
html[data-theme=dark] :is(.skip,dialog){background:var(--surface);color:var(--ink)}
html[data-theme=dark] :is(.map-column,.leaflet-container){background:#252727}
html[data-theme=dark] .leaflet-tile-pane{filter:grayscale(1) invert(1) contrast(.8) brightness(.8)}
html[data-theme=dark] :is(.map-signature,.leaflet-control-attribution){background:#141414ed!important;color:var(--ink)}
html[data-theme=dark] .map-pin span{background:#1648e8;color:white;border-color:#d9e1ff}
html[data-theme=dark] .map-pin span:after{border-top-color:#1648e8}
html[data-theme=dark] .map-pin.selected span,html[data-theme=dark] .map-pin:hover span{background:#f3f0e8;color:#111}
html[data-theme=dark] .map-pin.selected span:after,html[data-theme=dark] .map-pin:hover span:after{border-top-color:#f3f0e8}
html[data-theme=dark] :is(.map-toolbar button[aria-pressed=true],.mobile-views button[aria-pressed=true],.save-place[aria-pressed=true],.archive-filters button){background:var(--brand-fill);color:white;border-color:var(--brand-fill)}
html[data-theme=dark] .save-place:hover{background:#333}
html[data-theme=dark] .leaflet-popup-close-button{color:var(--ink)!important}
@media(max-width:1100px){.header{gap:10px}.header>nav{display:none!important}.site-menu{display:block}.header .site-menu-panel{display:flex!important;flex-direction:column;gap:0;max-width:none;overflow:visible;align-items:stretch}.header .site-menu-panel a{display:block!important}.site-tools{margin-left:auto;gap:7px}.header .brand{flex:none}.header{z-index:2000}}
@media(max-width:400px){.site-tools{gap:3px}.header .brand{width:90px}.languages{gap:4px}.theme-toggle,.site-menu summary{width:40px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation-duration:.01ms!important;transition-duration:.01ms!important}}

html[data-theme=dark] .capture-tools button{background:var(--brand-fill);color:#fff}.site-menu:not([open]) .site-menu-panel{display:none!important}

html[data-theme=dark] .brand img{mix-blend-mode:screen}.unsubscribe-action{background:var(--brand-fill);color:#fff;padding:16px 24px;border:0;margin:25px 0;min-height:48px}
