/* Generated from homeframe-ui/packages/ui-free/src/style.css — do not edit.
   Regenerate with: cd homeframe-ui && npm run build:site-css */

.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__error {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px;
  text-align: center;
  background: var(--re-surface-sunken, #f3ede3);
  color: var(--re-ink, #14110e);
}

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

.re-video__error span {
  max-width: 34ch;
  font-size: var(--re-text-sm, 0.82rem);
  color: var(--re-ink-muted, #4a433c);
}

/* Paused poster: address, contact links and the company logo. The panel lets
   clicks through to the play overlay underneath, except on the contact links. */
.re-video__paused {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--re-radius-sm, 8px);
  background: rgba(12, 10, 9, 0.62);
  color: #fff;
  font-size: var(--re-text-sm, 0.82rem);
  pointer-events: none;
}

.re-video__logo {
  flex: none;
  max-width: 96px;
  max-height: 28px;
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  object-fit: contain;
}

.re-video__paused-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.re-video__address {
  margin: 0;
  overflow: hidden;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.re-video__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  margin: 0;
  font-size: var(--re-text-xs, 0.72rem);
  color: rgba(255, 255, 255, 0.82);
}

.re-video__contact a {
  color: inherit;
  pointer-events: auto;
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.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: var(--re-danger-soft, #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;
}

.re-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42%;
  gap: 18px;
  align-items: start;
}

.re-split__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.re-split__item {
  border-radius: var(--re-radius, 14px);
  transition: outline-color 0.15s ease;
  outline: 2px solid transparent;
  outline-offset: 3px;
}

.re-split__item[data-active="true"] {
  outline-color: var(--re-accent, #1c5c4a);
}

.re-split__map {
  position: sticky;
  top: 16px;
  display: grid;
  place-items: center;
  min-height: 440px;
  height: calc(100vh - 60px);
  overflow: hidden;
  border: 1px solid var(--re-line, #e2d9cb);
  border-radius: var(--re-radius, 14px);
  background: var(--re-surface-sunken, #f3ede3);
}

.re-split__map-placeholder,
.re-split__empty {
  margin: 0;
  padding: 20px;
  text-align: center;
  font-family: var(--re-font-sans, system-ui, sans-serif);
  font-size: 0.82rem;
  color: var(--re-ink-subtle, #8a8177);
}

.re-split--empty {
  display: block;
}

@media (max-width: 980px) {
  .re-split {
    grid-template-columns: 1fr;
  }

  .re-split__map {
    position: static;
    order: -1;
    height: 320px;
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .re-split__list {
    grid-template-columns: 1fr;
  }
}

.re-map {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--re-line, #e2d9cb);
  border-radius: var(--re-radius, 14px);
  background: var(--re-surface-sunken, #f3ede3);
  color: var(--re-ink, #14110e);
  font-family: var(--re-font-sans, system-ui, sans-serif);
}

.re-map__canvas {
  position: relative;
  flex: 1;
  min-height: 320px;
  aspect-ratio: 4 / 3;
}

.re-map__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, var(--re-line, #e2d9cb) 1px, transparent 1px),
    linear-gradient(0deg, var(--re-line, #e2d9cb) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.55;
}

.re-map__pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 26px;
  padding: 0 8px;
  border: 1px solid var(--re-surface, #fff);
  border-radius: var(--re-radius-pill, 999px);
  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-family: inherit;
  font-size: var(--re-text-xs, 0.72rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.re-map__pin:hover {
  border-color: var(--re-line-strong, #cfc3b0);
  transform: translate(-50%, -50%) scale(1.06);
}

.re-map__pin[data-active="true"] {
  border-color: var(--re-accent, #1c5c4a);
  background: var(--re-accent, #1c5c4a);
  color: var(--re-accent-ink, #ffffff);
}

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

.re-map__pin[data-active="true"]:focus-visible {
  outline-color: var(--re-ink, #14110e);
}

.re-map__pin-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.re-map__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 20px;
  text-align: center;
  font-size: var(--re-text-sm, 0.82rem);
  color: var(--re-ink-muted, #4a433c);
}

.re-map__attribution {
  margin: 0;
  padding: 8px 12px;
  border-top: 1px solid var(--re-line, #e2d9cb);
  background: var(--re-surface, #fff);
  color: var(--re-ink-subtle, #8a8177);
  font-size: var(--re-text-xs, 0.72rem);
}

.re-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--re-font-sans, system-ui, sans-serif);
}

.re-filters__group {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--re-line, #e2d9cb);
  border-radius: var(--re-radius-pill, 999px);
  background: var(--re-surface, #fff);
}

.re-filters__label {
  padding: 0 8px 0 10px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--re-ink-subtle, #8a8177);
}

.re-filters__chip {
  padding: 6px 12px;
  border: 0;
  border-radius: var(--re-radius-pill, 999px);
  background: transparent;
  color: var(--re-ink-muted, #4a433c);
  font-family: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease;
}

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

.re-filters__chip[aria-pressed="true"] {
  background: var(--re-ink, #14110e);
  color: var(--re-surface, #fff);
}

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

.re-filters__save {
  padding: 8px 14px;
  border: 1px solid var(--re-line, #e2d9cb);
  border-radius: var(--re-radius-pill, 999px);
  background: var(--re-surface, #fff);
  color: var(--re-ink, #14110e);
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

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

.re-filters__saved {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px 6px 13px;
  border: 1px solid var(--re-accent-line, #cfe2d6);
  border-radius: var(--re-radius-pill, 999px);
  background: var(--re-accent-soft, #e6efe9);
  color: var(--re-accent, #1c5c4a);
  font-size: 0.8rem;
}

.re-filters__saved button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 0.76rem;
  text-decoration: underline;
  cursor: pointer;
}

.re-address {
  position: relative;
  display: grid;
  gap: 6px;
  font-family: var(--re-font-sans, system-ui, sans-serif);
  color: var(--re-ink, #14110e);
}

.re-address__label {
  font-size: var(--re-text-xs, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--re-ink-subtle, #8a8177);
}

.re-address__anchor {
  position: relative;
}

.re-address__field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px 0 12px;
  border: 1px solid var(--re-line, #e2d9cb);
  border-radius: var(--re-radius-pill, 999px);
  background: var(--re-surface, #fff);
  transition: border-color 0.14s ease, box-shadow 0.14s ease;
}

.re-address__field:focus-within {
  border-color: var(--re-accent-line, #cfe2d6);
  box-shadow: 0 0 0 3px var(--re-accent-soft, #e6efe9);
}

.re-address[data-open="true"] .re-address__field {
  border-color: var(--re-line-strong, #cfc3b0);
}

.re-address__icon {
  display: inline-flex;
  flex: none;
  color: var(--re-ink-subtle, #8a8177);
}

.re-address__input {
  flex: 1;
  min-width: 0;
  padding: 11px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: var(--re-text-base, 0.92rem);
}

.re-address__input::placeholder {
  color: var(--re-ink-subtle, #8a8177);
}

.re-address__input:focus {
  outline: none;
}

.re-address__clear {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: var(--re-radius-pill, 999px);
  background: var(--re-surface-sunken, #f3ede3);
  color: var(--re-ink-muted, #4a433c);
  font-size: 0.7rem;
  line-height: 1;
  cursor: pointer;
}

.re-address__clear:hover {
  background: var(--re-line, #e2d9cb);
}

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

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

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

.re-address__menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  overflow: hidden;
  border: 1px solid var(--re-line, #e2d9cb);
  border-radius: var(--re-radius, 14px);
  background: var(--re-surface, #fff);
  box-shadow: var(--re-shadow-card);
}

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

.re-address__list {
  display: grid;
  max-height: 264px;
  margin: 0;
  padding: 4px;
  overflow-y: auto;
  list-style: none;
}

.re-address__option {
  display: grid;
  gap: 1px;
  padding: 9px 11px;
  border-radius: var(--re-radius-sm, 8px);
  cursor: pointer;
}

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

.re-address__option[aria-selected="true"] {
  background: var(--re-accent-soft, #e6efe9);
}

.re-address__option-label {
  font-size: var(--re-text-base, 0.92rem);
  font-weight: 500;
}

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

/* On a phone the menu should be readable at the keyboard-inflated size. */
@media (max-width: 560px) {
  .re-address__input {
    font-size: 16px;
  }
}

.re-agent {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--re-line, #e2d9cb);
  border-radius: var(--re-radius, 14px);
  background: var(--re-surface, #fff);
  font-family: var(--re-font-sans, system-ui, sans-serif);
}

.re-agent__photo {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--re-line, #e2d9cb);
  background: var(--re-surface-sunken, #f3ede3);
}

.re-agent__photo--initials {
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--re-ink-muted, #4a433c);
}

.re-agent__who {
  flex: 1;
  min-width: 0;
}

.re-agent__name {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--re-ink, #14110e);
}

.re-agent__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 3px 0 0;
  font-size: 0.76rem;
  color: var(--re-ink-subtle, #8a8177);
}

.re-agent__license {
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--re-surface-sunken, #f3ede3);
  font-variant-numeric: tabular-nums;
}

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

.re-agent__action {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border: 1px solid var(--re-line, #e2d9cb);
  border-radius: var(--re-radius-pill, 999px);
  background: var(--re-surface, #fff);
  color: var(--re-ink, #14110e);
  font-size: 0.78rem;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

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

.re-agent__action--primary {
  border-color: var(--re-accent, #1c5c4a);
  background: var(--re-accent, #1c5c4a);
  color: var(--re-accent-ink, #fff);
}

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

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

@media (max-width: 560px) {
  .re-agent {
    flex-wrap: wrap;
  }

  .re-agent__actions {
    width: 100%;
  }

  .re-agent__action {
    flex: 1;
    justify-content: center;
  }
}

.re-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--re-font-sans, system-ui, sans-serif);
}

.re-field__label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--re-ink, #14110e);
}

.re-field__required {
  margin-left: 3px;
  color: var(--re-danger, #b03a3a);
}

.re-field__input,
.re-field__select {
  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-family: inherit;
  font-size: 0.9rem;
  line-height: 1.4;
}

.re-field__input:focus,
.re-field__select:focus {
  outline: 2px solid var(--re-accent, #1c5c4a);
  outline-offset: 1px;
  border-color: var(--re-accent, #1c5c4a);
}

.re-field[data-invalid="true"] .re-field__input,
.re-field[data-invalid="true"] .re-field__select {
  border-color: var(--re-danger, #b03a3a);
}

.re-field__adorned {
  position: relative;
}

.re-field__prefix {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: var(--re-ink-subtle, #8a8177);
  pointer-events: none;
}

.re-field__adorned .re-field__input {
  padding-left: 26px;
}

.re-field__group {
  display: flex;
  gap: 8px;
}

.re-field__group .re-field__input {
  flex: 1;
  min-width: 0;
}

.re-field__group .re-field__select {
  width: auto;
  flex: none;
}

.re-field__stepper {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--re-line, #e2d9cb);
  border-radius: var(--re-radius-sm, 8px);
  background: var(--re-surface, #fff);
}

.re-field__stepper button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--re-ink, #14110e);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.re-field__stepper button:hover:not(:disabled) {
  background: var(--re-surface-sunken, #f3ede3);
}

.re-field__stepper button:disabled {
  color: var(--re-line-strong, #cfc3b0);
  cursor: not-allowed;
}

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

.re-field__count {
  min-width: 38px;
  text-align: center;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  color: var(--re-ink, #14110e);
}

.re-field__hint {
  margin: 0;
  font-size: 0.76rem;
  color: var(--re-ink-subtle, #8a8177);
}

.re-field__error {
  margin: 0;
  font-size: 0.76rem;
  color: var(--re-danger, #b03a3a);
}

.re-shell {
  min-height: 100%;
  background: var(--re-surface-muted, #fbf8f3);
  color: var(--re-ink, #14110e);
  font-family: var(--re-font-sans, system-ui, sans-serif);
}

.re-shell__header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--re-line, #e2d9cb);
  background: color-mix(in srgb, var(--re-surface, #fff) 88%, transparent);
  backdrop-filter: blur(12px);
}

.re-shell__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1280px;
  height: 62px;
  margin: 0 auto;
  padding: 0 20px;
}

.re-shell__brand {
  font-family: var(--re-font-display, Georgia, serif);
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.re-shell__nav {
  display: flex;
  gap: 22px;
  font-size: 0.88rem;
  color: var(--re-ink-muted, #4a433c);
}

.re-shell__link:hover {
  color: var(--re-ink, #14110e);
}

.re-shell__link[aria-current="page"] {
  color: var(--re-ink, #14110e);
  font-weight: 500;
}

.re-shell__account {
  display: flex;
  align-items: center;
  gap: 12px;
}

.re-shell__saved {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--re-ink-muted, #4a433c);
}

.re-shell__count {
  padding: 1px 7px;
  border-radius: var(--re-radius-pill, 999px);
  background: var(--re-accent-soft, #e6efe9);
  color: var(--re-accent, #1c5c4a);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
}

.re-shell__crumbs {
  border-top: 1px solid var(--re-line, #e2d9cb);
  padding: 8px 20px;
}

.re-shell__crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  font-size: 0.76rem;
  color: var(--re-ink-subtle, #8a8177);
}

.re-shell__crumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.re-shell__crumbs li + li::before {
  content: "/";
  color: var(--re-line-strong, #cfc3b0);
}

.re-shell__crumbs a:hover {
  color: var(--re-ink, #14110e);
}

.re-shell__main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 20px 40px;
}

.re-shell__footer {
  border-top: 1px solid var(--re-line, #e2d9cb);
  padding: 18px 20px;
  font-size: 0.76rem;
  color: var(--re-ink-subtle, #8a8177);
}

@media (max-width: 720px) {
  .re-shell__nav {
    display: none;
  }
}
