:root {
  --rh-bg: #eef3f8;
  --rh-bg-soft: #f6f9fc;
  --rh-surface: rgba(255, 255, 255, 0.94);
  --rh-surface-strong: #ffffff;
  --rh-border: #d7e0eb;
  --rh-border-strong: #c3d1e1;
  --rh-text: #102235;
  --rh-muted: #5f7288;
  --rh-accent: #0c6f63;
  --rh-accent-strong: #08544c;
  --rh-accent-soft: #d4f2ed;
  --rh-info: #0f4e8a;
  --rh-danger: #9d2438;
  --rh-shadow: 0 14px 30px rgba(15, 41, 65, 0.12);
  --rh-shadow-soft: 0 8px 20px rgba(15, 41, 65, 0.08);
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
}

body.rh-body {
  margin: 0;
  color: var(--rh-text);
  background:
    radial-gradient(circle at 12% -10%, rgba(12, 111, 99, 0.12), transparent 36%),
    radial-gradient(circle at 100% 0, rgba(15, 78, 138, 0.1), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #edf3f9 100%);
}

.rh-shell {
  display: flex;
  min-height: 100vh;
}

.rh-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.rh-page {
  padding: 1.4rem;
}

.rh-kicker {
  margin: 0;
  color: var(--rh-accent-strong);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 800;
}

.rh-heading-title {
  margin: 0.15rem 0 0;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.rh-heading-subtitle {
  margin: 0.35rem 0 0;
  color: var(--rh-muted);
  max-width: 64ch;
}

.rh-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.rh-page-header-elevated {
  border: 1px solid var(--rh-border);
  border-radius: 1.1rem;
  background: var(--rh-surface);
  box-shadow: var(--rh-shadow-soft);
  padding: 1.05rem 1.1rem;
}

.rh-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.rh-panel {
  background: var(--rh-surface);
  border: 1px solid var(--rh-border);
  border-radius: 1rem;
  padding: 1rem;
}

.rh-panel-elevated {
  box-shadow: var(--rh-shadow-soft);
}

.rh-section-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.rh-input {
  border: 1px solid var(--rh-border-strong);
  border-radius: 0.7rem;
  color: var(--rh-text);
  background-color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rh-input:focus,
.form-control:focus,
.form-select:focus {
  border-color: rgba(12, 111, 99, 0.55);
  box-shadow: 0 0 0 0.18rem rgba(12, 111, 99, 0.16);
}

.rh-select-wrap {
  position: relative;
}

.rh-select {
  appearance: none;
  padding-right: 2.3rem;
  background-image: linear-gradient(45deg, transparent 50%, #365170 50%), linear-gradient(135deg, #365170 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% - 3px), calc(100% - 10px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.btn.rh-btn-primary,
.rh-btn-primary {
  border: 1px solid transparent;
  color: #ffffff;
  background: linear-gradient(135deg, #0c6f63 0%, #0f4e8a 100%);
  border-radius: 0.75rem;
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(12, 111, 99, 0.22);
}

.btn.rh-btn-primary:hover,
.rh-btn-primary:hover {
  color: #ffffff;
  filter: brightness(0.97);
}

.btn.rh-btn-subtle,
.rh-btn-subtle {
  border: 1px solid var(--rh-border-strong);
  color: var(--rh-text);
  background: #ffffff;
  border-radius: 0.75rem;
  font-weight: 700;
}

.btn.rh-btn-subtle:hover,
.rh-btn-subtle:hover {
  color: var(--rh-text);
  background: #f4f8fd;
}

.btn.rh-btn-outline-danger,
.rh-btn-outline-danger {
  border: 1px solid rgba(157, 36, 56, 0.45);
  color: var(--rh-danger);
  background: #fff;
  border-radius: 0.75rem;
  font-weight: 700;
}

.btn.rh-btn-outline-danger:hover,
.rh-btn-outline-danger:hover {
  color: #fff;
  background: var(--rh-danger);
}

/* Sidebar */
.rh-shell.has-sidebar {
  background: #edf2f6;
}

.rh-shell.has-sidebar .rh-main {
  background:
    radial-gradient(circle at top, rgba(22, 191, 146, 0.09), transparent 30%),
    radial-gradient(circle at 100% 0, rgba(61, 130, 246, 0.06), transparent 24%),
    linear-gradient(180deg, #f6f9fc 0%, #edf2f6 100%);
}

.rh-sidebar {
  width: 272px;
  background:
    radial-gradient(circle at 18% 0, rgba(21, 201, 154, 0.16), transparent 26%),
    linear-gradient(180deg, #10222f 0%, #132834 32%, #0d1c27 100%);
  color: #dce8f4;
  padding: 1rem 0.9rem;
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid rgba(156, 195, 224, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.03);
}

.rh-sidebar-brand-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.35rem 0.25rem 0.2rem;
  color: #ffffff;
  text-decoration: none;
}

.rh-sidebar-brand-link:hover,
.rh-sidebar-brand-link:focus {
  color: #ffffff;
}

.rh-sidebar-brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 800;
  color: #f5fffb;
  background: linear-gradient(135deg, #18aa82 0%, #0f7c89 55%, #0d4d8e 100%);
  box-shadow: 0 10px 24px rgba(12, 111, 99, 0.34);
}

.rh-sidebar-brand-copy {
  display: grid;
  gap: 0.08rem;
}

.rh-sidebar-brand-copy strong {
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}

.rh-sidebar-brand-copy small {
  color: #8da7bc;
  font-size: 0.78rem;
}

.rh-sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.82rem;
  border-radius: 1rem;
  background: rgba(10, 26, 39, 0.92);
  border: 1px solid rgba(171, 214, 244, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rh-avatar {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: #f2fbff;
  background: linear-gradient(135deg, rgba(24, 170, 130, 0.98), rgba(15, 78, 138, 0.98));
}

.rh-sidebar-user-name {
  margin: 0;
  font-weight: 700;
  font-size: 0.84rem;
  color: #f0f7ff;
  max-width: 165px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rh-sidebar-user-role {
  margin: 0.05rem 0 0;
  font-size: 0.72rem;
  color: #88a7be;
}

.rh-sidebar-section {
  display: grid;
  gap: 0.55rem;
}

.rh-sidebar-section-muted {
  margin-top: auto;
}

.rh-sidebar-section-label {
  margin: 0;
  padding: 0 0.3rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7690a6;
  font-weight: 800;
}

.rh-nav {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.rh-nav-secondary .rh-nav-link {
  background: rgba(255, 255, 255, 0.02);
}

.rh-nav-link {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  color: #d8e6f3;
  text-decoration: none;
  padding: 0.72rem 0.82rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.025);
  transition: all 0.2s ease;
}

.rh-nav-link:hover,
.rh-nav-link:focus {
  color: #ffffff;
  border-color: rgba(171, 214, 244, 0.1);
  background: rgba(255, 255, 255, 0.07);
}

.rh-nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(24, 170, 130, 0.24), rgba(15, 124, 137, 0.4));
  border-color: rgba(67, 224, 178, 0.32);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 12px 24px rgba(7, 18, 26, 0.22);
}

.rh-nav-icon {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.62rem;
  font-size: 0.82rem;
  color: #cbe0f2;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.rh-nav-link.active .rh-nav-icon {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.rh-sidebar-footer {
  padding: 0.9rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(10, 27, 40, 0.95) 0%, rgba(8, 19, 31, 0.98) 100%);
  border: 1px solid rgba(171, 214, 244, 0.08);
}

.rh-sidebar-footer p {
  margin: 0;
  font-weight: 700;
  color: #f7fbff;
  line-height: 1.35;
}

.rh-sidebar-footer small {
  display: block;
  margin-top: 0.35rem;
  color: #91acc1;
  line-height: 1.45;
}

.btn.rh-btn-sidebar-logout,
.rh-btn-sidebar-logout {
  border: 1px solid rgba(243, 120, 137, 0.24);
  border-radius: 0.85rem;
  color: #f7d3d8;
  background: rgba(123, 27, 44, 0.24);
  font-weight: 700;
}

.btn.rh-btn-sidebar-logout:hover,
.rh-btn-sidebar-logout:hover {
  color: #ffffff;
  background: rgba(157, 36, 56, 0.58);
}

/* Topbar */
.rh-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.95rem 1.35rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(198, 211, 225, 0.72);
}

.rh-topbar-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.rh-topbar-context {
  display: grid;
  gap: 0.05rem;
}

.rh-topbar-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--rh-text);
}

.rh-topbar-caption {
  color: #7890a6;
  font-size: 0.74rem;
}

.rh-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.rh-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(198, 211, 225, 0.75);
  color: #6d8297;
  font-size: 0.85rem;
  padding: 0.75rem 1.25rem;
  margin-top: auto;
  background: rgba(255, 255, 255, 0.78);
}

.rh-footer a {
  color: inherit;
  text-decoration: none;
}

.rh-footer a:hover {
  color: var(--rh-text);
}

.rh-footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

.rh-shell.has-sidebar .rh-topbar .rh-btn-subtle {
  background: #ffffff;
  color: var(--rh-text);
  border-color: rgba(184, 201, 217, 0.86);
}

.rh-shell.has-sidebar .rh-topbar .rh-btn-subtle:hover {
  background: #f4f8fc;
  color: var(--rh-text);
}

.rh-shell.has-sidebar .rh-topbar .rh-btn-outline-danger {
  background: #fff8f9;
  color: var(--rh-danger);
  border-color: rgba(226, 165, 175, 0.8);
}

.rh-shell.has-sidebar .rh-topbar .rh-btn-outline-danger:hover {
  background: rgba(157, 36, 56, 0.58);
}

/* Dashboard */
.rh-dashboard-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border: 1px solid var(--rh-border);
  border-radius: 1rem;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.94) 0%, rgba(230, 248, 245, 0.95) 100%);
  box-shadow: var(--rh-shadow-soft);
  padding: 1.1rem;
  margin-bottom: 1rem;
}

.rh-dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.rh-metric-card {
  border: 1px solid var(--rh-border);
  border-radius: 0.9rem;
  background: var(--rh-surface-strong);
  box-shadow: var(--rh-shadow-soft);
  padding: 0.9rem;
}

.rh-metric-label {
  margin: 0;
  color: var(--rh-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.rh-metric-value {
  margin: 0.3rem 0 0.2rem;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.rh-metric-card small {
  color: var(--rh-muted);
}

.rh-dashboard-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0.95rem;
}

.rh-guidance-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--rh-muted);
  display: grid;
  gap: 0.5rem;
}

/* Properties */
.rh-property-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.rh-summary-card {
  border: 1px solid var(--rh-border);
  border-radius: 0.9rem;
  background: var(--rh-surface);
  box-shadow: var(--rh-shadow-soft);
  padding: 0.85rem 0.95rem;
}

.rh-summary-card p {
  margin: 0;
  color: var(--rh-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.rh-summary-card h3 {
  margin: 0.32rem 0 0.16rem;
  font-size: 1.3rem;
  font-weight: 800;
}

.rh-summary-card small {
  color: var(--rh-muted);
}

.rh-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.rh-property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 0.95rem;
}

.rh-property-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid var(--rh-border);
  border-radius: 1rem;
  box-shadow: var(--rh-shadow-soft);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rh-property-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--rh-shadow);
}

.rh-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.rh-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.52rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.rh-chip-primary {
  background: #dbf5ef;
  color: #0e6d62;
  border-color: #aadfd4;
}

