/* ─────────── RentBid Design System ─────────── */
:root {
  /* Palette */
  --bg: oklch(0.985 0.005 90);
  --surface: #ffffff;
  --surface-2: oklch(0.975 0.006 90);
  --border: oklch(0.92 0.005 90);
  --border-strong: oklch(0.86 0.005 90);
  --text: oklch(0.22 0.01 80);
  --text-muted: oklch(0.5 0.01 80);
  --text-soft: oklch(0.62 0.008 80);

  /* Brand — deep forest green */
  --brand-900: oklch(0.22 0.04 155);
  --brand-800: oklch(0.28 0.05 155);
  --brand-700: oklch(0.34 0.06 152);
  --brand-600: oklch(0.45 0.1 148);
  --brand-500: oklch(0.55 0.13 146);
  --brand-400: oklch(0.66 0.15 144);
  --brand-50: oklch(0.96 0.025 150);

  /* Accents */
  --accent-amber: oklch(0.72 0.13 75);
  --accent-coral: oklch(0.65 0.16 30);
  --accent-blue: oklch(0.6 0.13 240);

  /* Status */
  --pos: oklch(0.6 0.13 145);
  --neg: oklch(0.6 0.18 25);
  --warn: oklch(0.72 0.14 75);

  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(20, 30, 25, 0.04);
  --shadow-md: 0 4px 14px rgba(20, 30, 25, 0.06), 0 1px 2px rgba(20, 30, 25, 0.04);
  --shadow-lg: 0 18px 40px rgba(20, 30, 25, 0.1), 0 2px 6px rgba(20, 30, 25, 0.05);

  --font-sans: 'Geist', 'Geist Fallback', -apple-system, system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: var(--font-sans); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
button { font-family: inherit; }

/* Dashboard shell */
.dash {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 240px 1fr;
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: -0.005em;
  overflow: hidden;
}
.dash--tenant { grid-template-columns: 240px 1fr; }

/* ─────────── Sidebar ─────────── */
.side {
  background: var(--brand-900);
  color: oklch(0.92 0.01 150);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.side--light {
  background: var(--surface);
  color: var(--text);
  border-right: 1px solid var(--border);
}
.side__deco {
  position: absolute;
  bottom: -60px; left: -40px;
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 1px solid oklch(0.4 0.05 150 / 0.4);
  pointer-events: none;
}
.side__deco::after {
  content: '';
  position: absolute;
  inset: 25px;
  border-radius: 50%;
  border: 1px solid oklch(0.45 0.05 150 / 0.3);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: oklch(0.96 0.01 150);
}
.brand--dark { color: var(--brand-900); }
.brand__mark {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: var(--brand-400);
  color: var(--brand-900);
  display: grid; place-items: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
}

.profile {
  background: oklch(0.26 0.04 150);
  border: 1px solid oklch(0.32 0.04 150);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.profile__row { display: flex; gap: 10px; align-items: center; }
.profile__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, oklch(0.65 0.08 50), oklch(0.55 0.1 30));
  border: 2px solid oklch(0.4 0.05 150);
  display: grid; place-items: center;
  color: white;
  font-weight: 600;
  font-size: 13px;
}
.profile__name { font-weight: 600; color: oklch(0.97 0.005 90); font-size: 13px; }
.profile__role { font-size: 11px; color: oklch(0.75 0.02 150); letter-spacing: 0.02em; text-transform: uppercase; }

.score-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; padding-top: 4px;
}
.score-card__label { font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: oklch(0.75 0.02 150); }
.score-ring { position: relative; width: 86px; height: 86px; }
.score-ring__num { position: absolute; inset: 0; display: grid; place-items: center; flex-direction: column; font-family: var(--font-serif); font-size: 26px; color: oklch(0.97 0.01 150); line-height: 1; }
.score-ring__num small { font-family: var(--font-sans); font-size: 10px; color: oklch(0.72 0.02 150); margin-top: 2px; display: block; }
.score-ring__pct { display:flex; flex-direction:column; align-items:center; gap:2px; }
.score-card__tier { font-size: 11.5px; color: var(--brand-400); font-weight: 600; }
.score-card__rank { font-size: 10.5px; color: oklch(0.75 0.02 150); display: flex; gap: 4px; align-items: center; }

