/* ============================================================
   Lokaaro — Teal + Compass Gold Theme
   Lokaaro Home Services
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --brand: #1f706d;
  --brand-dark: #155854;
  --brand-deep: #0f3f3d;
  --brand-soft: #e6f4f2;
  --brand-muted: #b8d9d4;
  --brand-contrast: #f1faf8;

  --gold: #f0c75e;
  --gold-dark: #a97922;
  --gold-soft: #fff4d6;
  --gold-muted: #ead28b;

  --ink: #1a2332;
  --ink-soft: #2d3f55;
  --muted: #5b6b80;
  --muted-light: #8a97a8;

  --surface: #ffffff;
  --surface-alt: #f4f6fb;
  --surface-hover: #eef2fa;
  --border: #d6dde8;
  --border-soft: #e8edf5;

  --green: #1b7a4e;
  --green-soft: #e6f4ed;
  --teal: #2f8f83;
  --teal-soft: #e6f4f2;
  --clay: #b86b4b;
  --clay-soft: #faeee9;
  --plum: #715c91;
  --plum-soft: #f0edf7;
  --sky: #2f6f9f;
  --sky-soft: #e8f2f8;
  --red: #c0392b;
  --red-soft: #fde8e8;
  --orange: #e67e22;
  --orange-soft: #fdf0e0;

  --shadow-sm: 0 1px 4px rgba(31,112,109,.08);
  --shadow-md: 0 3px 12px rgba(31,112,109,.12);
  --shadow-lg: 0 8px 32px rgba(31,112,109,.16);
  --shadow-card: 0 2px 8px rgba(31,112,109,.10), 0 0 0 1px var(--border-soft);

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

  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Space Grotesk', 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;

  --tier-bronze: #a0522d;
  --tier-silver: #607080;
  --tier-gold: #c9a227;
  --tier-platinum: #6a5acd;
}

/* --- Base Reset --- */
*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(212,168,83,.07) 0%, transparent 38%),
    radial-gradient(circle at 88% 12%, rgba(31,112,109,.06) 0%, transparent 38%),
    #f7fbfa;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 .5rem;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1rem; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   Navigation
   ============================================================ */
.navbar {
  background: rgba(255,255,255,.92) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(0,0,0,.07);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-brand {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink) !important;
  letter-spacing: 0;
  padding: .75rem 0;
}

.navbar-brand .brand-dot { color: var(--brand); }

.navbar-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
}

.navbar-brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
}

.navbar-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.navbar-brand-name {
  color: var(--brand);
}

.navbar-brand-location {
  margin-top: .18rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
}

.navbar .nav-link {
  color: var(--ink-soft) !important;
  font-weight: 500;
  font-size: .9rem;
  padding: .75rem .85rem !important;
  transition: color .2s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--brand-deep) !important; }

.navbar .btn-nav-cta {
  background: var(--gold);
  color: #1a1200 !important;
  border-radius: 8px;
  padding: .55rem 1.25rem !important;
  font-weight: 700;
  font-size: .875rem;
  margin-left: .75rem;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}

.navbar .btn-nav-cta:hover { background: var(--gold-muted); transform: translateY(-1px); }

.navbar-toggler { border-color: var(--border) !important; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(26,35,50,.6)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background: transparent;
  color: var(--ink);
  padding: 72px 0 64px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--ink);
  margin-bottom: .75rem;
}

.hero h1 .highlight { color: var(--brand); }

.hero p.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: .4rem .9rem;
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-radius: 999px;
  font-weight: 600;
  font-size: .875rem;
  margin-bottom: 1rem;
}

.search-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(31,112,109,.12);
}

.search-card .form-control,
.search-card .form-select {
  border: 1.5px solid var(--border-soft);
  background: var(--surface-alt);
}

.search-card .form-control:focus,
.search-card .form-select:focus {
  background: var(--surface);
}

.search-card .btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-size: 1rem;
  border-radius: var(--radius-lg);
  min-height: 52px;
}

.search-card .btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: none; }

/* Hero Panel */
.hero-panel {
  background: linear-gradient(140deg, rgba(31,112,109,.08), rgba(240,199,94,.16));
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(31,112,109,.1);
  border: 1px solid rgba(31,112,109,.08);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: .875rem;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.panel-stat {
  color: var(--brand);
  background: var(--brand-soft);
  padding: .2rem .75rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
}

.panel-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.panel-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border-radius: 12px;
  color: var(--brand);
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(31,112,109,.1);
}

.panel-item h6 {
  margin: 0 0 .2rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-body);
}

.panel-item p {
  margin: 0;
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.4;
}

.panel-stats {
  display: flex;
  border-top: 1px solid rgba(31,112,109,.1);
  padding-top: 1.25rem;
  margin-top: .5rem;
}

.ps-item {
  flex: 1;
  text-align: center;
  border-right: 1px solid rgba(31,112,109,.1);
}

.ps-item:last-child { border-right: none; }

.ps-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}

.ps-lbl {
  display: block;
  font-size: .7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .25rem;
}

/* Keep hero-search for navbar search */
.hero-search { max-width: 700px; margin: 0 auto; }
.hero-search .input-group { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,.2); }
.hero-search input { border: none; padding: 1rem 1.25rem; font-size: 1rem; height: 56px; flex: 1; }
.hero-search input:focus { box-shadow: none; outline: none; }
.hero-search .btn-search { background: var(--gold); color: var(--brand-dark); border: none; padding: 0 1.75rem; font-weight: 700; font-size: 1rem; height: 56px; white-space: nowrap; transition: background .2s; }
.hero-search .btn-search:hover { background: var(--gold-dark); color: #fff; }

/* ============================================================
   Section Labels
   ============================================================ */
.section-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: .5rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ink);
}

/* ============================================================
   Directory Shell
   ============================================================ */
.directory-shell {
  min-height: 80vh;
  padding: 2.5rem 0 4rem;
  background:
    radial-gradient(circle at top left, rgba(240, 199, 94, .10), transparent 28%),
    linear-gradient(180deg, #f8faf8 0%, #f3f7fb 48%, #f8fbff 100%);
}

.directory-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.4rem;
}

