/* =============================================================
   STR Investor — "Editorial Ledger" design system
   Mobile-first. Light mode with a warm paper palette.
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Palette — warm paper + ink, single green accent for yield */
  --paper:       #F5F2EA;
  --paper-2:     #FBF9F3;
  --paper-3:     #EFEADC;
  --surface:     #FFFFFF;
  --ink:         #18201D;
  --ink-2:       #3F4A45;
  --ink-3:       #6B6F6D;
  --muted:       #8A8275;
  --rule:        #DCD4C0;
  --rule-2:      #E8E2D1;

  --green:       #1F6B4E;
  --green-2:     #164F3A;
  --green-soft:  #DFEBE3;
  --amber:       #A86B1E;
  --amber-soft:  #F4E4C8;
  --red:         #8F1F2B;
  --red-soft:    #F1DADC;
  --gold:        #B8860B;

  /* Typography */
  --font-display: "Fraunces", "Iowan Old Style", "Hoefler Text", Georgia, serif;
  --font-body:    "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Layout */
  --radius:      10px;
  --radius-sm:   6px;
  --radius-lg:   16px;
  --shadow-sm:   0 1px 0 rgba(24,32,29,0.04), 0 0 0 1px var(--rule);
  --shadow:      0 1px 2px rgba(24,32,29,0.06), 0 0 0 1px var(--rule);
  --shadow-pop:  0 6px 24px -8px rgba(24,32,29,0.22), 0 0 0 1px var(--rule);

  --container:   1280px;
  --pad:         16px;
  --pad-lg:      24px;

  /* Motion */
  --ease:        cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-feature-settings: "ss01", "cv11";
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Subtle paper texture */
  background-image:
    radial-gradient(circle at 20% 10%, rgba(184,134,11,0.04), transparent 50%),
    radial-gradient(circle at 80% 90%, rgba(31,107,78,0.04), transparent 55%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }

/* Numeric tabular figures everywhere numbers appear */
.num, .mono, .mono * {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Header ---------- */
.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}
.masthead__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px var(--pad);
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  flex-shrink: 0;
}
.brand .brand__mark {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 2px;
  margin-right: 8px;
  transform: translateY(-2px);
}
.brand__sub {
  display: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--rule);
}
@media (min-width: 720px) { .brand__sub { display: inline-block; } }

.masthead__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Edition stamp — now shows just the data generation date */
.edition {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding: 4px 8px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  white-space: nowrap;
}
.edition .dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; flex-shrink: 0; }
/* Hide on very narrow viewports to preserve room for the Filters button */
@media (max-width: 480px) { .edition { display: none; } }

/* ---------- Controls (buttons, inputs) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink);
  padding: 9px 14px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: background .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--paper-3); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn--primary:hover { background: var(--ink-2); }
.btn--accent {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.btn--accent:hover { background: var(--green-2); }
.btn--ghost { background: transparent; }
.btn--icon { padding: 9px; width: 38px; }
.btn--sm { padding: 6px 10px; font-size: 13px; }

.icon {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* Field controls */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 500;
}
.input, .select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  font: inherit;
  color: var(--ink);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.input:focus, .select:focus {
  outline: none;
  border-color: var(--ink-2);
  box-shadow: 0 0 0 3px rgba(24,32,29,0.08);
}
.select { appearance: none; background-image:
  linear-gradient(45deg, transparent 50%, var(--ink) 50%),
  linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 30px;
}

/* Segmented control for min/max numeric */
.range-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 6px;
}
.range-pair__sep {
  color: var(--muted);
  font-size: 12px;
}

