/* IBM Plex Mono, served from this site (SIL Open Font License). */
@font-face { font-family: "Plex Mono"; font-weight: 400; font-display: swap; src: url("/fonts/plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "Plex Mono"; font-weight: 500; font-display: swap; src: url("/fonts/plex-mono-500.woff2") format("woff2"); }

/* Look: a plain instrument panel. One colour (the map's navy) in a few strengths, one accent (orange),
   one monospace typeface, hairlines, square corners. */
:root {
  color-scheme: dark;
  --bg: #08111f;
  --glow: 0 0 22px rgba(120, 165, 230, .09);
  --panel: #0f2038;
  --raise: #142a48;
  --fg: #dce8f8;
  --soft: #a9c0e0;
  --muted: #7590b8;
  --line: rgba(156, 192, 238, .2);
  --line-2: rgba(156, 192, 238, .42);
  --accent: #f08a3c;
  --map-bg: #0c1a31;
  --rule-bg: #0c1a31;
  --attrib-bg: rgba(12, 26, 49, .8);
  --mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-synthesis: none;
}
/* Light palette: Vanilla, Soft Dune, Classic Taupe, Umber, Black. The accent is a deeper orange so it reads on light paper. */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #e4ddcc;
  --glow: 0 0 22px rgba(68, 58, 53, .08);
  --panel: #f8f4ee;
  --raise: #efe8dc;
  --fg: #252525;
  --soft: #443a35;
  --muted: #75675c;
  --line: rgba(68, 58, 53, .2);
  --line-2: rgba(68, 58, 53, .45);
  --accent: #b5561f;
  --map-bg: #ebe4d6;
  --rule-bg: #f2ece2;
  --attrib-bg: rgba(248, 244, 238, .85);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 13.5px/1.6 var(--mono); }
/* a very fine grain over everything */
body::after { content: ""; position: fixed; inset: 0; z-index: 30; pointer-events: none; opacity: .035; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .8 0 0 0 0 .87 0 0 0 0 1 2.4 0 0 0 -1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; font-weight: 400; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--fg); text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
button { font: inherit; cursor: pointer; color: inherit; }
.muted { color: var(--muted); }

/* labels: small capitals */
.when, .section > h3, .sp-body h4, .group-body h4, .water h3, .pill, .spec dt, .chip, .mapbtn, .search button,
.plate-id, .two .row .k, details.group > summary, details.more > summary, .linkbtn, .place .area, .loading, .plate-note {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}

/* ---------- top bar ---------- */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px; border-bottom: 1px solid var(--line); background: var(--panel);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mark { width: 18px; height: 18px; flex: none; color: var(--muted); }
.top h1 { font-size: 12px; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.top h1 .name { color: var(--fg); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.top h1 .tagline::before { content: "/"; margin: 0 10px; color: var(--line-2); }
@media (max-width: 600px) {
  .top h1 { display: grid; line-height: 1.35; }
  .top h1 .tagline { font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; }
  .top h1 .tagline::before { content: none; }
}
.topright { display: flex; align-items: center; gap: 14px; flex: none; }
.lang { display: flex; border: 1px solid var(--line-2); }
.lang button { padding: 3px 9px; border: 0; background: none; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.lang button + button { border-left: 1px solid var(--line-2); }
.lang button[aria-pressed="true"] { color: var(--bg); background: var(--fg); }
.lang button:focus-visible { outline: 1px solid var(--accent); outline-offset: 1px; }
.theme { display: grid; place-items: center; width: 26px; height: 24px; padding: 0; border: 1px solid var(--line-2); background: none; color: var(--soft); }
.theme svg { width: 13px; height: 13px; }
.theme:hover { color: var(--accent); }
.theme:focus-visible { outline: 1px solid var(--accent); outline-offset: 1px; }
:root[data-theme="light"] body::after { mix-blend-mode: multiply; filter: invert(1); opacity: .05; }
:root[data-theme="light"] .maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: none; }
:root[data-theme="light"] .maplibregl-ctrl-attrib-button { filter: none; }
:root[data-theme="light"] .pin { filter: drop-shadow(0 2px 3px rgba(68, 58, 53, .45)); }

/* ---------- layout ---------- */
.layout { max-width: 1320px; margin: 0 auto; }
.finder { padding: 12px 12px 0; }
.result { padding: 12px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; }
.result, .foot { overflow-wrap: anywhere; }
html, body { overflow-x: clip; }
@media (min-width: 960px) {
  .layout { display: grid; grid-template-columns: minmax(380px, 48%) 1fr; align-items: start; }
  .finder { position: sticky; top: 0; padding: 12px 0 12px 12px; }
  .mapwrap #map { height: calc(100vh - 150px); min-height: 420px; }
}

/* ---------- search ---------- */
.search { display: flex; border: 1px solid var(--line); background: var(--panel); }
.search input { flex: 1; min-width: 0; padding: 10px 12px; font: inherit; border: 0; background: none; color: var(--fg); border-radius: 0; }
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; }
.search:focus-within { border-color: var(--line-2); }
.search button:focus-visible, .mapbtn:focus-visible, .chip:focus-visible, summary:focus-visible, .linkbtn:focus-visible, .places button:focus-visible {
  outline: 1px solid var(--accent); outline-offset: -1px;
}
.search button { padding: 0 16px; border: 0; border-left: 1px solid var(--line); background: none; color: var(--accent); }
.places { margin-top: -1px; background: var(--panel); border: 1px solid var(--line); }
.places li + li { border-top: 1px solid var(--line); }
.places button { display: block; width: 100%; text-align: left; padding: 9px 12px; border: 0; background: none; }
.places button:hover { background: var(--raise); }
.places .none { padding: 9px 12px; color: var(--muted); }

/* ---------- map ---------- */
.mapwrap { position: relative; margin-top: 12px; border: 1px solid var(--line); background: var(--map-bg); box-shadow: var(--glow); }
#map { height: 46vh; min-height: 300px; width: 100%; font-family: var(--mono); }
.mapbtn {
  position: absolute; left: 10px; top: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px;
  border: 1px solid var(--line-2); background: var(--panel); color: var(--fg);
}
.mapbtn svg { width: 14px; height: 14px; color: var(--accent); }
.mapbtn[disabled] { opacity: .6; }
.hint { margin-top: 8px; font-size: 12px; color: var(--muted); }
.pin { width: 28px; height: 38px; cursor: grab; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6)); }
.maplibregl-ctrl-group { border-radius: 0 !important; box-shadow: none !important; border: 1px solid var(--line-2); background: var(--panel) !important; }
.maplibregl-ctrl-group button + button { border-top: 1px solid var(--line) !important; }
.maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: invert(1) hue-rotate(180deg) brightness(1.6); }
.maplibregl-ctrl-scale { border-color: var(--soft) !important; color: var(--soft) !important; background: none !important; font: 10px var(--mono); }
.maplibregl-ctrl-attrib { background: var(--attrib-bg) !important; color: var(--muted); font: 10px var(--mono); }
.maplibregl-ctrl-attrib a { color: var(--soft); }
.maplibregl-ctrl-attrib-button { filter: invert(1); }