.directory-page-copy {
  max-width: 760px;
}

.directory-page-title {
  margin-bottom: .7rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.02em;
}

.directory-page-lead {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.directory-page-stat {
  min-width: 168px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(31, 112, 109, .10);
  border-radius: 20px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 16px 40px rgba(26, 35, 50, .05);
  text-align: left;
}

.directory-page-stat strong {
  display: block;
  color: var(--brand-deep);
  font-family: var(--font-head);
  font-size: 2rem;
  line-height: 1;
}

.directory-page-stat span {
  display: block;
  margin-top: .35rem;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.directory-active-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1.6rem;
}

.directory-city-switcher {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1.5rem;
}

.directory-city-pills {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: .15rem;
  scrollbar-width: none;
}

.directory-city-pills::-webkit-scrollbar {
  display: none;
}

.directory-city-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 40px;
  padding: .55rem .9rem;
  border: 1px solid rgba(31, 112, 109, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: var(--ink-soft);
  font-size: .84rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(26, 35, 50, .04);
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.directory-city-pill:hover {
  color: var(--brand);
  border-color: rgba(31, 112, 109, .26);
  background: #fff;
  transform: translateY(-1px);
}

.directory-city-pill.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 12px 28px rgba(31, 112, 109, .16);
}

.directory-chip-label {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.directory-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .8rem;
  border: 1px solid rgba(31, 112, 109, .10);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: var(--ink-soft);
  font-size: .83rem;
  font-weight: 600;
}

.directory-filter-chip i {
  color: var(--brand);
  font-size: .76rem;
}

.directory-clear-link {
  margin-left: .2rem;
  color: var(--brand-dark);
  font-size: .84rem;
  font-weight: 700;
}

.directory-layout {
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.directory-sidebar {
  position: sticky;
  top: 92px;
}

.directory-filter-panel {
  padding: 1.25rem;
  border: 1px solid rgba(31, 112, 109, .10);
  border-radius: 26px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 20px 50px rgba(26, 35, 50, .05);
  backdrop-filter: blur(8px);
}

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

.directory-panel-kicker {
  display: inline-block;
  margin-bottom: .35rem;
  color: var(--brand);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.directory-panel-head h2 {
  margin: 0;
  font-size: 1.3rem;
}

.directory-panel-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(31,112,109,.10), rgba(240,199,94,.16));
  color: var(--brand);
  font-size: 1rem;
  flex: 0 0 auto;
}

.directory-panel-copy {
  margin: .8rem 0 1.15rem;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.65;
}

.directory-filter-form {
  display: grid;
  gap: .95rem;
}

.directory-form-group {
  display: grid;
  gap: .4rem;
}

.directory-filter-form .form-select,
.directory-filter-form .form-control {
  min-height: 50px;
  border: 1px solid rgba(31, 112, 109, .12);
  border-radius: 14px;
  background: #fbfdfd;
  box-shadow: none;
}

.directory-filter-form .form-select:focus,
.directory-filter-form .form-control:focus {
  border-color: rgba(31, 112, 109, .32);
  box-shadow: 0 0 0 4px rgba(31, 112, 109, .08);
  background: #fff;
}

.directory-filter-form .btn {
  min-height: 48px;
  border-radius: 14px;
  font-weight: 700;
}

.directory-panel-note {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(31, 112, 109, .10);
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.6;
}

.directory-panel-note i {
  margin-top: .15rem;
  color: var(--brand);
}

.directory-results {
  min-width: 0;
}

.directory-results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  padding: 0 .1rem;
}

.directory-results-kicker {
  display: inline-block;
  margin-bottom: .35rem;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.directory-results-head h2 {
  margin: 0;
  font-size: 1.45rem;
}

.directory-results-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .45rem .8rem;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
}

.directory-results-meta span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.directory-results-meta span:not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  margin-left: .45rem;
  border-radius: 999px;
  background: rgba(91, 107, 128, .35);
}

.directory-empty-state {
  padding: 3rem 1.5rem;
  border: 1px solid rgba(31, 112, 109, .10);
  border-radius: 28px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 20px 50px rgba(26, 35, 50, .05);
  text-align: center;
}

.directory-empty-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 1rem;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(31,112,109,.10), rgba(240,199,94,.14));
  color: var(--brand);
  font-size: 1.35rem;
}

.directory-empty-state h3 {
  margin-bottom: .6rem;
  font-size: 1.45rem;
}

.directory-empty-state p {
  max-width: 500px;
  margin: 0 auto 1.2rem;
  color: var(--muted);
}

.directory-pagination-wrap {
  margin-top: 2rem;
}

/* ============================================================
   Category Grid
   ============================================================ */
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-soft);
  color: inherit;
}

.category-card .icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--brand);
  font-size: 1.5rem;
  transition: background .2s, color .2s;
}

.category-card:hover .icon-wrap { background: var(--brand); color: #fff; }
.category-card .cat-name { font-weight: 600; font-size: .95rem; color: var(--ink); margin-bottom: .25rem; }
.category-card .cat-count { font-size: .8rem; color: var(--muted-light); }

/* ============================================================
   Business Cards
   ============================================================ */
.business-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

/* ── Business card ─────────────────────────────────────────── */
.pro-card {
  border: 1px solid rgba(31, 112, 109, .12);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(26, 35, 50, .07);
  display: flex;
  flex-direction: column;
  min-height: 360px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.pro-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26, 35, 50, .11);
}

.pro-card-body {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  flex: 1;
  padding: 1.2rem 1.2rem .95rem;
}

/* 1. Identity row */
.pro-card-top {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}

.pro-avatar {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-soft), var(--gold-soft));
  color: var(--brand);
  font-size: 1.4rem;
  font-weight: 800;
  text-decoration: none;
  border: 1.5px solid rgba(31, 112, 109, .13);
}

.pro-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pro-card-identity {
  flex: 1;
  min-width: 0;
  padding-top: .05rem;
}

.pro-card-name {
  margin: 0 0 .2rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.22;
  display: flex;
  align-items: baseline;
  gap: .35rem;
  flex-wrap: wrap;
}

