:root {
  color-scheme: light;
  --bg: #dfe9e8;
  --surface: #fffdf8;
  --surface-strong: #edf7f3;
  --ink: #18202a;
  --muted: #5d6877;
  --line: #c6d2d7;
  --brand: #0f766e;
  --brand-dark: #105e59;
  --accent: #b45309;
  --success: #137a3b;
  --warning: #a16207;
  --danger: #b42318;
  --info: #2457a6;
  --shadow: 0 18px 44px rgba(27, 39, 54, 0.1);
  --shadow-strong: 0 28px 80px rgba(15, 23, 42, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  letter-spacing: 0;
  overflow-x: hidden;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.landing-page {
  min-height: 100vh;
  background: #f8faf9;
  color: var(--ink);
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 15, 28, 0.92);
  backdrop-filter: blur(16px);
}

.landing-brand {
  color: #f8fafc;
}

.landing-brand .brand-meta {
  color: #aebccc;
}

.landing-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.landing-links a {
  color: #d7e1ec;
  font-weight: 750;
  text-decoration: none;
}

.hero-section {
  position: relative;
  min-height: clamp(560px, calc(100vh - 116px), 760px);
  display: grid;
  grid-template-columns: minmax(0, 720px);
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  background:
    linear-gradient(90deg, rgba(5, 12, 23, 0.96) 0%, rgba(7, 15, 28, 0.86) 46%, rgba(7, 15, 28, 0.38) 100%),
    linear-gradient(180deg, rgba(7, 15, 28, 0.1), rgba(7, 15, 28, 0.84)),
    url("assets/apartment-exterior.jpg") center / cover no-repeat;
  padding: clamp(52px, 8vh, 82px) clamp(18px, 5vw, 72px);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 17px;
  max-width: 680px;
}

.hero-kicker {
  width: fit-content;
  border: 1px solid rgba(245, 158, 11, 0.36);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.1);
  color: #f8d36d;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 680px;
  color: #f8fafc;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-copy h1:not(:last-of-type) {
  display: none;
}

.hero-copy p {
  max-width: 580px;
  color: #cbd7e3;
  font-size: 17px;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .primary-button,
.hero-actions .ghost-button {
  min-height: 48px;
  padding: 0 18px;
}

.hero-actions .ghost-button {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.2);
}

.dashboard-screen {
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 8px;
  background: #eef4f5;
  box-shadow: var(--shadow-strong);
}

.preview-metrics article,
.preview-panel {
  border: 1px solid #d6e2e5;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.mock-window {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(12, 23, 40, 0.84);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(245, 158, 11, 0.08);
  backdrop-filter: blur(18px);
  padding: 14px;
  transform: rotate(-1deg);
}

.mock-topbar {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #dbe8e6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 14px;
}

.mock-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #f59e0b;
}

.mock-topbar span:nth-child(2) {
  background: #22c55e;
}

.mock-topbar span:nth-child(3) {
  background: #60a5fa;
}

.mock-topbar strong {
  margin-left: auto;
  font-size: 12px;
}

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

.mock-stat,
.preview-metrics article,
.price-card,
.feature-card,
.steps-grid article,
.benefit-grid article {
  border-radius: 8px;
}

.mock-stat {
  min-height: 118px;
  display: grid;
  gap: 8px;
  padding: 14px;
  background: rgba(248, 255, 252, 0.94);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
}

.mock-stat span,
.mock-stat small {
  color: #536272;
  font-size: 12px;
}

.mock-stat strong {
  font-size: 22px;
}

.mock-stat.green {
  border: 1px solid #9ed8c5;
}

.mock-stat.blue {
  border: 1px solid #adc4ef;
  background: #eef4ff;
}

.mock-stat.amber {
  border: 1px solid #efc56d;
  background: #fff4de;
}

.mock-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.7fr);
  gap: 10px;
  margin-top: 10px;
}

.mock-chart,
.mock-list {
  min-height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(34, 48, 67, 0.82);
}

.mock-chart {
  display: flex;
  align-items: end;
  gap: 14px;
  padding: 20px;
}

.mock-chart span {
  flex: 1;
  min-width: 20px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #f59e0b, #0f766e);
}

.mock-list {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
}

.mock-list div {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 8px;
  background: #f8fffc;
  padding: 10px;
}

.floating-card {
  position: absolute;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
  padding: 13px 15px;
}

.floating-card span {
  color: var(--muted);
  font-size: 12px;
}

.floating-card strong {
  font-size: 18px;
}

.card-income {
  left: -24px;
  bottom: 28px;
}

.card-alert {
  right: -18px;
  top: 190px;
}

.card-overdue {
  right: 36px;
  bottom: -18px;
}

.card-occupancy {
  left: 132px;
  top: -20px;
}

.trust-bar,
.landing-section {
  margin-inline: clamp(18px, 5vw, 72px);
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #cbd9d8;
  border-radius: 8px;
  background: #cbd9d8;
  box-shadow: var(--shadow);
  transform: translateY(-22px);
}

.trust-bar div {
  display: grid;
  gap: 5px;
  min-height: 100px;
  align-content: center;
  background: #fffdf8;
  padding: 18px;
}

.trust-bar strong {
  font-size: 24px;
}

.trust-bar span {
  color: var(--muted);
}

.landing-section {
  padding-block: clamp(86px, 10vw, 140px);
}

#features {
  margin-inline: 0;
  padding-inline: clamp(18px, 5vw, 72px);
  background: #ffffff;
}

.photo-story {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.72fr);
  grid-template-rows: repeat(2, minmax(220px, 1fr));
  gap: 18px;
  padding-block: clamp(56px, 7vw, 90px);
}

.photo-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid #cbd9d8;
  border-radius: 8px;
  background: #17202b;
  box-shadow: var(--shadow-strong);
}

.photo-card.large-photo {
  grid-row: span 2;
  min-height: 520px;
}

.photo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.92;
  transform: scale(1.01);
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 15, 28, 0.06) 0%, rgba(8, 15, 28, 0.18) 38%, rgba(8, 15, 28, 0.88));
}

.photo-card div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  gap: 8px;
  color: #fff;
}

.photo-card span {
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.photo-card h3 {
  max-width: 620px;
  font-size: clamp(20px, 2.4vw, 34px);
  line-height: 1.12;
}

.section-heading {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section-heading p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.section-heading h2,
.benefit-copy h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.feature-grid,
.benefit-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.benefit-grid article,
.price-card,
.steps-grid article {
  border: 1px solid #cbd9d8;
  background: #fffdf8;
  box-shadow: var(--shadow);
  padding: 22px;
}

.feature-card {
  min-height: 360px;
  display: grid;
  align-content: start;
  gap: 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.feature-media {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 8;
  margin: 0 0 4px;
  border-radius: 8px;
  background: #e7f0ee;
}

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

.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 29, 33, 0.04), rgba(6, 29, 33, 0.58));
}

.feature-media figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #ffffff;
}

.feature-media figcaption span,
.feature-media figcaption strong {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(4, 32, 36, 0.72);
  box-shadow: 0 10px 22px rgba(4, 32, 36, 0.22);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.feature-media figcaption strong {
  background: rgba(255, 253, 248, 0.92);
  color: var(--ink);
  font-weight: 900;
}

.feature-icon,
.steps-grid span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #ecf7f4;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
}

