/* ScoutedSpots — shared look, same palette as the splash page. */
:root {
  --bg: #f6f1e6; --card: #fffaf0; --ink: #1f2b24; --muted: #5a6a5f;
  --forest: #2f5d45; --forest-2: #3e7a5a; --ember: #c9652a; --line: #e2d9c5;
  --good: #2f7a4a; --warn: #a86a12; --bad: #b23b2e;
  --good-bg: #e3f1e6; --warn-bg: #f8ecd4; --bad-bg: #f8e1dd;
  --radius: 12px;
  --hero-top: #f1d9b5;
  color-scheme: light;
}
/* Dark is the default (set on <html> in base.html); the switch in the top bar changes it. */
:root[data-theme="dark"] {
  --bg: #121a16; --card: #19231e; --ink: #ecf0ea; --muted: #a3b2a8;
  --forest: #7fbf98; --forest-2: #5fa67d; --ember: #f0a066; --line: #2a3a31;
  --good: #8fd3a5; --warn: #f0c070; --bad: #f29a8c;
  --good-bg: #1f3a29; --warn-bg: #3a3020; --bad-bg: #3d2420;
  --hero-top: #1d2c3a;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 16px/1.55 Inter, system-ui, -apple-system, sans-serif; }
a { color: var(--forest); }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; line-height: 1.15; }
h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 6px 0 4px; }
h2 { font-size: 1.35rem; margin: 0 0 12px; }

.topbar { display: flex; align-items: center; gap: 12px 18px; position: relative;
  padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--card); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--forest);
  text-decoration: none; margin-right: auto; }
.brand img { height: 44px; width: auto; display: block; }
.brand .logo-for-dark { display: none; }
:root[data-theme="dark"] .brand .logo-for-light { display: none; }
:root[data-theme="dark"] .brand .logo-for-dark { display: block; }
.site-nav { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: .95rem; }
.site-nav a { text-decoration: none; font-weight: 500; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px;
  text-decoration-thickness: 2px; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; align-items: center; gap: 6px; height: 40px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--forest);
  font: 600 .9rem/1 Inter, system-ui, sans-serif; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .close { display: none; }
.menu-btn[aria-expanded="true"] .bars { display: none; }
.menu-btn[aria-expanded="true"] .close { display: block; }
.menu-btn:hover, .menu-btn:focus-visible { border-color: var(--forest); }
.menu-btn:focus-visible { outline: 3px solid var(--forest); outline-offset: 2px; }

/* Phones and small tablets: logo, light/dark and a Menu button; links fold into a panel. */
@media (max-width: 760px) {
  .topbar { padding: 8px 12px; flex-wrap: wrap; }
  .brand img { height: 36px; }
  .js .menu-btn { display: inline-flex; }
  .site-nav { order: 3; width: 100%; font-size: .95rem; gap: 4px 14px; }
  .js .site-nav { display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px 0 6px; border-top: 1px solid var(--line); }
  .js .site-nav.open { display: flex; }
  .js .site-nav a { display: flex; align-items: center; min-height: 48px; padding: 0 6px;
    border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .js .site-nav a:last-child { border-bottom: 0; }
  .js .site-nav a[aria-current="page"] { text-decoration: none; border-left: 4px solid var(--forest);
    padding-left: 10px; font-weight: 700; }
  .js .site-nav .nav-out { color: var(--muted); }
}
.muted { color: var(--muted); }
.small { font-size: .88rem; }

.page { max-width: 980px; margin: 0 auto; padding: 18px 16px 48px; }
.crumbs { font-size: .9rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.kind { display: inline-block; font-size: .8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .05em; color: var(--muted); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; margin: 16px 0; }
.grid-2 { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }

.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--forest);
  background: var(--forest); color: var(--bg); border-radius: 999px; padding: 7px 14px;
  font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--forest); }
.btn.tiny { padding: 3px 10px; font-size: .8rem; }
.btn:disabled { opacity: .5; cursor: default; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; }
input[type=number] { width: 6.5em; }
label { font-size: .9rem; color: var(--muted); }