.pro-card-name a { color: var(--ink); text-decoration: none; }
.pro-card-name a:hover { color: var(--brand); }

/* Badge: only one shown (founding > claimed) */
.pro-card-badge {
  display: inline-block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: .1em .4em;
  white-space: nowrap;
  flex-shrink: 0;
  vertical-align: middle;
}

.pro-card-badge--founding {
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent);
}

.pro-card-badge--claimed {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

/* 2. Primary metadata line */
.pro-card-primary-meta {
  font-size: .82rem;
  font-weight: 700;
  color: #70839b;
  margin-bottom: .28rem;
  line-height: 1.35;
  text-wrap: pretty;
}

.pro-meta-sep {
  color: #cbd5e1;
  margin: 0 .2rem;
}

/* 3. Secondary trust row — plain text, max 3 items */
.pro-card-trust {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex-wrap: wrap;
  font-size: .8rem;
  line-height: 1.4;
}

.pro-trust-hours--open        { color: var(--green); font-weight: 700; }
.pro-trust-hours--closed      { color: #b91c1c; font-weight: 700; }
.pro-trust-hours--appointment { color: var(--gold-dark); font-weight: 700; }
.pro-trust-hours--unknown     { color: var(--muted); font-weight: 600; }

.pro-trust-sep { color: #cbd5e1; margin: 0 .1rem; }

.pro-trust-rating {
  font-weight: 700;
  color: #0f172a;
}

.pro-trust-rating .fa-star { color: #f59e0b; font-size: .7rem; }

.pro-trust-reviews { color: #64748b; font-weight: 500; }

.pro-trust-claimed {
  color: var(--brand);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .2rem;
}

.pro-trust-claimed i { font-size: .72rem; }

.pro-card-proof {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  min-height: 31px;
}

.pro-proof-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .34rem .62rem;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--border-soft);
  color: var(--muted);
  font-size: .73rem;
  font-weight: 600;
  line-height: 1;
}

.pro-proof-chip i {
  color: var(--muted-light);
  font-size: .7rem;
}

.pro-proof-chip--muted {
  background: rgba(112, 131, 155, .08);
  color: #70839b;
}

.pro-proof-chip--muted i {
  color: #94a3b8;
}

.pro-proof-chip--licensed {
  background: rgba(5, 150, 105, .08);
  border-color: rgba(5, 150, 105, .25);
  color: #047857;
  font-weight: 500;
}

.pro-proof-chip--licensed i {
  color: #059669;
}

.pro-card-summary {
  flex: 1;
  min-height: 74px;
}

/* 4. Summary block — 3-line clamp, space reserved */
.pro-card-description {
  margin: 0;
  color: #52657d;
  font-size: .875rem;
  line-height: 1.62;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-wrap: pretty;
}

.pro-card-description--fallback {
  color: #7f90a2;
}

/* 5. Actions row — both buttons equal full-width */
.pro-card-actions {
  display: flex;
  gap: .5rem;
  padding-top: .8rem;
  border-top: 1px solid var(--border-soft);
}

.pro-card-actions .btn {
  flex: 1;
  font-size: .84rem;
  padding: .5rem .6rem;
  white-space: nowrap;
  min-height: 44px;
  justify-content: center;
}

/* 6. Utility footer */
.pro-card-footer {
  padding: .4rem 1.25rem;
  border-top: 1px solid var(--border-soft);
  font-size: .74rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.pro-footer-views {
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: .3rem;
}

.pro-footer-claim {
  color: #64748b;
  font-weight: 500;
  text-decoration: none;
}

.pro-footer-claim:hover { color: var(--brand); text-decoration: underline; }

/* Keep hours-pill for profile page use */
.hours-pill {
  display: inline-flex;
  align-items: center;
  padding: .13rem .55rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .67rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}
.hours-pill.open        { background: var(--green-soft); color: var(--green); }
.hours-pill.closed      { background: #fee2e2; color: #b91c1c; }
.hours-pill.appointment { background: var(--gold-soft); color: var(--gold-dark); }
.hours-pill.unknown     { background: #f1f5f9; color: var(--muted); }

.badge-founding {
  display: inline-block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft, #eef4ff);
  border: 1px solid var(--brand-border, #c8daff);
  border-radius: 4px;
  padding: .15em .45em;
  line-height: 1.4;
  white-space: nowrap;
  flex-shrink: 0;
}

.directory-card {
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 24px rgba(31, 42, 48, 0.05);
}

.directory-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand-soft), var(--gold-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.directory-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.directory-heading {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .3rem;
}

.directory-name {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
}

.directory-name a {
  color: var(--ink);
  text-decoration: none;
}

.directory-name a:hover { color: var(--brand); }

.directory-verified {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .5rem;
  border-radius: 999px;
  background: rgba(6, 133, 123, 0.08);
  color: var(--brand-deep);
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.directory-verified i {
  font-size: .75rem;
}

.directory-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .65rem;
  color: var(--muted);
  font-size: .8rem;
}

.directory-meta span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.directory-meta span:not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(91, 103, 112, 0.35);
  margin-left: .65rem;
}

.directory-rating {
  display: flex;
  align-items: center;
  min-height: 30px;
}

.directory-feedback-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .65rem;
  border-radius: 999px;
  background: rgba(4, 130, 136, 0.08);
  color: var(--ink);
  font-size: .8rem;
  font-weight: 600;
}

.directory-feedback-chip i {
  color: #d3a11b;
  font-size: .78rem;
}

.directory-feedback-chip.is-muted {
  background: rgba(91, 103, 112, 0.08);
  color: var(--muted);
}

.review-count {
  color: var(--muted);
  font-weight: 500;
}

.directory-description {
  font-size: .9rem;
  line-height: 1.55;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.directory-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.directory-actions .btn {
  min-width: 132px;
}

.directory-call-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
}

.directory-call-link:hover {
  color: var(--brand);
}

.business-card .card-logo {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--brand-soft);
  flex-shrink: 0;
}

.business-card .card-logo-placeholder {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand-soft), var(--gold-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.business-card .card-body { padding: 1.25rem; flex: 1; }

.business-card .card-footer {
  padding: .875rem 1.25rem;
  background: var(--surface-alt);
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: .75rem;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.rank-badge.rank-1 { background: var(--gold); color: var(--brand-dark); }
.rank-badge.rank-2 { background: #9ba0ab; }
.rank-badge.rank-3 { background: #a0522d; }

/* ============================================================
   Stars & Ratings
   ============================================================ */
.stars {
  color: var(--gold);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

.stars .empty { color: #dce1e9; }

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--gold-soft);
  color: var(--gold-dark);
  border-radius: 20px;
  padding: .2rem .65rem;
  font-size: .8rem;
  font-weight: 700;
}

.review-count { font-size: .8rem; color: var(--muted); }

/* ============================================================
   Badges & Pills
   ============================================================ */
.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid #b8e0cd;
  border-radius: 20px;
  padding: .2rem .7rem;
  font-size: .75rem;
  font-weight: 700;
}

.badge-pro {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: linear-gradient(135deg, var(--gold-soft), #fde8b0);
  color: var(--gold-dark);
  border: 1px solid var(--gold-muted);
  border-radius: 20px;
  padding: .2rem .7rem;
  font-size: .75rem;
  font-weight: 700;
}

.badge-featured {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: linear-gradient(135deg, #ede8f8, #ddd5f5);
  color: #6a5acd;
  border: 1px solid #c8b8f0;
  border-radius: 20px;
  padding: .2rem .7rem;
  font-size: .75rem;
  font-weight: 700;
}

.status-pill {
  display: inline-block;
  border-radius: 20px;
  padding: .2rem .65rem;
  font-size: .75rem;
  font-weight: 600;
}

.status-pill.pending, .status-pill.sent, .status-pill.viewed { background: var(--gold-soft); color: var(--gold-dark); }
.status-pill.approved, .status-pill.active, .status-pill.confirmed { background: var(--green-soft); color: var(--green); }
.status-pill.accepted, .status-pill.contacted { background: var(--teal-soft); color: var(--teal); }
.status-pill.booked { background: var(--sky-soft); color: var(--sky); }
.status-pill.completed { background: var(--green-soft); color: var(--green); }
.status-pill.rejected, .status-pill.cancelled, .status-pill.declined, .status-pill.expired { background: var(--red-soft); color: var(--red); }

.accent-house-cleaning, .accent-home-cleaning { --accent: var(--teal); --accent-soft: var(--teal-soft); }
.accent-lawn-care, .accent-landscaping, .accent-tree-service { --accent: var(--green); --accent-soft: var(--green-soft); }
.accent-handyman, .accent-electricians { --accent: var(--gold-dark); --accent-soft: var(--gold-soft); }
.accent-plumbers, .accent-hvac { --accent: var(--sky); --accent-soft: var(--sky-soft); }
.accent-roofing, .accent-house-painting, .accent-moving-services, .accent-moving { --accent: var(--clay); --accent-soft: var(--clay-soft); }
.accent-gutter-cleaning { --accent: var(--brand); --accent-soft: var(--brand-soft); }

.tier-pill {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  border-radius: 20px;
  padding: .2rem .65rem;
  font-size: .75rem;
  font-weight: 700;
}

.tier-bronze { background: #f7ede6; color: var(--tier-bronze); border: 1px solid #e8c8b4; }
.tier-silver { background: #eef1f4; color: var(--tier-silver); border: 1px solid #c8d0d8; }
.tier-gold { background: var(--gold-soft); color: var(--tier-gold); border: 1px solid var(--gold-muted); }
.tier-platinum { background: #ede8f8; color: var(--tier-platinum); border: 1px solid #c8b8f0; }

/* ============================================================
   Business Profile
   ============================================================ */
.profile-hero {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  padding: 40px 0;
}

.profile-logo {
  width: 90px; height: 90px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 3px solid rgba(255,255,255,.3);
}

.profile-logo-placeholder {
  width: 90px; height: 90px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  border: 3px solid rgba(255,255,255,.2);
}

.profile-meta .meta-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255,255,255,.12);
  color: var(--brand-muted);
  border-radius: 20px;
  padding: .3rem .8rem;
  font-size: .8rem;
  margin: .2rem .2rem 0 0;
}

.profile-tabs {
  background: var(--surface);
  border-bottom: 2px solid var(--border-soft);
  position: sticky;
  top: 65px;
  z-index: 100;
}

.profile-tabs .nav-link {
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: .875rem 1.25rem;
  font-weight: 600;
  font-size: .9rem;
  transition: color .2s;
}

.profile-tabs .nav-link:hover { color: var(--brand); }
.profile-tabs .nav-link.active { color: var(--brand); border-bottom-color: var(--brand); }

/* ============================================================
   Reviews
   ============================================================ */
.review-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: box-shadow .2s;
}

.review-card:hover { box-shadow: var(--shadow-md); }

.reviewer-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.reviewer-avatar-placeholder {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-soft), var(--gold-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--brand);
  font-size: 1rem;
  flex-shrink: 0;
}

.review-response {
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: .875rem 1rem;
  margin-top: 1rem;
}

.review-response .owner-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .35rem;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .3rem;
}

.rating-bar-row .bar-track {
  flex: 1;
  height: 8px;
  background: var(--border-soft);
  border-radius: 4px;
  overflow: hidden;
}

.rating-bar-row .bar-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 4px;
}

.rating-bar-row .bar-label,
.rating-bar-row .bar-count {
  font-size: .75rem;
  color: var(--muted);
  min-width: 20px;
}

.rating-bar-row .bar-count { text-align: right; }

/* ============================================================
   Dashboard
   ============================================================ */
.dashboard-wrapper { display: flex; min-height: calc(100vh - 80px); }

.dashboard-sidebar {
  width: 260px;
  background: var(--brand-dark);
  flex-shrink: 0;
  padding: 1.5rem 0;
}

.sidebar-business-info {
  padding: 0 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 1rem;
}

.sidebar-nav .nav-item a {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--brand-muted);
  padding: .7rem 1.25rem;
  font-weight: 600;
  font-size: .9rem;
  transition: background .15s, color .15s;
  border-left: 3px solid transparent;
}

.sidebar-nav .nav-item a:hover,
.sidebar-nav .nav-item a.active {
  color: #fff;
  background: rgba(255,255,255,.06);
  border-left-color: var(--gold);
}

.sidebar-nav .nav-item a.is-locked {
  color: rgba(255, 255, 255, .46);
}

.owner-nav-lock {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-muted);
  font-size: .72rem;
}

.dashboard-content { flex: 1; padding: 2rem; overflow-x: hidden; }

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: box-shadow .2s;
}

.stat-card:hover { box-shadow: var(--shadow-md); }

.stat-card .stat-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.stat-card .stat-icon.blue { background: var(--brand-soft); color: var(--brand); }
.stat-card .stat-icon.gold { background: var(--gold-soft); color: var(--gold-dark); }
.stat-card .stat-icon.green { background: var(--green-soft); color: var(--green); }
.stat-card .stat-icon.purple { background: #ede8f8; color: #6a5acd; }

.stat-card .stat-value {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.stat-card .stat-label { font-size: .8rem; color: var(--muted); margin-top: .25rem; }

.owner-shell {
  background: #f6f8f8;
}

.owner-sidebar {
  background:
    linear-gradient(180deg, var(--brand-deep), var(--brand-dark));
  box-shadow: inset -1px 0 rgba(255, 255, 255, .05);
}

.owner-sidebar-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .4rem;
}

.owner-sidebar-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
}

.owner-sidebar-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owner-sidebar-name {
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
}

.owner-sidebar-meta {
  color: rgba(255, 255, 255, .62);
  font-size: .82rem;
  font-weight: 600;
}

.owner-plan-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .2rem .65rem;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .68);
  font-size: .72rem;
  font-weight: 750;
}

.owner-workspace {
  padding: 1.75rem;
}

.owner-hero,
.owner-upgrade,
.owner-panel,
.owner-metric {
  border: 1px solid rgba(31, 112, 109, .1);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 44px rgba(26, 35, 50, .06);
}

.owner-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.35rem;
  border-radius: 22px;
  margin-bottom: 1rem;
}

