@font-face { font-family: "Barlow Condensed"; src: url("./assets/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Inter; src: url("./assets/inter-400-700.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #101820;
  --panel: #141f28;
  --panel-raised: #1a2934;
  --line: #2b3d49;
  --line-strong: #3f525d;
  --text: #edf4f3;
  --muted: #a7bac2;
  --subtle: #8299a4;
  --accent: #f49372;
  --drop: #f49372;
  --backup: #f4ce81;
  --rotate: #8ed7df;
  --coast: #85ddd0;
  --inland: #e8ce86;
  --wall: #a5c6f0;
  --title-font: "Barlow Condensed", "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 12px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 14px/1.5 Inter, system-ui, sans-serif; }
body.expanded-map { overflow: hidden; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .46; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, .map-window:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
.shell { width: min(100% - 80px, 1336px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header { border-bottom: 1px solid var(--line); }
.masthead { height: 65px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; gap: 0; align-items: center; text-decoration: none; font-size: 22px; font-weight: 700; letter-spacing: -.045em; }
.brand > span:last-child { color: var(--accent); margin-inline-start: 4px; }
.brand-icon { width: 29px; height: 29px; margin-right: 9px; background: var(--accent); border-radius: 6px; display: grid; place-items: center; }
.brand-icon i { width: 17px; height: 17px; background: #162029; clip-path: polygon(10% 80%, 67% 12%, 93% 12%, 92% 88%, 62% 68%, 44% 90%, 44% 57%); }
.main-nav { display: flex; align-items: stretch; height: 100%; gap: 25px; }
.main-nav a { position: relative; display: grid; place-items: center; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 13px; }
.main-nav a:hover, .main-nav .current { color: var(--text); }
.main-nav .current::after { content: ""; position: absolute; height: 2px; inset: auto 0 -1px; background: var(--accent); }
.header-cta { margin-left: auto; }
.button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 12px; padding: 0 15px; border: 1px solid transparent; border-radius: 6px; text-decoration: none; font-size: 13px; font-weight: 700; white-space: nowrap; }
.button-accent { background: var(--accent); color: #19222a; }
.button-accent:hover:not(:disabled) { background: #ffa688; }
.button-accent span { font-size: 16px; line-height: 1; }

.intro { min-height: 152px; display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 24px 0 23px; }
.eyebrow { margin: 0 0 5px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .105em; }
.eyebrow-line { width: 17px; height: 2px; display: inline-block; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
.intro h1 { margin: 0; font: 700 clamp(47px, 6vw, 83px)/.88 var(--title-font); text-transform: uppercase; letter-spacing: -.012em; }
.deck { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.intro-meta { display: flex; gap: 10px; align-items: center; color: var(--muted); padding: 9px 0; white-space: nowrap; }
.intro-meta strong, .intro-meta small { display: block; }
.intro-meta strong { color: var(--text); font-size: 14px; }
.intro-meta small { font-size: 11px; }
.status-dot { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--coast); box-shadow: 0 0 0 4px #85ddd022; }

.workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(315px, 345px); border: 1px solid var(--line); border-radius: 8px; overflow: clip; background: var(--panel); }
.map-panel { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; background: #101b23; }
.map-heading { min-height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px 0 18px; gap: 10px; background: var(--panel); border-bottom: 1px solid var(--line); }
.map-name, .map-actions { display: flex; align-items: center; gap: 10px; }
.map-name h2 { font-size: 13px; margin: 0; }
.crosshair { color: var(--accent); font-size: 20px; line-height: 1; }
.map-actions { gap: 5px; }
.map-actions .mobile-find, .map-quick-detail { display: none; }
.map-layers { display: flex; flex-wrap: wrap; gap: 5px; padding: 7px 11px; border-bottom: 1px solid var(--line); background: var(--panel); }
.map-layers button { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 4px; padding: 0 7px; min-height: 33px; white-space: nowrap; background: #101b23; color: var(--muted); font-size: 11px; }
.map-layers button::before { content: ''; width: 6px; height: 6px; border: 1px solid var(--layer-color); border-radius: 50%; }
.map-layers button[aria-pressed="true"] { color: var(--text); border-color: var(--layer-color); }
.map-layers button[aria-pressed="true"]::before { background: var(--layer-color); }
.map-layers small { color: var(--subtle); font-size: 10px; }
.text-button { background: transparent; border: 1px solid transparent; border-radius: 4px; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 35px; padding: 0 8px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.text-button:hover:not(:disabled) { color: var(--text); background: var(--panel-raised); }
.pin-sample { width: 8px; height: 8px; border: 2px solid currentColor; border-radius: 50%; }
#pin-toggle[aria-pressed="true"] .pin-sample { background: var(--accent); border-color: var(--accent); }
.fullscreen-symbol { width: 12px; height: 12px; border: 1.5px dashed currentColor; border-radius: 1px; }
.map-window {
  isolation: isolate;
  overflow: hidden;
  height: clamp(470px, calc(100dvh - 337px), 685px);
  position: relative;
  touch-action: none;
  user-select: none;
  cursor: grab;
  background-color: #101d26;
  background-image: linear-gradient(#96c0d30a 1px, transparent 1px), linear-gradient(90deg, #96c0d30a 1px, transparent 1px);
  background-size: 34px 34px;
}
.map-window.is-dragging { cursor: grabbing; }
.map-window.is-picking { cursor: crosshair; }
.map-window:focus-visible { outline-offset: -3px; }
.map-image-layer { position: absolute; top: 0; left: 0; width: 1008px; height: 1080px; transform-origin: top left; will-change: transform; pointer-events: none; background-color: #0d3446; }
.map-image-layer img { display: block; width: 100%; height: 100%; }
.routes, .markers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.map-pin {
  --pin-color: var(--accent);
  position: absolute;
  inset: 0 auto auto 0;
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  display: grid;
  place-items: center;
  z-index: 1;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  pointer-events: auto;
}
.map-pin i {
  width: 13px; height: 13px; border-radius: 50%; display: grid; place-items: center;
  font: 700 11px/1 Inter, system-ui, sans-serif; font-style: normal;
  border: 2px solid #f6f8e8; background: #142830; color: transparent;
  box-shadow: 0 1px 5px #101820d9;
}
.map-pin:hover, .map-pin.selected, .map-pin.assigned, .map-pin:focus-visible { z-index: 2; }
.map-pin:hover i, .map-pin.selected i, .map-pin:focus-visible i { border-color: white; background: var(--pin-color); outline: 4px solid #1018208c; }
.map-pin.assigned i { width: 24px; height: 24px; background: var(--pin-color); color: #101820; border-color: #101820; }
.map-pin.assigned.selected i { border-color: white; }
.map-pin.resource:not(.selected):not(.assigned) i { width: 10px; height: 10px; border-color: #12242b; background: var(--layer-color); }
.map-pin.resource:not(.assigned):is(:hover,:focus-visible,.selected) i { background: var(--layer-color); }
.map-pin.resource:not(.assigned) { margin: -14px 0 0 -14px; width: 28px; height: 28px; }
.map-pin[data-role="drop"] { --pin-color: var(--drop); }
.map-pin[data-role="backup"] { --pin-color: var(--backup); }
.map-pin[data-role="rotate"] { --pin-color: var(--rotate); }
.map-guide { position: absolute; right: 19px; top: 17px; width: 30px; display: grid; justify-items: center; gap: 2px; color: #e4f2f1; font-size: 10px; font-weight: 700; text-shadow: 0 1px 4px #101820; pointer-events: none; }
.map-guide i { width: 15px; height: 18px; background: #e4f2f1; clip-path: polygon(50% 0%, 99% 100%, 50% 72%, 1% 100%); }
.map-credit { position: absolute; left: 10px; bottom: 10px; padding: 2px 6px; color: #d0e0e4; background: #0d1a22e6; font-size: 10px; border-radius: 3px; pointer-events: none; }
.map-zoom { display: flex; flex-direction: column; gap: 3px; position: absolute; right: 13px; bottom: 13px; z-index: 4; }
.icon-button { width: 39px; height: 39px; padding: 0; display: grid; place-items: center; border: 1px solid #49616d; border-radius: 5px; background: #172530; color: #f3f8f7; font-size: 23px; line-height: 1; }
.icon-button:hover:not(:disabled) { background: #2a414f; }
.center-symbol { font-size: 22px; line-height: 1; }
.map-label { position: absolute; left: 50%; top: 0; transform: translate(-50%, calc(-100% - 14px)); z-index: 3; border: 1px solid #56717d; border-radius: 4px; padding: 5px 8px; background: #13232d; color: #f9fbf9; text-align: center; white-space: nowrap; font-size: 12px; font-weight: 700; pointer-events: none; }
.map-label.below { transform: translate(-50%, 15px); }
.cluster-picker { z-index: 7; position: absolute; inset: auto auto 35px 12px; width: min(245px, calc(100% - 73px)); padding: 6px; border: 1px solid var(--line-strong); background: #14232e; border-radius: 5px; cursor: auto; }
.cluster-picker > div { min-height: 32px; padding-left: 7px; display: flex; align-items: center; justify-content: space-between; gap: 5px; font-size: 12px; }
.cluster-picker ul { margin: 0; padding: 0; max-height: 166px; overflow-y: auto; list-style: none; touch-action: pan-y; }
.cluster-picker button { background: none; border: 0; border-radius: 4px; min-height: 33px; }
.cluster-picker li button { width: 100%; text-align: left; padding: 5px 7px; font-size: 12px; }
.cluster-picker button:hover, .cluster-picker button:focus-visible { background: var(--panel-raised); }
.cluster-picker small { display: block; font-size: 10px; color: var(--muted); }
.map-footer { display: flex; align-items: center; justify-content: space-between; min-height: 37px; padding: 0 15px; font-size: 11px; color: var(--muted); border-top: 1px solid var(--line); background: var(--panel); }
.map-footer output { font-variant-numeric: tabular-nums; }
.touch-gesture { display: none; }
.map-assignment { min-height: 50px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 6px 12px; border-bottom: 1px solid var(--line); background: var(--panel); }
.map-assignment button { display: flex; align-items: center; gap: 5px; padding: 0 7px; min-height: 34px; background: #101b23; border: 1px solid var(--line); border-radius: 4px; font-size: 11px; }
.map-assignment button[aria-pressed="true"] { border-color: var(--accent); }
.map-assignment .role-mark { width: 16px; height: 16px; font-size: 10px; }
.review-plan { display: none; margin-inline-start: auto; color: var(--accent); font-size: 11px; text-underline-offset: 3px; white-space: nowrap; }
#map-pick-hint { color: var(--muted); font-size: 11px; margin-left: 4px; }
.map-panel.is-fullscreen, .map-panel:fullscreen { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 15; }
.map-panel.is-fullscreen .map-window, .map-panel:fullscreen .map-window { height: auto; flex: 1; }
.map-panel.is-fullscreen .map-heading, .map-panel:fullscreen .map-heading { padding-top: env(safe-area-inset-top); }
.map-panel.is-fullscreen .map-footer, .map-panel:fullscreen .map-footer { padding-bottom: env(safe-area-inset-bottom); }
.map-panel.is-fullscreen .review-plan, .map-panel:fullscreen .review-plan { display: none; }
.no-script { padding: 12px; margin: 0; }

.tools { display: flex; flex-direction: column; border-left: 1px solid var(--line); min-width: 0; }
.tabs { height: 52px; display: flex; align-items: stretch; border-bottom: 1px solid var(--line); }
.tabs button { flex: 1; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
.tabs button[aria-selected="true"] { border-color: var(--accent); color: var(--text); }
.tabs button:hover { background: var(--panel-raised); }
.tabs button span { display: inline-block; margin-left: 4px; color: var(--accent); font-size: 10px; }
.tool-panel { min-width: 0; flex: 1; }
.location-panel { display: grid; grid-template-rows: auto auto minmax(125px, 1fr) auto; min-height: 0; align-content: start; }
.location-controls { padding: 14px 15px 9px; }
.search { display: flex; height: 40px; align-items: center; gap: 9px; padding: 0 10px; background: #101b23; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; }
.search:focus-within { border-color: var(--accent); }
.search i { display: block; position: relative; flex: 0 0 12px; width: 12px; height: 12px; border: 1.5px solid currentColor; border-radius: 50%; }
.search i::after { content: ""; position: absolute; width: 5px; height: 1.5px; background: currentColor; right: -4px; bottom: -1px; transform: rotate(47deg); }
.search input { width: 100%; color: var(--text); background: transparent; border: 0; outline: 0; padding: 7px 0 7px 3px; font-size: 16px; }
.search input:focus-visible { outline: 0; }
.search input::placeholder { color: var(--subtle); font-size: 12px; }
.area-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.area-filters button, .presets button { border: 1px solid var(--line); border-radius: 4px; padding: 0 8px; min-height: 33px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 600; white-space: nowrap; }
.area-filters button:hover, .presets button:hover { background: var(--panel-raised); color: var(--text); }
.area-filters button[aria-pressed="true"], .presets button[aria-pressed="true"] { border-color: var(--accent); color: #ffb39a; background: #f4937214; }
.list-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 5px 15px 8px; }
.list-header h3 { margin: 0; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .075em; }
.list-header span { color: var(--subtle); font-size: 11px; }
.location-list { margin: 0; padding: 0; overflow-y: auto; overscroll-behavior: contain; list-style: none; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.location-list > li { border-top: 1px solid #243440; }
.location-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) 16px; align-items: center; text-align: left; gap: 8px; width: 100%; border: 0; background: transparent; min-height: 50px; padding: 5px 15px; }
.location-row:hover, .location-row[aria-pressed="true"] { background: var(--panel-raised); }
.location-row[aria-pressed="true"] { box-shadow: inset 2px 0 var(--accent); }
.location-row strong, .location-row small { display: block; line-height: 1.35; }
.location-row strong { font-size: 12px; font-weight: 650; }
.location-row small { color: var(--muted); font-size: 10px; margin-top: 3px; }
.area-dot { border: 1px solid var(--line-strong); border-radius: 50%; width: 20px; height: 20px; display: grid; place-items: center; color: var(--muted); }
.area-dot::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.area-dot[data-area="Coast"] { color: var(--coast); }
.area-dot[data-area="Inland"] { color: var(--inland); }
.area-dot[data-area="Wall"] { color: var(--wall); }
.row-arrow { color: var(--subtle); font-size: 16px; text-align: center; }
.location-list .empty { padding: 12px 15px; color: var(--muted); font-size: 12px; }
.location-detail { padding: 11px 15px 12px; border-top: 1px solid var(--line); background: #17252f; }
.location-detail strong { font-size: 13px; }
.location-detail p { margin: 4px 0 8px; color: var(--muted); font-size: 12px; }
.location-detail button { min-height: 33px; }
.planner-panel { padding: 16px 15px 10px; align-self: flex-start; width: 100%; }
.planner-heading h3 { margin: 0 0 3px; font-size: 17px; }
.planner-heading p, .preset-note { color: var(--muted); margin: 0 0 12px; font-size: 12px; }
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.preset-note { padding: 7px 9px; border-left: 2px solid var(--accent); background: #f4937211; }
.plan-slots { display: grid; gap: 7px; }
.slot { display: flex; min-width: 0; background: #101b23; border: 1px solid var(--line); border-radius: 5px; }
.slot:has([aria-pressed="true"]) { border-color: var(--accent); }
.slot > [data-slot] { min-width: 0; flex: 1; display: grid; grid-template-columns: 24px minmax(0, 1fr) 14px; align-items: center; gap: 9px; border: 0; padding: 8px; background: none; text-align: left; }
.slot > [data-slot]:hover { background: var(--panel-raised); }
.slot small, .slot strong { display: block; overflow-wrap: anywhere; }
.slot small { color: var(--muted); font-size: 10px; }
.slot strong { font-size: 12px; font-weight: 700; }
.slot-target { font-size: 18px; line-height: 1; color: var(--muted); }
.role-mark { width: 21px; height: 21px; border-radius: 50%; display: grid; flex: none; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; color: #101820; }
.role-mark.drop { background: var(--drop); }
.role-mark.backup { background: var(--backup); }
.role-mark.rotate { background: var(--rotate); }
.slot-clear { border: 0; background: transparent; color: var(--muted); flex: 0 0 36px; font-size: 18px; }
.slot-clear:hover { color: white; }
.planner-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 13px; }
.planner-status { min-height: 18px; margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.route-note { margin: 0 0 7px; color: var(--muted); font-size: 11px; }
.share-fallback { display: block; padding-bottom: 8px; font-size: 11px; color: var(--muted); }
.share-fallback textarea { display: block; width: 100%; resize: vertical; color: var(--text); background: #101b23; border: 1px solid var(--line); border-radius: 4px; padding: 5px 6px; }

.field-guide { padding: 48px 0 49px; }
.guide-head { display: flex; justify-content: space-between; align-items: start; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.guide-head h2 { font: 700 47px/.98 var(--title-font); text-transform: uppercase; margin: 0 0 7px; }
.guide-head p { color: var(--muted); margin: 0; font-size: 13px; max-width: 650px; }
.guide-head > a { color: var(--accent); font-size: 12px; white-space: nowrap; text-underline-offset: 3px; }
.guide-body { display: grid; gap: 42px; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); padding-top: 18px; }
.guide-body h3 { font-size: 15px; margin: 0 0 9px; }
.guide-locations ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.guide-locations li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 8px; border-top: 1px solid var(--line); font-size: 12px; padding: 8px 0; }
.guide-locations a { text-underline-offset: 3px; }
.guide-locations span { color: var(--muted); font-size: 11px; }
.guide-help details { border-top: 1px solid var(--line); }
.guide-help summary { padding: 8px 0; cursor: pointer; font-size: 13px; font-weight: 600; }
.guide-help details p { padding-left: 13px; color: var(--muted); font-size: 12px; margin: 0 0 8px; }
.field-notes { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 16px; }
.field-notes h3 { font-size: 17px; }
.field-notes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.field-notes-grid h4 { margin: 0 0 7px; font-size: 13px; }
.field-notes-grid p { color: var(--muted); font-size: 12px; margin: 0 0 8px; }
.field-notes-grid a { color: var(--text); text-underline-offset: 3px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-content { display: flex; justify-content: space-between; gap: 24px; padding-block: 18px 22px; color: var(--muted); font-size: 11px; }
.footer-content strong { color: var(--text); font-size: 13px; }
.footer-content p { max-width: 610px; margin: 3px 0 0; }
.footer-links { display: flex; align-items: start; flex-wrap: wrap; gap: 9px 16px; white-space: nowrap; }
.footer-links a { text-underline-offset: 3px; }

@media (min-width: 801px) {
  .tools { max-height: calc(clamp(470px, 100dvh - 337px, 685px) + 138px); }
  .workspace:has(#map-assignment:not([hidden])) .tools { max-height: none; }
}
@media (pointer: coarse) {
  .desktop-gesture { display: none; }
  .touch-gesture { display: inline; }
  .map-pin { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .icon-button { width: 44px; height: 44px; }
  .map-actions .text-button { min-height: 43px; }
}
@media (max-width: 1000px) {
  .shell { width: calc(100% - 36px); }
  .workspace { grid-template-columns: minmax(0, 1fr) minmax(275px, 300px); }
  .guide-body { gap: 26px; }
}
@media (max-width: 800px) {
  .intro { min-height: 132px; padding-top: 20px; }
  .workspace { grid-template-columns: minmax(0, 1fr); }
  .map-window { height: clamp(380px, 57dvh, 580px); }
  .tools { border-left: 0; border-top: 1px solid var(--line); }
  .location-list { max-height: 300px; }
  .location-detail { grid-row: 3; border-bottom: 1px solid var(--line); }
  .location-panel { grid-template-rows: auto auto auto auto; }
  .review-plan { display: inline-flex; align-items: center; min-height: 34px; }
  #map-pick-hint { flex-basis: 100%; }
  .guide-locations li { justify-content: start; }
  .guide-locations li span { flex-basis: 100%; }
}
@media (max-width: 520px) {
  .shell { width: calc(100% - 24px); }
  .masthead { height: 55px; gap: 15px; }
  .brand { font-size: 19px; }
  .brand-icon { width: 24px; height: 24px; margin-right: 6px; }
  .brand-icon i { width: 15px; height: 15px; }
  .main-nav { display: none; }
  .header-cta { min-height: 37px; }
  .intro { min-height: auto; padding: 18px 0 15px; }
  .intro h1 { font-size: clamp(36px, 10.6vw, 53px); }
  .eyebrow { font-size: 9px; letter-spacing: .08em; }
  .deck { margin-top: 7px; font-size: 12px; }
  .intro-meta { display: none; }
  .map-heading { min-height: 46px; padding-inline: 10px 6px; }
  .map-name { gap: 5px; }
  .map-window { height: clamp(355px, 55dvh, 455px); }
  .map-zoom { right: 7px; bottom: 9px; }
  .map-guide { right: 14px; top: 10px; }
  #pin-toggle, #fullscreen { padding-inline: 6px; }
  .map-footer { min-height: 31px; padding-inline: 10px; }
  .map-assignment { padding-inline: 7px; }
  .map-layers { flex-wrap: nowrap; overflow-x: auto; padding-inline: 7px; }
  .map-layers button { min-height: 38px; }
  #map-pick-hint { flex-basis: 100%; margin: 0 2px; }
  .field-guide { padding: 35px 0; }
  .guide-head h2 { font-size: 33px; }
  .guide-body { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .field-notes-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .footer-content { flex-direction: column; gap: 9px; }
}
@media (max-width: 800px) {
  .map-actions .mobile-find { display: inline-flex; }
  .map-quick-detail { display: block; padding: 8px 12px; border-top: 1px solid var(--line); background: var(--panel); }
  .map-quick-detail strong { display: block; font-size: 12px; }
  .map-quick-detail p { margin: 3px 0 0; font-size: 11px; color: var(--muted); }
  .map-panel.is-fullscreen .map-actions .mobile-find, .map-panel:fullscreen .map-actions .mobile-find { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }

.privacy { max-width: 720px; padding-block: 32px; }
.privacy h1 { margin: 16px 0; }
.privacy p { color: var(--muted); }
.privacy #analytics-choice-status { margin-top: 8px; }