.feature-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.feature-card:hover {
  border-color: #9ed8c5;
  box-shadow: 0 24px 54px rgba(15, 118, 110, 0.13);
  transform: translateY(-3px);
}

.feature-card p,
.steps-grid p,
.benefit-grid p,
.price-card p {
  color: var(--muted);
  line-height: 1.55;
}

.steps-section {
  border-block: 1px solid #cbd9d8;
  background: rgba(255, 253, 248, 0.48);
  margin-inline: 0;
  padding-inline: clamp(18px, 5vw, 72px);
}

.steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.steps-grid article {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.onboarding-demo-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  margin-inline: 0;
  padding-inline: clamp(18px, 5vw, 72px);
  background: linear-gradient(180deg, #f8faf9 0%, #fffdf8 100%);
}

.onboarding-demo-copy {
  display: grid;
  gap: 18px;
}

.onboarding-demo-copy .section-heading {
  margin-bottom: 0;
}

.demo-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.demo-actions .primary-button,
.demo-actions .ghost-button {
  min-height: 48px;
  padding-inline: 18px;
}

.demo-login-note {
  width: min(420px, 100%);
  display: grid;
  gap: 4px;
  border: 1px solid #cbd9d8;
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 16px 42px rgba(27, 39, 54, 0.08);
  padding: 14px;
}

.demo-login-note strong {
  color: var(--ink);
}

.demo-login-note span {
  color: var(--muted);
  font-weight: 750;
}

.walkthrough-video-card {
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.52);
  border-radius: 8px;
  background: #07111f;
  box-shadow: var(--shadow-strong);
  color: #f8fafc;
}

.walkthrough-video-topbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 18px;
}

.walkthrough-video-topbar span {
  color: #d7e1ec;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.walkthrough-video-topbar strong {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(245, 158, 11, 0.34);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: #f8d36d;
  padding: 0 10px;
  font-size: 12px;
}

.walkthrough-stage {
  position: relative;
  min-height: clamp(320px, 36vw, 430px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.9), rgba(24, 36, 55, 0.78)),
    url("assets/apartment-exterior.jpg") center / cover no-repeat;
  padding: 20px;
}

.walkthrough-play {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.walkthrough-play span {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #f8fafc;
  transform: translateX(2px);
}

.walkthrough-screen {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 24px;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.94);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.2);
  color: var(--ink);
  padding: 18px;
  opacity: 0;
  transform: translateY(16px);
  animation: walkthrough-screen 12s infinite;
}

.walkthrough-screen span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.walkthrough-screen strong {
  color: var(--brand-dark);
  font-size: clamp(21px, 3vw, 32px);
}

.walkthrough-screen small {
  color: var(--muted);
  font-weight: 750;
}

.screen-two {
  animation-delay: 3s;
}

.screen-three {
  animation-delay: 6s;
}

.screen-four {
  animation-delay: 9s;
}

.walkthrough-timeline {
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.walkthrough-timeline span {
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--brand), #f8d36d);
  animation: walkthrough-progress 12s linear infinite;
}

.workflow-animation {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  overflow: hidden;
  border: 1px solid #cbd9d8;
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 20px 54px rgba(27, 39, 54, 0.09);
  padding: 18px;
}

.workflow-animation::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 48px;
  right: 48px;
  height: 2px;
  background: #d6e2e5;
}

.workflow-node {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  min-height: 132px;
  border: 1px solid #d6e2e5;
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.workflow-node span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #ecf7f4;
  color: var(--brand-dark);
  font-weight: 900;
}

.workflow-node strong {
  color: var(--ink);
}

.workflow-node small {
  color: var(--muted);
  font-weight: 750;
}

.workflow-pulse {
  position: absolute;
  top: 35px;
  left: 42px;
  z-index: 2;
  width: 16px;
  height: 16px;
  border: 3px solid #fffdf8;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(15, 118, 110, 0.14);
  animation: workflow-pulse 6s ease-in-out infinite;
}

@keyframes walkthrough-screen {
  0%,
  20% {
    opacity: 1;
    transform: translateY(0);
  }
  25%,
  100% {
    opacity: 0;
    transform: translateY(16px);
  }
}

@keyframes walkthrough-progress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes workflow-pulse {
  0% {
    left: 42px;
  }
  32% {
    left: calc(33.333% + 14px);
  }
  64% {
    left: calc(66.666% - 12px);
  }
  100% {
    left: calc(100% - 58px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .walkthrough-screen,
  .walkthrough-timeline span,
  .workflow-pulse {
    animation: none;
  }

  .walkthrough-screen {
    opacity: 0;
    transform: none;
  }

  .screen-one {
    opacity: 1;
  }
}

.dashboard-preview {
  margin-inline: 0;
  padding: clamp(88px, 10vw, 140px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, #07111f 0%, #111c2d 56%, #1f2737 100%);
  color: #f8fafc;
}

.dashboard-preview .section-heading h2 {
  color: #f8fafc;
}

.dashboard-preview .hero-kicker {
  border-color: rgba(245, 158, 11, 0.36);
  background: rgba(245, 158, 11, 0.1);
  color: #f8d36d;
}

.preview-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 520px;
  overflow: hidden;
  border-color: rgba(203, 213, 225, 0.55);
  background: #17202b;
  box-shadow: 0 34px 96px rgba(0, 0, 0, 0.36);
}

.preview-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  color: #dbe8e6;
}

.preview-sidebar strong {
  color: #fff;
  margin-bottom: 20px;
}

.preview-sidebar span {
  min-height: 38px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0 12px;
}

.preview-main {
  background: #edf4f5;
  color: var(--ink);
  padding: 22px;
}

.preview-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.preview-header-row div {
  display: grid;
  gap: 4px;
}

.preview-header-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.preview-header-row strong {
  color: var(--ink);
  font-size: clamp(20px, 2.5vw, 28px);
}

.preview-date-pill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #bed0f5;
  border-radius: 999px;
  background: #f0f5ff;
  color: var(--info) !important;
  padding: 0 12px;
}

.public-listings-section {
  display: grid;
  gap: 22px;
}

.marketplace-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: -18px;
}

.marketplace-highlights span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd9d8;
  border-radius: 999px;
  background: #fffdf8;
  box-shadow: 0 12px 30px rgba(27, 39, 54, 0.07);
  color: var(--brand-dark);
  padding: 0 13px;
  font-size: 13px;
  font-weight: 850;
}

.compact-heading {
  margin-bottom: 10px;
}

.compact-heading h2 {
  font-size: clamp(22px, 3vw, 34px);
}

.featured-listing-section {
  display: grid;
  gap: 12px;
}

.vacancy-page {
  min-height: 100vh;
}

.vacancy-hero {
  padding-block: clamp(42px, 7vw, 76px);
}

.vacancy-hero .section-heading {
  margin-bottom: 18px;
}

.vacancy-hero h1 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.05;
}

.vacancy-status {
  color: var(--muted);
  font-weight: 800;
}

.listing-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.listing-examples span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #f1d185;
  border-radius: 999px;
  background: #fff7df;
  color: #6f4b0a;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 800;
}