/* Chip group for multi-select facets */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px;
  cursor: pointer;
  transition: all .15s var(--ease);
  user-select: none;
}
.chip:hover { background: var(--paper-3); }
.chip--on {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.chip--toggle { min-width: 44px; justify-content: center; }
.chip--filter {
  background: var(--green-soft);
  color: var(--green-2);
  border-color: transparent;
  font-size: 12px;
}
.chip--filter button {
  background: none;
  border: 0;
  padding: 0;
  margin-left: 4px;
  cursor: pointer;
  color: var(--green-2);
  opacity: 0.6;
}
.chip--filter button:hover { opacity: 1; }

/* ---------- Toolbar (search + sort + filter trigger) ---------- */
.toolbar {
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 57px;           /* right below masthead on mobile */
  z-index: 30;
}
.toolbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px var(--pad);
  display: flex;
  gap: 8px;
  align-items: center;
}
.search {
  position: relative;
  flex: 1;
  min-width: 0;
}
.search input {
  width: 100%;
  padding: 10px 12px 10px 36px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  font: inherit;
}
.search input:focus { outline: none; border-color: var(--ink-2); box-shadow: 0 0 0 3px rgba(24,32,29,0.08); }
.search__icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.toolbar__sort {
  display: none;
}
@media (min-width: 720px) {
  .toolbar__sort { display: flex; gap: 8px; align-items: center; }
  .toolbar__sort .select { min-width: 180px; }
}

/* Active filter row */
.active-filters {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad) 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.active-filters:empty { display: none; }
.active-filters__clear {
  margin-left: auto;
  background: none;
  border: 0;
  color: var(--ink-2);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 6px 0;
}

/* ---------- Summary bar ---------- */
.summary-bar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px var(--pad) 8px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.summary-bar__count {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  font-variation-settings: "opsz" 48;
  letter-spacing: -0.02em;
}
.summary-bar__count .num { font-size: 26px; color: var(--ink); }
.summary-bar__label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.summary-bar__stats {
  margin-left: auto;
  display: none;
  gap: 18px;
  color: var(--ink-2);
  font-size: 13px;
}
.summary-bar__stats strong { color: var(--ink); font-weight: 600; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
@media (min-width: 720px) { .summary-bar__stats { display: flex; } }

/* ---------- Main grid ---------- */
main { padding-bottom: 80px; }
.grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1400px) { .grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Property card ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  cursor: pointer;
  overflow: hidden;
}
.card:hover {
  border-color: var(--ink-3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-pop);
}
.card:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* Subtle decorative corner rule */
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 34px; height: 34px;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
  border-top-left-radius: var(--radius-lg);
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s var(--ease);
}
.card:hover::before { opacity: 1; }

.card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.card__price {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 72;
  font-size: 28px;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
}
.card__price .num { font-family: var(--font-display); font-feature-settings: "tnum"; }
.card__ppsf {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0;
}

/* Yield badge (right of price) */
.yield-badge {
  text-align: right;
  flex-shrink: 0;
}
.yield-badge__pct {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 20px;
  color: var(--green);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.yield-badge--mid .yield-badge__pct { color: var(--amber); }
.yield-badge--low .yield-badge__pct { color: var(--red); }
.yield-badge__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 3px;
}

/* Address */
.card__address {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 36;
  font-size: 17px;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.card__address .city {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 4px;
}

/* Attribute strip (beds/baths/sqft) */
.card__attrs {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 13px;
  color: var(--ink-2);
  border-top: 1px solid var(--rule-2);
  border-bottom: 1px solid var(--rule-2);
  padding: 10px 0;
}
.card__attrs > * {
  flex: 1;
  text-align: center;
  border-right: 1px solid var(--rule-2);
  padding: 0 4px;
}
.card__attrs > *:last-child { border-right: 0; }
.card__attrs strong {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.card__attrs span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 2px;
}

/* Revenue block */
.card__rev {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.rev-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rev-cell__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.rev-cell__value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.rev-cell--primary .rev-cell__value { color: var(--green); font-size: 15px; }

/* Card flags (pool, water view, etc) */
.card__flags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.flag {
  font-size: 11px;
  padding: 3px 8px;
  background: var(--paper-3);
  color: var(--ink-2);
  border-radius: 3px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.flag--pool  { background: #DFEBF2; color: #1E4E6B; }
.flag--water { background: #DFEBF2; color: #1E4E6B; }
.flag--cdd   { background: var(--amber-soft); color: var(--amber); }

/* CTA row */
.card__cta {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.card__cta .btn { flex: 1; }

/* Confidence + comp count row */
.card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.card__meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.conf-bar {
  height: 3px;
  flex: 1;
  background: var(--rule);
  border-radius: 2px;
  overflow: hidden;
  max-width: 100px;
}
.conf-bar > span {
  display: block;
  height: 100%;
  background: var(--green);
  border-radius: 2px;
}

/* Empty state */
.empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
  grid-column: 1/-1;
}
.empty h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 8px;
}

/* ---------- Filter drawer (mobile bottom sheet; desktop right sheet) ---------- */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(24,32,29,0.45);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease);
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  max-height: 85vh;
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  z-index: 70;
  transform: translateY(100%);
  transition: transform .28s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: 0 -20px 60px -20px rgba(24,32,29,0.3);
}
.drawer.is-open { transform: translateY(0); }
@media (min-width: 900px) {
  .drawer {
    top: 0;
    left: auto; right: 0; bottom: 0;
    width: 440px; max-width: 92vw;
    max-height: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-left: 1px solid var(--rule);
    border-top: 0;
    transform: translateX(100%);
  }
  .drawer.is-open { transform: translateX(0); }
}

.drawer__grip {
  height: 5px;
  width: 40px;
  border-radius: 3px;
  background: var(--rule);
  margin: 10px auto 2px;
}
@media (min-width: 900px) { .drawer__grip { display: none; } }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--rule);
}
.drawer__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 48;
}
.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px 120px;
}
.drawer__foot {
  position: sticky;
  bottom: 0;
  padding: 12px 20px;
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 10px;
}
.drawer__foot .btn { flex: 1; }

