/*
 * Real Estate UI — design tokens.
 *
 * Semantic only. A component may never hardcode a colour, radius, font or
 * shadow; it reads these variables. That one rule is what makes every
 * component themeable, dark-mode-ready and safe to copy into someone
 * else's project.
 */

:root {
  color-scheme: light;

  /* surfaces */
  --re-surface: #ffffff;
  --re-surface-muted: #fbf8f3;
  --re-surface-sunken: #f3ede3;
  --re-line: #e2d9cb;
  --re-line-strong: #cfc3b0;

  /* ink */
  --re-ink: #14110e;
  --re-ink-muted: #4a433c;
  --re-ink-subtle: #8a8177;

  /* accent */
  --re-accent: #1c5c4a;
  --re-accent-hover: #17503f;
  --re-accent-ink: #ffffff;
  --re-accent-soft: #e6efe9;
  --re-accent-line: #cfe2d6;
  --re-danger: #b03a3a;
  --re-danger-soft: #fbeeee;

  /* listing status */
  --re-status-new-bg: #1c5c4a;
  --re-status-new-ink: #ffffff;
  --re-status-drop-bg: #a8691f;
  --re-status-drop-ink: #ffffff;
  --re-status-pending-bg: #6b5f52;
  --re-status-pending-ink: #ffffff;
  --re-status-contingent-bg: #6d5a86;
  --re-status-contingent-ink: #ffffff;
  --re-status-soon-bg: #7c6a4e;
  --re-status-soon-ink: #ffffff;
  --re-status-closed-bg: #14110e;
  --re-status-closed-ink: #ffffff;
  --re-status-offmarket-bg: #efe8dc;
  --re-status-offmarket-ink: #4a433c;
  --re-status-active-bg: transparent;
  --re-status-active-ink: #1c5c4a;

  /* type */
  --re-font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --re-font-display: "Fraunces", ui-serif, Georgia, serif;
  --re-text-xs: 0.72rem;
  --re-text-sm: 0.82rem;
  --re-text-base: 0.92rem;
  --re-text-lg: 1rem;
  --re-text-xl: 1.35rem;

  /* shape */
  --re-radius-sm: 8px;
  --re-radius: 14px;
  --re-radius-pill: 999px;

  /* elevation */
  --re-shadow-card: 0 18px 36px -26px rgba(20, 17, 14, 0.55);
  --re-shadow-icon: 0 2px 6px rgba(0, 0, 0, 0.16);
}