/* Nav */
.nav { display: flex; flex-direction: column; gap: 2px; position: relative; z-index: 1; }
.nav__item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  color: oklch(0.82 0.01 150);
  font-size: 13px;
  cursor: pointer;
  border: none;
  background: transparent;
  text-align: left;
  width: 100%;
  transition: background 0.12s, color 0.12s;
}
.nav__item:hover { background: oklch(0.28 0.04 150); color: oklch(0.97 0.005 90); }
.nav__item--active { background: oklch(0.32 0.05 150); color: oklch(0.97 0.005 90); font-weight: 500; }
.nav__item--active::before {
  content: '';
  width: 3px; height: 14px;
  background: var(--brand-400);
  border-radius: 3px;
  margin-left: -10px;
  margin-right: 2px;
}
.nav__badge {
  margin-left: auto;
  background: var(--brand-500);
  color: oklch(0.15 0.02 150);
  font-size: 10.5px;
  padding: 1px 6px;
  border-radius: 20px;
  font-weight: 600;
}

/* Light side variant */
.side--light .nav__item { color: var(--text-muted); }
.side--light .nav__item:hover { background: var(--surface-2); color: var(--text); }
.side--light .nav__item--active { background: var(--brand-50); color: var(--brand-800); }
.side--light .nav__item--active::before { background: var(--brand-700); }
.side--light .nav__badge { background: var(--brand-700); color: white; }

.upgrade {
  margin-top: auto;
  background: oklch(0.26 0.04 150);
  border: 1px solid oklch(0.32 0.04 150);
  border-radius: 12px;
  padding: 12px 12px 14px;
  position: relative;
  z-index: 1;
}
.upgrade__title { font-weight: 600; color: oklch(0.97 0.005 90); font-size: 13px; margin-bottom: 4px; }
.upgrade__desc { font-size: 11.5px; color: oklch(0.75 0.02 150); margin-bottom: 10px; line-height: 1.4; }
.upgrade__btn {
  width: 100%; padding: 8px;
  background: var(--brand-400);
  border: none;
  color: var(--brand-900);
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.upgrade__btn:hover { background: var(--brand-500); color: oklch(0.15 0.02 150); }

/* ─────────── Main ─────────── */
.main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
}

.topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.topbar__title { font-family: var(--font-serif); font-size: 26px; letter-spacing: -0.01em; color: var(--text); margin: 0; }
.topbar__spacer { flex: 1; }
.topbar__icon-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid; place-items: center;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
}
.topbar__icon-btn:hover { background: var(--surface-2); }
.topbar__icon-btn .dot {
  position: absolute; top: 6px; right: 6px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-coral); border: 2px solid var(--surface);
}

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: all 0.12s;
}
.btn:hover { background: var(--surface-2); }
.btn--primary {
  background: var(--brand-700);
  color: white;
  border-color: var(--brand-700);
}
.btn--primary:hover { background: var(--brand-800); }
.btn--ghost { border: none; background: transparent; padding: 4px 8px; }
.btn--sm { padding: 5px 10px; font-size: 11.5px; }

.scroll-area {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px 22px;
  display: grid;
  gap: 16px;
}

/* ─────────── KPI ─────────── */
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex; flex-direction: column;
  gap: 4px;
  position: relative;
  overflow: hidden;
}
.kpi__label { font-size: 11.5px; color: var(--text-muted); letter-spacing: 0.02em; }
.kpi__value { font-family: var(--font-serif); font-size: 30px; line-height: 1.1; color: var(--text); letter-spacing: -0.02em; }
.kpi__sub { font-size: 11px; color: var(--text-soft); display: flex; align-items: center; gap: 4px; }
.kpi__trend { font-weight: 600; }
.kpi__trend--up { color: var(--pos); }
.kpi__trend--down { color: var(--neg); }