/* Filter sections */
.filter-section {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-2);
}
.filter-section:last-child { border-bottom: 0; }
.filter-section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  margin: 0 0 10px;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 24;
}
.filter-section__title .count {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}

/* Tri-state (Any / Yes / No) */
.tri {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 3px;
  background: var(--paper-3);
  border-radius: var(--radius);
}
.tri button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 0;
  border-radius: calc(var(--radius) - 3px);
  font-size: 13px;
  cursor: pointer;
  color: var(--ink-2);
  transition: all .12s var(--ease);
}
.tri button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
}

/* ---------- Infinite scroll sentinel ---------- */
.sentinel {
  height: 1px;
  grid-column: 1/-1;
}
.loader {
  grid-column: 1/-1;
  text-align: center;
  padding: 24px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* ---------- Footer / disclaimer ---------- */
.disclaimer {
  max-width: var(--container);
  margin: 40px auto 0;
  padding: 24px var(--pad);
  border-top: 1px solid var(--rule);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-3);
}
.disclaimer h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.disclaimer p { margin: 0 0 8px; }

/* =============================================================
   Property detail page
   ============================================================= */
.detail-back {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px var(--pad) 0;
}
.detail-back a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-2);
}

.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px var(--pad) 0;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }
}

.hero__media {
  aspect-ratio: 16 / 10;
  background: var(--paper-3);
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  overflow: hidden;
  position: relative;
}
.hero__media iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.hero__media__tabs {
  position: absolute;
  top: 12px; left: 12px;
  display: flex;
  gap: 4px;
  padding: 3px;
  background: rgba(24,32,29,0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius);
  z-index: 2;
}
.hero__media__tabs button {
  appearance: none;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.7);
  padding: 6px 12px;
  border-radius: calc(var(--radius) - 2px);
  font-size: 12px;
  cursor: pointer;
  font-weight: 500;
}
.hero__media__tabs button[aria-pressed="true"] {
  background: white;
  color: var(--ink);
}

.hero__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__address {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 96;
  font-size: 32px;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}
@media (min-width: 720px) { .hero__address { font-size: 44px; } }
.hero__citystate { color: var(--ink-3); font-family: var(--font-body); font-size: 16px; display: block; margin-top: 6px; letter-spacing: 0; }

.hero__price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__price .amount {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  font-variation-settings: "opsz" 96;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.hero__price .per-sqft {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.hero__cta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hero__cta .btn { flex: 1 1 140px; }

/* Quick metrics row */
.metrics-strip {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px var(--pad);
}
.metrics-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 720px) { .metrics-strip__grid { grid-template-columns: repeat(4, 1fr); } }
.metric {
  background: var(--surface);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 96px;
}
.metric__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 500;
}
.metric__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.metric__value .unit {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-3);
  margin-left: 2px;
}
.metric--yield .metric__value { color: var(--green); }
.metric__sub {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-top: auto;
  letter-spacing: 0;
}

