
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/app/30e5d3a6efeb22cb/instrument-sans-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
.alert-signup{display:grid;gap:12px;padding:20px;border:1px solid #d6d7c7;border-radius:16px;background:#fbf8f1;color:#1f2d27;container-type:inline-size}.alert-signup h2,.alert-signup h3{margin:0;font-size:20px}.alert-signup p{margin:0}.alert-signup .alert-fields{display:grid;grid-template-columns:1fr;gap:8px}@container (min-width:500px){.alert-signup .alert-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (min-width:850px){.alert-signup .alert-fields{grid-template-columns:minmax(180px,2fr) minmax(244px,1fr) minmax(244px,1fr) auto}}.alert-signup input[type=email],.alert-signup select{min-height:44px;padding:0 12px;border:1px solid #b9bfa9;border-radius:10px;background:#fff;font:inherit;color:inherit}.alert-signup button{min-height:44px;padding:0 18px;border:0;border-radius:10px;background:#1f3d33;color:#fff;font:inherit;font-weight:700;cursor:pointer}.alert-signup small{color:#5b6b61}.alert-signup small a{color:inherit}.alert-signup .alert-hp,.alert-signup .visually-hidden{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}@media(max-width:760px){.alert-signup input[type=email],.alert-signup select{font-size:16px}.alert-signup small,.alert-signup small a{font-size:14px}}
.home-alert { padding: 0 clamp(18px, 5vw, 72px) 18px; }
.home-alert[hidden] { display: none; }
.home-discovery { margin: 24px clamp(18px, 5vw, 72px); padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.home-discovery h2,.home-discovery h3 { margin: 0 0 12px; }
.home-discovery h3 { margin-top: 20px; font-size: 1rem; }
.home-discovery-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.home-discovery-links a { color: var(--accent-2); }
@media (max-width: 560px) {
  .home-alert { padding-inline: 14px; }
  .home-alert .alert-signup > p { display: none; }
  .home-discovery { margin-inline: 14px; padding: 18px; }
}
:root {
  color-scheme: light;
  --bg: #f3ede2;
  --panel: #fffaf2;
  --ink: #211b13;
  --muted: #6c6257;
  --line: #ddd0bf;
  --accent: #8f3f17;
  --accent-2: #2f5f5b;
  --gold: #d79b2a;
  --serif: "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow-soft: 0 14px 44px rgba(44, 32, 18, .09);
  --shadow-pop: 0 26px 70px rgba(44, 32, 18, .18);
  --split-height: clamp(600px, calc(100vh - 150px), 920px);
}
[hidden] {
  display: none !important;
}
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(1100px 520px at 88% -8%, #fdf5e4 0%, rgba(253, 245, 228, 0) 60%),
    radial-gradient(900px 480px at -10% 12%, #f7efe0 0%, rgba(247, 239, 224, 0) 55%),
    var(--bg);
  color: var(--ink);
  font: 15.5px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 650;
}
::selection {
  background: color-mix(in srgb, var(--gold) 45%, white);
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  transform: translateY(-150%);
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  font-weight: 800;
}
.skip-link:focus {
  transform: translateY(0);
}
.home-header {
  position: relative;
  z-index: 1201;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 16px;
  padding: 14px clamp(18px, 4vw, 56px) 0;
}
.home-navigation {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}
.home-navigation .brand {
  flex: none;
  color: var(--accent-2);
  font: 800 25px/1.2 "Instrument Sans", sans-serif;
  letter-spacing: -1px;
  text-decoration: none;
}
.home-navigation .site-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.home-navigation .site-nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
}
.home-navigation .site-nav-links a[aria-current="page"] {
  background: var(--accent-2);
  color: white;
  box-shadow: 0 4px 14px rgba(47, 95, 91, .3);
}
.header-controls {
  flex: none;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-left: auto;
}
.language-switcher {
  position: static;
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, .92);
  box-shadow: 0 8px 22px rgba(44, 32, 18, .1);
}
.language-switcher button {
  min-height: 32px;
  border-radius: 999px;
  padding: 0 12px;
  background: transparent;
  color: var(--muted);
}
.language-switcher button[aria-pressed="true"] {
  background: var(--accent);
  color: white;
}
.account-controls {
  position: static;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.notif-wrap, .account-wrap {
  position: relative;
}
.account-wrap {
  min-width: 0;
}
.account-button {
  min-height: 42px;
  border-radius: 999px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, .92);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(44, 32, 18, .1);
  cursor: pointer;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-button:hover { border-color: var(--accent); }
.notif-bell {
  min-height: 42px;
  min-width: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, .92);
  box-shadow: 0 8px 22px rgba(44, 32, 18, .1);
  cursor: pointer;
  position: relative;
  font-size: 17px;
}
.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #a33b20;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.account-menu, .notif-panel {
  position: absolute;
  top: 48px;
  right: 0;
  background: #fffaf2;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(44, 32, 18, .18);
  min-width: 170px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.account-menu a, .account-menu button {
  text-align: left;
  padding: 8px 10px;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  border: 0;
  cursor: pointer;
}
.account-menu a:hover, .account-menu button:hover { background: rgba(143, 63, 23, .08); }
.notif-panel {
  width: min(360px, 88vw);
  max-height: 70vh;
  overflow: auto;
}
.notif-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
}
.notif-head button {
  background: transparent;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.notif-item {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  border-left: 3px solid transparent;
}
.notif-item.is-unread {
  background: rgba(143, 63, 23, .07);
  border-left-color: var(--accent);
}
.notif-item strong { display: block; font-size: 13px; }
.notif-item span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.notif-item small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.notif-empty { padding: 16px 10px; color: var(--muted); font-size: 13px; text-align: center; }
.fave-star {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 2px 4px;
  color: #b9ac97;
  transition: transform .12s ease, color .12s ease;
}
.fave-star:hover { transform: scale(1.2); color: #c98a1b; }
.fave-star.is-faved { color: #c98a1b; }
.save-filter-button {
  margin-top: 8px;
  background: transparent;
  border: 1px dashed var(--line);
  color: var(--muted);
  border-radius: 10px;
  min-height: 38px;
  cursor: pointer;
}
.save-filter-button:hover { color: var(--accent); border-color: var(--accent); }
.save-dialog {
  position: relative;
  background: #fffaf2;
  border-radius: 16px;
  padding: 26px;
  width: min(420px, 94vw);
  box-shadow: 0 24px 60px rgba(20, 14, 6, .4);
}
.save-dialog h3 { margin: 0 0 4px; }
.save-dialog input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  font: inherit;
  background: #fff;
  margin: 10px 0 16px;
  box-sizing: border-box;
}
.save-dialog-actions { display: flex; gap: 8px; }
.save-dialog-actions button {
  min-height: 40px;
  border-radius: 10px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 700;
}
.save-dialog-actions .save-primary { background: var(--accent); color: #fff; flex: 1; }
.save-dialog-actions .save-secondary { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.profile-view {
  padding: 0 clamp(18px, 4vw, 56px) 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.profile-grid {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 760px) {
  .profile-grid { grid-template-columns: 1fr; }
}
.profile-card-wide .result-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 14px;
}
.profile-card {
  background: #fffaf2;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 26px rgba(44, 32, 18, .08);
}
.profile-card-wide { grid-column: 1 / -1; }
.profile-card h3 { margin: 0 0 12px; }
.profile-guest {
  text-align: center;
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.profile-plan-pill {
  display: inline-block;
  background: rgba(31, 61, 51, .1);
  color: #1f3d33;
  font-weight: 700;
  font-size: 12px;
  border-radius: 999px;
  padding: 4px 12px;
}
.profile-soon-pill {
  display: inline-block;
  background: rgba(201, 138, 27, .14);
  color: #8a5c0d;
  font-weight: 700;
  font-size: 12px;
  border-radius: 999px;
  padding: 4px 12px;
}
.profile-verify-warning {
  background: rgba(163, 59, 32, .1);
  border: 1px solid rgba(163, 59, 32, .3);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 10px 0;
  font-size: 13px;
}
.profile-verify-warning button {
  background: transparent;
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  margin-left: 6px;
}
.saved-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.saved-filter-row:last-child { border-bottom: 0; }
.saved-filter-row a { font-weight: 700; color: var(--accent); text-decoration: none; flex: 1; }
.saved-filter-row small { color: var(--muted); display: block; }
.saved-filter-row button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 30px;
  padding: 0 8px;
  cursor: pointer;
  color: var(--muted);
  font-size: 12px;
}
.saved-filter-row button:hover { color: var(--accent); border-color: var(--accent); }
.auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 24, 14, .55);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
dialog.auth-modal {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}
dialog.auth-modal:not([open]) { display: none; }
dialog.auth-modal::backdrop { background: rgba(31, 24, 14, .55); }
dialog.auth-modal > * { max-height: 100%; }
.auth-dialog {
  position: relative;
  background: #fffaf2;
  border-radius: 16px;
  padding: 26px;
  width: min(420px, 94vw);
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 24px 60px rgba(20, 14, 6, .4);
}
.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.auth-tabs button {
  flex: 1;
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
  color: var(--muted);
}
.auth-tabs button[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.auth-oauth { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.oauth-button {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  background: #fff;
}
.oauth-button:hover { border-color: var(--accent); }
.oauth-button span[aria-hidden] {
  font-weight: 900;
  font-size: 16px;
  width: 20px;
  text-align: center;
}
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.auth-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.auth-form input {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  font: inherit;
  background: #fff;
}
.auth-form button[type="submit"] {
  min-height: 42px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
}
.auth-link {
  background: transparent;
  color: var(--accent);
  font-size: 13px;
  cursor: pointer;
  text-align: center;
}
.auth-error {
  margin: 12px 0 0;
  color: #a33b20;
  font-size: 13px;
  text-align: center;
}
.auth-pitch {
  background: rgba(31, 61, 51, .08);
  border: 1px solid rgba(31, 61, 51, .2);
  color: #1f3d33;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13.5px;
  margin: 0 0 14px;
  text-align: center;
}
.plan-dialog {
  position: relative;
  background: #fffaf2;
  border-radius: 16px;
  padding: 28px;
  width: min(760px, 96vw);
  max-height: 92vh;
  overflow: auto;
  box-shadow: 0 24px 60px rgba(20, 14, 6, .4);
}
.plan-dialog h2 { margin: 0 0 4px; }
.plan-subtitle { margin: 0 0 20px; color: var(--muted); }
.plan-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.plan-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
}
.plan-card-featured {
  border-color: var(--accent);
  box-shadow: 0 10px 26px rgba(143, 63, 23, .16);
}
.plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 12px;
  white-space: nowrap;
}
.plan-card h3 { margin: 4px 0 0; }
.plan-price { margin: 0; }
.plan-price strong { font-size: 30px; color: #1f3d33; }
.plan-price span { color: var(--muted); margin-left: 6px; font-size: 13px; }
.plan-features { margin: 0; color: var(--muted); font-size: 13px; flex: 1; }
.plan-card button {
  min-height: 40px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.plan-card:not(.plan-card-featured) button {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.settings-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 2px;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}
.settings-row input { width: 18px; height: 18px; }
.settings-row small { color: var(--muted); display: block; }
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 26px clamp(18px, 4vw, 56px) 30px;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: rgba(124, 115, 103, .75);
}
.site-footer .source-freshness {
  flex-basis: 100%;
  max-width: 960px;
  text-align: center;
  letter-spacing: 0;
}
.site-footer .source-freshness p { margin: 0 0 6px; }
.site-footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.site-footer a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  background: #1f3d33;
  color: #fffaf2;
  border-radius: 999px;
  padding: 11px 22px;
  font-weight: 600;
  z-index: 5000;
  box-shadow: 0 14px 34px rgba(20, 14, 6, .35);
  max-width: min(560px, 92vw);
  text-align: center;
}
.toast button {
  margin-left: 10px;
  color: inherit;
  border-color: currentColor;
}
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 20px clamp(18px, 4vw, 56px) 24px;
  align-items: end;
}
.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 700;
}
h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.02;
  letter-spacing: -.02em;
}
h1 em {
  font-style: italic;
  color: var(--accent-2);
}
.lede {
  max-width: 700px;
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 0;
}
.hero-count {
  margin: 14px 0 0;
  font-size: 17px;
}
.hero-count strong {
  font-size: 21px;
  color: var(--accent-2);
}
.hero-count small {
  color: var(--muted);
  font-size: 14px;
}
.hero-links {
  margin: 8px 0 0;
  font-size: 15px;
}
.hero-links a {
  color: inherit;
  font-weight: 600;
}
.search-panel, .results {
  background: color-mix(in srgb, var(--panel) 92%, white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  border-radius: 22px;
}
main {
  padding: 0 clamp(18px, 5vw, 72px) 48px;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(240px, 272px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.workspace > * {
  min-width: 0;
}
.mobile-search-controls {
  display: none;
}
.search-panel {
  position: sticky;
  top: 14px;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 13px;
  padding: 18px 16px;
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  overflow-x: hidden;
}
.search-panel > label,
.search-panel .field-pair,
.search-panel .field-pair label {
  min-width: 0;
}
.search-panel input,
.search-panel select,
.search-panel .combo {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.hot-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 12px;
  border: 1.5px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  background: white;
  color: var(--accent);
  font-weight: 800;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.hot-button .hot-flame {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  transform-origin: 50% 92%;
}
.hot-button .flame-outer {
  fill: var(--accent);
  transition: fill .18s ease;
}
.hot-button .flame-inner {
  fill: var(--gold);
  transition: fill .18s ease;
}
.hot-button:hover {
  filter: none;
  box-shadow: 0 6px 18px rgba(143, 63, 23, .2);
}
.hot-button:hover .hot-flame {
  animation: flame-flicker .7s ease-in-out infinite;
}
.hot-button.is-hot {
  background: linear-gradient(120deg, var(--accent) 0%, #b25321 55%, var(--gold) 130%);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 10px 26px rgba(143, 63, 23, .32);
}
.hot-button.is-hot .flame-outer {
  fill: #fff3dd;
}
.hot-button.is-hot .flame-inner {
  fill: var(--gold);
}
.hot-button.is-hot .hot-flame {
  animation: flame-flicker 1.1s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(255, 214, 140, .8));
}
@keyframes flame-flicker {
  0%, 100% { transform: scale(1) rotate(0deg); }
  30% { transform: scale(1.08, .94) rotate(-2.5deg); }
  60% { transform: scale(.95, 1.07) rotate(2deg); }
}
.hot-hint {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.round-filter {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.round-filter legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}
.round-pill {
  display: block;
  cursor: pointer;
}
.round-pill input {
  position: absolute;
  width: 1px !important;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.round-pill span {
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.round-pill input:checked + span {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: white;
}
.round-pill:focus-within span {
  outline: 2px solid color-mix(in srgb, var(--accent-2) 70%, white);
  outline-offset: 2px;
}
.filter-title {
  margin: 0 0 2px;
  font-size: 19px;
}
.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
fieldset {
  margin: 0;
  border: 0;
  padding: 0;
}
legend,
label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.type-filter {
  display: grid;
  gap: 8px;
}
.type-filter legend {
  margin-bottom: 6px;
}
.type-filter {
  grid-column: span 2;
}
.type-filter label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: white;
  color: var(--muted);
  cursor: pointer;
}
.type-filter input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.type-filter label:has(input:checked) {
  background: var(--accent-2);
  color: white;
  border-color: var(--accent-2);
}
.type-filter {
  grid-template-columns: repeat(4, minmax(90px, 1fr));
}
.type-filter legend {
  grid-column: 1 / -1;
}
input, select, button {
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 0 12px;
  font: inherit;
}
input, select {
  background: white;
}
.combo {
  position: relative;
}
.combo input[type="search"] {
  width: 100%;
}
.combo-list {
  position: absolute;
  z-index: 1200;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: 280px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: 0 18px 45px rgba(44, 32, 18, .16);
}
.combo-option {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 0;
  background: white;
  color: var(--ink);
  text-align: left;
  font-weight: 700;
}
.combo-option:hover,
.combo-option[aria-selected="true"] {
  background: #f4eadc;
}
.combo-option small {
  color: var(--muted);
  font-weight: 700;
}
.field-hint {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  align-self: end;
}
.check input {
  min-height: auto;
  accent-color: var(--accent-2);
  width: 17px;
  height: 17px;
}
#searchButton {
  min-height: 48px;
  font-size: 15.5px;
  letter-spacing: .01em;
  box-shadow: 0 10px 26px rgba(143, 63, 23, .28);
}
button {
  cursor: pointer;
  border: none;
  background: var(--accent);
  color: white;
  font-weight: 700;
  padding: 0 20px;
  transition: filter .15s ease, transform .15s ease;
}
button:hover {
  filter: brightness(1.08);
}
button:active {
  transform: translateY(1px);
}
input:focus-visible, select:focus-visible, button:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent-2) 70%, white);
  outline-offset: 1px;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 18px;
  align-items: start;
}
.layout > * {
  min-width: 0;
}
.map-column {
  position: sticky;
  top: 14px;
  z-index: 1;
}
.map-shell {
  position: relative;
}
.map-tile-status {
  position: absolute;
  left: 50%;
  bottom: 74px;
  z-index: 650;
  width: max-content;
  max-width: min(430px, calc(100% - 32px));
  margin: 0;
  padding: 9px 12px;
  transform: translateX(-50%);
  border: 1px solid color-mix(in srgb, var(--line) 80%, white);
  border-radius: 12px;
  background: rgba(255, 250, 242, .96);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(44, 32, 18, .16);
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
  pointer-events: none;
}
.map-tile-status:not(.is-visible) {
  width: 1px;
  max-width: none;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
#map {
  height: var(--split-height);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-soft);
}
.map-base-switch {
  position: absolute;
  top: 16px;
  left: 58px;
  z-index: 800;
  display: flex;
  padding: 3px;
  border: 1px solid color-mix(in srgb, var(--line) 80%, white);
  border-radius: 999px;
  background: rgba(255, 250, 242, .96);
  box-shadow: 0 12px 28px rgba(44, 32, 18, .14);
}
.map-base-switch[hidden] {
  display: none;
}
.map-base-switch button {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  background: transparent;
  color: var(--accent-2);
  font-size: 13px;
}
.map-base-switch button[aria-pressed="true"] {
  background: var(--accent-2);
  color: white;
  box-shadow: 0 3px 9px rgba(44, 32, 18, .18);
}
.map-filter-panel {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 800;
  display: grid;
  justify-items: end;
  gap: 10px;
  max-width: min(520px, calc(100% - 32px));
  pointer-events: none;
}
.map-filter-toggle,
.map-filter-body {
  pointer-events: auto;
}
.map-filter-toggle {
  min-height: 42px;
  border: 1px solid color-mix(in srgb, var(--line) 80%, white);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 250, 242, .96);
  color: var(--accent-2);
  box-shadow: 0 12px 28px rgba(44, 32, 18, .14);
}
.map-filter-toggle::before {
  content: "▾";
  display: inline-block;
  margin-right: 8px;
  transform: rotate(-90deg);
  transition: transform .16s ease;
}
.map-filter-toggle[aria-expanded="true"]::before {
  transform: rotate(0deg);
}
.map-filter-body {
  width: min(520px, calc(100vw - 80px));
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--line) 82%, white);
  border-radius: 22px;
  background: rgba(255, 250, 242, .97);
  box-shadow: 0 24px 60px rgba(44, 32, 18, .18);
  backdrop-filter: blur(10px);
}
.map-filter-head {
  display: grid;
  gap: 2px;
  margin-bottom: 12px;
}
.map-filter-head strong {
  color: var(--ink);
  font-size: 15px;
}
.map-filter-head small {
  color: var(--muted);
  font-size: 12px;
}
.map-filter-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.map-filter-group {
  display: grid;
  gap: 8px;
}
.map-filter-group legend {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.filter-pill {
  display: block;
  cursor: pointer;
  font-size: 13px;
}
.filter-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.filter-pill span {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 11px;
  background: white;
  color: #493b2c;
  box-shadow: 0 4px 12px rgba(44, 32, 18, .06);
  transition: background .16s ease, border-color .16s ease, color .16s ease, opacity .16s ease, transform .16s ease;
}
.filter-pill span i[aria-hidden="true"] {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-2) 12%, white);
  color: var(--accent-2);
  font-style: normal;
  font-weight: 900;
}
.filter-pill input:checked + span {
  border-color: color-mix(in srgb, var(--accent-2) 36%, var(--line));
}
.filter-pill input:checked + span::after {
  content: "✓";
  content: "✓" / "";
  margin-left: auto;
  font-weight: 900;
}
.filter-pill input:not(:checked) + span {
  background: #eee8df;
  border-color: #ded7ce;
  color: #8b8174;
  opacity: .72;
  box-shadow: none;
}
.filter-pill input:not(:checked) + span .legend-dot,
.filter-pill input:not(:checked) + span i[aria-hidden="true"] {
  filter: grayscale(1);
  opacity: .45;
}
.filter-pill:hover span,
.filter-pill:focus-within span,
.round-pill:hover span,
.round-pill:focus-within span {
  transform: translateY(-1px);
}
.filter-pill:focus-within span {
  outline: 2px solid color-mix(in srgb, var(--accent-2) 70%, white);
  outline-offset: 2px;
}
.filter-pill-state input:checked + span {
  background: #fffaf2;
}
.filter-pill-kind input:checked + span {
  background: #eef6f3;
  color: var(--accent-2);
}
.map-preview {
  position: absolute;
  z-index: 900;
  left: 14px;
  bottom: 28px;
  width: min(340px, calc(100% - 28px));
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--line) 70%, white);
  background: rgba(255, 250, 242, .98);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
  animation: preview-in .22s ease;
}
@keyframes preview-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.map-preview-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(28, 25, 21, .55);
  color: white;
  font-size: 20px;
  line-height: 1;
  backdrop-filter: blur(4px);
}
.map-preview.no-photo .map-preview-close {
  background: rgba(255, 250, 242, .96);
  color: var(--ink);
  border: 1px solid var(--line);
}
.map-preview-price {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 650;
}
.map-preview-body {
  display: grid;
}
.map-preview-photo {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  background: #efe6d8;
}
.map-preview-info {
  padding: 12px 14px 14px;
  display: grid;
  gap: 6px;
}
.map-preview-info h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1.3;
}
.map-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.map-preview-price {
  font-weight: 700;
  font-size: 15px;
  color: var(--accent-2);
}
.map-preview-location {
  color: var(--muted);
  font-size: 12.5px;
}
.map-preview-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 34px;
  padding: 0 12px;
  margin-top: 2px;
  border-radius: 999px;
  border: 1px solid var(--accent-2);
  background: white;
  color: var(--accent-2);
  font-weight: 700;
  font-size: 13px;
  justify-self: start;
}
.parcel-boundary-layer {
  pointer-events: none;
  filter: drop-shadow(0 0 2px rgba(255, 250, 242, .98));
}
.parcel-boundary-note {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.35;
}
.map-selected-halo {
  stroke: var(--accent);
  filter: drop-shadow(0 0 2px rgba(255, 250, 242, .98));
  animation: halo-pulse 1.8s ease-out infinite;
}
@keyframes halo-pulse {
  0% { stroke-opacity: .85; stroke-width: 3; }
  70% { stroke-opacity: .15; stroke-width: 14; }
  100% { stroke-opacity: 0; stroke-width: 16; }
}
.map-cluster-icon {
  background: transparent;
  border: 0;
}
.map-cluster-bubble {
  width: var(--cluster-size, 32px);
  height: var(--cluster-size, 32px);
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(255, 250, 242, .96);
  border-radius: 999px;
  background: #2f5f5b;
  color: white;
  font: 850 12px/1 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-shadow: 0 4px 10px rgba(31, 25, 18, .2), 0 0 0 2px rgba(47, 95, 91, .12);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.map-cluster-icon:hover .map-cluster-bubble,
.map-cluster-icon:focus .map-cluster-bubble {
  transform: scale(1.06);
}
.map-cluster-icon.is-expanded .map-cluster-bubble {
  background: var(--accent);
  box-shadow: 0 6px 14px rgba(31, 25, 18, .24), 0 0 0 3px rgba(143, 63, 23, .14);
}
.map-overlap-pin-icon {
  background: transparent;
  border: 0;
}
.map-overlap-pin-dot {
  display: block;
  width: var(--pin-size, 11px);
  height: var(--pin-size, 11px);
  border: 2px solid rgba(255, 250, 242, .96);
  border-radius: 999px;
  background: var(--pin-fill, #4b837d);
  box-shadow: 0 2px 6px rgba(31, 25, 18, .22);
  transition: transform .12s ease, box-shadow .12s ease;
}
.map-overlap-pin-icon:hover .map-overlap-pin-dot,
.map-overlap-pin-icon:focus .map-overlap-pin-dot {
  transform: scale(1.16);
  box-shadow: 0 3px 8px rgba(31, 25, 18, .28);
}
.map-fanout-marker {
  filter: drop-shadow(0 4px 8px rgba(31, 25, 18, .28));
}
.layout.is-refreshing #map,
.layout.is-refreshing .result-list {
  opacity: .72;
  transition: opacity .18s ease;
}
.layout.is-refreshing #map {
  cursor: progress;
}
.results {
  display: flex;
  flex-direction: column;
  height: var(--split-height);
  min-height: 0;
  overflow: hidden;
}
.results-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  padding: 16px 18px 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
}
.results-head h2 {
  margin: 0;
  font-size: 22px;
}
.results-head-meta {
  display: grid;
  justify-items: end;
  gap: 4px;
  text-align: right;
}
.result-status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
#resultCount {
  color: var(--muted);
  font-size: 13.5px;
}
.search-error {
  margin: 0;
  max-width: min(100%, 42ch);
  color: #8f2f17;
  font-size: 12.5px;
  font-weight: 600;
}
.search-notice {
  margin: 0;
  max-width: min(100%, 34ch);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
}
.selected-slot {
  flex: 0 0 auto;
  padding: 12px 14px 4px;
  max-height: 46%;
  overflow: auto;
}
.selected-slot .result-card {
  margin: 0;
}
.result-list {
  flex: 1 1 auto;
  min-height: 0;
  display: block;
  overflow-y: auto;
  padding: 12px 14px;
  scrollbar-gutter: stable;
}
.result-list > * + * {
  margin-top: 12px;
}
.empty-search {
  min-height: 100%;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 14px;
  padding: clamp(18px, 5vw, 34px);
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--panel) 82%, white);
}
.empty-search h3 {
  margin: 0;
  font-size: clamp(21px, 3vw, 27px);
}
.empty-filter-chips,
.empty-search-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}
.empty-filter-chip {
  min-height: 36px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid color-mix(in srgb, var(--accent-2) 30%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-2) 9%, white);
  color: var(--accent-2);
  font-size: 12.5px;
  line-height: 1.25;
  text-align: left;
}
.empty-filter-chip:hover {
  border-color: var(--accent-2);
  filter: none;
}
.empty-filter-chip span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.empty-filter-chip span:last-child {
  flex: 0 0 auto;
  font-size: 17px;
  line-height: 1;
}
.empty-search-actions button {
  min-height: 42px;
  padding-inline: 15px;
}
.empty-search-actions .empty-secondary {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}
.empty-search-actions .empty-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  filter: none;
}
.empty-alert-dialog {
  width: min(500px, 94vw);
}
.empty-alert-dialog > h2 {
  margin: 0 36px 6px 0;
}
.empty-alert-dialog > p {
  margin: 0 0 16px;
  color: var(--muted);
}
.empty-alert-dialog .alert-signup {
  padding: 0;
  border: 0;
  background: transparent;
}
@media (max-width: 560px) {
  .empty-search {
    min-height: 0;
    padding: 18px 16px;
  }
  .empty-search-actions button {
    flex: 1 1 100%;
  }
}
.load-more {
  position: relative;
  flex: 0 0 auto;
  margin: 0 14px 14px;
  width: calc(100% - 28px);
}
.load-more::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -14px;
  right: -14px;
  height: 30px;
  background: linear-gradient(rgba(255, 250, 242, 0), color-mix(in srgb, var(--panel) 92%, white));
  pointer-events: none;
}
.region-controls {
  position: absolute;
  right: 14px;
  bottom: 26px;
  z-index: 850;
  display: flex;
  gap: 8px;
}
.region-controls button {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(44, 32, 18, .18);
}
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
}
.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(255, 250, 242, .92);
  color: var(--muted);
  font-size: 12px;
}
.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}
.legend-in-progress { background: #d95f02; }
.legend-upcoming { background: #1b9e77; }
.legend-undated { background: #7655a6; }
.legend-listing { background: #4f8cc9; }
.legend-approx { background: #e6ab02; }
#drawRegion {
  background: var(--accent-2);
}
#clearRegion {
  background: rgba(255, 250, 242, .96);
  color: var(--muted);
  border: 1px solid var(--line);
}
.history-view {
  display: grid;
  gap: 18px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.history-active .hero {
  padding-block: 42px 28px;
}
.history-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  padding: 22px clamp(18px, 3vw, 34px);
  background: color-mix(in srgb, var(--panel) 92%, white);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.history-head h2 {
  margin: 2px 0 4px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
}
.history-head p { margin: 0; color: var(--muted); }
.history-status-wrap {
  display: grid;
  justify-items: end;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}
.history-sections {
  display: grid;
  gap: 20px;
}
.history-section {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 30px);
  background: color-mix(in srgb, var(--panel) 94%, white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}
.history-section-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
}
.history-section-head h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
}
.history-section-head p { margin: 0; color: var(--muted); max-width: 70ch; }
.history-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-2) 12%, white);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.history-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.history-metric {
  display: grid;
  align-content: start;
  gap: 3px;
  min-height: 92px;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.history-metric strong {
  font-family: var(--serif);
  color: var(--accent-2);
  font-size: 26px;
  font-variant-numeric: tabular-nums;
}
.history-metric span, .history-metric small { color: var(--muted); font-size: 12px; }
.descent-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(20px, 4vw, 54px);
  overflow: hidden;
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid #315f5b;
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 12%, rgba(215, 155, 42, .2), transparent 26%),
    radial-gradient(circle at 18% 100%, rgba(143, 63, 23, .2), transparent 32%),
    linear-gradient(145deg, #173f3c 0%, #0d2f2e 58%, #082423 100%);
  color: #fff8eb;
  box-shadow: 0 24px 60px rgba(19, 49, 47, .2);
}
.descent-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}
.descent-copy, .descent-visual, .descent-receipt { position: relative; z-index: 1; }
.descent-empty { align-self: center; border-color: rgba(255,255,255,.2); color: rgba(255,248,235,.72); }
.descent-copy { display: grid; align-content: center; justify-items: start; gap: 14px; }
.descent-copy .history-kicker {
  background: rgba(255, 226, 171, .14);
  color: #ffd991;
  border: 1px solid rgba(255, 217, 145, .22);
}
.descent-copy h3 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 68px);
  line-height: .96;
  letter-spacing: -.035em;
}
.descent-deck {
  max-width: 46ch;
  margin: 0;
  color: rgba(255, 248, 235, .72);
  font-size: 14px;
  line-height: 1.55;
}
.descent-stat {
  display: grid;
  gap: 3px;
  padding-block: 8px;
}
.descent-stat strong {
  color: #ffd991;
  font-family: var(--serif);
  font-size: clamp(46px, 7vw, 82px);
  font-variant-numeric: tabular-nums;
  line-height: .9;
}
.descent-stat strong span { padding-inline: .06em; color: rgba(255,255,255,.4); font-size: .52em; }
.descent-stat p { margin: 0; color: #fff8eb; font-size: 13px; line-height: 1.45; }
.descent-share {
  min-height: 44px;
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #fff8eb;
}
.descent-share:hover { background: #fff8eb; color: #173f3c; filter: none; }
.descent-visual {
  display: grid;
  min-width: 0;
  align-content: center;
  gap: 12px;
}
.descent-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: rgba(255,248,235,.72);
  font-size: 10.5px;
}
.descent-legend span { display: inline-flex; gap: 6px; align-items: center; }
.descent-legend i {
  width: 18px;
  height: 10px;
  border: 1px solid #9dcbc2;
  border-radius: 3px;
}
.descent-legend i.is-quiet { border-color: #f6bd4d; background: #f6bd4d; }
.descent-legend i.is-known { border-color: #9dcbc2; background: #9dcbc2; }
.descent-legend i.is-unknown { border-color: #c9bcaa; background: repeating-linear-gradient(135deg, #0d2f2e 0 5px, #c9bcaa 5px 7px); }
.repeat-price-ladder {
  display: grid;
  gap: 9px;
  width: 100%;
}
.price-rung {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(72px, auto);
  gap: 12px;
  width: 100%;
  min-height: 56px;
  align-items: center;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: rgba(255,248,235,.76);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-12px);
  text-align: left;
}
.descent-hero.is-visible .price-rung {
  animation: rung-arrive .5s cubic-bezier(.22,.61,.36,1) forwards;
  animation-delay: calc(var(--i) * 90ms);
}
@keyframes rung-arrive { to { opacity: 1; transform: translateY(0); } }
.rung-track {
  display: flex;
  height: 28px;
  align-items: center;
  border-left: 2px solid rgba(255,248,235,.22);
  background: linear-gradient(90deg, rgba(255,248,235,.08), transparent);
}
.rung-bar {
  display: flex;
  min-width: 0;
  height: 24px;
  overflow: hidden;
  border-radius: 7px;
  transition: filter .16s ease, outline-color .16s ease;
}
.rung-segment {
  display: block;
  height: 100%;
  min-width: 0;
  border-right: 1px solid #0d2f2e;
}
.rung-segment.is-zero { background: #f6bd4d; }
.rung-segment.is-known { background: #9dcbc2; }
.rung-segment.is-unknown { background: repeating-linear-gradient(135deg, #0d2f2e 0 5px, #c9bcaa 5px 7px); }
.rung-percent, .rung-count {
  color: rgba(255,248,235,.76);
  font-size: 12px;
  font-weight: 700;
}
.rung-count { text-align: right; white-space: nowrap; }
.price-rung:hover .rung-track,
.price-rung:focus-visible .rung-track,
.price-rung.is-selected .rung-track {
  outline: 2px solid white;
  outline-offset: 2px;
  filter: drop-shadow(0 0 7px rgba(246,189,77,.28));
}
.descent-caption {
  display: grid;
  min-height: 58px;
  align-content: center;
  gap: 2px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 13px;
  background: rgba(255,255,255,.06);
}
.descent-caption strong { color: #fff8eb; font-size: 13px; }
.descent-caption span { color: rgba(255,248,235,.66); font-size: 11px; }
.descent-receipt {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.descent-receipt span { color: rgba(255,248,235,.62); font-size: 10.5px; line-height: 1.45; }
.history-receipt-section details {
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--panel) 92%, white);
}
.history-receipt-section summary { cursor: pointer; color: var(--accent-2); font-weight: 800; }
.data-receipt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.data-receipt-grid p { display: grid; gap: 3px; margin: 0; }
.data-receipt-grid strong { color: var(--accent-2); font-family: var(--serif); font-size: 22px; }
.data-receipt-grid span, .data-receipt-grid small { color: var(--muted); font-size: 11px; }
.history-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr)) auto;
  gap: 12px;
  align-items: end;
}
.history-controls label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.history-segmented {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.history-segmented button, .history-secondary {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding-inline: 14px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}
.history-segmented button[aria-pressed="true"] {
  background: var(--accent-2);
  color: white;
}
.history-secondary {
  border-color: var(--line);
  border-radius: 10px;
  background: white;
  color: var(--accent-2);
}
.workbench-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 18px;
  align-items: start;
}
.radar-panel, .pulse-panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}
.radar-axis {
  margin: 0 0 10px 90px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.radar-grid {
  display: grid;
  grid-template-columns: minmax(76px, auto) repeat(4, minmax(72px, 1fr));
  gap: 6px;
  align-items: stretch;
}
.radar-label {
  display: grid;
  place-items: center end;
  min-height: 54px;
  padding-right: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}
.radar-x-label {
  min-height: 28px;
  place-items: center;
  padding: 0;
  text-align: center;
}
.radar-cell {
  display: grid;
  place-items: center;
  gap: 1px;
  min-height: 58px;
  padding: 6px;
  border: 1px solid color-mix(in srgb, var(--accent-2) 30%, var(--line));
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent-2) var(--heat, 5%), white);
  color: var(--ink);
}
.radar-cell:hover, .radar-cell[aria-pressed="true"] {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 28%, transparent);
  filter: none;
}
.radar-cell strong {
  color: var(--accent-2);
  font-family: var(--serif);
  font-size: 20px;
}
.radar-cell small, .radar-note, .history-note {
  color: var(--muted);
  font-size: 12px;
}
.radar-note, .history-note { margin: 12px 0 0; line-height: 1.45; }
.candidate-list {
  display: grid;
  gap: 9px;
  max-height: 480px;
  overflow: auto;
  padding-right: 3px;
}
.candidate-card {
  display: grid;
  gap: 6px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf9;
}
.candidate-card h4 { margin: 0; font-size: 14px; line-height: 1.3; }
.candidate-meta, .history-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}
.history-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #f1e9dc;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
}
.history-badge-good { background: #dceee8; color: #24564f; }
.history-badge-warn { background: #f7e7ca; color: #805112; }
.history-link {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--accent-2);
  font: inherit;
  font-weight: 800;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent-2) 35%, transparent);
  text-underline-offset: 3px;
}
.history-link:hover { color: var(--accent); filter: none; }
.runway {
  display: grid;
  gap: 8px;
}
.runway-day {
  display: grid;
  grid-template-columns: 92px repeat(3, minmax(80px, 1fr)) minmax(110px, auto);
  gap: 8px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid #efe4d5;
  font-size: 12px;
}
.runway-day:first-child { border-top: 0; }
.runway-day strong { font-variant-numeric: tabular-nums; }
.runway-count {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.runway-count i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent-2);
}
.runway-count-start i { background: var(--gold); }
.runway-count-end i { background: var(--accent); }
.coverage-list {
  display: grid;
  gap: 10px;
}
.coverage-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 2fr minmax(52px, auto);
  gap: 9px;
  align-items: center;
  font-size: 11.5px;
}
.coverage-row > span:first-child { overflow-wrap: anywhere; }
.pulse-toolbar {
  display: flex;
  gap: 8px;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
}
.pulse-toolbar label {
  display: grid;
  min-width: min(360px, 100%);
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.pulse-list {
  display: grid;
  gap: 8px;
}
.pulse-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf9;
}
.pulse-item p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12px; }
.pulse-time { color: var(--muted); font-size: 11px; white-space: nowrap; }
.history-empty {
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  text-align: center;
}
.history-skeleton {
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(90deg, #eee4d7 25%, #fffaf2 50%, #eee4d7 75%);
  background-size: 200% 100%;
  animation: history-shimmer 1.4s linear infinite;
}
@keyframes history-shimmer {
  to { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .history-skeleton, .hot-button:hover .hot-flame, .hot-button.is-hot .hot-flame, .map-selected-halo { animation: none; }
  .descent-hero .price-rung { animation: none; opacity: 1; transform: none; }
}
.result-card {
  position: relative;
  border: 1px solid var(--line);
  background: white;
  border-radius: 18px;
  padding: 14px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.result-card:hover {
  border-color: color-mix(in srgb, var(--accent-2) 40%, var(--line));
  box-shadow: 0 8px 24px rgba(44, 32, 18, .08);
}
.result-card:focus {
  outline: 3px solid color-mix(in srgb, var(--accent) 60%, white);
  outline-offset: 2px;
}
.result-card.is-selected {
  border: 2px solid var(--accent);
  padding: 13px;
  background: linear-gradient(180deg, #fffdf8 0%, #fef7ec 100%);
}
.selected-slot .result-card {
  border-color: var(--accent);
}
.result-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.25;
}
.card-case { display: block; margin-top: 3px; color: var(--muted); font: 600 12px/1.3 var(--sans); }
.deal-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
  margin: 10px 0;
}
.deal-strip:empty {
  display: none;
}
.deal-strip div {
  border-radius: 14px;
  background: linear-gradient(180deg, #faf4ea 0%, #f4ecdf 100%);
  border: 1px solid #ebdecd;
  padding: 9px 11px;
}
.deal-strip span {
  display: block;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.deal-strip strong {
  display: block;
  margin-top: 2px;
  font-family: var(--serif);
  font-weight: 650;
  font-size: 16px;
  color: var(--accent-2);
  overflow-wrap: anywhere;
}
.media-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(96px, 128px);
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 8px;
  margin: 6px 0 8px;
}
.media-thumb {
  min-height: 78px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #efe6d8;
}
.media-thumb img {
  display: block;
  width: 100%;
  height: 78px;
  object-fit: cover;
}
.media-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 15, 12, .76);
}
.media-dialog {
  width: min(1100px, 96vw);
  max-height: 94vh;
  display: grid;
  justify-items: center;
}
.media-stage {
  position: relative;
  display: grid;
  place-items: center;
  max-width: 100%;
}
.media-stage img {
  max-width: 100%;
  max-height: 84vh;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
  background: #120f0c;
}
.media-close,
.media-nav {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 250, 242, .94);
  color: var(--ink);
}
.media-close {
  top: -14px;
  right: -14px;
  font-size: 30px;
  line-height: 1;
}
.media-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
}
.media-prev { left: 10px; }
.media-next { right: 10px; }
.media-caption {
  margin: 10px 0 0;
  color: white;
  text-align: center;
}
.card-details {
  margin-top: 8px;
}
.card-details summary {
  color: var(--accent-2);
  cursor: pointer;
  font-weight: 700;
}
.detail-body {
  display: grid;
  gap: 14px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.price-ladder {
  display: grid;
  gap: 7px;
}
.ladder-row {
  display: grid;
  grid-template-columns: minmax(96px, .32fr) 1fr minmax(120px, auto);
  gap: 10px;
  align-items: center;
  font-size: 12.5px;
}
.ladder-label {
  color: var(--muted);
  font-weight: 600;
}
.ladder-track {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: #f1e9dc;
  overflow: hidden;
}
.ladder-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
}
.ladder-estimate { background: #cabfae; }
.ladder-minimum { background: #d79b2a; }
.ladder-current { background: linear-gradient(90deg, #4b837d, var(--accent-2)); }
.ladder-value {
  display: flex;
  gap: 6px;
  align-items: baseline;
  justify-content: flex-end;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ladder-value em {
  color: var(--muted);
  font-style: normal;
  font-size: 11px;
}
.bid-window {
  display: grid;
  gap: 6px;
}
.bid-window-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.bid-window-head b {
  color: var(--accent);
  font-size: 12.5px;
}
.bid-window-track {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #f1e9dc;
  overflow: hidden;
}
.bid-window-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #d79b2a, var(--accent));
}
.fact-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px 16px;
}
.fact-group h5 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 650;
  color: var(--accent-2);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  padding-bottom: 4px;
}
.doc-links {
  margin: 12px 0 0;
  font-size: 13px;
}
.doc-links p {
  margin: 0 0 4px;
  color: var(--muted);
}
.doc-links ul {
  margin: 0;
  padding-left: 18px;
  overflow-wrap: anywhere;
}
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
}
.result-actions a,
.result-actions button {
  min-height: 36px;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 13px;
  text-decoration: none;
}
.result-actions a {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--accent-2);
  color: white;
  background: var(--accent-2);
  font-weight: 700;
}
.result-actions button {
  background: white;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
}
.result-actions button.is-copied {
  background: #eaf3f0;
  border-color: var(--accent-2);
  color: var(--accent-2);
}
.result-actions small {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 12px;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.card-end {
  display: none;
}
.pill {
  border-radius: 999px;
  background: #f3e9da;
  border: 1px solid rgba(73, 59, 44, .08);
  color: #493b2c;
  padding: 3px 9px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .01em;
}
.pill-risk {
  background: #fbdada;
  border-color: rgba(155, 28, 28, .25);
  color: #9b1c1c;
}
.pill-state-in-progress {
  background: #fee0d2;
  color: #8f3f17;
}
.pill-state-upcoming {
  background: #dcefeb;
  color: #2f5f5b;
}
.pill-state-undated {
  background: #ece3f7;
  color: #5d407f;
}
.pill-state-listing {
  background: #dce9f8;
  color: #335c87;
}
.pill-state-ended,
.pill-state-unknown {
  background: #ebe5dc;
  color: #5f5b55;
}
.facts {
  display: grid;
  gap: 4px;
  margin: 0 0 8px;
  font-size: 13px;
}
.facts div {
  display: grid;
  grid-template-columns: minmax(112px, .38fr) 1fr;
  gap: 8px;
}
.facts dt {
  color: var(--muted);
  font-weight: 700;
}
.facts dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.desc-full {
  white-space: pre-line;
  line-height: 1.6;
}
.feature-grid-wrap h5 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 650;
  color: var(--accent-2);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  padding-bottom: 4px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.feature-tile {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px 0 8px;
  border: 1px solid #ebdecd;
  border-radius: 10px;
  background: linear-gradient(180deg, #fbf6ec 0%, #f5eee1 100%);
  font-size: 13px;
  font-weight: 600;
  color: #493b2c;
}
.feature-tile i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--accent-2) 12%, white);
  color: var(--accent-2);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}