.owner-eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--brand);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.owner-hero h1,
.owner-panel h2 {
  margin: .18rem 0 0;
  font-family: var(--font-body);
  letter-spacing: 0;
}

.owner-hero h1 {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 850;
}

.owner-hero p {
  margin: .35rem 0 0;
  color: var(--muted);
  font-weight: 600;
}

.owner-hero-actions {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.owner-upgrade {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand-soft), var(--gold-soft));
}

.owner-upgrade-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: #fff;
  color: var(--gold-dark);
}

.owner-upgrade-title {
  color: var(--ink);
  font-weight: 850;
}

.owner-upgrade p {
  margin: .1rem 0 0;
  color: var(--muted);
  font-size: .88rem;
}

.owner-upgrade .btn {
  margin-left: auto;
  flex: 0 0 auto;
}

.owner-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
  margin-bottom: 1rem;
}

.owner-metric {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1rem;
  border-radius: 18px;
}

.owner-metric-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.owner-metric-icon.is-gold { background: var(--gold-soft); color: var(--gold-dark); }
.owner-metric-icon.is-brand { background: var(--brand-soft); color: var(--brand); }
.owner-metric-icon.is-green { background: var(--green-soft); color: var(--green); }
.owner-metric-icon.is-soft { background: #eef2f7; color: #475569; }

.owner-metric strong {
  display: block;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 850;
}

.owner-metric span:last-child {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 650;
}

.owner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, .8fr);
  gap: 1rem;
  align-items: start;
}