.listing-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(150px, 1fr)) minmax(130px, auto);
  gap: 12px;
  border: 1px solid #cbd9d8;
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 20px 54px rgba(27, 39, 54, 0.12);
  padding: 16px;
}

.listing-filters label {
  display: grid;
  gap: 7px;
  color: #374151;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.listing-filters input,
.listing-filters select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
}

.listing-search-button {
  min-height: 46px;
  align-self: end;
  justify-content: center;
  padding-inline: 18px;
}

.public-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.public-listing-grid > .empty-row {
  grid-column: 1 / -1;
  width: min(520px, 100%);
  min-height: 150px;
  align-self: start;
  justify-self: start;
  border-style: solid;
  background: #fffdf8;
  box-shadow: 0 18px 46px rgba(27, 39, 54, 0.09);
}

.public-listings-section:has(.public-listing-grid > .empty-row) {
  padding-bottom: clamp(48px, 5vw, 74px);
}

.public-listings-section:has(.public-listing-grid > .empty-row) + .benefits-section {
  padding-top: clamp(48px, 5vw, 74px);
}

.public-listing-card {
  position: relative;
  min-width: 0;
  display: grid;
  overflow: hidden;
  border: 1px solid #cbd9d8;
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 18px 42px rgba(27, 39, 54, 0.11);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.public-listing-card.featured {
  border-color: #f1d185;
  box-shadow: 0 18px 38px rgba(180, 83, 9, 0.14);
}

.public-listing-card:hover {
  border-color: #9ed8c5;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.14);
  transform: translateY(-3px);
}

.listing-featured-ribbon {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fff7df;
  color: var(--warning);
  border: 1px solid #f1d185;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.listing-posted-badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #a8dec1;
  border-radius: 999px;
  background: #e8f6ee;
  color: var(--success);
  padding: 0 10px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.listing-media {
  position: relative;
  overflow: hidden;
  background: #17202b;
}

.listing-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 15, 28, 0.08), rgba(7, 15, 28, 0.58));
  pointer-events: none;
}

.listing-badge-stack {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.listing-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  background: #17202b;
  transition: transform 180ms ease;
}

.public-listing-card:hover .listing-media img {
  transform: scale(1.035);
}

.public-listing-body {
  display: grid;
  gap: 11px;
  padding: 14px;
}

.public-listing-body h3 {
  font-size: 18px;
}

.listing-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.listing-card-meta > span:not(.listing-status) {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #d6e2e5;
  border-radius: 999px;
  background: #f8faf9;
  color: var(--muted);
  padding: 0 10px;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.public-listing-body p,
.public-listing-body small {
  color: var(--muted);
}

.public-listing-body > strong {
  color: var(--brand-dark);
  font-size: 24px;
}

.public-listing-body > strong small {
  margin-left: 4px;
  font-size: 12px;
}

.listing-status {
  width: fit-content;
  border: 1px solid #bde7cb;
  border-radius: 999px;
  background: #e8f6ee;
  color: var(--success);
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.listing-specs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.listing-specs span {
  border: 1px solid #dbe3ec;
  border-radius: 999px;
  background: #f8fffc;
  color: #374151;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 750;
}

.listing-landlord {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid #d8e6e1;
  border-radius: 8px;
  background: #f8fffc;
  padding: 10px;
}

.listing-landlord > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.listing-landlord a {
  color: var(--brand-dark);
  font-weight: 850;
  text-decoration: none;
}

.listing-landlord small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.listing-landlord-photo {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  background: #2457a6;
}

.profile-photo-fallback {
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}

.listing-landlord-photo.profile-photo-fallback {
  font-size: 13px;
}

.whatsapp-listing-button {
  background: #0f8b6f;
  box-shadow: 0 14px 30px rgba(15, 139, 111, 0.2);
}

.verification-badge {
  width: fit-content;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #93c5fd;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.verification-badge.verified {
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.12);
}

.verification-tick {
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #2563eb;
  color: #ffffff;
  font-size: 11px;
  line-height: 1;
}

.verification-badge.pending {
  border-color: #dbe3ec;
  background: #f1f5f9;
  color: #475569;
}

.landlord-profile-page {
  min-height: 100vh;
}

.landlord-profile-shell {
  display: grid;
  gap: 20px;
}

.landlord-profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 16px;
  align-items: stretch;
}

.landlord-profile-main {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 1px solid #cbd9d8;
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: var(--shadow);
  padding: clamp(18px, 4vw, 28px);
}

.landlord-profile-photo {
  width: clamp(86px, 16vw, 124px);
  height: clamp(86px, 16vw, 124px);
  border-radius: 999px;
  object-fit: cover;
  background: #2457a6;
  box-shadow: 0 14px 32px rgba(27, 39, 54, 0.14);
}

.landlord-profile-photo.profile-photo-fallback {
  font-size: clamp(28px, 5vw, 40px);
}

.landlord-profile-copy {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.landlord-profile-copy h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
}

.profile-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-phone-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.profile-phone-line span {
  color: #374151;
  font-size: 12px;
  text-transform: uppercase;
}

.profile-phone-line a {
  color: var(--brand-dark);
  text-decoration: none;
}

.landlord-stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.landlord-stat {
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid #b8d8ca;
  border-radius: 8px;
  background: #f8fffc;
  box-shadow: var(--shadow);
  padding: 18px;
}

.landlord-stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.landlord-stat strong {
  color: var(--brand-dark);
  font-size: 34px;
  line-height: 1;
}

.landlord-vacancy-section {
  display: grid;
  gap: 16px;
}

.landlord-profile-error {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.landlord-profile-error strong {
  color: var(--ink);
}

.preview-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.preview-metrics article {
  display: grid;
  gap: 8px;
  min-height: 112px;
  background: #fffdf8;
  border: 1px solid #cbd9d8;
  color: var(--ink);
  padding: 15px;
}

.preview-metrics span {
  color: var(--muted);
  font-size: 12px;
}

.preview-metrics strong {
  color: var(--ink);
  font-size: 22px;
}

.preview-panels {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 14px;
}

.preview-panel {
  min-height: 284px;
  border: 1px solid #cbd9d8;
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  padding: 18px;
}

.mini-units {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.mini-units span {
  min-height: 70px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-weight: 850;
}

.mini-units .occupied {
  border: 1px solid #9ed8c5;
  background: #eef9f5;
}

.mini-units .vacant {
  border: 1px solid #efc56d;
  background: #fff4de;
}

.payment-row {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #d8e2e4;
}

.benefits-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.benefit-copy {
  display: grid;
  gap: 14px;
}

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

.testimonial-section {
  margin-top: clamp(24px, 4vw, 48px);
  margin-bottom: clamp(24px, 4vw, 48px);
  border: 1px solid #d8e5e3;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 250, 247, 0.94)),
    #f8fffc;
  box-shadow: 0 24px 70px rgba(27, 39, 54, 0.08);
  padding: clamp(34px, 5vw, 58px);
}

.testimonial-heading {
  max-width: 680px;
  margin-bottom: 26px;
}

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

.testimonial-grid blockquote {
  position: relative;
  margin: 0;
  border: 1px solid #cbd9d8;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(27, 39, 54, 0.07);
  padding: 24px 24px 22px;
  color: #243244;
}

.testimonial-grid blockquote::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 8px 0 0 8px;
  background: var(--brand);
}

.testimonial-grid p {
  margin: 0;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.5;
}

.testimonial-grid cite {
  display: grid;
  gap: 3px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
}

.testimonial-grid cite strong {
  color: var(--ink);
  font-size: 15px;
}

.pricing-section {
  margin-inline: 0;
  padding: clamp(72px, 10vw, 120px) clamp(18px, 5vw, 72px);
  background: #07111f;
  color: #f8fafc;
}

.pricing-section .section-heading h2 {
  color: #f8fafc;
}

.price-card {
  display: grid;
  gap: 14px;
  min-height: 360px;
  color: var(--ink);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.16);
}