.water { margin-top: 12px; }
.water h3 { color: var(--muted); margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 7px 10px; border: 1px solid var(--line); background: none; }
.chip[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }

/* ---------- panels ---------- */
.place, .empty, .notices, .section, .loading { border: 1px solid var(--line); background: var(--panel); box-shadow: var(--glow); }
.place, .empty { padding: 14px 16px 16px; }
.place .when { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.place .when span:first-child::before { content: "["; }
.place .when span:first-child::after { content: "]"; }
.place .when span:first-child { color: var(--fg); }
.place h2, .empty h2 { font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: -.01em; margin-bottom: 8px; }
.place .sub, .empty p { color: var(--soft); max-width: 62ch; }
.empty p + p { margin-top: 8px; }
.empty p.muted { color: var(--muted); }
.place .areas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.place .area { padding: 3px 8px; border: 1px solid var(--line-2); color: var(--soft); }
.place .area.uncertain { border-style: dashed; }
.place .coords { margin-top: 14px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.place .coords + .coords { margin-top: 2px; }
.place .coords:first-of-type { color: var(--soft); }

.notices { display: grid; }
.notice { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: start; padding: 10px 16px; border-left: 2px solid var(--line-2); }
.notice + .notice { border-top: 1px solid var(--line); }
.notice svg { width: 15px; height: 15px; margin-top: 3px; color: var(--muted); }
.notice.warn, .notice.stop { border-left-color: var(--accent); }
.notice.warn svg, .notice.stop svg { color: var(--accent); }
.notice strong { font-weight: 500; }
.notice a { color: inherit; }

.section > h3 { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-bottom: 1px solid var(--line); color: var(--fg); }
.section > h3::before { content: "+"; color: var(--accent); }
.section > .lead { color: var(--muted); font-size: 12px; padding: 9px 16px; border-bottom: 1px solid var(--line); }
.section > .card + .card, .card > details + details, .card > .group + .group { border-top: 1px solid var(--line); }

/* ---------- species rows ---------- */
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details.sp > summary {
  cursor: pointer; padding: 10px 40px 10px 16px; position: relative;
  display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 1px 14px; align-items: center;
}
details.sp > summary:hover, details.group > summary:hover, details.more > summary:hover { background: var(--raise); }
details.sp > summary::after, details.group > summary::after, details.more > summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 15px;
}
details.sp[open] > summary::after, details.group[open] > summary::after, details.more[open] > summary::after { content: "−"; color: var(--accent); }
details.sp[open] > summary, details.group[open] > summary, details.more[open] > summary { background: var(--raise); }
.sp-thumb { grid-row: 1 / span 2; width: 84px; height: 36px; object-fit: contain; opacity: .9; }
.sp-thumb.none { border: 1px dashed var(--line); }
.sp-name { font-size: 14px; font-weight: 500; }
.sp-name i { font-style: normal; font-weight: 400; font-size: 11px; color: var(--muted); margin-left: 8px; white-space: nowrap; }
.sp-head { grid-column: 2 / -1; color: var(--soft); font-size: 12.5px; }
.sp-body { padding: 14px 16px 18px; display: grid; gap: 12px; border-top: 1px solid var(--line); }
.sp-body h4, .group-body h4 { color: var(--muted); margin-top: 6px; }
.sp-body h4::before, .group-body h4::before { content: "// "; }

/* the plate: drawing, name, numbered key */
.plate { border: 1px solid var(--line); }
.plate-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.plate-name { font-size: 15px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.plate-latin { color: var(--muted); font-size: 12px; }
.plate-id { color: var(--muted); text-align: right; white-space: nowrap; }
.plate-id b { font-weight: 500; color: var(--accent); margin-left: 8px; }
.plate img { display: block; width: 100%; max-width: 440px; margin: 10px auto 0; }
.plate-note { color: var(--muted); text-align: center; font-size: 10px; padding: 0 12px 10px; }
.key { display: grid; border-top: 1px solid var(--line); counter-reset: key; }
.key li { display: grid; grid-template-columns: 28px 1fr; gap: 6px; padding: 8px 12px; counter-increment: key; }
.key li + li { border-top: 1px solid var(--line); }
.key li::before { content: counter(key, decimal-leading-zero); color: var(--muted); font-size: 11px; padding-top: 2px; }
.key li.opens { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; padding-top: 10px; }
.key li.opens::before { color: var(--accent); }

.pill { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--soft); }
.pill svg { width: 12px; height: 12px; flex: none; }
.pill.not_allowed { color: var(--accent); }
.pill.limited svg { color: var(--accent); }
.pill.unknown, .pill.none { color: var(--muted); }

.two { display: grid; gap: 6px; }
.two .row { display: flex; align-items: center; gap: 10px; }
.two .row .k { color: var(--muted); min-width: 120px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.badge { font-size: 12px; color: var(--accent); }
.badge::before { content: "! "; }
.note { font-size: 12.5px; color: var(--soft); border-left: 1px solid var(--line-2); padding-left: 10px; max-width: 70ch; }

/* ---------- rules as spec sheets ---------- */
.rule { border: 1px solid var(--line); background: var(--rule-bg); }
.rule + .rule { margin-top: 8px; }
.rule-text { padding: 10px 12px; max-width: 78ch; }
.rule-text strong { font-weight: 500; }
.rule-lead { padding: 10px 12px 0; max-width: 78ch; }
.rule-text.published { color: var(--muted); font-size: 12.5px; padding-top: 8px; }
.rule-text .lbl { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.spec { display: grid; grid-template-columns: 104px minmax(0, 1fr); border-top: 1px solid var(--line); font-size: 12.5px; }
.spec dt { padding: 6px 0 5px 12px; color: var(--muted); border-top: 1px solid var(--line); }
.spec dd { padding: 5px 12px 5px 8px; border-top: 1px solid var(--line); color: var(--soft); }
.spec dt:first-of-type, .spec dt:first-of-type + dd { border-top: 0; }
.spec dd.state { color: var(--fg); }
.spec dd.state::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; background: var(--accent); vertical-align: 1px; }
.rule.off .spec dd.state::before { background: none; box-shadow: inset 0 0 0 1px var(--muted); }
.rule details { border-top: 1px solid var(--line); font-size: 12px; }
.rule details summary { cursor: pointer; color: var(--muted); padding: 6px 12px; }
.rule details summary::before { content: "> "; color: var(--accent); }
.rule details p { padding: 0 12px 10px; white-space: pre-line; color: var(--soft); }
.rule.off .rule-text { color: var(--muted); }

details.group > summary, details.more > summary {
  cursor: pointer; padding: 12px 40px 12px 16px; position: relative; display: flex; justify-content: space-between; gap: 10px; align-items: baseline;
}
details.group > summary .n, details.more > summary .n { color: var(--muted); font-variant-numeric: tabular-nums; }
.group-body { padding: 14px 16px 16px; border-top: 1px solid var(--line); }
.group-body h4 { margin: 14px 0 8px; }
.group-body h4:first-child { margin-top: 0; }

.sources { font-size: 12.5px; color: var(--soft); }
.sources .src { padding: 9px 16px; border-bottom: 1px solid var(--line); }
.sources > div:last-child { padding: 12px 16px; }
.linkbtn { display: inline-block; padding: 9px 12px; border: 1px solid var(--line-2); text-decoration: none; }
.linkbtn::after { content: " →"; color: var(--accent); }
.linkbtn:hover { border-color: var(--accent); }

.loading { padding: 16px; color: var(--muted); }
.loading::before {
  content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; vertical-align: -1px;
  border: 1px solid var(--line-2); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .loading::before { animation: none; } }

/* about: plain text for people and search engines, laid out as a spec sheet */
.about { max-width: 1320px; margin: 8px auto 0; padding: 20px 16px 24px; }
.about h2 { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; color: var(--muted); margin-bottom: 10px; }
.about h2::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--accent); margin-right: 10px; vertical-align: 1px; }
.about-intro { color: var(--soft); max-width: 72ch; margin-bottom: 14px; }
.about dl { display: grid; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--glow); }
.about dl > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 10px 14px; }
.about dl > div + div { border-top: 1px solid var(--line); }
.about dt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg); }
.about dd { color: var(--soft); font-size: 12.5px; max-width: 80ch; }
@media (min-width: 760px) {
  .about dl > div { grid-template-columns: 220px minmax(0, 1fr); gap: 16px; }
}