[data-theme="dark"] {
  color-scheme: dark;

  --re-surface: #1b1815;
  --re-surface-muted: #14110e;
  --re-surface-sunken: #242019;
  --re-line: #3a332b;
  --re-line-strong: #4d4438;

  --re-ink: #f7f2ea;
  --re-ink-muted: #c6bbae;
  --re-ink-subtle: #948a7d;

  --re-accent: #4f9c82;
  --re-accent-hover: #5fae93;
  --re-accent-ink: #0f1a16;
  --re-accent-soft: #1f3a31;

  --re-status-offmarket-bg: #2b2620;
  --re-status-offmarket-ink: #c6bbae;
  --re-status-active-ink: #7fc0a6;

  --re-shadow-card: 0 18px 36px -26px rgba(0, 0, 0, 0.9);
}
.re-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: var(--re-radius-pill, 999px);
  border: 1px solid transparent;
  font-family: var(--re-font-sans, system-ui, sans-serif);
  font-size: var(--re-text-xs, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-transform: uppercase;
  background: var(--re-status-offmarket-bg, #efe8dc);
  color: var(--re-status-offmarket-ink, #4a433c);
  white-space: nowrap;
}

.re-badge[data-status="new"] {
  background: var(--re-status-new-bg);
  color: var(--re-status-new-ink);
}

.re-badge[data-status="price-drop"] {
  background: var(--re-status-drop-bg);
  color: var(--re-status-drop-ink);
}

.re-badge[data-status="pending"] {
  background: var(--re-status-pending-bg);
  color: var(--re-status-pending-ink);
}

.re-badge[data-status="contingent"] {
  background: var(--re-status-contingent-bg);
  color: var(--re-status-contingent-ink);
}

.re-badge[data-status="coming-soon"] {
  background: var(--re-status-soon-bg);
  color: var(--re-status-soon-ink);
}

.re-badge[data-status="closed"] {
  background: var(--re-status-closed-bg);
  color: var(--re-status-closed-ink);
}

.re-badge[data-status="off-market"] {
  background: var(--re-status-offmarket-bg);
  color: var(--re-status-offmarket-ink);
}

.re-badge[data-status="active"] {
  background: var(--re-status-active-bg, transparent);
  color: var(--re-status-active-ink);
  border-color: currentColor;
}
.re-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--re-surface, #fff);
  border: 1px solid var(--re-line, #e2d9cb);
  border-radius: var(--re-radius, 14px);
  color: var(--re-ink, #14110e);
  font-family: var(--re-font-sans, system-ui, sans-serif);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.re-card:hover {
  border-color: var(--re-line-strong, #cfc3b0);
  box-shadow: var(--re-shadow-card, 0 18px 36px -26px rgba(20, 17, 14, 0.55));
}

.re-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--re-surface-sunken, #f3ede3);
}

.re-card__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.re-card__photo--empty {
  background: linear-gradient(135deg, var(--re-surface-sunken, #f3ede3) 0%, var(--re-surface-muted, #fbf8f3) 100%);
}

.re-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
}

.re-card__save {
  position: absolute;
  top: 9px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--re-surface, #fff);
  color: var(--re-ink, #14110e);
  box-shadow: var(--re-shadow-icon, 0 2px 6px rgba(0, 0, 0, 0.16));
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.re-card__save[aria-pressed="true"] {
  color: var(--re-danger, #b03a3a);
}

.re-card__save:focus-visible,
.re-card__link:focus-visible {
  outline: 2px solid var(--re-accent, #1c5c4a);
  outline-offset: 2px;
}

.re-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px 16px;
}

.re-card__price {
  margin: 0;
  font-family: var(--re-font-display, Georgia, serif);
  font-size: var(--re-text-xl, 1.35rem);
  line-height: 1.1;
}

.re-card__price small {
  margin-left: 6px;
  font-family: var(--re-font-sans, sans-serif);
  font-size: var(--re-text-xs, 0.72rem);
  color: var(--re-ink-subtle, #8a8177);
}

.re-card__address {
  margin: 4px 0 0;
  font-family: var(--re-font-display, Georgia, serif);
  font-size: var(--re-text-lg, 1rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.re-card__link {
  color: inherit;
  text-decoration: none;
}

.re-card__link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.re-card__location {
  margin: 0;
  font-size: var(--re-text-sm, 0.82rem);
  color: var(--re-ink-subtle, #8a8177);
}

.re-card__specs {
  display: flex;
  gap: 14px;
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--re-line, #e2d9cb);
  list-style: none;
  font-size: var(--re-text-sm, 0.82rem);
  color: var(--re-ink-muted, #4a433c);
}

.re-card__specs b {
  color: var(--re-ink, #14110e);
  font-weight: 600;
}

.re-card__agent {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  font-size: var(--re-text-xs, 0.72rem);
  color: var(--re-ink-subtle, #8a8177);
}

.re-card__avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--re-line, #e2d9cb);
  border-radius: 50%;
  background: var(--re-surface-sunken, #f3ede3);
  font-size: 10px;
  font-weight: 600;
  color: var(--re-ink-muted, #4a433c);
}

.re-card__footer {
  margin-top: 14px;
}

/* wide variant */
.re-card--list {
  flex-direction: row;
}

.re-card--list .re-card__media {
  width: 36%;
  min-height: 190px;
  aspect-ratio: auto;
}

.re-card--list .re-card__body {
  padding: 18px 20px;
}

@media (max-width: 560px) {
  .re-card--list {
    flex-direction: column;
  }

  .re-card--list .re-card__media {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}
.re-price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  color: var(--re-ink, #14110e);
  font-family: var(--re-font-display, Georgia, serif);
  line-height: 1.1;
}

.re-price__value {
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.re-price[data-size="sm"] .re-price__value {
  font-size: 1.02rem;
}

.re-price[data-size="lg"] .re-price__value {
  font-size: 2rem;
}

.re-price__meta,
.re-price__was {
  font-family: var(--re-font-sans, system-ui, sans-serif);
  font-size: var(--re-text-xs, 0.72rem);
  color: var(--re-ink-subtle, #8a8177);
  white-space: nowrap;
}

.re-price__was {
  text-decoration: line-through;
}
.re-gallery {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--re-font-sans, system-ui, sans-serif);
}

.re-gallery__stage {
  position: relative;
  border-radius: var(--re-radius, 14px);
  overflow: hidden;
  background: var(--re-surface-sunken, #f3ede3);
  aspect-ratio: 16 / 10;
}

.re-gallery__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--re-surface-sunken, #f3ede3), var(--re-surface-muted, #fbf8f3));
}

.re-gallery__main {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.re-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.re-gallery__main:focus-visible,
.re-gallery__thumb:focus-visible,
.re-gallery__nav:focus-visible,
.re-gallery__close:focus-visible,
.re-gallery__lightbox-nav button:focus-visible {
  outline: 2px solid var(--re-accent, #1c5c4a);
  outline-offset: 2px;
}

.re-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0 0 2px;
  border: 0;
  border-radius: 50%;
  background: var(--re-surface, #fff);
  color: var(--re-ink, #14110e);
  box-shadow: var(--re-shadow-icon, 0 2px 6px rgba(0, 0, 0, 0.16));
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.92;
}

.re-gallery__nav:hover {
  opacity: 1;
}

.re-gallery__nav--prev {
  left: 10px;
}

.re-gallery__nav--next {
  right: 10px;
}

.re-gallery__counter {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 4px 9px;
  border-radius: var(--re-radius-pill, 999px);
  background: rgba(20, 17, 14, 0.62);
  color: #fff;
  font-size: var(--re-text-xs, 0.72rem);
  font-variant-numeric: tabular-nums;
}

.re-gallery__thumbs {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}

.re-gallery__thumb {
  width: 72px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--re-line, #e2d9cb);
  border-radius: var(--re-radius-sm, 8px);
  overflow: hidden;
  background: var(--re-surface-sunken, #f3ede3);
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.re-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.re-gallery__thumb:hover {
  opacity: 1;
}

.re-gallery__thumb.is-active {
  opacity: 1;
  border-color: var(--re-ink, #14110e);
}

/* lightbox */
.re-gallery__lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12, 10, 9, 0.82);
  backdrop-filter: blur(4px);
}

.re-gallery__lightbox-inner {
  position: relative;
  width: min(1040px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.re-gallery__lightbox-inner > img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--re-radius, 14px);
  background: #0c0a09;
}

.re-gallery__caption {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--re-text-sm, 0.82rem);
}

.re-gallery__lightbox-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--re-text-sm, 0.82rem);
  font-variant-numeric: tabular-nums;
}

.re-gallery__lightbox-nav {
  display: flex;
  gap: 6px;
}

.re-gallery__lightbox-nav button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0 0 2px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.re-gallery__lightbox-nav button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.re-gallery__close {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #14110e;
  font-size: 13px;
  cursor: pointer;
}
.re-video {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--re-line, #e2d9cb);
  border-radius: var(--re-radius, 14px);
  background: var(--re-surface, #fff);
  color: var(--re-ink, #14110e);
  font-family: var(--re-font-sans, system-ui, sans-serif);
}

.re-video__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0c0a09;
}

.re-video__el {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.re-video__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  background: linear-gradient(180deg, rgba(12, 10, 9, 0.1), rgba(12, 10, 9, 0.55));
  color: #fff;
  cursor: pointer;
}

.re-video__overlay:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

.re-video__play {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  padding-left: 4px;
  border-radius: 50%;
  background: rgba(251, 248, 243, 0.96);
  color: var(--re-ink, #14110e);
  font-size: 18px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.re-video__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.re-video__length {
  padding: 3px 9px;
  border-radius: var(--re-radius-pill, 999px);
  background: rgba(12, 10, 9, 0.6);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

.re-video__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid var(--re-line, #e2d9cb);
}

.re-video__button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--re-ink, #14110e);
  font-size: 0.8rem;
  cursor: pointer;
}

.re-video__button:hover {
  background: var(--re-surface-sunken, #f3ede3);
}

.re-video__button[aria-pressed="true"] {
  color: var(--re-ink-subtle, #8a8177);
}

.re-video__button:focus-visible,
.re-video__chapter:focus-visible {
  outline: 2px solid var(--re-accent, #1c5c4a);
  outline-offset: 2px;
}

.re-video__seek {
  flex: 1;
  min-width: 60px;
  accent-color: var(--re-accent, #1c5c4a);
}

.re-video__time {
  font-size: 0.74rem;
  color: var(--re-ink-subtle, #8a8177);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.re-video__chapters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 10px 12px;
  border-top: 1px solid var(--re-line, #e2d9cb);
  list-style: none;
}

.re-video__chapter {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--re-line, #e2d9cb);
  border-radius: var(--re-radius-pill, 999px);
  background: var(--re-surface, #fff);
  color: var(--re-ink-muted, #4a433c);
  font-family: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}

.re-video__chapter:hover {
  border-color: var(--re-line-strong, #cfc3b0);
  color: var(--re-ink, #14110e);
}

.re-video__chapter-time {
  font-size: 0.7rem;
  color: var(--re-ink-subtle, #8a8177);
  font-variant-numeric: tabular-nums;
}

.re-video__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-top: 1px solid var(--re-line, #e2d9cb);
  background: var(--re-surface-muted, #fbf8f3);
  font-size: 0.78rem;
  color: var(--re-ink-subtle, #8a8177);
}

.re-video__caption b {
  font-weight: 500;
  color: var(--re-ink, #14110e);
}
.re-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 44px 28px 40px;
  border: 1px dashed var(--re-line-strong, #cfc3b0);
  border-radius: var(--re-radius, 14px);
  background: var(--re-surface, #fff);
  text-align: center;
  font-family: var(--re-font-sans, system-ui, sans-serif);
}

.re-empty__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--re-accent-soft, #e6efe9);
  color: var(--re-accent, #1c5c4a);
}

.re-empty[data-variant="error"] .re-empty__icon {
  background: #fbeeee;
  color: var(--re-danger, #b03a3a);
}

.re-empty[data-variant="empty"] .re-empty__icon {
  background: var(--re-surface-sunken, #f3ede3);
  color: var(--re-ink-muted, #4a433c);
}

.re-empty__title {
  margin: 0;
  font-family: var(--re-font-display, Georgia, serif);
  font-size: 1.22rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--re-ink, #14110e);
}

.re-empty__body {
  margin: 0;
  max-width: 42ch;
  font-size: var(--re-text-sm, 0.82rem);
  line-height: 1.6;
  color: var(--re-ink-muted, #4a433c);
}

.re-empty__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.re-empty__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 0;
  border-radius: var(--re-radius-pill, 999px);
  background: var(--re-ink, #14110e);
  color: var(--re-surface, #fff);
  font-family: inherit;
  font-size: var(--re-text-sm, 0.82rem);
  font-weight: 500;
  cursor: pointer;
}

.re-empty__button:hover {
  background: var(--re-accent-hover, #17503f);
}

.re-empty__button:focus-visible {
  outline: 2px solid var(--re-accent, #1c5c4a);
  outline-offset: 2px;
}

/* ---- premium components: @homeframe/ui-pro and @homeframe/connect-kit ----
   Included so the live previews in #premium render with the same CSS the
   packages ship. Regenerate with: npm run build:site-previews. ---- */
/* ==========================================================================
   @homeframe/ui-pro — the fifteen paid transaction components.
   Tokens only: no component here hardcodes a colour, radius, font or shadow.
   ========================================================================== */

.re-pro {
  color: var(--re-ink, #14110e);
  font-family: var(--re-font-sans, system-ui, sans-serif);
  font-size: var(--re-text-sm, 0.82rem);
}

.re-pro--empty {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 24px;
  border: 1px dashed var(--re-line, #e2d9cb);
  border-radius: var(--re-radius, 14px);
}

.re-pro-empty {
  margin: 0;
  max-width: 42ch;
  text-align: center;
  color: var(--re-ink-muted, #4a433c);
}

/* ---------- headings ---------- */

.re-pro__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.re-pro__title {
  margin: 0;
  font-family: var(--re-font-display, Georgia, serif);
  font-size: var(--re-text-lg, 1rem);
  font-weight: 500;
}

.re-pro__meta {
  color: var(--re-ink-subtle, #8a8177);
  font-size: var(--re-text-xs, 0.72rem);
}

.re-pro-caption {
  padding-bottom: 8px;
  text-align: left;
  font-size: var(--re-text-xs, 0.72rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--re-ink-subtle, #8a8177);
}

/* ---------- chips ---------- */

.re-pro-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--re-radius-pill, 999px);
  background: var(--re-surface-sunken, #f3ede3);
  color: var(--re-ink-muted, #4a433c);
  font-size: var(--re-text-xs, 0.72rem);
  line-height: 1.5;
  white-space: nowrap;
}

.re-pro-chip[data-tone="ok"] {
  background: var(--re-accent-soft, #e6efe9);
  color: var(--re-accent, #1c5c4a);
}

.re-pro-chip[data-tone="warn"] {
  background: var(--re-status-soon-bg, #7c6a4e);
  color: var(--re-status-soon-ink, #ffffff);
}

.re-pro-chip[data-tone="danger"] {
  background: var(--re-danger-soft, #fbeeee);
  color: var(--re-danger, #b03a3a);
}

/* ---------- lists ---------- */

.re-pro-list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.re-pro-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--re-line, #e2d9cb);
}

.re-pro-item:last-child {
  border-bottom: 0;
}

.re-pro-item__main {
  display: grid;
  gap: 2px;
  min-width: 0;
  margin-right: auto;
}

.re-pro-item__label {
  font-weight: 500;
  color: var(--re-ink, #14110e);
}

.re-pro-item__meta {
  color: var(--re-ink-subtle, #8a8177);
  font-size: var(--re-text-xs, 0.72rem);
}

.re-pro-item[data-state="done"] .re-pro-item__label {
  color: var(--re-ink-subtle, #8a8177);
  text-decoration: line-through;
}

.re-pro-actions {
  display: inline-flex;
  gap: 6px;
}

/* ---------- buttons ---------- */

.re-pro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border: 1px solid var(--re-line-strong, #cfc3b0);
  border-radius: var(--re-radius-sm, 8px);
  background: var(--re-surface, #fff);
  color: var(--re-ink, #14110e);
  font: inherit;
  font-size: var(--re-text-xs, 0.72rem);
  cursor: pointer;
}

.re-pro-btn:hover:not(:disabled) {
  border-color: var(--re-accent, #1c5c4a);
  color: var(--re-accent, #1c5c4a);
}

.re-pro-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.re-pro-btn:focus-visible {
  outline: 2px solid var(--re-accent, #1c5c4a);
  outline-offset: 2px;
}

.re-pro-btn--ghost {
  background: transparent;
}

.re-pro-btn--link {
  padding: 0;
  border: 0;
  background: none;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- money ---------- */

.re-pro-money {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.re-pro-money--danger {
  color: var(--re-danger, #b03a3a);
}

/* ---------- tables ---------- */

.re-pro-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.re-pro-table th,
.re-pro-table td {
  padding: 9px 10px 9px 0;
  border-bottom: 1px solid var(--re-line, #e2d9cb);
  vertical-align: top;
}

.re-pro-table thead th {
  font-size: var(--re-text-xs, 0.72rem);
  font-weight: 500;
  color: var(--re-ink-subtle, #8a8177);
}

.re-pro-table tbody th {
  font-weight: 400;
  color: var(--re-ink-muted, #4a433c);
}

.re-pro-table--offers thead th {
  min-width: 140px;
}

.re-pro-offer__buyer {
  display: block;
  margin-bottom: 4px;
  font-size: var(--re-text-sm, 0.82rem);
  font-weight: 500;
  color: var(--re-ink, #14110e);
}

/* ---------- pipeline board ---------- */

.re-pro-board {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.re-pro-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.re-pro-col__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--re-line, #e2d9cb);
  font-size: var(--re-text-xs, 0.72rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--re-ink-muted, #4a433c);
}

.re-pro-col__count {
  padding: 1px 7px;
  border-radius: var(--re-radius-pill, 999px);
  background: var(--re-surface-sunken, #f3ede3);
  color: var(--re-ink-subtle, #8a8177);
  font-size: var(--re-text-xs, 0.72rem);
}

.re-pro-col__list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.re-pro-col__empty {
  margin: 0;
  padding: 12px;
  border: 1px dashed var(--re-line, #e2d9cb);
  border-radius: var(--re-radius-sm, 8px);
  text-align: center;
  color: var(--re-ink-subtle, #8a8177);
  font-size: var(--re-text-xs, 0.72rem);
}

.re-pro-deal {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--re-line, #e2d9cb);
  border-radius: var(--re-radius-sm, 8px);
  background: var(--re-surface, #fff);
  color: var(--re-ink, #14110e);
  font: inherit;
  text-align: left;
}

button.re-pro-deal {
  cursor: pointer;
}

button.re-pro-deal:hover {
  border-color: var(--re-line-strong, #cfc3b0);
}

button.re-pro-deal:focus-visible {
  outline: 2px solid var(--re-accent, #1c5c4a);
  outline-offset: 2px;
}

.re-pro-deal__title {
  font-weight: 500;
}

.re-pro-deal__addr {
  color: var(--re-ink-subtle, #8a8177);
  font-size: var(--re-text-xs, 0.72rem);
}

/* ---------- progress ---------- */

.re-pro-bar {
  height: 6px;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: var(--re-radius-pill, 999px);
  background: var(--re-surface-sunken, #f3ede3);
}

.re-pro-bar__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--re-accent, #1c5c4a);
  transition: width 0.2s ease;
}

/* ---------- checkbox rows ---------- */

.re-pro-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  margin-right: auto;
  cursor: pointer;
}

.re-pro-check input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--re-accent, #1c5c4a);
}

.re-pro-check:focus-within {
  outline: 2px solid var(--re-accent, #1c5c4a);
  outline-offset: 3px;
  border-radius: var(--re-radius-sm, 8px);
}

/* ---------- calculators ---------- */

.re-pro-calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.re-pro-calc__fields {
  display: grid;
  gap: 12px;
}

.re-pro-calc__summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--re-line, #e2d9cb);
  border-radius: var(--re-radius, 14px);
  background: var(--re-surface-muted, #fbf8f3);
}

.re-pro-calc__amount {
  font-family: var(--re-font-display, Georgia, serif);
  font-size: var(--re-text-xl, 1.35rem);
  font-weight: 500;
}

.re-pro-field {
  display: grid;
  gap: 4px;
}

.re-pro-field__label {
  font-size: var(--re-text-xs, 0.72rem);
  color: var(--re-ink-muted, #4a433c);
}

.re-pro-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--re-line, #e2d9cb);
  border-radius: var(--re-radius-sm, 8px);
  background: var(--re-surface, #fff);
  color: var(--re-ink, #14110e);
  font: inherit;
  font-size: var(--re-text-sm, 0.82rem);
}

.re-pro-input:focus-visible {
  outline: 2px solid var(--re-accent, #1c5c4a);
  outline-offset: 1px;
}

/* ---------- facts ---------- */

.re-pro-facts {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
}

.re-pro-facts--inline {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  padding: 12px 0 0;
  border-top: 1px solid var(--re-line, #e2d9cb);
}

.re-pro-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.re-pro-facts dt {
  color: var(--re-ink-subtle, #8a8177);
  font-size: var(--re-text-xs, 0.72rem);
}

.re-pro-facts dd {
  margin: 0;
  font-weight: 500;
}

/* ---------- ledgers ---------- */

.re-pro-ledger__address {
  margin: 0 0 10px;
  color: var(--re-ink-muted, #4a433c);
  font-size: var(--re-text-xs, 0.72rem);
}

.re-pro-ledger__rows {
  display: grid;
  gap: 0;
  margin: 0;
}

.re-pro-ledger__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--re-line, #e2d9cb);
}

.re-pro-ledger__row dt {
  color: var(--re-ink-muted, #4a433c);
}

.re-pro-ledger__row dd {
  margin: 0;
}

.re-pro-ledger__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--re-line-strong, #cfc3b0);
  font-size: var(--re-text-base, 0.92rem);
}

.re-pro-ledger__total b {
  font-family: var(--re-font-display, Georgia, serif);
  font-size: var(--re-text-lg, 1rem);
  font-weight: 500;
}

/* ---------- aging ---------- */

.re-pro-aging {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.re-pro-aging__bucket {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid var(--re-line, #e2d9cb);
  border-radius: var(--re-radius-sm, 8px);
  color: var(--re-ink-muted, #4a433c);
  font-size: var(--re-text-xs, 0.72rem);
}

.re-pro-aging__bucket[data-tone="danger"] {
  border-color: var(--re-danger, #b03a3a);
  color: var(--re-danger, #b03a3a);
}

.re-pro-aging__bucket b {
  font-size: var(--re-text-base, 0.92rem);
  color: var(--re-ink, #14110e);
}

.re-pro-aging__bucket[data-tone="danger"] b {
  color: var(--re-danger, #b03a3a);
}

/* ---------- responsive ---------- */

@media (max-width: 720px) {
  .re-pro-calc {
    grid-template-columns: 1fr;
  }

  .re-pro-board {
    grid-auto-flow: row;
    grid-auto-columns: auto;
  }
}

/* ==========================================================================
   @homeframe/connect-kit — provider setup, field mapping and feed health.
   Tokens only: no colour, radius, font or shadow is hardcoded.
   ========================================================================== */

.re-ck {
  color: var(--re-ink, #14110e);
  font-family: var(--re-font-sans, system-ui, sans-serif);
  font-size: var(--re-text-sm, 0.82rem);
}

.re-ck--empty {
  display: grid;
  place-items: center;
  min-height: 110px;
  padding: 24px;
  border: 1px dashed var(--re-line, #e2d9cb);
  border-radius: var(--re-radius, 14px);
}

.re-ck-empty {
  margin: 0;
  max-width: 42ch;
  text-align: center;
  color: var(--re-ink-muted, #4a433c);
}

.re-ck-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--re-line, #e2d9cb);
  border-radius: var(--re-radius, 14px);
  background: var(--re-surface, #fff);
}

.re-ck__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.re-ck__title {
  margin: 0;
  font-family: var(--re-font-display, Georgia, serif);
  font-size: var(--re-text-lg, 1rem);
  font-weight: 500;
}

.re-ck__meta {
  color: var(--re-ink-subtle, #8a8177);
  font-size: var(--re-text-xs, 0.72rem);
}

.re-ck-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- chips ---------- */

.re-ck-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--re-radius-pill, 999px);
  background: var(--re-surface-sunken, #f3ede3);
  color: var(--re-ink-muted, #4a433c);
  font-size: var(--re-text-xs, 0.72rem);
  white-space: nowrap;
}

.re-ck-chip[data-tone="ok"] {
  background: var(--re-accent-soft, #e6efe9);
  color: var(--re-accent, #1c5c4a);
}

.re-ck-chip[data-tone="warn"] {
  background: var(--re-status-soon-bg, #7c6a4e);
  color: var(--re-status-soon-ink, #ffffff);
}

.re-ck-chip[data-tone="danger"] {
  background: var(--re-danger-soft, #fbeeee);
  color: var(--re-danger, #b03a3a);
}

/* ---------- provider list ---------- */

.re-ck-providers {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.re-ck-provider {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "name mark" "meta mark";
  align-items: center;
  gap: 2px 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--re-line, #e2d9cb);
  border-radius: var(--re-radius-sm, 8px);
  background: var(--re-surface, #fff);
  color: var(--re-ink, #14110e);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.re-ck-provider:hover {
  border-color: var(--re-line-strong, #cfc3b0);
}

.re-ck-provider[aria-pressed="true"] {
  border-color: var(--re-accent, #1c5c4a);
  background: var(--re-accent-soft, #e6efe9);
}

.re-ck-provider:focus-visible {
  outline: 2px solid var(--re-accent, #1c5c4a);
  outline-offset: 2px;
}

.re-ck-provider__name {
  grid-area: name;
  font-weight: 500;
}

.re-ck-provider__meta {
  grid-area: meta;
  color: var(--re-ink-subtle, #8a8177);
  font-size: var(--re-text-xs, 0.72rem);
}

.re-ck-provider__mark {
  grid-area: mark;
  color: var(--re-accent, #1c5c4a);
}

/* ---------- fields ---------- */

.re-ck-field {
  display: grid;
  gap: 4px;
}

.re-ck-field__label {
  font-size: var(--re-text-xs, 0.72rem);
  color: var(--re-ink-muted, #4a433c);
}

.re-ck-input {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--re-line, #e2d9cb);
  border-radius: var(--re-radius-sm, 8px);
  background: var(--re-surface, #fff);
  color: var(--re-ink, #14110e);
  font: inherit;
  font-family: var(--re-font-sans, system-ui, sans-serif);
}

.re-ck-input[aria-invalid="true"] {
  border-color: var(--re-danger, #b03a3a);
}

.re-ck-input:focus-visible {
  outline: 2px solid var(--re-accent, #1c5c4a);
  outline-offset: 1px;
}

.re-ck-check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.re-ck-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--re-accent, #1c5c4a);
}

.re-ck-check__label {
  margin-right: auto;
}

.re-ck-error {
  margin: 0;
  color: var(--re-danger, #b03a3a);
  font-size: var(--re-text-xs, 0.72rem);
}

.re-ck-btn {
  justify-self: start;
  padding: 8px 14px;
  border: 1px solid var(--re-accent, #1c5c4a);
  border-radius: var(--re-radius-sm, 8px);
  background: var(--re-accent, #1c5c4a);
  color: var(--re-accent-ink, #ffffff);
  font: inherit;
  font-size: var(--re-text-xs, 0.72rem);
  cursor: pointer;
}

.re-ck-btn:hover:not(:disabled) {
  background: var(--re-accent-hover, #17503f);
}

.re-ck-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.re-ck-btn--ghost {
  border-color: var(--re-line-strong, #cfc3b0);
  background: transparent;
  color: var(--re-ink, #14110e);
}

.re-ck-btn--ghost:hover:not(:disabled) {
  background: var(--re-surface-sunken, #f3ede3);
}

.re-ck-btn:focus-visible {
  outline: 2px solid var(--re-accent, #1c5c4a);
  outline-offset: 2px;
}

.re-ck-status {
  margin: 0;
  color: var(--re-ink-muted, #4a433c);
}

/* ---------- lists ---------- */

.re-ck-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.re-ck-list--rows {
  gap: 0;
}

.re-ck-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--re-line, #e2d9cb);
}

.re-ck-row:last-child {
  border-bottom: 0;
}

.re-ck-row__main {
  display: grid;
  gap: 2px;
  min-width: 0;
  margin-right: auto;
}

.re-ck-row__title {
  font-weight: 500;
}

.re-ck-row__meta {
  color: var(--re-ink-subtle, #8a8177);
  font-size: var(--re-text-xs, 0.72rem);
}

/* ---------- table ---------- */

.re-ck-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.re-ck-table th,
.re-ck-table td {
  padding: 9px 10px 9px 0;
  border-bottom: 1px solid var(--re-line, #e2d9cb);
  vertical-align: middle;
}

.re-ck-table thead th {
  font-size: var(--re-text-xs, 0.72rem);
  font-weight: 500;
  color: var(--re-ink-subtle, #8a8177);
}

.re-ck-table tbody th {
  font-weight: 500;
  font-family: var(--re-font-sans, system-ui, sans-serif);
}

.re-ck-table tr[data-state="unmapped"] th {
  color: var(--re-danger, #b03a3a);
}

/* ---------- facts ---------- */

.re-ck-facts {
  display: grid;
  gap: 6px;
  margin: 0;
}

.re-ck-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.re-ck-facts dt {
  color: var(--re-ink-subtle, #8a8177);
  font-size: var(--re-text-xs, 0.72rem);
}

.re-ck-facts dd {
  margin: 0;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.re-ck-facts__danger {
  color: var(--re-danger, #b03a3a);
}

/* ---------- banner ---------- */

.re-ck-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--re-line, #e2d9cb);
  border-radius: var(--re-radius-sm, 8px);
  background: var(--re-surface-muted, #fbf8f3);
}

.re-ck-banner[data-tone="ok"] {
  border-color: var(--re-accent-line, #cfe2d6);
  background: var(--re-accent-soft, #e6efe9);
}

.re-ck-banner[data-tone="danger"] {
  border-color: var(--re-danger, #b03a3a);
  background: var(--re-danger-soft, #fbeeee);
}

.re-ck-banner__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--re-accent, #1c5c4a);
}

.re-ck-banner[data-tone="warn"] .re-ck-banner__dot {
  background: var(--re-status-soon-bg, #7c6a4e);
}

.re-ck-banner[data-tone="danger"] .re-ck-banner__dot {
  background: var(--re-danger, #b03a3a);
}

.re-ck-banner__text {
  margin-right: auto;
}

.re-ck-banner__meta {
  color: var(--re-ink-subtle, #8a8177);
  font-size: var(--re-text-xs, 0.72rem);
  white-space: nowrap;
}

/* ---------- IDX attribution ---------- */

.re-ck-attribution {
  padding-top: 10px;
  border-top: 1px solid var(--re-line, #e2d9cb);
  color: var(--re-ink-subtle, #8a8177);
  font-size: var(--re-text-xs, 0.72rem);
}

.re-ck-attribution__line,
.re-ck-attribution__notice {
  margin: 0;
}

.re-ck-attribution__notice {
  margin-top: 2px;
  color: var(--re-ink-muted, #4a433c);
}

/* ---- premium components: phone fixes, mirrored from the packages ---- */
@media (max-width: 560px) {
  .re-pro-item { flex-wrap: wrap; row-gap: 6px; }
  .re-pro-item__main { flex: 1 1 100%; }
  .re-pro-btn { min-height: 40px; }
  .re-ck-row { flex-wrap: wrap; row-gap: 6px; }
  .re-ck-row__main { flex: 1 1 100%; }
  .re-ck-btn { min-height: 40px; }
}

/* ---- listings and escrow: @homeframe/ui-listings ---- */
/* ==========================================================================
   @homeframe/ui-listings — listings and escrow for an agent's own site.
   Tokens only: no colour, radius, font or shadow is hardcoded.
   ========================================================================== */

.re-le {
  color: var(--re-ink, #14110e);
  font-family: var(--re-font-sans, system-ui, sans-serif);
  font-size: var(--re-text-sm, 0.82rem);
}

.re-le--empty {
  display: grid;
  place-items: center;
  min-height: 110px;
  padding: 24px;
  border: 1px dashed var(--re-line, #e2d9cb);
  border-radius: var(--re-radius, 14px);
}

.re-le-empty {
  margin: 0;
  max-width: 40ch;
  text-align: center;
  color: var(--re-ink-muted, #4a433c);
}

.re-le-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--re-line, #e2d9cb);
  border-radius: var(--re-radius, 14px);
  background: var(--re-surface, #fff);
}

.re-le__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.re-le__title {
  margin: 0;
  font-family: var(--re-font-display, Georgia, serif);
  font-size: var(--re-text-lg, 1rem);
  font-weight: 500;
}

.re-le__meta {
  color: var(--re-ink-subtle, #8a8177);
  font-size: var(--re-text-xs, 0.72rem);
}

/* ---------- chips ---------- */

.re-le-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--re-radius-pill, 999px);
  background: var(--re-surface-sunken, #f3ede3);
  color: var(--re-ink-muted, #4a433c);
  font-size: var(--re-text-xs, 0.72rem);
  white-space: nowrap;
}

.re-le-chip[data-tone="ok"] {
  background: var(--re-accent-soft, #e6efe9);
  color: var(--re-accent, #1c5c4a);
}

.re-le-chip[data-tone="warn"] {
  background: var(--re-status-soon-bg, #7c6a4e);
  color: var(--re-status-soon-ink, #ffffff);
}

.re-le-chip[data-tone="danger"] {
  background: var(--re-danger-soft, #fbeeee);
  color: var(--re-danger, #b03a3a);
}

/* ---------- listing hero ---------- */

.re-le-hero {
  overflow: hidden;
  border: 1px solid var(--re-line, #e2d9cb);
  border-radius: var(--re-radius, 14px);
  background: var(--re-surface, #fff);
}

.re-le-hero__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--re-surface-sunken, #f3ede3);
}

.re-le-hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.re-le-hero__photo--empty {
  display: grid;
  place-items: center;
  color: var(--re-ink-subtle, #8a8177);
  font-size: var(--re-text-xs, 0.72rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.re-le-hero__eyebrow {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--re-surface, #fff);
  color: var(--re-ink, #14110e);
}

.re-le-hero__body {
  display: grid;
  gap: 4px;
  padding: 16px;
}

.re-le-hero__price {
  margin: 0;
  font-family: var(--re-font-display, Georgia, serif);
  font-size: var(--re-text-xl, 1.35rem);
  color: var(--re-ink, #14110e);
}

.re-le-hero__address {
  margin: 0;
  font-size: var(--re-text-base, 0.92rem);
  font-weight: 500;
}

.re-le-hero__city {
  margin: 0;
  color: var(--re-ink-subtle, #8a8177);
  font-size: var(--re-text-xs, 0.72rem);
}

.re-le-hero__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  color: var(--re-ink-muted, #4a433c);
  font-size: var(--re-text-xs, 0.72rem);
}

.re-le-hero__specs li::before {
  content: "· ";
  color: var(--re-ink-subtle, #8a8177);
}

.re-le-hero__specs li:first-child::before {
  content: "";
}

.re-le-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

/* ---------- buttons ---------- */

.re-le-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid var(--re-accent, #1c5c4a);
  border-radius: var(--re-radius-sm, 8px);
  background: var(--re-accent, #1c5c4a);
  color: var(--re-accent-ink, #ffffff);
  font: inherit;
  font-size: var(--re-text-xs, 0.72rem);
  text-decoration: none;
  cursor: pointer;
}

.re-le-btn:hover:not(:disabled) {
  background: var(--re-accent-hover, #17503f);
}

.re-le-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.re-le-btn--ghost {
  border-color: var(--re-line-strong, #cfc3b0);
  background: transparent;
  color: var(--re-ink, #14110e);
}

.re-le-btn--ghost:hover:not(:disabled) {
  background: var(--re-surface-sunken, #f3ede3);
}

.re-le-btn:focus-visible {
  outline: 2px solid var(--re-accent, #1c5c4a);
  outline-offset: 2px;
}

/* ---------- open houses ---------- */

.re-le-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.re-le-open {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--re-line, #e2d9cb);
}

.re-le-open:last-child {
  border-bottom: 0;
}

.re-le-open[data-state="canceled"] .re-le-open__when {
  text-decoration: line-through;
  color: var(--re-ink-subtle, #8a8177);
}

.re-le-open__date {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  padding: 6px 0;
  border: 1px solid var(--re-line, #e2d9cb);
  border-radius: var(--re-radius-sm, 8px);
  background: var(--re-surface-muted, #fbf8f3);
  line-height: 1.1;
}

.re-le-open__month {
  font-size: var(--re-text-xs, 0.72rem);
  letter-spacing: 0.08em;
  color: var(--re-ink-subtle, #8a8177);
}

.re-le-open__day {
  font-family: var(--re-font-display, Georgia, serif);
  font-size: var(--re-text-lg, 1rem);
}

.re-le-open__main {
  display: grid;
  gap: 2px;
  min-width: 0;
  margin-right: auto;
}

.re-le-open__when {
  font-weight: 500;
}

.re-le-open__time,
.re-le-open__note {
  color: var(--re-ink-subtle, #8a8177);
  font-size: var(--re-text-xs, 0.72rem);
}

/* ---------- forms ---------- */

.re-le-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.re-le-field {
  display: grid;
  gap: 4px;
}

.re-le-field__label {
  font-size: var(--re-text-xs, 0.72rem);
  color: var(--re-ink-muted, #4a433c);
}

.re-le-input {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--re-line, #e2d9cb);
  border-radius: var(--re-radius-sm, 8px);
  background: var(--re-surface, #fff);
  color: var(--re-ink, #14110e);
  font: inherit;
  font-family: var(--re-font-sans, system-ui, sans-serif);
}

.re-le-textarea {
  resize: vertical;
}

.re-le-input:focus-visible {
  outline: 2px solid var(--re-accent, #1c5c4a);
  outline-offset: 1px;
}

.re-le-error {
  margin: 0;
  color: var(--re-danger, #b03a3a);
  font-size: var(--re-text-xs, 0.72rem);
}

.re-le-note {
  margin: 0;
  color: var(--re-ink-subtle, #8a8177);
  font-size: var(--re-text-xs, 0.72rem);
}

.re-le-success {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--re-accent-line, #cfe2d6);
  border-radius: var(--re-radius-sm, 8px);
  background: var(--re-accent-soft, #e6efe9);
}

.re-le-success__title {
  color: var(--re-accent, #1c5c4a);
  font-weight: 500;
}

.re-le-success__body {
  margin: 0;
  color: var(--re-ink-muted, #4a433c);
}

/* ---------- escrow ---------- */

/* Phone: rows wrap instead of pushing past the viewport, and buttons stay
   tappable. */
@media (max-width: 560px) {
  .re-le-open { flex-wrap: wrap; row-gap: 6px; }
  .re-le-open__main { flex: 1 1 60%; }
  .re-le-grid { grid-template-columns: 1fr; }
  .re-le-btn { min-height: 40px; }
  .re-le-open .re-le-btn { margin-left: auto; }
}