/* Facts */
.facts { width: 100%; border-collapse: collapse; }
.facts td { padding: 10px 6px; border-top: 1px solid var(--line); vertical-align: top; }
.facts tr:first-child td { border-top: 0; }
.facts .label { width: 38%; font-weight: 500; }
.facts .value { font-weight: 600; }
.facts .meta { display: block; font-weight: 400; font-size: .82rem; color: var(--muted); }
.facts .act { text-align: right; white-space: nowrap; }
.unknown { color: var(--muted); font-weight: 400; font-style: italic; }
.report-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 8px; }

.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .82rem;
  font-weight: 600; background: var(--line); color: var(--ink); }
.pill.good { background: var(--good-bg); color: var(--good); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.bad { background: var(--bad-bg); color: var(--bad); }

/* Tent fit */
.fit-result { font-size: 1.4rem; font-weight: 700; font-family: Fraunces, Georgia, serif; margin: 8px 0 2px; }
.fit-result.good { color: var(--good); } .fit-result.warn { color: var(--warn); }
.fit-result.bad { color: var(--bad); }
.fit-inputs { display: flex; gap: 8px; align-items: end; flex-wrap: wrap; }
.fit-inputs > div { display: grid; gap: 2px; }

/* Child lists */
.children { display: grid; gap: 10px; }
.child { display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg);
  text-decoration: none; color: inherit; }
.child:hover { border-color: var(--forest); }
.child .name { font-weight: 600; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

/* Photos */
.photos { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.photos figure { margin: 0; }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; }
.photos figcaption { font-size: .8rem; color: var(--muted); margin-top: 2px; }

.notice { padding: 10px 14px; border-radius: 10px; background: var(--warn-bg); color: var(--ink);
  font-size: .92rem; margin: 10px 0; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--ink);
  color: var(--bg); padding: 10px 18px; border-radius: 999px; font-size: .92rem; opacity: 0;
  transition: opacity .2s; pointer-events: none; z-index: 1000; }
.toast.show { opacity: 1; }
.minimap { height: 220px; border-radius: 10px; border: 1px solid var(--line); }
.empty { color: var(--muted); font-style: italic; }

/* Account pages from allauth */
.auth { max-width: 440px; margin: 32px auto; }
.auth form p { display: grid; gap: 4px; margin: 0 0 12px; }
.auth button, .auth input[type=submit] { font: inherit; font-weight: 600; background: var(--forest);
  color: var(--bg); border: 0; border-radius: 999px; padding: 9px 18px; cursor: pointer; }
.auth ul.errorlist { color: var(--bad); margin: 0; padding-left: 18px; font-size: .9rem; }
.auth h1 { margin-bottom: 4px; }
.auth input:not([type=checkbox]):not([type=hidden]) { width: 100%; }
.auth form > button[type=submit], .auth form button.prominent { width: 100%; }
/* Password rules on sign-up: small hint text, not a big list */
.auth form ul:not(.errorlist) { font-size: .8rem; line-height: 1.4; color: var(--muted); margin: -6px 0 12px; padding-left: 18px; }
.auth form ul:not(.errorlist) li { margin: 2px 0; }
/* "Remember me": checkbox beside its label */
.auth form p:has(> input[type=checkbox]) { display: flex; flex-direction: row-reverse; justify-content: flex-end;
  align-items: center; gap: 8px; }
.auth input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--forest); margin: 0; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px;
  font-size: .9rem; margin: 14px 0 0; }

/* Sign in with Google / Facebook (each company's button rules) */
.sso { display: grid; gap: 10px; margin: 16px 0 6px; }
.sso form { margin: 0; }
.auth .sso-btn, .sso-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px;
  height: 44px; padding: 0 16px; border-radius: 6px; cursor: pointer; font: 500 15px/1 Roboto, Inter, system-ui, sans-serif;
  letter-spacing: .01em; transition: filter .15s, box-shadow .15s; }