.foot { max-width: 1320px; margin: 0 auto; padding: 14px 16px calc(24px + env(safe-area-inset-bottom)); font-size: 11.5px; color: var(--muted); border-top: 1px solid var(--line); }
.foot strong { color: var(--soft); font-weight: 500; }
.foot p + p { margin-top: 6px; }

@media (max-width: 480px) {
  details.sp > summary { grid-template-columns: 64px minmax(0, 1fr); gap: 2px 10px; padding-left: 12px; }
  details.sp > summary .pill { grid-column: 2; justify-self: start; white-space: normal; }
  .sp-thumb { grid-row: 1 / span 3; }
  .sp-thumb { width: 64px; height: 28px; }
  .sp-name i { display: none; }
  .spec { grid-template-columns: 88px minmax(0, 1fr); }
}

/* ---------- supporting pages: /fragor and /platser ---------- */
.top .brand { text-decoration: none; color: inherit; }
.top .h1like { font-size: 12px; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.top .h1like .name { color: var(--fg); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.top .h1like .tagline::before { content: "/"; margin: 0 10px; color: var(--line-2); }
.docnav { display: flex; gap: 14px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.docnav a { color: var(--soft); text-decoration: none; }
.docnav a:hover { color: var(--fg); }
.doc { max-width: 860px; margin: 0 auto; padding: 18px 16px 8px; }
.doc .crumbs { font-size: 11px; color: var(--muted); margin-bottom: 18px; letter-spacing: .04em; }
.doc .crumbs a { color: var(--soft); }
.doc h1 { font-size: 26px; line-height: 1.25; font-weight: 500; letter-spacing: -.01em; margin-bottom: 14px; color: var(--fg); }
.doc h2 { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 32px 0 10px; }
.doc h2::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--accent); margin-right: 10px; vertical-align: 1px; }
.doc p, .doc li { color: var(--soft); max-width: 72ch; }
.doc p + p { margin-top: 10px; }
.doc .lede { color: var(--fg); font-size: 15px; line-height: 1.6; }
.doc a { color: var(--fg); text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.doc strong { color: var(--fg); font-weight: 500; }
.doc .muted { color: var(--muted); }
.doc ul.plain, .doc .sources ul, .doc .more ul { padding-left: 18px; display: grid; gap: 4px; }
.doc article > ul:not([class]) { padding-left: 18px; display: grid; gap: 8px; margin-top: 8px; }
.review { display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--line); background: var(--panel); margin: 0 0 16px; font-size: 12px; }
.review > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); }
.review > div + div { border-top: 1px solid var(--line); }
.review dt { padding: 6px 12px; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.review dd { padding: 6px 12px; color: var(--soft); }
.doc .notice { border: 1px solid var(--line); border-left: 2px solid var(--line-2); padding: 8px 12px; margin: 10px 0; font-size: 12.5px; max-width: none; }
.doc .notice.warn { border-left-color: var(--accent); color: var(--fg); }
.rq { margin: 10px 0; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--glow); }
.rq blockquote { margin: 0; padding: 12px 14px; color: var(--fg); font-size: 13px; line-height: 1.55; }
.rq figcaption { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 7px 14px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.rq figcaption a { color: var(--soft); }
.st { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.st.on { color: var(--accent); }
.st.unknown { color: var(--soft); }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); background: var(--panel); }
table.sizes { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.sizes th, table.sizes td { text-align: left; vertical-align: top; padding: 8px 12px; border-top: 1px solid var(--line); }
table.sizes thead th { border-top: 0; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
table.sizes th[scope=row] { color: var(--fg); font-weight: 500; white-space: nowrap; }
table.sizes td { color: var(--soft); }
table.sizes small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.arealist { list-style: none; padding: 0; display: grid; gap: 10px; }
.arealist .area { border: 1px solid var(--line); background: var(--panel); box-shadow: var(--glow); }
.area-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 9px 14px; border-bottom: 1px solid var(--line); }
.area-h strong { color: var(--fg); }
.group-note { padding: 7px 14px 0; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.area-h .maplink { margin-left: auto; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); text-decoration: none; }
.arealist .area ul { list-style: none; padding: 0; }
.arealist .area li li { padding: 8px 14px; font-size: 12.5px; max-width: none; }
.arealist .area li li + li { border-top: 1px solid var(--line); }
.arealist .area li li .st { display: block; margin-bottom: 2px; }
.today { border: 1px solid var(--line); border-left: 2px solid var(--accent); background: var(--panel); padding: 12px 14px; margin: 16px 0 12px; }
.today .when { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.today .big { color: var(--fg); font-size: 17px; margin-top: 4px; }
.btn { display: inline-block; border: 1px solid var(--accent); color: var(--fg) !important; text-decoration: none; padding: 9px 14px;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.btn:hover { background: var(--raise); }
.cards { list-style: none; padding: 0; display: grid; gap: 10px; }
.cards a { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--glow); text-decoration: none; }
.cards a:hover { border-color: var(--line-2); }
.cards strong { color: var(--fg); }
.cards span { color: var(--soft); font-size: 12.5px; }
@media (min-width: 640px) { .cards.places { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cta { max-width: 860px; margin: 36px auto 24px; padding: 16px; border: 1px solid var(--line); background: var(--panel);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; justify-content: space-between; }
.cta p { color: var(--soft); max-width: 52ch; }
.about-links { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.about-links a { color: var(--accent); text-decoration: none; }
@media (max-width: 600px) {
  .top .h1like { display: grid; line-height: 1.35; }
  .top .h1like .tagline { font-size: 10.5px; }
  .top .h1like .tagline::before { content: none; }
  .docnav { gap: 10px; }
  .review > div { grid-template-columns: minmax(0, 1fr); }
  .review dd { padding-top: 0; }
  .doc h1 { font-size: 22px; }
}