.owner-grid.secondary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.owner-panel {
  border-radius: 22px;
  overflow: hidden;
}

.owner-panel-main {
  min-height: 420px;
}

.owner-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--border-soft);
}

.owner-panel-head.compact {
  border-bottom: none;
  padding-bottom: .75rem;
}

.owner-panel h2 {
  font-size: 1.05rem;
  font-weight: 850;
}

.owner-panel-count {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .3rem .7rem;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: .78rem;
  font-weight: 850;
}

.owner-report {
  margin-bottom: 1rem;
}

.owner-report-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .75rem;
  padding: 1rem;
}

.owner-report-card {
  min-height: 120px;
  padding: .95rem;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: #fff;
}

.owner-report-card span,
.owner-report-card small {
  display: block;
}

.owner-report-card span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
}

.owner-report-card strong {
  display: block;
  margin: .45rem 0 .35rem;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
}

.owner-report-card small {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}

.owner-report-card small.is-up {
  color: var(--green);
}

.owner-report-card small.is-down {
  color: var(--red);
}

.owner-report-card.is-muted {
  background: #f8fafc;
}

.owner-lead-list {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: 1rem;
}

.owner-lead-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: #fff;
}

.owner-lead-topline,
.owner-lead-meta,
.owner-lead-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.owner-lead-topline {
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .45rem;
}

.owner-lead-code {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
}

.owner-lead-main h3 {
  margin: 0 0 .5rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 850;
}

.owner-lead-meta {
  gap: .7rem;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 650;
}

.owner-lead-meta span {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

.owner-lead-meta i {
  color: var(--brand);
  font-size: .75rem;
}

.owner-lead-main p {
  margin: .65rem 0 0;
  color: #475569;
  font-size: .88rem;
  line-height: 1.55;
}

.owner-lead-side {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.owner-contact-box {
  padding: .75rem;
  border-radius: 14px;
  background: #f7faf9;
  border: 1px solid var(--border-soft);
}

.owner-contact-box span,
.owner-contact-box small {
  display: block;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
}

.owner-contact-box strong {
  display: block;
  margin: .15rem 0;
  color: var(--ink);
  font-size: .9rem;
}

.owner-contact-box a {
  display: block;
  font-size: .82rem;
  font-weight: 700;
}

.owner-lead-actions {
  gap: .45rem;
  justify-content: flex-end;
}

.owner-side-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.owner-progress {
  height: 10px;
  margin: 0 1.25rem;
  border-radius: 999px;
  background: #edf2f2;
  overflow: hidden;
}

.owner-progress div {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--gold));
}