/* ─────────── Card ─────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.card__head {
  padding: 14px 16px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.card__title { font-size: 14px; font-weight: 600; letter-spacing: -0.005em; margin: 0; }
.card__sub { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }
.card__link { font-size: 12px; color: var(--brand-700); font-weight: 500; cursor: pointer; }
.card__link:hover { text-decoration: underline; }
.card__body { padding: 0 16px 16px; }
.card__body--flush { padding: 0; }

/* ─────────── Featured offer ─────────── */
.pending {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
}
.pending__hero {
  padding: 14px 16px 16px;
  border-right: 1px solid var(--border);
}
.pending__photo {
  width: 100%; aspect-ratio: 4/3;
  border-radius: 10px;
  background: linear-gradient(135deg, oklch(0.85 0.02 200), oklch(0.75 0.03 220));
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}
.pending__photo .photo-label {
  position: absolute; bottom: 8px; left: 8px;
  background: oklch(0.2 0.01 80 / 0.55);
  color: white;
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
}
.pending__addr { font-weight: 600; font-size: 14px; }
.pending__city { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.pending__meta { font-size: 11.5px; color: var(--text-muted); margin-top: 6px; }
.pending__price { font-family: var(--font-serif); font-size: 22px; color: var(--text); margin-top: 4px; letter-spacing: -0.01em; }
.pending__price small { font-family: var(--font-sans); font-size: 12px; color: var(--text-muted); }

.applicants {
  padding: 0;
  display: grid;
  grid-template-rows: auto 1fr;
}
.applicants__head, .applicants__row {
  display: grid;
  grid-template-columns: 32px 1fr 90px 70px 90px 20px;
  gap: 10px;
  align-items: center;
  padding: 10px 16px;
}
.applicants__head {
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}
.applicants__row {
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.1s;
}
.applicants__row:last-child { border-bottom: none; }
.applicants__row:hover { background: var(--surface-2); }
.applicants__rank {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 600;
  color: var(--text-muted);
}
.applicants__row--top .applicants__rank {
  background: var(--brand-50);
  border-color: var(--brand-500);
  color: var(--brand-800);
}
.applicants__person { display: flex; align-items: center; gap: 8px; }
.applicants__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.applicants__name { font-size: 12.5px; font-weight: 500; }
.applicants__amount { font-size: 12.5px; font-variant-numeric: tabular-nums; }
.applicants__date { font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums; }

.score-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.score-pill--high { background: oklch(0.94 0.04 145); color: oklch(0.4 0.13 145); }
.score-pill--mid { background: oklch(0.95 0.04 90); color: oklch(0.45 0.13 70); }
.score-pill--low { background: oklch(0.95 0.04 30); color: oklch(0.5 0.15 25); }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge--active { background: oklch(0.94 0.04 145); color: oklch(0.4 0.13 145); }
.badge--new { background: oklch(0.93 0.05 240); color: oklch(0.4 0.15 240); }
.badge--hot { background: oklch(0.94 0.05 30); color: oklch(0.5 0.16 30); }
.badge--draft { background: var(--surface-2); color: var(--text-muted); }

/* ─────────── Two-col layout ─────────── */
.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cols--1-2 { grid-template-columns: 1fr 1.5fr; }
.cols--2-1 { grid-template-columns: 1.5fr 1fr; }

/* Activity feed */
.activity {
  display: flex;
  flex-direction: column;
}
.activity__item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.activity__item:last-child { border-bottom: none; }
.activity__dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  display: grid; place-items: center;
  color: var(--text-muted);
  margin-top: 1px;
}
.activity__text { font-size: 12.5px; line-height: 1.4; }
.activity__time { font-size: 11px; color: var(--text-soft); margin-top: 2px; }

/* Property list */
.proplist__item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  padding: 10px 16px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.1s;
}
.proplist__item:hover { background: var(--surface-2); }
.proplist__item:last-child { border-bottom: none; }
.proplist__thumb {
  width: 48px; height: 38px;
  border-radius: 6px;
  background: linear-gradient(135deg, oklch(0.85 0.02 200), oklch(0.75 0.03 220));
  position: relative;
  overflow: hidden;
}
.proplist__thumb--2 { background: linear-gradient(135deg, oklch(0.83 0.03 60), oklch(0.74 0.04 40)); }
.proplist__thumb--3 { background: linear-gradient(135deg, oklch(0.84 0.025 140), oklch(0.72 0.035 160)); }
.proplist__thumb--4 { background: linear-gradient(135deg, oklch(0.85 0.02 280), oklch(0.75 0.03 300)); }
.proplist__addr { font-size: 12.5px; font-weight: 500; }
.proplist__sub { font-size: 11.5px; color: var(--text-muted); margin-top: 1px; }