.rh-chip-info {
  background: #dbeaf9;
  color: #0a4f89;
  border-color: #b9d6f3;
}

.rh-chip-warning {
  background: #fff0d7;
  color: #885300;
  border-color: #ffd38a;
}

.rh-card-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
}

.rh-card-meta {
  margin: 0.02rem 0;
  color: var(--rh-muted);
  font-size: 0.9rem;
}

.rh-stat-row {
  display: flex;
  gap: 0.68rem;
}

.rh-stat-box {
  flex: 1;
  border: 1px solid var(--rh-border);
  border-radius: 0.7rem;
  padding: 0.56rem 0.62rem;
  background: #f7fbff;
}

.rh-stat-label {
  margin: 0;
  color: var(--rh-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.rh-stat-value {
  margin: 0.15rem 0 0;
  font-weight: 800;
}

.rh-pagination .page-link {
  border-color: var(--rh-border-strong);
  color: var(--rh-text);
}

.rh-pagination .page-item.active .page-link,
.rh-pagination .page-link:hover {
  color: var(--rh-text);
  background: #ebf4fc;
}

/* Overview */
.rh-section-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1rem;
}

.rh-section-card {
  background: var(--rh-surface);
  border: 1px solid var(--rh-border);
  border-radius: 1rem;
  box-shadow: var(--rh-shadow-soft);
}

.rh-section-card .card-header {
  background: transparent;
  border-bottom: 1px solid var(--rh-border);
  font-weight: 800;
}

.rh-table {
  --bs-table-bg: transparent;
}

.rh-table > :not(caption) > * > * {
  border-bottom-color: #e2eaf3;
}

.rh-table thead th {
  color: #375168;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
}

.rh-results-host {
  margin-bottom: 1rem;
}

.rh-properties-page {
  display: grid;
  gap: 1.1rem;
}

.rh-kicker-ghost {
  color: var(--rh-accent-strong);
}

.rh-properties-hero {
  display: grid;
  gap: 0.9rem;
  padding: 0.9rem 1rem 0.95rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(203, 215, 228, 0.9);
  background:
    radial-gradient(circle at 0 0, rgba(24, 170, 130, 0.12), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 252, 0.99) 52%, rgba(239, 244, 248, 0.99) 100%);
  box-shadow: 0 22px 42px rgba(15, 41, 65, 0.12);
}

.rh-properties-overview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.rh-properties-overview-title {
  margin-top: 0.06rem;
  font-size: 1.45rem;
}

.rh-properties-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.rh-properties-stat-grid {
  display: grid;
  gap: 0.8rem;
}

