/* The region map (region-map.js). Uses the site's tokens only; no colours of its own. */
.region-map { margin-block: 1.5rem; }
.region-map [hidden] { display: none; }
.rm-tabs { margin: 0 0 .75rem; }
.rm-svg { display: block; width: 100%; max-height: 62vh; margin: 0 auto; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.rm-stage.is-zoomed .rm-svg { touch-action: none; }
.rm-region { stroke: var(--bg); stroke-width: 1; vector-effect: non-scaling-stroke; fill: var(--code); }
/* Regions with a page take one of four colours, so neighbours differ (region-map.js colourRegions). c0 is the site's green and is all you see until two pages touch.
   The four are hue and lightness steps of the green, chosen by Pennant: all stay in the green family so "lit" still reads as one thing, and each is well apart from the grey (--code). */
.rm-region.has-page { --c: var(--green); fill: var(--c); cursor: pointer; stroke-width: 1.5; }
.rm-region.c1 { --c: #388090; }
.rm-region.c2 { --c: #829d60; }
.rm-region.c3 { --c: #11352c; }
@media (prefers-color-scheme: dark) {
  .rm-region.c1 { --c: #88cada; }
  .rm-region.c2 { --c: #c0dd9d; }
  .rm-region.c3 { --c: #4f8273; }
}
.rm-region.has-page:hover { fill: color-mix(in oklab, var(--c) 80%, var(--ink)); }
.rm-region.has-page:focus-visible { outline: none; stroke: var(--ink); stroke-width: 3; }
.rm-region.is-selected { stroke: var(--ink); stroke-width: 3; }
.rm-zoom { display: flex; gap: 8px; margin-top: .5rem; }
.rm-zoom button { font: 600 16px/1 var(--body); min-height: 44px; min-width: 44px; padding: 0 14px; cursor: pointer; }
.rm-live { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; }
.rm-fail { color: var(--mute); }

/* The summary sheet's contents (.sheet itself is in ledger.css). */
.rm-sheet h2 { margin: 0 3rem .4rem 0; font-size: 1.4rem; line-height: 1.25; }
.rm-headline { font-weight: 600; margin: 0 0 .8rem; }
.rm-go { display: block; text-align: center; margin: .2rem 0 .4rem; }
.rm-fed { margin: 0 0 .5rem; text-align: center; font-size: 1rem; }
.rm-facts { margin: 0 0 .5rem; }
.rm-facts dt { font: 600 .875rem var(--font-body); color: var(--mute); margin-top: .7rem; }
.rm-facts dd { margin: 0; font-size: 1rem; line-height: 1.55; }