.map-note {
  color: var(--muted);
  font-size: 14px;
  margin: 10px 4px 0;
}
@media (max-width: 980px) {
  :root {
    --split-height: clamp(420px, 58vh, 640px);
  }
  .hero, .layout, .workspace, .workbench-layout, .descent-hero {
    grid-template-columns: 1fr;
  }
  .descent-copy h3 { max-width: 16ch; }
  .descent-receipt { grid-template-columns: 1fr; }
  .history-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .history-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .search-panel {
    position: static;
    max-height: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .search-panel .filter-title, .search-panel #searchButton {
    grid-column: 1 / -1;
  }
  .type-filter {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
  .map-column {
    position: static;
  }
  #map {
    height: clamp(380px, 52vh, 560px);
  }
  .results {
    height: auto;
    max-height: var(--split-height);
  }
}
@media (max-width: 760px) {
  input, select, textarea {
    font-size: 16px;
  }
  .map-base-switch button {
    min-height: 44px;
  }
  .map-preview-link,
  .result-actions a,
  .result-actions button {
    min-height: 44px;
  }
  .map-preview {
    max-height: calc(100% - 28px);
    overflow: auto;
  }
  .auth-form input,
  .save-dialog input {
    font-size: 16px;
  }
  .eyebrow,
  .hot-hint,
  .round-pill span,
  .search-panel label,
  .search-panel legend,
  .map-filter-head small,
  .map-filter-group legend,
  .filter-pill,
  .map-preview-location,
  .map-preview-link,
  .parcel-boundary-note,
  .map-cluster-bubble,
  #resultCount,
  .search-notice,
  .region-controls button,
  .map-legend span,
  .card-case,
  .deal-strip span,
  .ladder-row,
  .ladder-value em,
  .bid-window-head,
  .bid-window-head b,
  .fact-group h5,
  .doc-links,
  .result-actions a,
  .result-actions button,
  .result-actions small,
  .pill,
  .facts,
  .feature-grid-wrap h5,
  .feature-tile,
  .feature-tile i,
  .site-footer {
    font-size: 14px;
  }
  .card-end {
    display: inline-flex;
    flex-basis: 100%;
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
  }
}
@media (max-width: 560px) {
  .home-header {
    gap: 8px;
    padding: 12px 18px 0;
  }
  .home-navigation {
    flex-basis: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }
  .home-navigation .site-nav-links {
    flex: 1 0 100%;
  }
  .home-navigation .site-nav-links a {
    flex: 1 1 auto;
    min-width: 0;
    padding-inline: 8px;
  }
  .header-controls {
    width: 100%;
  }
  .account-controls {
    flex: 1 1 0;
    min-width: 0;
  }
  .account-wrap {
    flex: 1 1 auto;
  }
  .account-button {
    width: 100%;
    max-width: 100%;
    padding-inline: 12px;
  }
  .notif-panel {
    right: auto;
    left: 0;
  }
  .hero {
    padding-block: 18px;
  }
  h1 {
    font-size: 30px;
  }
  .hero .lede { display: none; }
  main {
    padding-inline: 14px;
  }
  .results {
    height: auto;
    max-height: none;
    overflow: visible;
  }
  .selected-slot {
    max-height: none;
    overflow: visible;
  }
  .result-list {
    flex: none;
    overflow-y: visible;
    scrollbar-gutter: auto;
  }
  .mobile-search-controls {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    position: sticky;
    top: 8px;
    z-index: 1200;
    height: 48px;
    margin: 0 0 10px;
    background: var(--bg);
  }
  .mobile-search-controls button {
    position: relative;
    min-height: 48px;
    height: 48px;
    padding-inline: 2px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel);
    color: var(--ink);
    font-size: 14px;
  }
  .mobile-search-controls button[aria-pressed="true"] {
    background: var(--accent-2);
    color: white;
  }
  .mobile-search-controls button[aria-pressed="true"]::before {
    content: "✓";
    content: "✓" / "";
    position: absolute;
    top: 0;
    right: 3px;
    font-size: 14px;
    font-weight: 900;
  }
  .mobile-filter-sheet { border: 1px solid var(--line); border-radius: 20px 20px 0 0; margin: auto 0 0; inset: auto 0 0; width: 100%; max-width: 100%; max-height: 90dvh; padding: 20px; background: var(--panel); color: var(--ink); }
  .mobile-filter-sheet::backdrop { background: rgba(33,27,19,.5); }
  .mobile-filter-sheet h2 { padding-right: 40px; font-size: 20px; }
  .mobile-filter-sheet .media-close { position: absolute; right: 15px; top: 12px; }
  body.mobile-filter-open { overflow: hidden; }
  body.mobile-filter-open .mobile-filter-sheet .search-panel { display: grid; position: static; padding: 8px 0; max-height: none; overflow: visible; grid-template-columns: repeat(2,minmax(0,1fr)); border: 0; box-shadow: none; }
  body.mobile-filter-open .search-panel > label:has(#q),
  body.mobile-filter-open .search-panel > label:has(#county),
  body.mobile-filter-open .search-panel > label:has(#cityInput),
  body.mobile-filter-open .search-panel > .field-pair:has(#minPrice),
  body.mobile-filter-open .search-panel > #searchButton { grid-column: 1 / -1; }
  body.mobile-view-list .map-column { display: none; }
  .workspace.mobile-view-map .results { display: none; }
  .workspace:not(.mobile-view-map) .map-column { display: none; }
  .search-panel {
    display: none;
  }
  .load-more::before { display: none; }
  .deal-strip {
    grid-template-columns: 1fr;
  }
  .history-head, .history-section-head {
    align-items: stretch;
    flex-direction: column;
  }
  .history-status-wrap {
    justify-items: start;
  }
  .history-trust, .history-controls {
    grid-template-columns: 1fr;
  }
  .descent-hero {
    gap: 18px;
    padding: 22px 18px;
    border-radius: 22px;
  }
  .descent-copy h3 { max-width: 12ch; font-size: 43px; }
  .descent-stat strong { font-size: 54px; }
  .descent-visual svg { max-height: 520px; }
  .price-rung {
    grid-template-columns: 48px minmax(0, 1fr) minmax(64px, auto);
    gap: 8px;
  }
  .rung-percent, .rung-count { font-size: 11px; }
  .data-receipt-grid { grid-template-columns: 1fr; }
  .history-segmented {
    width: 100%;
  }
  .history-segmented button {
    flex: 1;
  }
  .radar-panel {
    overflow: visible;
  }
  .radar-grid {
    grid-template-columns: 54px repeat(4, minmax(40px, 1fr));
    gap: 4px;
  }
  .radar-label { min-height: 48px; padding-right: 3px; font-size: 10px; }
  .radar-x-label { min-height: 26px; padding: 0; }
  .radar-cell { min-height: 52px; padding: 4px 2px; }
  .radar-cell strong { font-size: 18px; }
  .candidate-list {
    max-height: none;
    overflow: visible;
  }
  .runway-day {
    grid-template-columns: 84px repeat(3, minmax(64px, 1fr));
  }
  .runway-day > :last-child {
    grid-column: 2 / -1;
  }
  .coverage-row {
    grid-template-columns: 1fr;
  }
  .pulse-item {
    grid-template-columns: 1fr;
  }
  .pulse-item p, .pulse-time {
    grid-column: 1;
  }
}