.price-card strong {
  font-size: clamp(24px, 2.5vw, 30px);
}

.price-card strong span {
  color: var(--muted);
  font-size: 14px;
}

.price-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.price-card button {
  align-self: end;
}

.payment-details-section {
  display: grid;
  gap: 24px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.policy-card {
  display: grid;
  gap: 10px;
  min-height: 220px;
  border: 1px solid #cbd9d8;
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 18px 46px rgba(27, 39, 54, 0.09);
  padding: 20px;
}

.policy-card h3,
.policy-card p {
  margin: 0;
}

.policy-card p {
  color: var(--muted);
  line-height: 1.55;
}

.support-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #b8d8ca;
  border-radius: 8px;
  background: #eef8f7;
  padding: 18px;
}

.support-strip div {
  display: grid;
  gap: 4px;
}

.support-strip span {
  color: var(--muted);
}

.landing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: #07111f;
  color: #f8fafc;
}

.landing-footer div,
.landing-footer nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.landing-footer span,
.landing-footer a {
  color: #d7e1ec;
}

.landing-footer a {
  font-weight: 750;
  text-decoration: none;
}

.company-page {
  background: #f8faf9;
  overflow-x: hidden;
}

.company-page .section-heading,
.company-page .company-hero,
.company-page .company-split,
.company-page .company-hero-photo,
.company-page .company-card,
.company-page .policy-card,
.company-page .terms-list article,
.company-page .company-contact-panel article {
  min-width: 0;
}

.company-page h1,
.company-page h2,
.company-page h3,
.company-page p,
.company-page a,
.company-page strong,
.company-page span {
  overflow-wrap: anywhere;
}

.company-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding-inline: clamp(18px, 5vw, 72px);
}

.company-hero h1 {
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.05;
}

.company-hero-photo {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid #cbd9d8;
  border-radius: 8px;
  background: #17202b;
  box-shadow: var(--shadow-strong);
}

.company-hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  display: block;
  object-fit: cover;
  opacity: 0.86;
}

.company-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 15, 28, 0.08), rgba(7, 15, 28, 0.82));
}

.company-hero-photo div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(7, 15, 28, 0.72);
  backdrop-filter: blur(10px);
  color: #f8fafc;
  padding: 16px;
}

.company-hero-photo strong {
  font-size: 24px;
}

.company-hero-photo span {
  color: #d7e1ec;
}

.company-band,
.support-center-section {
  margin-inline: 0;
  padding-inline: clamp(18px, 5vw, 72px);
}

.company-band {
  border-block: 1px solid #cbd9d8;
  background: rgba(255, 253, 248, 0.54);
}

.company-grid,
.support-center-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.support-center-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 20px;
}

.company-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 190px;
  border: 1px solid #cbd9d8;
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 18px 46px rgba(27, 39, 54, 0.09);
  padding: 22px;
}

.company-card h3,
.company-card p {
  margin: 0;
}

.company-card p {
  color: var(--muted);
  line-height: 1.55;
}

.company-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  align-items: start;
  gap: clamp(24px, 5vw, 72px);
  padding-inline: clamp(18px, 5vw, 72px);
}

.company-split .section-heading {
  margin-bottom: 0;
}

.company-contact-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.company-contact-panel article,
.terms-list article {
  display: grid;
  gap: 10px;
  border: 1px solid #cbd9d8;
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 18px 46px rgba(27, 39, 54, 0.09);
  padding: 20px;
}

.company-contact-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.company-contact-panel strong {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.company-policy-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.terms-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.terms-list h3,
.terms-list p {
  margin: 0;
}

.terms-list p {
  color: var(--muted);
  line-height: 1.55;
}

.price-card .link-button {
  align-self: end;
  justify-self: start;
}

.featured-price {
  border-color: #0f766e;
  background: #eef9f5;
  transform: translateY(-8px);
}

.auth-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(245, 158, 11, 0.14)),
    var(--bg);
}

.auth-card {
  width: min(440px, 100%);
  border: 1px solid #b8d8ca;
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: var(--shadow);
  padding: 22px;
}

.auth-brand {
  color: var(--ink);
  margin-bottom: 18px;
}

.auth-brand .brand-meta {
  color: var(--muted);
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.auth-tab {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fffc;
  color: #374151;
  font-weight: 750;
}

.auth-tab.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.auth-form {
  margin-top: 8px;
}

.form-helper {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.checkbox-consent {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  line-height: 1.4;
}

.checkbox-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--brand);
}

.billing-summary-note {
  border: 1px solid #bae2de;
  border-radius: 8px;
  background: #eef8f7;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
  padding: 10px 12px;
}

.auth-secondary-button {
  width: 100%;
}

.password-input {
  position: relative;
  display: block;
}

.password-input input {
  padding-right: 46px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  padding: 0;
  transform: translateY(-50%);
}

.password-toggle:hover,
.password-toggle:focus-visible {
  border-color: #bae2de;
  background: #eef8f7;
  color: var(--brand-dark);
  outline: none;
}

.password-icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.password-icon-hide,
.password-toggle.is-visible .password-icon-show {
  display: none;
}

.password-toggle.is-visible .password-icon-hide {
  display: block;
}

.demo-account-panel {
  display: grid;
  gap: 9px;
  border-top: 1px solid #dbe3ec;
  padding-top: 12px;
}