.rh-properties-stat-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rh-properties-stat-card {
  padding: 0.78rem 0.9rem;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(203, 215, 228, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.rh-properties-stat-card span {
  display: block;
  color: #60758a;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 800;
}

.rh-properties-stat-card strong {
  display: block;
  margin-top: 0.22rem;
  color: var(--rh-text);
  font-size: 1.1rem;
  line-height: 1;
}

.rh-properties-stat-card small {
  display: block;
  margin-top: 0.2rem;
  color: var(--rh-muted);
}

.rh-properties-primary-action {
  width: 100%;
  min-height: 100%;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rh-properties-filter-shell,
.rh-properties-scope-shell,
.rh-smart-table-card {
  border-radius: 1.2rem;
  border: 1px solid rgba(203, 215, 228, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 252, 0.98) 100%);
  box-shadow: 0 18px 34px rgba(15, 41, 65, 0.1);
}

.rh-properties-filter-shell,
.rh-properties-scope-shell {
  padding: 1rem 1.1rem;
}

.rh-properties-filter-head,
.rh-smart-table-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.rh-smart-table-heading {
  display: grid;
  gap: 0.25rem;
}

.rh-smart-table-heading-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.rh-smart-table-header-right {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.rh-properties-filter-head small,
.rh-smart-table-header-meta span {
  color: #70869b;
}

.rh-properties-filter-head .rh-section-title,
.rh-smart-table-card .rh-section-title {
  color: var(--rh-text);
}

.rh-properties-filter-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.7fr 0.7fr auto;
  gap: 0.8rem;
  margin-top: 1rem;
}

.rh-properties-filter-field .form-label {
  color: #60758a;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 800;
}

.rh-properties-page .rh-input,
.rh-properties-page .form-control,
.rh-properties-page .form-select {
  min-height: 2.95rem;
  border-color: rgba(193, 208, 222, 0.9);
  color: var(--rh-text);
  background: #ffffff !important;
}

.rh-properties-page .rh-input::placeholder {
  color: #8aa0b4;
}

.rh-properties-page .rh-input:focus,
.rh-properties-page .form-control:focus,
.rh-properties-page .form-select:focus {
  color: var(--rh-text);
  background: #ffffff !important;
}

.rh-properties-page .rh-select {
  background-image: linear-gradient(45deg, transparent 50%, #6f8aa1 50%), linear-gradient(135deg, #6f8aa1 50%, transparent 50%);
}

.rh-properties-page .form-select option,
.rh-properties-page .rh-select option {
  color: var(--rh-text);
  background: #ffffff;
}

.rh-properties-filter-actions {
  display: flex;
  align-items: end;
}

.rh-properties-filter-actions .rh-btn-primary {
  width: 100%;
  min-height: 2.95rem;
}

.rh-properties-results-host {
  margin-bottom: 0;
}

.rh-smart-table-card {
  padding: 1rem 1.1rem;
}

.rh-smart-table-header-meta {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.rh-smart-table-add-btn {
  min-width: 88px;
  min-height: 2.25rem;
  padding: 0.35rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(12, 111, 99, 0.16);
}

.rh-smart-table-header-meta > div {
  min-width: 118px;
  padding: 0.68rem 0.8rem;
  border-radius: 0.9rem;
  background: #f6f9fc;
  border: 1px solid rgba(203, 215, 228, 0.9);
}

.rh-smart-table-header-meta strong {
  display: block;
  color: var(--rh-text);
  font-size: 1rem;
}

.rh-smart-table {
  margin-top: 1rem;
  --bs-table-bg: transparent;
  color: var(--rh-text);
}

.rh-smart-table > :not(caption) > * > * {
  padding: 0.9rem 0.72rem;
  border-bottom-color: #e1e8f0;
  background: transparent;
}

.rh-smart-table thead th {
  color: #5f768c;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 800;
  border-bottom-color: #d5e0ea;
}

.rh-smart-table tbody tr {
  transition: background 0.18s ease;
}

.rh-smart-table tbody tr:hover {
  background: #f5f9fd;
}

.rh-smart-table-check-col {
  width: 44px;
}

.rh-table-check {
  width: 1rem;
  height: 1rem;
  margin-top: 0;
  border-color: #b7c8d8;
  background-color: #ffffff;
}

.rh-row-code,
.rh-row-metric,
.rh-row-landlord {
  display: grid;
  gap: 0.12rem;
}

.rh-row-code strong,
.rh-row-metric strong,
.rh-row-landlord strong {
  color: var(--rh-text);
  font-size: 0.9rem;
}

.rh-row-code span,
.rh-row-metric span,
.rh-row-landlord span,
.rh-table-secondary {
  color: #71879b;
  font-size: 0.78rem;
}

.rh-table-property {
  display: flex;
  align-items: center;
  gap: 0.78rem;
  min-width: 250px;
}

.rh-table-property-copy {
  display: grid;
  gap: 0.14rem;
}

.rh-table-avatar {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #f5fffb;
  background: linear-gradient(135deg, rgba(24, 170, 130, 0.92), rgba(15, 78, 138, 0.92));
  box-shadow: 0 10px 22px rgba(12, 111, 99, 0.22);
}

.rh-table-property-link {
  color: #30c298;
  font-weight: 700;
  text-decoration: none;
}

.rh-table-property-link:hover {
  color: #0a5b7b;
}

.rh-table-city {
  color: var(--rh-text);
  font-weight: 600;
}

.rh-table-action {
  min-width: 92px;
  border-radius: 0.8rem;
  border: 1px solid rgba(13, 92, 125, 0.14);
  color: #ffffff;
  background: linear-gradient(135deg, #0c6f63 0%, #0f4e8a 100%);
  font-weight: 700;
}

.rh-table-action:hover {
  color: #ffffff;
  filter: brightness(1.03);
}

.rh-smart-meta-table {
  margin-top: 1rem;
  color: var(--rh-text);
}

.rh-smart-meta-table > :not(caption) > * > * {
  border-bottom-color: #e1e8f0;
}

.rh-smart-meta-table thead th {
  color: #5f768c;
  border-bottom-color: #d5e0ea;
}

.rh-empty-dark {
  margin-top: 1rem;
  border-style: solid;
  border-color: #d5e0ea;
  background: #f7fbfe;
  color: #70869b;
}

.rh-pagination-dark .page-link {
  border-color: #d2dde7;
  color: var(--rh-text);
  background: #ffffff;
}

.rh-pagination-dark .page-item.active .page-link,
.rh-pagination-dark .page-link:hover {
  color: var(--rh-text);
  background: #eef6fc;
  border-color: #bdd2e5;
}

.rh-pagination-dark .page-item.disabled .page-link {
  color: #8ca0b3;
  background: #f8fbfd;
}

.rh-empty {
  border: 1px dashed var(--rh-border-strong);
  border-radius: 0.82rem;
  padding: 1rem;
  color: var(--rh-muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.55);
}

.rh-modal-content {
  border-radius: 1rem;
  border: 1px solid var(--rh-border);
  box-shadow: var(--rh-shadow);
}

/* Auth */
body.rh-auth-body {
  margin: 0;
  min-height: 100vh;
  color: #e7f0fb;
  background:
    radial-gradient(circle at 10% 8%, rgba(12, 111, 99, 0.35), transparent 28%),
    radial-gradient(circle at 92% 92%, rgba(15, 78, 138, 0.3), transparent 28%),
    linear-gradient(140deg, #0f1d2e 0%, #112a43 44%, #1a3f60 100%);
}

.rh-auth-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.rh-auth-shell {
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(189, 215, 240, 0.28);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  background: rgba(8, 22, 35, 0.55);
  backdrop-filter: blur(10px);
}

.rh-auth-shell-register {
  width: min(1160px, 100%);
}

.rh-auth-shell-register .rh-plan-menu {
  top: auto;
  bottom: calc(100% + 0.5rem);
  z-index: 32;
}

.rh-auth-hero {
  position: relative;
  padding: 2.2rem 2rem;
  background:
    linear-gradient(160deg, rgba(12, 111, 99, 0.34) 0%, rgba(15, 78, 138, 0.22) 50%, rgba(9, 23, 37, 0.62) 100%),
    radial-gradient(circle at 10% 15%, rgba(255, 255, 255, 0.16), transparent 28%);
}

.rh-auth-kicker {
  display: inline-block;
  padding: 0.26rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(222, 236, 255, 0.32);
  color: #d9e8fa;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.rh-auth-hero h1 {
  margin: 1rem 0 0.6rem;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.rh-auth-hero p {
  margin: 0;
  color: #c6d7eb;
  max-width: 40ch;
}

.rh-auth-points {
  margin: 1.2rem 0 0;
  padding-left: 1.1rem;
  color: #e6f2ff;
  display: grid;
  gap: 0.55rem;
  font-size: 0.92rem;
}

.rh-auth-card {
  background: rgba(255, 255, 255, 0.94);
  color: var(--rh-text);
  padding: 2rem;
}

.rh-auth-card-header h2 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.rh-auth-card-header p {
  margin: 0.35rem 0 1.3rem;
  color: var(--rh-muted);
}

.rh-auth-label {
  color: #2f4257;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rh-auth-input {
  border-radius: 0.8rem;
  border: 1px solid #c9d7e7;
  min-height: 2.75rem;
  color: var(--rh-text);
}

.rh-auth-input::placeholder {
  color: #8ca0b7;
}

.rh-auth-select-wrap {
  position: relative;
}

.rh-auth-select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, #375170 50%), linear-gradient(135deg, #375170 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% - 3px), calc(100% - 10px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.rh-auth-footnote {
  margin-top: 1.2rem;
  color: var(--rh-muted);
  font-size: 0.92rem;
}

.rh-auth-footnote a {
  color: var(--rh-info);
  font-weight: 700;
  text-decoration: none;
}

.rh-auth-footnote a:hover {
  text-decoration: underline;
}

/* Dialogs */
.rh-success-modal {
  border-radius: 1rem;
  border: 1px solid #9fdac6;
  box-shadow: 0 20px 40px rgba(12, 111, 99, 0.2);
  background: linear-gradient(180deg, #f1fdf9 0%, #ffffff 100%);
}

.rh-success-modal .modal-title {
  color: #0c6f63;
  font-weight: 800;
}

.rh-success-modal .modal-body {
  color: #1d2d3f;
}

.rh-error-modal {
  border-radius: 1rem;
  border: 1px solid #e8a1ac;
  box-shadow: 0 20px 40px rgba(157, 36, 56, 0.24);
  background: linear-gradient(180deg, #fff3f5 0%, #ffffff 100%);
}

.rh-error-modal .modal-title {
  color: #9d2438;
  font-weight: 800;
}

.rh-error-modal .modal-body {
  color: #1d2d3f;
}


.rh-sidebar-user-link {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.rh-sidebar-user-link:hover,
.rh-sidebar-user-link:focus {
  color: inherit;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.rh-sidebar-user-link.active {
  background: linear-gradient(135deg, rgba(12, 111, 99, 0.72), rgba(15, 78, 138, 0.74));
  border-color: rgba(255, 255, 255, 0.18);
}

/* Profile */
.rh-profile-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.rh-profile-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1rem;
}

.rh-profile-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.rh-profile-info-item {
  border: 1px solid var(--rh-border);
  border-radius: 0.8rem;
  background: #f8fbff;
  padding: 0.7rem 0.75rem;
}

.rh-profile-info-item p {
  margin: 0;
  color: var(--rh-muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.rh-profile-info-item h3 {
  margin: 0.28rem 0 0;
  font-size: 1rem;
  font-weight: 800;
  word-break: break-word;
}

.rh-profile-plan-banner {
  border: 1px solid #b8d8cf;
  background: linear-gradient(130deg, #f4fcf9 0%, #eef6ff 100%);
  border-radius: 0.9rem;
  padding: 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.rh-profile-plan-banner p {
  color: var(--rh-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.rh-profile-property-list {
  display: grid;
  gap: 0.65rem;
}

.rh-profile-property-item {
  border: 1px solid var(--rh-border);
  border-radius: 0.85rem;
  background: #f8fbff;
  padding: 0.75rem;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  text-decoration: none;
  color: inherit;
}

.rh-profile-property-item:hover {
  border-color: #afc7e2;
  box-shadow: var(--rh-shadow-soft);
}

.rh-profile-property-item h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.rh-profile-property-item p {
  margin: 0.28rem 0 0;
  color: var(--rh-muted);
}

.rh-profile-property-item small {
  display: block;
  margin-top: 0.35rem;
  color: var(--rh-muted);
}

.rh-profile-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0.85rem;
}

.rh-profile-plan-card {
  border: 1px solid var(--rh-border);
  border-radius: 0.95rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: var(--rh-shadow-soft);
  padding: 0.88rem;
}

.rh-profile-plan-card.is-current {
  border-color: #9fcfbe;
  background: linear-gradient(180deg, #f4fcf8 0%, #f7fbff 100%);
}

.rh-profile-plan-price {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.rh-profile-plan-meta {
  margin: 0.55rem 0 0;
  padding-left: 1.1rem;
  color: var(--rh-muted);
  display: grid;
  gap: 0.25rem;
}
/* Responsive */
@media (max-width: 1100px) {
  .rh-auth-shell,
  .rh-auth-shell-register {
    grid-template-columns: 1fr;
  }

  .rh-auth-hero {
    padding-bottom: 1.5rem;
  }
}

@media (max-width: 992px) {
  .rh-sidebar {
    position: fixed;
    left: -284px;
    z-index: 1040;
    transition: left 0.2s ease;
  }

  .rh-body.sidebar-open .rh-sidebar {
    left: 0;
  }

  .rh-main {
    width: 100%;
  }

  .rh-page {
    padding: 1rem;
  }

  .rh-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rh-properties-filter-grid,
  .rh-properties-overview-grid,
  .rh-properties-stat-grid-wide {
    grid-template-columns: 1fr;
  }

  .rh-properties-overview-head {
    align-items: start;
  }

  .rh-section-grid,
  .rh-dashboard-grid,
  .rh-property-summary,
  .rh-dashboard-metrics,
  .rh-profile-grid,
  .rh-profile-metrics,
  .rh-profile-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 993px) {
  .rh-sidebar-toggle {
    display: none;
  }
}

@media (max-width: 576px) {
  .rh-filter-grid {
    grid-template-columns: 1fr;
  }

  .rh-properties-filter-grid {
    grid-template-columns: 1fr;
  }

  .rh-topbar {
    padding: 0.72rem 0.8rem;
  }

  .rh-page {
    padding: 0.8rem;
  }

  .rh-topbar-right {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .rh-properties-hero,
  .rh-smart-table-card,
  .rh-properties-filter-shell,
  .rh-properties-scope-shell {
    padding: 0.9rem;
  }

  .rh-properties-overview-head {
    align-items: start;
  }

  .rh-smart-table-header-meta {
    width: 100%;
  }

  .rh-smart-table-header-right {
    width: 100%;
    justify-content: stretch;
  }

  .rh-smart-table-add-btn {
    width: auto;
  }

  .rh-smart-table-header-meta > div {
    flex: 1 1 0;
  }

  .rh-auth-card,
  .rh-auth-hero {
    padding: 1.25rem;
  }
}

.rh-plan-picker {
  position: relative;
}

.rh-plan-toggle {
  width: 100%;
  border: 1px solid #b9ccdf;
  border-radius: 0.85rem;
  background: #ffffff;
  color: var(--rh-text);
  min-height: 2.9rem;
  padding: 0.68rem 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  text-align: left;
}

.rh-plan-toggle:hover {
  border-color: #8ea9c4;
}

.rh-plan-picker.is-open .rh-plan-toggle {
  border-color: rgba(12, 111, 99, 0.55);
  box-shadow: 0 0 0 0.18rem rgba(12, 111, 99, 0.16);
}

.rh-plan-chevron {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid #4a617c;
  transition: transform 0.2s ease;
}

.rh-plan-picker.is-open .rh-plan-chevron {
  transform: rotate(180deg);
}

.rh-plan-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 20;
  border-radius: 0.9rem;
  border: 0;
  background: #ffffff;
  box-shadow: 0 18px 30px rgba(17, 31, 47, 0.16);
  padding: 0.45rem;
  display: grid;
  gap: 0.26rem;
  max-height: 250px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.rh-plan-picker.is-open .rh-plan-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.rh-plan-option {
  border: 0;
  background: #ffffff;
  border-radius: 0.7rem;
  padding: 0.56rem 0.62rem;
  text-align: left;
  color: var(--rh-text);
  display: grid;
  gap: 0.08rem;
}

.rh-plan-option strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.rh-plan-option small {
  color: var(--rh-muted);
  font-size: 0.78rem;
}

.rh-plan-option:hover {
  background: #f5f9ff;
  border-color: transparent;
}

.rh-plan-option.is-active {
  background: #e8f4f2;
  border-color: #9fd3c8;
}

.rh-native-plan-wrap {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
  overflow: hidden;
}

.rh-native-plan-select {
  width: 0;
  height: 0;
  border: 0;
  padding: 0;
}



.rh-admin-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 0.9rem;
}

.rh-admin-plan-card {
  border: 1px solid var(--rh-border);
  border-radius: 0.95rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--rh-shadow-soft);
  padding: 0.95rem;
}

.rh-admin-plan-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
}

.rh-admin-plan-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}






@media (max-width: 576px) {
  .rh-profile-property-item,
  .rh-profile-plan-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Dashboard Refresh */
.rh-dashboard-shell {
  display: grid;
  gap: 1rem;
}

.rh-dashboard-commanddeck {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 1.4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(245, 248, 252, 0.94) 100%);
  box-shadow: 0 22px 48px rgba(28, 43, 61, 0.08);
}

.rh-dashboard-heading-block {
  max-width: 34rem;
}

.rh-dashboard-commandbar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.rh-dashboard-search {
  min-width: min(340px, 100%);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  border: 1px solid #dde5ee;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.rh-dashboard-search span {
  color: #7689a1;
  font-size: 0.92rem;
}

.rh-dashboard-search input {
  border: 0;
  outline: 0;
  width: 100%;
  background: transparent;
  color: var(--rh-text);
}

.rh-dashboard-create {
  min-width: 108px;
  padding: 0.82rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #232323 0%, #151515 100%);
  color: #fff;
  box-shadow: none;
}

.rh-dashboard-create:hover {
  color: #fff;
}

.rh-dashboard-usercluster {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.rh-dashboard-icon-btn {
  width: 2.85rem;
  height: 2.85rem;
  border: 1px solid #dde5ee;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #42566d;
}

.rh-dashboard-userpill {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.35rem 0.45rem 0.35rem 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dde5ee;
  color: var(--rh-text);
  text-decoration: none;
}

.rh-dashboard-userpill strong,
.rh-dashboard-userpill small {
  display: block;
  line-height: 1.2;
}

.rh-dashboard-userpill small {
  color: var(--rh-muted);
}

.rh-dashboard-useravatar {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #0c6f63 0%, #0f4e8a 100%);
}

.rh-dashboard-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.8fr);
  gap: 1rem;
}

.rh-dashboard-primary-column,
.rh-dashboard-secondary-column {
  display: grid;
  gap: 1rem;
}

.rh-dashboard-overview-card,
.rh-dashboard-chart-card,
.rh-dashboard-sidecard {
  padding: 1.25rem;
  border-radius: 1.5rem;
}

.rh-dashboard-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.rh-dashboard-panel-head.compact {
  margin-bottom: 0.85rem;
}

.rh-dashboard-panel-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.rh-dashboard-panel-copy {
  margin: 0.28rem 0 0;
  color: var(--rh-muted);
  max-width: 48ch;
}

.rh-dashboard-range-chip {
  white-space: nowrap;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  border: 1px solid #dde4ed;
  background: rgba(255, 255, 255, 0.8);
  color: #53677e;
  font-size: 0.85rem;
}

.rh-dashboard-statband {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.rh-dashboard-stat-tile {
  border: 1px solid #e3e9f0;
  border-radius: 1.45rem;
  padding: 1.25rem;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.rh-dashboard-stat-tile p {
  margin: 0.8rem 0 0.15rem;
  color: var(--rh-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.rh-dashboard-stat-tile h3 {
  margin: 0;
  font-size: 2.65rem;
  line-height: 1;
  font-weight: 800;
}

.rh-dashboard-stat-tile small {
  color: var(--rh-muted);
}

.rh-dashboard-stat-icon {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 0.8rem;
  background: rgba(124, 105, 255, 0.1);
  color: #6f62ff;
}

.rh-dashboard-stat-icon-alt {
  background: rgba(255, 178, 92, 0.18);
  color: #d37d26;
}

.rh-dashboard-storyline {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-top: 1.2rem;
}

.rh-dashboard-storyline h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.rh-dashboard-storyline p {
  margin: 0.35rem 0 0;
  color: var(--rh-muted);
  max-width: 50ch;
}

.rh-dashboard-avatar-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.rh-dashboard-mini-profile {
  text-align: center;
}

.rh-dashboard-mini-avatar {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.45rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #9fb6cb 0%, #6c8cae 100%);
}

.rh-dashboard-arrowlink {
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--rh-text);
  border: 1px solid #dce4ec;
  background: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
}

.rh-dashboard-chart-stage {
  min-height: 320px;
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(248, 250, 253, 0.95) 100%),
    radial-gradient(circle at 50% 0, rgba(128, 214, 143, 0.16), transparent 30%);
  border: 1px solid #e4ebf2;
  padding: 1.2rem 1.2rem 0;
}

.rh-dashboard-chart-bars {
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.8rem;
}

.rh-dashboard-chart-bars span {
  flex: 1;
  max-width: 74px;
  height: var(--bar-height);
  border-radius: 1rem 1rem 0 0;
  background: linear-gradient(180deg, rgba(214, 219, 226, 0.86) 0%, rgba(232, 235, 240, 0.4) 100%);
}

.rh-dashboard-chart-bars span.is-featured {
  background: linear-gradient(180deg, #7de07d 0%, #9ce29c 100%);
  box-shadow: 0 18px 32px rgba(125, 224, 125, 0.22);
}

.rh-dashboard-chart-metric {
  position: absolute;
  left: 1.2rem;
  bottom: 1rem;
}

.rh-dashboard-chart-metric strong {
  display: block;
  font-size: clamp(2.7rem, 6vw, 4.2rem);
  line-height: 1;
  color: rgba(16, 34, 53, 0.18);
}

.rh-dashboard-chart-metric small {
  color: var(--rh-muted);
}

.rh-dashboard-module-list,
.rh-dashboard-actionlist {
  display: grid;
  gap: 0.8rem;
}

.rh-dashboard-module-item,
.rh-dashboard-actionitem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border: 1px solid #e4eaf2;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.88);
}

.rh-dashboard-module-item strong,
.rh-dashboard-actionitem span {
  display: block;
  font-weight: 800;
}

.rh-dashboard-module-item small {
  color: var(--rh-muted);
}

.rh-dashboard-actionitem {
  text-decoration: none;
  color: var(--rh-text);
}

.rh-dashboard-actionitem strong {
  font-size: 1.25rem;
  color: #6f8196;
}

/* Property Overview Refresh */
.rh-overview-shell {
  display: grid;
  gap: 1rem;
}

.rh-overview-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.3rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 0 0, rgba(124, 105, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(246, 250, 254, 0.95) 100%);
}

.rh-overview-hero-copy {
  max-width: 42rem;
}

.rh-overview-backlink {
  display: inline-flex;
  margin-bottom: 0.85rem;
  color: var(--rh-muted);
  text-decoration: none;
  font-weight: 700;
}

.rh-overview-badges,
.rh-overview-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.rh-overview-mastgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.7fr);
  gap: 1rem;
}

.rh-overview-spotlight,
.rh-overview-sidebarcard,
.rh-overview-map-preview,
.rh-overview-units-card,
.rh-overview-docs-card,
.rh-overview-settings-card,
.rh-overview-members-card {
  border-radius: 1.5rem;
  padding: 1.2rem;
}

.rh-overview-spotlight {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 253, 0.98) 100%),
    radial-gradient(circle at 100% 0, rgba(12, 111, 99, 0.09), transparent 28%);
}

.rh-overview-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.rh-overview-panel-head.align-start {
  align-items: flex-start;
}

.rh-overview-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.rh-overview-bigstat {
  padding: 1.1rem;
  border-radius: 1.3rem;
  border: 1px solid #e4ebf2;
  background: rgba(255, 255, 255, 0.9);
}

.rh-overview-bigstat.alt {
  background: linear-gradient(180deg, rgba(244, 251, 248, 0.96) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.rh-overview-bigstat span {
  display: block;
  color: var(--rh-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.rh-overview-bigstat strong {
  display: block;
  margin-top: 0.3rem;
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  line-height: 1;
}

.rh-overview-bigstat small {
  color: var(--rh-muted);
}

.rh-overview-profile-strip {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.rh-overview-profile-pill {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid #e3eaf1;
  background: rgba(255, 255, 255, 0.84);
}

.rh-overview-profile-pill.muted {
  background: rgba(248, 251, 255, 0.84);
}

.rh-overview-sidebarcard {
  display: grid;
  gap: 0.85rem;
}

.rh-overview-sidebarstat {
  padding: 1rem;
  border-radius: 1.2rem;
  border: 1px solid #e4ebf2;
  background: rgba(255, 255, 255, 0.88);
}

.rh-overview-sidebarstat span,
.rh-map-summary-head span,
.rh-map-profile-lines span,
.rh-map-device-meta span {
  display: block;
  color: var(--rh-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.rh-overview-sidebarstat strong,
.rh-map-summary-card strong {
  display: block;
  margin-top: 0.28rem;
  font-size: 2rem;
  line-height: 1;
}

.rh-overview-sidebarstat small {
  color: var(--rh-muted);
}

.rh-overview-workgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
  gap: 1rem;
}

.rh-overview-maincolumn,
.rh-overview-sidecolumn {
  display: grid;
  gap: 1rem;
}

.rh-map-preview-stage {
  min-height: 280px;
  border-radius: 1.35rem;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(14, 18, 24, 0.92) 0%, rgba(29, 34, 42, 0.96) 100%),
    repeating-linear-gradient(90deg, transparent, transparent 68px, rgba(255, 255, 255, 0.03) 68px, rgba(255, 255, 255, 0.03) 69px),
    repeating-linear-gradient(0deg, transparent, transparent 68px, rgba(255, 255, 255, 0.03) 68px, rgba(255, 255, 255, 0.03) 69px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.rh-map-preview-overlay,
.rh-map-stage-canvas {
  position: absolute;
  inset: 0;
}

.rh-map-preview-node,
.rh-map-marker {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #7fd6a1;
  box-shadow: 0 0 0 10px rgba(127, 214, 161, 0.08), 0 0 24px rgba(127, 214, 161, 0.28);
}

.rh-map-preview-node.is-primary,
.rh-map-marker.is-primary {
  background: #5ddfb8;
}

.rh-map-preview-node.is-alert,
.rh-map-marker.is-alert {
  background: #ff7d68;
  box-shadow: 0 0 0 10px rgba(255, 125, 104, 0.08), 0 0 24px rgba(255, 125, 104, 0.25);
}

.rh-map-preview-card,
.rh-map-callout {
  position: absolute;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(18, 21, 27, 0.88);
  color: #eff6ff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.rh-map-preview-card {
  left: 1rem;
  bottom: 1rem;
}

.rh-map-preview-card small,
.rh-map-callout small {
  display: block;
  color: #97a7b9;
}

.rh-map-preview-card strong,
.rh-map-callout strong {
  display: block;
  margin-top: 0.22rem;
}

.rh-map-preview-card span,
.rh-map-callout span {
  display: block;
  margin-top: 0.18rem;
  color: #d6e1ec;
  max-width: 26ch;
}

.rh-overview-filterbar,
.rh-overview-doc-upload {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px 150px;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.rh-overview-filterbar {
  grid-template-columns: minmax(0, 1fr) 180px;
}

.rh-overview-inline-stats {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.rh-overview-inline-stats span {
  padding: 0.46rem 0.7rem;
  border-radius: 999px;
  background: #f5f8fb;
  border: 1px solid #e0e7ef;
  color: #53677e;
  font-size: 0.82rem;
}

.rh-unit-card-grid,
.rh-document-list,
.rh-member-stack,
.rh-map-device-list {
  display: grid;
  gap: 0.75rem;
}

.rh-unit-card,
.rh-document-item,
.rh-member-card {
  padding: 0.95rem 1rem;
  border-radius: 1.15rem;
  border: 1px solid #e2e9f1;
  background: rgba(255, 255, 255, 0.88);
}

.rh-unit-card-head,
.rh-document-item,
.rh-member-card,
.rh-member-card-actions,
.rh-member-permission-form,
.rh-overview-footerline,
.rh-map-summary-head,
.rh-map-toolbar,
.rh-map-panel-head,
.rh-map-device-row,
.rh-map-stage-toolbar,
.rh-map-stage-actions,
.rh-map-profile-row,
.rh-map-summary-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.rh-unit-card h3,
.rh-map-device-row strong {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.rh-unit-card-head small,
.rh-member-card-copy small,
.rh-document-item small,
.rh-map-device-row small,
.rh-map-profile-row small,
.rh-map-summary-card small,
.rh-map-panel-head small,
.rh-map-profile-lines strong + small {
  color: var(--rh-muted);
}

.rh-unit-card-meta {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
  color: var(--rh-muted);
  font-size: 0.88rem;
}

.rh-unit-card-meta strong {
  color: var(--rh-text);
}

.rh-document-item {
  align-items: center;
}

.rh-document-actions {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  flex-wrap: wrap;
}

.rh-form-switch {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid #e2e9f1;
  background: #fbfdff;
}

.rh-member-card.is-landlord {
  background: linear-gradient(180deg, #f6fbf8 0%, #ffffff 100%);
}

.rh-member-card {
  align-items: flex-start;
}

.rh-member-card-copy {
  min-width: 0;
}

.rh-member-card-copy strong {
  display: block;
}

.rh-member-card-actions {
  flex-wrap: wrap;
}

.rh-member-permission-form {
  flex-wrap: wrap;
}

/* Property Map */
.rh-map-shell {
  display: grid;
  gap: 1rem;
}

.rh-map-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(27, 29, 33, 0.95) 0%, rgba(17, 20, 25, 0.96) 100%);
  color: #eff6ff;
}

.rh-map-topbar .rh-kicker,
.rh-map-topbar .rh-heading-subtitle {
  color: #a9b8c7;
}

.rh-map-topbar .rh-heading-title {
  color: #fff;
}

.rh-map-board {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 360px;
  grid-template-areas:
    "summary tracking devices"
    "map map devices"
    "map map profile";
  gap: 1rem;
}

.rh-map-summary-card,
.rh-map-tracking-card,
.rh-map-devices-card,
.rh-map-stage-card,
.rh-map-profile-card {
  border-radius: 1.5rem;
  padding: 1.15rem;
  background: linear-gradient(180deg, rgba(23, 26, 31, 0.98) 0%, rgba(17, 20, 24, 0.98) 100%);
  color: #f2f6fb;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 42px rgba(8, 11, 16, 0.28);
}

.rh-map-summary-card { grid-area: summary; }
.rh-map-tracking-card { grid-area: tracking; }
.rh-map-devices-card { grid-area: devices; }
.rh-map-stage-card { grid-area: map; }
.rh-map-profile-card { grid-area: profile; }

.rh-map-summary-head button,
.rh-map-utility-btn {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #d9e6f2;
  border-radius: 0.85rem;
  padding: 0.45rem 0.8rem;
}

.rh-map-summary-stats,
.rh-map-profile-lines {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.rh-map-summary-stats > div,
.rh-map-profile-lines > div {
  padding: 0.85rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.rh-map-panel-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.rh-map-live-indicator {
  color: #7fd6a1;
  font-weight: 700;
}

.rh-map-tracker-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
}

.rh-map-tracker-grid span {
  aspect-ratio: 1;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.rh-map-tracker-grid span.is-active {
  background: rgba(80, 139, 255, 0.28);
}

.rh-map-tracker-grid span.is-soft {
  background: rgba(225, 245, 255, 0.16);
}

.rh-map-device-item {
  padding: 0.95rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.rh-map-device-row span {
  color: #d1dde8;
  font-size: 0.84rem;
}

.rh-map-device-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.rh-map-device-meta > div {
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rh-map-device-meta strong,
.rh-map-profile-lines strong {
  display: block;
  margin-top: 0.25rem;
}

.rh-map-stage-toolbar {
  margin-bottom: 0.9rem;
}

.rh-map-stage-actions {
  flex-wrap: wrap;
}

.rh-map-stage-canvas {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 1.4rem;
  background:
    linear-gradient(180deg, rgba(33, 36, 41, 0.96) 0%, rgba(24, 27, 31, 0.98) 100%),
    repeating-linear-gradient(90deg, transparent, transparent 74px, rgba(255, 255, 255, 0.03) 74px, rgba(255, 255, 255, 0.03) 75px),
    repeating-linear-gradient(0deg, transparent, transparent 74px, rgba(255, 255, 255, 0.03) 74px, rgba(255, 255, 255, 0.03) 75px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.rh-map-grid-overlay,
.rh-map-street {
  position: absolute;
  inset: 0;
}

.rh-map-street {
  background:
    linear-gradient(20deg, transparent 0 43%, rgba(255, 255, 255, 0.05) 43% 45%, transparent 45%),
    linear-gradient(112deg, transparent 0 63%, rgba(255, 255, 255, 0.05) 63% 65%, transparent 65%);
}

.rh-map-callout {
  left: 2rem;
  top: 2rem;
}

.rh-map-profile-row {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1200px) {
  .rh-dashboard-workbench,
  .rh-overview-workgrid,
  .rh-map-board {
    grid-template-columns: 1fr;
  }

  .rh-map-board {
    grid-template-areas:
      "summary"
      "tracking"
      "map"
      "devices"
      "profile";
  }
}

@media (max-width: 992px) {
  .rh-dashboard-commanddeck,
  .rh-overview-hero,
  .rh-map-topbar,
  .rh-map-toolbar,
  .rh-dashboard-storyline,
  .rh-overview-panel-head,
  .rh-dashboard-panel-head,
  .rh-document-item,
  .rh-member-card,
  .rh-map-stage-toolbar,
  .rh-map-device-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .rh-dashboard-statband,
  .rh-overview-spotlight-grid,
  .rh-overview-mastgrid,
  .rh-map-summary-stats,
  .rh-map-profile-lines,
  .rh-map-device-meta {
    grid-template-columns: 1fr;
  }

  .rh-overview-filterbar,
  .rh-overview-doc-upload {
    grid-template-columns: 1fr;
  }

  .rh-dashboard-search {
    min-width: 100%;
  }
}

@media (max-width: 576px) {
  .rh-dashboard-overview-card,
  .rh-dashboard-chart-card,
  .rh-dashboard-sidecard,
  .rh-overview-spotlight,
  .rh-overview-sidebarcard,
  .rh-overview-map-preview,
  .rh-overview-units-card,
  .rh-overview-docs-card,
  .rh-overview-settings-card,
  .rh-overview-members-card,
  .rh-map-summary-card,
  .rh-map-tracking-card,
  .rh-map-devices-card,
  .rh-map-stage-card,
  .rh-map-profile-card,
  .rh-dashboard-commanddeck,
  .rh-overview-hero,
  .rh-map-topbar {
    padding: 1rem;
    border-radius: 1.1rem;
  }

  .rh-dashboard-usercluster,
  .rh-overview-badges,
  .rh-overview-hero-actions,
  .rh-document-actions,
  .rh-member-card-actions,
  .rh-member-permission-form {
    width: 100%;
  }

  .rh-dashboard-chart-stage {
    min-height: 260px;
  }

  .rh-map-stage-canvas {
    min-height: 360px;
  }
}

.rh-overview-workgrid-rebalanced {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.95fr);
}

.rh-overview-sidecolumn-priority,
.rh-overview-bottomgrid {
  display: grid;
  gap: 1.5rem;
}

.rh-overview-bottomgrid {
  margin-top: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rh-overview-inline-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.rh-overview-image-card {
  position: relative;
}

.rh-property-image-form {
  display: grid;
  justify-items: end;
  gap: 0.35rem;
}

.rh-hidden-input {
  display: none;
}

.rh-icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(17, 76, 112, 0.14);
  background: linear-gradient(135deg, rgba(20, 134, 120, 0.1), rgba(28, 93, 156, 0.12));
  box-shadow: 0 18px 40px rgba(12, 40, 68, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.rh-icon-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(20, 134, 120, 0.3);
  box-shadow: 0 20px 44px rgba(12, 40, 68, 0.16);
}

.rh-icon-pencil::before {
  content: "\270E";
  font-size: 1.1rem;
  color: #195e8d;
}

.rh-inline-validation {
  margin: 0;
  min-height: 1.1rem;
  color: #b64552;
  font-size: 0.82rem;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.rh-inline-validation.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.rh-property-image-frame {
  position: relative;
  min-height: 320px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(233, 243, 250, 0.96), rgba(209, 228, 241, 0.7));
  border: 1px solid rgba(149, 184, 208, 0.18);
}

.rh-property-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  display: block;
  object-fit: cover;
}

.rh-property-image-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 0.55rem;
  padding: 2rem;
  color: #5e748d;
}

.rh-property-image-placeholder strong {
  color: #16324d;
  font-size: 1.15rem;
}

.rh-overview-searchbar {
  margin-bottom: 1rem;
}

.rh-search-input-wrap {
  position: relative;
}

.rh-search-input-wrap .rh-input {
  padding-left: 2.95rem;
}

.rh-search-icon {
  position: absolute;
  top: 50%;
  left: 1rem;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(73, 102, 132, 0.55);
  border-radius: 50%;
  transform: translateY(-55%);
}

.rh-search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  border-radius: 99px;
  background: rgba(73, 102, 132, 0.55);
  transform: rotate(45deg);
  transform-origin: center;
}

.rh-unit-card-grid-compact {
  grid-template-columns: 1fr;
}

.rh-unit-card-link {
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.rh-unit-card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(12, 40, 68, 0.12);
  border-color: rgba(25, 94, 141, 0.18);
}

.rh-overview-docs-compact {
  padding: 1.5rem;
}

.rh-overview-doc-upload-compact {
  grid-template-columns: minmax(0, 1.5fr) 220px auto;
}

.rh-document-list-compact {
  display: grid;
  gap: 0.8rem;
}

.rh-document-item-copy {
  display: grid;
  gap: 0.3rem;
}

.rh-document-item-previewable {
  align-items: center;
}

.rh-document-title-link {
  color: #193650;
  font-weight: 700;
  text-decoration: none;
}

.rh-document-title-link:hover {
  color: #195e8d;
}

.rh-document-preview-shell {
  display: grid;
  gap: 1.5rem;
}

.rh-document-preview-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.rh-document-preview-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.rh-document-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.8fr);
  gap: 1.5rem;
}

.rh-document-preview-stage {
  min-height: 540px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(233, 243, 250, 0.92), rgba(221, 233, 243, 0.72));
  border: 1px solid rgba(149, 184, 208, 0.18);
}

.rh-document-preview-image,
.rh-document-preview-frame {
  width: 100%;
  min-height: 540px;
  height: 100%;
  border: 0;
  display: block;
  background: #fff;
}

.rh-document-preview-image {
  object-fit: contain;
}

.rh-document-preview-placeholder {
  min-height: 540px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 0.8rem;
  padding: 2rem;
  color: #587089;
}

.rh-document-preview-placeholder strong {
  font-size: 1.1rem;
  color: #18344e;
}

.rh-document-meta-list {
  display: grid;
  gap: 0.9rem;
}

.rh-document-meta-item {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  border: 1px solid rgba(149, 184, 208, 0.16);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(237, 245, 249, 0.84));
  display: grid;
  gap: 0.28rem;
}

.rh-document-meta-item span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6c8299;
}

.rh-document-meta-item strong {
  color: #17324c;
}

@media (max-width: 1200px) {
  .rh-overview-workgrid-rebalanced,
  .rh-document-preview-grid,
  .rh-overview-bottomgrid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767.98px) {
  .rh-document-preview-hero,
  .rh-overview-inline-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .rh-overview-doc-upload-compact {
    grid-template-columns: minmax(0, 1fr);
  }

  .rh-property-image-frame,
  .rh-property-image,
  .rh-document-preview-stage,
  .rh-document-preview-image,
  .rh-document-preview-frame,
  .rh-document-preview-placeholder {
    min-height: 260px;
  }
}

.rh-card-spotlight {
  border: 1px solid #cfdceb;
  box-shadow: 0 16px 34px rgba(12, 40, 68, 0.08);
}

.rh-card-spotlight:hover {
  border-color: #afc6df;
  box-shadow: 0 20px 40px rgba(12, 40, 68, 0.12);
}

.rh-property-image-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 28px;
  overflow: hidden;
  cursor: zoom-in;
}

.rh-image-lightbox-modal {
  border-radius: 1.5rem;
  border: 1px solid rgba(149, 184, 208, 0.22);
  box-shadow: 0 30px 60px rgba(12, 40, 68, 0.24);
}

.rh-image-lightbox-preview {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 1.25rem;
  background: linear-gradient(145deg, rgba(233, 243, 250, 0.92), rgba(221, 233, 243, 0.72));
}

.rh-map-preview-coordinates {
  display: block;
  margin-top: 0.4rem;
  font-style: normal;
  color: #b9cbda;
  font-size: 0.82rem;
}

.rh-form-switch-row {
  border: 1px solid #e2e9f1;
  border-radius: 1rem;
  background: #fbfdff;
  padding: 0.2rem 0.9rem;
}

.rh-form-switch {
  min-height: 3.1rem;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border: 0;
  background: transparent;
}

.rh-form-switch .form-check-input {
  margin: 0;
  float: none;
  flex-shrink: 0;
}

.rh-form-switch .form-check-label {
  margin: 0;
  color: var(--rh-text);
  font-weight: 600;
}

.rh-confirm-modal {
  border-radius: 1.15rem;
  border: 1px solid #d6e1ec;
  box-shadow: 0 24px 48px rgba(12, 40, 68, 0.18);
}

.rh-confirm-modal .modal-title {
  font-weight: 800;
}

.rh-document-preview-stage-card,
.rh-document-preview-meta {
  border-radius: 1.5rem;
  padding: 1.2rem;
}

.rh-document-preview-frame {
  min-height: 540px;
}

.rh-document-preview-stage object.rh-document-preview-frame {
  width: 100%;
  height: 100%;
}

.rh-apartment-shell {
  display: grid;
  gap: 1rem;
}

.rh-apartment-commanddeck {
  display: grid;
  gap: 1rem;
}

.rh-apartment-commanddeck-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr) repeat(3, minmax(180px, 0.75fr));
  gap: 1rem;
}

.rh-apartment-stat-card {
  min-height: 154px;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(21, 71, 111, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.92));
  box-shadow: 0 14px 28px rgba(24, 49, 77, 0.08);
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.rh-apartment-stat-card span {
  color: #67819b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rh-apartment-stat-card strong {
  color: #112b46;
  font-size: clamp(1.8rem, 2.5vw, 2.35rem);
  line-height: 1;
}

.rh-apartment-stat-card small {
  color: #5e7792;
  font-size: 0.95rem;
  line-height: 1.45;
}

.rh-apartment-mastgrid,
.rh-apartment-workgrid {
  align-items: start;
}

.rh-apartment-mastgrid .rh-overview-sidebarcard {
  gap: 1rem;
}

.rh-apartment-workgrid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
}

@media (max-width: 1200px) {
  .rh-apartment-commanddeck-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rh-apartment-workgrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .rh-apartment-commanddeck-grid {
    grid-template-columns: 1fr;
  }
}

.rh-map-preview-stage-real,
.rh-map-stage-real {
  background: #dbe7f1;
  border: 1px solid rgba(149, 184, 208, 0.18);
}

.rh-map-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.rh-map-callout-real,
.rh-map-preview-stage-real .rh-map-preview-card {
  z-index: 2;
  box-shadow: 0 18px 34px rgba(8, 11, 16, 0.22);
}

.rh-map-stage-coordinates {
  display: grid;
  gap: 0.18rem;
}

.rh-map-stage-coordinates span {
  color: #b8c8d8;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.rh-map-stage-coordinates strong {
  color: #f2f6fb;
}

.rh-apartment-gallery {
    display: grid;
    gap: 0.9rem;
}

.rh-apartment-gallery-stage {
    position: relative;
    min-height: 340px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(149, 184, 208, 0.18);
    background: linear-gradient(145deg, rgba(233, 243, 250, 0.92), rgba(221, 233, 243, 0.72));
}

.rh-apartment-gallery-slide {
    display: none;
    height: 100%;
}

.rh-apartment-gallery-slide.is-active {
    display: block;
}

.rh-apartment-gallery-stage .rh-property-image-button,
.rh-apartment-gallery-stage .rh-property-image {
    height: 100%;
    min-height: 340px;
}

.rh-apartment-gallery-stage .rh-property-image {
    object-fit: cover;
}

.rh-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(14, 29, 48, 0.58);
    color: #fff;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.rh-gallery-nav.prev {
    left: 1rem;
}

.rh-gallery-nav.next {
    right: 1rem;
}

.rh-apartment-gallery-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(149, 184, 208, 0.18);
    border-radius: 20px;
    background: rgba(249, 252, 255, 0.88);
}

.rh-apartment-gallery-footer strong {
    display: block;
    color: #17324c;
}

.rh-apartment-gallery-footer small {
    color: #5d7490;
}

.rh-unit-card-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.6rem 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 74, 117, 0.12);
}

.rh-unit-card-schedule span {
    color: #58708f;
    font-size: 0.92rem;
}

.rh-unit-card-schedule strong {
    display: block;
    margin-top: 0.12rem;
    color: #18304a;
    font-weight: 700;
}

.rh-tenancy-card-grid {
    gap: 0.9rem;
}

.rh-tenancy-card-shell {
    gap: 1rem;
    padding: 1.15rem 1.2rem;
    border: 1px solid rgba(21, 71, 111, 0.14);
    box-shadow: 0 14px 28px rgba(24, 49, 77, 0.08);
}

.rh-tenancy-card-head {
    align-items: flex-start;
    gap: 1rem;
}

.rh-tenancy-card-head-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
}

.rh-tenancy-dateband {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.rh-tenancy-datepill {
    padding: 0.95rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(21, 71, 111, 0.12);
    background: linear-gradient(145deg, rgba(245, 250, 255, 0.96), rgba(233, 244, 255, 0.86));
    display: grid;
    gap: 0.3rem;
}

.rh-tenancy-datepill span {
    color: #5c7691;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 800;
}

.rh-tenancy-datepill strong {
    color: #12365a;
    font-size: 1.25rem;
    line-height: 1.1;
    font-weight: 800;
}

.rh-tenancy-datepill.start {
    background: linear-gradient(145deg, rgba(225, 247, 240, 0.92), rgba(240, 252, 247, 0.96));
    border-color: rgba(25, 136, 95, 0.16);
}

.rh-tenancy-datepill.start strong {
    color: #0d6b4b;
}

.rh-tenancy-datepill.end {
    background: linear-gradient(145deg, rgba(235, 243, 255, 0.94), rgba(245, 249, 255, 0.98));
    border-color: rgba(39, 102, 171, 0.14);
}

.rh-tenancy-datepill.end strong {
    color: #1a4f86;
}

.rh-tenancy-card-meta {
    gap: 0.8rem 1.1rem;
}

@media (max-width: 760px) {
    .rh-tenancy-dateband {
        grid-template-columns: 1fr;
    }

    .rh-tenancy-card-head-actions {
        justify-content: flex-start;
    }
}

.rh-inline-hint {
    margin-top: 0.9rem;
    padding: 0.8rem 0.95rem;
    border-radius: 16px;
    background: rgba(15, 132, 115, 0.08);
    color: #126458;
    font-size: 0.92rem;
    line-height: 1.5;
}

.rh-inline-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem 1.25rem;
}

.rh-inline-settings-grid .btn {
    align-self: end;
}

.rh-inline-settings-note {
    grid-column: 1 / -1;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(15, 74, 117, 0.12);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(234, 245, 255, 0.8), rgba(247, 250, 255, 0.95));
    color: #506783;
    line-height: 1.6;
}
.rh-inline-editor-form[data-inline-editor="locked"] .rh-input[readonly],
.rh-inline-editor-form[data-inline-editor="locked"] textarea[readonly] {
    background: linear-gradient(180deg, rgba(249, 252, 255, 0.98), rgba(244, 248, 252, 0.96));
    border-color: rgba(15, 74, 117, 0.08);
    box-shadow: none;
    color: #17324c;
}

.rh-inline-editor-form[data-inline-editor="locked"] .rh-input[readonly]:focus,
.rh-inline-editor-form[data-inline-editor="locked"] textarea[readonly]:focus {
    border-color: rgba(15, 74, 117, 0.08);
    box-shadow: none;
}

.rh-inline-editor-form[data-inline-editor="locked"] .rh-input[readonly],
.rh-inline-editor-form[data-inline-editor="locked"] textarea[readonly] {
    pointer-events: none;
}

.rh-inline-editor-actions {
    margin-top: 0.25rem;
}

/* Landlord-first landing page */
.rh-landing-home {
    max-width: 1380px;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
    padding-bottom: 2rem;
}

.rh-landing-hero-block {
    display: grid;
    gap: 0;
}

.rh-landing-hero-surface {
    position: relative;
    overflow: hidden;
    border-radius: 40px;
    padding: 1.4rem 1.4rem 2.4rem;
    background:
        linear-gradient(140deg, rgba(4, 17, 36, 0.92) 0%, rgba(12, 35, 70, 0.82) 36%, rgba(19, 124, 107, 0.7) 100%),
        url("https://images.unsplash.com/photo-1460317442991-0ec209397118?auto=format&fit=crop&w=1600&q=80") center/cover;
    box-shadow: 0 34px 80px rgba(12, 35, 70, 0.22);
}

.rh-landing-hero-surface::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 126, 95, 0.22), transparent 24%),
        radial-gradient(circle at 88% 14%, rgba(120, 199, 255, 0.22), transparent 24%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 35%);
    pointer-events: none;
}

.rh-landing-hero-topline,
.rh-landing-hero-grid {
    position: relative;
    z-index: 1;
}

.rh-landing-hero-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.rh-landing-brand-mark {
    display: inline-flex;
    align-items: center;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f4f8fd;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.rh-landing-anchor-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 16px 32px rgba(8, 21, 44, 0.18);
}

.rh-landing-anchor-nav a {
    color: #18304a;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
}

.rh-landing-anchor-nav a:hover {
    background: #eef5ff;
}

.rh-landing-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.78fr);
    gap: 1.5rem;
    align-items: end;
}

.rh-landing-hero-copy {
    padding: 1.25rem 1rem 0.6rem;
    color: #f6fbff;
}

.rh-landing-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.82rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f7fbff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rh-landing-hero-copy h1 {
    margin: 1rem 0 1rem;
    font-size: clamp(2.7rem, 5.4vw, 5rem);
    line-height: 0.98;
    color: #ffffff;
    letter-spacing: -0.04em;
    max-width: 12ch;
}

.rh-landing-hero-copy p {
    margin: 0;
    max-width: 57ch;
    color: rgba(246, 251, 255, 0.84);
    font-size: 1.03rem;
    line-height: 1.8;
}

.rh-landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.rh-landing-hero-actions .rh-btn-primary,
.rh-landing-final-actions .rh-btn-primary {
    background: linear-gradient(135deg, #ff8f4d 0%, #ffb067 100%);
    box-shadow: 0 16px 28px rgba(255, 143, 77, 0.22);
}

.rh-landing-hero-actions .rh-btn-primary:hover,
.rh-landing-final-actions .rh-btn-primary:hover {
    color: #fff;
}

.rh-landing-hero-list {
    margin: 1.55rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.8rem;
    max-width: 52rem;
}

.rh-landing-hero-list li {
    position: relative;
    padding-left: 1.5rem;
    color: rgba(246, 251, 255, 0.95);
    line-height: 1.7;
}

.rh-landing-hero-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62rem;
    width: 0.58rem;
    height: 0.58rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffbc77 0%, #ffffff 100%);
}

.rh-landing-hero-aside {
    display: grid;
}

.rh-landing-console-card {
    padding: 1.4rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 26px 55px rgba(7, 20, 40, 0.2);
}

.rh-landing-console-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.rh-landing-console-head span {
    display: block;
    color: #6d8195;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rh-landing-console-head strong {
    color: #17324c;
    font-size: 1.15rem;
}

.rh-landing-live-dot {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.72rem;
    border-radius: 999px;
    background: #eff8f5;
    color: #11796c;
    font-size: 0.82rem;
    font-weight: 700;
}

.rh-landing-live-dot::before {
    content: "";
    width: 0.46rem;
    height: 0.46rem;
    border-radius: 999px;
    background: #11796c;
}

.rh-landing-console-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.rh-landing-console-metrics article {
    padding: 0.95rem 0.9rem;
    border-radius: 20px;
    background: linear-gradient(180deg, #f8fbff 0%, #f0f6ff 100%);
    border: 1px solid rgba(16, 53, 94, 0.08);
}

.rh-landing-console-metrics strong {
    display: block;
    color: #163652;
    margin-bottom: 0.3rem;
    font-size: 0.96rem;
}

.rh-landing-console-metrics span {
    color: #648097;
    font-size: 0.86rem;
    line-height: 1.6;
}

.rh-landing-console-timeline {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.rh-landing-console-timeline div {
    padding: 0.95rem 1rem;
    border-radius: 20px;
    background: rgba(13, 40, 72, 0.94);
    color: #eff6ff;
}

.rh-landing-console-timeline span {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(239, 246, 255, 0.7);
    margin-bottom: 0.25rem;
}

.rh-landing-console-timeline strong {
    font-size: 0.93rem;
    line-height: 1.6;
}

.rh-landing-service-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: -2rem 2rem 0;
    position: relative;
    z-index: 2;
}

.rh-landing-service-tile {
    padding: 1.3rem 1.2rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(16, 53, 94, 0.08);
    box-shadow: 0 24px 48px rgba(18, 45, 76, 0.1);
}

.rh-landing-service-tile.is-accent {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    transform: translateY(-12px);
}

.rh-landing-service-icon {
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f4e8a 0%, #13806f 100%);
    color: #fff;
    font-weight: 800;
    margin-bottom: 0.85rem;
}

.rh-landing-service-tile h3,
.rh-landing-benefit-card h3,
.rh-landing-dark-card h3,
.rh-landing-step-card h3,
.rh-landing-pricing-card h3,
.rh-landing-pricing-intro h2,
.rh-landing-story-copy h2,
.rh-landing-dark-copy h2,
.rh-landing-workflow-head h2,
.rh-landing-final-cta h2 {
    margin: 0;
    color: #17324c;
}

.rh-landing-service-tile p,
.rh-landing-benefit-card p,
.rh-landing-dark-card p,
.rh-landing-step-card p,
.rh-landing-pricing-card p,
.rh-landing-pricing-intro p,
.rh-landing-story-copy p,
.rh-landing-dark-copy p,
.rh-landing-workflow-head p,
.rh-landing-final-cta p {
    color: #60788c;
    line-height: 1.7;
}

.rh-landing-section-kicker {
    display: inline-block;
    margin-bottom: 0.65rem;
    color: #11796c;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 800;
}

.rh-landing-section-kicker.is-light {
    color: rgba(255, 255, 255, 0.68);
}

.rh-landing-story {
    display: grid;
    grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.15fr);
    gap: 1.5rem;
    align-items: center;
}

.rh-landing-story-visual {
    position: relative;
}

.rh-landing-dashboard-shell {
    border-radius: 34px;
    padding: 1.35rem;
    background:
        linear-gradient(145deg, rgba(17, 41, 72, 0.96), rgba(8, 22, 43, 0.96)),
        url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1200&q=80") center/cover;
    box-shadow: 0 28px 60px rgba(12, 35, 70, 0.18);
}

.rh-landing-dashboard-topbar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding-bottom: 1rem;
}

