:root {
  --sand: #f6f1e7; --paper: #fffdf8; --ink: #1c2a24; --muted: #66756d; --line: #e2d9c8;
  --earth: #b5452c; --forest: #1f4d3a; --amber: #c98a1b; --sky: #2f6f8f; --grey: #8a948e;
  --radius: 12px;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { font-family: "DM Sans", system-ui, sans-serif; color: var(--ink); background: var(--sand); font-size: 15px; line-height: 1.45; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; margin: 0; line-height: 1.15; }
h2 { font-size: 1.35rem; margin-bottom: 6px; }
h3 { font-size: 1.05rem; margin: 22px 0 8px; }
p { margin: 6px 0; }
small, .small { font-size: 0.82rem; }
.muted { color: var(--muted); }

.app { display: grid; grid-template-columns: minmax(360px, 460px) 1fr; height: 100vh; }
.side { display: flex; flex-direction: column; background: var(--paper); border-right: 1px solid var(--line); min-height: 0; }
#map { height: 100%; min-height: 300px; }

.top { display: flex; justify-content: space-between; gap: 10px; padding: 16px 18px 10px; }
.brand { display: flex; gap: 10px; align-items: flex-start; }
.logo { font-size: 30px; color: var(--earth); line-height: 1; }
.brand h1 { font-size: 1.55rem; letter-spacing: -0.01em; }
.brand p { margin: 2px 0 0; color: var(--muted); font-size: 0.86rem; max-width: 30ch; }
.lang { display: flex; gap: 2px; align-self: flex-start; }
.lang button { border: 1px solid var(--line); background: none; padding: 4px 7px; font: inherit; font-size: 0.75rem; cursor: pointer; color: var(--muted); }
.lang button:first-child { border-radius: 8px 0 0 8px; } .lang button:last-child { border-radius: 0 8px 8px 0; }
.lang button.on { background: var(--forest); color: #fff; border-color: var(--forest); }

.search, .row { display: flex; gap: 6px; }
.search { padding: 0 18px; }
input, select, textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; min-width: 0; }
input:focus, select:focus, textarea:focus, button:focus-visible { outline: 2px solid var(--sky); outline-offset: 1px; }
.btn { font: inherit; font-weight: 700; border: 1px solid var(--forest); background: var(--forest); color: #fff; border-radius: 10px; padding: 10px 14px; cursor: pointer; white-space: nowrap; }
.btn.ghost { background: none; color: var(--forest); }
.btn.icon { padding: 10px 12px; font-size: 1.1rem; line-height: 1; }
.btn.small { padding: 6px 10px; font-size: 0.82rem; }
.status { min-height: 1.2em; padding: 0 18px; font-size: 0.85rem; color: var(--muted); margin: 6px 0 0; }
.status.bad { color: var(--earth); }

.tabs { display: flex; gap: 2px; padding: 8px 12px 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab { font: inherit; font-size: 0.86rem; font-weight: 500; background: none; border: none; border-bottom: 3px solid transparent; padding: 8px 9px; cursor: pointer; color: var(--muted); white-space: nowrap; }
.tab.on { color: var(--ink); border-bottom-color: var(--earth); font-weight: 700; }

.panels { flex: 1; overflow-y: auto; min-height: 0; }
.panel { display: none; padding: 16px 18px 24px; }
.panel.on { display: block; }
.foot-note { padding: 8px 18px; border-top: 1px solid var(--line); font-size: 0.72rem; color: var(--muted); }
.foot { margin-top: 18px; }

.empty { padding: 20px 4px; }
.empty h2 { font-size: 1.6rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip { font: inherit; font-size: 0.85rem; border: 1px solid var(--line); background: var(--sand); border-radius: 999px; padding: 5px 12px; cursor: pointer; }
.chip:hover { border-color: var(--earth); }

.place-head .summary { background: var(--sand); border-left: 4px solid var(--forest); padding: 8px 12px; border-radius: 0 8px 8px 0; margin-top: 10px; }
.loading { color: var(--muted); font-style: italic; }

.cards { display: grid; gap: 8px; }
.card { border: 1px solid var(--line); border-left: 5px solid var(--grey); border-radius: var(--radius); background: #fff; padding: 0 14px; }
.card.plain { padding: 10px 14px; }
.card > summary { list-style: none; cursor: pointer; padding: 11px 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.card > summary::-webkit-details-marker { display: none; }
.card[open] { padding-bottom: 12px; }
.card-title { font-weight: 700; display: block; }
.headline { font-family: "Fraunces", Georgia, serif; font-size: 1.05rem; font-weight: 700; text-align: right; white-space: nowrap; }
.headline small { font-family: "DM Sans", sans-serif; font-weight: 400; color: var(--muted); display: block; font-size: 0.72rem; }
.card.v-confirmed { border-left-color: var(--earth); }
.card.v-likely { border-left-color: var(--amber); }
.card.v-single { border-left-color: var(--sky); }
.card.v-conflict { border-left-color: #6b4fa3; }
.badge { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; margin-top: 4px; background: #eceee9; color: #4d5a53; }
.badge.v-confirmed, .badge.l-now { background: var(--earth); color: #fff; }
.badge.v-likely, .badge.l-rising { background: #f3dfb4; color: #6b4a05; }
.badge.v-single { background: #d5e6ee; color: #1d4c63; }
.badge.v-conflict { background: #e3dbf2; color: #46317a; }
.chart-wrap { height: 190px; margin: 8px 0; }
.wit { width: 100%; border-collapse: collapse; font-size: 0.78rem; margin-top: 6px; }
.wit th { text-align: left; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--line); padding: 4px 6px 4px 0; }
.wit td { padding: 5px 6px 5px 0; border-bottom: 1px solid #f0eadc; vertical-align: top; }
.wit td.sig { font-weight: 700; color: var(--earth); }
.explain { font-size: 0.85rem; background: var(--sand); padding: 8px 10px; border-radius: 8px; margin-top: 8px; }

.card.h-now { border-left-color: var(--earth); } .card.h-rising { border-left-color: var(--amber); }
.card ul { margin: 6px 0; padding-left: 18px; } .card li { margin: 4px 0; }
.why { font-size: 0.88rem; background: var(--sand); padding: 8px 10px; border-radius: 8px; }
.disclaimer { font-size: 0.8rem; color: var(--muted); border-top: 1px dashed var(--line); margin-top: 16px; padding-top: 10px; }

.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.day { border: 1px solid var(--line); border-radius: 10px; padding: 6px 3px; text-align: center; font-size: 0.76rem; display: grid; gap: 2px; background: #fff; }
.day b { font-size: 0.72rem; }
.day.warn { background: #fbf0d6; border-color: var(--amber); } .day.danger { background: #f6d9d1; border-color: var(--earth); }
.events, .reports { list-style: none; padding: 0; margin: 0; }
.events li { padding: 6px 0; border-bottom: 1px solid #f0eadc; font-size: 0.88rem; }
.reports li { display: flex; gap: 10px; padding: 9px 4px; border-bottom: 1px solid #f0eadc; cursor: pointer; font-size: 0.88rem; }
.reports li:hover { background: var(--sand); }
.reports .k { font-size: 1.3rem; }
#report-form { display: grid; gap: 8px; margin: 8px 0 4px; }
.emoji-pin { font-size: 20px; line-height: 30px; text-align: center; background: #fff; border-radius: 50%; border: 2px solid var(--forest); box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.emoji-pin.k-need { border-color: var(--earth); } .emoji-pin.k-donate, .emoji-pin.k-partner { border-color: var(--amber); }
.pin-pop { display: grid; gap: 6px; }

.cmp { width: 100%; border-collapse: collapse; font-size: 0.82rem; margin-top: 12px; }
.cmp th, .cmp td { text-align: left; padding: 7px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp th { font-family: "Fraunces", Georgia, serif; }

@media (max-width: 820px) {
  .app { grid-template-columns: 1fr; grid-template-rows: 42vh auto; height: auto; min-height: 100vh; }
  #map { grid-row: 1; height: 42vh; }
  .side { grid-row: 2; border-right: none; border-top: 1px solid var(--line); }
  .panels { overflow: visible; }
  .headline { font-size: 0.95rem; white-space: normal; }
}

.giov-badge { font-size: 0.82rem; background: #e6f0ea; border-left: 4px solid var(--forest); padding: 6px 10px; border-radius: 0 8px 8px 0; margin-top: 8px; }
.emoji-pin.k-care { border-color: #1f4d3a; color: #1f4d3a; font-size: 14px; line-height: 24px; font-weight: 700; }
.reports.care .k { color: var(--forest); font-weight: 700; }

/* --- geocare.life extras --- */
.tools { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 10px; }
.tools p { flex-basis: 100%; margin: 2px 0; }
.quant { font-size: 0.86rem; margin-top: 8px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 8px 0; }
.seg button { font: inherit; font-size: 0.85rem; border: none; background: #fff; padding: 7px 12px; cursor: pointer; color: var(--muted); }
.seg button.on { background: var(--forest); color: #fff; font-weight: 700; }
.seg.small button { padding: 4px 10px; font-size: 0.78rem; }
.me summary { padding: 4px 0; }
.plabel { font-weight: 700; font-size: 0.82rem; margin: 10px 0 4px; }
.pchips { display: flex; flex-wrap: wrap; gap: 5px; }
.pchip { font-size: 0.8rem; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; cursor: pointer; background: #fff; user-select: none; }
.pchip input { position: absolute; opacity: 0; width: 0; height: 0; }
.pchip.on { background: var(--forest); border-color: var(--forest); color: #fff; }
.pchip:focus-within { outline: 2px solid var(--sky); outline-offset: 1px; }
.light { display: flex; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin: 10px 0; background: #fff; }
.light ul { margin: 6px 0; padding-left: 18px; font-size: 0.88rem; }
.lamp { width: 30px; flex: none; }
.lamp span { display: block; width: 26px; height: 26px; border-radius: 50%; margin-top: 2px; background: #3f8f5f; box-shadow: 0 0 0 4px rgba(63,143,95,.2); }
.light-mid .lamp span { background: var(--amber); box-shadow: 0 0 0 4px rgba(201,138,27,.25); }
.light-high .lamp span { background: var(--earth); box-shadow: 0 0 0 4px rgba(181,69,44,.25); }
.light-mid { border-color: var(--amber); } .light-high { border-color: var(--earth); }
.sos { border-left-color: var(--earth); margin-bottom: 14px; }
.sos .call { font-size: 1.05rem; }
.badge.b-good { background: #d8ecdf; color: #1f4d3a; }
.card.c-good { border-left-color: #3f8f5f; }
.actions { list-style: none; padding: 0; margin: 4px 0 0; }
.actions li { border: 1px solid var(--line); border-left: 5px solid var(--grey); border-radius: var(--radius); padding: 8px 12px; margin-bottom: 8px; background: #fff; }
.actions li.match { border-left-color: var(--earth); }
.actions p { margin: 4px 0; }
.card.st-recovering { border-left-color: #3f8f5f; } .card.st-still_critical { border-left-color: var(--earth); } .card.st-warning { border-left-color: var(--amber); }
.badge.st-recovering { background: #d8ecdf; color: #1f4d3a; } .badge.st-still_critical { background: var(--earth); color: #fff; } .badge.st-warning { background: #f3dfb4; color: #6b4a05; }
a { color: var(--sky); }

.tblwrap { overflow-x: auto; }
.caps td, .caps th { white-space: nowrap; font-size: 0.8rem; }
.caps th small { font-weight: 400; color: var(--muted); font-family: "DM Sans", sans-serif; }
.caps tbody tr { cursor: pointer; } .caps tbody tr:hover { background: var(--sand); }
.vdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; background: #c9cfca; vertical-align: baseline; }
.vdot.v-confirmed { background: var(--earth); } .vdot.v-likely { background: var(--amber); } .vdot.v-single { background: var(--sky); } .vdot.v-conflict { background: #6b4fa3; }
.capitals-box { margin-top: 22px; }

/* --- world, calendar, prepare --- */
.seg.wrap { flex-wrap: wrap; }
.bar { display: inline-block; width: 46px; height: 7px; background: #eceee9; border-radius: 4px; margin-right: 6px; vertical-align: middle; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--earth); }
.summary { background: var(--sand); border-left: 4px solid var(--forest); padding: 8px 12px; border-radius: 0 8px 8px 0; }
.calgrid { display: grid; grid-template-columns: minmax(96px, 1.6fr) repeat(12, 1fr); gap: 3px; align-items: center; font-size: 0.72rem; margin-top: 6px; }
.calm { text-align: center; color: var(--muted); text-transform: capitalize; } .calm.now { color: var(--ink); font-weight: 700; }
.callab { font-size: 0.76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.calc { height: 22px; border-radius: 4px; } .calc.now { outline: 2px solid var(--ink); outline-offset: 1px; }
.emoji-pin.k-safe { border-color: var(--sky); font-size: 16px; line-height: 26px; }
.reports.safe .k { font-size: 1.1rem; }

.warn-note { font-size: 0.84rem; background: #fbf0d6; border-left: 4px solid var(--amber); padding: 8px 12px; border-radius: 0 8px 8px 0; margin-top: 8px; }

/* =====================================================================
   Theme: calm, flat and editorial, following the team's own product StarMed.
   Grey-green ground, green primary, copper accents, Bricolage Grotesque + Manrope.
   ===================================================================== */
:root {
  --sand: #eef1ef; --paper: #f9fbfa; --ink: #131b18; --muted: #5b6762; --line: #dce3df;
  --earth: #b2592a; --forest: #1f7f5f; --amber: #c08a2e; --sky: #3d6f8e; --grey: #b9c3be;
  --radius: 10px;
}
body { font-family: "Manrope", system-ui, sans-serif; background: var(--sand); color: var(--ink); font-size: 14.5px; line-height: 1.5; }
h1, h2, h3, .headline, .cmp th { font-family: "Bricolage Grotesque", "Manrope", sans-serif; letter-spacing: -0.01em; }
h2 { font-size: 1.5rem; font-weight: 700; } h3 { font-size: 1.08rem; font-weight: 700; margin-top: 26px; }
a { color: var(--forest); text-underline-offset: 2px; }

.app { grid-template-columns: 216px minmax(380px, 470px) 1fr; background: var(--sand); }
.rail { display: flex; flex-direction: column; padding: 20px 14px 14px; min-height: 0; overflow-y: auto; }
.rbrand { display: flex; align-items: center; gap: 9px; font: 700 1.3rem "Bricolage Grotesque", sans-serif; letter-spacing: -0.02em; padding: 0 6px; }
.rail-tag { color: var(--earth); font-size: 0.78rem; font-weight: 500; margin: 6px 6px 0; }
.rail-nav { margin-top: 14px; }
.rail-g { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin: 16px 8px 5px; }
.tab { display: flex; align-items: baseline; gap: 10px; width: 100%; text-align: left; padding: 8px 9px; border: 0; border-bottom: 0; border-radius: 8px;
  background: none; font: 500 0.9rem "Manrope", sans-serif; color: var(--muted); cursor: pointer; white-space: normal; }
.tab .n { font-size: 0.7rem; font-weight: 700; color: var(--earth); min-width: 17px; font-variant-numeric: tabular-nums; }
.tab:hover { background: rgba(255,255,255,.6); color: var(--ink); }
.tab.on { background: var(--paper); color: var(--ink); font-weight: 700; box-shadow: inset 0 0 0 1px var(--line); border-bottom: 0; }
.rail-foot { margin-top: auto; padding: 16px 6px 0; }
.rail .foot-note { border: 0; padding: 10px 0 0; font-size: 0.68rem; line-height: 1.4; }
.lang button { background: transparent; border-color: var(--line); font-weight: 600; }
.lang button.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.side { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; margin: 12px 0; overflow: hidden; }
.search { padding: 16px 20px 0; }
.status { padding: 0 20px; }
.panel { padding: 14px 20px 22px; }
#map { margin: 12px; border-radius: 14px; border: 1px solid var(--line); height: calc(100% - 24px); overflow: hidden; }

input, select, textarea { background: var(--sand); border: 1px solid var(--line); border-radius: 8px; font-family: inherit; }
input::placeholder, textarea::placeholder { color: #8b9692; }
input:focus, select:focus, textarea:focus, button:focus-visible { outline: 2px solid var(--forest); outline-offset: 1px; }
.btn { background: var(--forest); border-color: var(--forest); border-radius: 8px; font-weight: 600; }
.btn:hover { filter: brightness(0.94); }
.btn.ghost { background: var(--sand); border-color: var(--line); color: var(--ink); }
.btn small { font-weight: 500; opacity: 0.8; font-size: 0.72rem; display: block; line-height: 1.1; }

.eyebrow { color: var(--earth); font-size: 0.78rem; font-weight: 600; margin: 2px 0 6px; }
.eyebrow b { font-variant-numeric: tabular-nums; margin-right: 4px; }
.hero { font-size: 1.95rem; line-height: 1.08; letter-spacing: -0.02em; margin: 4px 0 10px; }
.lead { color: var(--muted); font-size: 0.95rem; }
.points { list-style: none; padding: 0; margin: 18px 0 20px; }
.points li { display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points .n { color: var(--earth); font-weight: 700; font-size: 0.8rem; padding-top: 2px; font-variant-numeric: tabular-nums; }
.points b { font-weight: 700; } .points p { margin: 2px 0 0; color: var(--muted); font-size: 0.86rem; }
.empty { padding: 6px 0; }
.chip { background: var(--sand); border-color: var(--line); font-weight: 500; }
.chip:hover { border-color: var(--forest); color: var(--forest); }

.card { border: 1px solid var(--line); border-left: 3px solid var(--grey); border-radius: var(--radius); background: #fff; }
.card-title { font-weight: 600; }
.headline { font-weight: 700; }
.badge { border-radius: 6px; letter-spacing: 0.03em; font-size: 0.66rem; background: var(--sand); color: var(--muted); }
.badge.v-confirmed, .badge.l-now, .badge.st-still_critical { background: var(--earth); color: #fff; }
.badge.v-likely, .badge.l-rising, .badge.st-warning { background: #f4e4d8; color: #8a4520; }
.badge.v-single { background: #dfe9ee; color: #2c556d; }
.badge.b-good, .badge.st-recovering { background: #dcebe4; color: #17614a; }
.card.c-good, .card.st-recovering { border-left-color: var(--forest); }
.explain, .why, .summary, .place-head .summary { background: var(--sand); border-radius: 8px; border-left: 0; }
.summary, .place-head .summary { padding: 10px 12px; }
.giov-badge { background: #dcebe4; border-left: 0; border-radius: 8px; color: #17614a; }
.warn-note { background: #f4e4d8; border-left: 0; border-radius: 8px; color: #6e3819; }
.disclaimer { border-top: 1px solid var(--line); }
.wit th, .wit td, .cmp th, .cmp td { border-color: var(--line); }
.wit td.sig { color: var(--earth); }
.seg { border-color: var(--line); border-radius: 8px; } .seg button { background: var(--paper); font-family: inherit; }
.seg button.on { background: var(--ink); }
.pchip { border-color: var(--line); background: var(--sand); } .pchip.on { background: var(--forest); border-color: var(--forest); }
.light { border-color: var(--line); border-radius: var(--radius); }
.lamp span { background: var(--forest); box-shadow: 0 0 0 4px rgba(31,127,95,.18); }
.day { border-color: var(--line); border-radius: 8px; } .day.warn { background: #f4e4d8; border-color: #e2bfa6; } .day.danger { background: #efd0c0; border-color: var(--earth); }
.actions li { border-left-width: 3px; }
.bar i { background: var(--earth); } .bar { background: var(--sand); }
.calc.now { outline-color: var(--ink); }
.emoji-pin { border-color: var(--forest); }

.stepnav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); }
.stepnav .btn { text-align: left; } .stepnav .btn:last-child { text-align: right; margin-left: auto; }

.leaflet-container { font-family: "Manrope", sans-serif; background: #e4e9e6; }
.leaflet-bar a, .leaflet-control-layers { border-radius: 8px; }

@media (max-width: 1180px) {
  .app { grid-template-columns: 64px minmax(360px, 440px) 1fr; }
  .rail { padding: 16px 8px; align-items: center; }
  .rbrand span, .rail-tag, .rail-g, .tab .l, .rail .foot-note { display: none; }
  .rail-nav { margin-top: 18px; display: grid; gap: 4px; width: 100%; }
  .tab { justify-content: center; padding: 10px 0; } .tab .n { font-size: 0.82rem; min-width: 0; }
  .lang { flex-direction: column; } .lang button { border-radius: 0 !important; padding: 4px 6px; }
}
@media (max-width: 820px) {
  .app { display: block; height: auto; }
  .rail { position: sticky; top: 0; z-index: 1100; flex-direction: row; align-items: center; gap: 10px; padding: 8px 10px; background: var(--sand); border-bottom: 1px solid var(--line); overflow: visible; }
  .rbrand span { display: inline; font-size: 1.05rem; } .rbrand svg { width: 22px; height: 22px; }
  .rail-nav { display: flex; gap: 4px; overflow-x: auto; margin: 0; flex: 1; scrollbar-width: none; }
  .rail-nav::-webkit-scrollbar { display: none; }
  .tab { width: auto; flex: none; padding: 6px 10px; gap: 6px; } .tab .l { display: inline; white-space: nowrap; font-size: 0.82rem; }
  .rail-foot { margin: 0; padding: 0; } .lang { flex-direction: row; } .lang button { padding: 3px 5px; font-size: 0.68rem; }
  #map { height: 36vh; margin: 10px; }
  .side { margin: 0 10px 14px; border-radius: 14px; }
  .panels { overflow: visible; }
  .hero { font-size: 1.6rem; }
}
@media (max-width: 820px) {
  .app { display: flex; flex-direction: column; }
  .rail { order: 1; } #map { order: 2; flex: none; } .side { order: 3; }
}

/* --- inside "My place" and "Health" --- */
.ph h2 { font-size: 1.7rem; line-height: 1.1; margin-bottom: 2px; }
.meta { color: var(--muted); font-size: 0.8rem; font-variant-numeric: tabular-nums; margin: 0 0 12px; }
.vhero { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 6px 0 4px; }
.vh-num { font: 700 3.4rem/0.9 "Bricolage Grotesque", sans-serif; letter-spacing: -0.04em; color: var(--ink); white-space: nowrap; }
.vh-num span { font-size: 1.3rem; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.vh-body p { margin: 0 0 8px; font-size: 0.92rem; }
.strip { display: flex; gap: 4px; } .strip i { flex: 1; max-width: 34px; height: 8px; border-radius: 3px; background: var(--line); }
.strip i.v-confirmed { background: var(--earth); } .strip i.v-likely { background: #dfa77f; } .strip i.v-single { background: var(--sky); } .strip i.v-conflict { background: #6b4fa3; }
.siggrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.sigtile { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; text-align: left; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 12px 12px; cursor: pointer; min-width: 0; }
.sigtile:hover { border-color: #b9c3be; }
.sigtile.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.st-name { font-size: 0.8rem; color: var(--muted); font-weight: 600; display: flex; gap: 6px; align-items: baseline; }
.st-name .arrow { color: var(--ink); font-weight: 700; }
.sigtile.v-confirmed .arrow { color: var(--earth); } .sigtile.v-likely .arrow { color: #a5632f; } .sigtile.v-single .arrow { color: var(--sky); }
.st-val { font: 700 1.02rem/1.15 "Bricolage Grotesque", sans-serif; letter-spacing: -0.01em; }
.st-val small { display: block; font: 500 0.7rem "Manrope", sans-serif; color: var(--muted); letter-spacing: 0; margin-top: 1px; }
.sigtile .badge { margin-top: 2px; }
.sigdetail { margin-top: 10px; border: 1px solid var(--ink); border-radius: var(--radius); padding: 14px 14px 12px; background: #fff; }
.sd-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .sd-head h4 { margin: 0; font: 700 1.15rem "Bricolage Grotesque", sans-serif; } .sd-head .badge { margin: 0; }
.sigdetail .chart-wrap { height: 210px; }
.factrow { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.factrow p { margin: 0 0 4px; } .factrow.flag .fact-num { color: var(--earth); }
.fact-num { font: 700 2rem/1 "Bricolage Grotesque", sans-serif; letter-spacing: -0.03em; white-space: nowrap; } .fact-num small { font-size: 0.9rem; color: var(--muted); margin-left: 2px; }
.method { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 10px; } .method summary { cursor: pointer; font-weight: 600; font-size: 0.86rem; color: var(--muted); }
.tools { margin-top: 14px; }

.lighthero { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: #fff; margin-bottom: 12px; }
.lighthero.light-mid { border-color: #dfa77f; background: #fdf7f2; } .lighthero.light-high { border-color: var(--earth); background: #fbf1ea; }
.lh-top { display: flex; align-items: center; gap: 12px; } .lh-t { flex: 1; min-width: 0; } .lh-t .eyebrow { margin: 0; }
.lh-level { font: 700 2rem/1 "Bricolage Grotesque", sans-serif; letter-spacing: -0.03em; margin: 2px 0 0; } .lh-level small { font: 600 0.8rem "Manrope", sans-serif; color: var(--muted); letter-spacing: 0; }
.lighthero .lamp { width: 34px; } .lighthero .lamp span { width: 30px; height: 30px; margin: 0; }
.lh-why { margin: 12px 0 0; padding-left: 18px; font-size: 0.88rem; } .lh-why li { margin: 3px 0; }
.lh-cta { margin: 10px 0 0; font-size: 0.86rem; color: var(--earth); font-weight: 600; }
.me { margin-bottom: 12px; } .me .rule { margin-top: 12px; }
.notice { border-left: 3px solid var(--earth); background: #fbf1ea; border-radius: 0 10px 10px 0; padding: 12px 14px; margin-bottom: 12px; }
.notice.calm { border-left-color: var(--forest); background: #eef5f1; }
.notice ul { margin: 4px 0 8px; padding-left: 18px; font-size: 0.9rem; } .notice .strong { font-weight: 600; font-size: 0.9rem; margin: 0 0 4px; }
.topics { border-top: 1px solid var(--line); margin-top: 8px; }
.topic { border-bottom: 1px solid var(--line); }
.topic > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 13px 0; }
.topic > summary::-webkit-details-marker { display: none; }
.tn { color: var(--earth); font-weight: 700; font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.tt { flex: 1; font: 700 1.02rem "Bricolage Grotesque", sans-serif; }
.topic .badge { margin: 0; }
.tbody { padding: 0 0 14px 30px; }
.steps { list-style: none; counter-reset: st; padding: 0; margin: 10px 0 8px; }
.steps li { counter-increment: st; position: relative; padding: 6px 0 6px 30px; font-size: 0.92rem; }
.steps li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: 7px; font-size: 0.72rem; font-weight: 700; color: var(--earth); font-variant-numeric: tabular-nums; }
.sosband { border: 1px solid var(--earth); border-radius: 14px; padding: 14px 16px; margin: 20px 0 6px; background: #fff; }
.sosband p { margin: 0 0 8px; } .sosband .call { font-weight: 600; }
.tel { display: inline-block; background: var(--earth); color: #fff; text-decoration: none; font: 700 1.05rem "Bricolage Grotesque", sans-serif; padding: 5px 12px; border-radius: 8px; margin: 2px 4px 2px 0; }
.tel small { font: 600 0.7rem "Manrope", sans-serif; opacity: 0.9; }
.rows { list-style: none; padding: 0; margin: 6px 0; border-top: 1px solid var(--line); }
.rows li { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--line); cursor: pointer; }
.rows li:hover { background: var(--sand); } .rows .k { color: var(--forest); font-weight: 700; }
.rows li div { flex: 1; min-width: 0; display: flex; flex-direction: column; } .rows .dist { color: var(--muted); font-size: 0.8rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 420px) { .vh-num { font-size: 2.7rem; } .st-val { font-size: 0.92rem; } .tbody { padding-left: 0; } }

/* --- inside the other sections --- */
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 12px 0 6px; }
.stats3 > div { padding: 14px 10px 12px 0; } .stats3 > div + div { border-left: 1px solid var(--line); padding-left: 12px; }
.stats3 b { display: block; font: 700 2rem/1 "Bricolage Grotesque", sans-serif; letter-spacing: -0.03em; } .stats3 b.hot { color: var(--earth); }
.stats3 b small { font-size: 0.9rem; color: var(--muted); letter-spacing: 0; }
.stats3 span { display: block; margin-top: 5px; font-size: 0.74rem; color: var(--muted); line-height: 1.3; }
.wk { border-top: 1px solid var(--line); margin-top: 14px; }
.wkrow { display: grid; grid-template-columns: 62px 64px 1fr 38px 56px; align-items: center; gap: 8px; padding: 9px 2px; border-bottom: 1px solid var(--line); font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.wkrow.today { font-weight: 700; } .wd { text-transform: capitalize; } .wt small { color: var(--muted); font-weight: 400; }
.wbar { height: 8px; background: var(--sand); border-radius: 4px; overflow: hidden; } .wbar i { display: block; height: 100%; background: #b9c9c1; border-radius: 4px; }
.wkrow.warn .wbar i { background: #dfa77f; } .wkrow.danger .wbar i { background: var(--earth); }
.whi { text-align: right; font-weight: 700; } .wkrow.warn .whi, .wkrow.danger .whi { color: var(--earth); }
.wr { text-align: right; color: var(--muted); } .wr.wet { color: var(--sky); font-weight: 700; }
.btn.wide { width: 100%; margin: 10px 0 2px; padding: 12px; }
.formcard { border: 1px solid var(--ink); border-radius: var(--radius); padding: 14px; background: #fff; display: grid; gap: 10px; margin: 10px 0; }
.rows.feed li { align-items: flex-start; } .rows.feed .k { font-size: 1.25rem; color: inherit; } .rows .txt { font-size: 0.9rem; margin: 2px 0; }
.rows.nums li { cursor: default; } .rows.nums li:hover { background: none; }
.duel { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; margin-top: 14px; }
.duel-head { padding-bottom: 8px; border-bottom: 2px solid var(--ink); } .duel-head b { display: block; font: 700 0.98rem/1.2 "Bricolage Grotesque", sans-serif; } .duel-head .eyebrow { margin: 0; }
.duel-t { grid-column: 1 / -1; margin: 12px 0 4px; font-weight: 600; font-size: 0.84rem; } .duel-t small { font-weight: 400; margin-left: 6px; }
.duel-c { padding-bottom: 10px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.dv { font: 700 0.98rem/1.2 "Bricolage Grotesque", sans-serif; } .dv small { font: 500 0.7rem "Manrope", sans-serif; color: var(--muted); display: block; }
.irows { border-top: 1px solid var(--line); }
.irow { border-bottom: 1px solid var(--line); }
.irow > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 10px 0; }
.irow > summary::-webkit-details-marker { display: none; }
.in { flex: 1; min-width: 0; font-size: 0.9rem; } .iv { font: 700 1.02rem "Bricolage Grotesque", sans-serif; text-align: right; white-space: nowrap; }
.iv small { display: block; font: 500 0.66rem "Manrope", sans-serif; color: var(--muted); } .irow .badge { margin: 0; min-width: 74px; text-align: center; }
.ibody { padding: 0 0 12px; }
.acts { list-style: none; counter-reset: ac; padding: 0; margin: 4px 0 12px; border-top: 1px solid var(--line); }
.acts li { counter-increment: ac; display: flex; gap: 10px; align-items: flex-start; padding: 11px 0 11px 30px; border-bottom: 1px solid var(--line); position: relative; }
.acts li::before { content: counter(ac, decimal-leading-zero); position: absolute; left: 0; top: 13px; font-size: 0.72rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.acts.hot li::before { color: var(--earth); } .acts li > div { flex: 1; } .acts p { margin: 0 0 3px; } .at { font-weight: 600; } .acts .badge { margin: 2px 0 0; white-space: nowrap; }
.fchips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; } .chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.sdot { width: 10px; height: 10px; border-radius: 50%; flex: none; } .hz { font-size: 1.2rem; width: 26px; text-align: center; }
.topic .tt small { display: block; font: 500 0.74rem "Manrope", sans-serif; color: var(--muted); margin-top: 1px; }
.topic.case .tbody { padding-left: 22px; }
.band { border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 14px 16px; margin: 12px 0 4px; } .band .rows { margin-top: 8px; }
.phase { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 14px 0 0; }
.prog { margin: 0 0 4px; color: var(--muted); font-size: 0.82rem; } .prog b { font: 700 1.3rem "Bricolage Grotesque", sans-serif; color: var(--ink); }
.check { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.check li { border-bottom: 1px solid var(--line); } .check label { display: flex; gap: 12px; padding: 10px 2px; cursor: pointer; font-size: 0.92rem; align-items: flex-start; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--forest); flex: none; padding: 0; }
.check input:checked + span { color: var(--muted); text-decoration: line-through; }
@media (max-width: 420px) { .wkrow { grid-template-columns: 54px 56px 1fr 34px 48px; gap: 6px; font-size: 0.8rem; } .stats3 b { font-size: 1.6rem; } }

.hg { margin: 4px 0 10px; font-size: 0.9rem; } .hg .btn { margin-left: 6px; }
.route-info { font-weight: 600; color: var(--forest); margin: 8px 0 4px; min-height: 1em; }
.calc { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 12px 14px; margin: 6px 0 12px; }
.calc label { flex: 1; font-size: 0.78rem; color: var(--muted); display: grid; gap: 4px; } .calc p { margin: 10px 0 0; font-size: 0.9rem; }
.calc .big { font: 700 1.6rem "Bricolage Grotesque", sans-serif; letter-spacing: -0.02em; margin-right: 4px; }

.badge.l-you { background: #dfe9ee; color: #2c556d; }

.method.spray { margin-top: 16px; } .method.spray summary { color: var(--ink); font-size: 0.92rem; }
.sprow { display: grid; grid-template-columns: 62px 1fr 78px; align-items: center; gap: 10px; padding: 8px 2px; border-bottom: 1px solid var(--line); font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.sprow .wbar i { background: var(--forest); } .sph { text-align: right; color: var(--muted); }

/* risk profile: what usually happens here */
.calgrid .calc { border: 0; padding: 0; margin: 0; }
.badge.rp3 { background: #f1dccf; color: #7c3a17; } .badge.rp2 { background: #f3e9cf; color: #6f5413; } .badge.rp1, .badge.rp0 { background: var(--sand); color: var(--muted); }
.rpi > summary .badge + .badge { margin-left: -6px; }
.mbar { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; margin: 2px 0 10px; }
.mbar span { display: grid; gap: 4px; text-align: center; font-size: 0.64rem; color: var(--muted); text-transform: capitalize; overflow: hidden; }
.mbar i { display: block; height: 20px; border-radius: 4px; background: var(--earth); }
.mbar .now { color: var(--ink); font-weight: 700; } .mbar .now i { box-shadow: inset 0 0 0 2px var(--ink); }
.when { font-size: 0.9rem; margin: 0 0 8px; } .nowline { font-size: 0.88rem; background: #f4e4d8; color: #6e3819; padding: 8px 10px; border-radius: 8px; margin: 8px 0 0; }
.golinks { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 6px; }
.golinks button { font: 600 0.78rem "Manrope", sans-serif; border: 1px solid var(--line); background: #fff; color: var(--forest); border-radius: 999px; padding: 6px 11px; cursor: pointer; text-align: left; }
.golinks button:hover, .xchip:hover { border-color: var(--forest); }
.xchips { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 8px; margin: 8px 0 4px; }
.xchip { display: flex; gap: 8px; align-items: center; text-align: left; border: 1px solid var(--line); border-left: 3px solid var(--line); background: #fff; border-radius: var(--radius); padding: 9px 10px; cursor: pointer; font: inherit; color: inherit; min-width: 0; }
.xchip b { display: block; font-size: 0.84rem; line-height: 1.2; } .xchip small { display: block; color: var(--muted); font-size: 0.74rem; margin-top: 2px; }
.xchip.l3 { border-left-color: var(--earth); } .xchip.l2 { border-left-color: var(--amber); } .xchip.now { background: #fbf3ed; border-left-color: var(--earth); }
.nowctx { border-top: 1px solid var(--line); padding: 10px 0 2px; } .nowctx p { margin: 0; font-size: 0.9rem; } .nowctx .hz { display: inline-block; width: auto; font-size: 1rem; }
.inseason { font-size: 0.88rem; margin: 10px 0 0; } .linkish { font: inherit; font-weight: 600; background: none; border: 0; padding: 0 4px 0 0; color: var(--forest); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.flash { animation: gcflash 1.7s ease; } @keyframes gcflash { 0%, 55% { background: #fbf0e6; } 100% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .flash { animation: none; } }

/* pressures made by people */
#pressure-box { margin-top: 18px; } #pressure-box .factrow + .factrow { border-top: 0; } .rivs li { cursor: pointer; } .rivs .k { color: var(--sky); font-weight: 700; }
.wmode { margin: 4px 0 10px; }

/* maps in motion */
.tl { font-family: "Manrope", sans-serif; }
.tl-toggle { font: 700 0.82rem "Manrope", sans-serif; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 9px 14px; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.tl-panel { margin-top: 8px; width: 318px; max-width: calc(100vw - 48px); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.tl-themes { display: flex; flex-wrap: wrap; gap: 5px; }
.tl-themes button, .tl-foot button { font: 600 0.74rem "Manrope", sans-serif; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 5px 10px; cursor: pointer; }
.tl-themes button.on { background: var(--forest); border-color: var(--forest); color: #fff; }
.tl-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.tl-play { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 0; background: var(--earth); color: #fff; font-size: 0.8rem; cursor: pointer; }
.tl-range { flex: 1; min-width: 0; accent-color: var(--earth); } .tl-label { font: 700 0.86rem "Bricolage Grotesque", sans-serif; min-width: 96px; text-align: right; text-transform: capitalize; }
.tl-what { font-size: 0.76rem; color: var(--muted); margin: 8px 0 6px; line-height: 1.4; } .tl-what summary { cursor: pointer; font-weight: 600; color: var(--forest); } .tl-what p { margin: 4px 0 0; } .tl-legend { display: block; width: 100%; max-height: 52px; object-fit: contain; object-position: left; background: #fff; border-radius: 6px; }
.tl-foot { flex-wrap: wrap; } .tl-src { flex: 1; font-size: 0.66rem; color: var(--muted); text-align: right; } .tl-leg { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: var(--muted); }
.tl-leg i { display: inline-block; border-radius: 50%; background: rgba(178,89,42,.55); border: 1px solid #b2592a; }

.badge.l-season { background: #f3e9cf; color: #6f5413; }
@media (max-width: 820px) { body.tl-open #map { height: 82vh; } .tl-panel { padding: 8px 10px; } .tl-legend { max-height: 40px; } .tl-src { display: none; } }
.tl-h { font: 700 0.62rem "Manrope", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 6px 0 4px; } .tl-h:first-child { margin-top: 0; }
.tl-leg i.sq { border-radius: 3px; width: 14px; height: 14px; border: 0; } .tl-panel { max-height: 78vh; overflow-y: auto; }

/* guided demonstrations */
.tour { position: fixed; z-index: 2000; top: 22px; right: 76px; width: min(470px, 42vw); background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 16px 14px; box-shadow: 0 10px 34px rgba(0,0,0,.35); font-family: "Manrope", sans-serif; }
.tour-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .tour-n { font: 700 0.68rem "Manrope", sans-serif; letter-spacing: 0.1em; color: #e7a983; }
.tour-ctl { display: flex; gap: 4px; } .tour-ctl button { font: 600 0.72rem "Manrope", sans-serif; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 999px; min-width: 30px; height: 28px; padding: 0 9px; cursor: pointer; } .tour-ctl button:hover { background: rgba(255,255,255,.24); }
.tour-head { font: 700 1.12rem/1.25 "Bricolage Grotesque", sans-serif; letter-spacing: -0.01em; margin: 8px 0 6px; } .tour-cap { font-size: 0.86rem; line-height: 1.4; margin: 0; color: #d9e2de; min-height: 2.4em; }
.tour-bar { display: flex; gap: 4px; margin-top: 10px; } .tour-bar i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.2); } .tour-bar i.done { background: rgba(255,255,255,.6); } .tour-bar i.on { background: #e7a983; }
.tour-focus { outline: 3px solid var(--earth); outline-offset: 5px; border-radius: 8px; transition: outline-color .3s; }
.demo-btn { display: flex; align-items: center; gap: 6px; width: 100%; font: 700 0.78rem "Manrope", sans-serif; background: var(--earth); color: #fff; border: 0; border-radius: 10px; padding: 9px 10px; margin-bottom: 10px; cursor: pointer; }
@media (max-width: 1180px) { .demo-btn span { display: none; } .demo-btn { justify-content: center; padding: 8px 0; } }
@media (max-width: 820px) { .tour { top: auto; bottom: 10px; left: 10px; right: 10px; width: auto; padding: 10px 12px 12px; } .tour-head { font-size: 0.98rem; } .tour-cap { font-size: 0.8rem; min-height: 0; } .demo-btn { width: auto; margin: 0 6px 0 0; padding: 5px 9px; } body.tour-on .panels { padding-bottom: 170px; } }
@media (max-width: 820px) { .rail-foot { display: flex; align-items: center; gap: 6px; } }

/* line icons (no emoji) */
.ic { width: 1.15em; height: 1.15em; vertical-align: -0.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; } .ic.fill { fill: currentColor; stroke: none; }
.hz { display: inline-flex; align-items: center; justify-content: center; color: var(--forest); } .hz .ic { width: 22px; height: 22px; } .nowctx .hz .ic, .linkish .ic { width: 17px; height: 17px; }
.emoji-pin { display: flex; align-items: center; justify-content: center; color: var(--forest); } .emoji-pin .ic { width: 16px; height: 16px; stroke-width: 2; } .emoji-pin.k-need { color: var(--earth); } .emoji-pin.k-safe { color: var(--sky); }
.rows .k .ic { width: 18px; height: 18px; } .pchip .ic { margin-right: 4px; } .callab .ic { margin-right: 3px; color: var(--muted); } .btn.icon .ic { width: 18px; height: 18px; }
.tl-toggle .ic, .demo-btn .ic, .btn .ic { width: 0.95em; height: 0.95em; vertical-align: -0.1em; } .tl-play .ic, .tour-ctl .ic { width: 13px; height: 13px; vertical-align: -2px; }
/* during a guided demonstration the map control shows only what is playing */
body.tour-on .tl-h, body.tour-on .tl-themes, body.tour-on .tl-foot, body.tour-on .tl-what { display: none; } body.tour-on .tl-row { margin-top: 0; } body.tour-on .tl-panel { width: 270px; }
@media (max-width: 820px) { body.tour-on.tl-open #map { height: 46vh; } }

/* map animations: quiet base map, soft fields, readable legend, value at the address */
body.tl-active .leaflet-tile-pane { filter: grayscale(1) contrast(0.8) brightness(1.1); transition: filter .3s; }
.tl-title { font: 700 0.95rem "Bricolage Grotesque", sans-serif; margin: 10px 0 0; }
.tl-label { font-size: 0.98rem; min-width: 118px; }
.tl-scale { margin: 10px 0 2px; } .tl-scale p { margin: 0 0 4px; font-size: 0.72rem; font-weight: 600; color: var(--ink); } .tl-scale i { display: block; height: 12px; border-radius: 6px; border: 1px solid rgba(0,0,0,.08); }
.tl-ticks { display: flex; justify-content: space-between; font-size: 0.68rem; color: var(--muted); margin-top: 3px; font-variant-numeric: tabular-nums; }
.tl-classes { display: flex; flex-wrap: wrap; gap: 5px 12px; margin: 10px 0 2px; font-size: 0.72rem; } .tl-classes span { display: inline-flex; align-items: center; gap: 3px; } .tl-classes i { width: 11px; height: 11px; border-radius: 3px; border: 1px solid rgba(0,0,0,.12); }
.tl-local { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; } .tl-local p { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 6px; font-size: 0.72rem; color: var(--muted); } .tl-local b { color: var(--ink); text-align: right; }
.tl-bars { display: flex; align-items: flex-end; gap: 2px; height: 40px; } .tl-bars i { flex: 1; min-width: 1px; background: #cdd6d2; border-radius: 2px 2px 0 0; } .tl-bars i.on { background: var(--earth); }
.tl-tip { background: rgba(19,27,24,.88); color: #fff; border: 0; border-radius: 6px; padding: 2px 7px; font: 600 0.7rem "Manrope", sans-serif; box-shadow: none; } .tl-tip::before { display: none; }
.sigdetail .chart-wrap { height: 250px; }
body.tour-on .tl-title { margin-top: 0; }

/* maps in motion, second version: own colour scales, chart as timeline, readable legend */
.leaflet-layer.tl-data { transition: opacity .42s ease; } .leaflet-layer.tl-mult { mix-blend-mode: multiply; }
.tl-panel { width: 330px; padding: 12px 14px; }
.tl-now { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.tl-title { display: flex; align-items: center; gap: 10px; margin: 0; font: inherit; } .tl-title > div { min-width: 0; }
.tl-name { display: block; font: 700 1.02rem/1.15 "Bricolage Grotesque", sans-serif; letter-spacing: -0.01em; }
.tl-label { display: block; min-width: 0; text-align: left; font: 600 0.8rem "Manrope", sans-serif; color: var(--earth); text-transform: capitalize; }
.tl-chart { display: flex; align-items: flex-end; gap: 3px; height: 54px; margin: 10px 0 4px; }
.tl-chart i { flex: 1; min-width: 0; border-radius: 3px 3px 0 0; background: #cfd8d4; cursor: pointer; transition: height .35s ease, background .2s; }
.tl-chart i:hover { background: #9fb0a9; } .tl-chart i.on { background: var(--earth); }
.tl-chart.dense { gap: 1px; } .tl-chart.dense i { border-radius: 1px 1px 0 0; }
.tl-chart.cat { height: 22px; align-items: stretch; gap: 2px; } .tl-chart.cat i { border-radius: 3px; opacity: .55; } .tl-chart.cat i.on { opacity: 1; box-shadow: 0 0 0 2px var(--ink); }
.tl-val { margin: 2px 0 10px; font-size: 0.84rem; min-height: 1.3em; } .tl-val b { font: 700 1rem "Bricolage Grotesque", sans-serif; }
.tl-scale { margin: 4px 0 2px; } .tl-grad { display: block; height: 10px; border-radius: 5px; border: 1px solid var(--line); }
.tl-ticks { display: flex; justify-content: space-between; font-size: 0.68rem; color: var(--muted); margin-top: 3px; font-variant-numeric: tabular-nums; }
.tl-ticks.rel { position: relative; height: 14px; display: block; } .tl-ticks.rel span { position: absolute; transform: translateX(-50%); } .tl-ticks.rel span:first-child { transform: none; } .tl-ticks.rel span:last-child { transform: translateX(-100%); }
.tl-unit { font-size: 0.7rem; color: var(--muted); margin: 2px 0 0; }
.tl-leg.wrap { flex-wrap: wrap; gap: 4px 10px; } .tl-leg.wrap span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.tl-leg i.ln { width: 18px; height: 3px; border-radius: 2px; border: 0; } .tl-leg i.sq { opacity: 1; }
.tl-what { margin: 8px 0 0; }
.tl-stamp { position: absolute; z-index: 800; right: 12px; bottom: 26px; pointer-events: none; text-align: right; font-family: "Bricolage Grotesque", sans-serif; color: var(--ink); text-shadow: 0 0 6px #fff, 0 0 12px #fff, 0 0 2px #fff; }
.tl-stamp b { display: block; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--earth); } .tl-stamp span { display: block; font-size: 1.7rem; font-weight: 700; letter-spacing: -0.02em; text-transform: capitalize; line-height: 1.05; }
body.tour-on .tl-now { margin-top: 0; padding-top: 0; border-top: 0; } body.tour-on .tl-panel { width: 290px; }
@media (max-width: 820px) { .tl-stamp span { font-size: 1.2rem; } .tl-chart { height: 40px; } }
.leaflet-layer.tl-base { filter: grayscale(1) contrast(0.85) brightness(1.1); }
.tl-label, .tl-stamp span { text-transform: none; } .tl-label::first-letter, .tl-stamp span::first-letter { text-transform: uppercase; }
.tl-more { float: right; font: 600 0.72rem "Manrope", sans-serif; border: 1px solid var(--line); background: #fff; color: var(--forest); border-radius: 999px; padding: 4px 10px; cursor: pointer; } .tl-more + .tl-now { margin-top: 0; padding-top: 0; border-top: 0; }
body.tour-on .tl-more { display: none; }

/* health calendar of the address */
.illnext { background: var(--sand); border-radius: 10px; padding: 12px 14px; margin: 10px 0 14px; } .illnext .eyebrow { margin: 0 0 8px; text-transform: none; }
.illchips { display: flex; flex-wrap: wrap; gap: 6px; }
.illchip { display: inline-flex; align-items: center; gap: 7px; text-align: left; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--line); border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.illchip .ic { width: 17px; height: 17px; color: var(--muted); } .illchip b { display: block; font-size: 0.8rem; line-height: 1.2; } .illchip small { display: block; font-size: 0.7rem; color: var(--muted); }
.illchip.hi { border-left-color: var(--earth); } .illchip.hi .ic, .illchip.hi small { color: var(--earth); } .illchip.hi small { font-weight: 700; } .illchip.mid { border-left-color: var(--amber); } .illchip.lo { opacity: .75; }
.illcal { margin: 4px 0 8px; }
.illhead, .illrow > summary { display: grid; grid-template-columns: minmax(150px, 2.6fr) repeat(12, minmax(0, 1fr)); gap: 3px; align-items: center; }
.illhead span { text-align: center; font-size: 0.64rem; color: var(--muted); text-transform: capitalize; } .illhead span.now { color: var(--ink); font-weight: 700; }
.illrow { border-top: 1px solid var(--line); } .illrow:last-child { border-bottom: 1px solid var(--line); }
.illrow > summary { list-style: none; cursor: pointer; padding: 9px 0; } .illrow > summary::-webkit-details-marker { display: none; }
.illname { display: flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 600; line-height: 1.2; padding-right: 6px; } .illname .ic { width: 18px; height: 18px; color: var(--forest); }
.illrow i { display: block; height: 22px; border-radius: 4px; background: var(--earth); } .illrow i.now { box-shadow: inset 0 0 0 2px var(--ink); }
.illrow[open] > summary .illname { color: var(--earth); } .illrow:hover > summary i { filter: brightness(0.92); }
.illbody { padding: 2px 0 14px; font-size: 0.86rem; } .illbody p { margin: 0 0 8px; } .illbody .why { margin-top: 0; }
@media (max-width: 420px) { .illhead, .illrow > summary { grid-template-columns: 96px repeat(12, minmax(0, 1fr)); gap: 2px; } .illname { font-size: 0.72rem; } .illname .ic { display: none; } }

/* contrast: discrete classes in the maps and in the health calendar */
.tl-steps { display: flex; gap: 2px; margin: 6px 0 20px; } .tl-steps i { position: relative; flex: 1; height: 14px; border-radius: 2px; border: 1px solid rgba(0,0,0,.18); }
.tl-steps em { position: absolute; right: -1px; top: 17px; transform: translateX(50%); font: 600 0.68rem "Manrope", sans-serif; font-style: normal; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tl-chart i { background: #b4c0bb; } .tl-chart i.on { background: #a3410f; }
.tl-val, .tl-unit { color: var(--ink); } .tl-leg { color: var(--ink); } .tl-leg i.sq { border: 1px solid rgba(0,0,0,.25); }
.leaflet-layer.tl-base { filter: grayscale(1) contrast(0.9) brightness(1.02); }
.illrow i { background: #ebe6dd; opacity: 1; } .illrow i.l1 { background: #f6cfa4; } .illrow i.l2 { background: #dd7a35; } .illrow i.l3 { background: #7a3010; }
.illkey { display: flex; align-items: center; gap: 6px; font-size: 0.74rem; margin: 6px 0; } .illkey i { display: inline-block; width: 16px; height: 12px; border-radius: 3px; margin-left: 8px; } .illkey i:first-child { margin-left: 0; }
.illkey .l1 { background: #f6cfa4; } .illkey .l2 { background: #dd7a35; } .illkey .l3 { background: #7a3010; }
.method-line { font-size: 0.8rem; color: var(--muted); border-left: 3px solid var(--forest); padding: 2px 0 2px 10px; margin: 10px 0 4px; }
.chips-g { font: 700 0.66rem "Manrope", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 12px 0 6px; }
.howto-link { display: block; margin: 10px 2px 12px; font-size: 0.8rem; font-weight: 700; color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 820px) { .howto-link { margin: 0 4px; font-size: 0.72rem; white-space: nowrap; } }