/* Chart */
.chart {
  padding: 0 16px 16px;
}
.chart__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 12px;
}
.chart__stat { display: flex; flex-direction: column; gap: 2px; }
.chart__stat-label { font-size: 11px; color: var(--text-muted); }
.chart__stat-value { font-family: var(--font-serif); font-size: 22px; letter-spacing: -0.01em; }
.chart__stat-trend { font-size: 11px; color: var(--text-soft); }
.chart__svg { width: 100%; height: 80px; }

/* ─────────── Tenant: Search ─────────── */
.search-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
}
.search-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex; flex-direction: column;
  gap: 12px;
}
.search-box__title { font-family: var(--font-serif); font-size: 22px; letter-spacing: -0.01em; }
.search-input {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
}
.search-input input {
  flex: 1; border: none; outline: none;
  font: inherit;
  background: transparent;
  font-size: 13px;
}
.search-input input::placeholder { color: var(--text-soft); }
.search-input__btn {
  background: var(--brand-700);
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}
.filters {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.filter-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 11.5px;
  color: var(--text-muted);
  cursor: pointer;
}
.filter-chip:hover { background: var(--surface-2); color: var(--text); }
.filter-chip--on {
  background: var(--brand-50);
  border-color: var(--brand-500);
  color: var(--brand-800);
}