.rh-landing-dashboard-topbar span {
    color: rgba(239, 246, 255, 0.68);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rh-landing-dashboard-topbar strong {
    color: #f4f8fd;
}

.rh-landing-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.rh-landing-dashboard-widget {
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
}

.rh-landing-dashboard-widget span {
    display: block;
    color: #698396;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.rh-landing-dashboard-widget strong {
    color: #17324c;
    line-height: 1.55;
}

.rh-landing-dashboard-band {
    margin-top: 0.95rem;
    padding: 1rem 1.05rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 143, 77, 0.18), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.rh-landing-dashboard-band span {
    display: block;
    color: rgba(244, 248, 253, 0.72);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.rh-landing-dashboard-band strong {
    color: #f5f9ff;
    line-height: 1.7;
}

.rh-landing-story-copy {
    display: grid;
    gap: 1rem;
    padding: 0.5rem 0.2rem;
}

.rh-landing-story-copy h2,
.rh-landing-dark-copy h2,
.rh-landing-workflow-head h2,
.rh-landing-final-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.rh-landing-benefit-grid,
.rh-landing-dark-grid,
.rh-landing-workflow-grid {
    display: grid;
    gap: 1rem;
}

.rh-landing-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rh-landing-benefit-card {
    padding: 1.2rem;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(16, 53, 94, 0.08);
    box-shadow: 0 16px 34px rgba(18, 45, 76, 0.06);
}

.rh-landing-dark-section {
    border-radius: 38px;
    padding: 2rem;
    background:
        linear-gradient(145deg, rgba(7, 23, 49, 0.98), rgba(9, 36, 70, 0.98)),
        url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80") center/cover;
    box-shadow: 0 28px 60px rgba(12, 35, 70, 0.18);
}

.rh-landing-dark-copy {
    max-width: 760px;
    margin-bottom: 1.25rem;
}

.rh-landing-dark-copy h2,
.rh-landing-dark-copy p,
.rh-landing-dark-card h3,
.rh-landing-dark-card p {
    color: #f5f9ff;
}

.rh-landing-dark-copy p,
.rh-landing-dark-card p {
    color: rgba(245, 249, 255, 0.76);
}

.rh-landing-dark-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rh-landing-dark-card {
    padding: 1.25rem;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    min-height: 100%;
}

.rh-landing-dark-card.is-featured {
    background: linear-gradient(135deg, rgba(255, 143, 77, 0.16), rgba(255, 255, 255, 0.08));
    border-color: rgba(255, 179, 115, 0.28);
}

.rh-landing-workflow {
    display: grid;
    gap: 1.2rem;
}

.rh-landing-workflow-head {
    max-width: 720px;
}

.rh-landing-workflow-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rh-landing-step-card {
    padding: 1.35rem 1.2rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(16, 53, 94, 0.08);
    box-shadow: 0 18px 36px rgba(18, 45, 76, 0.07);
}

.rh-landing-step-card span {
    display: inline-grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #163652 0%, #11796c 100%);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.rh-landing-pricing {
    display: grid;
}

.rh-landing-pricing-shell {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) repeat(2, minmax(240px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 40px;
    background:
        radial-gradient(circle at top left, rgba(255, 72, 126, 0.22), transparent 22%),
        radial-gradient(circle at top right, rgba(94, 114, 235, 0.2), transparent 28%),
        linear-gradient(135deg, #2b0d2c 0%, #51182b 42%, #1f1638 100%);
    box-shadow: 0 34px 72px rgba(51, 18, 58, 0.2);
}

.rh-landing-pricing-intro,
.rh-landing-pricing-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    padding: 1.5rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.rh-landing-pricing-intro h2,
.rh-landing-pricing-intro p,
.rh-landing-pricing-card h3,
.rh-landing-pricing-card strong,
.rh-landing-pricing-card p,
.rh-landing-pricing-list li,
.rh-landing-pricing-badge {
    color: #fff7fb;
}

.rh-landing-pricing-intro p,
.rh-landing-pricing-card p,
.rh-landing-pricing-list li {
    color: rgba(255, 247, 251, 0.8);
}

.rh-landing-pricing-toggle {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    gap: 0.35rem;
    margin-top: 1rem;
}

.rh-landing-pricing-toggle span {
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    color: rgba(255, 247, 251, 0.76);
}

.rh-landing-pricing-toggle span.is-active {
    background: #ffffff;
    color: #2d1433;
}

.rh-landing-pricing-card strong {
    display: block;
    font-size: 2.35rem;
    margin: 0.95rem 0 0.5rem;
    line-height: 1;
}

.rh-landing-pricing-meta {
    margin-bottom: 0.8rem;
}

.rh-landing-pricing-list {
    margin: 1rem 0 1.2rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.rh-landing-pricing-list li {
    position: relative;
    padding-left: 1.35rem;
}

.rh-landing-pricing-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.46rem;
    height: 0.46rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffb067 0%, #ffd8b5 100%);
}

.rh-landing-pricing-card.is-featured {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 143, 77, 0.12));
    border-color: rgba(255, 189, 131, 0.32);
    transform: translateY(-8px);
}

.rh-landing-pricing-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 176, 103, 0.18);
    border: 1px solid rgba(255, 189, 131, 0.36);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rh-landing-pricing-card .rh-btn-subtle {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
}

.rh-landing-pricing-card .rh-btn-subtle:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.rh-landing-final-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.7rem 1.8rem;
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.96));
    border: 1px solid rgba(16, 53, 94, 0.08);
    box-shadow: 0 24px 48px rgba(18, 45, 76, 0.08);
}

