/* Ned Maps Hunt on the web: the native apps' look (ned-maps-hunt
   ios/Hunt/Sources/Theme.swift). Paper, ink, teal for actions, amber for
   "open now", League Gothic for display type (never below ~21px, one weight).
   Light chrome always; the Night base map darkens the map, not the app. */
@font-face { font-family: "League Gothic"; font-display: swap; src: url(/vendor/fonts/league-gothic.woff2) format("woff2"); }

:root {
  --paper: #f5f2ea; --card: #fffdf8; --ink: #12333d; --ink-soft: #3c5459; --muted: #5b6f72;
  --rule: #d9d3c4; --rule-soft: #e6e0d2; --teal: #0a7d63; --teal-deep: #0a5c49; --teal-glow: #7fe3c6; --teal-pale: #d3efe5;
  --amber: #f5c451; --amber-ink: #3d3103; --record: #c92a2a;
  --display: "League Gothic", "Oswald", "Arial Narrow", sans-serif;
  --shadow: 0 2px 8px rgba(18, 51, 61, 0.18);
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
  --strip-h: var(--safe-t);
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--paper); color: var(--ink);
  font: 15px/1.35 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overscroll-behavior: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { opacity: 0.4; cursor: default; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.icon { display: inline-flex; line-height: 0; }
.display { font-family: var(--display); font-weight: 400; letter-spacing: 0.02em; line-height: 0.95; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted); }
.eyebrow.light { color: #a9c2c6; }
.eyebrow.rec { color: #ff8f8f; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.teal { color: var(--teal); }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rule-ink { height: 2px; background: var(--ink); }
.rule-soft { height: 1px; background: var(--rule-soft); }
.gap { height: 6px; }
.grow { flex: 1; }

#map { position: fixed; inset: 0; }
/* The Wind layer's time control, a weather app's time bar: Play, the hour in plain words and Now on top; under them
   the slider, light by day and dark by night (hunt/windflow.js hourTrack), marked every three hours. On a phone it sits
   at the bottom, full width, over the search bar where a thumb is; from 900 px, top centre. Plain 13-17px type,
   44px targets, a 28px thumb. */
.wind-time { position: fixed; z-index: 5; left: 12px; right: 12px; bottom: calc(var(--safe-b) + 12px);
  padding: 6px 10px 10px 6px; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; box-shadow: var(--shadow); color: var(--ink); }
/* While the Wind tool is open its bar takes the bottom of a phone: the search panel and the stamps step aside, the
   locate button rides above the bar. */
body.wind-tool .float-row { display: none; }
body.wind-tool .locate-btn { bottom: calc(var(--safe-b) + 150px); }
/* The Years tool's bar (hunt/app.js renderYearsBar), docked where the Wind tool's is: the year shown big with its
   source under it and the close button; under them one row of years, oldest to newest with Now at the right end,
   sliding sideways inside the bar when it doesn't fit. The year shown is filled ink with white type; the rest plain. */
.years-bar { position: fixed; z-index: 5; left: 12px; right: 12px; bottom: calc(var(--safe-b) + 12px);
  padding: 6px 6px 10px 14px; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; box-shadow: var(--shadow); color: var(--ink); }
body.years-tool .float-row { display: none; }
body.years-tool .locate-btn { bottom: calc(var(--safe-b) + 140px); }
.years-head { display: flex; align-items: center; gap: 8px; min-height: 52px; }
.years-read { flex: 1; min-width: 0; display: flex; flex-direction: column; white-space: nowrap; overflow: hidden; }
.years-when { font-size: 28px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.years-note { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; }
.years-row { display: flex; gap: 2px; margin: 2px 4px 0 -10px; padding: 4px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; touch-action: none; user-select: none; -webkit-user-select: none; }
.years-row::-webkit-scrollbar { display: none; }
.years-row.more-left { -webkit-mask-image: linear-gradient(to right, transparent, #000 36px); mask-image: linear-gradient(to right, transparent, #000 36px); }
.years-row.more-right { -webkit-mask-image: linear-gradient(to left, transparent, #000 36px); mask-image: linear-gradient(to left, transparent, #000 36px); }
.years-row.more-left.more-right { -webkit-mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 36px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
.years-yr { flex: none; height: 44px; padding: 0 10px; border-radius: 10px; font-size: 16px; font-weight: 600; color: var(--ink);
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.years-yr.on { background: var(--ink); color: #fff; font-weight: 800; }
.years-yr:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
/* The corner stamp opens the Years tool where the state has past photos: a bigger target than it looks. */
.wx-stamp.photo-stamp { position: relative; pointer-events: auto; cursor: pointer; overflow: visible; }
.wx-stamp.photo-stamp::after { content: ""; position: absolute; inset: -10px -6px; }
#photo-year:has(.photo-stamp) { pointer-events: auto; }
.rail button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.wind-time-close { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; color: var(--ink-soft); }
.wind-time-close:hover { background: rgba(18, 51, 61, 0.07); color: var(--ink); }
.wind-time-head { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.wind-time-play { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%;
  border: 2px solid var(--teal); color: var(--teal); }
.wind-time-play:hover, .wind-time-play[aria-pressed="true"] { background: var(--teal-pale); }
.wind-time-read { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; white-space: nowrap; overflow: hidden; }
.wind-time-when { font-size: 17px; font-weight: 700; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; }
.wind-time-note { font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; }
/* The wind in the middle of the map at the hour shown: set off from the hour by a thin rule, no fill. */
.wind-here { display: flex; align-items: center; gap: 6px; flex: none; height: 40px; padding: 0 4px 0 10px; border-left: 1px solid var(--rule); color: var(--ink); }
.wind-here[hidden] { display: none; }
.wind-here-arrow { display: grid; place-items: center; width: 24px; height: 24px; transition: transform 0.6s ease; }
.wind-here-calm .wind-here-arrow { display: none; }
.wind-here-read { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.wind-here-mph { font-size: 17px; font-weight: 800; }
.wind-here-dir { font-size: 13px; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .wind-here-arrow { transition: none; } }
.wind-time-scale { padding-left: 8px; }
/* The bar: a band light by day and dark by night, each day's name in its daylight, under a see-through slider whose
   thumb travels 14px in from each end (the band spans that travel). */
.wind-time-bar { position: relative; height: 34px; margin-top: 2px; }
.wind-time-band { position: absolute; left: 14px; right: 14px; top: 6px; height: 22px; border-radius: 6px; overflow: hidden; }
.wind-time-dayname { position: absolute; top: 0; height: 22px; display: flex; align-items: center; justify-content: center;
  overflow: hidden; white-space: nowrap; font-size: 13px; font-weight: 700; color: var(--ink); pointer-events: none; }
.wind-time-dayname.wind-time-cramped { visibility: hidden; }
.wind-time-range { -webkit-appearance: none; appearance: none; position: relative; display: block; width: 100%; height: 34px; margin: 0;
  background: transparent; cursor: pointer; }
.wind-time-range::-webkit-slider-runnable-track { height: 34px; background: transparent; }
.wind-time-range::-moz-range-track { height: 34px; background: transparent; }
.wind-time-range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: 3px; border-radius: 50%;
  background: #fff; border: 3px solid var(--teal); box-shadow: 0 1px 4px rgba(18, 51, 61, 0.4); }
.wind-time-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--teal);
  box-shadow: 0 1px 4px rgba(18, 51, 61, 0.4); }
.wind-time-range:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
/* Marks line up with the thumb's centre, which travels 14px in from each end. */
.wind-time-marks { position: relative; height: 18px; margin: 4px 14px 0; }
.wind-time-marks span { position: absolute; top: 0; transform: translateX(-50%); font-size: 13px; font-weight: 600; line-height: 18px;
  color: var(--muted); white-space: nowrap; }
.wind-time-marks span::before { content: ""; position: absolute; left: 50%; top: -6px; width: 2px; height: 5px; margin-left: -1px;
  border-radius: 1px; background: var(--rule); }
.wind-time-marks span.wind-time-label { color: var(--ink-soft); }
.wind-time-marks span.wind-time-label::before { height: 7px; top: -8px; background: var(--muted); }   /* a labelled hour's tick stands out */
.wind-time-marks span.wind-time-start { transform: none; color: var(--ink); font-weight: 700; }
.wind-time-marks span.wind-time-start::before { left: 0; margin-left: 0; }
.wind-time-marks span.wind-time-tick { width: 0; }
.wind-time-marks span.wind-time-midnight { color: var(--ink); font-weight: 700; }
.wind-time-marks span.wind-time-end { transform: none; }   /* hangs left of its hour, its tick at its right edge */
.wind-time-marks span.wind-time-end::before { left: auto; right: 0; margin-left: 0; }
@media (min-width: 900px) {
  /* Along the bottom of the map, right of the side panel and clear of the locate button. */
  .wind-time { left: 432px; right: 84px; bottom: 16px; max-width: 980px; }
  body.panel-hidden .wind-time { left: 16px; }
  body.wind-tool .locate-btn { bottom: 16px; }
  .years-bar { left: 432px; right: 84px; bottom: 16px; max-width: 980px; }
  body.panel-hidden .years-bar { left: 16px; }
  body.years-tool .locate-btn { bottom: 16px; }
}
/* The Wind layer's streaks (hunt/windflow.js): over the map, under its controls, never in the way of a tap. */
.wind-flow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.stand-wind { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.maplibregl-ctrl-top-left { top: calc(var(--strip-h) + 4px); }
.maplibregl-ctrl-attrib.maplibregl-compact { background: rgba(255, 253, 248, 0.85); }

/* ---------------------------------------------------------------- days (the Modes sheet) */
/* The days: one framed row of equal cells, the picked one filled and underlined in ink. */
.days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; background: var(--card); }
.day { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 60px; padding: 9px 10px 10px; text-align: left; border-left: 1px solid var(--rule-soft); }
.day:first-child { border-left: 0; }
.day.on { background: var(--paper); box-shadow: inset 0 -3px 0 var(--ink); }
.day-name { font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.day.on .day-name { color: var(--ink); }
.day-value { font-size: 22px; color: var(--ink); white-space: nowrap; }
.day-sub { font-size: 11px; color: var(--muted); }
@media (hover: hover) { .day:not(.on):hover { background: rgba(10, 125, 99, 0.05); } }

.readout { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; }
.readout-label { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.readout-value { font-size: 27px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.vrule { width: 1px; height: 38px; background: var(--rule); margin-right: 12px; flex: none; }
.brand { display: none; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); margin-right: 28px; }
.brand-ned { font-size: 13px; font-weight: 800; letter-spacing: 0.22em; }
.brand-hunt { font-size: 22px; letter-spacing: 0.08em; color: var(--teal); }

/* ---------------------------------------------------------------- rail + bottom */
/* The rail (hunt/app.js): Layers, Group and Tools; under Tools the tools on (shut) or all of them (open), as one card. */
.rail { position: fixed; z-index: 2; top: calc(var(--strip-h) + 10px); right: 12px; display: flex; flex-direction: column; align-items: flex-end; }
.rail.tools-open { z-index: 3; }   /* over the north button under it */
.rail-main, .rail-tools { width: 58px; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--rule); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.rail-main { position: relative; z-index: 1; }
.rail.has-tools .rail-main { border-bottom: 0; border-radius: 10px 10px 0 0; clip-path: inset(-12px -12px 0 -12px); }
.rail-tools { border-top-color: var(--rule-soft); border-top-right-radius: 0; border-top-left-radius: 0; }
.rail-tools button:not([hidden]) ~ button { border-top: 1px solid var(--rule-soft); }
/* Open: a menu floating beside Tools, as a phone's own pop-up menu: rounded, a soft lift, the name on the left in
   full-size type and its icon at the right edge, separators inset from the sides, a shade on the row pressed. */
.rail.tools-open .rail-main { border-bottom: 1px solid var(--rule); border-radius: 10px; clip-path: none; }
.rail.tools-open .rail-tools { position: absolute; top: var(--tools-top, 114px); right: calc(100% + 8px); width: max-content; min-width: 196px;
  border: 0; border-radius: 14px; box-shadow: 0 10px 30px rgba(18, 51, 61, 0.22), 0 1px 3px rgba(18, 51, 61, 0.16);
  transform-origin: top right; animation: tools-pop 140ms ease-out; }
.rail.tools-open .rail-tools button { height: 50px; flex-direction: row-reverse; justify-content: space-between; gap: 24px; padding: 0 16px; border-top: 0; }
.rail.tools-open .rail-tools button:not([hidden]) ~ button::before { content: ""; position: absolute; top: 0; left: 16px; right: 16px;
  border-top: 1px solid var(--rule-soft); }
.rail.tools-open .rail-tools button:active { background: var(--rule-soft); }
.rail.tools-open .rail-tools .rail-label { font-size: 16px; font-weight: 600; letter-spacing: 0; text-transform: none; line-height: 1.2; }
@keyframes tools-pop { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rail.tools-open .rail-tools { animation: none; } }
.rail #tools-btn[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
.rail button:focus-visible { outline: 3px solid var(--teal); outline-offset: -4px; border-radius: 8px; }
.rail button[aria-pressed="true"]:focus-visible, .rail #tools-btn[aria-expanded="true"]:focus-visible { outline-color: var(--teal-glow); }
.rail button { height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--ink); position: relative; }
.rail-label { font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; }
.rail-count { position: absolute; top: 6px; right: 7px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--teal); color: var(--paper);
  font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; }
.rail-count:empty { display: none; }
.rail-main button + button { border-top: 1px solid var(--rule-soft); }
.rail button.teal { color: var(--teal); }
body.measuring #measure-btn { background: var(--ink); color: var(--paper); }
.north-btn { position: fixed; z-index: 2; top: calc(var(--strip-h) + 10px + var(--rail-h, 236px) + 12px); right: 12px; width: 46px; height: 46px; display: grid; place-items: center;
  color: var(--ink); background: var(--card); border: 1px solid var(--rule); border-radius: 10px; box-shadow: var(--shadow); }

/* ---------------------------------------------------------------- panel
   The fishing site's shape (nedmaps.com FIND): on a phone a drawer at the
   bottom (search, the open tab's content, the tab bar), on a wide screen a
   panel on the left (search, tabs, content). */
.locate-btn { position: fixed; z-index: 2; right: 12px; bottom: calc(var(--panel-h, 150px) + 10px); width: 50px; height: 50px; display: grid; place-items: center;
  color: var(--teal); background: var(--card); border: 1px solid var(--rule); border-radius: 12px; box-shadow: var(--shadow); }
.float-row { position: fixed; z-index: 2; left: 12px; right: 70px; bottom: calc(var(--panel-h, 150px) + 10px); display: flex; align-items: center; gap: 8px; pointer-events: none; }
.float-row > * { pointer-events: auto; }
.float-row > :empty { display: none; }   /* no gap for a stamp that's off */
#photo-year { flex-shrink: 0; pointer-events: none; }
/* What's new (hunt/changelog.js): a pill over the map after an update, above the stamps and Where I am. */
.news-pill { position: fixed; z-index: 2; left: 12px; bottom: calc(var(--panel-h, 150px) + 70px); display: flex; align-items: center; max-width: calc(100vw - 24px);
  background: var(--ink); color: #fff; border-radius: 23px; box-shadow: var(--shadow); }
.news-pill[hidden] { display: none; }
.news-pill-open { display: flex; align-items: center; gap: 8px; min-width: 0; height: 46px; padding: 0 2px 0 8px; font-size: 15px; font-weight: 600; }
.news-pill-new { flex: none; padding: 3px 9px; border-radius: 12px; background: var(--teal-glow); color: var(--ink); font-size: 13px; font-weight: 800; }
.news-pill-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-pill-more { flex: none; font-weight: 500; }
.news-pill-x { flex: none; display: grid; place-items: center; width: 44px; height: 46px; border-radius: 0 23px 23px 0; }
.news-pill button:focus-visible { outline-color: var(--teal-glow); outline-offset: -3px; }
body.wind-tool .news-pill, body.years-tool .news-pill, body.measuring .news-pill, body.tracking .news-pill { display: none; }
.tip-pill-tag { background: var(--teal-pale); }
/* A tip's pill (app.js renderTip): taller than What's new's, the feature's picture in a ringed disc, TIP over its
   name; it rises in and one soft shine crosses it. */
.news-pill.tip-pill { border-radius: 30px; overflow: hidden; animation: tip-rise 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.news-pill.tip-pill::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%) no-repeat;
  background-size: 250% 100%; background-position: 150% 0; animation: tip-shine 1.3s ease-in-out 0.5s 1 both; }
.tip-pill-open { height: 60px; gap: 12px; padding: 0 4px 0 8px; }
.tip-pill-badge { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal); color: #fff; box-shadow: 0 0 0 2px var(--teal-glow); overflow: hidden; }
.tip-pill-badge.photo img { width: 100%; height: 100%; object-fit: cover; }
.tip-pill-words { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; line-height: 1.2; }
.tip-pill-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-glow); }
.tip-pill .news-pill-title { font-size: 16px; font-weight: 700; max-width: 100%; }
.tip-pill .news-pill-x { height: 60px; border-radius: 0 30px 30px 0; }
@keyframes tip-rise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes tip-shine { from { background-position: 150% 0; } to { background-position: -50% 0; } }
@media (prefers-reduced-motion: reduce) { .news-pill.tip-pill, .news-pill.tip-pill::after { animation: none; } .news-pill.tip-pill::after { display: none; } }
/* A tip's helper sheet (views.js tipView): a specimen reveal, the name, why it was picked, How to read it. */
.sheet[data-kind="tip"] .tip-head { align-items: center; min-height: 0; border-bottom: 0; padding-bottom: 12px; }
.tip-reveal { --cut: 50%; position: relative; aspect-ratio: 16 / 10; margin: 0 0 18px; border-radius: 14px; overflow: hidden;
  background: #1d2a26; touch-action: none; cursor: ew-resize; user-select: none; box-shadow: 0 1px 0 var(--rule), 0 10px 24px -14px rgba(18, 51, 61, 0.55); }
.tip-reveal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.tip-reveal-on { clip-path: inset(0 0 0 var(--cut)); }
.tip-reveal-bar { position: absolute; top: 0; bottom: 0; left: var(--cut); width: 0; border-left: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25); }
.tip-reveal-grip { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 0;
  height: 34px; padding: 0 6px; border-radius: 17px; background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); }
.tip-reveal-tag { position: absolute; top: 10px; padding: 3px 10px; border-radius: 12px; font-size: 13px; font-weight: 800; letter-spacing: 0.02em; }
.tip-reveal-tag.off { left: 10px; background: rgba(18, 51, 61, 0.78); color: #fff; }
.tip-reveal-tag.on { right: 10px; background: #fff; color: var(--ink); }
.tip-title { margin: 0; font-size: 40px; line-height: 0.95; letter-spacing: 0.01em; text-transform: uppercase; min-width: 0; }
.tip-head .tip-done { flex: none; align-self: center; }
.tip-text { margin: 14px 0 0; font-size: 17px; line-height: 1.45; max-width: 36em; }
/* Where it is (views.js tipView): the buttons to tap, drawn like the map's rail buttons. */
.tip-path { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 16px 0 0; }
.tip-path-label { font-size: 15px; font-weight: 700; color: var(--ink); }
.tip-path-steps { display: flex; align-items: center; gap: 8px; }
.tip-path-btn { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; padding: 8px 10px 6px;
  border-radius: 12px; background: var(--card); border: 1px solid var(--rule); box-shadow: var(--shadow); color: var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.tip-path-sep { font-size: 22px; color: var(--muted); }
.tip-read { margin: 18px 0 0; padding: 14px 14px 6px; border-radius: 12px; background: var(--paper); border: 1px solid var(--rule-soft); }
.tip-read-head { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--ink); }
.tip-read-row { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; padding: 0 0 10px; font-size: 16px; line-height: 1.35; }
.tip-glyph { width: 34px; height: 24px; display: grid; place-items: center; border-radius: 6px; background: #fff; border: 1px solid var(--rule); color: var(--ink); }
.tip-glyph i { width: 22px; height: 12px; border-radius: 3px; box-sizing: border-box; background: currentColor; }
.tip-glyph i:is(.solid, .dashshort, .dashlong, .dotted, .linedot) { height: 3px; border-radius: 0; }
.tip-glyph i.heavy { height: 6px; }
.tip-glyph i.dot { width: 12px; height: 12px; border-radius: 50%; }
.tip-glyph i:is(.box, .boxdash) { width: 18px; height: 14px; }
.tip-glyph i.dashshort { -webkit-mask: repeating-linear-gradient(90deg, #000 0 5px, transparent 5px 8px); mask: repeating-linear-gradient(90deg, #000 0 5px, transparent 5px 8px); }
.tip-glyph i.dotted { height: 5px; }
/* White lines (lake depth) need a dark tile to show. */
.tip-glyph:has(i[style*="255, 255, 255"]), .tip-glyph:has(i[style*="#ffffff"]) { background: #24515f; border-color: #24515f; }
.tip-glyph.step::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.tip-glyph.tap, .tip-glyph.arrow { background: var(--card); }
.tip-spots { margin: 18px -4px 0; }
.tip-spots .tip-read-head { margin-left: 4px; }
.tip-actions { display: flex; align-items: center; gap: 12px; margin: 20px 0 4px; }
/* .primary sets a top margin further down the file: these two keep the row on one centre line. */
.tip-actions .tip-go { flex: 1; margin: 0; }
.tip-actions .tip-later { flex: none; display: inline-flex; align-items: center; min-height: 50px; font-size: 16px; padding: 0 6px; }
@media (prefers-reduced-motion: reduce) { .tip-reveal { cursor: default; } }
.profile-sec { display: grid; gap: 8px; margin-bottom: 14px; }
.profile-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-chips .chip-btn.on { background: var(--ink); color: var(--card); border-color: var(--ink); }
.profile-note { margin: 0; font-size: 16px; }
.profile-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 16px; font-size: 16px; }
.profile-facts dt { color: var(--ink-soft); }
.profile-facts dd { margin: 0; font-weight: 600; }
.profile-clear { margin-top: 4px; }
/* How a sit went (views.js outcomeView): four big answers. */
.outcome-when { margin: 0 0 12px; font-size: 16px; color: var(--ink-soft); }
.outcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 6px; }
.outcome-btn { min-height: 56px; border-radius: 12px; border: 1px solid var(--rule); background: var(--card); font-size: 17px; font-weight: 700; }
.outcome-btn:hover { border-color: var(--teal); }
.week-rest { display: grid; gap: 8px; }
.week-line { display: grid; gap: 2px; padding: 8px 2px; border-top: 1px solid var(--rule-soft); font-size: 15px; line-height: 1.4; }
.week-line b { font-size: 16px; }
.week-line span { color: var(--ink-soft); }
.week-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.week-chip { padding: 2px 9px; border-radius: 11px; background: var(--teal-pale); color: var(--teal-deep); font-size: 13px; font-weight: 700; }
@media (max-width: 899px) { body:not([data-tab=""]) .news-pill { display: none; } }
@media (min-width: 900px) {
  .news-pill { left: 432px; bottom: 52px; max-width: 420px; }
  body.panel-hidden .news-pill { left: 16px; }
}
/* Its sheet: a block a day, one list. An entry is its name, a short note and a link; the day's first carries the
   day, and its others fold under "Show 2 more". */
.news-block { border-bottom: 1px solid var(--rule-soft); }
.news-item { padding: 14px 0 10px; }
.news-more { margin-bottom: 8px; }
.news-more[hidden] { display: none; }
.news-more .news-item { padding: 6px 0 10px; }
.news-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 4px 0 14px; font-size: 15px; }
.news-toggle.open { padding-bottom: 8px; }
.news-toggle.open .icon { transform: rotate(180deg); }
.news-top { display: flex; align-items: center; gap: 8px; }
.news-title { margin: 0; font-size: 17px; font-weight: 700; }
.news-tag { flex: none; padding: 1px 8px; border-radius: 10px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 800; }
.news-tag.pro { padding: 0 7px; background: none; border: 1.5px solid var(--ink); color: var(--ink); }
/* A switch still in testing (views.js betaTag): a neutral grey-on-white BETA tag after its name. */
.beta-tag { display: inline-block; margin-left: 8px; padding: 0 6px; border: 1.5px solid #6b7275; border-radius: 8px; background: #ffffff; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; line-height: 16px; vertical-align: 2px; color: #4a5255; }
.crop-note { margin: 4px 0 0; font-size: 15px; color: var(--ink); }
.news-day { flex: none; margin-left: auto; font-size: 14px; color: var(--muted); }
.news-text { margin: 4px 0 0; font-size: 16px; line-height: 1.35; }
.news-link { display: inline-flex; align-items: center; gap: 2px; padding: 8px 0 4px; font-size: 15px; }
.find-pill { display: inline-flex; align-items: center; height: 42px; background: var(--teal); color: #fff; border-radius: 21px; box-shadow: var(--shadow); font-size: 14px; font-weight: 700; }
.find-pill button { color: #fff; height: 100%; padding: 0 6px 0 14px; }
.find-pill .x { padding: 0 12px 0 6px; display: grid; place-items: center; }
/* The Conditions layers' data times (hunt/app.js renderWxStamp). */
.wx-stamp { display: inline-block; padding: 3px 8px; border-radius: 10px; background: rgba(255, 255, 255, 0.88); color: var(--ink, #12333d); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; box-shadow: var(--shadow); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; pointer-events: none; }

.panel { position: fixed; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; background: var(--paper);
  border-radius: 16px 16px 0 0; box-shadow: 0 -3px 12px rgba(18, 51, 61, 0.18); padding-bottom: var(--safe-b); }
.panel-top { padding: 12px 16px 10px; order: 1; }
.panel-body { order: 2; height: min(62dvh, calc(100dvh - var(--strip-h) - 200px)); overflow: hidden; border-top: 1px solid var(--rule-soft); }
.tabs { order: 3; display: flex; padding: 2px 8px 0; border-top: 1px solid var(--rule-soft); }
.brand { display: none; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); margin-bottom: 12px; }
.brand-ned { font-size: 12px; font-weight: 800; letter-spacing: 0.22em; }
.brand-hunt { font-size: 21px; letter-spacing: 0.08em; color: var(--teal); }
.search-field { display: flex; align-items: center; gap: 10px; height: 46px; width: 100%; padding: 0 14px;
  background: var(--card); border: 1px solid var(--rule); border-radius: 10px; font-size: 16px; color: var(--ink); }
.search-field span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* The account beside search: a person signed out, the Google picture or the email's initial signed in (hunt/app.js renderAccountButton). */
.search-row { display: flex; align-items: center; gap: 8px; }
.search-row .search-field { flex: 1; min-width: 0; }
.account-btn { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--rule); color: var(--ink); font-size: 19px; font-weight: 700; }
.account-btn.in { background: var(--teal); border-color: var(--teal); color: #fff; }
.account-btn img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
@media (hover: hover) { .account-btn:not(.in):hover { background: var(--paper); } .account-btn.in:hover { background: var(--teal-deep); } }
.tabs button { flex: 1; min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); position: relative; }
.tabs button.on { color: var(--teal); }
.tabs button.on::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 0; height: 3px; border-radius: 2px; background: var(--teal); }
@media (hover: hover) { .tabs button:hover { color: var(--ink); } .tabs button.on:hover { color: var(--teal); } }

.screen-inner { height: 100%; display: flex; flex-direction: column; padding: 12px 16px 0; }
.screen-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.screen-head .segmented { flex: 1; margin-top: 0; }
.screen-list { flex: 1; overflow-y: auto; margin: 0 -16px; padding: 0 16px 24px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
/* In a sheet (the deer sits) the sheet's body is the one scroll. */
.sheet-body .screen-inner { height: auto; }
.sheet-body .screen-list { overflow: visible; }
.chip-btn { height: 42px; padding: 0 14px; font-size: 14px; font-weight: 600; background: var(--card); border: 1px solid var(--rule); border-radius: 8px; }
.segmented { display: flex; border: 1px solid var(--ink); border-radius: 10px; overflow: hidden; margin-top: 8px; }
.seg { flex: 1; min-height: 42px; font-size: 15px; font-weight: 600; background: var(--card); color: var(--ink); }
.seg + .seg { border-left: 1px solid var(--ink); }
.seg.on { background: var(--ink); color: #fff; }

/* find */
.find-label { padding: 14px 0 8px; }
.find-label:first-child { padding-top: 4px; }
.outline-btn { height: 40px; padding: 0 16px; border: 1.5px solid var(--teal); color: var(--teal); border-radius: 20px; font-size: 14px; font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; }
.field select { height: 44px; padding: 0 30px 0 12px; border: 1px solid var(--rule); border-radius: 10px; background-color: var(--card); color: var(--ink); font: inherit; font-size: 16px;
  appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235b6f72' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
/* FIND: the hunt up top, every filter a ladder of cutoffs with the count each leaves, a count bar at the foot. */
.find { padding-bottom: 0; }
/* FIND as a badge: "Filter", or the hunt with its way to hunt (ink) and an x; it opens to the hunts and filters. */
.find-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 4px 0 8px; }
.find-badge { display: inline-flex; align-items: stretch; min-width: 0; height: 40px; border: 1.5px solid var(--ink); border-radius: 10px; overflow: hidden; }
.find-badge.on { background: var(--ink); color: #fff; }
.badge-main { display: inline-flex; align-items: center; gap: 7px; padding: 0 10px 0 12px; min-width: 0; font-size: 14.5px; font-weight: 600; }
.badge-text { display: inline-flex; align-items: baseline; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge-text b { font-weight: 700; }
.badge-text span { font-weight: 500; opacity: 0.8; }
.badge-x { width: 36px; display: grid; place-items: center; border-left: 1px solid rgba(255, 255, 255, 0.25); }
.edit-line { display: flex; justify-content: space-between; align-items: center; min-height: 32px; border-top: 1px solid var(--rule); }
.near-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; border-radius: 20px; }
.near-btn .icon { color: var(--teal); }
.near-btn { position: relative; cursor: pointer; }
.near-pick { position: absolute; inset: 0; width: 100%; opacity: 0; font-size: 16px; cursor: pointer; }
/* The hunt picker: one row a hunt, its count on the right. */
.hunt-rows { border-top: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule); margin-bottom: 6px; }
.hunt-row { width: 100%; min-height: 50px; display: flex; align-items: center; gap: 8px; text-align: left; color: var(--ink-soft); border-bottom: 1px solid var(--rule-soft); }
.hunt-row:last-child { border-bottom: 0; }
.hunt-row .display { flex: 1; font-size: 24px; letter-spacing: 0.04em; }
.hunt-row.on { color: var(--ink); }
.hunt-row .icon { color: var(--teal); }
.hunt-n { min-width: 36px; text-align: right; font-size: 14px; font-weight: 700; color: var(--teal-deep); font-variant-numeric: tabular-nums; }
.hunt-row.none, .hunt-row.none .hunt-n { color: #9aa6a8; }
@media (hover: hover) { .hunt-row:not(.on):hover { color: var(--ink); } }
.land-pick { width: 100%; height: 44px; padding: 0 30px 0 12px; border: 1px solid var(--rule); border-radius: 10px; color: var(--teal-deep); font: inherit; font-size: 14px; font-weight: 700;
  appearance: none; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235b6f72' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; }
.save-row { display: flex; gap: 8px; align-items: center; padding: 6px 0; }
.save-row input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 1.5px solid var(--ink); border-radius: 10px; background: var(--card); color: var(--ink); font: inherit; font-size: 16px; font-weight: 600; }
.primary-sm { height: 44px; padding: 0 16px; border-radius: 10px; background: var(--teal); color: #fff; font-weight: 700; }
.find-foot { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 -16px; padding: 10px 16px calc(var(--safe-b) + 14px); border-top: 2px solid var(--ink); background: var(--paper); }
.foot-count { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; min-height: 56px; }
.count { display: flex; align-items: baseline; gap: 7px; }
.count-n { font-size: 40px; color: var(--teal); font-variant-numeric: tabular-nums; }
.count-n.zero { color: #a61e1e; }
.count-w { font-size: 22px; color: var(--muted); }
.foot-btns { display: flex; gap: 8px; align-items: center; flex: none; }
.map-btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border-radius: 21px; }
.ink-btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px; border-radius: 21px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; }
.find-foot button:disabled { opacity: 0.4; }
.closed-note { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: #8a2a2a; }
.duck-note { font-size: 11.5px; font-weight: 700; color: #8a5a00; }
/* What counts as a place for the hunt picked, over its matches. */
.find-about { margin: 12px 0 2px; font-size: 16px; line-height: 22px; color: var(--ink); }
/* The matches: a table of the numbers filtered on. */
.table-head { display: flex; align-items: flex-end; padding: 10px 0 6px; border-bottom: 1px solid var(--rule); }
.th-place { flex: 1; font-size: 11px; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted); }
.th, .td { width: 56px; flex: none; text-align: right; font-variant-numeric: tabular-nums; }
.th { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.table-row { display: flex; flex-direction: column; gap: 4px; width: 100%; min-height: 64px; padding: 9px 0 8px; text-align: left; border-bottom: 1px solid var(--rule-soft); }
.tr-top { display: flex; justify-content: space-between; gap: 8px; width: 100%; }
.tr-top b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-vals { display: flex; align-items: center; width: 100%; }
.tr-why { font-size: 15px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tr-kind { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; }
.td { font-size: 13.5px; font-weight: 700; }
.td.ac { color: var(--ink-soft); }
@media (hover: hover) { .table-row:hover { background: rgba(10, 125, 99, 0.05); } }
.link-btn { font-size: 13px; font-weight: 700; color: var(--teal); }
.find-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 6px 0; text-align: left; border-bottom: 1px solid var(--rule-soft); }
.find-row .swatch { width: 12px; height: 12px; }
@media (hover: hover) { .find-row:hover, .list-row:hover, .result:hover { background: rgba(10, 125, 99, 0.05); } }
.empty-note { color: var(--muted); font-size: 14px; padding: 14px 0; margin: 0; }
.more-btn { width: 100%; min-height: 44px; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--teal); border: 1px solid var(--rule); border-radius: 10px; background: var(--card); }

.ledger-head { padding-top: 18px; }
/* ---------------------------------------------------------------- spot dial (dial.js) */
.dial { position: absolute; inset: 0; z-index: 4; pointer-events: none; user-select: none; -webkit-user-select: none; }
.dial.sticky { pointer-events: auto; }
.dial-shade { position: absolute; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; background: radial-gradient(closest-side, rgba(18, 51, 61, 0.28) 71%, rgba(18, 51, 61, 0)); animation: dial-in 0.16s ease-out; }
.dial-guide { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dial-guide line[hidden] { display: none; }
.dial-guide line { stroke: var(--card); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 6; }
.dial-press { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; box-sizing: border-box; border-radius: 50%; background: var(--card); border: 3px solid var(--ink); }
.dial-title { position: absolute; transform: translate(-50%, -100%); padding: 7px 14px 6px; border-radius: 999px; background: var(--ink); color: var(--card); font: 24px/1 var(--display); letter-spacing: 0.02em; white-space: nowrap; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); animation: dial-in 0.16s ease-out; }
.dial-wedge { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 5px; transform: translate(-50%, -25px); padding: 0; border: 0; background: none; white-space: nowrap; pointer-events: auto; transition: transform 0.15s; animation: dial-in 0.16s ease-out; }
.dial-wedge b { display: grid; place-items: center; width: 50px; height: 50px; box-sizing: border-box; border-radius: 50%; border: 3px solid var(--card); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35); }
.dial-wedge span { padding: 3px 7px; border-radius: 999px; background: var(--card); color: var(--ink); font: 700 11px/1.1 -apple-system, system-ui, sans-serif; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18); }
/* A tool on the dial (Sight lines): a square badge, told from a spot's round one by shape. */
.dial-wedge.tool b, .dial-cell.tool b { border-radius: 12px; }
.sight-tool { padding-bottom: 6px; }
.sight-at { margin: 10px 0 0; font-size: 15px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.dial-wedge.on { transform: translate(-50%, -25px) scale(1.2); }
.dial-wedge.on span { background: var(--ink); color: var(--card); }
@keyframes dial-in { from { opacity: 0; scale: 0.6; } }
/* A list wedge's panel (Wildlife, View all): the wedges give way to it; the press point stays. */
.dial.listing :is(.dial-shade, .dial-guide, .dial-title, .dial-heard, .dial-wedge) { display: none; }
/* What the dial hears while it's up: the dropped spot's note. */
.dial-heard { position: absolute; transform: translate(-50%, -100%); max-width: min(320px, calc(100% - 24px)); padding: 8px 14px; border-radius: 12px;
  background: rgba(18, 51, 61, 0.92); color: #fff; font-size: 15px; line-height: 1.3; text-align: center; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); }
.dial-heard::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #ff5c5c; vertical-align: 1px; }
.dial-panel { position: fixed; z-index: 12; left: 50%; bottom: calc(var(--safe-b, 0px) + 12px); transform: translateX(-50%); width: min(440px, calc(100% - 24px)); max-height: calc(100dvh - 96px);
  display: flex; flex-direction: column; background: var(--card); color: var(--ink); border-radius: 14px; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
  pointer-events: auto; animation: dial-panel-in 0.18s ease-out; }
.dial-panel-head { display: flex; align-items: center; gap: 4px; padding: 6px; border-bottom: 1px solid var(--rule-soft); }
.dial-panel-head b { flex: 1; font: 24px/1 var(--display); letter-spacing: 0.02em; text-transform: uppercase; padding-top: 3px; }
.dial-panel-head button { width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink); }
.dial-panel-body { overflow-y: auto; overscroll-behavior: contain; padding: 4px 8px 12px; }
.dial-panel-body h3 { margin: 12px 6px 4px; font: 700 11px/1 -apple-system, system-ui, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.dial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }
.dial-cell { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 2px 8px; border-radius: 10px; color: var(--ink); }
.dial-cell:hover, .dial-cell:focus-visible { background: var(--rule-soft); }
.dial-cell b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.dial-cell span { font: 600 11.5px/1.15 -apple-system, system-ui, sans-serif; text-align: center; }
@keyframes dial-panel-in { from { opacity: 0; translate: 0 16px; } }
/* ---------------------------------------------------------------- two-finger measure (ruler.js) */
.ruler { position: absolute; inset: 0; z-index: 4; pointer-events: none; user-select: none; -webkit-user-select: none; }
.ruler.done { animation: ruler-out 0.4s ease-in 1.1s forwards; }
.ruler-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ruler-under { stroke: var(--ink); stroke-width: 7; stroke-linecap: round; }
.ruler-over { stroke: #ffd43b; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 8 5; }
.ruler-end { fill: var(--card); stroke: var(--ink); stroke-width: 3; }
.ruler-read { position: absolute; transform: translate(-50%, -100%); padding: 7px 14px 6px; border-radius: 999px; background: var(--ink); color: var(--card);
  font-size: 28px; line-height: 1; white-space: nowrap; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); }
@keyframes ruler-out { to { opacity: 0; } }
.sun-week { width: 100%; border-collapse: collapse; margin-top: 14px; font-variant-numeric: tabular-nums; }
.sun-week th { text-align: right; padding: 0 0 6px; border-bottom: 2px solid var(--ink); }
.sun-week td { text-align: right; padding: 12px 0; border-bottom: 1px solid var(--rule-soft); font-size: 15px; }
.sun-week th:first-child, .sun-week td:first-child { text-align: left; }
.sun-week td b { font-size: 16px; font-weight: 600; }
.ledger-head .row { padding-bottom: 6px; }
.list-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; text-align: left; border-bottom: 1px solid var(--rule-soft); background: var(--paper); }
.row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row-text b { font-size: 17px; font-weight: 600; }
.row-text small { font-size: 14px; color: var(--muted); }
.row-num { font-size: 25px; }
.track-row { min-height: 66px; }
.track-icon { color: var(--record); }
.chev { color: var(--muted); opacity: 0.6; }
.badge { display: inline-grid; place-items: center; flex: none; }
.empty { font-size: 29px; color: var(--muted); margin: 28px 0 0; }
.swipe { position: relative; overflow: hidden; }
.swipe > .list-row { position: relative; z-index: 1; touch-action: pan-y; }
.swipe-del { position: absolute; right: 0; top: 0; bottom: 0; width: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: var(--record); color: #fff; font-size: 13px; font-weight: 600; }
/* With a mouse: no slide, a quiet trash where the row's chevron (or check) is, red only under the pointer. A row with a
   number at its end keeps a gutter for it. */
@media (hover: hover) {
  .swipe-del { top: 50%; bottom: auto; width: 40px; height: 40px; margin-top: -20px; border-radius: 8px; z-index: 2;
    background: none; color: var(--muted); opacity: 0; pointer-events: none; transition: opacity 120ms ease, color 120ms ease, background-color 120ms ease; }
  .swipe-label { display: none; }
  .swipe:hover .swipe-del, .swipe-del:focus-visible { opacity: 1; pointer-events: auto; }
  .swipe-del:hover { color: var(--record); background: rgba(201, 42, 42, 0.08); }
  .swipe:hover .chev, .swipe:hover .list-row > .teal { visibility: hidden; }
  .swipe:has(.row-num) > .list-row { padding-right: 44px; }
}
.county { min-height: 56px; }
.county-name { font-size: 25px; }
.county progress { width: 70px; accent-color: var(--teal); }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; color: var(--muted); flex: none; }
.icon-btn.teal { color: var(--teal); }
.spinner { width: 28px; height: 28px; margin: 40px auto; border-radius: 50%; border: 3px solid var(--rule); border-top-color: var(--teal); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* sits */
.picker { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; margin-top: 8px; background: var(--card); border: 1px solid var(--rule); border-radius: 10px; text-align: left; }
.picker-text { flex: 1; min-width: 0; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero { background: var(--ink); color: var(--paper); border-radius: 12px; padding: 16px; margin-top: 14px; }
.hero-main { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 6px; }
.hero-rating { font-size: 54px; display: block; }
.hero-best { margin: 0 0 6px; font-size: 16px; white-space: nowrap; }
/* What moved the sit: a row per factor, its bar off a center line, lifts in mint and cuts in grey. */
.factors { display: grid; grid-template-columns: max-content minmax(60px, 1fr) max-content; align-items: center; gap: 9px 14px;
  border-top: 1px solid rgba(245, 242, 234, 0.2); margin-top: 14px; padding-top: 12px; font-size: 16px; }
.factor { display: contents; }
.factor-name { font-weight: 700; white-space: nowrap; }
.factor-name span { font-weight: 400; color: #d6e2e3; font-variant-numeric: tabular-nums; }
.factor-bar { position: relative; height: 8px; }
.factor-bar::before { content: ""; position: absolute; left: 50%; top: -4px; bottom: -4px; width: 1px; background: rgba(245, 242, 234, 0.35); }
.factor-bar i { position: absolute; top: 0; bottom: 0; min-width: 4px; border-radius: 4px; }
.factor.up .factor-bar i { left: 50%; background: var(--teal-glow); }
.factor.down .factor-bar i { right: 50%; background: #93a7aa; }
.factor-pct { text-align: right; font-variant-numeric: tabular-nums; color: #93a7aa; }
.factor.up .factor-pct { color: var(--teal-glow); }
.factor.down .factor-pct { color: var(--paper); }
/* What the rating is made of: the score, then the rut, hunting and weather points that add up to it. */
.parts { display: flex; flex-wrap: wrap; gap: 6px 22px; border-top: 1px solid rgba(245, 242, 234, 0.2); margin-top: 14px; padding-top: 12px; }
.part { display: flex; flex-direction: column; gap: 2px; }
.part-name { font-size: 15px; color: #d6e2e3; }
.part-value { font-size: 17px; font-variant-numeric: tabular-nums; }
/* The rut on the sit's day: its phase, the phases as a strip shaded like the Rut layer (rust, darkest and hatched at
   the peak) with the day marked, then the peak breeding date in one stepper and whose date it is. */
.rut-card { container-type: inline-size; margin-top: 12px; padding: 14px 16px 16px; border: 1px solid var(--rule); border-radius: 12px; background: var(--card); }
.rut-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rut-phase { font-size: 34px; color: var(--ink); }
.rut-away { font-size: 16px; color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rut-strip { position: relative; margin: 30px 0 4px; }
/* The window's days outside the rut: the bare bar. */
.rut-bar { position: relative; height: 26px; border-radius: 6px; overflow: hidden; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule-soft); }
.rut-bar i { position: absolute; top: 0; bottom: 0; }
.rut-bar i.peak { background-image: repeating-linear-gradient(135deg, rgb(255 255 255 / 0.5) 0 2px, transparent 2px 6px); }
/* The sit's day: an ink pin through the bar with its date above, held inside the card at either end. */
.rut-mark { position: absolute; top: -26px; bottom: 0; width: 0; z-index: 1; }
.rut-mark::after { content: ""; position: absolute; left: -1.5px; top: 20px; height: 36px; width: 3px; border-radius: 2px; background: var(--ink); box-shadow: 0 0 0 1.5px var(--card); }
.rut-mark-label { position: absolute; top: 0; left: 0; transform: translateX(-50%); font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.rut-mark.at-start::after, .rut-mark.at-end::after { display: none; }
.rut-mark.at-start .rut-mark-label, .rut-mark.lean-r .rut-mark-label { transform: translateX(-6px); }
.rut-mark.at-end .rut-mark-label, .rut-mark.lean-l .rut-mark-label { transform: translateX(calc(-100% + 6px)); }
.rut-axis { position: relative; height: 22px; margin-top: 6px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rut-axis span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.rut-axis .s, .rut-axis .at-s { transform: none; }
.rut-axis .e, .rut-axis .at-e { transform: translateX(-100%); }
.rut-axis .peak { color: #7a3410; font-weight: 700; }
.rut-peak { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule-soft); }
.rut-peak-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 16px; }
.rut-whose { font-size: 15px; color: var(--muted); white-space: nowrap; }
.rut-reset { align-self: flex-start; font-size: 15px; padding: 2px 0; }
/* One control for the date: the date between its day earlier and day later; set by the hunter, it takes the ink. */
.peak-stepper { display: flex; align-items: stretch; flex: none; height: 44px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); overflow: hidden; }
.peak-stepper.own { border-color: var(--ink); }
.peak-step { width: 44px; font-size: 22px; font-weight: 700; color: var(--ink); }
.peak-step:active { background: var(--rule-soft); }
.peak-step:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.peak-date { min-width: 72px; display: grid; place-items: center; padding: 0 4px; font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums;
  border-left: 1px solid var(--rule-soft); border-right: 1px solid var(--rule-soft); }
/* A narrow phone: the date's stepper goes under its name, the width of the card. */
@container (max-width: 270px) {
  .rut-peak { flex-direction: column; align-items: stretch; }
  .peak-date { flex: 1; }
}
.peak-stepper.own .peak-date { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.hero-next { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(245, 242, 234, 0.2); margin-top: 12px; padding-top: 10px; font-size: 14px; color: #d6e2e3; }
.week { margin-top: 18px; }
.week-head { display: flex; align-items: center; padding-bottom: 6px; }
.week-head > .eyebrow { flex: 1; }
.col { width: 86px; display: flex; justify-content: center; flex: none; }
.week-row { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--rule-soft); }
.week-day { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 16px; }
.week-day small { font-size: 13px; }
.rating { width: 74px; height: 28px; display: grid; place-items: center; border-radius: 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; border: 1px solid transparent; }
/* One scale, Prime down to Quiet: Prime is the hero's ink and mint, then teal, pale teal, a neutral fill, an outline. */
.rating.prime { background: var(--ink); color: var(--teal-glow); }
.rating.strong { background: var(--teal); color: #fff; }
.rating.fair { background: var(--teal-pale); color: var(--teal-deep); }
.rating.slow { background: var(--rule-soft); color: var(--ink-soft); }
.rating.quiet, .rating.none { color: var(--muted); border-color: var(--rule); }
/* A week row the day bar can pick: the picked day lifted onto the card. */
button.week-row { width: 100%; text-align: left; }
.week-row.day-row { position: relative; }
/* The picked day: a bar in the gutter, so its chips and rule stay in line with the other days. */
.week-row.day-row.on::before { content: ""; position: absolute; left: -10px; top: 0; bottom: -1px; width: 3px; background: var(--ink); }
.best-row { gap: 12px; }
/* The mode sheet. */
.group-pills { display: flex; gap: 8px; }
.group-pill { flex: 1; min-height: 44px; border-radius: 22px; border: 1.5px solid var(--rule); font-size: 15px; font-weight: 600; text-align: center; }
.group-pill.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.birds { margin: 8px 0 0; }
.sheet-days { margin-top: 16px; }
/* Species windows (hunt/specieswindow.js): a strip per species, Sep 1 - Dec 15, the picked day marked. */
.sw-axis, .sw-row { display: grid; grid-template-columns: 108px 1fr 70px; align-items: center; column-gap: 10px; }
.sw-axis { color: var(--muted); font-size: 10.5px; padding-bottom: 2px; }
.sw-ticks { display: grid; grid-template-columns: repeat(4, 1fr); }
.sw-ticks span { white-space: nowrap; }
.sw-row { padding: 4px 0; }
.sw-name { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-strip { position: relative; display: grid; grid-template-columns: repeat(16, 1fr); gap: 1px; height: 14px; }
.sw-strip i { display: block; border-radius: 2px; background: var(--rule-soft); }
.sw-strip.rough i { opacity: 0.55; }
.sw-now { position: absolute; top: -3px; bottom: -3px; width: 2px; border-radius: 1px; background: var(--ink); pointer-events: none; }
.sw-tag { font-size: 12px; text-align: right; white-space: nowrap; color: var(--muted); }
.sw-tag.in { color: var(--teal-deep); font-weight: 650; }
.sw-tag.soon { color: var(--ink-soft); }
.sw-src { margin: 8px 0 0; }
/* A mode's card (hunt/modecard.js): a ranked list, each row a name, a bar and its figure. */
.mode-card { margin-top: 6px; }
.mode-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 6px; border-bottom: 2px solid var(--ink); }
.mode-card-unit { font-size: 14px; color: var(--ink-soft); }
.mode-card-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 52px; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--rule-soft); }
.mode-card-name { font-size: 16px; font-weight: 600; color: var(--ink); }
.mode-card-name small { display: block; font-size: 14px; font-weight: 400; color: var(--ink-soft); }
.mode-card-bar { height: 10px; border-radius: 3px; background: var(--rule-soft); overflow: hidden; }
.mode-card-bar i { display: block; height: 100%; border-radius: 3px; }
.mode-card-value { font-size: 17px; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.mode-card-src { margin: 8px 0 4px; }
button.mode-card-row.tap { width: 100%; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 52px 18px; border: 0; border-bottom: 1px solid var(--rule-soft); background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
button.mode-card-row.tap.on { border-bottom-color: transparent; }
.mode-card-chev { color: var(--muted); display: flex; justify-content: flex-end; }
.mode-card-open { margin: 0 0 10px; padding: 4px 12px 10px; border-radius: 10px; background: var(--paper); border: 1px solid var(--rule-soft); }
.mode-layers-list { margin-top: 6px; }
.mode-layer { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule-soft); }
.mode-layer-swatch { width: 16px; height: 16px; border-radius: 3px; box-sizing: border-box; }
.mode-layer-text b { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }
.mode-layer-text span { display: block; font-size: 15px; color: var(--ink-soft); }
.mode-layers-list + .mode-card { margin-top: 18px; }
.key-rule { margin-top: 18px; }
.key-row { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--rule-soft); }
.key-items { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.key-item { display: flex; align-items: center; gap: 6px; font-size: 13.5px; }
.key-item i { width: 10px; height: 10px; border-radius: 2px; box-sizing: border-box; }
.key-item i.dot { border-radius: 50%; }
.key-item i.line { height: 3px; border-radius: 0; }
.key-item i.dash { width: 16px; height: 3px; border-radius: 0; -webkit-mask: repeating-linear-gradient(90deg, #000 0 4.5px, transparent 4.5px 6.5px); mask: repeating-linear-gradient(90deg, #000 0 4.5px, transparent 4.5px 6.5px); }
/* Road and trail keys read by pattern, not color (Forest roads & trails, hunt/mvum.js). */
.key-item i:is(.solid, .linedot, .dashshort, .dashlong, .dotted, .faint) { width: 18px; height: 3px; border-radius: 0; }
.key-item i.linedot { height: 5px; }
.key-item i.dotted { height: 5px; }
.key-item i.faint { opacity: 0.5; }
.key-item i.dashshort { -webkit-mask: repeating-linear-gradient(90deg, #000 0 5px, transparent 5px 8px); mask: repeating-linear-gradient(90deg, #000 0 5px, transparent 5px 8px); }
.key-item i.dashlong { width: 22px; -webkit-mask: repeating-linear-gradient(90deg, #000 0 9px, transparent 9px 12px); mask: repeating-linear-gradient(90deg, #000 0 9px, transparent 9px 12px); }
.key-item i:is(.box, .boxdash) { width: 14px; height: 12px; }
/* A key that doubles as a filter (Lidar scouting): a check per kind, then its mark. */
.key-checks { gap: 6px 14px; }
.key-check { gap: 6px; cursor: pointer; }
.key-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.key-item i.cased { width: 18px; height: 4px; border-radius: 0; }
.key-item i:is(.square, .ringdot) { width: 12px; height: 12px; }
.key-item i.ringdot { border-radius: 50%; }
.key-item i.diamond { width: 10px; height: 10px; transform: rotate(45deg); }
.sw-cased { width: 18px; height: 4px; flex: none; background: currentColor; box-shadow: 0 0 0 1.5px #111; }
.mode-off { width: 100%; margin-top: 18px; }

/* ---------------------------------------------------------------- sheet */
.scrim { position: fixed; inset: 0; z-index: 9; background: rgba(18, 51, 61, 0.28); }
.sheet { position: fixed; z-index: 10; left: 0; right: 0; bottom: 0; height: calc(100dvh - var(--safe-t) - 10px);
  display: flex; flex-direction: column; background: var(--card); border-radius: 16px 16px 0 0; box-shadow: 0 -4px 18px rgba(18, 51, 61, 0.22); will-change: transform; }
.sheet[data-kind="layers"], .sheet[data-kind="search"], .sheet[data-kind="actions"], .sheet[data-kind="group"] { background: var(--paper); }
.grabber { width: 36px; height: 5px; border-radius: 3px; background: #c7c0b0; margin: 6px auto 0; flex: none; touch-action: none; }
.sheet-head { padding: 12px 18px 0; flex: none; touch-action: none; }
.sheet-body { flex: 1; overflow-y: auto; padding: 0 18px calc(var(--safe-b) + 30px + var(--below, 0px)); overscroll-behavior: contain; }
.sheet:not([data-detent="full"]):not([data-scrolls]) .sheet-body { overflow: hidden; touch-action: none; }
.sheet[data-detent="fit"]:not([data-scrolls]) .sheet-body { overflow: visible; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.head-left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.head-left .eyebrow { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swatch { width: 12px; height: 12px; border-radius: 3px; flex: none; }
/* Why a tract is recommended (views.js spotRows): a tab per species, then the chosen one's spots, each behind a
   replica of the numbered pin the map draws (hunt/spots.js spotMarksStyle) so card and map read as one. */
.spots, .best-row { --spot: #00b39b; --spot-deep: #055c4f; }
.spot-key { display: inline-flex; align-items: center; gap: 7px; }
.spot-swatch { width: 10px; height: 10px; flex: none; border-radius: 2px; background: var(--spot); box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px var(--spot-deep); }
.spot-tabs { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--rule-soft); }
.spot-tabs::-webkit-scrollbar { display: none; }
.spot-tab { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 46px; font-size: 16px; font-weight: 600;
  color: var(--muted); box-shadow: inset 0 -3px 0 transparent; transition: color 0.15s, box-shadow 0.15s; }
.spot-tab:hover { color: var(--ink); }
.spot-tab.on { color: var(--ink); box-shadow: inset 0 -3px 0 var(--spot-deep); }
.spot-list { margin: 0; padding: 0; list-style: none; }
.spot { display: flex; align-items: center; gap: 14px; padding: 12px 0 12px 3px; border-bottom: 1px solid var(--rule-soft); }
.spot-pin { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--spot-deep); color: #fff;
  font: 700 13px/1 system-ui, sans-serif; box-shadow: 0 0 0 2.5px #fff, 0 1px 5px 2px rgba(18, 51, 61, 0.25); }
.spot-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.spot-text b { font-size: 16px; font-weight: 600; }
.spot-text small { font-size: 13px; color: var(--muted); }
.spot-none { margin: 0; padding: 12px 0; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--rule-soft); }
.spot-caveat { margin: 12px 0 2px; padding: 2px 0 2px 10px; border-left: 3px solid var(--amber); font-size: 14px; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .spot-tab { transition: none; } }
/* A land class as a word on its color (views.js landBadge): readable without telling the colors apart. */
.swatch.badge { width: auto; height: auto; min-width: 22px; padding: 2px 5px; border-radius: 4px; text-align: center;
  font: 800 9.5px/1.2 system-ui, sans-serif; letter-spacing: .04em; box-shadow: inset 0 0 0 1px rgba(18, 51, 61, .25); }
.find-row .swatch.badge, .result .swatch.badge, .tr-kind .swatch.badge { width: auto; height: auto; min-width: 30px; }
/* A city or town in search: ink, not a land color. */
.swatch.badge.town-badge { background: var(--ink); color: var(--paper); }
.swatch.outline { background: none; border: 2px solid; width: 11px; height: 11px; border-radius: 2px; }
.title-row { display: flex; align-items: flex-end; gap: 14px; padding: 12px 0; }
.rename-btn { align-self: center; color: var(--ink-soft); }
.rename-form { padding: 4px 0 12px; }
.note-text { display: block; width: 100%; padding: 2px 0 12px; text-align: left; font-size: 16px; line-height: 1.4; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
/* Add note and Add photo: full buttons, side by side while the spot has neither, each alone the card's width. */
.note-add { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; margin: 4px 0 12px; padding: 0 10px;
  border: 1.5px solid var(--teal); border-radius: 10px; font-size: 16px; font-weight: 600; color: var(--teal); vertical-align: top; }
.note-add:has(+ .note-add), .note-add + .note-add { width: calc(50% - 4px); }
.note-add + .note-add { margin-left: 8px; }
.note-field { position: relative; }
/* A spot's photos (hunt/views.js): square thumbnails in a row that scrolls sideways, Add at its end. */
.photo-add-line { cursor: pointer; }
.photo-strip { display: flex; gap: 8px; margin: 0 -18px 12px; padding: 0 18px; overflow-x: auto; scrollbar-width: none; }
.photo-strip::-webkit-scrollbar { display: none; }
.photo-tile { flex: none; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: var(--rule-soft); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-tile img:not([src]) { visibility: hidden; }
.photo-tile.off { border: 1px dashed var(--rule); background: none; }
.photo-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1px solid var(--rule);
  background: none; color: var(--teal); font-size: 15px; font-weight: 600; cursor: pointer; }
.photo-add:focus-visible, .photo-add-line:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
/* One photo over the whole screen (hunt/photoview.js). */
.photo-view { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; background: #000; color: #fff;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.pv-bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: calc(8px + env(safe-area-inset-top)) 8px 8px; }
.pv-btn { display: inline-flex; align-items: center; gap: 6px; min-width: 48px; min-height: 48px; padding: 0 12px; border-radius: 10px;
  color: #fff; font-size: 16px; font-weight: 600; }
.pv-btn:hover { background: rgba(255, 255, 255, 0.14); }
.pv-del.sure { background: #fff; color: #000; }
.pv-count { position: absolute; left: 50%; bottom: 21px; transform: translateX(-50%); font-size: 16px; font-weight: 600; }
.pv-stage { flex: 1; min-height: 0; display: grid; place-items: center; padding-bottom: env(safe-area-inset-bottom); }
.pv-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pv-img:not([src]) { visibility: hidden; }
.pv-none { font-size: 16px; }
.pv-cap { margin: 0; padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); text-align: center; font-size: 16px; }
/* A group's photos on its card (hunt/views.js groupView): the spot card's strip, inside the card's own edges. */
.gcard .photo-strip { margin: 10px 0 4px; padding: 0; }
.pv-nav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 48px; height: 64px;
  color: #fff; background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.5); }
.pv-prev { left: 0; border-left: 0; border-radius: 0 10px 10px 0; }
.pv-next { right: 0; border-right: 0; border-radius: 10px 0 0 10px; }
.note-field .note-input { padding-right: 52px; }
.note-mic { position: absolute; right: 6px; bottom: 8px; color: var(--teal); border-radius: 50%; }
.note-mic.on, .voice-fab.on { background: #e03131; color: #fff; animation: mic-pulse 1.2s ease-in-out infinite; }
@keyframes mic-pulse { 50% { box-shadow: 0 0 0 8px rgba(224, 49, 49, 0.2); } }
.voice-fab { position: absolute; right: 12px; bottom: calc(100% + 12px); width: 72px; height: 72px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  background: var(--teal); color: #fff; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(18, 51, 61, 0.35);
  font: 700 10px/1 -apple-system, system-ui, sans-serif; letter-spacing: 0.1em; text-transform: uppercase;
  touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.voice-fab:disabled { opacity: 0.5; }
.track-panel.has-voice .recenter-btn { bottom: calc(100% + 96px); right: 23px; }
.voice-bubble { position: absolute; left: 12px; right: 96px; bottom: calc(100% + 10px); padding: 10px 14px; border-radius: 12px; background: var(--ink); color: #fff;
  font-size: 16px; line-height: 1.35; box-shadow: var(--shadow); max-height: 30vh; overflow: hidden; }
.note-input { height: auto; min-height: 104px; padding: 12px 14px; line-height: 1.4; resize: vertical; }
.rename-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.rename-actions > button { width: auto; min-width: 0; margin: 0; height: 50px; min-height: 50px; border-radius: 10px; }
.title-text { flex: 1; min-width: 0; }
.title-text h2 { font-size: 35px; margin: 0; overflow-wrap: anywhere; }
.title-text .sub { margin: 4px 0 0; font-size: 14px; color: var(--ink-soft); }
.title-num { display: flex; flex-direction: column; align-items: flex-end; border-left: 1px solid var(--rule); padding-left: 14px; }
.title-num .display { font-size: 41px; }
.ledger-row { display: flex; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--rule-soft); font-size: 15px; }
.ledger-row .l { width: 112px; flex: none; color: var(--muted); }
.ledger-row .v { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.copy-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.copy-btn { display: grid; place-items: center; flex: none; width: 32px; height: 32px; margin: -6px -6px -6px 0; border-radius: 8px; color: var(--muted); }
.copy-btn:hover { background: rgba(18, 51, 61, 0.07); color: var(--ink); }
/* The field's crop (views.js cropRows): this season big, the years before folded. */
.crop { display: flex; flex-direction: column; gap: 10px; padding: 12px 0 4px; border-bottom: 1px solid var(--rule-soft); }
.crop-acres { font-size: 14px; font-weight: 600; color: var(--muted); }
.crop-now { display: flex; align-items: center; gap: 10px; }
.crop-swatch { width: 16px; height: 16px; flex: none; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(18, 51, 61, 0.25); }
.crop-name { font-size: 34px; text-transform: uppercase; }
.crop-likely { padding: 3px 8px; border-radius: 999px; border: 1px dashed var(--muted); font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.crop-toggle { display: flex; align-items: center; gap: 10px; height: 44px; margin: 0 -4px; padding: 0 4px; font-size: 15px; font-weight: 600; color: var(--ink); }
.crop-toggle .icon { color: var(--muted); transform: rotate(90deg); transition: transform 0.15s; }
.crop-toggle[aria-expanded="true"] .icon { transform: rotate(-90deg); }
.crop-minis { display: flex; gap: 3px; }
.crop-minis span { width: 10px; height: 10px; box-sizing: border-box; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(18, 51, 61, 0.15); }
.crop-minis .none, .crop-year.none .crop-block { border: 1px dashed #b8ae99; box-shadow: none; color: var(--muted); }
.crop-years { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding-bottom: 12px; }
.crop-years[hidden] { display: none; }
.crop-year { display: flex; flex-direction: column; gap: 5px; }
.crop-block { display: grid; place-items: center; height: 34px; box-sizing: border-box; border-radius: 6px; font-size: 12px; font-weight: 700; color: #12333d;
  box-shadow: inset 0 0 0 1px rgba(18, 51, 61, 0.15); }   /* grass is near white, as on the card */
.crop-yr { text-align: center; font-size: 12px; font-weight: 500; color: var(--muted); }
.warn { margin: 10px 0 0; padding: 10px; border-radius: 8px; background: rgba(245, 196, 81, 0.18); font-size: 14px; }
.primary { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; margin-top: 14px;
  background: var(--teal); color: #fff; border-radius: 10px; font-size: 17px; font-weight: 700; }
.action-strip { display: flex; margin-top: 10px; border: 1px solid var(--rule); border-radius: 10px; }
.action-strip button { flex: 1; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--teal); }
.action-strip button + button { border-left: 1px solid var(--rule-soft); }
.ledger-head + .season { border-top: 0; }
.season { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--rule-soft); font-size: 15px; }
.amber-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; padding: 2px 8px; border-radius: 6px; background: var(--amber); color: var(--amber-ink); white-space: nowrap; }
.status { font-size: 14px; color: var(--muted); white-space: nowrap; }
.status.closed { opacity: 0.7; }
.zone-title { padding: 18px 0 6px; }
/* A card's folds (views.js fold): a title, its headline, a chevron; the body under it once tapped. */
.folds { margin-top: 14px; border-top: 2px solid var(--ink); }
.fold { border-bottom: 1px solid var(--rule-soft); }
.fold-head { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; text-align: left; font-size: 16px; color: var(--ink); }
.fold-title { flex: none; max-width: 60%; font-weight: 700; }
.fold-sum { flex: 1; min-width: 0; text-align: right; font-size: 15px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fold-head .icon { flex: none; color: var(--muted); transform: rotate(90deg); transition: transform 0.15s; }
.fold-head[aria-expanded="true"] .icon { transform: rotate(-90deg); }
.fold-body { padding-bottom: 14px; }
.fold-body[hidden] { display: none; }
.fold-body .zone:first-child .zone-title { padding-top: 6px; }
.crop + .folds { margin-top: -1px; }
/* A Pro fold without Pro (views.js lockedFold): no chevron, the lock in its place. */
.fold-locked .lock-btn { flex: none; }
.hab-reach { margin: 2px 0 8px; font-size: 14px; color: var(--muted); }
/* The habitat read: a bar of the quarter mile by cover, then rows keyed to the map's colors; a row hovered or tapped
   shows on the map (hunt/views.js habitatRows). */
.hab-total { font-size: 14px; font-weight: 600; color: var(--muted); }
.hab-bar { display: flex; gap: 2px; height: 12px; margin: 14px 0 6px; }
.hab-bar span { min-width: 4px; border-radius: 3px; transition: opacity 0.12s; }
.hab-bar .rest { background: var(--rule-soft); min-width: 0; }
.hab.focusing .hab-bar span:not(.on) { opacity: 0.3; }
.hab-group { padding: 4px 0; border-bottom: 1px solid var(--rule-soft); }
.hab-row { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 38px;
  margin: 0 -8px; padding: 0 8px; border-radius: 8px; font-size: 15px; -webkit-tap-highlight-color: transparent; transition: background 0.12s; }
.hab-row .l { color: var(--ink-soft); }
.hab-row .v { display: flex; align-items: center; gap: 6px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.hab-row .v small { font-size: 13px; font-weight: 400; color: var(--muted); }
.hab-row .v.none { font-weight: 400; color: var(--muted); }
.hab-row.on, .hab-site.on { background: rgba(18, 51, 61, 0.07); }
@media (hover: hover) { .hab-row:hover, .hab-site:hover { background: rgba(18, 51, 61, 0.07); } }
.hab-sw { justify-self: center; width: 12px; height: 12px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(18, 51, 61, 0.2); }
.hab-sw.dot { border-radius: 50%; box-shadow: inset 0 0 0 1.5px #12333d; }
.hab-sw.line { width: 16px; height: 4px; border-radius: 2px; box-shadow: none; }
.hab-sw.blank { box-shadow: inset 0 0 0 1px var(--rule); background: transparent; }
.hab-row.on .hab-sw, .hab-row:hover .hab-sw { transform: scale(1.25); }
.hab-arrow { display: inline-grid; place-items: center; justify-self: center; color: var(--ink); }
.hab-row .v .hab-arrow { color: var(--muted); }
.hab-site { display: flex; align-items: center; gap: 12px; margin: 10px -8px 0; padding: 8px; border-radius: 10px; transition: background 0.12s; }
.hab-site-n { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; color: #fff; font-size: 13px; font-weight: 700;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(18, 51, 61, 0.25); }
.hab-site-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.hab-site-text b { font-size: 15px; font-weight: 600; }
.hab-site-text small { font-size: 13px; color: var(--muted); }
.harvest-bars { display: flex; align-items: flex-end; gap: 1px; height: 48px; padding: 10px 0 6px; border-bottom: 1px solid var(--rule-soft); }
.harvest-bars i { flex: 1; min-width: 0; background: var(--teal); border-radius: 1px 1px 0 0; }
.harvest-note { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.sheet-title { font-size: 33px; margin: 0; letter-spacing: 0.04em; }
.head-row:has(.sheet-title), .search-head { border-bottom: 0; }
.text-btn { font-size: 16px; font-weight: 700; color: var(--teal); padding: 8px 0 8px 8px; }

/* the chip over a state that isn't loaded (hunt/states.js chipFor) */
.state-chip { height: 36px; padding: 0 16px; border-radius: 18px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 700;
  white-space: nowrap; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); cursor: pointer; }

/* layers */
.bases { display: flex; gap: 10px; margin-top: 4px; }
.base { flex: 1; display: flex; flex-direction: column; gap: 6px; text-align: left; font-size: 14px; font-weight: 500; }
.base img { width: 100%; height: 76px; object-fit: cover; border-radius: 10px; border: 1px solid var(--rule); }
.base.on img { border: 3px solid var(--teal); }
.base.on span { color: var(--teal); font-weight: 700; }
.switch-row { display: flex; align-items: center; gap: 12px; min-height: 46px; border-bottom: 1px solid var(--rule-soft); font-size: 16px; cursor: pointer; }
.switch-row > span:nth-child(2) { flex: 1; }
.about-btn { display: grid; place-items: center; width: 36px; height: 36px; margin-right: 2px; border-radius: 50%; color: var(--muted); flex: none; }
.about-btn.on { color: var(--teal); background: rgba(10, 125, 99, 0.1); }
/* Coming in: the swatch turns into a spinner in its own spot, so nothing in the row moves. */
.switch-row[data-layer] { position: relative; }
.row-spin { display: none; position: absolute; left: 0; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%;
  border: 2.5px solid var(--rule); border-top-color: var(--teal); animation: spin 0.8s linear infinite; }
.switch-row.loading .row-spin { display: block; }
.switch-row.loading > :first-child { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .row-spin { animation-duration: 2.4s; } }
.layer:has(.layer-about:not([hidden])) .switch-row { border-bottom: 0; }
.layer-about { padding: 2px 0 10px 30px; border-bottom: 1px solid var(--rule-soft); }
.layer-about .ledger-row { padding: 6px 0; font-size: 14px; border-bottom: 0; }
.layer-about .ledger-row .l { width: 96px; }
.layer-about .layer-text { margin: 4px 0 6px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.sw-fill { width: 18px; height: 18px; border-radius: 4px; flex: none; }
.sw-dot { width: 14px; height: 14px; margin: 2px; border-radius: 50%; flex: none; background: #fff; box-shadow: inset 0 0 0 2.5px currentColor; }
/* Green feed: white ground with dark dots in a dark outline, as the map draws it. */
.sw-dots { width: 18px; height: 18px; border-radius: 4px; flex: none; background: radial-gradient(circle, currentColor 1.3px, transparent 1.8px) 1px 1px / 6px 6px, #fff; box-shadow: inset 0 0 0 2px currentColor; }
.sw-line { width: 18px; height: 3px; background: currentColor; flex: none; }
.sw-dash { width: 18px; height: 3px; flex: none; background: repeating-linear-gradient(90deg, currentColor 0 4.5px, transparent 4.5px 6.5px); }
.sw-hatch { width: 16px; height: 16px; border-radius: 4px; flex: none; border: 1.5px dashed currentColor;
  background: repeating-linear-gradient(45deg, currentColor 0 1.5px, transparent 1.5px 5px), repeating-linear-gradient(-45deg, currentColor 0 1.5px, transparent 1.5px 5px); }
input[role="switch"] { appearance: none; width: 51px; height: 31px; border-radius: 16px; background: #d8d3c6; position: relative; cursor: pointer; transition: background 150ms; flex: none; margin: 0; }
input[role="switch"]::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); transition: transform 150ms; }
input[role="switch"]:checked { background: var(--teal); }
input[role="switch"]:checked::after { transform: translateX(20px); }
.nav-row { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 46px; margin-top: 18px; border-top: 2px solid var(--ink); font-size: 16px; }
.nav-row .icon { color: var(--muted); }

/* search */
.search-head { display: flex; align-items: center; gap: 10px; padding-bottom: 0; }
.search-box { flex: 1; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 12px; background: var(--card); border: 2px solid var(--teal); border-radius: 10px; }
.search-input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); }
.filters { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; margin: 0 -18px; padding-inline: 18px; scrollbar-width: none; }
.filter { height: 32px; padding: 0 12px; white-space: nowrap; font-size: 14px; font-weight: 600; background: var(--card); border: 1px solid var(--rule); border-radius: 8px; }
.filter.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.result { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; text-align: left; border-bottom: 1px solid var(--rule-soft); }
.result .swatch { width: 14px; height: 14px; }
.result-name { font-size: 25px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result-d { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.pad { padding-top: 20px; }

/* action sheet */
.actions-title { text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); padding: 4px 0 10px; }
.actions-note { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 500; }
.onx-steps { margin: 8px 0 0; padding-left: 26px; text-align: left; font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.onx-demo { display: block; margin: 8px auto 0; height: min(46vh, 400px); width: auto; border-radius: 12px; }
.action-list { display: flex; flex-direction: column; }
.action { min-height: 52px; font-size: 17px; color: var(--teal); border-top: 1px solid var(--rule-soft); }
.action.danger { color: var(--record); }
/* The Share sheet's choices: an icon on a teal square, the words in ink, a group's hunters at the row's end. */
.action-row { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 4px; text-align: left; color: var(--ink); font-weight: 600; }
.action-badge { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--teal); color: #fff; }
.action-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.action-right { flex: none; font-size: 14px; color: var(--ink-soft); }
.action-sec { margin-top: 14px; padding: 0 0 5px; border-bottom: 2px solid var(--ink); font-size: 15px; font-weight: 700; }
.action-sec + .action { border-top: 0; }
.action.cancel { font-weight: 700; color: var(--ink); margin-top: 8px; border: 1px solid var(--rule); border-radius: 10px; background: var(--card); }

/* ---------------------------------------------------------------- measure */
.measure-panel { position: fixed; z-index: 4; left: 12px; right: 12px; bottom: calc(var(--safe-b) + 12px); max-width: 480px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--rule); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 14px 14px; }
.measure-read { display: flex; align-items: baseline; gap: 8px 12px; flex-wrap: wrap; }
body.measuring .panel, body.measuring .float-row, body.measuring .locate-btn { display: none; }

/* ---------------------------------------------------------------- group view (a group's plan, app.js renderPlan) */
/* The map as always, a dark bar along the bottom saying whose plan is on it: on a phone right on the panel's top
   edge, on a computer along the map's foot. The locate button and the chips go up over it. */
.plan-panel { position: fixed; z-index: 3; left: 0; right: 0; bottom: var(--panel-h, 150px); display: flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 8px 12px 8px 14px; background: var(--ink); color: #fff; border-radius: 14px 14px 0 0; box-shadow: var(--shadow); }
.gv-badge { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); }
.gv-read { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.gv-read b { font-size: 16px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.gv-read small { font-size: 15px; font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gv-btn { flex: none; min-height: 44px; padding: 0 18px; border-radius: 10px; background: #fff; color: var(--ink); font-size: 16px; font-weight: 700; }
body.planning .locate-btn, body.planning .float-row { bottom: calc(var(--panel-h, 150px) + 70px); }
body.planning .news-pill { display: none; }
@media (max-width: 899px) { body:not([data-tab=""]) .plan-panel { display: none; } }   /* a phone's Find or Mine over the map */
@media (min-width: 900px) {   /* along the map's foot, right of the side panel */
  .plan-panel { left: 432px; right: 84px; bottom: 16px; max-width: 640px; border-radius: 14px; }
  body.panel-hidden .plan-panel { left: 16px; }
  body.planning .locate-btn { bottom: 16px; }
  body.planning .float-row { bottom: 88px; }
}
/* Draw: its own small card under the rail's, shown in group view only; on, filled dark like a tool that's on. */
.rail-draw { width: 58px; display: flex; flex-direction: column; margin-top: 10px; background: var(--card); border: 1px solid var(--rule);
  border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.rail-draw button:not([hidden]) ~ button { border-top: 1px solid var(--rule-soft); }
.rail-draw button:disabled { opacity: 0.4; }

/* ---------------------------------------------------------------- tracking */
/* A track is walked with a phone: no Track on a computer (a mouse, no touch). */
@media (hover: hover) and (pointer: fine) { #track-btn { display: none; } }
body.tracking .rail, body.tracking .north-btn, body.tracking .locate-btn, body.tracking .panel, body.tracking .float-row, body.tracking .maplibregl-ctrl-top-left { display: none; }
#tracking { position: fixed; inset: 0; z-index: 5; pointer-events: none; display: flex; flex-direction: column; }
#tracking > * { pointer-events: auto; }   /* not .tracking: body.tracking > * would catch the map's drags */
.track-strip { display: flex; gap: 8px; padding: calc(var(--safe-t) + 8px) 16px 12px; background: var(--ink); }
.readout.dark .readout-value { color: var(--paper); }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff5c5c; }
.track-cards { display: flex; gap: 8px; padding: 12px 12px 0; align-items: flex-start; pointer-events: none; }
.float-card { pointer-events: auto; background: var(--card); border: 1px solid var(--rule); border-radius: 10px; box-shadow: var(--shadow); padding: 8px 12px; }
.float-card.truck { flex: 1; display: flex; align-items: center; gap: 10px; }
.float-card.scent { min-width: 132px; }
.truck-arrow { display: inline-flex; transition: transform 300ms ease; }
.card-value { display: block; font-size: 25px; margin-top: 2px; }
.track-panel { position: relative; margin-top: auto; background: var(--card); border-radius: 16px 16px 0 0; box-shadow: 0 -3px 12px rgba(18, 51, 61, 0.2); padding: 14px 16px calc(var(--safe-b) + 10px); }
.recenter-btn { position: absolute; right: 12px; bottom: calc(100% + 10px); width: 50px; height: 50px; display: grid; place-items: center;
  color: var(--teal); background: var(--card); border: 1px solid var(--rule); border-radius: 12px; box-shadow: var(--shadow); }
.mark-btns { display: flex; gap: 6px; }
.mark-btn { flex: 1; min-width: 0; min-height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; font-size: 12px; font-weight: 600; }
.mark-btn span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.track-actions { display: flex; gap: 8px; margin-top: 12px; }
.pause { width: 112px; height: 50px; border: 1px solid var(--ink); border-radius: 10px; font-size: 16px; font-weight: 600; }
.stop { flex: 1; height: 50px; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 10px; font-size: 16px; font-weight: 700; }
.stop-sq { width: 12px; height: 12px; border-radius: 2px; background: #ff5c5c; }

/* ---------------------------------------------------------------- toast */
.toast { position: fixed; z-index: 30; left: 50%; top: calc(var(--strip-h) + 12px); transform: translate(-50%, -8px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: 10px; transition: opacity 160ms, transform 160ms; max-width: calc(100vw - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- wide screens
   The phone layout's pieces as a left column: dock, tab screens and sheets in
   a 400px panel, the strip across the top with the brand, the map to the right. */
@media (min-width: 900px) {
  :root { --strip-h: 0px; }
  .rail { top: 16px; right: 16px; }
  .north-btn { top: calc(16px + var(--rail-h, 236px) + 12px); right: 16px; }
  .brand { display: inline-flex; }
  .panel { left: 16px; right: auto; top: 16px; bottom: 16px; width: 400px; border-radius: 16px; border: 1px solid var(--rule); box-shadow: var(--shadow); padding-bottom: 0; overflow: hidden; }
  .panel-top { padding: 16px 16px 4px; }
  .tabs { order: 2; border-top: 0; border-bottom: 1px solid var(--rule-soft); padding: 0 8px; }
  .panel-body { order: 3; flex: 1; height: auto; border-top: 0; }
  .float-row { left: 432px; bottom: 16px; }
  /* Above the map credits, which keep the corner. */
  .locate-btn { right: 16px; bottom: 44px; }
  .sheet { left: 16px; right: auto; width: 400px; top: 16px; bottom: 16px; height: auto; border-radius: 16px; transform: none !important; border: 1px solid var(--rule); z-index: 10; }
  .sheet .grabber { visibility: hidden; height: 0; margin: 0; }
  .sheet .sheet-body { overflow-y: auto !important; touch-action: auto !important; }
  .scrim { background: transparent; }
  .sheet[data-kind="actions"] { top: auto; bottom: 16px; }
  .maplibregl-ctrl-top-left { top: 16px; left: 416px; }
  .toast { top: 24px; }
  #tracking .track-strip { padding-left: 20px; }
  .track-panel { width: 440px; margin: auto 16px 16px; border-radius: 16px; }
  .measure-panel { left: 432px; right: auto; width: 400px; bottom: 16px; margin: 0; }
}
@media (max-width: 899px) {
  body:not([data-tab=""]) .float-row { display: none; }
  body.wind-tool .panel, body.years-tool .panel { display: none; }
}
/* The panel folds away into the app's mark at the top left (wide screens; a phone's panel is the drawer). */
.panel-brand { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.panel-hide, .panel-show { display: none; }
@media (min-width: 900px) {
  .panel-hide { display: grid; place-items: center; width: 34px; height: 34px; margin: -4px -6px 0 0; border-radius: 8px; color: var(--muted); }
  .panel-hide:hover { background: rgba(18, 51, 61, 0.07); color: var(--ink); }
  body.panel-hidden .panel { display: none; }
  body.panel-hidden .panel-show { display: grid; place-items: center; position: fixed; z-index: 3; top: 16px; left: 16px; width: 64px; height: 64px;
    background: var(--card); border: 1px solid var(--rule); border-radius: 16px; box-shadow: var(--shadow); }
  body.panel-hidden .panel-show:hover { background: var(--paper); }
  body.panel-hidden .float-row, body.panel-hidden .measure-panel { left: 16px; }
  body.panel-hidden .maplibregl-ctrl-top-left { left: 88px; }
}
.sync-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule-soft); }
.sync-row small { font-size: 13px; color: var(--muted); }
.sync-row .email { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
  background: var(--teal); color: #fff; font-size: 16px; font-weight: 700; }
.avatar.out { background: var(--paper); color: var(--muted); border: 1px solid var(--rule); }
/* MINE (views.js mineView): Spots / Tracks / Offline as a segmented control over the list, the account in a card, GPX
   at the list's foot. */
.mine-seg { display: flex; gap: 2px; padding: 3px; background: var(--rule-soft); border-radius: 11px; }
.mine-seg button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; border-radius: 8px;
  font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.mine-seg .n { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mine-seg button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(18, 51, 61, 0.16); }
.mine-seg button.on .n { color: var(--teal); }
@media (hover: hover) { .mine-seg button:not(.on):hover { color: var(--ink); } }
.account-card { margin-top: 14px; padding: 0 14px; background: var(--card); border: 1px solid var(--rule-soft); border-radius: 12px; }
.account-card .sync-row:last-child { border-bottom: 0; }
.account-card .sync-row + .sync-row { padding-left: 48px; }
.hunt-spots { margin-top: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--rule-soft); border-radius: 14px; box-shadow: 0 1px 3px rgba(18, 51, 61, 0.08); }
.hunt-spots-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; border-bottom: 1px solid var(--rule); }
.hunt-spots-head b { flex: 1; font-size: 17px; }
.hunt-spots-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--teal-pale); color: var(--teal-deep); }
.hunt-spots-n { padding: 4px 11px; border-radius: 999px; background: var(--rule-soft); color: var(--muted); font-size: 15px; font-weight: 600; white-space: nowrap; }
.hunt-spots-n.on { background: var(--teal-pale); color: var(--teal-deep); }
.hunt-spots .list-row { position: relative; padding: 0 14px; background: var(--card); }
.hunt-spots .swipe:last-child .list-row { border-bottom: 0; }
.hunt-spot.good::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 3px 3px 0; background: var(--teal); }
.hunt-spot.now { background: color-mix(in srgb, var(--teal-pale) 45%, var(--card)); }
.hunt-spot.now .row-text small { color: var(--teal-deep); font-weight: 600; }
.hunt-spot .wind-cell { margin: 0; gap: 4px; }
.hunt-spot .wind-cell.good { padding: 6px 11px; border-radius: 999px; background: var(--teal); color: #fff; }
.hunt-spot .wind-cell:not(.good) { color: var(--muted); }
.hunt-spot .wind-cell:not(.good) .wind-mph { font-weight: 600; }
.hunt-spot .wind-none { color: var(--muted); }
/* Mine › Spots' Rain alerts card (views.js rainList): the places with a rain push on, each with its last rain. */
.rain-list .hunt-spots-icon { background: color-mix(in srgb, #2f6fb5 16%, var(--card)); color: #1f4f86; }
.rain-list .list-row:last-child { border-bottom: 0; }
.rain-land { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 7px; background: var(--ink); color: #fff; }
.rain-amt { font-size: 16px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.import-block { margin-top: 6px; }
.import-block small { display: block; margin-top: 8px; text-align: center; font-size: 15px; font-weight: 500; color: var(--ink); }
.gpx-foot { display: flex; align-items: center; gap: 24px; padding: 18px 0 6px; }
.gpx-foot .outline-btn { display: inline-flex; align-items: center; gap: 6px; }
.gpx-foot .link-btn { padding: 8px 4px; font-size: 14px; }
.text-input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 10px; background: var(--card); color: var(--ink); font: inherit; font-size: 17px; }
.text-input:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.code-input { letter-spacing: 0.3em; font-size: 22px; text-align: center; }
.google-slot { display: flex; justify-content: center; min-height: 44px; margin: 6px 0 0; }
.inapp-open { display: block; text-decoration: none; margin: 10px auto 0; padding: 8px 4px; font-size: 14px; text-align: center; }
.fb-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: min(400px, 100%); height: 44px; margin: 10px auto 0; border-radius: 22px;
  background: #1877f2; color: #fff; font-size: 15px; font-weight: 600; }
.fb-btn span { display: grid; }
/* Facebook's or Instagram's browser, signed out (views.js inAppCard): a ticket under the top strip. The stub is ink
   and glow (the Pro sheet's hero) with a grommet, for the free account; a perforated seam and two notches cut from the
   card's edges (the mask) tear it from the body: what the account keeps and the way in. The shadow rides the outer box,
   since a mask clips its own. */
.inapp-card { --seam: 92px; position: fixed; z-index: 29; left: 50%; top: calc(var(--strip-h) + 10px); width: min(380px, calc(100vw - 24px));
  transform: translateX(-50%); filter: drop-shadow(0 10px 22px rgba(18, 51, 61, 0.28)) drop-shadow(0 1px 2px rgba(18, 51, 61, 0.16));
  animation: inapp-in 0.42s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.inapp-ticket { display: grid; grid-template-columns: var(--seam) 1fr; border-radius: 14px; overflow: hidden; background: var(--card);
  -webkit-mask: radial-gradient(circle 8px at var(--seam) 0, #0000 97%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 8px at var(--seam) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 8px at var(--seam) 0, #0000 97%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 8px at var(--seam) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat; }
.inapp-stub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px 6px 14px;
  background: radial-gradient(120% 80% at 50% 0%, #1d4a55 0%, var(--ink) 70%); color: #fff; text-align: center; }
.inapp-grommet { position: absolute; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: #0a2128;
  box-shadow: 0 0 0 2px rgba(127, 227, 198, 0.35), inset 0 1px 2px rgba(0, 0, 0, 0.6); }
.inapp-free { margin-top: 6px; font-size: 50px; line-height: 0.82; text-transform: uppercase; color: var(--teal-glow); }
.inapp-acct { margin-top: 5px; font-size: 22px; line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; }
.inapp-body { position: relative; min-width: 0; padding: 14px 12px 12px 16px; background-image: linear-gradient(var(--rule) 50%, transparent 0);
  background-size: 2px 8px; background-repeat: repeat-y; background-position: 0 4px; }
.inapp-x { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; }
.inapp-gets { list-style: none; margin: 0 26px 12px 0; padding: 0; display: grid; gap: 8px; }
.inapp-gets li { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; line-height: 1.2; color: var(--ink); }
.inapp-gets .icon { display: grid; color: var(--teal); flex: none; }
.inapp-card .fb-btn { width: 100%; height: 42px; margin: 0; font-size: 14px; }
.inapp-go { display: flex; align-items: center; justify-content: center; height: 42px; border-radius: 21px; background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 700; text-decoration: none; }
.inapp-steps { display: flex; align-items: center; gap: 6px; height: 42px; margin: 0; padding: 0 12px; border-radius: 10px; background: var(--paper);
  font-size: 14px; font-weight: 600; color: var(--ink); }
.inapp-steps b { letter-spacing: 0.1em; }
.inapp-steps .icon { display: grid; color: var(--muted); }
@keyframes inapp-in { from { opacity: 0; transform: translate(-50%, -14px) rotate(-1.5deg); } }
@media (prefers-reduced-motion: reduce) { .inapp-card { animation: none; } }
.inapp-hint { margin: 10px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
/* The iPhone app card (views.js iosAppCard): a plain card at the top of the map. */
.iosapp-card { position: fixed; z-index: 29; left: 50%; top: calc(var(--strip-h) + 10px); width: min(360px, calc(100vw - 24px));
  transform: translateX(-50%); padding: 14px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow);
  animation: iosapp-in 0.3s ease-out both; }
@keyframes iosapp-in { from { opacity: 0; transform: translate(-50%, -10px); } }
@media (prefers-reduced-motion: reduce) { .iosapp-card { animation: none; } }
.iosapp-x { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; }
.iosapp-head { display: flex; align-items: center; gap: 12px; margin: 0 30px 12px 0; }
.iosapp-icon { flex: none; width: 52px; height: 52px; border-radius: 12px; }
.iosapp-title { margin: 0; font-size: 16px; font-weight: 800; line-height: 1.25; color: var(--ink); }
.iosapp-sub { margin: 2px 0 0; font-size: 15px; line-height: 1.3; color: var(--ink); }
.iosapp-go { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 22px; background: var(--ink); color: #fff;
  font-size: 15px; font-weight: 700; text-decoration: none; }
.iosapp-scan { display: flex; align-items: center; gap: 12px; }
.iosapp-qr { flex: none; display: block; width: 92px; height: 92px; padding: 5px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--rule); }
.iosapp-qr svg { display: block; width: 100%; height: 100%; }
.iosapp-scan p { margin: 0; font-size: 15px; line-height: 1.35; color: var(--ink); }
.iosapp-scan a { color: var(--teal); font-weight: 700; }
.or-rule { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.or-rule::before, .or-rule::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.form-error { color: var(--record); font-size: 14px; min-height: 18px; margin: 8px 0 0; }

/* The map's cursor: an arrow, not MapLibre's open hand everywhere (everything on the map is tappable, so the hand
   said nothing); the closed hand only while dragging. Measuring sets its crosshair inline. */
#map .maplibregl-canvas-container.maplibregl-interactive { cursor: default; }
#map .maplibregl-canvas-container.maplibregl-interactive:active { cursor: grabbing; }
/* The rail's Layers button while a mode is on: in the mode's color. */
#layers-btn.mode-on { color: var(--mode); }
#layers-btn.mode-on .rail-count { background: var(--mode); }
/* While a mode is on: the Mode button, the mark's size, at the top left (under the mark when the panel is folded away,
   beside the panel when it's out), in the mode's color. */
.mode-btn { position: fixed; z-index: 3; top: calc(var(--strip-h) + 10px); left: 12px; width: 64px; height: 64px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px; background: var(--mode); color: #fff; border-radius: 16px; box-shadow: var(--shadow);
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; }
.mode-btn[hidden] { display: none; }
.mode-btn:hover { filter: brightness(1.08); }
body.mode-on .maplibregl-ctrl-top-left { top: calc(var(--strip-h) + 84px); }
body.measuring .mode-btn, body.tracking .mode-btn { display: none; }
@media (min-width: 900px) {
  .mode-btn { top: 16px; left: 432px; }
  body.panel-hidden .mode-btn { top: 92px; left: 16px; }
  body.mode-on .maplibregl-ctrl-top-left { top: 16px; left: 508px; }
  body.mode-on.panel-hidden .maplibregl-ctrl-top-left { top: 16px; left: 88px; }
}
.mode-off { display: block; margin: 24px auto 8px; border-color: var(--rule); color: var(--muted); }
/* The Mode button in small: the mode's animal on its color. */
.mode-tile { width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center; color: #fff; }
.switch-row .held { color: var(--muted); font-size: 13px; }
.switch-row input:disabled { opacity: 0.55; }
.mode-layers { display: block; padding: 2px 0 8px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.switch-row:has(.mode-layers) { padding-top: 8px; }
.modes-top { margin: 12px 0 4px; font-size: 15px; line-height: 1.45; }
/* While the map loads what a switch turned on: a thin bar sliding along the top edge. */
body::before { content: ""; position: fixed; z-index: 40; top: 0; left: 0; right: 0; height: 3px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--teal) 40%, var(--teal) 60%, transparent) 0 0 / 40% 100% no-repeat; transition: opacity 200ms; }
body.map-busy::before { opacity: 1; animation: map-busy 1.1s linear infinite; }
@keyframes map-busy { from { background-position: -40% 0; } to { background-position: 140% 0; } }
@media (prefers-reduced-motion: reduce) { body.map-busy::before { animation: none; background: var(--teal); opacity: 0.6; } }

/* Hunt Pro (hunt/pro.js): a lock where a Pro feature would be, and the Pro sheet. */
.lock-btn { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 4px; flex: none; color: var(--muted);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; }
.lock-btn:hover, .lock-btn:focus-visible { color: var(--teal); }
.day.locked .day-name { display: inline-flex; align-items: center; gap: 3px; }
.day.locked .day-value { color: var(--muted); }
.week-row.locked { width: 100%; color: var(--muted); text-align: left; }
.locked-row { align-items: center; justify-content: space-between; }
/* The Pro sheet: the price on a dark topo panel, the button, Pro's legend by mode (each feature with its own map
   symbol), and the buddy price with the account's link to copy. */
.pro-sheet { padding-bottom: 6px; }
.pro-moved { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; padding: 10px 12px; border-radius: 10px;
  background: rgba(245, 158, 11, 0.12); font-size: 14px; font-weight: 600; color: var(--ink); }
.pro-moved .eyebrow { color: #9a5b07; white-space: nowrap; }
.pro-ref { background: rgba(10, 125, 99, 0.1); }
.pro-ref .eyebrow { color: var(--teal-deep); }
.pro-hero { position: relative; overflow: hidden; margin-top: 14px; padding: 18px 18px 16px; border-radius: 16px;
  color: #fff; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 220' fill='none' stroke='%237fe3c6' stroke-opacity='.2'%3E%3Cdefs%3E%3Cpath id='b' vector-effect='non-scaling-stroke' d='M0-60c45 0 82 22 74 57S22 62-22 58-84 32-76 0-42-60 0-60z'/%3E%3C/defs%3E%3Cg transform='translate(318 92)'%3E%3Cuse href='%23b' transform='scale(.35)'/%3E%3Cuse href='%23b' transform='scale(.6)'/%3E%3Cuse href='%23b' transform='scale(.85)'/%3E%3Cuse href='%23b' transform='scale(1.12)'/%3E%3Cuse href='%23b' transform='scale(1.42)'/%3E%3Cuse href='%23b' transform='scale(1.75)'/%3E%3Cuse href='%23b' transform='scale(2.12)'/%3E%3Cuse href='%23b' transform='scale(2.55)'/%3E%3C/g%3E%3Cg transform='translate(40 210) rotate(-25)'%3E%3Cuse href='%23b' transform='scale(.45)'/%3E%3Cuse href='%23b' transform='scale(.8)'/%3E%3Cuse href='%23b' transform='scale(1.15)'/%3E%3C/g%3E%3C/svg%3E") right top / 120% auto no-repeat,
    radial-gradient(120% 90% at 85% 10%, #1d4b57 0%, var(--ink) 55%, #0b222a 100%); }
.pro-hero-status { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-glow); }
.pro-hero-price { display: flex; align-items: flex-end; gap: 14px; margin-top: 6px; }
.pro-amount { font-size: 84px; color: #fff; line-height: 0.82; }
.pro-per { display: flex; flex-direction: column; gap: 3px; padding-bottom: 4px; font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.pro-per b { font-size: 12px; letter-spacing: 0.11em; text-transform: uppercase; color: var(--teal-glow); }
.pro-per s { font-size: 16px; color: rgba(255, 255, 255, 0.55); }
.pro-hero-modes { display: flex; gap: 16px; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.86); }
.pro-hero-modes span { display: inline-flex; align-items: center; gap: 6px; }
.pro-hero-modes i { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18); }
@media (prefers-reduced-motion: no-preference) {
  .pro-hero { animation: pro-rise 420ms cubic-bezier(.2, .8, .2, 1) both; }
  .pro-hero-price { animation: pro-rise 520ms 80ms cubic-bezier(.2, .8, .2, 1) both; }
}
@keyframes pro-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pro-group { margin-top: 24px; }
.pro-group-head { display: flex; align-items: center; gap: 8px; padding-bottom: 7px; border-bottom: 1.5px solid var(--ink); }
.pro-group-head .eyebrow { color: var(--ink); }
.pro-mode { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.pro-row { display: grid; grid-template-columns: 30px 1fr; align-items: center; column-gap: 10px; padding: 10px 0;
  border-bottom: 1px solid var(--rule-soft); }
.pro-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.pro-detail { grid-column: 2; font-size: 13px; color: var(--muted); }
.pro-ex { grid-column: 2; justify-self: start; margin-top: 2px; padding: 6px 0; font-size: 15px; font-weight: 700; color: var(--teal); }
.pro-ex-view { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px;
  background: rgba(10, 24, 28, 0.82); }
.pro-ex-frame { margin: 0; display: flex; flex-direction: column; max-width: 100%; max-height: 100%; border-radius: 16px;
  overflow: hidden; background: var(--card); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4); }
.pro-ex-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 6px 6px 16px;
  font-size: 17px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--rule-soft); }
.pro-ex-img { display: block; width: auto; height: auto; max-width: min(420px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px - 52px); object-fit: contain; background: var(--paper); }
.pro-buddy { margin-top: 26px; padding: 14px 16px 16px; border: 1.5px dashed var(--teal); border-radius: 14px; }
.pro-buddy-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.pro-buddy-amount { display: block; margin-top: 4px; font-size: 30px; color: var(--teal-deep); }
.pro-buddy-top small { padding-bottom: 4px; font-size: 13px; color: var(--muted); text-align: right; }
.pro-steps { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.pro-steps li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.pro-steps b { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%;
  background: var(--teal); color: #fff; font-size: 12px; }
.pro-ladder-head { margin-top: 16px; }
.pro-ladder-head .eyebrow { color: var(--muted); }
.pro-ladder { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 4px; margin-top: 6px; }
.pro-ladder div { display: flex; flex-direction: column; gap: 3px; padding: 8px 6px; border-radius: 8px; background: var(--paper);
  text-align: center; }
.pro-ladder small { font-size: 11px; color: var(--muted); white-space: nowrap; }
.pro-ladder b { font-size: 15px; color: var(--ink); }
.pro-ladder div:last-child b { color: var(--teal-deep); }
.pro-ladder div.on { background: var(--teal); }
.pro-ladder div.on small, .pro-ladder div.on b { color: #fff; }
.pro-link { display: flex; align-items: center; gap: 6px; margin-top: 12px; padding: 4px 4px 4px 12px; border-radius: 10px;
  background: var(--paper); border: 1px solid var(--rule); }
.pro-link-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font: 600 13px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink); }
.pro-copy { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 12px; border-radius: 8px; flex: none;
  background: var(--teal); color: #fff; font-size: 13px; font-weight: 700; }
.pro-copy + .pro-copy { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 1.5px var(--teal); }
.pro-link-signin { margin-top: 10px; }
.pro-terms { margin: 16px 0 4px; text-align: center; font-size: 12px; color: var(--muted); }
/* Feature symbols, each as the map or the app draws it. */
.ps { position: relative; display: inline-flex; width: 22px; height: 16px; flex: none; }
.ps-fill { border-radius: 4px; }
.ps-site { position: absolute; right: -3px; bottom: -3px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--card); }
.ps-trail { border-radius: 4px; box-shadow: inset 0 0 0 2px currentColor; background: color-mix(in srgb, currentColor 16%, transparent); }
.ps-trail::after { content: ""; position: absolute; left: 3px; right: 3px; top: 7px; height: 2px;
  background: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 6px); }
.ps-dot { align-items: center; justify-content: center; }
.ps-dot b { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #fff; box-shadow: 0 0 0 1px var(--rule); }
.ps-days { align-items: stretch; gap: 2px; }
.ps-days b { flex: 1; border-radius: 1.5px; background: var(--rule); }
.ps-days b.on { background: var(--ink); }
.ps-strips { flex-direction: column; justify-content: space-between; padding: 1px 0; }
.ps-strips b { height: 3px; border-radius: 2px; background: var(--teal); }
.ps-chips { gap: 3px; }
.ps-chips b { flex: 1; border-radius: 3px; }
.ps-bars { align-items: flex-end; gap: 1.5px; }
.ps-bars b { flex: 1; border-radius: 1px 1px 0 0; }
.ps-icon { align-items: center; justify-content: center; color: var(--teal); }
.mode-locked { display: inline-flex; align-items: center; gap: 2px; }
.mode-locked .icon { opacity: 0.7; }
.pro-row-text { text-align: left; }

/* Goose spot card (hunt/goosespots.js): the latest pass, then the season's passes as bars, iced ones light blue. */
.goose-shots { display: flex; gap: 8px; margin: 10px -16px 2px; padding: 0 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; }
.goose-shots::-webkit-scrollbar { display: none; }
.goose-shot { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.goose-shots.many .goose-shot { flex-basis: 86%; }
.goose-shot figcaption { font-size: 12px; color: #5b6f72; margin-top: 4px; }
.goose-shot figcaption b { color: #12333d; font-weight: 600; }
.goose-pass { display: block; width: 100%; border-radius: 10px; background: #dfe5e3; aspect-ratio: 1; object-fit: cover; }
.goose-passes { display: flex; gap: 6px; align-items: flex-end; height: 64px; margin: 10px 0 6px; }
.goose-pass-bar { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; gap: 3px; }
.goose-pass-bar .bar { width: 100%; max-width: 22px; border-radius: 3px 3px 0 0; background: #5f3dc4; min-height: 3px; }
.goose-pass-bar.iced .bar { background: #74c0fc; }
.goose-pass-bar .goose-day { font-size: 10px; color: #5b6f72; white-space: nowrap; }
/* Its radar mornings (geese/radar.json): one cell per sunrise, violet when birds left the roost. */
.goose-radar { display: flex; flex-direction: column; gap: 5px; }
.goose-radar-cells { display: flex; gap: 3px; }
.goose-radar-cell { flex: 1; min-width: 0; height: 18px; padding: 0; border: 1px solid transparent; border-radius: 3px; background: transparent; }
.goose-radar-cell.left { background: #5f3dc4; }
.goose-radar-cell.quiet { background: #ced4da; }
.goose-radar-cell.rain { background: #8ca3b0; }
.goose-radar-cell.nodata { border-color: #ced4da; }
.goose-radar-foot { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.goose-radar-tip { color: var(--ink); white-space: nowrap; }
.goose-radar-key { display: flex; gap: 8px; white-space: nowrap; }
.goose-radar-key span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 3px; }
.goose-radar-key .left::before { background: #5f3dc4; }
.goose-radar-key .quiet::before { background: #ced4da; }
.goose-radar-key .rain::before { background: #8ca3b0; }

/* Groups (hunt/views.js groupView): each member's dot as the map draws it (hunt/groups.js groupStyle); the rail's
   Group button in blaze orange while this hunter shares, its count the others on the map. Blaze orange is spent in
   one place in the sheet: the band that says this hunter is sharing. */
:root { --blaze: #f76707; --blaze-ink: #a33f00; --blaze-pale: #fff0e3; }
.share-band { display: flex; align-items: center; gap: 12px; margin: 12px 0 6px; padding: 12px 12px 12px 14px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--rule); }
.share-band .row-text b { font-size: 16px; }
.share-band.on { background: var(--blaze-pale); border-color: rgba(247, 103, 7, 0.4); }
.share-band.on .row-text small { color: var(--blaze-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.stop-btn { border-color: var(--blaze-ink); color: var(--blaze-ink); }
.live-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--blaze); animation: live 1.8s ease-out infinite; }
.live-dot.off { background: transparent; box-shadow: inset 0 0 0 2px var(--rule); animation: none; }
@keyframes live { from { box-shadow: 0 0 0 0 rgba(247, 103, 7, 0.5); } to { box-shadow: 0 0 0 9px rgba(247, 103, 7, 0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; box-shadow: 0 0 0 3px rgba(247, 103, 7, 0.25); } }
.member-row:disabled { opacity: 1; cursor: default; }
#group-btn .rail-count { background: var(--blaze); }
#group-btn.sharing { color: var(--blaze); }
.member-far { flex: none; font-size: 14px; font-weight: 600; color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.place-badge { width: 30px; height: 30px; border-radius: 7px; background: var(--teal); color: #fff; }
.group-spots-all { display: block; margin: 4px 0 0 auto; padding: 10px 0; }
/* The Groups sheet (views.js groupView): My location, then a card per group, its head a toggle (one group: always
   open). The head sticks while its card scrolls by. A hunter's disc is their initial: filled blaze on the map,
   filled grey on an old fix, a dashed ring when not sharing. */
.group-list { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.group-list .share-band { margin: 0; }
.share-band-text { text-align: left; }
.gcard { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; }
.gcard-head { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; width: 100%;
  padding: 12px 12px 12px 14px; text-align: left; background: var(--card); border-radius: 14px; }
.gcard.open .gcard-head { border-radius: 14px 14px 0 0; }
.gcard-head > :not(.gcard-chev) { grid-column: 1; }
.gcard-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gcard-name .display { font-size: 30px; line-height: 1; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gcard-tag { flex: none; padding: 2px 9px; border-radius: 999px; border: 1.5px solid var(--blaze); background: var(--blaze-pale); font-size: 13px; font-weight: 700; color: var(--blaze-ink); }
.gcard-chev { grid-column: 2; grid-row: 1 / span 3; align-self: center; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--paper); color: var(--ink); transition: transform 0.2s; }
.gcard.open .gcard-chev { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .gcard-chev { transition: none; } }
.gcard-line { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gcard-sum { font-size: 15px; font-weight: 600; min-width: 0; }
.gcard-news { display: flex; align-items: baseline; gap: 7px; min-width: 0; font-size: 15px; }
.gcard-news .icon { flex: none; position: relative; top: 2px; color: var(--ink-soft); }
.gcard-news > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-discs { display: flex; flex: none; }
.member-discs .member-disc { margin-right: -6px; box-shadow: 0 0 0 2px var(--card); }
.member-discs .member-disc:last-child { margin-right: 0; }
.member-disc { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 14px; font-weight: 800; }
.member-disc.live { background: var(--blaze); color: var(--ink); }
.member-disc.stale { background: #8a8f8c; color: #fff; }
.member-disc.off { background: var(--card); color: var(--ink-soft); border: 1.5px dashed #8a8f8c; }
.gcard-body { display: flex; flex-direction: column; padding: 12px 12px 0 14px; border-top: 1px solid var(--rule-soft); }
.gcard-acts { display: flex; gap: 8px; }
.gcard-act { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px 8px; border-radius: 12px;
  border: 1px solid var(--rule); background: var(--paper); font-size: 14px; font-weight: 600; }
.gcard-act .icon { color: var(--teal); }
.gcard-sec { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 5px; border-bottom: 2px solid var(--ink); font-size: 15px; font-weight: 700; }
.gcard-sec span + span { font-weight: 600; }
.gcard .list-row, .gcard .swipe > .list-row { background: var(--card); }
.gcard .swipe:last-of-type .list-row, .gcard .list-row:last-of-type { border-bottom: 0; }
.member-row .row-text b { display: flex; align-items: baseline; gap: 8px; }
.member-tag { font-size: 14px; font-weight: 600; color: var(--muted); }
.member-say { display: inline-flex; align-items: baseline; gap: 6px; align-self: flex-start; margin: 3px 0 2px; padding: 2px 9px; border-radius: 4px 12px 12px 12px;
  border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font-size: 15px; font-weight: 600; }
.member-say i { font-style: normal; font-weight: 400; font-size: 13px; color: var(--ink-soft); }
.member-row { align-items: flex-start; padding: 10px 0; }
.member-row .member-disc { margin-top: 1px; }
.member-row .member-far, .member-row .chev { align-self: center; }
.member-row .row-text { display: flex; flex-direction: column; }
.member-row .row-text small { color: var(--ink); }
/* Several groups: a row each in one box. A group's own page: Groups goes back to them. */
.group-rows .group-row { min-height: 64px; padding: 9px 8px 9px 14px; background: none; }
.group-rows .group-row .display { font-size: 24px; }
.group-rows .group-row small { font-size: 15px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.group-back { display: inline-flex; align-items: center; gap: 2px; margin-left: -6px; }
.gcard-onmap { display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-size: 15px; border-bottom: 1px solid var(--rule-soft); }
.gcard-foot { display: flex; align-items: center; gap: 18px; margin-top: 6px; padding: 4px 0 6px; border-top: 1px solid var(--rule-soft); }
.gcard-foot .text-btn { padding: 10px 0; font-size: 15px; }
.gcard-foot .quiet { color: var(--ink-soft); }
.gcard-foot .danger { margin-left: auto; color: var(--record); }
.group-foot { display: flex; gap: 10px; margin-top: 4px; }
.group-foot .outline-btn.block { flex: 1; }
.group-empty .outline-btn.block { margin-top: 10px; }
/* Share my location (views.js groupShareView) and a quick message (groupSayView). */
.share-pick, .say-pick { display: flex; flex-direction: column; gap: 10px; padding-bottom: 6px; }
.share-pick-label { margin: 4px 0 0; font-size: 15px; font-weight: 700; }
.hour-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hour-opt { display: grid; gap: 2px; padding: 10px 4px; border-radius: 12px; border: 1.5px solid var(--rule); background: var(--card); text-align: center; }
.hour-opt b { font-size: 17px; }
.hour-opt small { font-size: 13px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hour-opt[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.check-list { display: flex; flex-direction: column; }
.check-row { display: flex; align-items: center; gap: 12px; min-height: 50px; border-bottom: 1px solid var(--rule-soft); font-size: 16px; font-weight: 600; text-align: left; }
.check-box { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; border: 2px solid var(--ink-soft); }
.check-row[aria-checked="true"] .check-box { background: var(--teal); border-color: var(--teal); color: #fff; }
.share-pick-note { margin: 0; font-size: 14px; color: var(--ink-soft); }
.say-tabs { display: flex; gap: 4px; margin: -2px -4px 0; overflow-x: auto; border-bottom: 1px solid var(--rule); scrollbar-width: none; }
.say-tab { flex: none; padding: 8px 6px 9px; margin: 0 4px -1px; border-bottom: 3px solid transparent; font-size: 16px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.say-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.say-thread { display: flex; flex-direction: column; gap: 8px; padding: 6px 0 12px; border-bottom: 1px solid var(--rule); }
.say-line { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.say-line b { flex: none; min-width: 34px; font-size: 15px; }
.say-line small { flex: none; font-size: 13px; color: var(--ink-soft); }
.say-bubble { padding: 7px 12px; border-radius: 4px 16px 16px 16px; background: var(--card); border: 1px solid var(--rule); font-size: 16px; font-weight: 600; }
.say-line.me { flex-direction: row-reverse; }
.say-line.me .say-bubble { border-radius: 16px 4px 16px 16px; background: var(--teal); border-color: var(--teal); color: #fff; animation: say-in 0.25s ease-out; }
@keyframes say-in { from { transform: translateY(8px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .say-line.me .say-bubble { animation: none; } }
.say-none { margin: 0; padding: 6px 0; font-size: 15px; color: var(--ink-soft); }
.say-opts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding-top: 4px; }
.say-opt { padding: 9px 14px; border-radius: 16px 4px 16px 16px; border: 1.5px solid var(--teal); background: var(--paper); color: var(--teal-deep); font-size: 16px; font-weight: 600; }
.say-opt.sent { background: var(--teal); color: #fff; opacity: 1; }
@media (hover: hover) { .say-opt:not(:disabled):hover { background: var(--teal-pale); } }
.say-wait { margin: 2px 0 0; text-align: center; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.quiet-danger { display: inline-block; margin-top: 10px; padding: 6px 0; font-size: 14px; font-weight: 600; color: var(--record); }
.account-foot { display: flex; align-items: baseline; gap: 22px; }
.quiet-link { display: inline-block; padding: 6px 0; font-size: 14px; font-weight: 600; color: var(--teal); text-decoration: none; }
.outline-btn.block { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; border-radius: 10px; font-size: 16px; }
.group-empty { padding-top: 6px; }
.group-empty .spinner { margin: 32px auto; }
/* The forms: a label over each field, filled or not. */
.group-form { display: flex; flex-direction: column; gap: 14px; padding-top: 14px; }
.group-form .form-error { margin: 0; }
.group-form .form-error:empty { display: none; }
.group-form .primary { margin-top: 4px; }
.field { display: flex; flex-direction: column; gap: 6px; cursor: text; }
.field-label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.group-qr { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 18px 0 0; }
.group-qr-code { display: grid; place-items: center; width: min(240px, 64vw); aspect-ratio: 1; padding: 10px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--rule), var(--shadow); }
.group-qr-code svg { display: block; width: 100%; height: 100%; }
.group-qr-code.loading .spinner { margin: 0; }
.group-qr-link { text-align: center; font-size: 14px; color: var(--muted); margin: 10px 0 4px; word-break: break-all; user-select: all; -webkit-user-select: all; }
.invite-actions { display: flex; flex-direction: column; gap: 10px; }
.invite-actions .primary { margin-top: 10px; }

/* ---------------------------------------------------------------- first visit's tour (hunt/tour.js)
   A card beside what the step names: the step's moving example (hunt/tourdemos.js) across its top, then a pip per
   step, its title and line, Skip and Next. A ring on the control it names, a pulsing dot on the map for map steps.
   Above the panel and the dial, under sheets: a sheet the step opens covers it until it closes. */
.tour { position: fixed; z-index: 8; display: grid; grid-template-columns: 1fr; padding: 10px 10px 4px;
  background: var(--card); border: 1px solid var(--rule); border-radius: 16px; box-shadow: 0 10px 28px rgba(18, 51, 61, 0.26), 0 1px 3px rgba(18, 51, 61, 0.12);
  animation: tour-in 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); transition: left 0.38s cubic-bezier(0.2, 0.8, 0.2, 1), top 0.38s cubic-bezier(0.2, 0.8, 0.2, 1); }
/* The pointer: a square turned 45°, its two outer edges ruled, half out of the card's edge toward the target. */
.tour-caret { position: absolute; width: 16px; height: 16px; background: var(--card); border: 0 solid var(--rule); transform: rotate(45deg); transition: top 0.3s, left 0.3s; }
.tour[data-side="left"] .tour-caret { right: -9px; top: calc(var(--along) - 8px); border-width: 1px 1px 0 0; }
.tour[data-side="right"] .tour-caret { left: -9px; top: calc(var(--along) - 8px); border-width: 0 0 1px 1px; }
.tour[data-side="above"] .tour-caret { bottom: -9px; left: calc(var(--along) - 8px); border-width: 0 1px 1px 0; }
.tour[data-side="below"] .tour-caret { top: -9px; left: calc(var(--along) - 8px); border-width: 1px 0 0 1px; }
.tour-demo { width: 100%; aspect-ratio: 200 / 112; border-radius: 10px; overflow: hidden; background: #5b6740; box-shadow: inset 0 0 0 1px rgba(18, 51, 61, 0.18); }
.tour-demo svg { display: block; }
.tour-text { min-width: 0; padding: 10px 4px 0; }
.tour-head { display: flex; align-items: center; height: 10px; }
.tour-pips { display: flex; gap: 3px; }
.tour-pips i { width: 10px; height: 3px; border-radius: 2px; background: var(--rule); transition: width 0.25s, background 0.25s; }
.tour-pips i.done { background: var(--teal); }
.tour-pips i.on { width: 20px; background: var(--ink); }
.tour-title { margin: 6px 0 0; font-size: 28px; text-transform: uppercase; color: var(--ink); }
.tour-line { margin: 4px 0 0; font-size: 16px; line-height: 1.35; color: var(--ink); }
.tour-btns { display: flex; justify-content: space-between; align-items: center; margin: 10px 4px 0; padding-top: 6px; border-top: 1px solid var(--rule-soft); }
.tour-skip { height: 40px; padding: 0 6px; font-size: 15px; font-weight: 600; color: var(--muted); }
.tour-next { display: inline-flex; align-items: center; gap: 2px; height: 38px; padding: 0 10px 0 16px; border-radius: 19px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; }
@media (hover: hover) { .tour-skip:hover { color: var(--ink); } .tour-next:hover { background: var(--teal-deep); } }
.tour.turn :is(.tour-demo, .tour-text) { animation: tour-turn 0.26s ease-out; }
.tour-ring { position: fixed; z-index: 8; pointer-events: none; border: 3px solid var(--teal); border-radius: 14px; animation: tour-pulse 1.6s ease-out infinite; }
.tour-dot { position: fixed; z-index: 8; pointer-events: none; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: rgba(255, 253, 248, 0.92); border: 3px solid var(--teal); animation: tour-pulse 1.6s ease-out infinite; }
@keyframes tour-pulse { 0% { box-shadow: 0 0 0 0 rgba(10, 125, 99, 0.55); } 100% { box-shadow: 0 0 0 14px rgba(10, 125, 99, 0); } }
@keyframes tour-in { from { opacity: 0; transform: translateY(-10px) scale(0.98); } }
@keyframes tour-turn { from { opacity: 0; transform: translateX(6px); } }

/* The examples: one 6 s loop each, a fingertip doing the step. Pops overshoot a touch and settle; the scene dips
   out and back in where the loop starts over, so nothing snaps back in view. */
.tour-demo > svg { animation: td-seam 6s infinite; }
.tour-demo svg * { transform-box: fill-box; transform-origin: center; animation-duration: 6s; animation-iteration-count: infinite; animation-fill-mode: both; animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
@keyframes td-seam { 0% { opacity: 0; } 4%, 95% { opacity: 1; } 100% { opacity: 0; } }

/* Mark: press and hold (the ring fills), the dial blooms, drag up to Stand, let go; the stand lands where the press was. */
.td-mark .td-finger { animation-name: td-mark-finger; }
.td-mark .td-hold { animation-name: td-hold; transform-box: view-box; transform-origin: 0 0; }   /* its rotate() names its own center */
.td-mark .td-dial { animation-name: td-dial; }
.td-mark .td-bloom { animation-name: td-bloom; }
.td-mark .td-b { animation-name: td-badge; }
.td-mark .td-b1 { animation-name: td-badge-pick; }
.td-mark .td-gd { animation-name: td-guide; }
.td-mark .td-g2 { animation-name: td-guide2; }
.td-mark .td-g3 { animation-name: td-guide3; }
.td-mark .td-pin { animation-name: td-pin; }
.td-mark .td-name { animation-name: td-name; }
.td-mark .td-say1 { animation-name: td-say1; }
.td-mark .td-say2 { animation-name: td-say2; }
.td-mark .td-say3 { animation-name: td-say3; }
@keyframes td-mark-finger { 0%, 4% { opacity: 0; transform: translate(0, 0) scale(1.15); } 9% { opacity: 1; transform: translate(0, 0) scale(1.15); }
  12%, 34% { opacity: 1; transform: translate(0, 0) scale(0.9); } 50%, 56% { opacity: 1; transform: translate(0, -34px) scale(0.9); }
  60% { opacity: 1; transform: translate(0, -34px) scale(1.15); } 66%, 100% { opacity: 0; transform: translate(0, -34px) scale(1.15); } }
@keyframes td-hold { 0%, 12% { opacity: 1; stroke-dashoffset: 100; } 28% { opacity: 1; stroke-dashoffset: 0; } 31%, 100% { opacity: 0; stroke-dashoffset: 0; } }
@keyframes td-dial { 0%, 28% { opacity: 0; } 31%, 58% { opacity: 1; } 63%, 100% { opacity: 0; } }
@keyframes td-bloom { 0%, 28% { transform: scale(0.3); } 34%, 100% { transform: scale(1); } }
@keyframes td-badge { 0%, 29% { transform: scale(0.3); } 33% { transform: scale(1.14); } 36%, 100% { transform: scale(1); } }
@keyframes td-badge-pick { 0%, 29% { transform: scale(0.3); } 33% { transform: scale(1.14); } 36%, 48% { transform: scale(1); } 52% { transform: scale(1.4); } 55%, 100% { transform: scale(1.3); } }
/* The guide's dots come on one by one behind the finger as it slides up. */
@keyframes td-guide { 0%, 38% { opacity: 0; transform: scale(0.2); } 41%, 58% { opacity: 1; transform: scale(1); } 62%, 100% { opacity: 0; transform: scale(1); } }
@keyframes td-guide2 { 0%, 42% { opacity: 0; transform: scale(0.2); } 45%, 58% { opacity: 1; transform: scale(1); } 62%, 100% { opacity: 0; transform: scale(1); } }
@keyframes td-guide3 { 0%, 46% { opacity: 0; transform: scale(0.2); } 49%, 58% { opacity: 1; transform: scale(1); } 62%, 100% { opacity: 0; transform: scale(1); } }
@keyframes td-pin { 0%, 61% { opacity: 0; transform: translateY(-14px) scale(0.6); } 66% { opacity: 1; transform: translateY(0) scale(1.16); } 69% { transform: translateY(0) scale(0.95); } 72%, 100% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes td-name { 0%, 68% { opacity: 0; transform: translateY(4px); } 74%, 100% { opacity: 1; transform: translateY(0); } }
/* The dial's own words over the scene: Hold while the ring fills, Drag to a spot, then the kind under the finger. */
@keyframes td-say1 { 0%, 7% { opacity: 0; } 11%, 27% { opacity: 1; } 30%, 100% { opacity: 0; } }
@keyframes td-say2 { 0%, 29% { opacity: 0; } 32%, 48% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes td-say3 { 0%, 49% { opacity: 0; } 51%, 58% { opacity: 1; } 62%, 100% { opacity: 0; } }

/* Layers: tap it, the sheet slides in, and each switch turns its layer on over the fields at the left. */
.td-layers .td-finger { animation-name: td-layers-finger; }
.td-layers .td-btn { animation-name: td-btn; }
.td-layers .td-sheet { animation-name: td-sheet; }
.td-layers .td-track { fill: #c9c3b4; }
.td-layers .td-sw1 .td-track { animation-name: td-track1; }
.td-layers .td-sw2 .td-track { animation-name: td-track2; }
.td-layers .td-sw3 .td-track { animation-name: td-track3; }
.td-layers .td-sw1 .td-knob { animation-name: td-knob1; }
.td-layers .td-sw2 .td-knob { animation-name: td-knob2; }
.td-layers .td-sw3 .td-knob { animation-name: td-knob3; }
.td-layers .td-ov1 { animation-name: td-ov1; }
.td-layers .td-ov2 { animation-name: td-ov2; }
.td-layers .td-ov3 { animation-name: td-ov3; }
/* In from the bottom left, tap Layers, then down the switches (36% Crops, 50% Wetlands, 64% Slope), then away. */
@keyframes td-layers-finger { 0%, 4% { opacity: 0; transform: translate(-70px, 70px); } 8% { opacity: 1; transform: translate(-70px, 70px); }
  18% { transform: translate(0, 0) scale(1); } 21% { transform: translate(0, 0) scale(0.82); } 24% { transform: translate(0, 0) scale(1); }
  32% { transform: translate(4.5px, 20px) scale(1); } 35% { transform: translate(4.5px, 20px) scale(0.82); } 38% { transform: translate(4.5px, 20px) scale(1); }
  46% { transform: translate(4.5px, 44px) scale(1); } 49% { transform: translate(4.5px, 44px) scale(0.82); } 52% { transform: translate(4.5px, 44px) scale(1); }
  60% { transform: translate(4.5px, 68px) scale(1); } 63% { transform: translate(4.5px, 68px) scale(0.82); } 66% { opacity: 1; transform: translate(4.5px, 68px) scale(1); }
  74%, 100% { opacity: 0; transform: translate(4.5px, 68px); } }
@keyframes td-btn { 0%, 19% { transform: scale(1); } 21% { transform: scale(0.88); } 24%, 100% { transform: scale(1); } }
@keyframes td-sheet { 0%, 22% { transform: translateX(92px); } 28% { transform: translateX(-2px); } 31%, 100% { transform: translateX(0); } }
/* Each switch flips as the finger taps it, and its layer sweeps across the fields from the left (and fades, where
   clip-path on SVG isn't drawn). */
@keyframes td-track1 { 0%, 35% { fill: #c9c3b4; } 38%, 100% { fill: #0a7d63; } }
@keyframes td-track2 { 0%, 49% { fill: #c9c3b4; } 52%, 100% { fill: #0a7d63; } }
@keyframes td-track3 { 0%, 63% { fill: #c9c3b4; } 66%, 100% { fill: #0a7d63; } }
@keyframes td-knob1 { 0%, 35% { transform: translateX(0); } 39%, 100% { transform: translateX(8px); } }
@keyframes td-knob2 { 0%, 49% { transform: translateX(0); } 53%, 100% { transform: translateX(8px); } }
@keyframes td-knob3 { 0%, 63% { transform: translateX(0); } 67%, 100% { transform: translateX(8px); } }
@keyframes td-ov1 { 0%, 36% { opacity: 0; clip-path: inset(0 100% 0 0); } 38% { opacity: 1; } 46%, 100% { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes td-ov2 { 0%, 50% { opacity: 0; clip-path: inset(0 100% 0 0); } 52% { opacity: 1; } 60%, 100% { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes td-ov3 { 0%, 64% { opacity: 0; clip-path: inset(0 100% 0 0); } 66% { opacity: 1; } 74%, 100% { opacity: 1; clip-path: inset(0 0 0 0); } }

@media (prefers-reduced-motion: reduce) {
  .tour, .tour.turn :is(.tour-demo, .tour-text), .tour-ring, .tour-dot, .tour-demo > svg { animation: none; }
  /* Each example held on its result. */
  .tour-demo svg * { animation-delay: -5.2s !important; animation-play-state: paused !important; }
}
/* A spot's Type row (views.js mark card): its kind, dropping down the dial's full list to change it. */
/* The wind on a spot's card: the switch for the map's pill, then the week in the pill's own arrow. Set for a quick
   read at arm's length: one plain face at 15-17px in full ink, nothing greyed that isn't missing. */
.wind-row { align-items: center; cursor: pointer; border-bottom: 0; }
.wind-row .v { color: var(--ink-soft); font-size: 15px; text-align: right; }
/* A drawing's reminder (views.js drawReminder): a block under the dates with a bell and the switch; teal once on. */
.remind { margin: 14px 0 6px; padding: 10px 14px; border: 1px solid var(--rule); border-radius: 14px; background: var(--card); transition: background 150ms, border-color 150ms; }
.remind.on { border-color: var(--teal); background: color-mix(in srgb, var(--teal-pale) 55%, var(--card)); }
.remind-top { display: flex; align-items: center; gap: 12px; }
label.remind-top { cursor: pointer; }
.remind-bell { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--rule); background: #fff; color: var(--ink); transition: background 150ms, color 150ms; }
.remind.on .remind-bell { border-color: var(--teal); background: var(--teal); color: #fff; }
.remind-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.remind-text b { font-size: 16px; font-weight: 700; color: var(--ink); }
.remind-text small { font-size: 15px; color: var(--ink-soft); }
/* The agency's page under an area's lottery rows (views.js drawRows). */
.draw-link { display: block; padding: 10px 0; font-size: 15px; }
.wind-week { width: 100%; border-collapse: collapse; margin-bottom: 2px; font-variant-numeric: tabular-nums; }
.wind-week th, .wind-week td { padding: 0 0 0 6px; white-space: nowrap; }
.wind-week thead th { padding-bottom: 6px; border-bottom: 2px solid var(--ink); text-align: right; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.wind-week tbody th, .wind-week td { height: 48px; border-bottom: 1px solid var(--rule-soft); }
.wind-week tbody th { text-align: left; font-weight: 400; font-size: 15px; color: var(--ink); }
.wind-week td { text-align: right; }
.wind-week thead th:first-child { text-align: left; }
.wind-week tr > :first-child { padding-left: 6px; }
.wind-week tr > :last-child { padding-right: 6px; }
.wind-week tr.on > * { background: var(--paper); }
.wind-week tr.on > th { font-weight: 700; }
.wind-cell { display: inline-flex; align-items: center; gap: 3px; color: var(--ink); }
.wind-glyph { display: inline-flex; flex: none; }
.wind-glyph svg { display: block; }
.wind-dir { font-size: 15px; font-weight: 600; }
.wind-mph { font-size: 17px; font-weight: 700; min-width: 1.15em; text-align: right; }
.wind-none { color: var(--muted); font-size: 17px; }
.wind-cell.good { margin: -4px -6px -4px 0; padding: 4px 6px; border-radius: 8px; background: var(--teal-pale); color: var(--teal-deep); }
.good-wind { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule-soft); }
.good-wind-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.good-wind-l { font-size: 15px; color: var(--muted); }
.good-wind-picks { font-size: 17px; font-weight: 700; color: var(--ink); }
.good-wind-about { flex-basis: 100%; margin: 0; font-size: 15px; line-height: 1.4; color: var(--ink); }
/* The rose: eight round points on a ring around the spot's badge, a pale wedge behind each side picked. */
.rose { position: relative; flex: none; width: 184px; height: 184px; }
.rose::before { content: ""; position: absolute; inset: 22px; border-radius: 50%; background: var(--wedges), var(--paper);
  box-shadow: inset 0 0 0 2px var(--rule-soft); }
.rose::after { content: ""; position: absolute; inset: 58px; border-radius: 50%; border: 2px dashed var(--rule); }
.rose-pt { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px; border-radius: 50%;
  transform: rotate(var(--a)) translateY(-70px) rotate(calc(-1 * var(--a)));
  border: 2px solid var(--rule); background: var(--card); color: var(--ink); font-size: 15px; font-weight: 700;
  box-shadow: 0 1px 3px rgba(18, 51, 61, 0.12); transition: background 0.15s, border-color 0.15s, transform 0.15s; z-index: 1; }
.rose-pt:hover, .rose-pt:focus-visible { border-color: var(--teal); }
.rose-pt.on { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: 0 2px 6px rgba(10, 125, 99, 0.35); }
.rose-mid { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; pointer-events: none; }   /* over the ring, never over a tap */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kind-row { width: 100%; align-items: center; text-align: left; color: var(--ink); }
.kind-row .v { display: flex; align-items: center; gap: 10px; }
.kind-row .chev { transition: transform 150ms ease; }
.kind-row[aria-expanded="true"] .chev { transform: rotate(180deg); }
/* A spot's dates and reminder (hunt/spotdates.js), under its name: plain rows, then small buttons. */
.spot-dates { margin: 0 0 10px; }
.spot-dates .ledger-row .v { font-weight: 600; text-align: right; }
.spot-dates .wind-row { border-bottom: 1px solid var(--rule-soft); }
.remind-about { flex-basis: 100%; margin: 0; font-size: 15px; color: var(--ink); }
.spot-stamps, .remind-pick { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0 2px; }
.remind-pick { border-bottom: 1px solid var(--rule-soft); padding-bottom: 10px; }
.remind-pick .chip-btn.on { background: var(--ink); color: var(--card); border-color: var(--ink); }
.kind-pick { padding: 2px 0 10px; border-bottom: 1px solid var(--rule-soft); }
.kind-pick h3 { margin: 12px 6px 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.dial-cell.on { background: var(--teal-pale); }
.dial-cell.on b { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--teal); }
@media (prefers-reduced-motion: reduce) { .kind-row .chev { transition: none; } }

/* The deer unit's modelled years on its card (hunt/deerdensity.js): the harvest strip's shape in the read's color. */
.density-bars i { background: #b05a1c; opacity: 0.85; }
/* Search: the parcels under the places. */
.result-head { padding: 18px 0 6px; border-bottom: 2px solid var(--ink); }
.result { padding: 9px 0 8px; }
.result.on { background: rgba(10, 125, 99, 0.07); }
.result-more { padding: 0 0 14px 26px; border-bottom: 1px solid var(--rule-soft); }
.result-more .more-btn { margin-top: 12px; }
/* Search: parcels on their way. */
.result-wait { display: flex; align-items: center; gap: 12px; min-height: 56px; font-size: 15px; color: var(--ink-soft); border-bottom: 1px solid var(--rule-soft); }
.result-wait .row-spin { display: block; position: static; margin: 0; flex: none; }
/* A spot card's buttons, a section under its name and note. */
/* The spot card's tabs (Hunt, Notes, Setup), each with its headline under its name; the open one in full ink over a
   thick rule, so it reads without color. Its foot bar stays at the bottom of what shows of the sheet: a sticky box
   stops at the body's padding, so under a spot's card that is only as deep as the part of a half-open sheet under
   the screen (--below), and the bar brings the rest (the safe area) itself. */
.sheet-body:has(> .spot-bar) { padding-bottom: var(--below, 0px); }
.spot-tabs { display: flex; border-bottom: 2px solid var(--ink); }
.spot-tabs button { flex: 1; min-width: 0; min-height: 56px; padding: 6px 4px 4px; text-align: left; color: var(--ink-soft); border-bottom: 4px solid transparent; }
.spot-tabs button.on { color: var(--ink); border-bottom-color: var(--ink); }
.spot-tabs b { display: block; font-size: 16px; font-weight: 500; }
.spot-tabs button.on b { font-weight: 700; }
.spot-tabs span { display: block; margin-top: 2px; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spot-panel { padding-top: 4px; }
.spot-panel[hidden] { display: none; }
.spot-notes { padding-top: 12px; }
.spot-sight { border-bottom: 0; }
.spot-set-wind { margin: 12px 0; }
.spot-bar { position: sticky; bottom: 0; z-index: 2; display: flex; gap: 8px; margin: 14px -18px 0; padding: 10px 18px calc(var(--safe-b) + 14px);
  background: var(--card); border-top: 1px solid var(--rule); }
.spot-bar .primary { flex: 1.5 1 auto; width: auto; margin-top: 0; padding: 0 6px; white-space: nowrap; }
.spot-bar .outline-btn { flex: 1 1 auto; height: 50px; padding: 0 6px; border-radius: 10px; font-size: 15px; white-space: nowrap; }
/* Delete: a bin at the bar's end; tapped, the bar asks (Delete this spot? Cancel, Delete). */
.spot-bin { flex: none; display: grid; place-items: center; width: 46px; height: 50px; border: 1.5px solid var(--rule); border-radius: 10px; color: var(--record); }
.spot-sure { flex: 1; min-width: 0; align-self: center; font-size: 16px; font-weight: 600; color: var(--ink); }
.spot-bar.sure .outline-btn { flex: none; padding: 0 16px; }
.spot-kill { flex: none; height: 50px; padding: 0 20px; border-radius: 10px; background: var(--record); color: #fff; font-size: 16px; font-weight: 700; }
.card-btns { margin: 12px 0 4px; padding-bottom: 12px; border-bottom: 1px solid var(--rule-soft); }
.card-btns .primary { margin-top: 0; }
.card-btns .action-strip button { display: flex; align-items: center; justify-content: center; gap: 5px; }
.card-btns .action-strip button.on { background: var(--ink); color: #fff; }
.card-btns .action-strip button.on:first-child { border-radius: 9px 0 0 9px; }
/* The view from a stand (hunt/spotview.js), while it is on: its acres, and the pick of a tree stand or the ground. */
.view-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.view-said { min-width: 0; font-size: 15px; color: var(--ink); }
.view-said b { font-size: 17px; }
.view-said .view-spin { display: inline-block; position: static; margin: 0 8px 0 0; vertical-align: -3px; }
.view-bar .segmented { flex: none; margin: 0; }
.view-bar .seg { min-height: 38px; padding: 0 14px; }
.view-reach .segmented { flex: 1; max-width: 300px; }
.view-reach .seg { padding: 0 4px; font-variant-numeric: tabular-nums; }
/* A text button at the end of a ledger row (a group property's Remove). */
.row-btn { flex: none; margin: -8px 0; font-size: 15px; }