/* Section containers */
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px var(--pad);
  border-top: 1px solid var(--rule);
}
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.section__eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 6px;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  font-variation-settings: "opsz" 72;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.section__note {
  font-size: 12px;
  color: var(--muted);
  max-width: 280px;
  text-align: right;
}

/* Property particulars (two-column definition list) */
.particulars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 720px) { .particulars { grid-template-columns: 1fr 1fr; } }
.particular {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--rule-2);
}
@media (min-width: 720px) {
  .particular:nth-last-child(-n+2) { border-bottom: 0; }
  .particular:nth-child(odd) { border-right: 1px solid var(--rule-2); }
}
@media (max-width: 719px) {
  .particular:last-child { border-bottom: 0; }
}
.particular dt {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.particular dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.particular dd.yes { color: var(--green-2); }
.particular dd.no  { color: var(--muted); }
.particular dd.text { font-family: var(--font-body); }

/* Revenue section: chart + percentile */
.rev-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 900px) {
  .rev-layout { grid-template-columns: 3fr 2fr; align-items: start; }
}

.panel {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.panel__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  margin: 0 0 4px;
  color: var(--ink);
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 24;
}
.panel__note {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 18px;
}

.monthly-chart {
  height: 220px;
  position: relative;
}

/* Percentile plot */
.percentile {
  display: grid;
  gap: 18px;
}
.pct-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pct-row__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
}
.pct-row__label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.pct-row__value {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.pct-track {
  height: 34px;
  position: relative;
  background: var(--paper-3);
  border-radius: 6px;
  overflow: hidden;
}
.pct-track__band {
  position: absolute;
  top: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(31,107,78,0.12), rgba(31,107,78,0.28), rgba(31,107,78,0.12));
}
.pct-track__ticks {
  position: absolute; inset: 0;
  pointer-events: none;
}
.pct-track__tick {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: rgba(24,32,29,0.18);
}
.pct-track__tick-label {
  position: absolute;
  top: 100%;
  transform: translate(-50%, 2px);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.pct-track__marker {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 2px;
  background: var(--ink);
  transform: translateX(-1px);
}
.pct-track__marker::before {
  content: "";
  position: absolute;
  top: -6px; left: -5px;
  width: 12px; height: 12px;
  background: var(--ink);
  border-radius: 50%;
  border: 2px solid var(--paper-2);
}

/* Comparable gallery */
.comps {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .comps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .comps { grid-template-columns: repeat(3, 1fr); } }

.comp {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.comp:hover { border-color: var(--ink-3); transform: translateY(-2px); }
.comp__photo {
  aspect-ratio: 4 / 3;
  background: var(--paper-3);
  position: relative;
  overflow: hidden;
}
.comp__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.comp:hover .comp__photo img { transform: scale(1.04); }
.comp__badges {
  position: absolute;
  top: 10px; left: 10px; right: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  pointer-events: none;
}
.badge-mini {
  font-size: 10px;
  padding: 3px 8px;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}
.badge-mini--gold   { background: var(--gold); color: white; }
.badge-mini--super  { background: var(--red); color: white; }

.comp__body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.comp__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 24;
  /* Clamp to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.comp__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-2);
}
.comp__rating strong { font-family: var(--font-mono); font-weight: 700; color: var(--ink); }
.comp__rating .star { color: var(--gold); }

.comp__perf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--rule-2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: auto;
}
.comp__perf-cell {
  background: var(--paper-2);
  padding: 8px;
  text-align: center;
}
.comp__perf-cell strong {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.comp__perf-cell span {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* Map container */
#detailMap {
  height: 400px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  overflow: hidden;
  background: var(--paper-3);
}

/* ---------- Leaflet overrides ---------- */
.leaflet-container {
  font-family: var(--font-body) !important;
  background: var(--paper-3);
}
.leaflet-popup-content-wrapper {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-pop);
  border: 1px solid var(--rule);
}
.leaflet-popup-content {
  margin: 10px 12px;
  font-size: 12px;
  line-height: 1.4;
}