.rh-landing-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: flex-end;
}

@media (max-width: 1280px) {
    .rh-landing-service-rail,
    .rh-landing-dark-grid,
    .rh-landing-workflow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rh-landing-pricing-shell {
        grid-template-columns: 1fr 1fr;
    }

    .rh-landing-pricing-intro {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1100px) {
    .rh-landing-hero-grid,
    .rh-landing-story {
        grid-template-columns: 1fr;
    }

    .rh-landing-anchor-nav {
        display: none;
    }

    .rh-landing-service-rail {
        margin: 1rem 0 0;
    }

    .rh-landing-console-metrics,
    .rh-landing-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rh-landing-final-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .rh-landing-final-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .rh-landing-home {
        gap: 2rem;
    }

    .rh-landing-hero-surface,
    .rh-landing-dark-section,
    .rh-landing-pricing-shell,
    .rh-landing-final-cta {
        border-radius: 28px;
        padding: 1.2rem;
    }

    .rh-landing-hero-copy h1 {
        max-width: none;
        font-size: clamp(2.1rem, 11vw, 3.15rem);
    }

    .rh-landing-service-rail,
    .rh-landing-dashboard-grid,
    .rh-landing-benefit-grid,
    .rh-landing-dark-grid,
    .rh-landing-workflow-grid,
    .rh-landing-pricing-shell,
    .rh-landing-console-metrics {
        grid-template-columns: 1fr;
    }

    .rh-landing-hero-topline {
        margin-bottom: 1rem;
    }
}

/* Public home, apartment showcase, and conversation inbox */
.rh-body-public {
    background:
        radial-gradient(circle at top right, rgba(17, 121, 108, 0.12), transparent 32%),
        linear-gradient(180deg, #f6fbf9 0%, #eef5f2 100%);
}

.rh-main.is-public {
    background: transparent;
}

.rh-topbar.is-public,
.rh-footer.is-public {
  background: transparent;
  border: none;
}

.rh-legal-page {
  display: grid;
  gap: 1.5rem;
}

.rh-legal-shell {
  display: grid;
  gap: 1.35rem;
}

.rh-legal-hero,
.rh-legal-note {
  padding: 2rem 2.1rem;
  border-radius: 30px;
  border: 1px solid rgba(17, 60, 59, 0.08);
  background:
    radial-gradient(circle at top right, rgba(15, 121, 108, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 250, 252, 0.96) 100%);
  box-shadow: 0 24px 60px rgba(12, 50, 59, 0.08);
}

.rh-legal-hero h1,
.rh-legal-note h2,
.rh-contact-grid h2 {
  margin: 0.45rem 0 0.85rem;
  color: #17324c;
}

.rh-legal-hero p,
.rh-legal-note p,
.rh-legal-card p {
  margin: 0;
  color: #5f7487;
  line-height: 1.75;
}

.rh-legal-grid,
.rh-contact-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.rh-legal-card {
  padding: 1.35rem 1.4rem;
  border-radius: 24px;
  border: 1px solid rgba(17, 60, 59, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 42px rgba(15, 43, 62, 0.07);
}

.rh-legal-card h2 {
  margin: 0 0 0.65rem;
  color: #17324c;
  font-size: 1.08rem;
}

.rh-legal-card a,
.rh-legal-note a {
  color: #116c5b;
  text-decoration: none;
  font-weight: 700;
}

.rh-legal-card a:hover,
.rh-legal-note a:hover {
  text-decoration: underline;
}

.rh-page-public {
    padding-top: 1.25rem;
}

.rh-public-home,
.rh-public-apartment-page,
.rh-conversation-page {
    display: grid;
    gap: 1.5rem;
}

.rh-public-hero,
.rh-public-apartment-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
    gap: 1.5rem;
    align-items: stretch;
}

.rh-public-hero-copy,
.rh-public-apartment-summary,
.rh-public-search-panel,
.rh-public-service-card,
.rh-public-price-card,
.rh-public-gallery-card,
.rh-conversation-sidebar,
.rh-conversation-thread,
.rh-public-apartment-mainmedia {
    border-radius: 28px;
}

.rh-public-hero-copy {
    padding: 2.6rem;
    background: linear-gradient(135deg, #113c3b 0%, #1d786d 55%, #61a98f 100%);
    color: #f4fbf8;
    box-shadow: 0 28px 70px rgba(16, 65, 58, 0.18);
}

.rh-public-kicker {
    display: inline-block;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #198a78;
    font-weight: 800;
    margin-bottom: 0.85rem;
}

.rh-public-hero-copy .rh-public-kicker {
    color: rgba(244, 251, 248, 0.72);
}

.rh-public-hero-copy h1,
.rh-public-apartment-summary h1 {
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.02;
    margin-bottom: 1rem;
}

.rh-public-hero-copy p,
.rh-public-section-head p,
.rh-public-subcopy,
.rh-public-card-address,
.rh-public-service-card p,
.rh-public-price-card p,
.rh-public-chat-cta p,
.rh-chat-bubble p {
    color: #4c6677;
    line-height: 1.7;
}

.rh-public-hero-copy p {
    color: rgba(244, 251, 248, 0.84);
    max-width: 48rem;
}

.rh-public-hero-copy-ops {
    display: grid;
    gap: 1.15rem;
}

.rh-public-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.rh-public-hero-bullets,
.rh-public-bullet-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.rh-public-hero-bullets li,
.rh-public-bullet-list li {
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.65;
}

.rh-public-hero-bullets li::before,
.rh-public-bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffd57a 0%, #ffffff 100%);
    box-shadow: 0 0 0 0.22rem rgba(255, 255, 255, 0.12);
}

.rh-public-hero-bullets li {
    color: rgba(244, 251, 248, 0.92);
}

.rh-public-bullet-list li {
    color: #4c6677;
}

.rh-public-hero-metrics {
    display: grid;
    gap: 1rem;
}

.rh-public-metric-card {
    padding: 1.4rem 1.45rem;
    border: 1px solid rgba(17, 60, 59, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 38px rgba(27, 69, 63, 0.08);
}

.rh-public-metric-card strong {
    display: block;
    color: #123d3b;
    font-size: 1.45rem;
    margin-bottom: 0.35rem;
}

.rh-public-search-form,
.rh-public-spec-row,
.rh-public-spec-grid,
.rh-public-service-grid,
.rh-public-pricing-grid,
.rh-public-card-grid,
.rh-public-gallery-grid,
.rh-public-detail-grid,
.rh-conversation-layout {
    display: grid;
    gap: 1rem;
}

.rh-public-search-form {
    grid-template-columns: 2fr 1fr 1fr auto;
    align-items: center;
}

.rh-public-section {
    display: grid;
    gap: 1rem;
}

.rh-public-section-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
}

.rh-public-section-head-centered {
    justify-content: center;
    text-align: center;
}

.rh-public-section-head-centered > div {
    max-width: 760px;
}

.rh-public-section-head-centered p {
    margin: 0.5rem auto 0;
    color: #658094;
}

.rh-public-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.rh-public-card {
    overflow: hidden;
    border: 1px solid rgba(17, 60, 59, 0.08);
    border-radius: 26px;
    background: #fffdfa;
    box-shadow: 0 24px 48px rgba(24, 40, 54, 0.08);
    padding: 0;
}

.rh-public-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #dce8e2;
    border-radius: 26px 26px 0 0;
}

.rh-public-card-badges {
    position: absolute;
    top: 0.95rem;
    left: 0.95rem;
    display: flex;
    gap: 0.45rem;
    z-index: 2;
}

.rh-public-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.34rem 0.65rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1;
}

