/* base-bio-bori — shared styles for the homepage and Explorar.
   From the signed-off «Índice» and «Carta» mock-ups in logs/design/. */

/* Self-hosted IBM Plex Sans (OFL 1.1): no third-party requests. Paths are relative to this file. */
@font-face { font-family: "IBM Plex Sans"; font-weight: 300; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
:root { --paper:#FFFFFF; --ink:#0B0B0B; --soft:#5F5F5F; --hair:#E6E6E6; --mark:#FF6000; --mark-ink:#D24E00;
        --larimar:#4FCFBF; --sea-ink:#2A8F84;
        --sans:'IBM Plex Sans', system-ui, sans-serif; --gut:clamp(20px, 5vw, 80px); }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body { padding: 0 var(--gut); }
a { color: inherit; text-decoration: none; }
::selection { background: color-mix(in srgb, var(--mark) 18%, transparent); color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; }
.wide { max-width: 1480px; margin: 0 auto; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, .muni:focus-visible { outline: 2px solid var(--mark); outline-offset: 2px; }

/* header: name on the left, the menu on the right */
header { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; gap: 24px; flex-wrap: wrap; }
.name { display: block; line-height: 0; }
.name img { height: 36px; width: auto; }   /* logo: scripts/10_build_logo.py */
header nav { display: flex; gap: clamp(16px, 2.6vw, 40px); font-size: 16px; flex-wrap: wrap; }
header nav a { color: var(--soft); }
header nav a.on, header nav a:hover { color: var(--ink); }
header nav a.en { border-left: 1px solid var(--hair); padding-left: clamp(16px, 2.6vw, 40px); }

/* hand-drawn highlighter */
mark { color: inherit; padding-bottom: .24em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
       background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 24' preserveAspectRatio='none'%3E%3Cpath d='M2 13 C 30 6, 90 4.5, 150 6 C 215 7.5, 270 3, 330 4 C 368 4.5, 392 5, 398 9 C 399.5 13, 393 17.5, 372 17 C 318 15.5, 262 19, 200 20 C 140 21, 70 22.5, 26 21.5 C 8 21, 1 18, 2 13 Z' fill='%23FF6000' fill-opacity='.88'/%3E%3C/svg%3E")
                   left bottom / 100% .37em no-repeat; }

/* search box */
.search { display: flex; border: 2px solid var(--ink); background: #fff; }
.search:focus-within { box-shadow: 0 0 0 4px color-mix(in srgb, var(--mark) 30%, transparent); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; font: 400 clamp(19px, 1.9vw, 24px)/1 var(--sans); padding: 24px; background: transparent; color: var(--ink); }
.search input::placeholder { color: #8A8A8A; }
.search button { border: 0; background: var(--ink); color: #fff; font: 500 clamp(17px, 1.6vw, 20px)/1 var(--sans); padding: 0 clamp(24px, 3vw, 44px); cursor: pointer; }
.search button:hover { background: #2A2A2A; }

/* ── map (from «Carta») ─────────────────────────────────────────────────── */
.mapbox { position: relative; }
.map { width: 100%; height: auto; display: block; touch-action: none; user-select: none; }
.muni { fill: #FFFFFF; stroke: #C9C9C9; stroke-width: .6; vector-effect: non-scaling-stroke; transition: fill .12s; }
.coast { fill: none; stroke: var(--ink); stroke-width: 1.1; vector-effect: non-scaling-stroke; pointer-events: none; }
.lbl { font: 300 12.5px var(--sans); fill: var(--soft); pointer-events: none; }
.lbl.sea { font-style: italic; letter-spacing: .3em; fill: var(--sea-ink); font-size: 12px; }
.sea { fill: var(--larimar); fill-opacity: .16; }
/* record grid: five classes of records per cell, light → dark orange (counts on a log scale) */
.cell { stroke: none; pointer-events: none; }
.c1 { fill: color-mix(in srgb, var(--mark) 14%, white); }
.c2 { fill: color-mix(in srgb, var(--mark) 32%, white); }
.c3 { fill: color-mix(in srgb, var(--mark) 55%, white); }
.c4 { fill: var(--mark); }
.c5 { fill: color-mix(in srgb, var(--mark) 70%, black); }
.legend { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--soft); margin-top: 10px; }
.legend i { display: inline-block; width: 22px; height: 12px; }
.legend i.c1 { background: color-mix(in srgb, var(--mark) 14%, white); }
.legend i.c2 { background: color-mix(in srgb, var(--mark) 32%, white); }
.legend i.c3 { background: color-mix(in srgb, var(--mark) 55%, white); }
.legend i.c4 { background: var(--mark); }
.legend i.c5 { background: color-mix(in srgb, var(--mark) 70%, black); margin-right: 0; }
.legend b { font-weight: 500; color: var(--ink); margin-right: 6px; }
.found { fill: var(--sea-ink); fill-opacity: .55; stroke: none; pointer-events: none; }
.site { fill: var(--ink); stroke: #fff; stroke-width: 1; vector-effect: non-scaling-stroke; pointer-events: none; }
.legend i.found { background: color-mix(in srgb, var(--sea-ink) 55%, white); }
.legend i.site { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); margin-left: 10px; }
.hint { margin-top: 10px; font-size: 15px; line-height: 1.5; background: color-mix(in srgb, var(--mark) 10%, white); padding: 10px 12px; }
kbd { font: 500 13px var(--sans); border: 1px solid #BDBDBD; border-bottom-width: 2px; padding: 1px 6px; background: #fff; }
.honest { font-size: 13px; color: var(--soft); margin-top: 6px; line-height: 1.5; }

/* ── homepage ───────────────────────────────────────────────────────────── */
.hero { padding: clamp(56px, 9vw, 140px) 0 0; }
h1 { font-weight: 300; font-size: clamp(44px, 7.6vw, 116px); line-height: 1.12; letter-spacing: -.022em; max-width: 13.5em; }
h1 b { font-weight: 600; }
.lede { margin-top: 40px; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.45; font-weight: 300; max-width: 30em; }
.hero .search { margin-top: 48px; max-width: 920px; }
.try { margin-top: 18px; font-size: 17px; color: var(--soft); max-width: 920px; line-height: 1.7; }
.try a { color: var(--ink); border-bottom: 1px solid #BDBDBD; }
.try a:hover { border-bottom-color: var(--ink); background: color-mix(in srgb, var(--mark) 12%, white); }
.facts { margin-top: clamp(80px, 10vw, 150px); padding-top: 40px; border-top: 1px solid var(--ink);
         font-weight: 300; font-size: clamp(26px, 3vw, 42px); line-height: 1.35; letter-spacing: -.005em; max-width: 26em; }
.facts b { font-weight: 500; font-variant-numeric: tabular-nums; }
.facts small { display: block; margin-top: 20px; font-size: 16px; letter-spacing: 0; color: var(--soft); line-height: 1.5; }
h2 { font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; }
h2 span { color: var(--soft); font-weight: 300; }
.section { margin-top: clamp(80px, 10vw, 150px); }
.section > p.sub { margin-top: 12px; font-size: 18px; color: var(--soft); font-weight: 300; max-width: 40em; line-height: 1.5; }
/* the map preview is one big link */
a.preview { display: block; margin-top: 28px; position: relative; cursor: pointer; }
a.preview .map { cursor: pointer; }
a.preview .go { position: absolute; right: 0; bottom: 0; background: var(--ink); color: #fff; font-size: 17px; font-weight: 500; padding: 16px 24px; }
a.preview:hover .go { background: var(--mark-ink); }
a.preview:hover .coast { stroke: var(--mark-ink); }
@media (max-width: 700px) { a.preview .go { position: static; display: block; text-align: center; font-size: 16px; padding: 14px 20px; } }   /* phones: below the map, so it hides none of it */
/* group tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0; margin-top: 28px; border-top: 1px solid var(--ink); }
.tiles a { padding: 22px 20px 22px 0; border-bottom: 1px solid var(--hair); display: flex; flex-direction: column; gap: 6px; }
.tiles a strong { font-weight: 500; font-size: 20px; }
.tiles a span { font-size: 15px; color: var(--soft); font-variant-numeric: tabular-nums; }
.tiles a:hover strong { color: var(--mark-ink); }
.soon { margin-top: 28px; padding: 28px 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: baseline; }
.soon strong { font-weight: 500; font-size: 22px; }
.soon p { grid-column: 1; font-size: 16px; color: var(--soft); line-height: 1.5; max-width: 40em; }
.soon em { grid-row: 1; grid-column: 2; font-style: normal; font-size: 14px; color: var(--soft); border: 1px solid var(--hair); padding: 4px 10px; }

/* ── Explorar ───────────────────────────────────────────────────────────── */
.ex-top { display: grid; gap: 18px; padding-bottom: 24px; border-bottom: 1px solid var(--ink); }
.ex-top h1 { font-size: clamp(32px, 3.4vw, 48px); letter-spacing: -.01em; }
/* Filters: three labelled groups side by side, soft pills without outlines (outlined boxes read as clutter). */
.filters { display: grid; grid-template-columns: minmax(0, 4.6fr) minmax(0, 1.7fr) minmax(0, 3.3fr); gap: 16px 0; }
.facet { padding: 0 22px; }
.facet:first-child { padding-left: 0; }
.facet:last-child { padding-right: 0; }
.facet + .facet { border-left: 1px solid var(--hair); }
.facet h2 { font: 500 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin: 0 0 10px; }
@media (max-width: 900px) {
  .filters { grid-template-columns: 1fr; }
  .facet, .facet:first-child, .facet:last-child { padding: 0; }
  .facet + .facet { border-left: 0; }
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { all: unset; cursor: pointer; font-size: 15px; padding: 7px 14px; border-radius: 999px; background: #F2F2F2; display: inline-flex; gap: 7px; align-items: baseline; transition: background .12s; }
.chip:hover { background: #E4E4E4; }
.chip small { color: #8C8C8C; font-size: 12px; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chip[aria-pressed="true"] small { color: #BDBDBD; }
.chip:disabled { cursor: default; color: #BDBDBD; background: #F8F8F8; }
.chip:focus-visible { outline: 2px solid var(--mark); outline-offset: 2px; }
.ex { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: clamp(28px, 3.5vw, 56px); margin-top: 28px; align-items: start; }
@media (max-width: 1000px) { .ex { grid-template-columns: 1fr; } }
.ex-map { position: sticky; top: 16px; }
@media (max-width: 1000px) { .ex-map { position: static; } }
.layers { display: flex; gap: 22px; font-size: 15px; flex-wrap: wrap; margin-bottom: 12px; }
.layers button { all: unset; cursor: pointer; color: var(--soft); padding-bottom: 6px; }
.layers button.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.ex-map .map { cursor: crosshair; }
.ex-map .muni { cursor: pointer; }
.ex-map .muni:hover { fill: #F3F3F1; }
.ex-map .muni.sel { fill: color-mix(in srgb, var(--mark) 10%, white); }
.selline { fill: none; stroke: var(--ink); stroke-width: 2.2; vector-effect: non-scaling-stroke; pointer-events: none; }
.map.all .coast { stroke-width: 1.6; }
.dragbox { fill: color-mix(in srgb, var(--ink) 5%, transparent); stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; pointer-events: none; }
.hit { fill: none; stroke: var(--sea-ink); stroke-width: 1.8; vector-effect: non-scaling-stroke; pointer-events: none; }
.pin { fill: var(--ink); stroke: #fff; stroke-width: 1.5; vector-effect: non-scaling-stroke; pointer-events: none; }
.tip { position: absolute; pointer-events: none; background: var(--ink); color: #fff; font-size: 13px; padding: 6px 9px; opacity: 0; transition: opacity .1s; white-space: nowrap; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--soft); margin-top: 8px; }
.place { margin-top: 18px; }
.place p { font-size: 15px; line-height: 1.55; color: var(--soft); margin-top: 6px; }
.place strong { font-weight: 500; font-size: 18px; }
.acts { display: flex; gap: 20px; font-size: 15px; margin-top: 10px; }
.acts button { all: unset; cursor: pointer; color: var(--ink); box-shadow: inset 0 -1px 0 var(--soft); }
.bbox { font: 400 13px ui-monospace, 'SFMono-Regular', Consolas, monospace; background: #F5F5F3; padding: 10px 12px; line-height: 1.6; margin-top: 10px; }
.bbox .note { font-family: var(--sans); color: var(--soft); }
.ptform { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.ptform label { font-size: 14px; color: var(--soft); }
.ptform input { font: 400 17px var(--sans); padding: 11px 13px; border: 1px solid var(--ink); border-radius: 0; width: 100%; background: #fff; color: var(--ink); }
.ptform input:focus { outline: 2px solid var(--mark); outline-offset: -1px; }
.ptrow { display: flex; gap: 10px; align-items: center; }
.ptrow input { width: 84px; }
.units { display: inline-flex; border: 1px solid var(--ink); }
.units button { all: unset; cursor: pointer; padding: 10px 12px; font-size: 15px; }
.units button.on { background: var(--ink); color: #fff; }
.find { all: unset; cursor: pointer; text-align: center; padding: 12px; border: 1px solid var(--ink); font-size: 16px; font-weight: 500; }
.find:hover { background: #F3F3F1; }
.fmt { font-size: 13px !important; color: #8A8A8A !important; }
.err { font-size: 14px !important; color: #B23A00 !important; } .err:empty { display: none; }

/* species suggestions under the search box */
.sugg { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; margin-top: -6px; }
.sugg p { font-size: 14px; color: var(--soft); margin-right: 4px; }
.sugg p.fine { flex-basis: 100%; font-size: 12.5px; color: #8A8A8A; }
.sp { all: unset; cursor: pointer; border: 1px solid var(--ink); padding: 7px 12px; font-size: 15px; display: inline-flex; gap: 6px; align-items: baseline; }
.sp:hover { background: color-mix(in srgb, var(--mark) 12%, white); }
.sp i { font-style: italic; font-weight: 500; }
.sp small { color: var(--soft); font-size: 12.5px; }
.sp:focus-visible { outline: 2px solid var(--mark); outline-offset: 2px; }

/* results: summary, CSV button, four groups */
.sum { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px 24px; flex-wrap: wrap; }
.sum h2 { font-size: clamp(24px, 2.2vw, 32px); }
.sum h2 small { display: block; font-size: 15px; color: var(--soft); margin-top: 8px; line-height: 1.5; font-weight: 300; }
.csv { all: unset; cursor: pointer; background: var(--ink); color: #fff; font-size: 16px; font-weight: 500; padding: 14px 20px; white-space: nowrap; }
.csv:hover { background: #2A2A2A; }
.csv:disabled { background: #D9D9D9; color: #8A8A8A; cursor: default; }
.active { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; font-size: 14px; }
.active button { all: unset; cursor: pointer; border-bottom: 1px solid var(--soft); }
.grp { margin-top: 32px; }
.grp > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.grp > summary::-webkit-details-marker { display: none; }
.grp > summary h3 { font-weight: 500; font-size: 19px; }
.grp > summary h3::before { content: "▸ "; color: var(--soft); font-size: 14px; }
.grp[open] > summary h3::before { content: "▾ "; }
.grp > summary span { font-size: 15px; color: var(--soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.grp > p { font-size: 14px; color: var(--soft); line-height: 1.5; margin-top: 10px; }
.grp ol { list-style: none; }
.grp li { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.grp li:hover { background: linear-gradient(90deg, color-mix(in srgb, var(--mark) 7%, white), transparent); }
.grp li a strong { font-weight: 500; font-size: 16px; line-height: 1.3; }
.grp li a:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.grp li .n { font-size: 16px; font-variant-numeric: tabular-nums; text-align: right; }
.grp li .n small { display: block; font-size: 12px; color: var(--soft); line-height: 1.3; }
.grp li p { grid-column: 1 / -1; font-size: 13.5px; color: var(--soft); line-height: 1.5; }
.grp li .dead { color: #B23A00; }
.grp .empty { padding: 16px 0; color: var(--soft); font-size: 15px; border-bottom: 1px solid var(--hair); display: block; }
.more { all: unset; cursor: pointer; display: inline-block; margin-top: 12px; font-size: 16px; font-weight: 300; color: var(--soft); font-style: italic; }
.more:hover { color: var(--mark-ink); }
.loading { color: var(--soft); font-size: 15px; padding: 20px 0; }

footer { margin: clamp(100px, 12vw, 180px) 0 48px; padding-top: 28px; border-top: 1px solid var(--hair);
         display: flex; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; font-size: 15px; color: var(--soft); line-height: 1.6; }
footer p { max-width: 34em; }
footer p b { color: var(--ink); font-weight: 500; }
footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
/* Homepage heat map (map.js drawHeat): continuous ramp of the c1–c5 colours */
.heat { pointer-events: none; }
.legend .rampbox { display: inline-flex; flex-direction: column; gap: 3px; vertical-align: middle; width: min(260px, 60%); }
.legend .ramp { display: block; height: 10px; width: 100%; }
.legend .ticks { display: flex; justify-content: space-between; font-size: 12px; }
/* Text pages (Acerca de, Vacíos y metas): a readable column, anchored sections, a table of contents */
.page-top { padding: clamp(48px, 7vw, 110px) 0 0; }
.page-top h1 { font: 300 clamp(40px, 5vw, 64px)/1.05 var(--sans); letter-spacing: -.01em; }
.page-top .lede { margin-top: 28px; }
.toc { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; padding-top: 18px; border-top: 1px solid var(--hair); }
.toc a { color: var(--soft); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.doc section { margin-top: clamp(56px, 7vw, 96px); scroll-margin-top: 24px; }
.doc h2 { font: 400 clamp(26px, 2.6vw, 34px)/1.2 var(--sans); padding-top: 18px; border-top: 1px solid var(--ink); }
.doc h2 span { color: var(--soft); font-weight: 300; }
.doc h3 { font: 500 18px/1.3 var(--sans); margin-top: 32px; }
.doc p, .doc li { font-size: 18px; line-height: 1.6; font-weight: 300; max-width: 42em; }
.doc p { margin-top: 16px; }
.doc p b, .doc li b { font-weight: 500; }
.doc ul, .doc ol { margin-top: 16px; padding-left: 1.2em; }
.doc li + li { margin-top: 8px; }
.doc a { color: inherit; text-decoration-color: var(--mark); text-underline-offset: 3px; }
.doc a:hover { color: var(--mark-ink); }
.doc .honest { font-size: 14px; }
.doc code { font-size: .9em; background: #F2F2F2; padding: 1px 5px; }
.cite { margin: 18px 0 0; padding: 18px 22px; background: #F6F6F6; border-left: 3px solid var(--mark); font-size: 17px; line-height: 1.55; max-width: 42em; overflow-wrap: anywhere; }
.reveal { all: unset; cursor: pointer; font-size: 17px; text-decoration: underline; text-decoration-color: var(--mark); text-underline-offset: 3px; }
.reveal:hover { color: var(--mark-ink); }
.reveal:focus-visible { outline: 2px solid var(--mark); outline-offset: 2px; }
/* Vacíos y metas */
.doc p.big { font-size: clamp(20px, 2vw, 26px); line-height: 1.4; max-width: 34em; }
.doc p.big b { font-weight: 500; }
.vmap { margin: 24px 0 0; position: relative; }
#map-donde .cell { pointer-events: auto; }   /* hover a cell for its own count */
.vmap .tip { line-height: 1.5; z-index: 2; }
.vmap .tip b { font-weight: 600; font-size: 14px; }
.legend .maphint { color: var(--soft); }
.vmap .legend { margin-top: 8px; }
.legend i.blank { background: #fff; outline: 1px solid #C9C9C9; outline-offset: -1px; }
.map rect.cell title { pointer-events: auto; }
.vtable { margin-top: 18px; border-collapse: collapse; width: 100%; max-width: 980px; font-size: 16px; }
.vtable th { text-align: left; font-weight: 500; font-size: 13px; color: var(--soft); padding: 8px 12px 8px 0; border-bottom: 1px solid var(--ink); vertical-align: bottom; }
.vtable td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--hair); font-weight: 300; vertical-align: middle; }
.vtable .num { text-align: right; font-variant-numeric: tabular-nums; }
.vtable a { color: inherit; text-decoration-color: var(--mark); text-underline-offset: 3px; }
.vtable.bars td:nth-child(2), .vtable.bars td:nth-child(3) { width: 22%; }
.hbar { display: flex; align-items: center; gap: 8px; }
.hbar i { display: block; height: 10px; border-radius: 0 4px 4px 0; min-width: 2px; }
.hbar i.rec { background: var(--ink); }
.hbar i.spp { background: var(--mark); }
.key { margin-top: 14px; max-width: 760px; font-size: 15px; font-weight: 300; }
i.k { display: inline-block; width: 18px; height: 10px; border-radius: 0 3px 3px 0; margin: 0 6px 0 2px; vertical-align: 1px; }
i.k.rec { background: var(--ink); } i.k.spp { background: var(--mark); }
i.k.old { background: color-mix(in srgb, var(--mark) 55%, white); } i.k.new { background: var(--mark); }
.hbar em { font-style: normal; font-size: 13px; color: var(--soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vtable.gbf td:first-child { font-weight: 500; white-space: nowrap; }
.legend .li { white-space: nowrap; margin-right: 10px; }   /* a swatch never wraps away from its label */
.legend .li i.cell { margin-right: 6px; }
.years { margin: 20px 0 0; max-width: 980px; }
.years svg { width: 100%; height: auto; display: block; }
.years .col { fill: color-mix(in srgb, var(--mark) 55%, white); }
.years .col.recent { fill: var(--mark); }
.years .ystrip { fill: transparent; }
.years .ystrip:hover + .col, .years .col:hover { fill: var(--mark-ink); }
.years .grid { stroke: var(--hair); stroke-width: 1; }
.years .ax { font-size: 17px; fill: var(--soft); }   /* viewBox units: the chart is drawn 1000 wide and scaled down */
.years .maria { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; }
.road li b { font-weight: 500; }
@media (max-width: 700px) { .vtable { font-size: 14px; } .vtable.bars th:nth-child(n+5), .vtable.bars td:nth-child(n+5) { display: none; } }
