@font-face { font-family: Overpass; src: url(fonts/Overpass.ttf) format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #F3F1EA; --paper-2: #E9E5D9; --card: #FBFAF6;
  --ink: #1D1D1B; --ink-2: #57534A; --muted: #8C877C; --line: #D9D4C6;
  --forest: #24361F; --forest-2: #3A5530; --moss: #7F9F68;
  --bar-h: 56px; --radius: 14px;
  --shadow: 0 1px 2px rgb(30 30 20 / .08), 0 8px 24px rgb(30 30 20 / .12);
  font-family: Overpass, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- top bar */
.bar {
  position: fixed; inset: 0 0 auto 0; height: calc(var(--bar-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 16px 0; display: flex; align-items: center; gap: 20px;
  background: var(--forest); color: #F3F1EA; z-index: 20;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.01em; white-space: nowrap; }
.brand svg { width: 26px; height: 26px; color: #A9C98E; }
.tabs { min-width: 0; display: flex; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.tabs a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 14.5px; white-space: nowrap; opacity: .78; }
.tabs a:hover { opacity: 1; background: rgb(255 255 255 / .08); }
.tabs a[aria-current] { opacity: 1; background: #F3F1EA; color: var(--forest); }

main { position: fixed; inset: calc(var(--bar-h) + env(safe-area-inset-top)) 0 0 0; }
#map { position: absolute; inset: 0; background: var(--paper); }

/* ---------- side panel / bottom sheet */
.panel {
  position: absolute; z-index: 10; background: var(--paper); box-shadow: var(--shadow);
  display: flex; flex-direction: column; overflow: hidden;
}
#panel-body { min-width: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 20px 28px; flex: 1; }
.grab { display: none; }
@media (min-width: 900px) {
  .strip { margin: 0; padding-inline: 0; }
  .panel { top: 14px; left: 14px; bottom: 14px; width: 400px; border-radius: var(--radius); }
  #panel-body { padding-top: 20px; }
}
.tabs .s { display: none; }
@media (max-width: 899px) {
  .tabs .l { display: none; } .tabs .s { display: inline; }
  .tabs a { padding: 7px 8px; font-size: 13.5px; }
  .brand span { display: none; }
  .panel { left: 0; right: 0; bottom: 0; height: 46%; border-radius: 18px 18px 0 0; transition: height .3s cubic-bezier(.2,.8,.2,1);
    padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -2px 12px rgb(30 30 20 / .14); will-change: height; }
  .grab { display: block; flex: none; height: 30px; border: 0; background: none; cursor: grab; position: relative; touch-action: none; -webkit-tap-highlight-color: transparent; }
  .grab::after { content: ""; position: absolute; left: 50%; top: 11px; width: 44px; height: 5px; margin-left: -22px; border-radius: 3px; background: #C9C3B3; }
  .panel[data-sheet="peek"] #panel-body { overflow: hidden; }
  .panel[data-sheet="peek"] .grab::before { content: "Swipe up for details"; position: absolute; right: 16px; top: 7px; font-size: 12px; font-weight: 700; color: var(--muted); }
  #panel-body { padding-top: 0; }
  .maplibregl-ctrl-bottom-right, .maplibregl-ctrl-bottom-left { display: none; }
}

/* ---------- panel content */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
h1, h2, h3 { margin: 0; letter-spacing: -.015em; line-height: 1.1; }
.intro h1 { font-size: 27px; font-weight: 800; }
.intro p { color: var(--ink-2); line-height: 1.45; margin: 8px 0 18px; font-size: 15.5px; }

.trail-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.trail-card {
  display: grid; grid-template-columns: 10px 1fr auto; gap: 14px; align-items: center;
  padding: 14px 16px 14px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line);
  text-decoration: none; transition: transform .12s, box-shadow .12s;
}
.trail-card:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.trail-card .swatch { width: 10px; height: 100%; min-height: 40px; border-radius: 5px; }
.trail-card h3 { font-size: 17px; font-weight: 750; }
.trail-card .meta { font-size: 13.5px; color: var(--ink-2); margin-top: 3px; }
.trail-card .go { color: var(--muted); font-size: 20px; }
.spark { width: 72px; height: 26px; }

.back { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.trail-head { display: flex; gap: 12px; align-items: center; }
.trail-head .dot { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4.5px currentColor; }
.trail-head h1 { font-size: 30px; font-weight: 850; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 16px 0 6px; }
.stats div { background: var(--card); padding: 12px 10px 10px; text-align: center; }
.stats b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.stats span { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.alt { font-size: 13px; color: var(--ink-2); margin: 6px 2px 0; }

.section-h { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin: 26px 0 10px; display: flex; justify-content: space-between; align-items: baseline; }
.section-h small { font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--muted); font-size: 12.5px; }

.profile { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 10px 4px; touch-action: none; }
.profile svg { width: 100%; height: 130px; display: block; overflow: visible; }
.profile .readout { position: absolute; top: 8px; right: 12px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }

.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 148px; gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; margin: 0 -20px; padding-inline: 20px; scrollbar-width: thin; }
.tile { scroll-snap-align: start; text-decoration: none; border-radius: 10px; overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.tile .ph { aspect-ratio: 4/3; background: var(--paper-2) center/cover; }
.tile b { display: block; font-size: 13.5px; font-weight: 700; padding: 7px 9px 9px; line-height: 1.2; }

.rows { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--card); overflow: hidden; }
.rows li + li { border-top: 1px solid var(--line); }
.rows a, .rows .row { display: flex; gap: 12px; align-items: center; padding: 11px 14px; text-decoration: none; font-size: 14.5px; }
.rows .ico { width: 26px; height: 26px; flex: none; }
.rows .sub { color: var(--muted); font-size: 12.5px; margin-left: auto; text-align: right; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid var(--line); background: var(--card); cursor: pointer; }
.btn .ico { width: 22px; height: 22px; flex: none; }
.btn.primary { background: var(--forest); color: #F3F1EA; border-color: var(--forest); }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.note { font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 18px; }

.sep { display: inline-block; width: 1.2em; text-align: center; font-family: Arial, sans-serif; color: var(--muted); font-weight: 700; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 3px 9px 3px 7px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.chip i { width: 9px; height: 9px; border-radius: 50%; }
.cond { text-transform: capitalize; }

/* detail (landmark / structure) */
.detail .hero { margin: 4px -20px 16px; aspect-ratio: 4/3; background: var(--paper-2) center/cover; cursor: zoom-in; }
@media (min-width: 900px) { .detail .hero { margin: -20px -20px 16px; } }
.detail h1 { font-size: 26px; font-weight: 800; margin: 8px 0 6px; }
.detail p { line-height: 1.5; color: var(--ink-2); font-size: 15.5px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14.5px; margin: 14px 0; }
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; font-weight: 600; }
.found-btn[aria-pressed="true"] { background: #E3EED8; border-color: #9DBB84; color: var(--forest); }

/* ---------- full pages */
.page { position: absolute; inset: 0; overflow-y: auto; background: var(--paper); z-index: 15; }
.page .wrap { max-width: 1080px; margin: 0 auto; padding: 36px 20px 64px; }
.page h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 850; }
.page .lede { font-size: 17px; color: var(--ink-2); max-width: 60ch; line-height: 1.5; margin: 10px 0 24px; }

.hunt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 22px; }
.hunt .bar-o { flex: 1; height: 10px; border-radius: 5px; background: var(--paper-2); overflow: hidden; }
.hunt .bar-i { height: 100%; background: linear-gradient(90deg, #7F9F68, #3A5530); border-radius: 5px; transition: width .4s; }
.hunt b { font-variant-numeric: tabular-nums; white-space: nowrap; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.filters button { border: 1px solid var(--line); background: var(--card); padding: 7px 13px; border-radius: 999px; font-weight: 650; font-size: 14px; cursor: pointer; display: inline-flex; gap: 7px; align-items: center; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filters i { width: 10px; height: 10px; border-radius: 50%; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; position: relative; transition: transform .14s, box-shadow .14s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card .ph { aspect-ratio: 4/3; background: var(--paper-2) center/cover; }
.card .ph.none { display: grid; place-items: center; color: var(--muted); font-size: 13px; background: repeating-linear-gradient(45deg, var(--paper-2) 0 8px, #E2DDD0 8px 16px); }
.card .body { padding: 12px 14px 14px; }
.card h3 { font-size: 17px; font-weight: 750; margin: 6px 0 4px; }
.card p { font-size: 13.5px; color: var(--ink-2); margin: 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .stamp { position: absolute; top: 10px; right: 10px; background: var(--forest); color: #F3F1EA; font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 999px; transform: rotate(3deg); box-shadow: 0 2px 6px rgb(0 0 0 / .25); }

.adv { display: grid; gap: 28px; }
.adv-item { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.adv-item img { border-radius: 10px; cursor: zoom-in; width: 100%; }
.adv-item img.pixel { image-rendering: pixelated; }
.adv-item h2 { font-size: 26px; font-weight: 800; }
.adv-item p { color: var(--ink-2); line-height: 1.5; }
@media (max-width: 760px) { .adv-item { grid-template-columns: 1fr; } }
.signs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.signs a { text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.signs img { aspect-ratio: 11/17; object-fit: cover; object-position: top; }
.signs b { display: block; padding: 9px 12px; font-size: 14.5px; }

.log { list-style: none; padding: 0; margin: 0; position: relative; max-width: 720px; }
.log::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.log li { position: relative; padding: 0 0 26px 48px; }
.log .pin { position: absolute; left: 4px; top: 2px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 2px solid var(--line); font-size: 12px; }
.log .repair .pin { background: #E9A23B; border-color: #E9A23B; color: #fff; }
.log .survey .pin { background: var(--forest-2); border-color: var(--forest-2); color: #fff; }
.log time { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.log h3 { font-size: 18px; font-weight: 750; margin: 3px 0 5px; }
.log p { margin: 0; color: var(--ink-2); line-height: 1.5; }
.log .thanks { margin-top: 8px; font-weight: 700; color: var(--forest-2); font-size: 14px; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
.lightbox::backdrop { background: rgb(15 18 12 / .88); }
.lightbox img { max-height: 92vh; max-width: 96vw; border-radius: 8px; display: block; cursor: pointer; }
.lightbox.single img { cursor: default; }
.lightbox form { position: fixed; top: 12px; right: 16px; }
.lightbox button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .15); color: #fff; font-size: 28px; cursor: pointer; }

/* ---------- map bits */
.maplibregl-ctrl-group { border-radius: 10px !important; box-shadow: var(--shadow) !important; }
.maplibregl-ctrl-attrib { font-size: 10.5px; background: rgb(243 241 234 / .8) !important; }
.maplibregl-popup-content { font-family: Overpass, sans-serif; border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: 13.5px; box-shadow: var(--shadow); }
.here-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 3px solid #fff; box-shadow: 0 1px 4px rgb(0 0 0 / .4); }
.offline { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); z-index: 12; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 700; padding: 7px 13px; border-radius: 999px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- committee planner mode */
.planner .bar { background: #2B2F36; }
.mode { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: #E9A23B; color: #2B2F36; padding: 4px 9px; border-radius: 6px; white-space: nowrap; }
.warn { color: #B03A2E; font-weight: 800; }
.facts.plan { border-top: 1px solid var(--line); padding-top: 12px; }
.facts.plan dd { font-weight: 500; }
.hist { display: block !important; line-height: 1.45; }
.hist small { color: var(--muted); }
@media (max-width: 899px) { .mode { font-size: 10.5px; padding: 3px 6px; } }
.tabs a.signout { opacity: .65; font-weight: 500; }

/* ---------- inspection report form (planner) */
.btn.wide { display: flex; width: 100%; margin: 14px 0 4px; }
.btn.big { font-size: 18px; padding: 16px; margin-top: 22px; }
.btn:disabled { opacity: .6; cursor: progress; }
.thumbs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; cursor: zoom-in; }
.form-h { font-size: 26px; font-weight: 800; margin: 4px 0 6px; }
.form-sub { color: var(--ink-2); line-height: 1.45; margin: 0 0 18px; font-size: 15.5px; }
.report { display: grid; gap: 18px; }
.report legend, .report .field { font-weight: 700; font-size: 15px; color: var(--ink); }
.report fieldset { border: 0; padding: 0; margin: 0; }
.report legend { margin-bottom: 8px; padding: 0; }
.field { display: grid; gap: 7px; }
.field small { font-weight: 500; color: var(--muted); }
.field input, .field textarea, .field select { font: inherit; font-size: 17px; font-weight: 500; padding: 12px 13px; border: 1.5px solid #C9C3B3; border-radius: 10px; background: #fff; width: 100%; }
.field textarea { resize: vertical; line-height: 1.4; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--forest-2); box-shadow: 0 0 0 3px rgb(58 85 48 / .18); }
.two { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; }
@media (max-width: 420px) { .two { grid-template-columns: 1fr; } }
.seg { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0; }
.seg legend { grid-column: 1 / -1; }
.seg label, .conds label { cursor: pointer; }
.seg input, .conds input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 12px; font-weight: 700; background: #fff; border: 1.5px solid #C9C3B3; border-radius: 10px 0 0 10px; }
.seg label + label span { border-left: 0; border-radius: 0 10px 10px 0; }
.seg input:checked + span { background: var(--forest); color: var(--paper); }
.conds { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.conds legend { grid-column: 1 / -1; }
.conds span { display: block; text-align: center; padding: 12px 6px; border-radius: 10px; border: 1.5px solid #C9C3B3; background: #fff; font-weight: 700; font-size: 15px; }
.conds input:checked + span { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.conds label:nth-last-child(-n+2) input:checked + span { background: #B03A2E; border-color: #B03A2E; }
.seg input:focus-visible + span, .conds input:focus-visible + span { outline: 3px solid #9DBB84; outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.35; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--forest); }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.photos:empty { display: none; }
.ph-thumb { position: relative; aspect-ratio: 1; }
.ph-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.ph-thumb button { position: absolute; top: -7px; right: -7px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; background: var(--ink); color: #fff; font-size: 17px; line-height: 1; cursor: pointer; }
.add-photo { justify-content: center; border-style: dashed; border-width: 2px; font-size: 16px; }
.form-err { margin: 0; background: #FBE3DF; color: #8E2A1F; border-radius: 10px; padding: 11px 13px; font-weight: 700; }
.done { text-align: center; padding-top: 24px; }
.done .tick { width: 64px; height: 64px; border-radius: 50%; background: #E3EED8; color: var(--forest); font-size: 34px; font-weight: 800; display: grid; place-items: center; margin: 0 auto 14px; }

/* ---------- observations (planner) */
.fab { position: absolute; z-index: 11; right: 58px; top: 12px; background: #C0152F; color: #fff; text-decoration: none; font-weight: 800; font-size: 15px; padding: 10px 15px; border-radius: 999px; box-shadow: var(--shadow); }
.fab:hover { background: #A01025; }
.place { background: #FFF4E5; border: 1.5px solid #F2C27B; border-radius: 12px; padding: 12px 14px; font-size: 15px; line-height: 1.45; margin-bottom: 18px; display: grid; gap: 10px; }
.types { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.types legend { grid-column: 1 / -1; }
.types input { position: absolute; opacity: 0; pointer-events: none; }
.types span { display: flex; align-items: center; gap: 8px; padding: 10px 11px; border: 1.5px solid #C9C3B3; border-radius: 10px; background: #fff; font-weight: 650; font-size: 14px; line-height: 1.2; cursor: pointer; min-height: 48px; }
.types i { font-style: normal; font-size: 20px; }
.types input:checked + span { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.types input:focus-visible + span { outline: 3px solid #9DBB84; outline-offset: 2px; }
.sev { grid-template-columns: repeat(3, 1fr); }
.sev input:checked + span.s1 { background: #E3A73B; border-color: #E3A73B; color: #1D1D1B; }
.sev input:checked + span.s2 { background: #E4572E; border-color: #E4572E; }
.sev input:checked + span.s3 { background: #C0152F; border-color: #C0152F; }
.sev span { font-size: 14px !important; }
.saved { background: #E3EED8; color: var(--forest); font-weight: 800; border-radius: 10px; padding: 10px 13px; }
.status-open { background: #FBE3DF !important; color: #8E2A1F !important; }
.status-closed { background: #E3EED8 !important; color: var(--forest) !important; }
.status-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.status-btns .btn { padding: 11px 8px; font-size: 14.5px; }
.status-btns .btn[aria-pressed="true"] { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.status-note { margin-top: 10px; font-size: 14px; }
.hist-list { margin-top: 14px; }
.sev-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.rows .desc { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
@media (max-width: 899px) { .fab { right: auto; left: 10px; top: 10px; font-size: 14px; padding: 9px 13px; } }

/* ---------- map themes (themes.js) */
.theme-ctrl button svg { width: 20px; height: 20px; color: #333; display: block; margin: auto; }
.theme-ctrl button.new::after { content: ""; position: absolute; top: 4px; right: 4px; width: 8px; height: 8px; border-radius: 50%; background: #D7263D; box-shadow: 0 0 0 2px #fff; }
.theme-ctrl button { position: relative; }
.theme-pop { position: absolute; z-index: 3; top: 10px; right: 52px; width: min(316px, calc(100vw - 70px)); max-height: calc(100% - 20px); overflow-y: auto;
  background: var(--card); border-radius: 14px; box-shadow: 0 6px 28px rgb(30 30 20 / .25); padding: 4px 14px 14px; }
.theme-pop h3 { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin: 12px 0 8px; }
.theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 8px; }
.theme-grid button { border: 0; background: none; padding: 0; font: inherit; color: var(--ink); cursor: pointer; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.theme-grid button > span:not(.th) { font-size: 12.5px; font-weight: 700; line-height: 1.15; }
.theme-grid small { font-size: 10.5px; color: var(--muted); font-weight: 600; margin-top: -3px; }
.th { position: relative; display: block; width: 100%; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: #ccc center/cover; box-shadow: 0 0 0 1px rgb(0 0 0 / .1); }
.th svg { display: block; width: 100%; height: 100%; }
.th b { position: absolute; right: 3px; bottom: 1px; font-size: 17px; }
.theme-grid button[aria-pressed="true"] .th { box-shadow: 0 0 0 3px var(--forest, #24361f); }
.theme-grid button:focus-visible .th { outline: 3px solid #4E7FA8; outline-offset: 2px; }

body.theme-oldworld #map::after, body.theme-treasure #map::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  box-shadow: inset 0 0 140px rgb(92 60 20 / .45); }
body.theme-treasure #map::after { box-shadow: inset 0 0 110px rgb(120 70 20 / .5); }
.compass { position: absolute; z-index: 1; top: 14px; left: 434px; width: 84px; color: #4A3218; opacity: .75; pointer-events: none; }
@media (max-width: 899px) { .compass { left: 10px; top: 10px; width: 64px; } }

.fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; transition: opacity 2.5s; }
.fx.done { opacity: 0; }
.fx i { position: absolute; left: var(--x); top: -30px; will-change: transform; }
.fx-snow i { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 2px 1px rgb(70 95 120 / .35);
  animation: fx-fall var(--d) linear var(--delay) infinite; }
.fx-leaves i, .fx-petals i { width: 24px; height: 24px; animation: fx-drift var(--d) ease-in-out var(--delay) 2; }
.fx-petals i { width: 16px; height: 16px; }
.fx i svg { width: 100%; height: 100%; display: block; }
.fx-fireflies i { top: var(--y); width: 5px; height: 5px; border-radius: 50%; background: #FFF7A8; box-shadow: 0 0 9px 4px rgb(255 236 110 / .75);
  opacity: 0; animation: fx-glow var(--d) ease-in-out var(--delay) infinite; }
@keyframes fx-fall { from { transform: translate(0, 0) scale(var(--s)); } to { transform: translate(var(--sway), 110vh) scale(var(--s)); } }
@keyframes fx-drift {
  0% { transform: translate(0, 0) rotate(0) scale(var(--s)); }
  50% { transform: translate(var(--sway), 55vh) rotate(calc(var(--spin) / 2)) scale(var(--s)); }
  100% { transform: translate(calc(var(--sway) * -1), 110vh) rotate(var(--spin)) scale(var(--s)); } }
@keyframes fx-glow { 0%, 100% { opacity: 0; transform: translate(0, 0); } 45%, 55% { opacity: .95; } 50% { transform: translate(var(--sway), -12px); } }
@media (prefers-reduced-motion: reduce) { .fx { display: none; } }

/* ---------- search */
.search { flex: none; position: relative; margin: 0 14px 6px; }
@media (min-width: 900px) { .search { margin: 14px 14px 0; } }
.search svg { position: absolute; left: 13px; top: 50%; width: 19px; height: 19px; margin-top: -9.5px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; font: inherit; font-size: 16px; padding: 11px 14px 11px 40px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); -webkit-appearance: none; appearance: none; }
.search input:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgb(36 54 31 / .15); }
.search-results { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); padding: 6px 8px 24px; }
.r-item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; cursor: pointer; }
.r-item[aria-selected="true"], .r-item:hover { background: var(--paper-2); }
.r-item .ico { width: 30px; height: 30px; flex: none; }
.r-text { display: flex; flex-direction: column; min-width: 0; }
.r-text b { font-size: 15.5px; font-weight: 700; }
.r-text b mark { background: none; color: inherit; text-decoration: underline; text-decoration-color: #D9A400; text-decoration-thickness: 3px; text-underline-offset: 2px; }
.r-text small { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-dot { width: 22px; height: 22px; margin: 4px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--line); }
.r-emoji { width: 30px; text-align: center; font-size: 22px; flex: none; }
.r-hint { color: var(--ink-2); font-size: 14.5px; line-height: 2; padding: 6px 10px; }
.r-hint button { font: inherit; font-weight: 700; font-size: 13.5px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 2px 10px; cursor: pointer; color: var(--ink); }

/* ---------- directions */
.btn.small { padding: 8px 12px; font-size: 14px; border-radius: 9px; }
.btn.ghost { background: none; }
.btn-row > .btn.primary:first-child:nth-last-child(3) { grid-column: 1 / -1; }
.place-pop .maplibregl-popup-content { padding: 12px 14px; border-radius: 12px; font: inherit; min-width: 180px; }
.place-pop b { display: block; font-size: 15px; padding-right: 14px; }
.place-pop small { display: block; color: var(--ink-2); font-size: 12.5px; margin-top: 2px; }
.place-pop .btn { margin-top: 10px; }
.pp-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.pp-btns .btn { flex: 1; }
.dir-ends { margin: 14px 0 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.dir-row { display: flex; align-items: center; gap: 12px; padding: 8px 12px; min-height: 50px; }
.dir-row + .dir-row { border-top: 1px solid var(--line); }
.dir-row select { flex: 1; font: inherit; font-size: 15.5px; font-weight: 600; border: 0; background: none; color: var(--ink); padding: 6px 0; min-width: 0; }
.dir-row b { flex: 1; font-size: 15.5px; }
.st-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; margin: 0 8px; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); }
.st-dot.start { background: #2E9E4F; } .st-dot.end { background: #1D1D1B; } .st-dot.path { background: #8E8A80; }
.dir-sum { display: flex; align-items: baseline; gap: 12px; margin: 18px 2px 4px; }
.dir-sum b { font-size: 28px; font-weight: 800; }
.dir-sum span { color: var(--ink-2); font-size: 14.5px; }
.steps { list-style: none; padding: 0; margin: 10px 0 0; }
.steps li { display: flex; gap: 12px; padding: 12px 2px; border-top: 1px solid var(--line); align-items: flex-start; }
.steps li > .st-dot, .steps li > .ico { margin-top: 3px; }
.steps li > .ico { width: 30px; height: 30px; flex: none; }
.steps li > .st-dot { margin-left: 8px; margin-right: 8px; }
.steps b { font-size: 15.5px; font-weight: 700; line-height: 1.35; display: block; }
.steps small { color: var(--ink-2); font-size: 13px; }
.passes { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.warn-note { color: #8A4B12; background: #FBEFD9; border-radius: 10px; padding: 10px 12px; }

/* ---------- trail advisory (rough trail) */
.advisory { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0 4px; padding: 12px 14px; border-radius: 12px;
  background: #FCEBE6; border: 1px solid #F0C2B5; color: #6E1A10; }
.advisory .ico { width: 30px; height: 30px; flex: none; }
.advisory b { font-size: 15px; }
.advisory p { margin: 3px 0 0; font-size: 14.5px; line-height: 1.45; }
.caution { color: #A3271A; font-weight: 700; white-space: nowrap; }

.overlay-toggle { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); cursor: pointer; }
.overlay-toggle input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--forest); flex: none; }
.overlay-toggle b { display: block; font-size: 13.5px; }
.overlay-toggle small { display: block; font-size: 12px; color: var(--ink-2); line-height: 1.35; }

/* ---------- contractor jobs (planner) */
.job-list { list-style: none; padding: 0; margin: 14px 0 0; }
.job-list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--card); text-decoration: none; color: var(--ink); margin-bottom: 8px; }
.job-list b { font-size: 16px; } .job-list small { grid-column: 1 / -1; color: var(--ink-2); font-size: 13px; }
.chip.st-out-for-quote { background: #FDE8D7; color: #A3410A; } .chip.st-awarded { background: #DCEFD8; color: #2C5A23; }
.chip.st-done { background: #E4E4E0; color: #57534A; } .chip.st-cancelled { background: #EEE; color: #888; text-decoration: line-through; }
.share { border: 1px solid #F3C9A8; background: #FFF5EC; border-radius: 12px; padding: 12px 14px; margin: 10px 0 16px; }
.share .btn-row { margin-top: 10px; } .share small { display: block; margin-top: 8px; color: var(--ink-2); font-size: 12.5px; }
.zones { border: 0; padding: 0; margin: 18px 0 6px; } .zones legend { font-weight: 800; font-size: 15px; margin-bottom: 8px; }
.draw-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.draw-btns .btn { padding: 10px 6px; font-size: 13.5px; }
.zone-list { list-style: none; padding: 0; margin: 10px 0 0; }
.zone-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line); }
.zone-list li.empty { display: block; color: var(--muted); font-size: 14px; }
.zone-list b { font-size: 15px; } .zone-list small { display: block; color: var(--ink-2); font-size: 13px; margin-bottom: 6px; }
.zone-list input { width: 100%; font: inherit; font-size: 15px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; margin-top: 4px; background: #fff; }
.zn { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 13px; background: #E8590C; color: #fff; font-weight: 800; font-size: 13.5px; }
.zx { border: 0; background: none; font-size: 24px; line-height: 1; color: var(--muted); cursor: pointer; padding: 0 4px; }
.report .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.draw-bar { position: absolute; z-index: 4; left: 50%; transform: translateX(-50%); top: 12px; width: min(520px, calc(100% - 120px));
  background: var(--card); border-radius: 12px; box-shadow: 0 6px 24px rgb(30 30 20 / .25); padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.draw-bar span { font-weight: 700; font-size: 14.5px; }
.draw-bar div { display: flex; gap: 6px; justify-content: flex-end; }
@media (min-width: 900px) { .draw-bar { left: calc(50% + 207px); } }
@media (max-width: 899px) { .draw-bar { left: 10px; transform: none; width: calc(100% - 66px); } }

/* ---------- map key */
.key-ctrl button svg { width: 20px; height: 20px; color: #333; display: block; margin: auto; }
.key-pop { padding-top: 8px; }
.key-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; }
.key-list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; line-height: 1.25; }
.k-sym { width: 36px; flex: none; display: grid; place-items: center; }
.k-sym svg { width: 36px; height: 14px; display: block; }
.k-sym .ico { width: 24px; height: 24px; }
.pop-x { position: sticky; top: 0; float: right; border: 0; background: var(--card); font-size: 24px; line-height: 1; cursor: pointer; color: var(--muted); padding: 2px 4px; }
@media (max-width: 899px) { .theme-pop { max-height: calc(100% - 150px); } }

/* ---------- seasonal heads-up (seasonal.js) */
.heads-up { border: 1px solid #E8D9A8; background: #FFF9E8; border-radius: 12px; margin: 0 0 16px; }
.heads-up summary { list-style: none; cursor: pointer; padding: 10px 14px; display: flex; flex-direction: column; gap: 6px; }
.heads-up summary::-webkit-details-marker { display: none; }
.heads-up summary b { font-size: 14px; color: #6B4E0E; }
.heads-up summary b::after { content: " ▾"; font-weight: 400; color: var(--muted); }
.heads-up[open] summary b::after { content: " ▴"; }
.hu-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.hu-chip { font-size: 12.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #F3E9C8; color: #5A4A1A; }
.hu-chip.peak { background: #F6D7A8; color: #7A3E06; }
.heads-up ul { list-style: none; margin: 0; padding: 0 14px 10px; }
.heads-up li { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid #EFE3BC; }
.hu-emoji { font-size: 20px; line-height: 1.2; }
.heads-up li b { font-size: 14.5px; } .heads-up li p { margin: 2px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.hu-peak { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #A3410A; }
.heads-up.compact { margin: 12px 0 4px; }
.z-obs { color: #A3410A !important; font-weight: 700; }
.btn.danger { color: #A3271A; border-color: #E8C2BB; background: #fff; margin-top: 10px; }

.restored { background: #EAF3E4; border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.linkish { border: 0; background: none; font: inherit; color: var(--forest); text-decoration: underline; cursor: pointer; padding: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 4px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--forest); flex: none; }
.check b { display: block; } .check small { display: block; color: var(--ink-2); font-size: 13px; line-height: 1.4; }
.signups { border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 10px 14px; margin: 12px 0; }
.signups ul { list-style: none; padding: 0; margin: 6px 0 0; } .signups li { padding: 6px 0; border-top: 1px solid var(--line); font-size: 14px; }
.signups small { display: block; color: var(--ink-2); }
.job-list .vol { color: #2C5A23 !important; font-weight: 700; }
.help-card { display: flex; gap: 12px; align-items: center; padding: 12px 14px; margin: 14px 0 0; border-radius: 12px; background: #EAF3E4;
  border: 1px solid #C9DFBE; text-decoration: none; color: var(--ink); }
.help-card b { display: block; font-size: 15.5px; } .help-card small { color: var(--ink-2); font-size: 13px; }
.hc-emoji { font-size: 26px; }
.lede-s { color: var(--ink-2); line-height: 1.5; font-size: 15px; margin: 4px 0 8px; }
.when { font-weight: 700; font-size: 16px; margin: 6px 0; } .scope-p { line-height: 1.5; color: var(--ink-2); }

.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; grid-column: 1 / -1; }
.muted-s { color: var(--ink-2); font-size: 13px; }
.list-signup { margin-top: 22px; padding: 14px; border-radius: 12px; background: #EAF3E4; border: 1px solid #C9DFBE; display: grid; gap: 8px; }
.list-signup .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.list-signup input { font: inherit; font-size: 16px; padding: 10px 12px; border: 1.5px solid #C9C3B3; border-radius: 10px; width: 100%; background: #fff; }
@media (max-width: 420px) { .list-signup .two { grid-template-columns: 1fr; } }

/* ---------- landmark hunt (hunt.js): printable */
.hunt-promo { border: 1px solid var(--line); background: var(--card); border-radius: 14px; padding: 16px 18px; margin: 10px 0 30px; }
.hunt-promo h2 { margin: 0 0 4px; } .hunt-promo p { color: var(--ink-2); line-height: 1.5; margin: 0 0 12px; }
.hunt-trails { display: flex; flex-wrap: wrap; gap: 8px; }
.hunt-trails .btn { padding: 9px 12px; font-size: 14.5px; } .hunt-trails i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.hunt-trails small { color: var(--muted); font-weight: 600; }
.hunt-sheet { max-width: 760px; margin: 0 auto; background: #fff; color: #1D1D1B; padding: 18px; }
@media print { .hunt-sheet { padding: 0; } }
.hunt-tools { margin-bottom: 14px; } .hunt-tools .btn-row { max-width: 420px; }
.hunt-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; border-bottom: 3px solid #1D1D1B; padding-bottom: 8px; margin-bottom: 10px; }
.hunt-head h1 { font-size: 28px; margin: 0; line-height: 1.1; } .hunt-eyebrow { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #57534A; }
.hunt-intro { margin: 4px 0 0; font-size: 15px; }
.hunt-names { display: grid; gap: 10px; min-width: 210px; } .hunt-names span { border-bottom: 1.5px solid #1D1D1B; font-size: 12px; font-weight: 700; color: #57534A; padding-top: 12px; }
.hunt-map { width: 100%; height: auto; display: block; border: 1.5px solid #1D1D1B; border-radius: 8px; }
.h-road { stroke: #D7D3C8; stroke-width: 7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.h-roadlab { font: italic 10px sans-serif; fill: #7A7568; text-anchor: middle; paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.h-stream { stroke: #6AAEDB; stroke-width: 2.2; fill: none; }
.h-casing { stroke: #fff; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.h-trail { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.h-num { font: 800 12px sans-serif; text-anchor: middle; fill: #1D1D1B; }
.h-end, .h-p { font: 800 11px sans-serif; text-anchor: middle; fill: #fff; } .h-n { font: 800 13px sans-serif; text-anchor: middle; }
.h-sb { font: 700 11px sans-serif; }
.hunt-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.hunt-card { display: grid; grid-template-columns: 22px 22px 64px 1fr; gap: 8px; align-items: start; padding: 6px 0; border-bottom: 1px solid #E2DED2; break-inside: avoid; }
.hunt-box { width: 20px; height: 20px; border: 2px solid #1D1D1B; border-radius: 4px; margin-top: 2px; }
.hunt-n { font-weight: 800; font-size: 16px; text-align: center; margin-top: 1px; }
.hunt-card img, .hunt-nophoto { width: 64px; height: 48px; object-fit: cover; border-radius: 5px; display: grid; place-items: center; background: #EEE; font-weight: 800; color: #999; }
.hunt-card b { font-size: 14px; display: block; line-height: 1.2; } .hunt-card small { font-size: 11.5px; color: #57534A; line-height: 1.35; display: block; margin-top: 2px; }
.hunt-foot { margin-top: 14px; font-size: 12px; color: #57534A; border-top: 1px solid #E2DED2; padding-top: 8px; }
@media (max-width: 640px) { .hunt-list { grid-template-columns: 1fr; } .hunt-head { flex-direction: column; align-items: stretch; } }
@media print {
  @page { size: letter; margin: 0.45in; }
  body { background: #fff; }
  .bar, #map, #panel, .no-print, .offline, .fab { display: none !important; }
  main, .page { position: static !important; overflow: visible !important; inset: auto !important; }
  .page .wrap { padding: 0; max-width: none; }
  .hunt-list { grid-template-columns: 1fr 1fr; }
  .hunt-card img { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .hunt-map { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
.h-lead { stroke: #1D1D1B; stroke-width: 1.2; }

/* ---------- Help out tab + trail banner */
.tab-help { position: relative; }
.tab-help .badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 5px; border-radius: 9px;
  background: #E8590C; color: #fff; font-size: 11.5px; font-weight: 800; vertical-align: 1px; }
.tab-help .badge[hidden] { display: none; }
.tab-help.has-jobs .badge { animation: badge-pulse 2.4s ease-in-out 3; }
@keyframes badge-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(232 89 12 / .55); } 50% { box-shadow: 0 0 0 6px rgb(232 89 12 / 0); } }
@media (prefers-reduced-motion: reduce) { .tab-help.has-jobs .badge { animation: none; } }
.help-banner { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; margin: 12px 0 4px; padding: 12px 14px; border-radius: 12px;
  background: #FFF1E6; border: 1.5px solid #F4B183; color: var(--ink); text-decoration: none; }
.help-banner b { display: block; color: #A3410A; font-size: 15px; } .help-banner small { display: block; color: var(--ink-2); font-size: 13.5px; }
.hb-go { font-weight: 800; color: #A3410A; font-size: 14px; white-space: nowrap; }
@media (max-width: 899px) { .tabs { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; min-width: 0; } .tabs::-webkit-scrollbar { display: none; } }

.mode-seg { border: 0; padding: 0; margin: 14px 0 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mode-seg legend { font-weight: 800; font-size: 15px; margin-bottom: 8px; }
.mode-seg label { cursor: pointer; } .mode-seg input { position: absolute; opacity: 0; }
.mode-seg span { display: block; padding: 10px 12px; border: 1.5px solid #C9C3B3; border-radius: 10px; background: #fff; font-weight: 700; font-size: 15px; }
.mode-seg small { display: block; font-weight: 500; color: var(--ink-2); font-size: 12.5px; }
.mode-seg input:checked + span { border-color: var(--forest); background: #EAF3E4; box-shadow: 0 0 0 2px var(--forest); }
.mode-seg input:focus-visible + span { outline: 3px solid #4E7FA8; }
.vol-share { border-color: #C9DFBE; background: #EAF3E4; }
.job-list .con { color: #A3410A !important; font-weight: 700; }
.chip.st-open { background: #DCEFD8; color: #2C5A23; } .chip.st-filled { background: #E4EEF8; color: #2F5FA8; }
.mode-seg input:checked + span, .mode-seg input:checked + span small { color: var(--ink); }

.verified { background: #EAF3E4; border: 1px solid #C9DFBE; border-radius: 12px; padding: 10px 14px; margin: 10px 0; font-size: 14.5px; }
.check-site { border: 1.5px solid #F4B183; background: #FFF6EE; border-radius: 12px; padding: 10px 14px; margin: 10px 0; }
.check-site.finish { border-color: #C9DFBE; background: #F2F8EE; margin-top: 18px; }
.check-site summary { cursor: pointer; } .check-site summary small { color: var(--ink-2); }
.rep-note { margin: 4px 0; font-size: 14px; }
.thumbs img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; margin: 4px 4px 0 0; cursor: zoom-in; }
.attention { border: 1.5px solid #F4B183; background: #FFF9F3; border-radius: 12px; padding: 4px 14px 12px; margin: 10px 0 16px; }
.attention .section-h { margin-top: 12px; }
.attn-list { list-style: none; padding: 0; margin: 0 0 10px; font-size: 14px; line-height: 1.4; } .attn-list li { padding: 6px 0; border-top: 1px solid #F3E2D2; }

/* planner: fix a trail line (trailedit.js) */
.te-toggle { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 14px 0 10px; }
.te-toggle b { display: block; font-size: 16px; }
.te-toggle small { color: var(--ink-2); font-size: 13px; }
.switch { position: relative; flex: none; width: 54px; height: 32px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: #B9B3A4; transition: background .15s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .3); transition: transform .15s; }
.switch input:checked + span { background: #FF6A00; }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:focus-visible + span { outline: 3px solid var(--forest-2); outline-offset: 2px; }
.te-bar { border: 2px solid #FF6A00; }
.te-bar button[disabled] { opacity: .45; }
.te-review { background: #FFF4EA; border: 1px solid #F3C9A4; border-radius: 12px; padding: 12px 14px; margin: 10px 0; }
.te-legend { display: flex; gap: 16px; font-size: 13.5px; margin: 8px 0 4px; }
.te-legend i { display: inline-block; width: 26px; height: 0; vertical-align: middle; margin-right: 6px; }
.te-old { border-top: 3px dashed var(--ink); }
.te-new { border-top: 4px solid #FF6A00; }
.te-facts { margin: 6px 0 10px; padding-left: 18px; font-size: 14.5px; }
.te-hist .te-item { display: grid; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.te-hist .te-item small { display: block; color: var(--ink-2); }
.te-hist .te-item .btn-row { margin: 0; }
.te-confirm { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
/* while drawing a job zone or fixing a trail line, the bar takes the top of the map: hide "+ Observation" so they don't overlap */
body:has(.draw-bar) .fab { display: none; }
@media (max-width: 899px) {
  .draw-bar { padding: 8px 10px; gap: 6px; }
  .draw-bar span { font-size: 14px; line-height: 1.25; }
  .draw-bar div { flex-wrap: wrap; }
  .draw-bar .btn.small { padding: 7px 10px; font-size: 13.5px; }
}
.te-legend i.te-old-pt, .te-legend i.te-new-pt { width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid var(--ink); }
.te-legend i.te-new-pt { background: #E4572E; border-color: #FF6A00; }
.btn[data-sat][hidden] { display: none; }
/* volunteer job page: photos of the job's pins (when the planner turned them on) */
.help-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.help-photos figure { margin: 0; }
.help-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; cursor: zoom-in; display: block; }
.help-photos figcaption { font-size: 13px; line-height: 1.3; margin-top: 4px; }
.help-photos .zn { transform: scale(0.85); }
/* photo fields: "Take a photo" (camera) and "Choose photos" (library) side by side */
.ph-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ph-btns .add-photo { flex: 1 1 140px; }
/* photos of one job zone */
.z-photos { margin-top: 6px; display: flex; flex-direction: column; gap: 6px; }
.z-photos .ph-thumb { display: inline-block; margin-right: 6px; }
.z-photos .ph-btns .btn { padding: 7px 10px; font-size: 14px; border-width: 1.5px; }
.z-photos .ph-thumb { position: relative; width: 84px; height: 63px; }
.z-photos .ph-thumb img { width: 84px; height: 63px; object-fit: cover; border-radius: 6px; display: block; }
/* planner ＋ Add menu */
.add-menu { display: grid; gap: 10px; margin-top: 8px; }
.add-opt { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--line, #ddd); border-radius: 12px; text-decoration: none; color: inherit; background: #fff; }
.add-opt i { font-style: normal; font-size: 28px; }
.add-opt b { display: block; font-size: 17px; }
.add-opt small { display: block; opacity: .75; line-height: 1.3; margin-top: 2px; }
.add-opt:active { background: #F3F1EA; }
/* forms that add or change things: the main search box hides (it looked like the form's first field) */
body.adding .search, body.adding #search-results { display: none !important; }
.place-find { position: relative; margin-top: 10px; }
.place-find input { width: 100%; box-sizing: border-box; padding: 10px 12px; font: inherit; font-size: 15px; border: 1.5px solid var(--line, #ccc); border-radius: 10px; background: #fff; }
.pf-res { position: absolute; z-index: 6; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid var(--line, #ddd); border-radius: 10px; box-shadow: 0 8px 24px rgb(0 0 0 / .15); max-height: 300px; overflow-y: auto; }
.pf-res button { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; padding: 10px 12px; border: 0; border-bottom: 1px solid #eee; background: none; font: inherit; cursor: pointer; }
.pf-res button small { display: block; opacity: .7; }
.pf-res .note { padding: 10px 12px; margin: 0; }
.zones .place-find { margin: 0 0 10px; }
/* jobs: when the work should happen */
.when-box { border: 0; padding: 0; margin: 4px 0 12px; }
.when-box legend { font-weight: 700; margin-bottom: 6px; }
.job-list small.late { color: #C0152F; font-weight: 700; }
.chip.st-planned { background: #E6EEDF; color: #2F6B3A; }
/* job form: steps up front, the rest under More details */
.job-form legend small, .job-form .field > small { font-weight: 400; opacity: .7; }
.work-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.work-types legend { grid-column: 1 / -1; }
.mode-more { margin: -4px 0 8px; padding: 10px 12px; background: #F6F4EE; border-radius: 10px; }
.more-details { margin: 6px 0 12px; border: 1px solid var(--line, #ddd); border-radius: 10px; padding: 10px 12px; }
.more-details summary { cursor: pointer; }
.more-details summary small { opacity: .7; font-weight: 400; }
.more-details[open] summary { margin-bottom: 10px; }
.by-line { margin: 4px 0 10px; font-size: 15px; }
.job-form [hidden], .by-line[hidden] { display: none !important; }
/* trail page: volunteer jobs folded into one row */
.trail-help { margin: 6px 0 12px; border: 1.5px solid #F2C27B; background: #FFF6EA; border-radius: 12px; }
.trail-help summary { display: flex; gap: 10px; align-items: center; padding: 10px 12px; cursor: pointer; list-style: none; }
.trail-help summary::-webkit-details-marker { display: none; }
.trail-help summary::after { content: "▾"; margin-left: auto; opacity: .6; }
.trail-help[open] summary::after { content: "▴"; }
.trail-help summary b { display: block; color: #9A3B0B; font-size: 15px; }
.trail-help summary small { display: block; opacity: .75; }
.th-list { list-style: none; margin: 0; padding: 0 8px 8px; }
.th-list li a { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 9px 8px; border-top: 1px solid #F2DDBA; text-decoration: none; color: inherit; }
.th-list small { display: block; opacity: .75; }
.th-list .chips { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px; }
/* planner accounts */
.link-box { border: 2px solid var(--forest, #24361F); border-radius: 12px; padding: 12px; margin: 12px 0; display: grid; gap: 8px; background: #fff; }
.link-box input { width: 100%; box-sizing: border-box; font: inherit; font-size: 13px; padding: 8px; border: 1px solid #ccc; border-radius: 8px; }
.pl-list .row { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.pl-acts { display: flex; gap: 6px; align-items: flex-start; }
.pl-acts details summary { list-style: none; }
.pl-acts details summary::-webkit-details-marker { display: none; }
.pl-more { position: absolute; right: 16px; z-index: 5; background: #fff; border: 1px solid #ddd; border-radius: 10px; padding: 8px; display: grid; gap: 6px; box-shadow: 0 8px 24px rgb(0 0 0 / .15); }
.tips { line-height: 1.5; padding-left: 20px; }
/* header account button (planner) */
.tabs a.acct { opacity: .9; }
.tabs a.acct.needs-setup::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 5px; border-radius: 50%; background: #E8590C; vertical-align: middle; }
a.mode { text-decoration: none; cursor: pointer; } a.mode:hover { background: #F2B65A; }
/* planner home: "To do" as one-line rows that open */
.todo-h { margin-top: 18px; }
.todo { border: 1px solid var(--line, #E2DED3); border-radius: 12px; background: #fff; margin: 0 0 8px; }
.todo.urgent { border-color: #F2C27B; background: #FFF8EE; }
.todo summary { display: flex; align-items: center; gap: 10px; padding: 11px 14px; cursor: pointer; list-style: none; font-weight: 700; font-size: 15px; }
.todo summary::-webkit-details-marker { display: none; }
.todo summary span { flex: 1; }
.todo summary small { display: block; font-weight: 400; opacity: .7; font-size: 13px; }
.todo summary em { font-style: normal; color: #C0152F; }
.todo summary .n { min-width: 26px; text-align: center; padding: 2px 8px; border-radius: 999px; background: #EEEAE0; font-size: 13px; }
.todo.urgent summary .n { background: #E8590C; color: #fff; }
.todo summary::after { content: "▾"; opacity: .5; }
.todo[open] summary::after { content: "▴"; }
.todo > .rows, .todo > .attn-list, .todo > .note, .todo > .btn { margin: 0 14px 12px; }
.todo > .rows { padding: 0; }

.lightbox .lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 36px; line-height: 1; background: rgb(0 0 0 / .45); }
.lightbox .lb-prev { left: 12px; }
.lightbox .lb-next { right: 12px; }
.lightbox .lb-nav:hover { background: rgb(0 0 0 / .7); }
.lightbox .lb-count { position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; background: rgb(0 0 0 / .45); padding: 4px 10px; border-radius: 12px; }
.lightbox.single .lb-nav, .lightbox.single .lb-count { display: none; }

.rows li.has-act { display: flex; align-items: stretch; }
.rows li.has-act > a:first-child { flex: 1; min-width: 0; }
.rows .row-act { flex: none; display: flex; align-items: center; padding: 0 12px; font-size: 13px; font-weight: 600; white-space: nowrap; border-left: 1px solid var(--line); color: var(--accent, #2f6b3a); text-decoration: none; }
.rows .row-act.done { color: var(--muted); font-weight: 400; }

.whats-new { border: 1px solid var(--line); border-left: 4px solid #d9a521; border-radius: 12px; background: var(--card); padding: 12px 14px; margin: 0 0 14px; }
.whats-new h2 { font-size: 16px; margin: 0 0 6px; }
.whats-new ul, .whats-new-list { list-style: none; padding: 0; margin: 0 0 10px; }
.whats-new li, .whats-new-list li { padding: 7px 0; font-size: 14px; line-height: 1.4; }
.whats-new li + li, .whats-new-list li + li { border-top: 1px solid var(--line); }
.whats-new li b, .whats-new-list li b { display: block; }
.whats-new li span, .whats-new-list li span { color: var(--muted); }
.whats-new-list li.new b::after { content: "NEW"; margin-left: 6px; font-size: 10px; font-weight: 700; color: #fff; background: #d9a521; border-radius: 4px; padding: 1px 5px; vertical-align: 2px; }

.key-pop .k-hint { font-size: 12.5px; color: var(--muted); margin: 4px 0 2px; }
.key-pop h3.k-toggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.key-pop h3.k-toggle.off { opacity: .6; }
.key-list.off { opacity: .4; }
.switch { position: relative; flex: none; width: 38px; height: 22px; cursor: pointer; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; border-radius: 11px; background: #c9c5ba; transition: background .15s; pointer-events: none; }
.switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .3); transition: transform .15s; }
.switch input:checked + i { background: #2f6b3a; }
.switch input:checked + i::after { transform: translateX(16px); }
.switch input:focus-visible + i { outline: 2px solid #2f6b3a; outline-offset: 2px; }
.key-ctrl button.filtered { position: relative; }
.key-ctrl button.filtered::after { content: ""; position: absolute; top: 5px; right: 5px; width: 8px; height: 8px; border-radius: 50%; background: #d9a521; box-shadow: 0 0 0 1.5px #fff; }

.mark-p { background: #FFF4D6; border: 1px solid #E8C468; border-radius: 8px; padding: 8px 12px; }

/* running */
.pace { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0; }
.pace button { font: inherit; font-size: 14px; font-weight: 700; padding: 7px 12px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; }
.pace button[aria-pressed="true"] { background: #24361F; color: #fff; border-color: #24361F; }
.pace select { font: inherit; font-size: 14px; padding: 6px 8px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--card); }
.chips-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 10px 0; }
.chip-btn { font: inherit; font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; }
.chip-btn[aria-pressed="true"] { background: #24361F; color: #fff; border-color: #24361F; }
.mi-own { font-size: 14px; color: var(--muted); } .mi-own input { width: 64px; font: inherit; padding: 6px 8px; border-radius: 8px; border: 1.5px solid var(--line); }
.run-stats { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13.5px; color: var(--muted); }
.run-stats span:first-child { color: var(--ink); font-weight: 700; }
.detail > .run-stats, #run-out > .run-stats { margin: 6px 0 10px; font-size: 15px; }
.loop-opts { display: grid; gap: 6px; margin: 8px 0 12px; }
.loop-opt { display: flex; gap: 10px; align-items: center; text-align: left; font: inherit; padding: 9px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; }
.loop-opt > b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--line); flex: none; }
.loop-opt[aria-pressed="true"] { border-color: #24361F; box-shadow: 0 0 0 1px #24361F; }
.loop-opt[aria-pressed="true"] > b { background: #24361F; color: #fff; }
.stars { display: flex; gap: 4px; } .stars button { font-size: 30px; line-height: 1; background: none; border: 0; cursor: pointer; color: #D9A521; padding: 2px; }
.st { color: #D9A521; letter-spacing: 1px; } .rating { margin: 2px 0 8px; }
.run-cta { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); text-decoration: none; color: inherit; }
.run-cta > span:first-child { font-size: 26px; } .run-cta small { display: block; color: var(--muted); font-size: 13px; } .run-cta .go { margin-left: auto; color: var(--muted); }
.trail-run { margin: 6px 0 4px; }
.st-turn { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #E8590C; color: #fff; font-weight: 800; font-size: 14px; flex: none; margin: 0 2px; }

/* ---------- ▶ Start walk / run: follow along with GPS (follow.js) */
.start-go { font-size: 17px; padding: 14px 16px; margin: 14px 0 6px; }
body.following .search, body.following #search-results, body.following #panel-body > :not(#follow) { display: none !important; }
body.following #panel-body { padding-top: 6px; padding-bottom: 12px; }
.follow { display: flex; flex-direction: column; gap: 10px; }
.fl-next { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.fl-next .fl-in { grid-row: span 2; font-size: 24px; font-weight: 800; color: var(--forest); white-space: nowrap; min-width: 64px; }
.fl-next b { font-size: 18px; line-height: 1.25; }
.fl-next small { color: var(--ink-2); font-size: 13.5px; line-height: 1.3; }
.fl-next.off .fl-in { color: #B4500A; }
.fl-ahead { list-style: none; margin: 0; padding: 8px 10px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; display: grid; gap: 4px; }
.fl-ahead li { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; }
.fl-ahead li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl-ahead small { color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fl-stats { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ink-2); }
.fl-stats b { font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; }
.fl-bar { height: 5px; border-radius: 3px; background: var(--paper-2); overflow: hidden; margin-top: -4px; }
.fl-bar i { display: block; height: 100%; background: #2E9E4F; transition: width .8s; }
.fl-btns { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 6px; }
.fl-btns .btn { padding: 9px 4px; font-size: 13.5px; margin: 0; white-space: nowrap; }
.fl-here { display: flex; gap: 10px; align-items: flex-start; padding: 8px; border-radius: 10px; background: #EEF5E8; border: 1px solid #CFE0C2; }
.fl-here img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; }
.fl-here small { color: var(--ink-2); font-size: 12px; } .fl-here b { display: block; font-size: 16px; }
.fl-here p { margin: 2px 0 0; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }
.fl-done { text-align: center; padding: 6px 0; } .fl-done b { font-size: 22px; } .fl-done p { margin: 4px 0 10px; color: var(--ink-2); }
.fl-done .fl-btns { grid-template-columns: 1fr; }
/* you, on the map: a blue dot with a pulse, and an arrow for the way you're heading */
.me-dot { width: 64px; height: 64px; position: relative; pointer-events: none; }
.me-dot i { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.me-core { width: 20px; height: 20px; background: #1A73E8; border: 3px solid #fff; box-shadow: 0 1px 4px rgb(0 0 0 / .35); }
.me-pulse { width: 20px; height: 20px; background: rgb(26 115 232 / .35); animation: me-pulse 2s ease-out infinite; }
.me-dot.fuzzy .me-core, .me-dot.stale .me-core { background: #7FA7DA; }
.me-dot.stale .me-pulse { animation: none; opacity: 0; }
.me-arrow { display: none; width: 0 !important; height: 0 !important; border-radius: 0 !important; border-left: 11px solid transparent; border-right: 11px solid transparent;
  border-bottom: 20px solid #1A73E8; transform: translate(-50%, -150%) !important; filter: drop-shadow(0 0 2px #fff); }
.me-dot.has-dir .me-arrow { display: block; }
@keyframes me-pulse { from { width: 20px; height: 20px; opacity: 1; } to { width: 64px; height: 64px; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .me-pulse { animation: none; opacity: 0; } }
/* mid-walk on another page: a bar on the map leads back */
.follow-pill { position: absolute; z-index: 16; top: 10px; left: 10px; right: 58px; display: flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 12px; background: var(--forest); color: #F3F1EA; border-radius: 999px; box-shadow: var(--shadow); font-size: 14px; }
.follow-pill > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.follow-pill .btn.primary { background: #F3F1EA; color: var(--forest); border-color: #F3F1EA; padding: 7px 12px; white-space: nowrap; }
.follow-pill .pill-x { background: none; border: 0; color: #F3F1EA; font-size: 16px; padding: 6px 8px; cursor: pointer; opacity: .8; }
@media (min-width: 900px) { .follow-pill { left: 428px; right: auto; max-width: 520px; } }
main:has(#page:not([hidden])) .follow-pill { top: auto; bottom: calc(14px + env(safe-area-inset-bottom)); right: 10px; }
/* compass (map controls): the needle turns with the map; blue while a walk turns the map the way you're going */
.compass-ctrl button svg { width: 24px; height: 24px; display: block; margin: auto; }
.compass-ctrl .needle { transform-origin: 12px 12px; transition: transform .25s; }
.compass-ctrl button.on { background: #E8F0FE; box-shadow: inset 0 0 0 2px #1A73E8; border-radius: 4px; }
/* feedback (#/feedback) and the planners' list of it */
.fb-card { background: #F1EEE4; margin-top: 12px; text-decoration: none; color: inherit; }
.fb-row { padding: 10px 2px; } .fb-row p { margin: 4px 0; white-space: pre-wrap; line-height: 1.4; font-size: 15px; }
.fb-row small { display: block; color: var(--ink-2); margin-bottom: 6px; } .fb-row .sub { font-size: 12.5px; color: var(--muted); }

/* fact sheets: public #/numbers and planner #/admin */
.figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; max-width: 760px; margin: 18px 0 8px; border-top: 3px solid var(--ink); }
.figs div { padding: 14px 0 12px; border-bottom: 1px solid var(--line); }
.figs b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--forest-2); }
.figs span { display: block; font-size: 14px; font-weight: 800; margin-top: 4px; }
.figs small { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
@media (max-width: 560px) { .figs { grid-template-columns: repeat(2, 1fr); } .figs b { font-size: 28px; } }
.figs-h { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin: 22px 0 6px; }
.figs-t { border-collapse: collapse; width: 100%; max-width: 520px; font-size: 15px; }
.figs-t th { text-align: left; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 1.5px solid var(--ink); padding: 3px 0; }
.figs-t td { padding: 7px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.figs-t td + td, .figs-t th + th { text-align: right; }
.figs-t a { color: inherit; text-decoration: none; font-weight: 650; }
.figs-t i { display: inline-block; width: 16px; height: 6px; border-radius: 3px; margin-right: 8px; vertical-align: 2px; }
.figs-val { max-width: 620px; line-height: 1.5; margin: 18px 0 10px; }
.figs-val b { font-size: 20px; }
.figs-next { max-width: 620px; background: #FBEAF3; border-left: 3px solid #C2187A; padding: 10px 12px; line-height: 1.45; border-radius: 0 6px 6px 0; color: #1d1d1d; }
.figs-next b { color: #8E0F58; }
.figs-sheet { display: block; width: 100%; max-width: 520px; border: 1px solid var(--line); border-radius: 8px; margin: 18px 0 6px; cursor: zoom-in; }
.brygp { font-size: 13px; color: var(--muted); margin: 14px 0 6px; }
.brygp b { color: var(--ink); letter-spacing: .12em; margin: 0 2px; }
.brygp span { border-bottom: 3px solid; padding-bottom: 1px; }

/* resident account (#/me) */
.ok-box { background: #E3EFDC; color: #24361F; border-radius: 10px; padding: 12px 14px; font-weight: 700; margin: 6px 0 12px; }
.code-in { font-size: 28px !important; letter-spacing: .3em; text-align: center; font-weight: 800; }
.pl-email { display: flex; gap: 6px; margin-bottom: 6px; }
.pl-email input { flex: 1; min-width: 0; font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; }