.rh-public-chip-featured {
    background: linear-gradient(135deg, #ff9d4d, #f2792a);
    color: #fff;
}

.rh-public-chip-rental {
    background: rgba(46, 67, 82, 0.85);
    color: #fff;
}

.rh-public-card-media img,
.rh-public-apartment-mainmedia img,
.rh-public-gallery-card img,
.rh-conversation-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rh-public-card-body {
    padding: 1.15rem 1.15rem 1rem;
}

.rh-public-card-body h3,
.rh-public-section-head h2,
.rh-public-service-card h3,
.rh-public-price-card h3,
.rh-conversation-thread-head h2 {
    color: #17324c;
    margin-bottom: 0.25rem;
}

.rh-public-card-location,
.rh-conversation-list-item p,
.rh-conversation-thread-head p {
    margin-bottom: 0;
    color: #658094;
}

.rh-public-card-footer strong,
.rh-public-price,
.rh-public-price-card strong,
.rh-conversation-thread-meta strong {
    color: #116c5b;
    font-size: 1.1rem;
}

.rh-public-spec-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    color: #687f8f;
    font-size: 0.85rem;
    padding-top: 0.85rem;
    margin-top: 0.9rem;
    border-top: 1px solid rgba(17, 60, 59, 0.08);
}

.rh-public-spec-row span {
    white-space: nowrap;
}

