/* Buurtklimaat staging: the wip2 "Rondkijken" stylesheet (wip2.buurtklimaat.nl/app.css, the
   "Rondkijken 01c" design from the Buurtklimaat Design Lab), copied unchanged below the font
   faces. Staging-only components (preview line, respond box, source mix of joined things,
   group and sources pages) follow at the end, in the same idiom. Fonts are self-hosted
   (fonts/, OFL) instead of Google Fonts. */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/archivo-latin-wght-normal.woff2") format("woff2-variations");
  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: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/archivo-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Fraunces"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/fraunces-latin-opsz-wght-normal.woff2") format("woff2-variations");
  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: "Fraunces"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/fraunces-latin-ext-opsz-wght-normal.woff2") format("woff2-variations");
  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;
}

/* ================================================================== wip2 Rondkijken (unchanged) */
/* Rondkijken — the "Rondkijken 01c" design from the Buurtklimaat Design Lab (Paper):
   sunlit plaster, wet elm bark, elm leaf, lamplight only for "vandaag". */
:root {
  --ground: #F6F1E7; --paper: #FFFDF8; --ink: #1E2A22; --ink-2: #45493F; --ink-3: #5A5D50; --ink-4: #8A8676;
  --line: #DDD3C1; --line-2: #EEE7DA; --elm: #3F6A35; --elm-2: #2F5228; --lamp: #F2B63D; --canal: #3D6E7E;
  --tint-green: #EEF3E6; --tint-sand: #F3EDE2; --tint-red: #F7ECE6; --tint-blue: #E6EFF1; --tint-yellow: #FBF1D9; --tint-pink: #F8E9EC;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow-pill: 0 2px 10px rgba(30,42,34,.12);
  --map-h: 58vh;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.45; }
button { font: inherit; color: inherit; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--canal); outline-offset: 2px; }

/* ------------------------------------------------------------------ map */
#map { position: fixed; top: 0; left: 0; right: 0; height: var(--map-h); background: #F4EFE4; }
.maplibregl-ctrl-attrib { font-size: 11px; background: rgba(246,241,231,.85) !important; }
.maplibregl-ctrl-bottom-right { bottom: 30px; }

/* ------------------------------------------------------------------ header */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) 16px 0; pointer-events: none; }
.top::before { content: ""; position: absolute; inset: 0 0 -40px 0; background: linear-gradient(180deg, rgba(246,241,231,.95), rgba(246,241,231,0)); z-index: -1; }
.pill { pointer-events: auto; border: 0; background: var(--paper); box-shadow: var(--shadow-pill); height: 44px; border-radius: 999px; cursor: pointer; }
.place { display: flex; align-items: center; gap: 8px; padding: 0 16px 0 14px; font-weight: 500; max-width: calc(100vw - 92px); }
.place span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.round { width: 44px; display: grid; place-items: center; }

/* map bar: a kind shown across the city, and "look around here" after panning away */
.mapbar { position: fixed; z-index: 4; top: calc(env(safe-area-inset-top, 0px) + 66px); left: 0; right: 0; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 8px; padding: 0 16px; pointer-events: none; }
.mapbar .pill { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 16px; font-size: 14.5px; font-weight: 600; }
.lookhere { background: var(--ink); color: var(--paper); }
.lookhere:disabled { background: var(--paper); color: var(--ink-3); font-weight: 500; cursor: default; }
.chipf { padding-left: 6px !important; }
.chipf .ci { width: 30px; height: 30px; border-radius: 50%; background: var(--tint-sand); display: grid; place-items: center; }
.chipf .ci svg { width: 22px; height: 22px; }
.chipf .cx { color: var(--ink-3); font-size: 13px; margin-left: 2px; }

/* ------------------------------------------------------------------ sheet */
.sheet { position: relative; z-index: 3; margin-top: calc(var(--map-h) - 30px); min-height: 60vh; background: var(--ground);
  border-radius: 28px 28px 0 0; box-shadow: 0 -6px 24px rgba(30,42,34,.10);
  padding: 10px 16px calc(env(safe-area-inset-bottom, 0px) + 36px); }
