.sm-re-module {
  --re-green: var(--sm-green, #00a350);
  --re-green-dark: var(--sm-green-dark, #008642);
  --re-green-soft: var(--sm-green-soft, #e6f7ee);
  --re-surface: var(--sm-card, #fff);
  --re-canvas: var(--sm-bg, #f5f7f6);
  --re-text: var(--sm-text, #111827);
  --re-muted: var(--sm-muted, #66736c);
  --re-border: var(--sm-border, #e3ebe6);
  --re-danger: var(--sm-danger, #d92d20);
  --re-warning: var(--sm-warning, #d97706);
  --re-blue: #2f6fed;
  --re-purple: #7651c9;
  --re-radius: var(--sm-radius, 20px);
  --re-radius-sm: 13px;
  --re-shadow: var(--sm-shadow, 0 12px 36px rgba(25, 40, 55, .07));
  --re-shadow-hover: var(--sm-shadow-hover, 0 18px 44px rgba(var(--sm-green-rgb), .14));
  width: 100%;
  min-width: 0;
  color: var(--re-text);
  font-family: var(--sm-font-family, "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 16px;
  line-height: 1.55;
}

.sm-re-module *,
.sm-re-module *::before,
.sm-re-module *::after { box-sizing: border-box; }
.sm-re-module a { color: inherit; text-decoration: none; }
.sm-re-module button,
.sm-re-module input,
.sm-re-module select,
.sm-re-module textarea { font: inherit; }
.sm-re-module button,
.sm-re-module summary,
.sm-re-module select { cursor: pointer; }
.sm-re-module [hidden] { display: none !important; }
.sm-re-module :focus-visible { outline: 3px solid rgba(var(--sm-green-rgb), .2); outline-offset: 2px; }

.sm-re-module .re-card,
.sm-re-module .re-dashboard-panel,
.sm-re-module .re-reference-kpi {
  min-width: 0;
  border: 1px solid rgba(227, 235, 230, .96);
  border-radius: var(--re-radius);
  background: var(--re-surface);
  box-shadow: var(--re-shadow);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.sm-re-module .re-card:hover,
.sm-re-module .re-dashboard-panel:hover,
.sm-re-module .re-reference-kpi:hover {
  border-color: #c9e5d5;
  box-shadow: var(--re-shadow-hover);
}
.sm-re-module .re-card { padding: 22px; }
.sm-re-module .re-card-head,
.sm-re-module .re-dashboard-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.sm-re-module .re-card-head > div:first-child,
.sm-re-module .re-dashboard-panel-head > div:first-child { min-width: 0; }
.sm-re-module .re-card-head h2,
.sm-re-module .re-dashboard-panel-head h2 {
  margin: 2px 0 0;
  color: #17251e;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -.25px;
}
.sm-re-module .re-card-head p {
  max-width: 760px;
  margin: 6px 0 0;
  color: var(--re-muted);
  font-size: 16px;
  line-height: 1.55;
}
.sm-re-module .re-card-head > a,
.sm-re-module .re-dashboard-panel-head > a {
  flex: 0 0 auto;
  color: var(--re-green-dark);
  font-size: 16px;
  font-weight: 650;
}
.sm-re-module .re-card-head > a:hover,
.sm-re-module .re-dashboard-panel-head > a:hover { color: var(--re-green); }
.sm-re-module .re-panel-kicker,
.sm-re-module .re-eyebrow {
  display: block;
  color: var(--re-green-dark);
  font-size: 16px;
  font-weight: 750;
  letter-spacing: .75px;
  text-transform: uppercase;
}

.sm-re-module .re-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: #344039;
  background: #fff;
  font-size: 16px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.sm-re-module .re-btn:hover { transform: translateY(-2px); }
.sm-re-module .re-btn:disabled { opacity: .48; cursor: not-allowed; transform: none; }
.sm-re-module .re-btn .sm-icon { width: 17px; height: 17px; }
.sm-re-module .re-btn-primary,
.sm-re-module .re-dashboard-search-button {
  color: #fff !important;
  border-color: var(--re-green);
  background: linear-gradient(135deg, #16b563, var(--re-green-dark));
  box-shadow: 0 10px 24px rgba(var(--sm-green-rgb), .22);
}
.sm-re-module .re-btn-primary:hover,
.sm-re-module .re-dashboard-search-button:hover { box-shadow: 0 14px 30px rgba(var(--sm-green-rgb), .3); }
.sm-re-module .re-btn-light {
  color: #425048 !important;
  border-color: #dce7e1;
  background: #fff;
  box-shadow: 0 5px 15px rgba(28, 52, 39, .045);
}
.sm-re-module .re-btn-light:hover { color: var(--re-green-dark) !important; border-color: #a9d9bd; background: #f5fbf8; }
.sm-re-module .re-btn-compact { min-height: 44px; padding: 9px 13px; border-radius: 11px; font-size: 16px; }
.sm-re-module .re-btn-block { width: 100%; }

.sm-re-module .re-alert {
  margin: 0 0 18px;
  padding: 14px 17px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 650;
}
.sm-re-module .re-alert-success { color: #086b3b; border-color: #bce8d0; background: #eaf9f1; }
.sm-re-module .re-alert-danger { color: #a52a22; border-color: #f0c1bd; background: #fff1f0; }

/* Shared section headers */
.sm-re-module .re-section-header,
.sm-re-module .re-dashboard-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.sm-re-module .re-section-header > div,
.sm-re-module .re-dashboard-intro > div:first-child { min-width: 0; }
.sm-re-module .re-section-header h2,
.sm-re-module .re-dashboard-intro h2 {
  margin: 4px 0 0;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -.5px;
}
.sm-re-module .re-section-header p,
.sm-re-module .re-dashboard-intro p {
  max-width: 850px;
  margin: 7px 0 0;
  color: var(--re-muted);
  font-size: 16px;
}
.sm-re-module .re-section-header > div:last-child,
.sm-re-module .re-dashboard-intro > div:last-child,
.sm-re-module .re-data-card-head > div:last-child {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}
.sm-re-module .re-dashboard-intro {
  align-items: center;
  padding: 24px 26px;
  border: 1px solid #cde8d9;
  border-radius: var(--re-radius);
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.8), transparent 26%),
    linear-gradient(135deg, #f9fdfb 0%, #e9f8f0 100%);
  box-shadow: 0 14px 34px rgba(29, 83, 50, .07);
}

/* Dashboard */
.sm-re-module .re-reference-dashboard { display: flex; flex-direction: column; gap: 18px; }
.sm-re-module .re-reference-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.sm-re-module .re-reference-kpi {
  min-height: 145px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  padding: 21px;
  position: relative;
  overflow: hidden;
}
.sm-re-module .re-reference-kpi::after {
  content: "";
  position: absolute;
  inset: auto -36px -50px auto;
  width: 125px;
  height: 125px;
  border-radius: 50%;
  background: rgba(var(--sm-green-rgb), .045);
}
.sm-re-module .re-reference-kpi:hover { transform: translateY(-3px); }
.sm-re-module .re-reference-kpi-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--re-green-dark);
  background: var(--re-green-soft);
}
.sm-re-module .re-reference-kpi-icon .sm-icon { width: 24px; height: 24px; }
.sm-re-module .re-reference-kpi-copy { min-width: 0; }
.sm-re-module .re-reference-kpi-copy small,
.sm-re-module .re-reference-kpi-copy span { display: block; color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-reference-kpi-copy small { color: #526057; font-weight: 650; }
.sm-re-module .re-reference-kpi-copy strong {
  display: block;
  overflow: hidden;
  margin: 7px 0 5px;
  font-size: clamp(22px, 1.65vw, 29px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sm-re-module [data-re-kpi-value].is-updated { animation: reMetricPulse .55s ease; }
.sm-re-module .re-reference-kpi-trend {
  grid-column: 1 / -1;
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr minmax(78px, 115px);
  align-items: center;
  gap: 7px;
  margin-top: 2px;
}
.sm-re-module .re-reference-kpi-trend em { font-size: 16px; font-style: normal; font-weight: 700; }
.sm-re-module .re-reference-kpi-trend em.is-up { color: #087a4b; }
.sm-re-module .re-reference-kpi-trend em.is-down { color: #c63e38; }
.sm-re-module .re-reference-kpi-trend > small { color: #8a958f; font-size: 16px; }
.sm-re-module .re-sparkline { width: 100%; height: 30px; overflow: visible; }
.sm-re-module .re-tone-blue .re-reference-kpi-icon,
.sm-re-module .re-tone-blue > span:first-child { color: var(--re-blue); background: #edf3ff; }
.sm-re-module .re-tone-purple .re-reference-kpi-icon,
.sm-re-module .re-tone-purple > span:first-child { color: var(--re-purple); background: #f2eefa; }
.sm-re-module .re-tone-amber .re-reference-kpi-icon,
.sm-re-module .re-tone-amber > span:first-child { color: #c77809; background: #fff5df; }

.sm-re-module .re-dashboard-metrics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.sm-re-module .re-metric-card {
  min-width: 0;
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--re-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(25, 48, 35, .045);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.sm-re-module .re-metric-card:hover { transform: translateY(-2px); border-color: #b7dfc8; box-shadow: 0 12px 28px rgba(var(--sm-green-rgb), .09); }
.sm-re-module .re-metric-card > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  color: var(--re-green-dark);
  background: var(--re-green-soft);
}
.sm-re-module .re-metric-card > span .sm-icon { width: 20px; height: 20px; }
.sm-re-module .re-metric-card div { min-width: 0; }
.sm-re-module .re-metric-card small { display: block; overflow: hidden; color: var(--re-muted); font-size: 16px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.sm-re-module .re-metric-card strong { display: block; margin-top: 5px; font-size: 22px; line-height: 1; }

.sm-re-module .re-dashboard-analytics {
  display: grid;
  grid-template-columns: minmax(410px, 1.3fr) minmax(310px, .9fr) minmax(300px, .85fr);
  gap: 16px;
}
.sm-re-module .re-dashboard-primary {
  display: grid;
  grid-template-columns: minmax(470px, 1.35fr) minmax(340px, 1fr) minmax(300px, .85fr);
  gap: 16px;
}
.sm-re-module .re-dashboard-secondary {
  display: grid;
  grid-template-columns: minmax(520px, 1.5fr) minmax(320px, .8fr);
  gap: 16px;
}
.sm-re-module .re-dashboard-panel { padding: 20px; }
.sm-re-module .re-dashboard-panel-head { align-items: center; margin-bottom: 15px; }
.sm-re-module .re-chart-key { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.sm-re-module .re-chart-key span { display: inline-flex; align-items: center; gap: 6px; color: var(--re-muted); font-size: 16px; font-weight: 600; }
.sm-re-module .re-chart-key span::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--re-green); }
.sm-re-module .re-chart-key .is-sales::before { background: #2f6fed; }
.sm-re-module .re-chart-key .is-rentals::before { background: #f2a33a; }
.sm-re-module .re-activity-chart-panel { min-height: 286px; }
.sm-re-module .re-activity-chart {
  min-height: 205px;
  display: flex;
  align-items: stretch;
  gap: clamp(8px, 1.4vw, 20px);
  padding: 18px 8px 2px 38px;
  border-radius: 14px;
  background:
    repeating-linear-gradient(to bottom, transparent 0, transparent calc(25% - 1px), #edf1ef 25%),
    linear-gradient(180deg, #fbfdfc, #fff);
}
.sm-re-module .re-chart-column { min-width: 34px; display: flex; flex: 1; flex-direction: column; justify-content: flex-end; gap: 8px; text-align: center; }
.sm-re-module .re-chart-bars { height: 160px; display: flex; align-items: flex-end; justify-content: center; gap: 4px; }
.sm-re-module .re-chart-bars i {
  width: min(19px, 28%);
  min-height: 4px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #42ca82, var(--re-green-dark));
  transition: height .45s ease, transform .2s ease;
}
.sm-re-module .re-chart-bars i:hover { transform: scaleX(1.12); }
.sm-re-module .re-chart-bars .re-bar-sales { background: linear-gradient(180deg, #72a0ff, #2f6fed); }
.sm-re-module .re-chart-bars .re-bar-rentals { background: linear-gradient(180deg, #f8c46d, #e58c17); }
.sm-re-module .re-chart-column > span { color: #77827c; font-size: 16px; font-weight: 600; }

.sm-re-module .re-map-panel { overflow: hidden; padding-bottom: 0; }
.sm-re-module .re-map-canvas {
  position: relative;
  height: 370px;
  margin: 0 -20px;
  overflow: hidden;
  background:
    linear-gradient(45deg, rgba(255,255,255,.3) 25%, transparent 25%) 0 0/22px 22px,
    #dbe9e1;
}
.sm-re-module .re-map-canvas iframe { width: 100%; height: 100%; border: 0; filter: saturate(.82) contrast(1.02); }
.sm-re-module .re-map-canvas.is-google-ready iframe,
.sm-re-module .re-map-canvas.is-google-ready .re-map-fallback-markers { display: none; }
.sm-re-module .re-map-fallback-markers { position: absolute; inset: 0; pointer-events: none; }
.sm-re-module .re-map-marker {
  position: absolute;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -100%) rotate(-45deg);
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 5px;
  color: #fff;
  background: var(--re-green);
  box-shadow: 0 7px 18px rgba(0, 0, 0, .24);
  pointer-events: auto;
}
.sm-re-module .re-map-marker .sm-icon { width: 15px; height: 15px; transform: rotate(45deg); }
.sm-re-module .re-marker-rent { background: var(--re-blue); }
.sm-re-module .re-marker-commercial { background: var(--re-purple); }
.sm-re-module .re-map-controls { position: absolute; z-index: 4; top: 14px; left: 14px; display: flex; flex-direction: column; }
.sm-re-module .re-map-controls button { width: 36px; height: 36px; border: 1px solid #d8e1dc; color: #214132; background: #fff; font-size: 18px; }
.sm-re-module .re-map-controls button:first-child { border-radius: 9px 9px 0 0; }
.sm-re-module .re-map-controls button:last-child { border-top: 0; border-radius: 0 0 9px 9px; }
.sm-re-module .re-map-legend { min-height: 58px; display: flex; align-items: center; flex-wrap: wrap; gap: 19px; color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-map-legend span { display: inline-flex; align-items: center; gap: 7px; }
.sm-re-module .re-map-legend i { width: 9px; height: 9px; border-radius: 50%; }
.sm-re-module .re-dot-sale { background: var(--re-green); }
.sm-re-module .re-dot-rent { background: var(--re-blue); }
.sm-re-module .re-dot-commercial { background: var(--re-purple); }
.sm-re-module .re-dot-plot { background: #e58c17; }

.sm-re-module .re-dashboard-search-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.sm-re-module .re-dashboard-search-form > label,
.sm-re-module .re-dashboard-search-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.sm-re-module .re-dashboard-search-form label,
.sm-re-module .re-dashboard-search-form legend { color: #405148; font-size: 16px; font-weight: 650; }
.sm-re-module .re-dashboard-search-form input,
.sm-re-module .re-dashboard-search-form select {
  width: 100%;
  height: 42px;
  margin-top: 6px;
  padding: 0 11px;
  border: 1px solid #dfe8e3;
  border-radius: 10px;
  color: #34473d;
  background: #fbfcfc;
  outline: 0;
}
.sm-re-module .re-dashboard-search-form input:focus,
.sm-re-module .re-dashboard-search-form select:focus { border-color: var(--re-green); box-shadow: 0 0 0 3px rgba(var(--sm-green-rgb), .08); background: #fff; }
.sm-re-module .re-search-category { display: flex; align-items: flex-end; gap: 6px; }
.sm-re-module .re-search-category legend { position: absolute; transform: translateY(-28px); }
.sm-re-module .re-search-category label { flex: 1; }
.sm-re-module .re-search-category input,
.sm-re-module .re-search-sizes input { position: absolute; opacity: 0; pointer-events: none; }
.sm-re-module .re-search-category span,
.sm-re-module .re-search-sizes span {
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 7px;
  border: 1px solid #dfe8e3;
  border-radius: 9px;
  color: #607068;
  background: #fff;
  font-size: 16px;
  cursor: pointer;
}
.sm-re-module .re-search-category input:checked + span,
.sm-re-module .re-search-sizes input:checked + span { color: var(--re-green-dark); border-color: #92d5b0; background: var(--re-green-soft); }
.sm-re-module .re-search-sizes,
.sm-re-module .re-search-budget,
.sm-re-module .re-dashboard-search-button { grid-column: 1 / -1; }
.sm-re-module .re-search-sizes > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 7px; }
.sm-re-module .re-search-budget { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.sm-re-module .re-search-budget legend { grid-column: 1 / -1; }
.sm-re-module .re-search-budget input { margin: 0; }
.sm-re-module .re-dashboard-search-button { min-height: 47px; border: 0; border-radius: 12px; font-size: 16px; font-weight: 650; }

.sm-re-module .re-upcoming-tour-list { display: grid; gap: 6px; }
.sm-re-module .re-upcoming-tour {
  min-width: 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.sm-re-module .re-upcoming-tour:hover { transform: translateX(2px); border-color: #d8e9df; background: #f7fcf9; }
.sm-re-module .re-tour-thumb { width: 52px; height: 52px; border-radius: 11px; background: #e5eee8 center/cover no-repeat; }
.sm-re-module .re-tour-copy { min-width: 0; display: flex; flex-direction: column; }
.sm-re-module .re-tour-copy strong,
.sm-re-module .re-tour-copy small,
.sm-re-module .re-tour-copy time { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-re-module .re-tour-copy strong { font-size: 16px; }
.sm-re-module .re-tour-copy small { color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-tour-copy time { margin-top: 2px; color: #35473d; font-size: 16px; font-weight: 650; }
.sm-re-module .re-tour-status { padding: 5px 8px; border-radius: 999px; font-size: 16px; font-style: normal; font-weight: 700; }
.sm-re-module .re-tour-pending { color: #9d6000; background: #fff3d9; }
.sm-re-module .re-tour-approved { color: #086b3b; background: #e7f8ef; }
.sm-re-module .re-dashboard-empty { min-height: 120px; display: grid; place-items: center; color: var(--re-muted); font-size: 16px; text-align: center; }

.sm-re-module .re-recent-listings-panel { overflow: hidden; }
.sm-re-module .re-recent-listings-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sm-re-module .re-recent-property {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--re-border);
  border-radius: 14px;
  background: #fff;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.sm-re-module .re-recent-property:hover { transform: translateY(-3px); border-color: #acdabc; box-shadow: 0 12px 28px rgba(var(--sm-green-rgb), .1); }
.sm-re-module .re-recent-property-image { position: relative; height: 120px; display: block; background: linear-gradient(135deg, #e8f4ed, #cedfd5) center/cover no-repeat; }
.sm-re-module .re-recent-property-image em { position: absolute; top: 9px; left: 9px; padding: 5px 8px; border-radius: 7px; color: #fff; background: var(--re-green-dark); font-size: 16px; font-style: normal; font-weight: 650; }
.sm-re-module .re-recent-property-image .re-listing-for-rent { background: var(--re-blue); }
.sm-re-module .re-recent-property-image .re-listing-commercial { background: var(--re-purple); }
.sm-re-module .re-recent-property-image .re-listing-plot { background: #d98513; }
.sm-re-module .re-recent-property > strong,
.sm-re-module .re-recent-property > small,
.sm-re-module .re-recent-property > b,
.sm-re-module .re-recent-property > .re-property-facts { display: block; margin-right: 11px; margin-left: 11px; }
.sm-re-module .re-recent-property > strong { margin-top: 10px; overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.sm-re-module .re-recent-property > small { margin-top: 3px; overflow: hidden; color: var(--re-muted); font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.sm-re-module .re-property-facts { min-height: 21px; display: flex !important; flex-wrap: wrap; gap: 6px; margin-top: 7px; color: var(--re-muted); }
.sm-re-module .re-property-facts i { font-size: 16px; font-style: normal; }
.sm-re-module .re-recent-property > b { margin-top: 7px; margin-bottom: 11px; color: var(--re-green-dark); font-size: 16px; }

.sm-re-module .re-inventory-chart-wrap { min-height: 210px; display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 18px; }
.sm-re-module .re-inventory-donut,
.sm-re-module .re-donut {
  position: relative;
  width: 148px;
  height: 148px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.02);
}
.sm-re-module .re-inventory-donut::after,
.sm-re-module .re-donut::after { content: ""; position: absolute; inset: 18px; border-radius: 50%; background: #fff; box-shadow: 0 5px 20px rgba(20, 48, 32, .08); }
.sm-re-module .re-inventory-donut > span,
.sm-re-module .re-donut > span { position: relative; z-index: 1; text-align: center; }
.sm-re-module .re-inventory-donut strong,
.sm-re-module .re-donut strong { display: block; font-size: 25px; line-height: 1; }
.sm-re-module .re-inventory-donut small,
.sm-re-module .re-donut small { display: block; margin-top: 6px; color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-inventory-chart-wrap ul,
.sm-re-module .re-chart-legend { margin: 0; padding: 0; list-style: none; }
.sm-re-module .re-inventory-chart-wrap li,
.sm-re-module .re-chart-legend li { display: grid; grid-template-columns: 9px 1fr auto; align-items: center; gap: 8px; padding: 6px 0; color: #4f5e55; font-size: 16px; }
.sm-re-module .re-inventory-chart-wrap li i,
.sm-re-module .re-chart-legend li i { width: 8px; height: 8px; border-radius: 50%; }

.sm-re-module .re-property-media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 94px; gap: 8px; }
.sm-re-module .re-property-media-grid > a { position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 11px; color: #fff; background: #e6eee9 center/cover no-repeat; }
.sm-re-module .re-property-media-grid > a:first-child { grid-column: span 2; }
.sm-re-module .re-property-media-grid > a::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(10,25,17,.7)); }
.sm-re-module .re-property-media-grid > a span { position: absolute; z-index: 1; right: 8px; bottom: 7px; left: 8px; overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.sm-re-module .re-property-media-grid .sm-icon { width: 25px; height: 25px; color: #65776e; }
.sm-re-module .re-property-media-grid .re-media-more { background: linear-gradient(135deg, #16b563, var(--re-green-dark)); }

.sm-re-module .re-activity-list { display: grid; }
.sm-re-module .re-activity-list > div:not(.re-empty) {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 9px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1ef;
}
.sm-re-module .re-activity-list > div > span { color: var(--re-green); }
.sm-re-module .re-activity-list strong { font-size: 16px; }
.sm-re-module .re-activity-list p { margin: 3px 0 0; color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-activity-list time { color: #8a958f; font-size: 16px; white-space: nowrap; }

.sm-re-module .re-dashboard-quick-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.sm-re-module .re-dashboard-quick-actions a {
  min-height: 94px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 13px;
  padding: 17px;
  border: 1px solid var(--re-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 59, 42, .045);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.sm-re-module .re-dashboard-quick-actions a:hover { transform: translateY(-3px); border-color: #a9d9bd; box-shadow: var(--re-shadow-hover); }
.sm-re-module .re-dashboard-quick-actions a > span { width: 44px; height: 44px; grid-row: 1 / 3; display: grid; place-items: center; border-radius: 13px; color: var(--re-green-dark); background: var(--re-green-soft); }
.sm-re-module .re-dashboard-quick-actions strong { align-self: end; font-size: 16px; }
.sm-re-module .re-dashboard-quick-actions small { align-self: start; color: var(--re-muted); font-size: 16px; }

/* Search, filters and cards */
.sm-re-module .re-search-workspace { position: relative; margin-bottom: 20px; }
.sm-re-module .re-search-workspace > .re-card-head > div:last-child { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.sm-re-module .re-saved-filter-select {
  min-height: 42px;
  padding: 0 34px 0 12px;
  border: 1px solid #dce7e1;
  border-radius: 12px;
  color: #46534c;
  background: #fff;
  font-size: 16px;
}
.sm-re-module .re-view-switch { display: inline-flex; align-items: center; padding: 4px; border: 1px solid #dde7e1; border-radius: 12px; background: #f7faf8; }
.sm-re-module .re-view-switch button,
.sm-re-module .re-view-switch > a:not(.re-btn) { min-height: 40px; padding: 8px 13px; border: 0; border-radius: 9px; color: #65736b; background: transparent; font-size: 16px; font-weight: 650; }
.sm-re-module .re-view-switch button.active,
.sm-re-module .re-view-switch > a.active { color: #fff; background: var(--re-green); box-shadow: 0 6px 15px rgba(var(--sm-green-rgb), .2); }
.sm-re-module .re-filter-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 13px;
  padding-top: 2px;
}
.sm-re-module .re-filter-grid > label,
.sm-re-module .re-form-grid > label,
.sm-re-module .re-report-filters > label,
.sm-re-module .re-master-textarea,
.sm-re-module .re-media-upload-controls > label {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: #45534b;
  font-size: 16px;
  font-weight: 600;
}
.sm-re-module .re-filter-grid input,
.sm-re-module .re-filter-grid select,
.sm-re-module .re-form-grid input:not([type="checkbox"]):not([type="radio"]),
.sm-re-module .re-form-grid select,
.sm-re-module .re-form-grid textarea,
.sm-re-module .re-report-filters input,
.sm-re-module .re-report-filters select,
.sm-re-module .re-master-textarea textarea,
.sm-re-module .re-media-upload-controls select,
.sm-re-module .re-tour-reschedule input,
.sm-re-module .re-tour-reschedule textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #dfe6e2;
  border-radius: 12px;
  color: #27352d;
  background: #fbfcfc;
  outline: 0;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.sm-re-module .re-form-grid textarea,
.sm-re-module .re-master-textarea textarea,
.sm-re-module .re-tour-reschedule textarea { min-height: 118px; resize: vertical; }
.sm-re-module .re-filter-grid input:focus,
.sm-re-module .re-filter-grid select:focus,
.sm-re-module .re-form-grid input:focus,
.sm-re-module .re-form-grid select:focus,
.sm-re-module .re-form-grid textarea:focus,
.sm-re-module .re-report-filters input:focus,
.sm-re-module .re-report-filters select:focus,
.sm-re-module .re-master-textarea textarea:focus {
  border-color: #72c99a;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(var(--sm-green-rgb), .08);
}
.sm-re-module label.has-error { color: var(--re-danger); }
.sm-re-module label.has-error input,
.sm-re-module label.has-error select,
.sm-re-module label.has-error textarea { border-color: #e7a29c !important; box-shadow: 0 0 0 4px rgba(217, 45, 32, .08) !important; }
.sm-re-module .re-searchable-select { position: relative; min-width: 0; }
.sm-re-module .re-searchable-select .re-native-select { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; opacity: 0; pointer-events: none; }
.sm-re-module .re-searchable-trigger {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid #dfe6e2;
  border-radius: 12px;
  color: #6b766f;
  background: #fbfcfc;
  font-size: 16px;
  text-align: left;
}
.sm-re-module .re-searchable-trigger.has-value { color: #27352d; }
.sm-re-module .re-searchable-trigger i { color: #7d8982; font-size: 16px; font-style: normal; }
.sm-re-module .re-searchable-select.is-open .re-searchable-trigger { border-color: #72c99a; background: #fff; box-shadow: 0 0 0 4px rgba(var(--sm-green-rgb), .08); }
.sm-re-module .re-searchable-panel {
  position: absolute;
  z-index: 45;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  display: none;
  overflow: hidden;
  border: 1px solid #dfe8e3;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(21, 44, 30, .16);
}
.sm-re-module .re-searchable-select.is-open .re-searchable-panel { display: block; }
.sm-re-module .re-searchable-panel > label { display: grid; gap: 5px; padding: 10px; border-bottom: 1px solid #edf1ef; color: var(--re-muted); font-size: 16px; font-weight: 650; }
.sm-re-module .re-searchable-panel input { width: 100% !important; min-height: 44px !important; padding: 9px 11px !important; border: 1px solid #dfe7e2 !important; border-radius: 9px !important; background: #fafcfb !important; box-shadow: none !important; font-size: 16px !important; }
.sm-re-module .re-searchable-panel [role="listbox"] { max-height: 235px; overflow-y: auto; padding: 5px; }
.sm-re-module .re-searchable-panel [role="option"] { width: 100%; min-height: 42px; padding: 9px 11px; border: 0; border-radius: 8px; color: #46534c; background: transparent; font-size: 16px; text-align: left; }
.sm-re-module .re-searchable-panel [role="option"]:hover,
.sm-re-module .re-searchable-panel [role="option"][aria-selected="true"] { color: var(--re-green-dark); background: #eef9f3; }
.sm-re-module .re-no-options { display: block; padding: 15px; color: var(--re-muted); font-size: 16px; text-align: center; }
.sm-re-module .re-filter-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 9px; padding-top: 4px; }
.sm-re-module .re-property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sm-re-module .re-property-grid.loading { pointer-events: none; }
.sm-re-module .re-property-grid.re-list-view { grid-template-columns: 1fr; }
.sm-re-module .re-property-grid.re-list-view .re-property-card { display: grid; grid-template-columns: 310px minmax(0, 1fr); }
.sm-re-module .re-property-grid.re-list-view .re-property-media { height: 100%; min-height: 260px; }
.sm-re-module .re-property-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--re-border);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(25, 40, 55, .055);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.sm-re-module .re-property-card:hover { transform: translateY(-4px); border-color: #abd9bf; box-shadow: var(--re-shadow-hover); }
.sm-re-module .re-property-media {
  position: relative;
  height: 220px;
  display: flex;
  justify-content: space-between;
  padding: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #e9f5ee, #cadfd3) center/cover no-repeat;
}
.sm-re-module .re-property-media::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(15, 32, 22, .5)); pointer-events: none; }
.sm-re-module .re-property-card-badges { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 6px; flex-wrap: wrap; }
.sm-re-module .re-featured-label { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 999px; color: #875405; background: #fff1c9; font-size: 16px; font-weight: 750; }
.sm-re-module .re-featured-label .sm-icon { width: 12px; height: 12px; }
.sm-re-module .re-favorite-button {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #27382f;
  background: rgba(255,255,255,.92);
  box-shadow: 0 5px 15px rgba(0,0,0,.12);
  font-size: 20px;
}
.sm-re-module .re-favorite-button:hover { color: #d43f5e; }
.sm-re-module .re-property-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: #85aa96; }
.sm-re-module .re-property-placeholder .sm-icon { width: 52px; height: 52px; }
.sm-re-module .re-property-media-count { position: absolute; z-index: 1; right: 14px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px; color: #fff; font-size: 16px; font-weight: 650; }
.sm-re-module .re-property-media-count .sm-icon { width: 14px; height: 14px; }
.sm-re-module .re-property-body { padding: 19px; }
.sm-re-module .re-property-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--re-green-dark); font-size: 16px; font-weight: 700; }
.sm-re-module .re-property-meta small { color: var(--re-muted); font-weight: 500; }
.sm-re-module .re-property-body h3 { margin: 8px 0 6px; font-size: 18px; line-height: 1.35; }
.sm-re-module .re-property-location { min-width: 0; display: flex; align-items: flex-start; gap: 5px; margin: 0 0 11px; color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-property-location .sm-icon { width: 14px; height: 14px; margin-top: 2px; color: var(--re-green); }
.sm-re-module .re-property-fact-row { min-height: 30px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 13px; }
.sm-re-module .re-property-fact-row span { padding: 5px 8px; border-radius: 8px; color: #526158; background: #f1f7f4; font-size: 16px; font-weight: 600; }
.sm-re-module .re-property-price { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.sm-re-module .re-property-price strong { color: #17271e; font-size: 19px; }
.sm-re-module .re-property-price small { color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-property-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; margin-top: 15px; padding-top: 14px; border-top: 1px solid #edf1ef; }
.sm-re-module .re-property-actions a,
.sm-re-module .re-property-actions button { padding: 0; border: 0; color: var(--re-green-dark); background: transparent; font-size: 16px; font-weight: 700; }
.sm-re-module .re-property-actions button { display: inline-flex; align-items: center; gap: 5px; }
.sm-re-module .re-property-actions .sm-icon { width: 13px; height: 13px; }

/* Smart data tables */
.sm-re-module .re-inventory-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.sm-re-module .re-inventory-summary-grid > .re-card { min-height: 280px; }
.sm-re-module .re-inventory-summary-grid .re-donut { margin: 6px auto; }
.sm-re-module .re-inventory-summary-grid .re-chart-legend { margin-top: 15px; }
.sm-re-module .re-summary-list { display: grid; gap: 8px; }
.sm-re-module .re-summary-list > div:not(.re-empty) { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #f5faf7; }
.sm-re-module .re-summary-list span { color: #506057; font-size: 16px; }
.sm-re-module .re-summary-list strong { font-size: 16px; }
.sm-re-module .re-data-card { overflow: visible; padding: 0; }
.sm-re-module .re-data-card > .re-card-head { margin: 0; padding: 20px 22px; border-bottom: 1px solid #edf1ef; }
.sm-re-module .re-data-card-head { align-items: center; }
.sm-re-module .re-smart-filter {
  position: sticky;
  z-index: 12;
  top: 8px;
  display: grid;
  gap: 13px;
  padding: 16px 20px;
  border-bottom: 1px solid #e8efeb;
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 20px rgba(34, 57, 43, .035);
  backdrop-filter: blur(16px);
}
.sm-re-module .re-smart-search {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid #dce5e0;
  border-radius: 13px;
  color: #7d8982;
  background: #fafcfb;
}
.sm-re-module .re-smart-search:focus-within { border-color: #71c99a; box-shadow: 0 0 0 4px rgba(var(--sm-green-rgb), .08); background: #fff; }
.sm-re-module .re-smart-search .sm-icon { width: 18px; height: 18px; color: var(--re-green); }
.sm-re-module .re-smart-search input { min-width: 0; width: 100%; height: 44px; border: 0; outline: 0; color: #28362e; background: transparent; }
.sm-re-module .re-smart-search kbd { padding: 3px 7px; border: 1px solid #dbe4df; border-radius: 7px; color: #7a867f; background: #fff; box-shadow: 0 2px 0 #e5ebe7; font-size: 16px; font-family: inherit; white-space: nowrap; }
.sm-re-module .re-filter-fields { display: grid; grid-template-columns: repeat(5, minmax(130px, 1fr)); gap: 10px; }
.sm-re-module .re-filter-fields label { min-width: 0; display: grid; gap: 5px; color: var(--re-muted); font-size: 16px; font-weight: 650; }
.sm-re-module .re-filter-fields select { width: 100%; min-height: 42px; padding: 8px 33px 8px 11px; border: 1px solid #dfe7e2; border-radius: 11px; color: #3b4941; background: #fff; }
.sm-re-module .re-filter-footer,
.sm-re-module .re-filter-footer > div,
.sm-re-module .re-saved-filter-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  flex-wrap: wrap;
}
.sm-re-module .re-filter-footer > div:last-child { margin-left: auto; }
.sm-re-module .re-saved-filter-control select { min-height: 42px; padding: 8px 34px 8px 11px; border: 1px solid #dfe7e2; border-radius: 11px; color: #4a5750; background: #fff; font-size: 16px; }
.sm-re-module .re-table-commandbar {
  min-height: 67px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 20px;
  border-bottom: 1px solid #edf1ef;
  background: #fbfcfc;
}
.sm-re-module .re-table-commandbar > div:first-child { display: flex; flex-direction: column; }
.sm-re-module .re-table-commandbar strong { font-size: 16px; }
.sm-re-module .re-table-commandbar span { color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-table-commandbar > div:last-child { display: flex; align-items: center; justify-content: flex-end; gap: 7px; flex-wrap: wrap; }
.sm-re-module .re-bulk-form { margin: 0; }
.sm-re-module .re-bulk-toolbar {
  min-height: 67px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 11px 20px;
  border-bottom: 1px solid #edf1ef;
  background: #f8fbf9;
  transition: background .2s ease, box-shadow .2s ease;
}
.sm-re-module .re-bulk-toolbar.has-selection { background: #edfaf3; box-shadow: inset 4px 0 0 var(--re-green); }
.sm-re-module .re-bulk-toolbar > div:first-child { min-width: 180px; display: flex; flex-direction: column; margin-right: auto; }
.sm-re-module .re-bulk-toolbar strong { font-size: 16px; }
.sm-re-module .re-bulk-toolbar small { color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-bulk-toolbar label { min-width: 150px; display: grid; gap: 4px; color: var(--re-muted); font-size: 16px; font-weight: 650; }
.sm-re-module .re-bulk-toolbar select { min-height: 38px; padding: 7px 32px 7px 10px; border: 1px solid #dce6e0; border-radius: 10px; color: #3f4d45; background: #fff; font-size: 16px; }
.sm-re-module .re-table-wrap { width: 100%; overflow: auto; scrollbar-width: thin; scrollbar-color: #c6d8ce transparent; }
.sm-re-module .re-data-table,
.sm-re-module .re-table-wrap table { width: 100%; min-width: 1160px; border-collapse: separate; border-spacing: 0; }
.sm-re-module .re-data-table th,
.sm-re-module .re-table-wrap th {
  position: sticky;
  z-index: 5;
  top: 0;
  height: 50px;
  padding: 10px 14px;
  border-bottom: 1px solid #e7ece9;
  color: #69766f;
  background: #fafcfb;
  font-size: 16px;
  font-weight: 650;
  text-align: left;
  white-space: nowrap;
}
.sm-re-module .re-data-table th a,
.sm-re-module .re-table-wrap th a { display: inline-flex; align-items: center; gap: 5px; }
.sm-re-module .re-data-table th a::after { content: "↕"; opacity: .35; font-size: 16px; }
.sm-re-module .re-data-table th.is-client-sortable { cursor: pointer; }
.sm-re-module .re-data-table th.is-client-sortable::after { content: "↕"; margin-left: 5px; opacity: .35; font-size: 16px; }
.sm-re-module .re-data-table th.is-client-sortable[data-sort-direction="asc"]::after { content: "↑"; opacity: 1; color: var(--re-green); }
.sm-re-module .re-data-table th.is-client-sortable[data-sort-direction="desc"]::after { content: "↓"; opacity: 1; color: var(--re-green); }
.sm-re-module .re-data-table td,
.sm-re-module .re-table-wrap td {
  padding: 13px 14px;
  border-bottom: 1px solid #eef1ef;
  color: #344139;
  font-size: 16px;
  vertical-align: middle;
}
.sm-re-module .re-data-table tbody tr { transition: background .2s ease, box-shadow .2s ease; }
.sm-re-module .re-data-table tbody tr:hover { background: #f7fcf9; box-shadow: inset 3px 0 0 #9ad6b4; }
.sm-re-module .re-data-table td strong,
.sm-re-module .re-table-wrap td strong { display: block; color: #2b3931; font-size: 16px; font-weight: 650; }
.sm-re-module .re-data-table td small,
.sm-re-module .re-table-wrap td small { display: block; margin-top: 3px; color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-select-cell { width: 44px; text-align: center !important; }
.sm-re-module .re-select-cell input { width: 17px; height: 17px; accent-color: var(--re-green); }
.sm-re-module .re-actions-cell { width: 70px; text-align: center !important; }
.sm-re-module .re-table-property { min-width: 225px; display: flex; align-items: center; gap: 10px; }
.sm-re-module .re-table-property > span:last-child { min-width: 0; }
.sm-re-module .re-table-property-thumb {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 11px;
  color: #82a993;
  background: #e7f1eb center/cover no-repeat;
}
.sm-re-module .re-table-property-thumb .sm-icon { width: 20px; height: 20px; }
.sm-re-module .re-row-menu { position: relative; display: inline-block; }
.sm-re-module .re-row-menu > summary {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #dde6e1;
  border-radius: 10px;
  color: #5c6962;
  background: #fff;
  font-size: 16px;
  letter-spacing: 1px;
  list-style: none;
}
.sm-re-module .re-row-menu > summary::-webkit-details-marker { display: none; }
.sm-re-module .re-row-menu[open] > summary { color: var(--re-green-dark); border-color: #9fd7b7; background: #f0faf5; }
.sm-re-module .re-row-menu > div {
  position: absolute;
  z-index: 30;
  top: calc(100% + 7px);
  right: 0;
  width: 190px;
  display: grid;
  padding: 6px;
  border: 1px solid #e1e8e4;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(21, 44, 30, .16);
}
.sm-re-module .re-row-menu a,
.sm-re-module .re-row-menu button {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  color: #46534c;
  background: transparent;
  font-size: 16px;
  text-align: left;
}
.sm-re-module .re-row-menu a:hover,
.sm-re-module .re-row-menu button:hover { color: var(--re-green-dark); background: #f0faf5; }
.sm-re-module .re-row-menu .sm-icon { width: 15px; height: 15px; color: var(--re-green); }
.sm-re-module .re-table-link { display: inline-flex; align-items: center; gap: 5px; color: var(--re-green-dark) !important; font-size: 16px; font-weight: 700; }
.sm-re-module .re-table-link .sm-icon { width: 13px; height: 13px; }
.sm-re-module .re-pagination {
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 12px 20px;
  border-top: 1px solid #edf1ef;
  background: #fff;
}
.sm-re-module .re-pagination > div:first-child { display: flex; flex-direction: column; margin-right: auto; }
.sm-re-module .re-pagination strong { font-size: 16px; }
.sm-re-module .re-pagination span { color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-pagination label { display: flex; align-items: center; gap: 7px; color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-pagination select { min-height: 40px; padding: 6px 30px 6px 10px; border: 1px solid #dfe7e2; border-radius: 9px; background: #fff; }
.sm-re-module .re-pagination nav { display: flex; align-items: center; gap: 5px; }
.sm-re-module .re-pagination nav a { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 10px; border: 1px solid #dfe7e2; border-radius: 9px; color: #536159; background: #fff; font-size: 16px; }
.sm-re-module .re-pagination nav a.is-active { color: #fff; border-color: var(--re-green); background: var(--re-green); }
.sm-re-module .re-pagination nav a.is-disabled { opacity: .35; pointer-events: none; }

.sm-re-module .re-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 27px;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #4f5e56;
  background: #edf2ef;
  font-size: 16px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}
.sm-re-module .re-available,
.sm-re-module .re-approved,
.sm-re-module .re-active,
.sm-re-module .re-completed { color: #087043; border-color: #bde5cf; background: #e9f8f0; }
.sm-re-module .re-booked,
.sm-re-module .re-reserved,
.sm-re-module .re-pending,
.sm-re-module .re-under-construction { color: #9a6100; border-color: #f3d79c; background: #fff6e4; }
.sm-re-module .re-sold,
.sm-re-module .re-rented { color: #2457b8; border-color: #c8d9f9; background: #eef4ff; }
.sm-re-module .re-draft,
.sm-re-module .re-inactive,
.sm-re-module .re-cancelled { color: #5f6b65; border-color: #dde3df; background: #f2f4f3; }
.sm-re-module .re-rejected { color: #b42318; border-color: #f1c4c0; background: #fff0ef; }
.sm-re-module .re-coming-soon { color: #6a46af; border-color: #d9cdf0; background: #f5f0fc; }

.sm-re-module .re-empty {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--re-muted);
  font-size: 16px;
  text-align: center;
}
.sm-re-module .re-empty-rich { min-height: 220px; flex-direction: column; padding: 30px; }
.sm-re-module .re-empty-rich > .sm-icon { width: 43px; height: 43px; margin-bottom: 10px; color: #8ac7a5; }
.sm-re-module .re-empty-rich strong { color: #324038; font-size: 16px !important; }
.sm-re-module .re-empty-rich p { max-width: 440px; margin: 6px 0 15px; color: var(--re-muted); font-size: 16px; }

/* Listing wizard */
.sm-re-module .re-listing-wizard { display: grid; gap: 18px; padding-bottom: 82px; }
.sm-re-module .re-wizard-toolbar {
  position: sticky;
  z-index: 18;
  top: 8px;
  display: grid;
  gap: 11px;
  padding: 16px 18px;
  border: 1px solid rgba(218, 231, 223, .95);
  border-radius: 17px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 32px rgba(28, 54, 38, .08);
  backdrop-filter: blur(17px);
}
.sm-re-module .re-wizard-progress { height: 5px; overflow: hidden; border-radius: 999px; background: #e9f0ec; }
.sm-re-module .re-wizard-progress span { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--re-green), #70d39b); transition: width .3s ease; }
.sm-re-module .re-wizard-toolbar ol { display: flex; align-items: center; gap: 7px; margin: 0; padding: 0; overflow-x: auto; list-style: none; scrollbar-width: thin; }
.sm-re-module .re-wizard-toolbar li { flex: 1 0 auto; }
.sm-re-module .re-wizard-toolbar li button { min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 0; border-radius: 10px; color: #7a867f; background: transparent; font-size: 16px; }
.sm-re-module .re-wizard-toolbar li button span { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #dce5e0; border-radius: 50%; background: #fff; font-size: 16px; line-height: 1; }
.sm-re-module .re-wizard-toolbar li.is-active button { color: var(--re-green-dark); background: #eefaf4; }
.sm-re-module .re-wizard-toolbar li.is-active button span { color: #fff; border-color: var(--re-green); background: var(--re-green); }
.sm-re-module .re-wizard-toolbar li.is-complete button span { color: var(--re-green-dark); border-color: #9bd4b5; background: #e7f8ef; }
.sm-re-module .re-autosave-state { display: flex; align-items: center; justify-content: flex-end; gap: 7px; color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-autosave-state i { width: 8px; height: 8px; border-radius: 50%; background: var(--re-green); box-shadow: 0 0 0 4px #e8f7ef; }
.sm-re-module .re-autosave-state i.is-saving { background: #e49a25; box-shadow: 0 0 0 4px #fff3df; animation: reBlink 1s infinite; }
.sm-re-module .re-listing-wizard > .re-card { padding: 25px; animation: reStepIn .3s ease both; }
.sm-re-module .re-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sm-re-module .re-form-grid > input[type="hidden"] { display: none; }
.sm-re-module .re-form-grid > label:has(textarea),
.sm-re-module .re-map-picker-field { grid-column: 1 / -1; }
.sm-re-module .re-check-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sm-re-module .re-check-card {
  min-height: 48px;
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #dfe8e3;
  border-radius: 12px;
  color: #526057;
  background: #fbfcfc;
  font-size: 16px;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.sm-re-module .re-check-card:hover { border-color: #a8d9bd; background: #f5fbf8; }
.sm-re-module .re-check-card input { width: 17px; height: 17px; flex: 0 0 auto; accent-color: var(--re-green); }
.sm-re-module .re-check-card:has(input:checked) { color: var(--re-green-dark); border-color: #8dd1aa; background: var(--re-green-soft); }
.sm-re-module .re-map-picker-field { display: grid; gap: 7px; color: #45534b; font-size: 16px; font-weight: 600; }
.sm-re-module #re-listing-map-picker { min-height: 330px; display: grid; place-items: center; overflow: hidden; border: 1px solid #dbe6df; border-radius: 15px; color: var(--re-muted); background: linear-gradient(135deg, #edf5f0, #dce9e1); }
.sm-re-module .re-map-picker-field > small { color: var(--re-muted); font-size: 16px; font-weight: 400; }
.sm-re-module .re-media-upload-controls { display: grid; grid-template-columns: minmax(220px, .4fr) minmax(0, 1.6fr); gap: 16px; }
.sm-re-module .re-upload-zone {
  min-height: 160px;
  display: grid !important;
  place-items: center;
  padding: 18px;
  border: 2px dashed #a9d4bc;
  border-radius: 15px;
  color: #567063 !important;
  background: #f6fbf8;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.sm-re-module .re-upload-zone:hover,
.sm-re-module .re-upload-zone.is-dragging { transform: translateY(-2px); border-color: var(--re-green); background: #ebf9f1; }
.sm-re-module .re-upload-zone.has-files { border-style: solid; border-color: #7ccb9e; background: #edfaf3; }
.sm-re-module .re-upload-zone > span { display: grid; place-items: center; gap: 5px; }
.sm-re-module .re-upload-zone .sm-icon { width: 30px; height: 30px; color: var(--re-green); }
.sm-re-module .re-upload-zone strong { color: #324a3c; font-size: 16px; }
.sm-re-module .re-upload-zone small { color: var(--re-muted); font-size: 16px; font-weight: 400; }
.sm-re-module .re-upload-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sm-re-module .re-upload-preview { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.sm-re-module .re-upload-preview > span { min-width: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr); grid-template-rows: auto auto; gap: 2px 9px; padding: 8px; border: 1px solid #e0e8e3; border-radius: 11px; background: #fff; }
.sm-re-module .re-upload-preview i { width: 42px; height: 42px; grid-row: 1 / 3; display: grid; place-items: center; border-radius: 9px; background: #e9f1ec center/cover no-repeat; }
.sm-re-module .re-upload-preview strong { overflow: hidden; align-self: end; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.sm-re-module .re-upload-preview small { align-self: start; color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-media-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.sm-re-module .re-media-grid a { min-width: 0; display: grid; gap: 7px; padding: 8px; border: 1px solid #e1e8e4; border-radius: 11px; background: #fff; }
.sm-re-module .re-media-grid img,
.sm-re-module .re-media-grid > a > span { width: 100%; height: 92px; display: grid; place-items: center; border-radius: 8px; object-fit: cover; background: #eef3f0; }
.sm-re-module .re-media-grid small { overflow: hidden; color: var(--re-muted); font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.sm-re-module .re-property-timeline { display: grid; }
.sm-re-module .re-property-timeline article { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; padding: 0 0 22px; }
.sm-re-module .re-property-timeline article:not(:last-child)::after { content: ""; position: absolute; top: 39px; bottom: 3px; left: 18px; width: 2px; background: #dcebe2; }
.sm-re-module .re-property-timeline article > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--re-green-dark); background: #e8f7ef; }
.sm-re-module .re-property-timeline article > span .sm-icon { width: 17px; height: 17px; }
.sm-re-module .re-property-timeline strong { display: block; font-size: 16px; }
.sm-re-module .re-property-timeline p { margin: 3px 0; color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-property-timeline small { color: var(--re-green-dark); font-size: 16px; }
.sm-re-module .re-property-timeline time { color: #7d8982; font-size: 16px; white-space: nowrap; }
.sm-re-module .re-sticky-actions {
  position: fixed;
  z-index: 35;
  right: 24px;
  bottom: 18px;
  left: calc(var(--sm-sidebar, 275px) + 32px);
  min-height: 65px;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(217, 230, 222, .95);
  border-radius: 17px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 45px rgba(20, 43, 29, .17);
  backdrop-filter: blur(17px);
}

/* Tours, reports and content libraries */
.sm-re-module .re-tour-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 18px; }
.sm-re-module .re-tour-kpis article { min-height: 100px; display: flex; align-items: center; gap: 14px; padding: 18px; }
.sm-re-module .re-tour-kpis article > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: var(--re-green-dark); background: var(--re-green-soft); }
.sm-re-module .re-tour-kpis article > span .sm-icon { width: 21px; height: 21px; }
.sm-re-module .re-tour-kpis small { display: block; color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-tour-kpis strong { display: block; margin-top: 4px; font-size: 23px; }
.sm-re-module .re-two-col { display: grid; grid-template-columns: minmax(340px, .7fr) minmax(520px, 1.3fr); gap: 18px; }
.sm-re-module .re-tour-workspace > .re-card { align-self: start; }
.sm-re-module .re-tour-workspace > .re-card:first-child { position: sticky; top: 8px; }
.sm-re-module .re-tour-list { display: grid; gap: 10px; }
.sm-re-module .re-tour-list > article {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 15px;
  padding: 16px;
  border: 1px solid #e1e8e4;
  border-radius: 14px;
  background: #fbfdfc;
}
.sm-re-module .re-tour-list time { grid-column: 1 / -1; color: var(--re-green-dark); font-size: 16px; font-weight: 700; }
.sm-re-module .re-tour-list h3 { margin: 2px 0; font-size: 16px; }
.sm-re-module .re-tour-list p { margin: 0; color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-tour-list > article > .re-badge { grid-column: 2; grid-row: 2; }
.sm-re-module .re-row-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 8px; }
.sm-re-module .re-row-actions a { color: var(--re-green-dark); font-size: 16px; font-weight: 700; }
.sm-re-module .re-tour-reschedule { grid-column: 1 / -1; margin-top: 8px; padding-top: 10px; border-top: 1px solid #e8eeea; }
.sm-re-module .re-tour-reschedule summary { color: #526158; font-size: 16px; font-weight: 700; }
.sm-re-module .re-tour-reschedule form { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 10px; margin-top: 10px; }
.sm-re-module .re-tour-reschedule label { display: grid; gap: 5px; color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-tour-reschedule textarea { min-height: 46px; }
.sm-re-module .re-tour-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.sm-re-module .re-tour-summary div { padding: 13px; border-radius: 12px; background: #f3f8f5; text-align: center; }
.sm-re-module .re-tour-summary span { display: block; color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-tour-summary strong { display: block; margin-top: 4px; font-size: 19px; }

.sm-re-module .re-report-workspace { padding: 0; overflow: hidden; }
.sm-re-module .re-report-workspace > .re-card-head { margin: 0; padding: 21px 22px; border-bottom: 1px solid #eaf0ec; }
.sm-re-module .re-report-filters {
  display: grid;
  grid-template-columns: repeat(6, minmax(125px, 1fr)) auto auto;
  align-items: end;
  gap: 10px;
  padding: 16px 22px;
  border-bottom: 1px solid #eaf0ec;
  background: #fbfdfc;
}
.sm-re-module .re-report-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; padding: 18px 22px; }
.sm-re-module .re-report-kpis article { min-height: 94px; padding: 16px; border: 1px solid #e0e9e4; border-radius: 14px; background: linear-gradient(145deg, #fff, #f7fbf8); }
.sm-re-module .re-report-kpis span { display: block; color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-report-kpis strong { display: block; margin-top: 8px; font-size: 23px; }
.sm-re-module .re-report-chart { margin: 0 22px 20px; padding: 18px; border: 1px solid #e1e9e4; border-radius: 16px; background: #fff; }
.sm-re-module .re-report-chart-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 8px; }
.sm-re-module .re-report-chart-head h3 { margin: 2px 0 0; font-size: 17px; }
.sm-re-module .re-report-subhead { margin: 0 !important; padding: 22px; border-top: 1px solid #e7ede9; border-bottom: 1px solid #e7ede9; background: #fbfdfc; }

.sm-re-module .re-media-library { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; }
.sm-re-module .re-media-library a { min-width: 0; display: grid; gap: 6px; padding: 10px; border: 1px solid #e0e8e3; border-radius: 13px; background: #fff; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.sm-re-module .re-media-library a:hover { transform: translateY(-3px); border-color: #a9d7bc; box-shadow: 0 12px 25px rgba(var(--sm-green-rgb), .09); }
.sm-re-module .re-media-library a > span { height: 145px; display: grid; place-items: center; border-radius: 10px; color: #779b87; background: #eaf2ed center/cover no-repeat; }
.sm-re-module .re-media-library a > span .sm-icon { width: 31px; height: 31px; }
.sm-re-module .re-media-library strong { overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.sm-re-module .re-media-library small { overflow: hidden; color: var(--re-muted); font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }

/* Projects, agents and documents */
.sm-re-module .re-project-grid,
.sm-re-module .re-agent-grid,
.sm-re-module .re-document-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.sm-re-module .re-project-card,
.sm-re-module .re-agent-card { padding: 21px; }
.sm-re-module .re-project-card header { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.sm-re-module .re-project-card header > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: var(--re-green-dark); background: var(--re-green-soft); }
.sm-re-module .re-project-card header > span .sm-icon { width: 22px; height: 22px; }
.sm-re-module .re-project-card header small { display: block; color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-project-card h3 { margin: 2px 0 0; font-size: 16px; }
.sm-re-module .re-project-card header em { padding: 5px 8px; border-radius: 999px; color: var(--re-green-dark); background: #edf8f2; font-size: 16px; font-style: normal; font-weight: 700; }
.sm-re-module .re-project-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0; }
.sm-re-module .re-project-metrics span { padding: 11px 8px; border-radius: 11px; background: #f5f9f7; text-align: center; }
.sm-re-module .re-project-metrics small { display: block; color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-project-metrics strong { display: block; margin-top: 4px; font-size: 17px; }
.sm-re-module .re-project-progress > div { display: flex; justify-content: space-between; margin-bottom: 7px; color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-project-progress i { height: 8px; display: block; overflow: hidden; border-radius: 999px; background: #e7ece9; }
.sm-re-module .re-project-progress b { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--re-green), #72d59f); }
.sm-re-module .re-project-card footer,
.sm-re-module .re-agent-card footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 17px; padding-top: 14px; border-top: 1px solid #eaf0ec; }
.sm-re-module .re-project-card footer > strong { font-size: 16px; }
.sm-re-module .re-project-card footer a,
.sm-re-module .re-agent-card footer a { display: inline-flex; align-items: center; gap: 5px; color: var(--re-green-dark); font-size: 16px; font-weight: 700; }
.sm-re-module .re-project-card footer .sm-icon,
.sm-re-module .re-agent-card footer .sm-icon { width: 12px; height: 12px; }
.sm-re-module .re-agent-card header { display: grid; grid-template-columns: 55px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.sm-re-module .re-agent-card header img { width: 55px; height: 55px; border: 3px solid #fff; border-radius: 15px; object-fit: cover; box-shadow: 0 6px 16px rgba(20, 62, 37, .12); }
.sm-re-module .re-agent-card h3 { margin: 0; font-size: 16px; }
.sm-re-module .re-agent-card p { overflow: hidden; margin: 2px 0 0; color: var(--re-muted); font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.sm-re-module .re-agent-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 18px; }
.sm-re-module .re-agent-stats span { padding: 10px 5px; border-radius: 10px; background: #f4f9f6; text-align: center; }
.sm-re-module .re-agent-stats strong { display: block; font-size: 16px; }
.sm-re-module .re-agent-stats small { display: block; color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-agent-card footer > span { color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-document-card { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 15px; padding: 14px; }
.sm-re-module .re-document-card:hover { transform: translateY(-3px); }
.sm-re-module .re-document-preview { position: relative; min-height: 120px; display: grid; place-items: center; overflow: hidden; border-radius: 13px; color: #7da08d; background: #eaf2ed center/cover no-repeat; }
.sm-re-module .re-document-preview .sm-icon { width: 33px; height: 33px; }
.sm-re-module .re-document-preview em { position: absolute; right: 7px; bottom: 7px; left: 7px; padding: 4px; border-radius: 7px; color: #fff; background: rgba(0, 104, 53, .82); font-size: 16px; font-style: normal; font-weight: 700; text-align: center; }
.sm-re-module .re-document-card > div { min-width: 0; align-self: center; }
.sm-re-module .re-document-card small { color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-document-card h3 { margin: 5px 0; font-size: 16px; }
.sm-re-module .re-document-card p { overflow: hidden; margin: 0 0 10px; color: var(--re-muted); font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.sm-re-module .re-document-card > div > span { display: inline-flex; align-items: center; gap: 5px; color: var(--re-green-dark); font-size: 16px; font-weight: 700; }
.sm-re-module .re-document-card > div > span .sm-icon { width: 12px; height: 12px; }

/* Settings and maps */
.sm-re-module .re-settings-navigation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.sm-re-module .re-settings-navigation > a { min-height: 104px; display: grid; grid-template-columns: 42px minmax(0, 1fr) 18px; align-items: center; gap: 12px; padding: 17px; }
.sm-re-module .re-settings-navigation > a:hover { transform: translateY(-2px); }
.sm-re-module .re-settings-navigation > a > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--re-green-dark); background: var(--re-green-soft); }
.sm-re-module .re-settings-navigation > a > span .sm-icon { width: 20px; height: 20px; }
.sm-re-module .re-settings-navigation strong { display: block; font-size: 16px; }
.sm-re-module .re-settings-navigation small { display: block; margin-top: 2px; color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-settings-navigation > a > .sm-icon { width: 16px; height: 16px; color: #8a968f; }
.sm-re-module .re-settings-layout,
.sm-re-module .re-master-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sm-re-module .re-approval { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; padding: 13px 0; border-bottom: 1px solid #edf1ef; }
.sm-re-module .re-approval strong { font-size: 16px; }
.sm-re-module .re-approval small { color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-approval div { grid-column: 2; grid-row: 1 / 3; display: flex; align-items: center; gap: 7px; }
.sm-re-module .re-approval a { padding: 6px 9px; border-radius: 8px; color: var(--re-green-dark); background: #edf8f2; font-size: 16px; font-weight: 700; }
.sm-re-module .re-master-layout form,
.sm-re-module .re-settings-layout form { display: grid; gap: 14px; }
.sm-re-module .re-master-chips { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.sm-re-module .re-master-chips span { padding: 8px 12px; border: 1px solid #dbe8e1; border-radius: 999px; color: #425349; background: #f4faf7; font-size: 16px; font-weight: 600; }
.sm-re-module .re-type-catalog { min-height: 280px; }
.sm-re-module .re-unified-note { display: flex; align-items: flex-start; gap: 11px; padding: 14px; border: 1px solid #cfe5d9; border-radius: 13px; color: #466054; background: #f1faf5; }
.sm-re-module .re-unified-note > .sm-icon { width: 21px; height: 21px; flex: 0 0 auto; color: var(--re-green); }
.sm-re-module .re-unified-note strong { display: block; font-size: 16px; }
.sm-re-module .re-unified-note p { margin: 4px 0 0; color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-module-map-layout { display: grid; grid-template-columns: minmax(420px, .9fr) minmax(520px, 1.1fr); gap: 18px; }
.sm-re-module .re-module-map-layout .re-map-panel { height: fit-content; }
.sm-re-module .re-inline-filter { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.sm-re-module .re-inline-filter input { min-width: 220px; min-height: 44px; flex: 1; padding: 10px 13px; border: 1px solid #dfe7e2; border-radius: 12px; background: #fff; }
.sm-re-module .re-map-search { position: sticky; z-index: 12; top: 8px; padding: 12px; border: 1px solid #dfe9e3; border-radius: 15px; background: rgba(255,255,255,.94); box-shadow: 0 10px 26px rgba(28, 54, 38, .07); backdrop-filter: blur(15px); }

/* Overlay components */
.sm-re-module .re-floating-action {
  position: fixed;
  z-index: 42;
  right: 26px;
  bottom: 26px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #18b967, var(--re-green-dark));
  box-shadow: 0 16px 35px rgba(0, 132, 66, .32);
  font-size: 16px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}
.sm-re-module .re-floating-action:hover { transform: translateY(-3px); box-shadow: 0 20px 42px rgba(0, 132, 66, .38); }
.sm-re-module .re-floating-action .sm-icon { width: 20px; height: 20px; }
.sm-re-module .re-detail-drawer,
.sm-re-module .re-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity .22s ease, visibility .22s ease;
}
.sm-re-module .re-detail-drawer.is-open,
.sm-re-module .re-modal.is-open { visibility: visible; opacity: 1; }
.sm-re-module .re-drawer-backdrop,
.sm-re-module .re-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(14, 28, 20, .42);
  backdrop-filter: blur(4px);
}
.sm-re-module .re-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(460px, 94vw);
  height: 100%;
  overflow: auto;
  background: #fff;
  box-shadow: -22px 0 60px rgba(14, 34, 21, .2);
  transform: translateX(102%);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.sm-re-module .re-detail-drawer.is-open .re-drawer-panel { transform: translateX(0); }
.sm-re-module .re-drawer-panel > header,
.sm-re-module .re-modal-dialog > header {
  min-height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 20px;
  border-bottom: 1px solid #e8eeea;
  background: rgba(255,255,255,.95);
}
.sm-re-module .re-drawer-panel > header span,
.sm-re-module .re-modal-dialog > header span { color: var(--re-green-dark); font-size: 16px; font-weight: 750; letter-spacing: .6px; text-transform: uppercase; }
.sm-re-module .re-drawer-panel > header h2,
.sm-re-module .re-modal-dialog > header h2 { margin: 2px 0 0; font-size: 19px; }
.sm-re-module .re-drawer-panel > header button,
.sm-re-module .re-modal-dialog > header button { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 10px; color: #59665f; background: #f2f5f3; }
.sm-re-module .re-drawer-cover { height: 260px; display: grid; place-items: center; background: linear-gradient(135deg, #eaf4ee, #cfdfd6) center/cover no-repeat; }
.sm-re-module .re-drawer-cover:not(.has-image)::after { content: "Property preview"; color: #8ca598; font-size: 16px; font-weight: 650; }
.sm-re-module .re-drawer-content { padding: 22px; }
.sm-re-module .re-drawer-price { font-size: 25px; font-weight: 750; }
.sm-re-module .re-drawer-content > p { margin: 6px 0 16px; color: var(--re-muted); font-size: 16px; }
.sm-re-module .re-drawer-content dl { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.sm-re-module .re-drawer-content dl div { padding: 8px 11px; border-radius: 10px; background: #f1f7f4; }
.sm-re-module .re-drawer-content dt { color: #4f5f56; font-size: 16px; }
.sm-re-module .re-drawer-actions { display: flex; gap: 9px; margin-top: 22px; }
.sm-re-module .re-modal { display: grid; place-items: center; padding: 20px; }
.sm-re-module .re-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 85px rgba(9, 28, 16, .28);
  transform: translateY(18px) scale(.98);
  transition: transform .22s ease;
}
.sm-re-module .re-modal.is-open .re-modal-dialog { transform: translateY(0) scale(1); }
.sm-re-module .re-modal-dialog > form,
.sm-re-module .re-confirm-body { display: grid; gap: 14px; padding: 20px; }
.sm-re-module .re-modal-dialog form label { display: grid; gap: 7px; color: #46534c; font-size: 16px; font-weight: 650; }
.sm-re-module .re-modal-dialog form input { min-height: 48px; padding: 10px 13px; border: 1px solid #dce5e0; border-radius: 12px; }
.sm-re-module .re-modal-actions { display: flex; justify-content: flex-end; gap: 9px; }
.sm-re-module .re-confirm-body p { margin: 0; color: var(--re-muted); font-size: 16px; }
body.re-modal-open,
body.re-drawer-open { overflow: hidden; }
.re-toast-stack { position: fixed; z-index: 180; right: 22px; bottom: 22px; display: grid; gap: 9px; pointer-events: none; }
.re-toast { min-width: 280px; max-width: 430px; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid #cde5d8; border-radius: 14px; color: #294137; background: rgba(255,255,255,.96); box-shadow: 0 18px 45px rgba(16, 45, 27, .18); backdrop-filter: blur(14px); animation: reToastIn .25s ease both; }
.re-toast > span { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; background: #16a263; box-shadow: 0 0 0 5px #e4f6ec; }
.re-toast strong { font-family: var(--sm-font-family, "Poppins", system-ui, sans-serif); font-size: 16px; }
.re-toast-warning > span { background: #d88a18; box-shadow: 0 0 0 5px #fff1d9; }
.re-toast.is-leaving { opacity: 0; transform: translateY(8px); transition: .22s ease; }

/* Loading and motion */
.sm-re-module .re-skeleton { display: block; border-radius: 8px; background: linear-gradient(90deg, #edf1ef 25%, #f8faf9 42%, #edf1ef 65%); background-size: 300% 100%; animation: reSkeleton 1.3s ease infinite; }
.sm-re-module .re-skeleton-card { pointer-events: none; }
.sm-re-module .re-skeleton-media { height: 220px; border-radius: 0; }
.sm-re-module .re-skeleton-line { width: 72%; height: 11px; margin-bottom: 10px; }
.sm-re-module .re-skeleton-line.is-short { width: 48%; }
.sm-re-module .re-skeleton-title { width: 92%; height: 18px; margin-bottom: 10px; }
.sm-re-module .re-skeleton-price { width: 44%; height: 19px; margin-top: 13px; }
.sm-re-module .re-reveal { opacity: 0; transform: translateY(10px); }
.sm-re-module .re-reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity .45s ease, transform .45s ease; }

@keyframes reMetricPulse { 0%,100% { color: inherit; transform: scale(1); } 45% { color: var(--re-green); transform: scale(1.035); } }
@keyframes reStepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes reSkeleton { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@keyframes reBlink { 50% { opacity: .35; } }
@keyframes reToastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Responsive */
@media (max-width: 1600px) {
  .sm-re-module .re-dashboard-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm-re-module .re-reference-kpi { grid-template-columns: 48px minmax(0, 1fr); padding: 18px; }
  .sm-re-module .re-reference-kpi-icon { width: 47px; height: 47px; }
  .sm-re-module .re-filter-fields { grid-template-columns: repeat(3, minmax(150px, 1fr)); }
}

@media (max-width: 1380px) {
  .sm-re-module .re-reference-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-re-module .re-dashboard-analytics,
  .sm-re-module .re-dashboard-primary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-re-module .re-dashboard-analytics > :last-child,
  .sm-re-module .re-dashboard-primary > :last-child { grid-column: 1 / -1; }
  .sm-re-module .re-dashboard-secondary { grid-template-columns: 1fr; }
  .sm-re-module .re-property-media-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .sm-re-module .re-property-media-grid > a:first-child { grid-column: span 1; }
  .sm-re-module .re-project-grid,
  .sm-re-module .re-agent-grid,
  .sm-re-module .re-document-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-re-module .re-report-filters { grid-template-columns: repeat(4, minmax(125px, 1fr)); }
  .sm-re-module .re-report-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1180px) {
  .sm-re-module .re-dashboard-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm-re-module .re-dashboard-primary,
  .sm-re-module .re-dashboard-analytics,
  .sm-re-module .re-module-map-layout,
  .sm-re-module .re-two-col { grid-template-columns: 1fr; }
  .sm-re-module .re-dashboard-primary > :last-child,
  .sm-re-module .re-dashboard-analytics > :last-child { grid-column: auto; }
  .sm-re-module .re-tour-workspace > .re-card:first-child { position: static; }
  .sm-re-module .re-recent-listings-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-re-module .re-property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-re-module .re-filter-grid { grid-template-columns: repeat(3, minmax(150px, 1fr)); }
  .sm-re-module .re-check-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm-re-module .re-settings-navigation { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-re-module .re-sticky-actions { left: 22px; }
}

@media (max-width: 900px) {
  .sm-re-module { font-size: 16px; }
  .sm-re-module .re-dashboard-intro,
  .sm-re-module .re-section-header,
  .sm-re-module .re-data-card-head { align-items: flex-start; flex-direction: column; }
  .sm-re-module .re-dashboard-intro > div:last-child,
  .sm-re-module .re-section-header > a,
  .sm-re-module .re-data-card-head > div:last-child { width: 100%; }
  .sm-re-module .re-dashboard-intro .re-btn,
  .sm-re-module .re-section-header > .re-btn { flex: 1; }
  .sm-re-module .re-dashboard-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-re-module .re-inventory-summary-grid,
  .sm-re-module .re-settings-layout,
  .sm-re-module .re-master-layout { grid-template-columns: 1fr; }
  .sm-re-module .re-dashboard-quick-actions,
  .sm-re-module .re-tour-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-re-module .re-search-workspace > .re-card-head { align-items: flex-start; flex-direction: column; }
  .sm-re-module .re-search-workspace > .re-card-head > div:last-child { width: 100%; justify-content: flex-start; }
  .sm-re-module .re-filter-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-re-module .re-filter-footer,
  .sm-re-module .re-table-commandbar,
  .sm-re-module .re-bulk-toolbar,
  .sm-re-module .re-pagination { align-items: stretch; flex-direction: column; }
  .sm-re-module .re-filter-footer > div,
  .sm-re-module .re-filter-footer > div:last-child,
  .sm-re-module .re-table-commandbar > div:last-child { width: 100%; margin-left: 0; }
  .sm-re-module .re-table-commandbar > div:last-child .re-btn { flex: 1; }
  .sm-re-module .re-bulk-toolbar > div:first-child { margin-right: 0; }
  .sm-re-module .re-bulk-toolbar label { min-width: 0; width: 100%; }
  .sm-re-module .re-pagination > div:first-child { margin-right: 0; }
  .sm-re-module .re-pagination nav { overflow-x: auto; }
  .sm-re-module .re-report-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-re-module .re-form-grid { grid-template-columns: 1fr; }
  .sm-re-module .re-form-grid > label,
  .sm-re-module .re-map-picker-field { grid-column: auto; }
  .sm-re-module .re-media-upload-controls { grid-template-columns: 1fr; }
  .sm-re-module .re-upload-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-re-module .re-media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm-re-module .re-media-library { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .sm-re-module .re-card { padding: 17px; border-radius: 16px; }
  .sm-re-module .re-reference-kpis,
  .sm-re-module .re-dashboard-metrics,
  .sm-re-module .re-property-grid,
  .sm-re-module .re-project-grid,
  .sm-re-module .re-agent-grid,
  .sm-re-module .re-document-grid,
  .sm-re-module .re-settings-navigation { grid-template-columns: 1fr; }
  .sm-re-module .re-reference-kpi { min-height: 132px; }
  .sm-re-module .re-dashboard-intro { padding: 19px; }
  .sm-re-module .re-dashboard-intro > div:last-child { display: grid; grid-template-columns: 1fr; }
  .sm-re-module .re-dashboard-quick-actions,
  .sm-re-module .re-tour-kpis { grid-template-columns: 1fr; }
  .sm-re-module .re-map-canvas { height: 310px; }
  .sm-re-module .re-filter-grid,
  .sm-re-module .re-filter-fields,
  .sm-re-module .re-report-filters,
  .sm-re-module .re-report-kpis,
  .sm-re-module .re-check-grid { grid-template-columns: 1fr; }
  .sm-re-module .re-smart-filter { position: static; padding: 14px; }
  .sm-re-module .re-smart-search kbd { display: none; }
  .sm-re-module .re-recent-listings-track { grid-template-columns: 1fr; }
  .sm-re-module .re-property-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-re-module .re-property-grid.re-list-view .re-property-card { grid-template-columns: 1fr; }
  .sm-re-module .re-property-grid.re-list-view .re-property-media { min-height: 210px; }
  .sm-re-module .re-inventory-chart-wrap { grid-template-columns: 1fr; }
  .sm-re-module .re-inventory-donut { margin: auto; }
  .sm-re-module .re-activity-chart { padding-left: 10px; gap: 6px; }
  .sm-re-module .re-chart-bars { height: 135px; }
  .sm-re-module .re-chart-key { justify-content: flex-start; }
  .sm-re-module .re-tour-reschedule form { grid-template-columns: 1fr; }
  .sm-re-module .re-tour-list > article { grid-template-columns: 1fr; }
  .sm-re-module .re-tour-list > article > .re-badge { width: fit-content; grid-column: 1; grid-row: auto; }
  .sm-re-module .re-media-library { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-re-module .re-document-card { grid-template-columns: 105px minmax(0, 1fr); }
  .sm-re-module .re-agent-stats { grid-template-columns: repeat(2, 1fr); }
  .sm-re-module .re-wizard-toolbar { position: static; }
  .sm-re-module .re-wizard-toolbar li button strong { display: none; }
  .sm-re-module .re-wizard-toolbar li { flex: 0 0 auto; }
  .sm-re-module .re-upload-preview { grid-template-columns: 1fr; }
  .sm-re-module .re-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-re-module .re-sticky-actions {
    right: 9px;
    bottom: 9px;
    left: 9px;
    grid-template-columns: auto 1fr auto auto;
    padding: 9px;
  }
  .sm-re-module .re-sticky-actions > span { display: none; }
  .sm-re-module .re-sticky-actions .re-btn { min-height: 42px; padding: 9px 11px; font-size: 16px; }
  .sm-re-module .re-floating-action { right: 14px; bottom: 82px; width: 52px; height: 52px; min-height: 52px; padding: 0; justify-content: center; }
  .sm-re-module .re-floating-action span { display: none; }
  .sm-re-module .re-drawer-panel { width: 100%; }
  .sm-re-module .re-drawer-cover { height: 220px; }
  .re-toast-stack { right: 10px; bottom: 10px; left: 10px; }
  .re-toast { min-width: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .sm-re-module *,
  .sm-re-module *::before,
  .sm-re-module *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .sm-re-module .re-reveal { opacity: 1; transform: none; }
}

@media print {
  .sm-re-module .re-floating-action,
  .sm-re-module .re-smart-filter,
  .sm-re-module .re-table-commandbar,
  .sm-re-module .re-bulk-toolbar,
  .sm-re-module .re-pagination,
  .sm-re-module .re-row-menu,
  .sm-re-module .re-view-switch,
  .sm-re-module .re-sticky-actions,
  .sm-re-module .re-wizard-toolbar,
  .sm-re-module .re-btn,
  .sm-re-module .re-detail-drawer,
  .sm-re-module .re-modal { display: none !important; }
  .sm-re-module .re-card,
  .sm-re-module .re-dashboard-panel,
  .sm-re-module .re-reference-kpi { box-shadow: none !important; break-inside: avoid; }
  .sm-re-module .re-table-wrap { overflow: visible; }
  .sm-re-module .re-data-table,
  .sm-re-module .re-table-wrap table { min-width: 0; font-size: 9px; }
  .sm-re-module .re-data-table th,
  .sm-re-module .re-data-table td { padding: 6px; }
}