.owner-side-copy {
  margin: .85rem 1.25rem;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.55;
}

.owner-checklist,
.owner-action-list,
.owner-history-list {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
}

.owner-checklist {
  list-style: none;
  display: grid;
  gap: .45rem;
}

.owner-checklist li {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
}

.owner-checklist li.is-done {
  color: var(--green);
}

.owner-action-list {
  display: grid;
  gap: .5rem;
}

.owner-action-list a {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem .75rem;
  border-radius: 12px;
  background: #f7faf9;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 750;
}

.owner-action-list a:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.owner-history-list {
  display: grid;
  gap: .65rem;
}

.owner-history-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.owner-history-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.owner-history-item strong,
.owner-history-item span,
.owner-history-item small {
  display: block;
}

.owner-history-item strong {
  color: var(--ink);
  font-size: .9rem;
}

.owner-history-item span,
.owner-history-item small,
.owner-muted {
  color: var(--muted);
  font-size: .8rem;
}

.owner-muted {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
}

.owner-empty {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 300px;
  padding: 2rem;
}

.owner-empty i {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.25rem;
}

.owner-empty h3 {
  font-family: var(--font-body);
  font-weight: 850;
}

.owner-empty p {
  color: var(--muted);
  max-width: 360px;
}

.hours-editor {
  display: grid;
  gap: .45rem;
  padding: .75rem;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: #f8fafc;
}

.hours-editor-head,
.hours-editor-row {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) minmax(105px, .75fr) minmax(105px, .75fr) minmax(86px, .55fr);
  gap: .65rem;
  align-items: center;
}

.hours-editor-head {
  color: var(--muted);
  font-size: .74rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.hours-editor-row {
  padding: .55rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border-soft);
}

.hours-day {
  color: var(--ink);
  font-size: .9rem;
  font-weight: 800;
}

.hours-toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: .85rem;
  font-weight: 750;
}

.hours-toggle input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--brand);
}

.source-bar { margin-bottom: 1rem; }
.source-bar .source-label {
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: .3rem;
}
.source-bar .bar-track { height: 10px; background: var(--border-soft); border-radius: 5px; overflow: hidden; }
.source-bar .bar-fill { height: 100%; border-radius: 5px; }
.source-bar .bar-fill.google { background: #4285f4; }
.source-bar .bar-fill.search { background: var(--brand); }
.source-bar .bar-fill.social { background: #e91e63; }
.source-bar .bar-fill.direct { background: var(--gold); }

.chart-container { position: relative; height: 280px; width: 100%; }

.period-toggle .btn {
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--surface);
  font-size: .8rem;
  font-weight: 600;
  padding: .35rem .85rem;
  transition: all .15s;
}

.period-toggle .btn.active,
.period-toggle .btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ============================================================
   Pricing
   ============================================================ */
.pricing-hero {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  text-align: center;
  padding: 64px 0 80px;
}

.pricing-hero h1 { color: #fff; }
.pricing-hero p { color: var(--brand-muted); }

.pricing-cards-wrapper { margin-top: -48px; }

.pricing-card {
  background: var(--surface);
  border: 2px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  height: 100%;
  transition: transform .2s, box-shadow .2s;
}

.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft), var(--shadow-lg); }

.pricing-card .plan-badge {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  border-radius: 20px;
  padding: .25rem .75rem;
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.pricing-card .plan-badge.gold-badge { background: var(--gold); color: var(--brand-dark); }

.pricing-card .plan-price {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.pricing-card .plan-price span { font-size: 1rem; color: var(--muted); font-family: var(--font-body); }
.pricing-card .plan-name { font-size: 1.15rem; font-weight: 700; margin-bottom: .25rem; }

.pricing-card .feature-list { list-style: none; padding: 0; margin: 1.5rem 0; }

.pricing-card .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: .9rem;
  color: var(--ink-soft);
}

.pricing-card .feature-list li:last-child { border-bottom: none; }
.pricing-card .feature-list li .check { color: var(--green); font-size: .85rem; margin-top: .15rem; flex-shrink: 0; }

/* ============================================================
   Forms
   ============================================================ */
.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: .65rem 1rem;
  font-size: .95rem;
  color: var(--ink);
  background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
}

.form-control:focus, .form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(31,112,109,.12);
  outline: none;
}

.form-label { font-weight: 600; font-size: .875rem; color: var(--ink-soft); margin-bottom: .4rem; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
  padding: .6rem 1.25rem;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-1px); }

.btn-gold { background: var(--gold); border: none; color: var(--brand-dark); font-weight: 700; }
.btn-gold:hover { background: var(--gold-dark); color: #fff; transform: translateY(-1px); }

.btn-outline-brand { background: transparent; border: 1.5px solid var(--border); color: var(--ink-soft); }
.btn-outline-brand:hover { background: var(--brand-soft); border-color: var(--brand-muted); color: var(--brand-dark); }

.btn-outline-light { background: transparent; border: 2px solid rgba(255,255,255,.3); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }

/* ============================================================
   Cards
   ============================================================ */
.card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}

.card-header {
  background: transparent;
  border-bottom: 1px solid var(--border-soft);
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-body { padding: 1.5rem; }

/* ============================================================
   User Profile
   ============================================================ */
.user-profile-hero {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  padding: 48px 0;
}

.user-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 4px solid rgba(255,255,255,.3); }

.user-avatar-placeholder {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  border: 4px solid rgba(255,255,255,.2);
}

.badge-grid { display: flex; flex-wrap: wrap; gap: .75rem; }

.badge-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: .875rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 180px;
}

.badge-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.badge-icon.gold { background: var(--gold-soft); color: var(--gold-dark); }
.badge-icon.blue { background: var(--brand-soft); color: var(--brand); }
.badge-icon.green { background: var(--green-soft); color: var(--green); }
.badge-icon.purple { background: #ede8f8; color: #6a5acd; }

.points-progress { background: var(--border-soft); border-radius: 8px; height: 10px; overflow: hidden; }
.points-progress .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  border-radius: 8px;
  transition: width .4s ease;
}

/* ============================================================
   Admin
   ============================================================ */