.demo-account-title {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.demo-account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.demo-account-button {
  min-height: 66px;
  display: grid;
  align-content: center;
  gap: 4px;
  border: 1px solid #cbd9d8;
  border-radius: 8px;
  background: #f8fffc;
  color: var(--ink);
  padding: 10px;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.demo-account-button:hover,
.demo-account-button:focus-visible {
  border-color: #9ed8c5;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.12);
  transform: translateY(-1px);
  outline: none;
}

.demo-account-button strong,
.demo-account-button small {
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-account-button strong {
  font-size: 13px;
}

.demo-account-button small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.auth-form-actions {
  justify-content: stretch;
}

.auth-form-actions > button {
  flex: 1;
}

.reset-otp-notice {
  display: block;
  border: 1px solid #bae2de;
  border-radius: 8px;
  background: #eef8f7;
  color: var(--brand-dark);
  font-weight: 750;
  padding: 10px 12px;
}

.app-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 18px;
  background: #17202b;
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f7d46a;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(23, 32, 43, 0.12);
}

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

.brand-name {
  font-size: 18px;
  font-weight: 800;
}

.brand-meta {
  margin-top: 2px;
  color: #bac4d1;
  font-size: 12px;
}

.side-nav {
  display: grid;
  gap: 8px;
}

.nav-item,
.mobile-tab {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  text-align: left;
  padding: 0 12px;
}

.nav-item:hover,
.nav-item.active {
  background: #263344;
  border-color: #334155;
}

.sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.sidebar-footer label {
  color: #bac4d1;
  font-size: 12px;
  text-transform: uppercase;
}

.account-card {
  display: grid;
  gap: 3px;
  border: 1px solid #334155;
  border-radius: 8px;
  background: #0f1720;
  padding: 12px;
}

.account-card span {
  color: #bac4d1;
  font-size: 11px;
  text-transform: uppercase;
}

.account-card strong {
  color: #fff;
  font-size: 14px;
}

.account-card small {
  color: #bac4d1;
  overflow-wrap: anywhere;
}

.sidebar-footer select,
.topbar-actions select,
.stacked-form input,
.stacked-form select,
.stacked-form textarea,
.search-input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  outline: none;
}

.stacked-form textarea {
  min-height: 92px;
  padding-block: 10px;
  resize: vertical;
}

.stacked-form select[multiple] {
  min-height: 128px;
  padding-block: 8px;
}

.stacked-form input[type="file"] {
  min-height: auto;
  padding: 9px 12px;
}

.image-upload-preview {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fffc;
  padding: 8px;
}

.image-upload-preview img {
  width: 74px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  background: #17202b;
}

.image-upload-preview span {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-limit-note {
  border: 1px solid #bae2de;
  border-radius: 8px;
  background: #eef8f7;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
  padding: 10px 12px;
}

.plan-limit-note.warning {
  border-color: #f1d185;
  background: #fff7df;
  color: var(--warning);
}

.setup-limit-note {
  margin-bottom: 14px;
}

.sidebar-footer select {
  border-color: #334155;
  background: #0f1720;
  color: #f8fafc;
}

.main-panel {
  min-width: 0;
  padding: 24px;
  background:
    linear-gradient(180deg, #edf4f5 0%, #dfe9e8 44%, #e9edf1 100%);
}

.loading-bar {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  border: 1px solid #b8d8ca;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: var(--shadow);
  padding: 0 14px;
  transform: translateX(-50%);
}

.loading-bar span {
  width: 16px;
  height: 16px;
  border: 2px solid #cbd9d8;
  border-top-color: var(--brand);
  border-radius: 999px;
  animation: spin 800ms linear infinite;
}

.loading-bar strong {
  color: var(--brand-dark);
  font-size: 12px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
}

#viewSubtitle {
  margin-top: 6px;
  color: var(--muted);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: min(620px, 100%);
  flex-wrap: wrap;
}

.topbar-actions select {
  min-width: 190px;
}

.notification-shell {
  position: relative;
}

.notification-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.notification-count {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #fff4de;
  color: var(--warning);
  font-size: 12px;
}

.notification-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  width: min(360px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: var(--shadow);
  padding: 12px;
}

.notification-panel-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.notification-list {
  display: grid;
  gap: 8px;
  max-height: 320px;
  overflow: auto;
}

.notification-item {
  width: 100%;
  display: grid;
  gap: 6px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #f8fffc;
  color: var(--ink);
  padding: 10px;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.notification-item:hover,
.notification-item:focus-visible {
  border-color: #9ed8c5;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.12);
  transform: translateY(-1px);
  outline: none;
}

.notification-item.read {
  opacity: 0.64;
}

.notification-item span {
  color: var(--muted);
  line-height: 1.45;
}

.notification-item time {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.notification-modal {
  display: grid;
  gap: 16px;
}

.notification-modal-meta {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.notification-modal-message {
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #f8fffc;
  color: var(--ink);
  line-height: 1.6;
  padding: 14px;
  white-space: pre-line;
}

.mobile-tabs {
  display: none;
}

.view {
  display: none;
}

.active-view {
  display: grid;
  gap: 18px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.metric-card {
  width: 100%;
  min-height: 116px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px;
  display: grid;
  gap: 8px;
  box-shadow: var(--shadow);
}

.dashboard-action-card {
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.dashboard-action-card:hover,
.dashboard-action-card:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 12px 26px rgba(15, 118, 110, 0.16);
  outline: none;
  transform: translateY(-1px);
}

.metric-card:nth-child(1) {
  background: #eef9f5;
  border-color: #9ed8c5;
}

.metric-card:nth-child(2) {
  background: #fff4de;
  border-color: #efc56d;
}

.metric-card:nth-child(3) {
  background: #eef4ff;
  border-color: #adc4ef;
}

.metric-card:nth-child(4) {
  background: #fff0ed;
  border-color: #efb2aa;
}

.metric-card:nth-child(5) {
  background: #f0fbff;
  border-color: #a7d8e8;
}

.metric-card:nth-child(6) {
  background: #f7f2ff;
  border-color: #c9b7ec;
}

.daily-ops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.daily-ops-card {
  width: 100%;
  min-height: 96px;
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 16px 34px rgba(27, 39, 54, 0.1);
  padding: 14px;
}

.daily-ops-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.daily-ops-card strong {
  font-size: 24px;
  line-height: 1.05;
}

.daily-ops-card small {
  color: var(--muted);
  line-height: 1.35;
}

.daily-ops-card.success {
  background: #eefaf0;
  border-color: #bde7cb;
}

.daily-ops-card.warning {
  background: #fff7df;
  border-color: #f1d185;
}

.daily-ops-card.info {
  background: #eaf1ff;
  border-color: #c7d8ff;
}

.daily-ops-card.danger {
  background: #fff0ed;
  border-color: #f5b6ae;
}

.dashboard-calendar-panel {
  display: grid;
  gap: 14px;
}

.dashboard-calendar-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-calendar-stat {
  min-width: 0;
  display: grid;
  gap: 5px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.dashboard-calendar-stat span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.dashboard-calendar-stat strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-calendar-stat small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.dashboard-calendar-stat.paid {
  border-color: #bde7cb;
  background: #eefaf0;
}

.dashboard-calendar-stat.due {
  border-color: #f1d185;
  background: #fff7df;
}

.dashboard-calendar-stat.expense {
  border-color: #f5b6ae;
  background: #fff0ed;
}

.dashboard-calendar-stat.next {
  border-color: #c7d8ff;
  background: #eaf1ff;
}

.dashboard-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(32px, 1fr));
  gap: 6px;
}

.calendar-weekday {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day {
  min-height: 54px;
  display: grid;
  align-content: start;
  gap: 7px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}

.calendar-day strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1;
}

.calendar-day.is-empty {
  border-color: transparent;
  background: transparent;
}

.calendar-day.is-past {
  background: #f8fafc;
}

.calendar-day.is-today {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
}

.calendar-day.has-payment {
  border-color: #9fd7b3;
}

.calendar-day.has-due {
  background: #fffaf0;
  border-color: #e8c670;
}

.calendar-day.has-expense {
  box-shadow: inset 0 -3px 0 #f5b6ae;
}

.calendar-markers {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.calendar-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
}

.calendar-dot.paid {
  background: var(--success);
}

.calendar-dot.due {
  background: var(--warning);
}

.calendar-dot.expense {
  background: var(--danger);
}

.admin-month-strip {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 0.9fr);
  align-items: stretch;
  gap: 14px;
  border: 1px solid #b8d8ca;
  border-radius: 8px;
  background: #f8fffc;
  box-shadow: var(--shadow);
  padding: 16px;
}

.admin-month-main,
.admin-month-dates span {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.admin-month-main span,
.admin-month-dates b {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-month-main strong {
  color: var(--ink);
  font-size: 26px;
  line-height: 1.08;
}

.admin-month-main small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

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

.admin-month-dates span {
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.admin-month-dates strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.15;
}

.verification-request-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
}

.verification-request-box div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.verification-request-box strong {
  color: var(--ink);
  font-size: 14px;
}

.verification-request-box span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.super-admin-dashboard {
  gap: 18px;
}

.admin-metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(140px, 1fr));
  gap: 14px;
}

.admin-metric-card,
.admin-card {
  border: 1px solid rgba(198, 210, 215, 0.86);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 12px 26px rgba(27, 39, 54, 0.08);
}

.admin-metric-card {
  position: relative;
  min-height: 128px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  overflow: hidden;
  padding: 16px;
}

.admin-metric-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--brand);
}

.admin-metric-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-metric-card strong {
  font-size: 26px;
  line-height: 1.05;
}

.admin-metric-card small {
  color: var(--muted);
  line-height: 1.35;
}

.admin-metric-card.teal {
  background: #eef9f5;
}

.admin-metric-card.blue {
  background: #eef4ff;
}

.admin-metric-card.green {
  background: #eefaf0;
}

.admin-metric-card.amber {
  background: #fff4de;
}

.admin-metric-card.rose {
  background: #fff0ed;
}

.admin-metric-card.slate {
  background: #f3f6f8;
}

.admin-metric-card.blue::before {
  background: var(--info);
}

.admin-metric-card.green::before {
  background: var(--success);
}

.admin-metric-card.amber::before {
  background: var(--accent);
}

.admin-metric-card.rose::before {
  background: var(--danger);
}

.admin-metric-card.slate::before {
  background: #64748b;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
}

.admin-dashboard-grid-main {
  align-items: stretch;
}

.admin-card {
  min-width: 0;
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
}

.admin-chart-panel {
  min-height: 250px;
  display: grid;
}

.admin-activity-list,
.admin-support-list {
  max-height: 440px;
  overflow: auto;
  padding-right: 2px;
}

.metric-label {
  color: var(--muted);
  font-size: 13px;
}

.metric-value {
  font-size: 27px;
  font-weight: 850;
  line-height: 1.1;
}

.metric-note {
  color: var(--muted);
  font-size: 12px;
}

.chart-panel {
  min-height: 260px;
  display: grid;
  gap: 16px;
}

.chart-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  border-bottom: 1px solid #dbe3ec;
  padding-bottom: 14px;
}