.rh-public-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.95rem;
    margin-top: 0.95rem;
    border-top: 1px solid rgba(17, 60, 59, 0.08);
}

.rh-public-card-footer-meta {
    color: #758a99;
    font-size: 0.86rem;
    font-weight: 600;
}

.rh-public-card-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    padding: 0.5rem 0.85rem;
    border: 1px solid rgba(226, 172, 105, 0.65);
    border-radius: 999px;
    color: #d28b39;
    background: #fff7ec;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
}

.rh-public-card-details:hover {
    color: #b46d21;
    background: #ffefd9;
}

.rh-public-card-details.is-disabled {
    pointer-events: none;
    opacity: 0.8;
}

.rh-public-service-grid,
.rh-public-pricing-grid,
.rh-public-detail-grid,
.rh-public-gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.rh-public-service-grid-ops {
    align-items: stretch;
}

.rh-public-service-card,
.rh-public-price-card {
    padding: 1.45rem;
    border: 1px solid rgba(17, 60, 59, 0.08);
    background: rgba(255, 255, 255, 0.9);
}

.rh-public-ops-band {
    padding: 1.5rem;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(15, 121, 108, 0.16), transparent 26%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 247, 244, 0.92));
    border: 1px solid rgba(17, 60, 59, 0.08);
}