.admin-layout { display: flex; min-height: calc(100vh - 80px); }

.admin-sidebar {
  width: 240px;
  background: var(--ink);
  flex-shrink: 0;
  padding: 1.5rem 0;
}

.admin-sidebar .admin-nav-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #8a97a8;
  padding: .65rem 1.25rem;
  font-size: .875rem;
  font-weight: 600;
  transition: all .15s;
  border-left: 3px solid transparent;
  text-decoration: none;
}

.admin-sidebar .admin-nav-link:hover,
.admin-sidebar .admin-nav-link.active {
  color: #fff;
  background: rgba(255,255,255,.06);
  border-left-color: var(--gold);
}

.admin-content { flex: 1; padding: 2rem; background: var(--surface-alt); }

.admin-stat-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.admin-stat-card .stat-num {
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--brand);
}

.admin-stat-card .stat-lbl { font-size: .8rem; color: var(--muted); margin-top: .25rem; }

.admin-stat-card .stat-badge {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.data-table { width: 100%; border-collapse: collapse; }

.data-table th {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  border-bottom: 2px solid var(--border-soft);
  padding: .75rem 1rem;
  text-align: left;
  white-space: nowrap;
}

.data-table td {
  padding: .875rem 1rem;
  border-bottom: 1px solid var(--border-soft);
  font-size: .875rem;
  vertical-align: middle;
}

.data-table tbody tr:hover { background: var(--surface-alt); }
.data-table tbody tr:last-child td { border-bottom: none; }

/* ============================================================
   Alerts
   ============================================================ */
.alert {
  border-radius: var(--radius);
  border: none;
  padding: .875rem 1.25rem;
  font-size: .9rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.alert-success { background: var(--green-soft); color: #0f5c35; }
.alert-danger { background: var(--red-soft); color: #8b1a1a; }
.alert-warning { background: var(--orange-soft); color: #7c4a00; }
.alert-info { background: var(--brand-soft); color: var(--brand-dark); }

/* ============================================================
   Trust Strip & Footer
   ============================================================ */
.trust-strip {
  background: var(--brand-soft);
  color: var(--brand-dark);
  padding: .75rem 0;
  text-align: center;
  font-size: .825rem;
  border-top: 1px solid rgba(31,112,109,.08);
  border-bottom: 1px solid rgba(31,112,109,.08);
}

.trust-strip .trust-item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin: 0 1.25rem;
  font-weight: 600;
}

.trust-strip .trust-item i { color: var(--brand); }

footer {
  background: #f6fbfa;
  color: var(--muted);
  padding: 34px 0 20px;
  border-top: 1px solid rgba(31,112,109,.09);
}

footer h5 { font-family: var(--font-body); color: var(--ink); font-size: .88rem; font-weight: 800; margin-bottom: .75rem; }

footer a { color: var(--muted); font-size: .875rem; display: block; margin-bottom: .36rem; transition: color .15s; }
footer a:hover { color: var(--brand); }

.footer-brand { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--brand-deep); margin-bottom: .45rem; }
.footer-brand .dot { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(31,112,109,.09);
  margin-top: 1.35rem;
  padding-top: 1rem;
  font-size: .8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom a { display: inline; font-size: .8rem; }

@media (max-width: 575px) {
  footer { padding: 28px 0 16px; }
  .footer-brand { font-size: 1.25rem; }
  footer .row > div { padding-bottom: .25rem; }
  footer h5 { margin-bottom: .5rem; }
  footer a { font-size: .8rem; margin-bottom: .25rem; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: .35rem; }
}

/* ============================================================
   Pagination
   ============================================================ */
.pagination .page-link {
  border: 1px solid var(--border);
  color: var(--brand);
  padding: .5rem .875rem;
  font-size: .875rem;
  font-weight: 600;
  transition: all .15s;
}

.pagination .page-item.active .page-link { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination .page-link:hover { background: var(--brand-soft); border-color: var(--brand); }

.directory-pagination-wrap .pagination {
  gap: .35rem;
}

.directory-pagination-wrap .page-link {
  border-radius: 12px;
  min-width: 42px;
  text-align: center;
  background: rgba(255, 255, 255, .88);
  border-color: rgba(31, 112, 109, .12);
  box-shadow: 0 8px 18px rgba(26, 35, 50, .04);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991px) {
  .directory-layout {
    grid-template-columns: 1fr;
  }
  .directory-sidebar {
    position: static;
  }
  .directory-page-header,
  .directory-results-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .directory-page-stat {
    min-width: 0;
  }
  .dashboard-sidebar { display: none; }
  .dashboard-wrapper { display: block; }
  .dashboard-content { padding: 1.25rem; }
  .owner-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .owner-report-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .owner-grid,
  .owner-grid.secondary { grid-template-columns: 1fr; }
  .owner-lead-card { grid-template-columns: 1fr; }
  .owner-lead-actions { justify-content: flex-start; }
  .admin-sidebar { display: none; }
  .admin-layout { display: block; }
}

@media (max-width: 767px) {
  .directory-shell {
    padding: 1.75rem 0 3rem;
  }
  .directory-page-title {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
  }
  .directory-filter-panel,
  .directory-empty-state {
    border-radius: 22px;
  }
  .directory-city-switcher {
    align-items: flex-start;
    flex-direction: column;
    gap: .55rem;
  }
  .directory-city-pills {
    width: 100%;
  }
  .pro-card-summary {
    min-height: 68px;
  }
  .hero { padding: 48px 0 40px; }
  .hero-stats { gap: 1.25rem; }
  .pricing-card { margin-bottom: 1.25rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .owner-hero,
  .owner-upgrade { align-items: flex-start; flex-direction: column; }
  .owner-hero-actions { justify-content: flex-start; width: 100%; }
  .owner-hero-actions .btn,
  .owner-upgrade .btn { width: 100%; margin-left: 0; }
  .owner-history-item { flex-direction: column; }
  .hours-editor-head { display: none; }
  .hours-editor-row {
    grid-template-columns: 1fr 1fr;
  }
  .hours-day,
  .hours-toggle {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  .directory-page-header {
    gap: 1rem;
    margin-bottom: 1.1rem;
  }
  .directory-active-filters {
    margin-bottom: 1.2rem;
  }
  .directory-city-switcher {
    margin-bottom: 1.2rem;
  }
  .directory-filter-panel {
    padding: 1rem;
  }
  .directory-results-meta {
    justify-content: flex-start;
  }
  .directory-results-meta span:not(:last-child)::after {
    display: none;
  }
  .pro-card-body {
    padding: 1rem 1rem .85rem;
    gap: .8rem;
  }
  .pro-card-top {
    gap: .75rem;
  }
  .pro-avatar {
    width: 62px;
    height: 62px;
  }
  .pro-card-name {
    font-size: .95rem;
  }
  .pro-card-primary-meta {
    font-size: .8rem;
  }
  .pro-card-summary {
    min-height: 62px;
  }
  .pro-card-description {
    font-size: .84rem;
  }
  .pro-card-actions {
    gap: .45rem;
  }
  .pro-card-actions .btn {
    font-size: .82rem;
    min-height: 42px;
  }
  .stat-card { flex-direction: column; }
  .owner-workspace { padding: 1rem; }
  .owner-metrics { grid-template-columns: 1fr; }
  .owner-report-grid { grid-template-columns: 1fr; }
  .owner-lead-list { padding: .75rem; }
  .owner-lead-card { padding: .85rem; }
  .hero-search input { font-size: .9rem; }
}

/* ============================================================
   Utilities
   ============================================================ */
.text-brand { color: var(--brand) !important; }
.text-gold { color: var(--gold) !important; }
.text-muted { color: var(--muted) !important; }
.bg-brand { background: var(--brand) !important; }
.bg-brand-soft { background: var(--brand-soft) !important; }
.bg-gold-soft { background: var(--gold-soft) !important; }
.bg-surface-alt { background: var(--surface-alt) !important; }
.border-brand { border-color: var(--brand) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-xl { border-radius: var(--radius-xl) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.font-head { font-family: var(--font-head) !important; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp .45s ease both; }
.fade-up-delay-1 { animation-delay: .1s; }
.fade-up-delay-2 { animation-delay: .2s; }
.fade-up-delay-3 { animation-delay: .3s; }

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

.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin .6s linear infinite;
}

@media print {
  .navbar, footer, .dashboard-sidebar, .admin-sidebar, .btn { display: none !important; }
  .profile-hero { background: #fff; color: #000; }
}

/* ============================================================
   Directory / Search Page
   ============================================================ */
.directory-shell {
  background: var(--surface-alt);
  min-height: 80vh;
  padding: 2.5rem 0 3rem;
}

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

.directory-page-copy { flex: 1; min-width: 0; }

.directory-page-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: .25rem;
}

.directory-page-lead {
  color: var(--muted);
  font-size: .9rem;
  margin: 0;
}

.directory-page-stat {
  text-align: right;
  flex-shrink: 0;
}

.directory-page-stat strong {
  display: block;
  font-size: 2rem;
  font-family: var(--font-head);
  color: var(--brand);
  line-height: 1;
}

.directory-page-stat span {
  font-size: .8rem;
  color: var(--muted);
}

.directory-active-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.25rem;
}

.directory-chip-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-right: .25rem;
}

.directory-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .8rem;
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
}

.directory-clear-link {
  font-size: .8rem;
  color: var(--muted);
  text-decoration: underline;
  margin-left: auto;
}

.directory-clear-link:hover { color: var(--red); }

.directory-layout {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}

.directory-sidebar {
  width: 260px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
}

.directory-results { flex: 1; min-width: 0; }

.directory-filter-panel {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.directory-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: .75rem;
}

.directory-panel-head h2 {
  font-size: 1.15rem;
  margin: 0;
}

.directory-panel-kicker {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brand);
  margin-bottom: .2rem;
}

.directory-panel-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 10px;
  font-size: 1rem;
  flex-shrink: 0;
}

.directory-panel-copy {
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.directory-filter-form { display: flex; flex-direction: column; gap: .9rem; }

.directory-form-group label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: .35rem;
  display: block;
}

.directory-panel-note {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-top: 1.25rem;
  font-size: .78rem;
  color: var(--muted);
  padding: .75rem;
  background: var(--surface-alt);
  border-radius: var(--radius);
}

.directory-panel-note i { color: var(--brand); margin-top: .1rem; flex-shrink: 0; }

.directory-results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: .5rem;
}

.directory-results-head h2 { font-size: 1.15rem; margin: 0; }

.directory-results-kicker {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brand);
  margin-bottom: .2rem;
}

.directory-results-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: .78rem;
  color: var(--muted);
  gap: .1rem;
}