.tagline-card {
  background: var(--brand-900);
  color: oklch(0.92 0.01 150);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.tagline-card__heading {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: oklch(0.97 0.005 90);
}
.tagline-card__heading em { font-style: italic; color: var(--brand-400); }
.tagline-card__sub { font-size: 11.5px; color: oklch(0.75 0.02 150); margin-top: 6px; line-height: 1.45; max-width: 90%;}
.tagline-card__deco {
  position: absolute;
  right: -40px; top: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 1px solid oklch(0.4 0.05 150 / 0.5);
}
.tagline-card__deco::after {
  content: '';
  position: absolute; inset: 18px;
  border-radius: 50%;
  border: 1px solid oklch(0.45 0.05 150 / 0.4);
}

/* Recommendations */
.recs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.rec-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.rec-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.rec-card__photo {
  aspect-ratio: 5/3;
  position: relative;
  overflow: hidden;
}
.rec-card__photo .photo-label {
  position: absolute; bottom: 8px; left: 8px;
  background: oklch(0.2 0.01 80 / 0.55);
  color: white;
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
}
.rec-card__heart {
  position: absolute; top: 8px; right: 8px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: oklch(1 0 0 / 0.92);
  display: grid; place-items: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.12s;
}
.rec-card__heart:hover { color: var(--accent-coral); transform: scale(1.05); }
.rec-card__heart--on { color: var(--accent-coral); }
.rec-card__body { padding: 10px 12px 12px; }
.rec-card__addr { font-size: 13px; font-weight: 600; display: flex; justify-content: space-between; align-items: start; gap: 6px; }
.rec-card__city { font-size: 11.5px; color: var(--text-muted); margin-top: 1px; }
.rec-card__meta { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.rec-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.rec-card__price { font-family: var(--font-serif); font-size: 18px; letter-spacing: -0.01em; }
.rec-card__price small { font-family: var(--font-sans); font-size: 11px; color: var(--text-muted); }

/* Photo gradients */
.ph-1 { background: linear-gradient(135deg, oklch(0.78 0.04 220) 0%, oklch(0.62 0.06 240) 100%); }
.ph-2 { background: linear-gradient(135deg, oklch(0.82 0.05 60) 0%, oklch(0.7 0.07 30) 100%); }
.ph-3 { background: linear-gradient(135deg, oklch(0.78 0.04 140) 0%, oklch(0.62 0.06 160) 100%); }
.ph-4 { background: linear-gradient(135deg, oklch(0.82 0.04 280) 0%, oklch(0.68 0.06 300) 100%); }
.ph-5 { background: linear-gradient(135deg, oklch(0.84 0.025 90) 0%, oklch(0.7 0.04 70) 100%); }
.ph-6 { background: linear-gradient(135deg, oklch(0.78 0.04 200) 0%, oklch(0.65 0.06 180) 100%); }
.ph-pattern {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, oklch(1 0 0 / 0.04) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(-45deg, oklch(0 0 0 / 0.03) 0 1px, transparent 1px 14px);
}

/* Score panel (tenant) */
.tscore {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tscore__ring-row { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; }
.tscore__num {
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.tscore__num small { font-family: var(--font-sans); font-size: 12px; color: var(--text-muted); }
.tscore__tier { font-size: 12.5px; color: var(--brand-700); font-weight: 600; }
.tscore__rank { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.tscore__help { font-size: 11.5px; color: var(--brand-700); margin-top: 10px; cursor: pointer; }

.profile-meter {
  background: var(--surface-2);
  border-radius: 10px;
  padding: 12px;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
}
.profile-meter__bar {
  height: 6px;
  background: var(--border);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.profile-meter__fill {
  position: absolute; inset: 0;
  background: var(--brand-600);
  border-radius: 4px;
  transform-origin: left;
}
.profile-meter__pct {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1;
}
.profile-meter__text { font-size: 11.5px; line-height: 1.4; }
.profile-meter__text strong { font-weight: 600; display: block; font-size: 12.5px; }
.profile-meter__btn {
  background: var(--brand-700);
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

/* Tenant applications */
.apps-row {
  display: grid;
  grid-template-columns: 48px 1fr 130px 90px 80px;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.1s;
}
.apps-row:last-child { border-bottom: none; }
.apps-row:hover { background: var(--surface-2); }
.apps-row__thumb {
  width: 48px; height: 38px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.apps-row__addr { font-size: 12.5px; font-weight: 500; }
.apps-row__city { font-size: 11.5px; color: var(--text-muted); }
.apps-row__status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px;
  font-weight: 500;
}
.apps-row__status::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
}
.apps-row__status--submitted { color: var(--accent-amber); }
.apps-row__status--submitted::before { background: var(--accent-amber); }
.apps-row__status--sent { color: var(--accent-blue); }
.apps-row__status--sent::before { background: var(--accent-blue); }
.apps-row__status--tour { color: var(--brand-700); }
.apps-row__status--tour::before { background: var(--brand-700); }
.apps-row__status--rejected { color: var(--text-soft); }
.apps-row__status--rejected::before { background: var(--text-soft); }
.apps-row__date { font-size: 11.5px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.apps-row__btn {
  padding: 5px 12px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  border-radius: 6px;
  font-size: 11.5px;
  cursor: pointer;
}
.apps-row__btn:hover { background: var(--surface-2); }
.apps-row__btn--primary {
  background: var(--brand-700);
  color: white;
  border-color: var(--brand-700);
}

/* What's new */
.notice {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.notice:last-child { border-bottom: none; }
.notice__icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--brand-50);
  color: var(--brand-700);
  display: grid; place-items: center;
}
.notice__title { font-size: 12.5px; font-weight: 600; }
.notice__sub { font-size: 11.5px; color: var(--text-muted); line-height: 1.4; }
.notice__action { font-size: 12px; color: var(--brand-700); font-weight: 500; cursor: pointer; white-space: nowrap; }

/* Icons */
.ic { width: 16px; height: 16px; flex-shrink: 0; }
.ic--sm { width: 14px; height: 14px; }
.ic--lg { width: 20px; height: 20px; }
.ic--xl { width: 22px; height: 22px; }

/* Tabs */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
  margin-bottom: 0;
}
.tab {
  padding: 8px 12px;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: transparent;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab--on { color: var(--brand-700); border-bottom-color: var(--brand-700); font-weight: 500; }
.tab:hover { color: var(--text); }

/* Density */
body.density-compact .scroll-area { gap: 12px; padding: 14px 18px; }
body.density-compact .kpi { padding: 10px 12px; }
body.density-compact .kpi__value { font-size: 26px; }
body.density-compact .activity__item,
body.density-compact .apps-row,
body.density-compact .proplist__item,
body.density-compact .applicants__row { padding-top: 7px; padding-bottom: 7px; }
body.density-compact .pending__photo { aspect-ratio: 16/10; }

/* Scrollbar */
.scroll-area::-webkit-scrollbar { width: 8px; }
.scroll-area::-webkit-scrollbar-thumb { background: oklch(0.85 0.01 90); border-radius: 4px; }
.scroll-area::-webkit-scrollbar-track { background: transparent; }
