/* Public information pages use the map's existing tokens and quiet reading layout. */
* { box-sizing: border-box; }
html { background: var(--map-land); }
body { margin: 0; color: var(--ink); font: 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
main { max-width: 640px; min-height: 100vh; margin: 0 auto; padding: max(8px, env(safe-area-inset-top)) 20px 32px; background: var(--surface); }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0 12px; }
.identity { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 600; font-size: 15px; }
.identity img { width: 34px; height: 34px; border-radius: var(--radius-md); }
.map-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); white-space: nowrap; font-size: 13px; font-weight: 600; text-decoration: none; }
.map-link:hover { background: var(--surface-2); }
.section-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 5px; border-radius: var(--radius-md); background: var(--surface-2); margin-bottom: 28px; }
.section-nav a { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 9px; padding: 5px 7px; color: var(--ink-2); font-size: 13px; font-weight: 600; text-align: center; text-decoration: none; }
.section-nav a[aria-current="page"] { background: var(--ink); color: var(--surface); }
.section-nav a:not([aria-current]):hover { background: var(--surface); color: var(--ink); }
h1 { font-size: 23px; line-height: 1.3; margin: 0 0 12px; font-weight: 600; }
h2 { margin: 32px 0 10px; font-size: 17px; line-height: 1.4; font-weight: 600; }
h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
p { margin: 0 0 14px; }
.lead { color: var(--ink-2); font-size: 17px; }
.muted, .small { color: var(--ink-3); }
.small { font-size: 13px; }
.byline { margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.panel { margin: 20px 0; padding: 16px 18px; border-radius: var(--radius-md); background: var(--surface-2); }
.panel > :last-child { margin-bottom: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 16px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 18px; border-radius: var(--radius-pill); background: var(--ink); color: var(--surface); font: 500 14px var(--font); text-decoration: none; border: 0; cursor: pointer; }
.button:hover { color: var(--surface); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; }
.source-list { margin: 16px 0 20px; }
.source-list summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.source-list[open] summary { margin-bottom: 10px; }
.sources { padding-left: 22px; }
.sources li { margin: 0 0 9px; }
.sources li::marker { color: var(--ink-3); }
.entry { padding: 24px 0; border-top: 1px solid var(--line); }
.entry h2 { margin: 0 0 8px; font-size: 19px; }
.entry time { display: block; font-size: 13px; margin-bottom: 10px; color: var(--ink-3); }
.entry p { color: var(--ink-2); }
.entry p:last-child { margin-bottom: 0; }
.empty { padding: 22px 0; border-top: 1px solid var(--line); color: var(--ink-3); }
.item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.item:last-child { border-bottom: 0; }
footer { margin-top: 42px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
footer a { color: var(--ink-2); }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.copyright summary { position: relative; display: inline-block; cursor: pointer; list-style: none; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.copyright summary::-webkit-details-marker { display: none; }
.copyright summary::before { content: ""; position: absolute; inset: -12px -8px; }
.copyright p { margin: 12px 0 0; }
@media (max-width: 519px) { .section-nav a:last-child:nth-child(odd) { grid-column: 1 / -1; } } /* on a phone, an odd last section spans its row */
@media (min-width: 520px) { .section-nav { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 700px) { main { min-height: 0; margin: 24px auto; padding: 16px 40px 32px; border-radius: var(--radius-lg); box-shadow: var(--shadow-float); } }