.sso-btn svg { width: 20px; height: 20px; flex: none; }
.sso-btn:hover { box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.sso-btn:focus-visible { outline: 3px solid var(--forest); outline-offset: 2px; }
.auth .sso-google, .sso-google { background: #FFFFFF; color: #1F1F1F; border: 1px solid #747775; }
:root[data-theme="dark"] .sso-google { background: #131314; color: #E3E3E3; border-color: #8E918F; }
.auth .sso-facebook, .sso-facebook { background: #1877F2; color: #FFFFFF; border: 1px solid #1877F2; }
.sso-facebook:hover { filter: brightness(1.06); }
.or-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; margin: 18px 0 14px; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }

/* Camper notes */
.note-form { display: flex; flex-direction: column; gap: 6px; margin: 0 0 12px; }
.note-form textarea { width: 100%; resize: vertical; font: inherit; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--card, #fff); color: inherit; }
.note-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.note-row button { margin-left: auto; }
.notes { list-style: none; margin: 0; padding: 0; }
.notes li { padding: 12px 0; border-top: 1px solid var(--line); }
.notes li:first-child { border-top: 0; }
.note-text { margin: 0 0 4px; white-space: normal; overflow-wrap: anywhere; }
.notes .meta { margin: 0; font-size: .82rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 18px 16px 26px; text-align: center;
  color: var(--muted); font-size: .85rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 6px; }
.site-footer a { color: var(--forest); text-decoration: none; font-weight: 500; }
.site-footer p { margin: 0; }

/* Front page */
.hero { background: linear-gradient(var(--hero-top), var(--bg)); text-align: center; padding: 34px 16px 0; overflow: hidden; }
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); max-width: 16ch; margin: 10px auto 12px; text-wrap: balance; }
.hero .lede { max-width: 36rem; margin: 0 auto; color: var(--muted); font-size: 1.1rem; }
.hero .cta { margin: 22px 0 0; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero .scene { display: block; width: min(760px, 100%); margin: 24px auto 0; }
.sections { max-width: 980px; margin: 0 auto; padding: 32px 16px 8px; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.section-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.section-card h2 { margin: 4px 0 0; }
.section-card p { margin: 0; color: var(--muted); }
.section-card .stats { display: flex; gap: 14px; flex-wrap: wrap; font-size: .9rem; color: var(--ink); }
.section-card .stats b { font-size: 1.15rem; font-family: Fraunces, Georgia, serif; }
.section-card .go { margin-top: auto; padding-top: 6px; }
.status { align-self: flex-start; font-size: .75rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.status.live { background: var(--forest); border-color: var(--forest); color: var(--bg); }
.icon-badge { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--forest) 14%, transparent); color: var(--forest); }
.icon-badge svg { width: 24px; height: 24px; }
.how { max-width: 980px; margin: 0 auto; padding: 8px 16px 36px; }
.how ol { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: 0; margin: 0; list-style: none; counter-reset: step; }
.how li { counter-increment: step; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; }
.how li::before { content: counter(step); display: inline-grid; place-items: center; width: 26px; height: 26px;
  border-radius: 50%; background: var(--forest); color: var(--bg); font-weight: 700; margin-right: 8px; }

/* Legal pages */
.legal { max-width: 760px; }
.legal h2 { margin-top: 28px; }
.legal li { margin: 4px 0; }
.danger { border-color: var(--bad); }
.btn.danger-btn { background: var(--bad); border-color: var(--bad); color: #fff; }

/* Light/dark switch */
.theme-toggle { background: none; border: 1px solid var(--line); border-radius: 999px; width: 34px; height: 34px;
  display: inline-grid; place-items: center; color: var(--forest); cursor: pointer; padding: 0; }
.theme-toggle:hover { border-color: var(--forest); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }

/* Pins on a dark map get a light outline so they don't disappear. */
.map-dark .pin svg > path:first-child { stroke: #f2f2ee; }
:root[data-theme="dark"] .leaflet-container { background: #1b2420; }

/* Short notices ("Successfully signed in"), float under the top bar and fade out */
.flash-stack { position: fixed; top: 68px; left: 50%; transform: translateX(-50%); z-index: 1100;
  display: grid; gap: 8px; width: min(520px, calc(100% - 32px)); pointer-events: none; }
.flash { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); border-left: 4px solid var(--forest);
  border-radius: 10px; padding: 10px 12px 10px 14px; box-shadow: 0 6px 20px rgba(0,0,0,.18);
  font-size: .95rem; transition: opacity .3s, transform .3s; }
.flash.flash-error { border-left-color: var(--bad); }
.flash.flash-warning { border-left-color: var(--warn); }
.flash.hide { opacity: 0; transform: translateY(-6px); }
.flash-close { background: none; border: 0; color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 0 2px; }

/* "Confirm your email" notice on place and account pages */
.confirm-email p { margin: 0 0 8px; }
.confirm-email form { margin: 0; }

/* My places: "Want to go" / "I've stayed here" on place pages */
.mine-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 14px; }
.ico { width: 15px; height: 15px; flex: none; }
.ico.heart path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.js-want[aria-pressed="true"] { background: var(--forest); color: var(--bg); }
.js-want[aria-pressed="true"] .ico.heart path { fill: currentColor; }
.private { font: 500 .75rem/1 Inter, system-ui, sans-serif; color: var(--muted); margin-left: 6px;
  white-space: nowrap; }
.private::before { content: "🔒 "; }
.stay-form h2, .mine h2 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; }
.stay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 10px; }
.stay-grid label, .stay-form > label { display: block; font-size: .85rem; margin-bottom: 3px; }
.stay-form input, .stay-form select, .stay-form textarea, .js-tent-pick, .tent-row input {
  font: inherit; width: 100%; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--bg); color: var(--ink); box-sizing: border-box; }
.js-tent-pick { width: auto; max-width: 100%; padding: 4px 8px; margin: 2px 0 8px; }
.row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 0; }
.stay-list { list-style: none; margin: 0; padding: 0; }
.stay-list li { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--line); }
.stay-list li:last-child { border-bottom: 0; }