.directory-pagination-wrap { margin-top: 2rem; }

.directory-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
}

.directory-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 50%;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Responsive: stack sidebar on small screens */
@media (max-width: 767px) {
  .directory-layout { flex-direction: column; }
  .directory-sidebar { width: 100%; position: static; }
  .directory-page-stat { display: none; }
}

/* ---- Routing live dot ---- */
.city-live-dot,
.routing-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
  position: relative;
  top: -1px;
  margin-right: 3px;
}

.routing-live-dot {
  width: 8px;
  height: 8px;
}

.city-soon-dot,
.routing-soon-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
  flex-shrink: 0;
  position: relative;
  top: -1px;
  margin-right: 3px;
}

.routing-soon-dot {
  width: 8px;
  height: 8px;
}

/* ---- Routing status line (search + city pages) ---- */
.directory-routing-status {
  display: flex;
  align-items: center;
  font-size: .78rem;
  font-weight: 600;
  margin-top: .55rem;
}

.routing-status-live {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #047857;
}

.routing-status-dir {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--muted);
}

.routing-status-dir i { font-size: .72rem; }

.routing-status-soon {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #92400e;
}

/* ---- Homepage metrics routing cell ---- */
.home-metrics-routing {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.home-metrics-routing strong {
  display: flex !important;
  align-items: center;
  gap: .35rem;
}

.home-metrics-routing .routing-live-dot,
.home-metrics-routing .routing-soon-dot {
  margin-bottom: 1px;
}