.chart-summary-grid span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.chart-summary-grid b {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.chart-summary-grid strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chart-empty-note {
  min-height: 180px;
  display: grid;
  place-items: center;
  border: 1px dashed #cbd9d8;
  border-radius: 8px;
  background: #f8fffc;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
  padding: 18px;
  text-align: center;
}

.bar-chart {
  min-height: 250px;
  display: grid;
  grid-template-columns: repeat(6, minmax(46px, 1fr));
  gap: 12px;
  align-items: end;
}

.bar-item {
  min-width: 0;
  display: grid;
  gap: 8px;
  align-items: end;
  text-align: center;
}

.bar-track {
  height: 168px;
  display: flex;
  align-items: end;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #f8fffc;
  overflow: hidden;
}

.bar-track span {
  width: 100%;
  min-height: 0;
  display: block;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #f59e0b, #0f766e);
  transition: height 280ms ease;
}

.bar-item.is-zero .bar-track span {
  display: none;
}

.analytics-chart-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mini-chart {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.mini-chart > strong {
  font-size: 13px;
}

.mini-chart .bar-chart {
  min-height: 210px;
  grid-template-columns: repeat(4, minmax(42px, 1fr));
}

.mini-chart .bar-track {
  height: 130px;
}

.bar-item strong {
  font-size: 12px;
}

.bar-item small {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.activity-list {
  display: grid;
  gap: 10px;
}

.activity-item {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #f8fffc;
  color: var(--ink);
  padding: 10px;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.activity-item:hover,
.activity-item:focus-visible {
  border-color: #9ed8c5;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.12);
  transform: translateY(-1px);
  outline: none;
}

.activity-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.activity-copy span,
.activity-item time {
  color: var(--muted);
  font-size: 12px;
}

.activity-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-item time {
  white-space: nowrap;
  font-weight: 750;
}

.person-cell {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.person-cell span:not(.avatar) {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.person-cell small {
  color: var(--muted);
  font-size: 11px;
}

.avatar {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.avatar.teal {
  background: #0f766e;
}

.avatar.amber {
  background: #b45309;
}

.avatar.blue {
  background: #2457a6;
}

.avatar.rose {
  background: #b42318;
}

.avatar.green {
  background: #137a3b;
}

.content-grid {
  display: grid;
  gap: 18px;
}

.two-columns {
  grid-template-columns: minmax(280px, 0.95fr) minmax(360px, 1.05fr);
}

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

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: var(--shadow);
  padding: 16px;
  min-width: 0;
}

.view > .panel:nth-child(odd),
.content-grid > .panel:nth-child(odd) {
  background: #f8fffc;
  border-color: #b8d8ca;
}

.view > .panel:nth-child(even),
.content-grid > .panel:nth-child(even) {
  background: #fffaf0;
  border-color: #e0c589;
}

.wide-panel {
  min-width: 0;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  margin-bottom: 14px;
}

.panel-header h2 {
  font-size: 17px;
  line-height: 1.25;
}

.subscription-lock-view.active-view {
  min-height: calc(100vh - 170px);
  align-content: center;
}

.subscription-lock-panel {
  width: min(880px, 100%);
  display: grid;
  gap: 18px;
}

.subscription-lock-copy {
  display: grid;
  gap: 10px;
  max-width: 700px;
}

.subscription-lock-copy h2 {
  font-size: 24px;
  line-height: 1.2;
}

.subscription-lock-copy p {
  color: var(--muted);
  line-height: 1.55;
}

.subscription-lock-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #ffffff;
}

.subscription-lock-summary div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 13px;
  border-left: 1px solid #dbe3ec;
}

.subscription-lock-summary div:first-child {
  border-left: 0;
}

.subscription-lock-summary span,
.subscription-lock-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.subscription-lock-summary strong {
  min-width: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.subscription-lock-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.billing-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: -2px 0 14px;
}

.billing-toolbar label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.billing-filter-select {
  min-width: min(320px, 100%);
}

.primary-button:disabled,
.ghost-button:disabled,
.text-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.pill {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 10px;
  border: 1px solid transparent;
  font-size: 12px;
  white-space: nowrap;
}

.pill.success {
  color: var(--success);
  background: #e8f6ee;
  border-color: #bde7cb;
}

.pill.warning {
  color: var(--warning);
  background: #fff7df;
  border-color: #f1d185;
}

.pill.danger {
  color: var(--danger);
  background: #fff0ed;
  border-color: #f5b6ae;
}

.pill.neutral {
  color: #475569;
  background: #f1f5f9;
  border-color: #dbe3ec;
}

.pill.info {
  color: var(--info);
  background: #eaf1ff;
  border-color: #c7d8ff;
}

.unit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 10px;
}

.unit-tile {
  width: 100%;
  min-height: 78px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  padding: 10px;
  display: grid;
  align-content: space-between;
}

.unit-number {
  font-weight: 800;
}

.unit-status {
  font-size: 12px;
  color: var(--muted);
}

.unit-tile strong {
  font-size: 13px;
}

.unit-tile.occupied {
  border-color: #a8dfbc;
  background: #f0fbf4;
}

.unit-tile.vacant {
  border-color: #f0c57c;
  background: #fff8eb;
}

.platform-tile {
  border-color: #b8d8ca;
  background: #f8fffc;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  background: rgba(15, 118, 110, 0.06);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

td {
  color: #283241;
}

.table-subtext {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr.row-highlight td {
  background: #fff4de;
  box-shadow: inset 0 1px 0 #e9bd64, inset 0 -1px 0 #e9bd64;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.empty-row {
  color: var(--muted);
  text-align: center;
}

div.empty-row {
  display: grid;
  gap: 8px;
  place-items: center;
  min-height: 130px;
  border: 1px dashed #cbd9d8;
  border-radius: 8px;
  background: rgba(248, 255, 252, 0.72);
  padding: 18px;
}

div.empty-row::before {
  content: "+";
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eef8f7;
  color: var(--brand-dark);
  font-size: 24px;
  font-weight: 850;
}

.compact-list {
  display: grid;
  gap: 10px;
}

.compact-list-item {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #f8fffc;
  padding: 10px 12px;
}

.compact-list-item span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.compact-list-item small {
  color: var(--muted);
  font-size: 12px;
}

.compact-list-item b {
  white-space: nowrap;
}

.stacked-form {
  display: grid;
  gap: 13px;
}

.stacked-form label {
  display: grid;
  gap: 7px;
  color: #374151;
  font-size: 13px;
  font-weight: 700;
}

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

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.primary-button,
.ghost-button,
.text-button,
.danger-button {
  min-height: 40px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 14px;
  font-weight: 750;
  white-space: nowrap;
}

.primary-button {
  background: var(--brand);
  color: #fff;
}

.link-button {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.compact-link-button {
  min-height: 34px;
}

.primary-button:hover {
  background: var(--brand-dark);
}

.ghost-button {
  background: #fff;
  color: #374151;
  border-color: var(--line);
}

.text-button {
  background: #eef8f7;
  color: var(--brand-dark);
  border-color: #bae2de;
}

.danger-button {
  background: #fff4f1;
  color: var(--danger);
  border-color: #fac2bc;
}

.button-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.button-row .search-input {
  min-width: 180px;
}

.hidden {
  display: none !important;
}

.search-input {
  max-width: 240px;
}

.balance-preview {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  padding: 12px;
  color: var(--muted);
  display: grid;
  align-content: center;
}

.onboarding-panel {
  margin-bottom: 16px;
}

.panel-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.onboarding-checklist {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 10px;
}

.onboarding-step {
  min-height: 86px;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px;
  text-align: left;
}

.onboarding-step span {
  width: fit-content;
  border-radius: 999px;
  background: #fff7df;
  color: var(--warning);
  font-size: 11px;
  font-weight: 850;
  padding: 3px 8px;
}

.onboarding-step.done {
  border-color: #b8decf;
  background: #f3fbf5;
}

.onboarding-step.done span {
  background: #dcfce7;
  color: #166534;
}

.onboarding-step strong {
  font-size: 13px;
  line-height: 1.3;
}

.expense-summary,
.template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.expense-chip,
.template-item {
  min-height: 86px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef7ff;
  padding: 12px;
}

.expense-chip strong,
.template-item h3 {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}

.expense-chip span,
.template-item p {
  color: var(--muted);
  line-height: 1.45;
}

.owner-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.owner-summary-item {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid #cbd9d8;
  border-radius: 8px;
  background: #f8fffc;
  padding: 12px;
}

.owner-summary-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.owner-summary-item strong {
  font-size: 20px;
}

button.owner-summary-item,
button.admin-metric-card {
  width: 100%;
}

.support-list {
  display: grid;
  gap: 12px;
}

.support-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) repeat(3, minmax(130px, 0.8fr));
  gap: 10px;
  margin-bottom: 12px;
}

.support-toolbar label {
  display: grid;
  gap: 6px;
  color: #374151;
  font-size: 12px;
  font-weight: 750;
}

.support-toolbar input,
.support-toolbar select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 11px;
  outline: none;
}

.support-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fffc;
  padding: 12px;
}

.support-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.support-card-title {
  display: grid;
  gap: 4px;
}

.support-card-title strong {
  font-size: 15px;
}

.support-card-title small,
.support-note {
  color: var(--muted);
}

.support-note {
  line-height: 1.45;
}

.ticket-response-history {
  display: grid;
  gap: 8px;
  border-left: 3px solid #bae2de;
  padding-left: 10px;
}

.ticket-response-history div {
  display: grid;
  gap: 3px;
}

.ticket-response-history strong {
  color: var(--ink);
  font-size: 13px;
}

.ticket-response-history span,
.ticket-response-history small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 32, 0.52);
  padding: 18px;
}