/* Custom subject marker */
.subject-pin {
  background: var(--ink);
  color: var(--paper);
  padding: 5px 9px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  border: 2px solid var(--paper-2);
  box-shadow: 0 4px 12px rgba(24,32,29,0.3);
}
.comp-pin {
  background: var(--green);
  color: white;
  padding: 3px 7px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  border: 2px solid var(--paper-2);
  box-shadow: 0 2px 8px rgba(31,107,78,0.4);
}

/* Utility */
.visually-hidden {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0,0,0,0) !important;
  white-space: nowrap !important; border: 0 !important;
}

/* Spinner */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--rule);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

/* Error */
.error {
  max-width: var(--container);
  margin: 60px auto;
  padding: 40px 20px;
  text-align: center;
  border: 1px dashed var(--rule);
  border-radius: var(--radius-lg);
  color: var(--ink-2);
}
.error h3 { font-family: var(--font-display); color: var(--ink); margin: 0 0 8px; }

/* =============================================================
   ADDITIONS
   Contact strip, flood bucket filter, percentile slider,
   comparable table view, photo carousel, and assorted helpers.
   ============================================================= */

/* ---------- Contact strip (beneath masthead on both pages) ---------- */
.contact-strip {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid rgba(0,0,0,0.2);
  position: sticky;
  top: 49px;                                /* sits under the masthead */
  z-index: 39;
  font-size: 13px;
}
@media (max-width: 720px) { .contact-strip { position: static; } }
.contact-strip__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px var(--pad);
  display: flex;
  align-items: center;
  gap: 14px 20px;
  flex-wrap: wrap;
}
.contact-strip__name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
  flex-shrink: 0;
}
.contact-strip__agent {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  font-variation-settings: "opsz" 24;
  letter-spacing: 0.005em;
}
.contact-strip__lic {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 242, 234, 0.6);
}
.contact-strip__channels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-left: auto;
  align-items: center;
}
.contact-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--paper);
  opacity: 0.92;
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-decoration: none !important;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.15s var(--ease), opacity 0.15s var(--ease);
}
.contact-strip__item:hover {
  opacity: 1;
  background: rgba(255,255,255,0.08);
}
.contact-strip__item .icon {
  width: 14px; height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Disclaimer contact line */
.disclaimer__contact {
  margin: 0 0 16px;
  padding: 10px 12px;
  background: var(--paper-3);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
}
.disclaimer__contact a { color: var(--green-2); font-weight: 500; }

/* ---------- Flood zone filter ---------- */
.flood-field { display: flex; flex-direction: column; gap: 14px; }
.chips.chips--buckets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (max-width: 540px) {
  .chips.chips--buckets { grid-template-columns: 1fr; }
}
.chip--bucket {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 3px;
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background: var(--paper-2);
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.chip--bucket .chip__title {
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.2;
}
.chip--bucket .chip__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.chip--bucket.chip--on {
  border-color: var(--green);
  background: var(--green-soft);
}
.chip--bucket.chip--on .chip__sub { color: var(--green-2); }

.flood-field__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.flood-field__group-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-family: var(--font-mono);
}
.chip--sm {
  padding: 6px 10px;
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.flood-field__hint {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-3);
  padding: 8px 10px;
  background: var(--paper-3);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--amber);
}

/* Flood-required particular callout */
.particular dd.flood-required {
  color: var(--amber);
  font-weight: 500;
}

/* Flood flag on the grid card */
.flag--flood {
  background: var(--amber-soft);
  color: var(--amber);
  border-color: var(--amber);
}

/* ---------- Percentile slider panel ---------- */
.pct-slider-panel {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 20px;
}
.pct-slider-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.pct-slider-panel__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  font-variation-settings: "opsz" 24;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.pct-slider-panel__value {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--green-2);
  font-weight: 600;
  background: var(--green-soft);
  padding: 3px 10px;
  border-radius: 999px;
}

.pct-slider-panel__track {
  position: relative;
  padding: 6px 0 4px;
}
.pct-slider-panel__track input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg,
    var(--amber-soft) 0%,
    var(--green-soft) 35%,
    var(--green) 65%,
    var(--green-2) 100%);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}