/* Tents on the account page */
.tent-row { display: grid; grid-template-columns: minmax(160px, 2fr) minmax(80px, 1fr) minmax(80px, 1fr) auto;
  gap: 8px 10px; align-items: end; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tent-row.add { border-bottom: 0; }
.tent-row label { display: block; margin-bottom: 3px; }
.tent-row .acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-bottom: 2px; }
.default-pill { background: color-mix(in srgb, var(--forest) 16%, transparent); color: var(--forest); font-weight: 600; }
@media (max-width: 620px) {
  .tent-row { grid-template-columns: 1fr 1fr; }
  .tent-row .tn, .tent-row .acts { grid-column: 1 / -1; }
}

/* Feedback page */
.lede-small { max-width: 640px; }
.feedback-form { max-width: 640px; display: flex; flex-direction: column; gap: 6px; }
.feedback-form fieldset { border: 0; padding: 0; margin: 0 0 10px; }
.feedback-form legend, .feedback-form > label { font-weight: 600; margin: 8px 0 6px; }
.kind-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.kind-choice { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer; }
.kind-choice:has(input:checked) { border-color: var(--forest); border-width: 2px; padding: 9px 11px; font-weight: 600; }
.kind-choice input { accent-color: var(--forest); width: 18px; height: 18px; margin: 0; }
.feedback-form textarea, .feedback-form input[type=email] { font: inherit; width: 100%; padding: 9px 11px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); box-sizing: border-box; }
.feedback-form .hint { margin: 2px 0 6px; }
.form-error { color: var(--bad); font-weight: 600; margin: 4px 0; }
.form-error::before { content: "⚠ "; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Roadmap page */
.roadmap { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; align-items: start; margin: 16px 0; }
.stage h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 1.15rem; }
.stage .count { margin-left: auto; font: 600 .8rem/1 Inter, system-ui, sans-serif; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; }
.stage-mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  font-weight: 700; border: 2px solid currentColor; }
.stage-live .stage-mark { background: var(--forest); color: var(--bg); border-color: var(--forest); }
.stage-next .stage-mark { color: var(--forest); }
.stage-later .stage-mark { color: var(--muted); border-style: dashed; }
.rm-item { padding: 10px 0; border-top: 1px solid var(--line); }
.rm-item h3 { margin: 0; font-size: 1rem; }
.rm-item p { margin: 4px 0 0; font-size: .92rem; }
.rm-item .since { font-size: .8rem; color: var(--muted); }
.rm-cta { max-width: 640px; }