.receipt-modal {
  width: min(620px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 26px 80px rgba(24, 32, 42, 0.28);
  padding: 18px;
}

.detail-modal {
  width: min(760px, 100%);
}

.detail-modal-body {
  display: grid;
  gap: 14px;
}

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

.detail-grid div {
  display: grid;
  gap: 5px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #f8fffc;
  padding: 10px 12px;
}

.detail-grid dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.detail-grid dd {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
}

.detail-list {
  display: grid;
  gap: 10px;
}

.detail-list-item {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #f8fffc;
  color: var(--ink);
  padding: 10px 12px;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.detail-list-item:hover,
.detail-list-item:focus-visible {
  border-color: #9ed8c5;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.detail-list-item span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.detail-list-item small {
  color: var(--muted);
  line-height: 1.35;
}

.detail-list-item b {
  white-space: nowrap;
}

.detail-static-item {
  cursor: default;
}

.detail-static-item:hover {
  border-color: #dbe3ec;
  box-shadow: none;
  transform: none;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.receipt-content {
  display: grid;
  gap: 16px;
  border: 1px dashed #b8d8ca;
  border-radius: 8px;
  background: #f8fffc;
  padding: 16px;
  margin-bottom: 14px;
}

.receipt-brand {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #dbe3ec;
  padding-bottom: 12px;
}

.receipt-brand strong {
  font-size: 20px;
}

.receipt-brand span,
.receipt-note {
  color: var(--muted);
}

.receipt-grid {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
  gap: 10px 16px;
}

.receipt-grid span {
  color: var(--muted);
  font-weight: 700;
}

.reminder-list {
  display: grid;
  gap: 12px;
}

.reminder-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f3fbf5;
  padding: 12px;
}

.reminder-main {
  display: grid;
  gap: 5px;
}

.reminder-title {
  font-weight: 800;
}

.reminder-copy {
  color: var(--muted);
  line-height: 1.45;
}

.toast {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 1200;
  min-width: min(280px, calc(100vw - 32px));
  max-width: min(460px, calc(100vw - 32px));
  border-radius: 8px;
  border: 1px solid rgba(52, 125, 115, 0.24);
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
  padding: 12px 16px 12px 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  transform: translate(-50%, -14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: var(--primary);
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

@media (max-width: 1080px) {
  .hero-section,
  .onboarding-demo-section,
  .company-hero,
  .company-split,
  .benefits-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

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

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

  .company-grid,
  .support-center-grid,
  .company-policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landlord-profile-hero {
    grid-template-columns: 1fr;
  }

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

  .preview-shell {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
  }

  .preview-sidebar strong {
    margin-bottom: 0;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }

  .admin-metric-grid {
    grid-template-columns: repeat(3, minmax(160px, 1fr));
  }

  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .admin-month-strip {
    grid-template-columns: 1fr;
  }

  .two-columns,
  .form-layout {
    grid-template-columns: 1fr;
  }

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

  .workflow-animation::before,
  .workflow-pulse {
    display: none;
  }
}

@media (max-width: 760px) {
  .landing-nav {
    position: static;
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    overflow: visible;
  }

  .landing-brand {
    min-width: 0;
  }

  .landing-brand .brand-meta {
    font-size: 11px;
  }

  .landing-links {
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
    overflow: visible;
    gap: 8px;
    padding-bottom: 0;
  }

  .landing-links a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    padding: 0 10px;
    font-size: 12px;
  }

  .landing-links button {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    padding: 28px 16px 44px;
    min-width: 0;
  }

  .hero-copy h1 {
    font-size: 30px;
    line-height: 1.12;
  }

  .hero-copy,
  .hero-copy p {
    min-width: 0;
    max-width: 350px;
  }

  .mock-grid,
  .mock-body,
  .trust-bar,
  .photo-story,
  .feature-grid,
  .workflow-animation,
  .company-grid,
  .company-contact-panel,
  .company-policy-grid,
  .terms-list,
  .support-center-grid,
  .policy-grid,
  .listing-filters,
  .public-listing-grid,
  .landlord-profile-main,
  .landlord-stat-grid,
  .steps-grid,
  .benefit-grid,
  .testimonial-grid,
  .pricing-grid,
  .preview-metrics,
  .preview-panels {
    grid-template-columns: 1fr;
  }

  .photo-story {
    grid-template-rows: none;
  }

  .landing-section {
    padding-block: 64px;
  }

  .trust-bar {
    transform: none;
  }

  .photo-card.large-photo {
    grid-row: auto;
    min-height: 320px;
  }

  .mock-window {
    padding: 10px;
  }

  .floating-card {
    position: static;
    margin-top: 10px;
  }

  .trust-bar,
  .landing-section {
    margin-inline: 16px;
  }

  #features,
  .dashboard-preview,
  .pricing-section {
    margin-inline: 0;
    padding-inline: 16px;
  }

  .support-strip,
  .landing-footer,
  .landing-footer div,
  .landing-footer nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .steps-section {
    margin-inline: 0;
    padding-inline: 16px;
  }

  .onboarding-demo-section {
    margin-inline: 0;
    padding-inline: 16px;
  }

  .company-hero,
  .company-band,
  .company-split,
  .support-center-section {
    margin-inline: 0;
    padding-inline: 16px;
    max-width: 100%;
  }

  .company-page .landing-links {
    align-items: flex-start;
  }

  .company-hero-photo,
  .company-hero-photo img {
    min-height: 320px;
  }

  .company-card,
  .policy-card {
    min-height: auto;
  }

  .demo-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .demo-actions .primary-button,
  .demo-actions .ghost-button {
    width: 100%;
    justify-content: center;
  }

  .walkthrough-video-topbar {
    padding-inline: 14px;
  }

  .walkthrough-stage {
    min-height: 330px;
    padding: 14px;
  }

  .walkthrough-play {
    width: 46px;
    height: 46px;
  }

  .walkthrough-screen {
    left: 14px;
    right: 14px;
    bottom: 16px;
    padding: 14px;
  }

  .workflow-animation {
    gap: 10px;
    padding: 12px;
  }

  .workflow-node {
    min-height: auto;
  }

  .preview-shell {
    min-height: 0;
  }

  .preview-sidebar {
    grid-template-columns: 1fr 1fr;
  }

  .preview-main {
    padding: 14px;
  }

  .featured-price {
    transform: none;
  }

  .app-shell {
    display: block;
  }

  .sidebar {
    display: none;
  }

  .main-panel {
    padding: 16px 16px 92px;
  }

  .topbar {
    display: grid;
  }

  .topbar-actions {
    min-width: 0;
    width: 100%;
    align-items: stretch;
  }

  .topbar-actions select,
  .topbar-actions input,
  .topbar-actions .notification-shell,
  .topbar-actions .ghost-button {
    min-width: 0;
    width: 100%;
  }

  .notification-panel {
    left: 0;
    right: auto;
  }

  .mobile-tabs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(82px, 1fr);
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    overflow-x: auto;
    margin: 0;
    border-top: 1px solid var(--line);
    background: #fffdf8;
    box-shadow: 0 -10px 28px rgba(27, 39, 54, 0.12);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  }

  .mobile-tab {
    min-height: 44px;
    color: #374151;
    background: #fff;
    border-color: var(--line);
    text-align: center;
  }

  .mobile-tab.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
  }

  .metric-grid,
  .daily-ops-grid,
  .dashboard-calendar-summary,
  .subscription-lock-summary,
  .onboarding-checklist,
  .admin-metric-grid,
  .expense-summary,
  .template-grid,
  .owner-summary-grid,
  .chart-summary-grid,
  .analytics-chart-grid {
    grid-template-columns: 1fr;
  }

  .subscription-lock-view.active-view {
    align-content: start;
  }

  .billing-toolbar {
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
  }

  .support-toolbar {
    grid-template-columns: 1fr;
  }

  .billing-filter-select {
    width: 100%;
  }

  .subscription-lock-summary div {
    border-left: 0;
    border-top: 1px solid #dbe3ec;
  }

  .subscription-lock-summary div:first-child {
    border-top: 0;
  }

  .admin-card {
    padding: 14px;
  }

  .admin-month-dates {
    grid-template-columns: 1fr;
  }

  .admin-chart-panel {
    min-height: 220px;
  }

  .bar-chart {
    grid-template-columns: repeat(3, minmax(64px, 1fr));
  }

  .split-fields,
  .detail-grid,
  .reminder-item,
  .activity-item {
    grid-template-columns: 1fr;
  }

  .activity-copy span {
    white-space: normal;
  }

  .panel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .support-card-header {
    display: grid;
  }

  .search-input {
    max-width: none;
  }

  .button-row {
    width: 100%;
  }

  .button-row .search-input {
    flex: 1 1 100%;
  }

  .button-row .primary-button,
  .button-row .ghost-button,
  .button-row .text-button,
  .button-row .danger-button {
    flex: 1 1 auto;
    justify-content: center;
  }
}

@media print {
  body > *:not(.modal-backdrop),
  .receipt-modal .panel-header,
  .receipt-modal .form-actions {
    display: none !important;
  }

  .modal-backdrop {
    position: static;
    display: block !important;
    background: #fff;
    padding: 0;
  }

  .receipt-modal {
    width: 100%;
    max-height: none;
    border: 0;
    box-shadow: none;
  }
}
