/* Permit-area pages (reuse explorer panel styles from explorer.css where shared) */
.top .nav-row { justify-content: space-between; }
.crumbs { color: var(--muted); font-size: .9rem; } .crumbs a { color: #dfe6df; text-decoration: none; } .crumbs span { margin: 0 6px; color: var(--dim); }
.ar-hero { padding: 36px 0 28px; background: radial-gradient(70% 120% at 100% 0%, #ffd23f12, transparent 60%), var(--bg); }
.ar-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.ar-title { font: 800 clamp(2.6rem, 6vw, 4.6rem)/.9 var(--display); text-transform: uppercase; margin: 0 0 16px; max-width: none; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 22px 0 26px; }
.facts div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 4px; }
.facts span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.facts b { font: 800 1.7rem/1 var(--display); } .facts em { font-style: normal; font-size: .82rem; color: var(--muted); }
.facts b.sold { color: #ff8fb4; } .facts b.open { color: var(--fresh); }
.ar-stats { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ar-stats li { display: grid; grid-template-columns: 82px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: baseline; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid; border-radius: 12px; padding: 12px 16px; }
.ar-stats b { grid-row: span 2; font: 800 2.4rem/1 var(--display); }
.ar-stats span { font-weight: 700; } .ar-stats em { font-style: normal; color: var(--muted); font-size: .85rem; }
.st-f { border-left-color: var(--fresh) !important; } .st-f b { color: var(--fresh); }
.st-m { border-left-color: var(--mid) !important; } .st-m b { color: var(--mid); }
.st-o { border-left-color: var(--old) !important; } .st-o b { color: #e07a4e; }
.st-c { border-left-color: var(--coming) !important; border-left-style: dashed !important; } .st-c b { color: var(--coming); }
.st-g { border-left-color: #fff !important; }
.ar-map-sec { padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ar-map-wrap { display: grid; grid-template-columns: 1fr 340px; height: min(88svh, 940px); }
.ar-map { height: 100%; }
.ar-panel { background: var(--bg2); border-left: 1px solid var(--line); padding: 20px; overflow-y: auto; }
.ex-base { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 14px; }
.ex-base button { background: transparent; color: var(--muted); border: 0; border-radius: 999px; padding: 8px 16px; font: 600 .9rem var(--body); cursor: pointer; }
.ex-base button[aria-pressed=true] { background: var(--fresh); color: #0a0f0c; }
.ex-layers { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; }
.ex-layers label { display: grid; grid-template-columns: auto auto 1fr auto; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; cursor: pointer; font-size: .9rem; }
.ex-layers b { color: var(--muted); font-variant-numeric: tabular-nums; }
.sw-gate { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid #0a0f0c; box-shadow: 0 0 0 2px #fff; }
.sw-line { width: 14px; height: 0; border-top: 2px dashed #fff; }
.ex-detail { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 14px; min-height: 80px; }
.ex-detail h2 { font: 800 1.7rem/1 var(--display); text-transform: uppercase; margin: 4px 0 10px; }
.ex-detail .ex-note { margin: 10px 0 0; padding: 8px 10px; border-left: 3px solid #ffb347; background: var(--bg); font-size: .88rem; line-height: 1.4; }
.ex-band { margin: 0; font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
.ex-detail dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: .92rem; } .ex-detail dt { color: var(--dim); } .ex-detail dd { margin: 0; }
.gate span { display: block; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid #0a0f0c; box-shadow: 0 0 0 2px #fff, 0 0 12px #000; }
.ar-pack { border-top: 1px solid var(--line); }
.ar-faq { border-top: 1px solid var(--line); }
.narrow-text { max-width: 780px; }
.ar-faq h3 { font: 800 1.45rem/1.1 var(--display); text-transform: uppercase; margin: 28px 0 6px; }
.ar-faq p { color: #c9d2ca; }
@media (max-width: 960px) {
  .ar-grid { grid-template-columns: 1fr; } .facts { grid-template-columns: 1fr 1fr; }
  .ar-map-wrap { grid-template-columns: 1fr; height: auto; } .ar-map { height: 64svh; }
  .ar-panel { border-left: 0; border-top: 1px solid var(--line); }
  .crumbs { display: none; }
}

.sw-walk { width: 14px; height: 12px; border: 2px dashed #ff5a4f; background: #ff5a4f29; border-radius: 2px; }
.sw-corr { width: 14px; height: 12px; background: #c55cff80; border: 1px solid #c55cff; border-radius: 2px; }
.st-avail { border-left-color: #6dff8a !important; } .st-avail b { color: #6dff8a; }
.st-leased { border-left-color: #8b95a1 !important; } .st-leased b { color: #c9d1d9; }
.sw-avail { width: 14px; height: 12px; border: 2px solid #6dff8a; background: #6dff8a22; border-radius: 2px; }
.sw-leased { width: 14px; height: 12px; background: #8b95a1aa; border: 1px solid #c9d1d9; border-radius: 2px; }
.sw-cut { width: 14px; height: 12px; background: linear-gradient(90deg, #ffd23f 33%, #ff8a1f 33% 66%, #c4572b 66%); border-radius: 2px; }
.ar-hero .wrap > .ar-title { max-width: 18ch; }

.free-box { padding: 0 0 36px; background: var(--bg); }
.free-card { border: 1px solid #6dff8a66; background: linear-gradient(160deg, #6dff8a12, #16201a); border-radius: 16px; padding: 22px 26px; }
.free-card .kicker { color: #6dff8a; margin-bottom: 10px; }
.free-card h2 { font: 800 1.9rem/1.05 var(--display); text-transform: uppercase; margin: 0 0 10px; }
.free-card .xl-h { font: 800 1.15rem/1.1 var(--display); text-transform: uppercase; margin: 22px 0 8px; }
.free-card .xl-h .muted { font: 500 .85rem var(--body, inherit); text-transform: none; }
.free-card p { color: #c9d2ca; margin: 0 0 10px; }
.sw-land { width: 14px; height: 12px; border: 1.5px solid #6dff8a; background: #6dff8a22; border-radius: 2px; }
.sw-locked { width: 14px; height: 12px; border: 1.5px dashed #ff9a3c; background: #ff9a3c22; border-radius: 2px; }
.sw-pub { width: 14px; height: 12px; border: 1px solid #5aa9ff; background: #5aa9ff33; border-radius: 2px; }
.sw-pub-check { border-style: dashed; background: #5aa9ff0d; }
.sw-pub-no { border-color: #9aa0a6; background: #9aa0a62e; }
.reach { margin: -8px 0 22px; color: #c9d2ca; } .reach b { color: #6dff8a; }
.sw-ov { width: 14px; height: 12px; border: 2px solid var(--c); background: color-mix(in srgb, var(--c) 25%, transparent); border-radius: 2px; }
.sw-herb { width: 14px; height: 12px; border: 2px dotted #ff4d8d; border-radius: 2px; }
#kind-filter { margin: 0 0 12px; } #kind-filter label { display: grid; gap: 4px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 700; } #kind-filter select { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; font: 600 .92rem var(--body); text-transform: none; letter-spacing: 0; }
.cutmix { margin: -8px 0 22px; color: #c9d2ca; } .cutmix b.herb { color: #ff8fb4; }
.harvest { border-top: 1px solid var(--line); }
.harvest th, .harvest td { white-space: normal; }
.harvest th.num, .harvest td.num { white-space: nowrap; }
.harvest thead th { font-size: .72rem; vertical-align: bottom; }
/* "Show my location" (area.js locate): the button, what the position means here, and the privacy note */
.loc-box { margin: 0 0 12px; }
.loc-btn { width: 100%; text-align: center; }
.loc-msg { margin: 8px 0 0; font-size: .9rem; line-height: 1.45; color: var(--text); }
.loc-msg:empty { display: none; }
.loc-note { margin: 6px 0 0; }
.inst-hint { margin: 8px 0 0; display: flex; align-items: flex-start; gap: 6px; }
.inst-add { background: none; border: 0; padding: 0; color: var(--fresh); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.inst-x { margin-left: auto; background: none; border: 0; color: var(--muted); font-size: 1.1rem; line-height: 1; padding: 2px 6px; cursor: pointer; }
/* "Save this map for offline" (area.js saveOffline) */
.off-box { margin: 0 0 12px; }
.off-main { width: 100%; text-align: center; }
.off-acts { display: flex; gap: 8px; margin-top: 8px; }
.off-acts .off-btn { flex: 1; text-align: center; }
.off-state { margin: 0; font-size: .9rem; line-height: 1.45; color: var(--text); }
.off-note, .off-list { margin: 6px 0 0; }
.off-msg { margin: 6px 0 0; font-size: .9rem; color: var(--text); }
.off-msg:empty { display: none; }
.off-link { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; text-decoration: underline; cursor: pointer; }

/* Full screen map: the map and its panel fill the window */
.ha-fs { background: var(--bg, #0b0f0d); color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; padding: 8px 12px; font: 600 13px/1 inherit; cursor: pointer; }
.ha-fs:hover { background: #1a211d; }
.ar-map-wrap.ar-full { position: fixed; inset: 0; z-index: 2000; height: 100svh; background: var(--bg, #0b0f0d); }
.ar-map-wrap.ar-full .ex-panel { overflow-y: auto; max-height: 100svh; }
.ha-noscroll { overflow: hidden; }
@media (max-width: 960px) {
  .ar-map-wrap.ar-full { grid-template-columns: 1fr; grid-template-rows: 1fr minmax(0, 38svh); }
  .ar-map-wrap.ar-full .ar-map { height: 100%; }
}
.ha-measure { display: flex; gap: 6px; align-items: center; }
.ha-mout { background: rgba(11,15,13,.88); color: #fff; padding: 7px 10px; border-radius: 8px; font: 600 13px/1 inherit; }

/* Phones: the map on the first screen. A short header (title, one line, the counts in one row), then the map. */
@media (max-width: 960px) {
  .ar-hero { padding: 14px 0 12px; }
  .ar-hero .kicker { font-size: .68rem; margin-bottom: 6px; }
  .ar-title { font-size: clamp(2.1rem, 10vw, 2.8rem); margin: 0 0 6px; }
  .ar-hero .lede { font-size: .95rem; line-height: 1.4; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .ar-hero .ctas { display: flex; gap: 8px; margin: 0 0 10px; flex-wrap: wrap; }
  .ar-hero .ctas .btn { padding: 8px 11px; font-size: .85rem; }
  .ar-hero .ctas a[href="#map-sec"] { display: none; }   /* the map is right below */
  .ar-hero .ar-offer { font-size: .78rem; line-height: 1.35; margin: 0 0 10px; }
  .ar-grid { gap: 10px; }
  .ar-stats { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; }
  .ar-stats li { grid-template-columns: 1fr; padding: 8px 10px; border-left-width: 4px; }
  .ar-stats b { grid-row: auto; font-size: 1.5rem; }
  .ar-stats span { font-size: .8rem; } .ar-stats em { display: none; }
  .facts { grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 8px 0 10px; }
  .facts div { padding: 8px; } .facts b { font-size: 1.1rem; } .facts em { display: none; }
  .ar-map { height: 70svh; }
}
.nw-line { margin: -6px 0 22px; padding: 10px 14px; border-left: 3px solid var(--fresh, #ffd23f); background: rgba(255, 210, 63, .08); border-radius: 0 8px 8px 0; color: #e8eee9; }
.nw-line b { color: var(--fresh, #ffd23f); }
/* Wyoming draw block (draw_html.py): narrow enough to read on a phone without sideways scrolling */
.draw table { min-width: 0; }
.draw thead th.num { white-space: normal; }
.draw h3 { margin: 28px 0 12px; }
@media (max-width: 600px) {
  .draw th, .draw td { padding: 9px 6px; font-size: .84rem; }
  .draw thead th { font-size: .62rem; letter-spacing: .04em; }
  .draw tbody th { min-width: 96px; }
  .draw td.num { white-space: normal; }
}

/* Map-first unit pages (2026-11-28, preview): one-line header, counts as chips, quiet links, the map filling the first screen */
.ar-hero.v2 { padding: 18px 0 14px; }
.ar-v2 { display: grid; grid-template-columns: 1fr auto; gap: 6px 28px; align-items: end; }
.ar-v2-head .kicker { margin-bottom: 4px; }
.ar-hero.v2 .ar-title { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 4px; max-width: none; }
.ar-hero.v2 .lede { margin: 0; font-size: 1rem; max-width: 70ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ar-chips { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.ar-chips li { border: 1px solid var(--line); border-left: 4px solid; border-radius: 999px; padding: 5px 12px; background: var(--surface); font-size: .85rem; color: var(--muted); white-space: nowrap; }
.ar-chips li b { color: var(--text); font-size: 1rem; margin-right: 2px; }
.ar-chips .st-f { border-left-color: var(--fresh); } .ar-chips .st-m { border-left-color: #ff8a1f; } .ar-chips .st-o { border-left-color: #c4572b; } .ar-chips .st-c { border-left-color: #3fd0ff; }
.ar-links { grid-column: 1 / -1; margin: 6px 0 0; font-size: .92rem; color: var(--muted); }
.ar-links a { color: var(--text); }
main.v2 .ar-map-wrap { height: calc(100svh - 190px); min-height: 460px; max-height: 980px; }
.ar-after { padding: 18px 0 0; } .ar-after .wrap > * { max-width: 860px; }
.ex-packline { margin: 12px 0 0; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 10px; font-size: .88rem; color: var(--muted); }
.ex-packline a, .ex-pack a { color: var(--fresh); }
.ex-pack { margin: 10px 0 0; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 8px; }
@media (max-width: 960px) {
  .ar-v2 { grid-template-columns: 1fr; align-items: start; }
  .ar-hero.v2 { padding: 10px 0 8px; }
  .ar-hero.v2 .ar-title { font-size: clamp(1.7rem, 8vw, 2.3rem); }
  .ar-hero.v2 .lede { -webkit-line-clamp: 1; font-size: .9rem; }
  .ar-chips { justify-content: flex-start; gap: 6px; } .ar-chips li { font-size: .78rem; padding: 4px 9px; }
  .ar-links { font-size: .85rem; margin-top: 4px; }
  main.v2 .ar-map-wrap { height: auto; min-height: 0; max-height: none; } main.v2 .ar-map { height: 72svh; }
}