.rh-public-ops-band-copy {
    max-width: 760px;
}

.rh-public-step-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 0.35rem;
}

.rh-public-step-card {
    padding: 1.35rem 1.2rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(17, 60, 59, 0.08);
    box-shadow: 0 18px 34px rgba(24, 40, 54, 0.06);
    display: grid;
    gap: 0.6rem;
}

.rh-public-step-card span {
    color: #11796c;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.rh-public-step-card h3 {
    margin: 0;
    color: #17324c;
    font-size: 1.05rem;
}

.rh-public-step-card p {
    margin: 0;
    color: #5f7487;
    line-height: 1.65;
}

.rh-public-cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.7rem;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(16, 71, 65, 0.08), rgba(15, 78, 138, 0.06));
}

.rh-public-cta-band h2 {
    margin: 0.35rem 0 0.65rem;
    color: #17324c;
}

.rh-public-cta-band p {
    margin: 0;
    color: #5f7487;
    line-height: 1.7;
    max-width: 58ch;
}

.rh-public-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.rh-public-apartment-mainmedia {
    overflow: hidden;
    min-height: 420px;
}

.rh-public-apartment-summary {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 60, 59, 0.08);
}

.rh-public-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    background: rgba(15, 127, 104, 0.12);
    color: #0f7f68;
}

.rh-public-status-floating {
    position: absolute;
    right: 0.95rem;
    bottom: 0.95rem;
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 28px rgba(24, 40, 54, 0.14);
}

.rh-public-status.status-occupied {
    background: rgba(186, 64, 37, 0.12);
    color: #b24a31;
}

.rh-public-status.status-reserved {
    background: rgba(174, 120, 17, 0.14);
    color: #9c6e13;
}

.rh-public-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.4rem;
}

.rh-public-spec-grid div {
    padding: 0.85rem 0.95rem;
    border-radius: 18px;
    background: rgba(14, 97, 86, 0.05);
}

.rh-public-spec-grid span {
    display: block;
    color: #698293;
    font-size: 0.82rem;
    margin-bottom: 0.15rem;
}

.rh-public-spec-grid strong {
    color: #17324c;
}

.rh-public-chat-form textarea {
    min-height: 130px;
}

.rh-public-chat-thread,
.rh-public-chat-thread-inbox {
    display: grid;
    gap: 0.9rem;
    max-height: 520px;
    overflow: auto;
    padding-right: 0.25rem;
}

.rh-chat-bubble {
    max-width: 88%;
    padding: 0.95rem 1rem;
    border-radius: 22px;
    background: #eef6f2;
    border: 1px solid rgba(17, 60, 59, 0.06);
}

.rh-chat-bubble.is-self {
    margin-left: auto;
    background: linear-gradient(135deg, rgba(18, 108, 91, 0.96), rgba(43, 147, 120, 0.92));
    color: #f4fbf8;
}

.rh-chat-bubble.is-self p,
.rh-chat-bubble.is-self small,
.rh-chat-bubble.is-self strong {
    color: inherit;
}

.rh-chat-bubble strong {
    display: block;
    margin-bottom: 0.25rem;
}

.rh-chat-bubble p {
    margin-bottom: 0.35rem;
}

.rh-chat-bubble small {
    color: #6e8797;
}

.rh-conversation-layout {
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    align-items: start;
}

.rh-conversation-head {
    margin-bottom: 1rem;
}

.rh-conversation-list {
    display: grid;
    gap: 0.75rem;
}

.rh-conversation-list-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 0.8rem;
    align-items: center;
    padding: 0.85rem;
    border-radius: 20px;
    color: inherit;
    text-decoration: none;
    background: rgba(249, 252, 251, 0.95);
    border: 1px solid rgba(17, 60, 59, 0.06);
}

.rh-conversation-list-item.is-active {
    border-color: rgba(17, 121, 108, 0.32);
    background: rgba(228, 244, 239, 0.95);
}

.rh-conversation-thumb {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #dce8e2;
    color: #17324c;
    font-weight: 800;
}

.rh-conversation-list-item small {
    color: #7b92a1;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rh-conversation-unread {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #11796c;
}

.rh-conversation-thread-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.rh-conversation-thread-meta {
    display: grid;
    gap: 0.65rem;
    justify-items: end;
}

.rh-public-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: #658094;
}

.rh-public-breadcrumbs a {
    color: #116c5b;
    text-decoration: none;
}

@media (max-width: 1100px) {
    .rh-public-hero,
    .rh-public-apartment-hero,
    .rh-conversation-layout {
        grid-template-columns: 1fr;
    }

    .rh-public-step-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rh-public-cta-band {
        flex-direction: column;
        align-items: stretch;
    }

    .rh-public-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .rh-footer,
    .rh-footer-links {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .rh-public-search-form {
        grid-template-columns: 1fr;
    }

    .rh-public-section-head,
    .rh-public-card-footer,
    .rh-conversation-thread-head {
        flex-direction: column;
        align-items: stretch;
    }

    .rh-public-spec-grid,
    .rh-public-spec-row {
        grid-template-columns: 1fr;
    }

    .rh-public-step-grid {
        grid-template-columns: 1fr;
    }

    .rh-chat-bubble {
        max-width: 100%;
    }
}