/* Deals */
.deal-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.deal-tabs a { text-decoration: none; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; font-size: .92rem; }
.deal-tabs a[aria-current="page"] { border: 2px solid var(--forest); padding: 6px 11px; font-weight: 700; }
.deal-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; }
.day-pick { display: flex; align-items: center; gap: 6px; margin: 0; }
.day-pick select, .deal-form select, .deal-form input[type=text], .deal-form input[type=search], .deal-form input[type=time],
.deal-form input[type=date], .deal-form input[type=number], .deal-form textarea {
  font: inherit; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink);
  box-sizing: border-box; width: 100%; }
.day-pick select { width: auto; }
.deal-map { height: 320px; border-radius: 10px; margin: 0 0 6px; border: 1px solid var(--line); }
.small-map { height: 220px; margin-top: 14px; }
.pick-map { height: 280px; margin-top: 6px; }
.deal-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin: 12px 0; }
.deal-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.deal-row .deal-card { border: 0; padding: 10px 0; background: none; }
.deal-row { border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 4px; }
.deal-row:last-of-type { border-bottom: 0; }
.deal-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.deal-what { font-weight: 700; color: var(--forest); }
.deal-card.closed .deal-what { color: var(--muted); }
.deal-card.stale { opacity: .8; }
.deal-miles { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.deal-card h3 { margin: 4px 0 0; font-size: 1.05rem; }
.deal-addr, .deal-details { font-size: .88rem; color: var(--muted); margin: 2px 0 0; }
.deal-when { margin: 6px 0 0; font-size: .95rem; }
.deal-fresh { margin: 6px 0 0; font-size: .82rem; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-weight: 600; border: 1px dashed currentColor; }
.badge.soon { color: var(--forest); }
.badge.aging, .badge.stale { color: var(--muted); }
.badge.stale { border-style: solid; }
.deal-vote { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 2px 0 6px; }
.empty-deals { grid-column: 1 / -1; }
.past-deals { margin: 0; padding-left: 18px; color: var(--muted); }
.deal-form { max-width: 680px; display: flex; flex-direction: column; gap: 6px; }
.deal-form fieldset { border: 0; border-top: 1px solid var(--line); padding: 12px 0 4px; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.deal-form legend { font-weight: 700; padding: 0; }
.deal-form > label, .deal-form fieldset > label, .deal-form .two label { font-weight: 600; font-size: .92rem; }
.deal-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.day-boxes { display: flex; flex-wrap: wrap; gap: 6px; }
.day-box { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.day-box:has(input:checked) { border: 2px solid var(--forest); padding: 5px 9px; font-weight: 700; }
.day-box input, .check input { accent-color: var(--forest); width: 18px; height: 18px; margin: 0; }
.day-box ul, .deal-form ul:not(.r-results) { list-style: none; padding: 0; margin: 0; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500 !important; }
.r-results { list-style: none; margin: 4px 0 0; padding: 0; }
.r-results li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.linkish { background: none; border: 0; padding: 0; color: var(--forest); font: inherit; text-decoration: underline; cursor: pointer; text-align: left; }
.chosen { margin: 4px 0; }

/* Anything marked hidden stays hidden, even inside flex/grid layouts */
[hidden] { display: none !important; }

/* Map pins and legends (shared by every map) */
.pin { background: none; border: 0; }
.pin svg { width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.45)); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 6px 0 0; font-size: .88rem; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-pin { width: 16px; height: 22px; display: inline-block; flex: none; }
.legend-pin svg { width: 100%; height: 100%; display: block; }
.chain-tag { font-size: .82rem; color: var(--muted); margin: 4px 0 0; }
.loc-list { list-style: none; padding: 0; margin: 8px 0; columns: 2 260px; }
.loc-list li { padding: 5px 0; break-inside: avoid; }