.pct-slider-panel__track input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--paper);
  box-shadow: 0 2px 6px rgba(24,32,29,0.4);
  cursor: grab;
  transition: transform 0.15s var(--ease);
}
.pct-slider-panel__track input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.1); cursor: grabbing; }
.pct-slider-panel__track input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--paper);
  box-shadow: 0 2px 6px rgba(24,32,29,0.4);
  cursor: grab;
}

.pct-slider-panel__anchors {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.pct-slider-panel__anchors span:nth-child(1),
.pct-slider-panel__anchors span:nth-child(5) { max-width: 80px; }
.pct-slider-panel__anchors span:nth-child(3) { color: var(--green-2); font-weight: 700; }

.pct-slider-panel__explainer {
  margin: 14px 0 0;
  padding: 12px 14px;
  background: var(--paper-3);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.pct-slider-panel__explainer strong { color: var(--ink); }

/* ---------- Section tools (title row + view toggle) ---------- */
.section__tools {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.section__tools .section__note { margin: 0; flex: 1; min-width: 200px; }
.view-toggle {
  display: inline-flex;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper-2);
  padding: 2px;
  flex-shrink: 0;
}
.view-toggle__btn {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-body);
  border: 0;
  background: transparent;
  color: var(--ink-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.view-toggle__btn.is-on {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Comparable card: enhancements ---------- */
.comp__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-2);
  align-items: center;
}
.comp__dot {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--ink);
  font-size: 11.5px;
}
.comp__addr {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--ink-3);
  padding: 6px 0;
  border-top: 1px dashed var(--rule-2);
  line-height: 1.4;
}
.comp__distance {
  color: var(--green-2);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11.5px;
}
/* Expanded 3x2 perf grid (was 3x1) */
.comp__perf {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
}
.comp__extras {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 10px;
  background: var(--paper-2);
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  color: var(--ink-2);
  align-items: center;
}
.comp__extras strong {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--ink);
}
.comp__extras__sep { color: var(--rule); }

/* ---------- Photo carousel inside comp photo ---------- */
.comp__photo__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  opacity: 0;
  transition: opacity 0.15s var(--ease), background 0.15s var(--ease), transform 0.15s var(--ease);
  z-index: 2;
}
.comp:hover .carousel__nav,
.comp:focus-within .carousel__nav { opacity: 1; }
.carousel__nav:hover { background: white; transform: translateY(-50%) scale(1.08); }
.carousel__nav--prev { left: 8px; }
.carousel__nav--next { right: 8px; }
/* Always-visible on touch devices that don't hover */
@media (hover: none) {
  .carousel__nav { opacity: 1; }
}

.carousel__counter {
  position: absolute;
  bottom: 8px; right: 10px;
  padding: 2px 8px;
  background: rgba(0,0,0,0.55);
  color: white;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  border-radius: 999px;
  z-index: 2;
  pointer-events: none;
}
.carousel__dots {
  position: absolute;
  bottom: 10px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 4px;
  z-index: 1;
  pointer-events: none;
}
.carousel__dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  transition: background 0.15s var(--ease), width 0.15s var(--ease);
}
.carousel__dot.is-on {
  background: white;
  width: 14px;
  border-radius: 4px;
}

/* ---------- Comparable table view ---------- */
.comp-table__wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
}
.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 900px;
}
.comp-table__th {
  padding: 11px 12px;
  background: var(--paper-2);
  text-align: left;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  position: sticky;
  top: 0;
  z-index: 1;
}
.comp-table__th:hover { background: var(--paper-3); color: var(--ink); }
.comp-table__th--right { text-align: right; }
.comp-table__th .sort-indicator {
  font-family: var(--font-mono);
  color: var(--green);
  font-size: 11px;
}
.comp-table__td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--rule-2);
  color: var(--ink);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.comp-table__td--left {
  font-family: var(--font-body);
  letter-spacing: 0;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comp-table__td--right { text-align: right; }
.comp-table tbody tr:hover td { background: var(--paper-2); }
.comp-table tbody tr:last-child td { border-bottom: 0; }