.grip { width: 40px; height: 5px; border-radius: 999px; background: #D6CDBB; margin: 0 auto 14px; }
#overview, #detail { display: flex; flex-direction: column; gap: 20px; max-width: 560px; margin: 0 auto; }
.greet { display: flex; flex-direction: column; gap: 6px; padding: 0 4px; }
.eyebrow { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
h1 { font-family: var(--serif); font-size: 30px; line-height: 34px; font-weight: 600; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
.lede { margin: 0; color: var(--ink-2); line-height: 23px; }

.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #ECE4D4; }
.tabs button { flex: 1; height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-3); font-size: 15px; font-weight: 500; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 4px rgba(30,42,34,.10); }
[role="tabpanel"] { display: flex; flex-direction: column; gap: 20px; }

/* featured "vandaag" card */
.feature { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 16px; border-radius: 22px; background: var(--paper);
  box-shadow: 0 1px 2px rgba(30,42,34,.06), 0 8px 24px rgba(30,42,34,.07); border: 0; text-align: left; cursor: pointer; width: 100%; }
.feature .kop { display: flex; justify-content: space-between; align-items: center; }
.today-tag { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.lampdot { width: 10px; height: 10px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 0 4px rgba(242,182,61,.25); }
.walk { font-size: 14px; color: var(--ink-3); }
.feature .row { display: flex; align-items: center; gap: 12px; }
.feature h3 { flex: 1; font-family: var(--serif); font-size: 23px; line-height: 28px; font-weight: 600; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.feature p { margin: 0; color: var(--ink-2); line-height: 23px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 2px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink-2); border: 1px solid #DDD3C1; }
.chip.soft { border: 0; background: #F1EADC; }

/* groups and rows */
.group { display: flex; flex-direction: column; gap: 10px; }
.group-head { display: flex; align-items: baseline; justify-content: space-between; padding: 6px 4px 0; }
.group-head h2 { font-family: var(--serif); font-size: 19px; line-height: 24px; font-weight: 600; margin: 0; }
.group-head span { font-size: 14px; color: var(--ink-3); }
.item { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; background: var(--paper);
  box-shadow: 0 1px 2px rgba(30,42,34,.05); border: 0; width: 100%; text-align: left; cursor: pointer; }
.item:hover { box-shadow: 0 1px 2px rgba(30,42,34,.05), 0 6px 16px rgba(30,42,34,.08); }
.item .txt { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.item .ti { font-size: 17px; line-height: 22px; font-weight: 500; }
.item .su { font-size: 14px; line-height: 20px; color: var(--ink-3); }
.item .chev { width: 20px; flex-shrink: 0; display: flex; justify-content: flex-end; color: #8A8676; }
.coin { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; }
.coin svg { width: 36px; height: 36px; }
.coin.dashed { border: 1.5px dashed #A59F8E; }
.coin.big { width: 60px; height: 60px; }
.coin.big svg { width: 42px; height: 42px; }

/* project card */
.project { display: flex; flex-direction: column; gap: 16px; padding: 18px; border-radius: 22px; background: #1E2A22; color: #FFFDF8; border: 0; text-align: left; cursor: pointer; width: 100%; }
.project .ph { display: flex; align-items: flex-start; gap: 14px; }
.project .ph > div { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.project .pe { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: #B9C7A8; }
.project h3 { font-family: var(--serif); font-size: 23px; line-height: 28px; font-weight: 600; margin: 0; }
.project p { margin: 0; font-size: 15px; line-height: 21px; color: #D8DDD0; }
.project .coin { background: #FBF1D9; width: 64px; height: 64px; }
.project .coin svg { width: 46px; height: 46px; }
.bar { display: flex; align-items: center; height: 18px; }
.bar .done { height: 3px; background: #8DB173; }
.bar .todo { height: 3px; background-image: linear-gradient(90deg, #5E6B58 55%, transparent 55%); background-size: 8px 3px; }
.bar .knob { width: 18px; height: 18px; border-radius: 50%; background: var(--lamp); border: 3px solid #1E2A22; box-shadow: 0 0 0 2px var(--lamp); flex-shrink: 0; }
.bar .end { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.bar-y { display: flex; justify-content: space-between; font-size: 12px; font-weight: 500; color: #B9C7A8; padding-top: 6px; }
.bar-y b { color: var(--lamp); }
.steps { display: flex; flex-direction: column; gap: 10px; padding-top: 10px; border-top: 1px solid #36453A; }
.steps div { display: flex; gap: 12px; font-size: 15px; line-height: 20px; color: #D8DDD0; }
.steps div b { width: 64px; flex-shrink: 0; font-size: 13px; color: #B9C7A8; }
.steps div.now b { color: var(--lamp); }
.steps div.now { color: #FFFDF8; }
.project .more { display: flex; justify-content: space-between; font-size: 14px; }
.project .more b { color: var(--lamp); }
.project .more span { color: #8E9A86; font-size: 13px; }

/* rustig + patterns */
.rustig { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 20px; background: var(--paper); }
.rustig h3 { margin: 0 0 2px; font-family: var(--serif); font-size: 19px; font-weight: 600; }
.rustig p { margin: 0; font-size: 14px; color: var(--ink-3); }
.linkish { background: none; border: 0; padding: 0; color: var(--elm); font-weight: 600; cursor: pointer; }
.patterns { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 2px; }
.pattern { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 14px; background: #F1EADC; font-size: 14px; color: var(--ink-2); }
.pattern b { font-variant-numeric: tabular-nums; color: var(--ink); }

.source { display: flex; gap: 12px; align-items: flex-start; padding: 16px 4px 0; border-top: 1px solid #E3DACA; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.source svg { flex-shrink: 0; margin-top: 2px; }
.empty { color: var(--ink-3); font-size: 15px; padding: 4px; }

/* ------------------------------------------------------------------ detail */
.back { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 8px; border-radius: 999px; border: 0; background: var(--paper); box-shadow: var(--shadow-pill); font-weight: 500; cursor: pointer; }
.dkick { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--elm-2); }
.dkick i { width: 8px; height: 8px; border-radius: 50%; background: var(--elm); display: inline-block; }
.dkick.live i { background: var(--lamp); box-shadow: 0 0 0 3px rgba(242,182,61,.3); }
.dtitle { display: flex; gap: 14px; align-items: flex-start; }
.dtitle h2 { flex: 1; font-family: var(--serif); font-size: 28px; line-height: 32px; font-weight: 600; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
.dsub { margin: 0; font-size: 17px; line-height: 25px; color: #34382F; }
.why { display: flex; gap: 14px; padding: 4px 2px; }
.why .rule { width: 3px; flex-shrink: 0; border-radius: 999px; background: var(--elm); }
.why .wl { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 6px; }
.why q { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 26px; quotes: "“" "”"; }
.h3 { font-family: var(--serif); font-size: 19px; line-height: 24px; font-weight: 600; margin: 0 2px; }
.timeline { display: flex; flex-direction: column; padding: 4px 2px; }
.step { display: flex; gap: 14px; }
.step .rail { width: 14px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; }
.step .dot { width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--elm); }
.step .dot.today { width: 14px; height: 14px; margin-top: 3px; background: var(--lamp); border: 3px solid var(--paper); box-shadow: 0 0 0 1px #E0C68B; }
.step .dot.later { background: var(--ground); border: 2px solid #A59F8E; }
.step .line { width: 2px; flex: 1; background: var(--elm); min-height: 10px; }
.step .line.later { background-image: linear-gradient(180deg, #C9BFAA 50%, transparent 50%); background-size: 2px 6px; }
.step .body { display: flex; flex-direction: column; gap: 1px; padding-bottom: 14px; }
.step .body b { font-size: 14px; }
.step .body span { font-size: 15px; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 2px; font-size: 15px; }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; }
.sources { list-style: none; margin: 0; padding: 6px 16px; border-radius: 20px; background: var(--paper); }
.sources li { padding: 10px 0; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; line-height: 20px; }
.sources li:first-child { border-top: 0; }
.sources a { color: var(--ink); text-decoration: none; }
.sources a:hover { text-decoration: underline; }
.sources small { color: var(--ink-4); font-size: 12.5px; }
.allsrc { align-self: flex-start; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; height: 40px; padding: 0 16px; font-weight: 600; font-size: 14px; cursor: pointer; }
.allsrc:disabled { color: var(--ink-3); cursor: default; }
.how { font-size: 13.5px; color: var(--ink-3); margin: 0 2px; }
.parent { align-self: flex-start; border: 0; background: #1E2A22; color: #FFFDF8; border-radius: 14px; padding: 10px 14px; text-align: left; cursor: pointer; font-size: 14px; }
.parent b { color: var(--lamp); }

/* ------------------------------------------------------------------ markers */
.mk { width: 46px; height: 46px; border-radius: 50%; background: var(--paper); border: 1px solid rgba(30,42,34,.14);
  box-shadow: 0 3px 10px rgba(30,42,34,.2), 0 1px 2px rgba(30,42,34,.12); display: grid; place-items: center; cursor: pointer; padding: 0; }
.mk svg { width: 34px; height: 34px; }
.mk.dashed { width: 38px; height: 38px; border: 1.5px dashed #8A8676; box-shadow: none; }
.mk.dashed svg { width: 26px; height: 26px; }
.mk.dim { opacity: .35; }
.mk.sel { box-shadow: 0 0 0 4px #1E2A22, 0 3px 10px rgba(30,42,34,.3); }
.mk-today { display: flex; flex-direction: column; align-items: center; gap: 4px; pointer-events: none; }
.mk-today .glow { width: 62px; height: 62px; border-radius: 50%; background: rgba(242,182,61,.38); display: grid; place-items: center; pointer-events: auto; }
.mk-today .label { display: flex; align-items: center; gap: 6px; padding: 6px 11px 6px 9px; border-radius: 999px; background: #1E2A22; color: #FFFDF8; font-size: 12px; font-weight: 500; white-space: nowrap; }
.mk-today .label i { width: 7px; height: 7px; border-radius: 50%; background: var(--lamp); }
.far .mk { width: 34px; height: 34px; }
.far .mk svg { width: 25px; height: 25px; }
.far .mk.dashed { width: 30px; height: 30px; }
.far .mk.dashed svg { width: 21px; height: 21px; }
.far .mk-today .glow { width: 44px; height: 44px; margin-top: 9px; }   /* keeps its centre on the spot (anchor offset is 31px) */
.far .mk-today .label { display: none; }
.here { width: 24px; height: 24px; border-radius: 50%; background: rgba(30,42,34,.14); display: grid; place-items: center; }
.here::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #1E2A22; border: 2.5px solid var(--paper); }

/* ------------------------------------------------------------------ search */
.search { position: fixed; inset: 0; z-index: 10; background: rgba(30,42,34,.28); display: flex; justify-content: center; align-items: flex-start;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) 12px 12px; }
.search-box { width: min(560px, 100%); background: var(--ground); border-radius: 22px; padding: 12px; box-shadow: 0 10px 40px rgba(30,42,34,.25); display: flex; flex-direction: column; gap: 10px; max-height: 80vh; overflow: auto; }
.search-row { display: flex; gap: 8px; }
.search input { flex: 1; min-width: 0; height: 48px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); padding: 0 14px; font: inherit; font-size: 16px; color: var(--ink); }
.close { width: 48px; height: 48px; border-radius: 14px; border: 0; background: var(--paper); cursor: pointer; font-size: 18px; }
.locate { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 14px; border: 0; background: var(--tint-green); color: var(--elm-2); font-weight: 600; cursor: pointer; }
.results { list-style: none; margin: 0; padding: 0; }
.results button { width: 100%; text-align: left; border: 0; background: none; padding: 12px 10px; border-radius: 12px; cursor: pointer; display: flex; flex-direction: column; }
.results button:hover, .results button:focus-visible { background: var(--paper); }
.results small { color: var(--ink-3); font-size: 13px; }
.results .sec { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 12px 10px 4px; }
.results .sec span { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink-4); margin-left: 6px; }
.results .hit { flex-direction: row; align-items: center; gap: 12px; padding: 8px 10px; }
.results .hit .txt { display: flex; flex-direction: column; min-width: 0; }
.results .hit .ti { font-weight: 500; }
.results .hit .coin { width: 38px; height: 38px; flex-shrink: 0; }
.results .hit .coin svg { width: 28px; height: 28px; }
.note { margin: 0; font-size: 13.5px; color: var(--ink-3); padding: 0 4px 4px; }
.ex { border: 0; background: none; padding: 0; color: var(--elm); font-weight: 600; cursor: pointer; font-size: inherit; }

/* ------------------------------------------------------------------ desktop */
@media (min-width: 920px) {
  :root { --map-h: 100vh; }
  #map { height: 100vh; }
  .top { left: 0; right: auto; width: 460px; }
  .top::before { display: none; }
  .sheet { position: fixed; top: 76px; left: 16px; bottom: 16px; width: 440px; margin: 0; min-height: 0; overflow-y: auto; border-radius: 26px; padding: 18px 18px 28px; }
  .grip { display: none; }
  .maplibregl-ctrl-bottom-right { bottom: 0; }
  .mapbar { left: 472px; top: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.step .body span.kop { color: var(--ink); font-weight: 500; }

/* ================================================================== staging additions
   New components in the Rondkijken idiom, for what the new platform adds: the preview line,
   respond deadlines, several berichten from several sources as one thing (the source mix),
   the project page and the Bronnen page. Same palette, radii, type and rhythm as above. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sheet a { color: var(--elm-2); font-weight: 600; text-underline-offset: .18em; }
.sheet .sources a { color: var(--ink); font-weight: 500; }
.map-fail { position: absolute; top: 80px; left: 0; right: 0; text-align: center; color: var(--ink-3); }
#overview, #detail { max-width: 560px; }

/* preview: always at the top of the sheet (a testversion, and not the gemeente) */
.preview { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; max-width: 560px; margin: 0 auto 14px; padding: 0 4px;
  font-size: 13px; line-height: 18px; color: var(--ink-3); }
.preview a { font-weight: 600; }
.chip.preview-chip { height: 24px; border: 0; background: var(--lamp); color: var(--ink); font-weight: 600; font-size: 12px; letter-spacing: .02em; }

/* rows: the sources a thing was joined from, under the subline */
.item .tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 3px; }
.item .tags .prog { font-size: 12.5px; color: var(--ink-3); }
.item .tags .prog::before { content: "onderdeel van "; }

/* the source mix: "BouwApp 316 · KOOP 30 · WIOR 2". Joined from several sources: one pill in
   the elm tint with a link mark; from one source: a plain chip */
.mix { display: inline-flex; align-items: center; flex-wrap: wrap; max-width: 100%; padding: 1px 9px; border-radius: 999px;
  background: var(--ground); color: var(--ink-3); font-size: 12.5px; line-height: 19px; }
.mix .src { white-space: nowrap; }
.mix .src + .src::before { content: "·"; margin: 0 5px; color: var(--ink-4); }
.mix .src b { font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.mix.joined { background: var(--tint-green); color: var(--elm-2); box-shadow: inset 0 0 0 1px #CFDDBF; }
.mix.joined .src b { color: var(--elm-2); }
.mix.joined .src + .src::before { color: #8DB173; }
.mix .lk { margin-right: 5px; flex-shrink: 0; }
.chips .mix { height: 28px; padding: 0 10px; }
.item.joined .coin { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px #9CB58A; }
.project .pp { font-size: 13px; color: #B9C7A8; }
.project .pmix .mix { background: #2B3A2F; color: #D8DDD0; box-shadow: none; }
.project .pmix .mix.joined { background: #33503A; color: #E6EFD9; }
.project .pmix .mix .src b { color: #FFFDF8; }
.project .pmix .mix .src + .src::before { color: #8E9A86; }
.group .allsrc { align-self: flex-start; }
.more-rows { display: flex; flex-direction: column; gap: 10px; }
.more-rows[hidden] { display: none !important; }

/* small things (resident reports, container rounds, lamp faults): counted, one tap away */
details.minor { border-radius: 18px; background: var(--paper); box-shadow: 0 1px 2px rgba(30,42,34,.05); }
details.minor > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px;
  cursor: pointer; font-size: 14.5px; color: var(--ink-2); }
details.minor > summary::-webkit-details-marker { display: none; }
details.minor > summary .chev { color: #8A8676; transition: transform .15s; }
details.minor[open] > summary .chev { transform: rotate(90deg); }
details.minor > .group { padding: 0 10px 12px; }
details.minor .item { box-shadow: none; background: var(--ground); }

/* respond: the one date a resident can act on */
.respond { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 18px; background: var(--tint-green);
  border-left: 4px solid var(--elm); }
.respond .rl { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--elm-2); }
.respond p { margin: 0; font-size: 16px; line-height: 23px; }
.respond p b { font-weight: 600; }
.respond .basis { font-size: 13.5px; line-height: 19px; color: var(--ink-3); }
.respond a { font-size: 14.5px; }
.respond.info { background: var(--tint-yellow); border-left-color: var(--lamp); }
.respond.info .rl { color: #8A6A12; }

.let-op { margin: 0; padding: 10px 14px; border-radius: 14px; background: var(--tint-red); font-size: 14.5px; line-height: 20px; color: #6B2A12; }
.why q { display: block; }

/* project page */
.wat p { margin: 0 2px 10px; font-size: 16px; line-height: 24px; color: #34382F; }
.wat details summary { cursor: pointer; color: var(--elm-2); font-weight: 600; margin: 0 2px 8px; }
.step.sub { padding-left: 18px; }
.step .body b .st { font-weight: 500; color: var(--ink-3); }
.sources.plain li { font-size: 15px; color: var(--ink-2); }
.sources li > span { font-weight: 500; }
.dtitle h2.long { font-size: 22px; line-height: 27px; }

/* group page: the programme it is part of, the sources at a glance, every record per source */
.crumb { align-self: flex-start; display: block; margin: -8px 2px -6px; padding: 0; border: 0; background: none;
  color: var(--ink-3); font-size: 13.5px; line-height: 19px; cursor: pointer; text-align: left; }
.crumb b { color: var(--elm-2); font-weight: 600; }
.glance { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.glance .mix { font-size: 13.5px; line-height: 22px; padding: 2px 11px; }
.glance > span:last-child { margin: 0 2px; font-size: 13.5px; color: var(--ink-3); }
.srcgroups { display: flex; flex-direction: column; gap: 10px; }
details.srcgroup { border-radius: 20px; background: var(--paper); }
details.srcgroup > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 13px 16px; cursor: pointer; }
details.srcgroup > summary::-webkit-details-marker { display: none; }
details.srcgroup .sn { flex: 1; font-size: 15px; font-weight: 600; }
details.srcgroup .sc { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
details.srcgroup .chev { display: flex; color: #8A8676; transition: transform .15s; }
details.srcgroup[open] .chev { transform: rotate(90deg); }
details.srcgroup > .sources { padding-top: 0; background: none; }
details.srcgroup > .sources li:first-child { border-top: 1px solid var(--line-2); }
details.srcgroup > .allsrc { margin: 0 16px 14px; }
.sources small .why-in { color: var(--elm-2); }

/* map: a marker joined from several sources carries their number; hover shows the mix */
/* (a marker root is absolute already: MapLibre places it; only the inner coin of a "vandaag" marker needs a box) */
.mk-today .glow .mk { position: relative; }
.mk .nsrc { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--elm); color: #FFFDF8; border: 2px solid var(--paper); font-size: 11px; font-weight: 700; line-height: 15px; text-align: center; }
.maplibregl-popup.mixpop .maplibregl-popup-content { padding: 9px 11px; border-radius: 14px; background: var(--paper);
  box-shadow: 0 4px 16px rgba(30,42,34,.18); font-family: var(--sans); }
.maplibregl-popup.mixpop .maplibregl-popup-tip { display: none; }
.mixpop .pt { margin-bottom: 5px; font-size: 13.5px; font-weight: 600; line-height: 18px; color: var(--ink); }
