/* ============================================================
   BizScaleIQ — Social Platform Styles
   ============================================================ */
:root {
  --primary:       #1e3a5f;
  --primary-dark:  #152d4a;
  --primary-light: #e8f1f8;
  --accent:        #f59e0b;
  --success:       #10b981;
  --warning:       #f59e0b;
  --danger:        #ef4444;
  --bg:            #f1f5f9;
  --surface:       #ffffff;
  --border:        #e2e8f0;
  --text:          #0f172a;
  --muted:         #64748b;
  --radius:        12px;
  --nav-h:         60px;
  --shadow:        0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:     0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg:     0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --font:          -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; overflow-x:hidden; }
body { font-family:var(--font); background:var(--bg); color:var(--text); line-height:1.6; min-height:100vh; overflow-x:hidden; }
a { color:inherit; text-decoration:none; }
button { cursor:pointer; font-family:inherit; }
input,select,textarea { font-family:inherit; }
img { max-width:100%; }

/* ── Nav ──────────────────────────────────────────────────────────────────── */
#main-nav {
  position:fixed; top:0; left:0; right:0; height:var(--nav-h);
  background:#1e3a5f;
  border-bottom:3px solid #f59e0b;
  z-index:100;
  box-shadow:0 4px 20px rgba(0,0,0,.25);
}
.nav-inner {
  max-width:1200px; margin:0 auto; padding:0 20px;
  height:100%; display:flex; align-items:center; gap:28px;
}
.nav-brand {
  display:flex; align-items:center; gap:10px;
  font-weight:800; font-size:1.18rem; color:#fff;
  flex-shrink:0; letter-spacing:-.01em; line-height:1;
}
.nav-brand svg { color:#f59e0b; flex-shrink:0; }
.nav-brand-text { display:flex; flex-direction:column; gap:2px; }
.nav-brand-name { font-size:1.18rem; font-weight:800; letter-spacing:-.01em; line-height:1; }
.nav-tagline { font-size:.6rem; font-weight:500; color:rgba(255,255,255,.55); letter-spacing:.04em; text-transform:uppercase; line-height:1; white-space:nowrap; }
.nav-links { display:flex; gap:2px; flex:1; }
.nav-links a {
  padding:6px 12px; border-radius:6px;
  font-size:.82rem; font-weight:500; color:rgba(255,255,255,.72);
  transition:all .15s; white-space:nowrap;
}
.nav-links a:hover { background:rgba(255,255,255,.1); color:#fff; }
.nav-links a.active {
  background:rgba(245,158,11,.15);
  color:#f59e0b;
  font-weight:600;
}
.nav-auth { display:flex; align-items:center; gap:8px; margin-left:auto; flex-shrink:0; }
.nav-avatar {
  width:34px; height:34px; border-radius:50%;
  background:#f59e0b; color:#1e3a5f;
  font-weight:800; font-size:.8rem;
  display:flex; align-items:center; justify-content:center; cursor:pointer;
  border:2px solid rgba(255,255,255,.3);
  transition:transform .15s;
}
.nav-avatar:hover { transform:scale(1.08); }

/* Nav auth buttons override for dark nav */
#main-nav .btn-ghost {
  background:transparent; color:rgba(255,255,255,.85);
  border:1.5px solid rgba(255,255,255,.3);
}
#main-nav .btn-ghost:hover {
  background:rgba(255,255,255,.1); color:#fff;
  border-color:rgba(255,255,255,.6);
}
#main-nav .btn-primary {
  background:#f59e0b; color:#1e3a5f;
  border:none; font-weight:700;
}
#main-nav .btn-primary:hover {
  background:#fbbf24; transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(245,158,11,.4);
}

/* ── App Container ────────────────────────────────────────────────────────── */
#app { margin-top:var(--nav-h); min-height:calc(100vh - var(--nav-h)); }
.page { max-width:1200px; margin:0 auto; padding:32px 20px 80px; }
.page-narrow { max-width:800px; margin:0 auto; padding:32px 20px 80px; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn { display:inline-flex; align-items:center; gap:6px; padding:9px 18px; border:none;
       border-radius:8px; font-size:.88rem; font-weight:600; transition:all .15s; }
.btn-primary { background:var(--primary); color:#fff; }
.btn-primary:hover { background:var(--primary-dark); transform:translateY(-1px); box-shadow:var(--shadow-md); }
.btn-outline { background:transparent; color:var(--primary); border:1.5px solid var(--primary); }
.btn-outline:hover { background:var(--primary-light); }
.btn-ghost { background:transparent; color:var(--muted); border:1.5px solid var(--border); }
.btn-ghost:hover { background:var(--bg); color:var(--text); }
.btn-danger { background:var(--danger); color:#fff; }
.btn-sm { padding:6px 12px; font-size:.82rem; }
.btn-lg { padding:12px 28px; font-size:1rem; }
.btn:disabled { opacity:.5; cursor:not-allowed; transform:none !important; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  background:linear-gradient(140deg, #0f2545 0%, #1e3a5f 45%, #1d4ed8 100%);
  color:#fff; padding:72px 20px 56px; text-align:center; position:relative; overflow:hidden;
}
.hero::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(ellipse 70% 60% at 50% 0%, rgba(245,158,11,.12) 0%, transparent 70%);
}
.hero-badge {
  display:inline-flex; align-items:center; gap:6px;
  background:rgba(245,158,11,.18); color:#fde68a; border:1px solid rgba(245,158,11,.35);
  border-radius:20px; padding:4px 14px; font-size:.75rem; font-weight:600;
  letter-spacing:.06em; text-transform:uppercase; margin-bottom:20px;
}
.hero h1 { font-size:clamp(2rem,4.5vw,3.2rem); font-weight:800; letter-spacing:-.03em; margin-bottom:16px; line-height:1.15; }
.hero-accent { color:#f59e0b; }
.hero p  { font-size:1.1rem; opacity:.85; max-width:580px; margin:0 auto 32px; line-height:1.65; }
.hero-search {
  display:flex; gap:0; max-width:580px; margin:0 auto;
  background:#fff; border-radius:12px; overflow:hidden; box-shadow:0 8px 32px rgba(0,0,0,.3);
}
.hero-search input {
  flex:1; padding:14px 18px; border:none; outline:none;
  font-size:1rem; color:var(--text);
}
.hero-search button {
  padding:14px 24px; background:#f59e0b; color:#1e3a5f; border:none;
  font-weight:700; font-size:.95rem; transition:background .15s;
}
.hero-search button:hover { background:#fbbf24; }
.hero-stats { display:flex; gap:40px; justify-content:center; margin-top:36px; flex-wrap:wrap; }
.hero-stat { text-align:center; }
.hero-stat .num { font-size:1.8rem; font-weight:800; color:#f59e0b; }
.hero-stat .lbl { font-size:.75rem; opacity:.75; text-transform:uppercase; letter-spacing:.06em; margin-top:2px; }

/* ── Features Strip ───────────────────────────────────────────────────────── */
.features-strip {
  background:#fff; border-bottom:1px solid var(--border);
  box-shadow:0 2px 12px rgba(0,0,0,.06);
}
.features-inner {
  max-width:1200px; margin:0 auto; padding:0 20px;
  display:grid; grid-template-columns:repeat(4,1fr);
}
.feature-item {
  display:flex; align-items:flex-start; gap:14px;
  padding:24px 20px; border-right:1px solid var(--border);
}
.feature-item:last-child { border-right:none; }
.feature-icon {
  width:44px; height:44px; border-radius:10px; flex-shrink:0;
  background:var(--primary-light); color:var(--primary);
  display:flex; align-items:center; justify-content:center;
}
.feature-title { font-size:.9rem; font-weight:700; color:var(--text); margin-bottom:4px; }
.feature-desc { font-size:.78rem; color:var(--muted); line-height:1.5; }

/* ── Filters ──────────────────────────────────────────────────────────────── */
.filters-bar {
  display:flex; gap:10px; flex-wrap:wrap; margin-bottom:28px; align-items:center;
}
.filter-chip {
  padding:7px 14px; border:1.5px solid var(--border); border-radius:99px;
  background:var(--surface); font-size:.82rem; font-weight:500;
  cursor:pointer; transition:all .15s; color:var(--muted);
}
.filter-chip:hover, .filter-chip.active { border-color:var(--primary); color:var(--primary); background:var(--primary-light); }
.filters-select {
  padding:7px 14px; border:1.5px solid var(--border); border-radius:99px;
  background:var(--surface); font-size:.82rem; font-weight:500; color:var(--muted);
  cursor:pointer; outline:none;
}
.filters-select:focus { border-color:var(--primary); color:var(--text); }
.results-meta { font-size:.85rem; color:var(--muted); margin-left:auto; }

/* ── Franchise Cards Grid ─────────────────────────────────────────────────── */
.cards-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));
  gap:20px;
}
.franchise-card {
  background:var(--surface); border-radius:var(--radius);
  box-shadow:var(--shadow); overflow:hidden; transition:all .2s;
  display:flex; flex-direction:column;
}
.franchise-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-lg); }
.card-header {
  padding:20px; display:flex; align-items:flex-start; justify-content:space-between; gap:12px;
}
.card-logo {
  width:48px; height:48px; border-radius:10px; display:flex; align-items:center;
  justify-content:center; font-weight:800; font-size:1.1rem; color:#fff; flex-shrink:0;
}
.card-title-block { flex:1; min-width:0; }
.card-title { font-weight:700; font-size:1rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.card-industry { font-size:.78rem; color:var(--muted); margin-top:2px; }
.save-btn {
  background:none; border:none; color:var(--muted); padding:4px;
  font-size:1.2rem; line-height:1; transition:color .15s;
}
.save-btn:hover, .save-btn.saved { color:var(--accent); }
.card-body { padding:0 20px 16px; flex:1; }
.card-tagline { font-size:.85rem; color:var(--muted); margin-bottom:14px; }
.card-metrics { display:grid; grid-template-columns:1fr 1fr 1fr; gap:8px; margin-bottom:14px; }
.metric-box { background:var(--bg); border-radius:8px; padding:8px 10px; text-align:center; }
.metric-val { font-size:.88rem; font-weight:700; }
.metric-lbl { font-size:.7rem; color:var(--muted); margin-top:1px; }
.card-footer {
  padding:12px 20px; border-top:1px solid var(--border);
  display:flex; align-items:center; justify-content:space-between; gap:8px;
}
.card-actions { display:flex; gap:6px; }

/* ── Score Badge ──────────────────────────────────────────────────────────── */
.score-badge {
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:50%;
  font-weight:800; font-size:.9rem; color:#fff; flex-shrink:0;
}
.verdict-tag {
  display:inline-block; padding:3px 10px; border-radius:99px;
  font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em;
}

/* ── Franchise Detail ─────────────────────────────────────────────────────── */
.detail-hero {
  background:var(--surface); border-radius:var(--radius);
  padding:32px; box-shadow:var(--shadow); margin-bottom:24px;
}
.detail-hero-top {
  display:flex; align-items:flex-start; gap:20px; flex-wrap:wrap;
}
.detail-logo {
  width:72px; height:72px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:1.6rem; color:#fff; flex-shrink:0;
}
.detail-info { flex:1; }
.detail-name { font-size:1.6rem; font-weight:800; letter-spacing:-.02em; }
.detail-sub { font-size:.9rem; color:var(--muted); margin-top:4px; }
.detail-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:8px; }
.score-ring {
  display:flex; flex-direction:column; align-items:center; flex-shrink:0; gap:6px;
}
.score-circle {
  width:80px; height:80px; border-radius:50%; display:flex; flex-direction:column;
  align-items:center; justify-content:center; color:#fff; font-weight:800;
  flex-shrink:0; /* never let the circle compress */
}
.score-circle .score-num { font-size:1.5rem; line-height:1; }
.score-circle .score-lbl { font-size:.65rem; opacity:.8; }
.score-ring-text { font-size:.72rem; color:var(--muted); text-align:center; }
.detail-metrics { display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:12px; margin-top:24px; }
.detail-metric { background:var(--bg); border-radius:10px; padding:14px 16px; }
.detail-metric .dval { font-size:1.15rem; font-weight:700; }
.detail-metric .dlbl { font-size:.75rem; color:var(--muted); margin-top:2px; }

/* ── Tabs ─────────────────────────────────────────────────────────────────── */
.tabs { display:flex; gap:2px; background:var(--bg); border-radius:10px; padding:4px; margin-bottom:24px; }
.tab-btn {
  flex:1; padding:9px 12px; border:none; border-radius:7px;
  background:transparent; font-size:.85rem; font-weight:600;
  color:var(--muted); transition:all .15s;
}
.tab-btn.active { background:var(--surface); color:var(--text); box-shadow:var(--shadow); }
.tab-btn.tab-locked { color:var(--muted); opacity:.7; cursor:pointer; position:relative; }
.tab-btn.tab-locked:hover { opacity:1; color:var(--accent); }
.tab-lock-badge {
  display:inline-block; font-size:.6rem; font-weight:800; text-transform:uppercase;
  background:var(--accent); color:#0f172a; padding:1px 5px; border-radius:4px;
  vertical-align:middle; margin-left:3px; line-height:1.4;
}
.tab-panel { display:none; }
.tab-panel.active { display:block; }

/* ── Score Gauges ─────────────────────────────────────────────────────────── */
.score-bars { display:flex; flex-direction:column; gap:12px; }
.score-bar-row { display:flex; align-items:center; gap:12px; }
.score-bar-label { font-size:.85rem; color:var(--muted); width:120px; flex-shrink:0; }
.score-bar-track { flex:1; height:10px; background:var(--bg); border-radius:99px; overflow:hidden; }
.score-bar-fill  { height:100%; border-radius:99px; transition:width .6s ease; }
.score-bar-value { font-weight:700; font-size:.85rem; width:40px; text-align:right; }
.risk-flags { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.risk-flag { padding:5px 12px; background:#fef2f2; color:var(--danger); border-radius:99px; font-size:.78rem; font-weight:600; }

/* ── Journey ──────────────────────────────────────────────────────────────── */
.journey-header { background:var(--surface); border-radius:var(--radius); padding:24px; box-shadow:var(--shadow); margin-bottom:24px; }
.journey-progress-bar { height:8px; background:var(--bg); border-radius:99px; margin-top:14px; overflow:hidden; }
.journey-progress-fill { height:100%; border-radius:99px; background:linear-gradient(90deg,var(--primary),#2563eb); transition:width .5s ease; }
.journey-steps-nav { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:24px; }
.journey-step-btn {
  padding:8px 14px; border-radius:8px; border:1.5px solid var(--border);
  background:var(--surface); font-size:.82rem; font-weight:600; color:var(--muted);
  transition:all .15s; display:flex; align-items:center; gap:6px;
}
.journey-step-btn:hover { border-color:var(--primary); color:var(--primary); }
.journey-step-btn.active { border-color:var(--primary); background:var(--primary-light); color:var(--primary); }
.journey-step-btn.done { border-color:var(--success); background:#ecfdf5; color:var(--success); }
.journey-step-card { background:var(--surface); border-radius:var(--radius); padding:28px; box-shadow:var(--shadow); }
.journey-step-title { font-size:1.2rem; font-weight:700; display:flex; align-items:center; gap:10px; margin-bottom:6px; }
.journey-step-desc { color:var(--muted); font-size:.9rem; margin-bottom:20px; }
.task-list { display:flex; flex-direction:column; gap:10px; }
.task-item {
  display:flex; align-items:center; gap:12px; padding:12px 14px;
  background:var(--bg); border-radius:8px; cursor:pointer; transition:background .15s;
}
.task-item:hover { background:#e0e7ff; }
.task-item.done { background:#ecfdf5; }
.task-checkbox {
  width:20px; height:20px; border-radius:50%; border:2px solid var(--border);
  flex-shrink:0; display:flex; align-items:center; justify-content:center;
  transition:all .2s; background:var(--surface);
}
.task-item.done .task-checkbox { background:var(--success); border-color:var(--success); color:#fff; }
.task-text { font-size:.88rem; }
.task-item.done .task-text { color:var(--muted); text-decoration:line-through; }

/* ── Community ────────────────────────────────────────────────────────────── */
.community-layout { display:grid; grid-template-columns:1fr 300px; gap:24px; align-items:start; }
@media(max-width:900px){ .community-layout { grid-template-columns:1fr; } }
.compose-card { background:var(--surface); border-radius:var(--radius); padding:20px; box-shadow:var(--shadow); margin-bottom:20px; }
.compose-area { width:100%; padding:12px; border:1.5px solid var(--border); border-radius:8px; resize:none; font-size:.9rem; min-height:80px; outline:none; }
.compose-area:focus { border-color:var(--primary); }
.compose-footer { display:flex; justify-content:space-between; align-items:center; margin-top:10px; flex-wrap:wrap; gap:8px; }
.post-card { background:var(--surface); border-radius:var(--radius); padding:20px; box-shadow:var(--shadow); margin-bottom:16px; }
.post-header { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.post-avatar { width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.85rem; color:#fff; flex-shrink:0; }
.post-meta { flex:1; }
.post-author { font-weight:600; font-size:.9rem; }
.post-time  { font-size:.78rem; color:var(--muted); }
.post-franchise-tag {
  padding:3px 10px; border-radius:99px; font-size:.75rem; font-weight:600;
  color:#fff; margin-top:2px; display:inline-block;
}
.post-body { font-size:.9rem; line-height:1.65; margin-bottom:12px; }
.post-actions { display:flex; gap:16px; }
.post-action-btn { background:none; border:none; color:var(--muted); font-size:.82rem; display:flex; align-items:center; gap:5px; padding:4px 0; transition:color .15s; }
.post-action-btn:hover { color:var(--primary); }
.post-action-btn.liked { color:var(--danger); }
/* Sidebar */
.sidebar-card { background:var(--surface); border-radius:var(--radius); padding:20px; box-shadow:var(--shadow); margin-bottom:16px; }
.sidebar-card h3 { font-size:.95rem; font-weight:700; margin-bottom:14px; }
.trending-item { display:flex; align-items:center; gap:10px; padding:8px 0; border-bottom:1px solid var(--border); }
.trending-item:last-child { border-bottom:none; }
.trending-rank { width:20px; font-size:.8rem; font-weight:700; color:var(--muted); }
.trending-info { flex:1; min-width:0; }
.trending-name { font-size:.85rem; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.trending-score { font-size:.75rem; color:var(--muted); }

/* ── Profile / Dashboard ──────────────────────────────────────────────────── */
.profile-hero { background:linear-gradient(135deg,#1e3a5f,#2563eb); color:#fff; border-radius:var(--radius); padding:32px; box-shadow:var(--shadow); margin-bottom:24px; }
.profile-hero-inner { display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.profile-avatar-lg { width:72px; height:72px; border-radius:50%; background:rgba(255,255,255,.25); display:flex; align-items:center; justify-content:center; font-size:1.6rem; font-weight:800; flex-shrink:0; }
.stat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.stat-card { background:var(--surface); border-radius:10px; padding:16px; box-shadow:var(--shadow); text-align:center; }
.stat-num { font-size:1.5rem; font-weight:800; color:var(--primary); }
.stat-lbl { font-size:.78rem; color:var(--muted); margin-top:2px; }
/* Responsive stat grids used in Franchisor, Crypto, Partner pages */
.stat-grid-3 { display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:20px; margin-bottom:40px; }
.stat-grid-4 { display:grid; grid-template-columns:repeat(auto-fill,minmax(120px,1fr)); gap:16px; margin-bottom:32px; }
.stat-card-sm { background:var(--surface); border-radius:var(--radius); padding:20px 16px; box-shadow:var(--shadow); text-align:center; }
.stat-card-val { font-size:1.8rem; font-weight:800; margin:6px 0; }
.stat-card-lbl { font-size:.78rem; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; }
.section-title { font-size:1.05rem; font-weight:700; margin-bottom:16px; display:flex; align-items:center; gap:8px; }
.saved-list { display:flex; flex-direction:column; gap:10px; }
.saved-item { background:var(--surface); border-radius:10px; padding:14px 18px; box-shadow:var(--shadow); display:flex; align-items:center; gap:14px; cursor:pointer; transition:box-shadow .15s; }
.saved-item:hover { box-shadow:var(--shadow-md); }
.saved-logo { width:40px; height:40px; border-radius:8px; display:flex; align-items:center; justify-content:center; font-weight:700; color:#fff; font-size:.9rem; flex-shrink:0; }

/* ── Modal ────────────────────────────────────────────────────────────────── */
.modal-overlay { position:fixed; inset:0; background:rgba(0,0,0,.45); z-index:200; display:flex; align-items:center; justify-content:center; padding:20px; }
.modal-overlay.hidden { display:none; }
.modal-card { background:var(--surface); border-radius:var(--radius); padding:32px; width:100%; max-width:420px; position:relative; box-shadow:var(--shadow-lg); }
.modal-x { position:absolute; top:16px; right:16px; background:none; border:none; font-size:1.4rem; color:var(--muted); line-height:1; }
.modal-x:hover { color:var(--text); }
.auth-title { font-size:1.3rem; font-weight:700; margin-bottom:6px; }
.auth-sub { font-size:.85rem; color:var(--muted); margin-bottom:24px; }
.form-field { margin-bottom:14px; }
.form-field label { display:block; font-size:.82rem; font-weight:600; color:var(--muted); margin-bottom:4px; }
.form-field input { width:100%; padding:10px 12px; border:1.5px solid var(--border); border-radius:8px; font-size:.9rem; outline:none; transition:border-color .15s; }
.form-field input:focus { border-color:var(--primary); }
.auth-toggle { text-align:center; margin-top:16px; font-size:.85rem; color:var(--muted); }
.auth-toggle button { background:none; border:none; color:var(--primary); font-weight:600; }

/* ── AI Advisor ───────────────────────────────────────────────────────────── */
#advisor-fab {
  position:fixed; bottom:28px; right:28px; width:54px; height:54px;
  border-radius:50%; background:var(--primary); color:#fff; border:none;
  box-shadow:var(--shadow-lg); display:flex; align-items:center; justify-content:center;
  transition:all .2s; z-index:150;
}
#advisor-fab:hover { background:var(--primary-dark); transform:scale(1.08); }
.advisor-panel {
  position:fixed; bottom:96px; right:28px; width:360px; max-height:520px;
  background:var(--surface); border-radius:var(--radius); box-shadow:var(--shadow-lg);
  display:flex; flex-direction:column; z-index:150; border:1px solid var(--border);
}
.advisor-panel.hidden { display:none; }
.advisor-head {
  padding:14px 18px; border-bottom:1px solid var(--border);
  display:flex; align-items:center; justify-content:space-between;
  background:var(--primary); color:#fff; border-radius:var(--radius) var(--radius) 0 0;
}
.advisor-title { display:flex; align-items:center; gap:8px; font-weight:700; font-size:.9rem; }
#advisor-close { background:none; border:none; color:rgba(255,255,255,.8); font-size:1.3rem; line-height:1; }
#advisor-close:hover { color:#fff; }
#advisor-context-badge { padding:6px 14px; background:#f0f9ff; font-size:.75rem; color:var(--primary); font-weight:600; }
.advisor-messages { flex:1; overflow-y:auto; padding:14px; display:flex; flex-direction:column; gap:10px; }
.advisor-msg { max-width:85%; padding:10px 14px; border-radius:10px; font-size:.85rem; line-height:1.55; }
.advisor-msg.user { background:var(--primary); color:#fff; align-self:flex-end; border-radius:10px 10px 2px 10px; }
.advisor-msg.ai { background:var(--bg); color:var(--text); align-self:flex-start; border-radius:10px 10px 10px 2px; }
.advisor-msg.loading { color:var(--muted); font-style:italic; }
.advisor-msg.fallback { background:#fef9ec; color:#7c5c00; border:1px solid #fde68a; align-self:flex-start; border-radius:10px 10px 10px 2px; }
.advisor-input-row { display:flex; gap:8px; padding:12px; border-top:1px solid var(--border); }
#advisor-input { flex:1; padding:9px 12px; border:1.5px solid var(--border); border-radius:8px; font-size:.85rem; outline:none; }
#advisor-input:focus { border-color:var(--primary); }
#advisor-send { width:36px; height:36px; border-radius:8px; background:var(--primary); color:#fff; border:none; display:flex; align-items:center; justify-content:center; }
#advisor-send:hover { background:var(--primary-dark); }

/* ── Empty / Loading States ───────────────────────────────────────────────── */
.empty-state { text-align:center; padding:60px 20px; }
.empty-state svg { color:var(--border); margin-bottom:12px; }
.empty-state h3 { font-size:1.1rem; font-weight:600; margin-bottom:6px; }
.empty-state p { color:var(--muted); font-size:.9rem; }
.loading-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:20px; }
.skeleton { background:linear-gradient(90deg,var(--bg) 25%,#e8edf2 50%,var(--bg) 75%); background-size:200% 100%; animation:shimmer 1.4s infinite; border-radius:var(--radius); }
@keyframes shimmer { to { background-position:-200% 0; } }
.skeleton-card { height:260px; }

/* ── Utilities ────────────────────────────────────────────────────────────── */
.hidden { display:none !important; }
.text-muted { color:var(--muted); }
.text-sm { font-size:.85rem; }
.mt-4 { margin-top:16px; }
.mt-6 { margin-top:24px; }
.mb-4 { margin-bottom:16px; }
.flex { display:flex; }
.flex-center { display:flex; align-items:center; justify-content:center; }
.gap-2 { gap:8px; }
.chip { padding:4px 10px; border-radius:99px; font-size:.75rem; font-weight:600; }

/* ── Lending / Funding ────────────────────────────────────────────────────── */
.lending-hero {
  background:linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #2563eb 100%);
  color:#fff; padding:56px 20px 48px; text-align:center;
}
.lending-hero h1 { font-size:clamp(1.7rem,3.5vw,2.6rem); font-weight:800; letter-spacing:-.03em; margin-bottom:12px; }
.lending-hero p  { font-size:1.05rem; opacity:.85; max-width:540px; margin:0 auto 28px; }
.lending-stats { display:flex; gap:28px; justify-content:center; flex-wrap:wrap; margin-top:24px; }
.lending-stat { text-align:center; }
.lending-stat .num { font-size:1.5rem; font-weight:800; }
.lending-stat .lbl { font-size:.75rem; opacity:.65; text-transform:uppercase; letter-spacing:.06em; }

.lender-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:20px; }
.lender-card {
  background:var(--surface); border-radius:var(--radius);
  box-shadow:var(--shadow); overflow:hidden; transition:all .2s;
  display:flex; flex-direction:column;
}
.lender-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-lg); }
.lender-card-header {
  padding:20px 20px 14px; display:flex; align-items:flex-start; gap:14px;
}
.lender-card-header > div:not(.lender-logo) { min-width:0; flex:1; overflow:hidden; }
.lender-logo {
  width:52px; height:52px; border-radius:12px; display:flex; align-items:center;
  justify-content:center; font-weight:800; font-size:1.1rem; color:#fff; flex-shrink:0;
}
.lender-name { font-size:1rem; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.lender-type {
  display:inline-block; padding:2px 9px; border-radius:99px;
  font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em;
  background:var(--primary-light); color:var(--primary); margin-top:4px;
}
.lender-tagline { padding:0 20px 12px; font-size:.85rem; color:var(--muted); }
.lender-stats {
  display:grid; grid-template-columns:1fr 1fr 1fr; gap:1px;
  background:var(--border); border-top:1px solid var(--border); border-bottom:1px solid var(--border);
}
.lender-stat-box { background:var(--surface); padding:10px 8px; text-align:center; }
.lender-stat-val { font-size:.88rem; font-weight:700; }
.lender-stat-lbl { font-size:.68rem; color:var(--muted); margin-top:1px; }
.lender-card-footer {
  padding:14px 20px; display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:auto;
}
.lender-range { font-size:.8rem; color:var(--muted); }
.lender-range strong { color:var(--text); }

/* Lender Detail */
.lender-detail-hero {
  background:var(--surface); border-radius:var(--radius);
  padding:32px; box-shadow:var(--shadow); margin-bottom:24px;
}
.lender-detail-top { display:flex; gap:20px; align-items:flex-start; flex-wrap:wrap; }
.lender-detail-logo {
  width:80px; height:80px; border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  font-weight:900; font-size:1.8rem; color:#fff; flex-shrink:0;
}
.lender-detail-info { flex:1; }
.lender-detail-name { font-size:1.6rem; font-weight:800; letter-spacing:-.02em; }
.lender-detail-meta { font-size:.88rem; color:var(--muted); margin-top:4px; }
.lender-detail-desc { margin-top:12px; font-size:.92rem; color:var(--text); line-height:1.65; }
.lender-key-stats {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(130px,1fr));
  gap:12px; margin-top:24px;
}
.lender-key-stat {
  background:var(--bg); border-radius:10px; padding:14px;
  text-align:center;
}
.lender-key-stat .val { font-size:1.1rem; font-weight:800; color:var(--primary); }
.lender-key-stat .lbl { font-size:.72rem; color:var(--muted); margin-top:3px; }

.req-list { list-style:none; display:flex; flex-direction:column; gap:8px; margin-top:12px; }
.req-list li {
  display:flex; align-items:flex-start; gap:10px; font-size:.88rem;
  padding:10px 14px; background:var(--bg); border-radius:8px;
}
.req-list li::before { content:"✓"; color:var(--success); font-weight:800; flex-shrink:0; }

.loan-types-row { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.loan-type-chip {
  padding:5px 12px; border-radius:99px; font-size:.78rem; font-weight:600;
  background:var(--primary-light); color:var(--primary); border:1px solid #c7d2fe;
}

/* Funding Options Finder Widget */
.funding-finder {
  background:rgba(255,255,255,.12); backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.25); border-radius:16px;
  padding:28px 32px; max-width:780px; margin:28px auto 0;
}
.funding-finder h3 { font-size:1rem; font-weight:700; color:#fff; margin-bottom:16px; }
.finder-grid {
  display:grid; grid-template-columns:1fr 1fr 1fr auto; gap:12px; align-items:end;
}
.finder-field { display:flex; flex-direction:column; gap:6px; }
.finder-field label { font-size:.75rem; font-weight:600; color:rgba(255,255,255,.75); text-transform:uppercase; letter-spacing:.05em; }
.finder-field select, .finder-field input {
  padding:10px 14px; border:1.5px solid rgba(255,255,255,.3); border-radius:10px;
  background:rgba(255,255,255,.15); color:#fff; font-size:.9rem; outline:none;
  transition:border-color .15s;
}
.finder-field select option { color:var(--text); background:#fff; }
.finder-field select:focus, .finder-field input:focus { border-color:#fff; background:rgba(255,255,255,.25); }
.finder-field input::placeholder { color:rgba(255,255,255,.5); }
.finder-btn {
  padding:11px 24px; background:#fff; color:var(--primary);
  border:none; border-radius:10px; font-weight:700; font-size:.9rem;
  cursor:pointer; white-space:nowrap; transition:all .15s;
}
.finder-btn:hover { background:var(--primary-light); }

/* Funding Options Results */
.funding-options-header {
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:20px; flex-wrap:wrap; gap:12px;
}
.funding-options-header h2 { font-size:1.2rem; font-weight:800; }
.funding-options-header .sub { font-size:.85rem; color:var(--muted); margin-top:2px; }
.compare-bar {
  display:flex; align-items:center; gap:10px;
  background:var(--primary-light); border:1.5px solid #c7d2fe; border-radius:10px;
  padding:10px 16px; margin-bottom:20px;
}
.compare-bar span { font-size:.85rem; font-weight:600; color:var(--primary); flex:1; }

.funding-option-card {
  background:var(--surface); border-radius:var(--radius);
  box-shadow:var(--shadow); overflow:hidden; margin-bottom:16px;
  border:2px solid transparent; transition:all .2s;
}
.funding-option-card.best-match { border-color:#10b981; }
.funding-option-card.selected-compare { border-color:var(--primary); background:var(--primary-light); }
.funding-option-card:hover { box-shadow:var(--shadow-lg); }

.option-card-inner { display:flex; align-items:stretch; }
.option-card-left {
  padding:22px 24px; flex:1; display:flex; flex-direction:column; gap:0;
  border-right:1px solid var(--border);
}
.option-card-lender { display:flex; align-items:center; gap:14px; margin-bottom:14px; }
.option-lender-logo {
  width:48px; height:48px; border-radius:10px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size:1rem; color:#fff;
}
.option-lender-name { font-size:1rem; font-weight:700; }
.option-lender-type { font-size:.75rem; color:var(--muted); margin-top:2px; }
.match-badge {
  display:inline-flex; align-items:center; gap:5px;
  padding:4px 10px; border-radius:99px; font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em;
}
.match-best   { background:#dcfce7; color:#16a34a; }
.match-good   { background:#dbeafe; color:#1d4ed8; }
.match-eligible { background:#fef9c3; color:#a16207; }
.match-out    { background:#fef2f2; color:#dc2626; }

.option-loan-types { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
.option-requirements { margin-top:10px; font-size:.78rem; color:var(--muted); }
.option-requirements ul { list-style:none; display:flex; flex-direction:column; gap:3px; margin-top:4px; }
.option-requirements li::before { content:"✓ "; color:var(--success); font-weight:700; }

.option-card-right {
  width:280px; flex-shrink:0; padding:22px 24px;
  display:flex; flex-direction:column; gap:12px;
}
.estimate-block { background:var(--bg); border-radius:10px; padding:14px 16px; }
.estimate-main { font-size:1.6rem; font-weight:800; color:var(--primary); line-height:1; }
.estimate-sub  { font-size:.75rem; color:var(--muted); margin-top:3px; }
.estimate-detail {
  display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:10px;
}
.ed-box { background:var(--bg); border-radius:8px; padding:8px 10px; text-align:center; }
.ed-val { font-size:.82rem; font-weight:700; }
.ed-lbl { font-size:.68rem; color:var(--muted); margin-top:1px; }
.option-actions { display:flex; flex-direction:column; gap:8px; margin-top:4px; }
.compare-toggle {
  display:flex; align-items:center; gap:8px; padding:8px 12px;
  border:1.5px solid var(--border); border-radius:8px; background:none;
  font-size:.82rem; font-weight:600; color:var(--muted); cursor:pointer; transition:all .15s;
}
.compare-toggle.active { border-color:var(--primary); color:var(--primary); background:var(--primary-light); }
.compare-toggle:hover { border-color:var(--primary); color:var(--primary); }

/* Compare Table */
.compare-table-wrap {
  background:var(--surface); border-radius:var(--radius);
  box-shadow:var(--shadow-lg); margin-bottom:32px; overflow-x:auto; -webkit-overflow-scrolling:touch;
}
.compare-table { width:100%; border-collapse:collapse; min-width:600px; }
.compare-table th {
  padding:14px 18px; text-align:center; font-size:.82rem; font-weight:700;
  border-bottom:2px solid var(--border); background:var(--bg);
}
.compare-table th:first-child { text-align:left; }
.compare-table td {
  padding:12px 18px; text-align:center; font-size:.88rem;
  border-bottom:1px solid var(--border);
}
.compare-table td:first-child { text-align:left; font-size:.8rem; color:var(--muted); font-weight:600; text-transform:uppercase; letter-spacing:.04em; }
.compare-table tr:last-child td { border-bottom:none; }
.compare-table .best-col { background:#f0fdf4; }

/* Funding Request Form */
.funding-form {
  background:var(--surface); border-radius:var(--radius);
  padding:32px; box-shadow:var(--shadow); max-width:680px;
}
.funding-form h2 { font-size:1.3rem; font-weight:800; margin-bottom:6px; }
.funding-form .subtitle { color:var(--muted); font-size:.9rem; margin-bottom:24px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group { display:flex; flex-direction:column; gap:6px; }
.form-group.full { grid-column:1/-1; }
.form-group label { font-size:.82rem; font-weight:600; color:var(--text); }
.form-group input, .form-group select, .form-group textarea {
  padding:10px 12px; border:1.5px solid var(--border); border-radius:8px;
  font-size:.88rem; outline:none; transition:border-color .15s; background:var(--surface);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color:var(--primary); }
.form-group textarea { resize:vertical; min-height:90px; }

/* My Funding Requests */
.funding-request-card {
  background:var(--surface); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:24px; margin-bottom:16px;
}
.funding-request-header { display:flex; align-items:flex-start; gap:16px; margin-bottom:16px; }
.funding-request-amount { font-size:1.5rem; font-weight:800; color:var(--primary); }
.funding-request-meta { font-size:.82rem; color:var(--muted); margin-top:2px; }
.status-badge {
  padding:4px 12px; border-radius:99px; font-size:.72rem; font-weight:700;
  text-transform:uppercase; letter-spacing:.04em; flex-shrink:0; margin-left:auto;
}
.status-open { background:#dcfce7; color:#16a34a; }
.status-funded { background:#dbeafe; color:#1d4ed8; }
.matches-section { margin-top:16px; padding-top:16px; border-top:1px solid var(--border); }
.matches-section h4 { font-size:.82rem; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.05em; margin-bottom:10px; }
.match-row {
  display:flex; align-items:center; gap:12px; padding:10px 14px;
  background:var(--bg); border-radius:8px; margin-bottom:8px;
}
.match-lender-logo {
  width:36px; height:36px; border-radius:8px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.8rem; color:#fff;
}
.match-lender-name { font-weight:600; font-size:.88rem; }
.match-lender-type { font-size:.75rem; color:var(--muted); }
.match-status { margin-left:auto; font-size:.75rem; font-weight:700; padding:3px 10px; border-radius:99px; }
.match-pending  { background:#fef9c3; color:#a16207; }
.match-interested { background:#dcfce7; color:#16a34a; }

/* ── Franchisor ───────────────────────────────────────────────────────────── */
.franchisor-hero {
  background:linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color:#fff; padding:64px 20px 52px; text-align:center;
}
.franchisor-hero h1 { font-size:clamp(1.8rem,4vw,2.8rem); font-weight:800; letter-spacing:-.03em; margin-bottom:12px; }
.franchisor-hero p  { font-size:1.05rem; opacity:.85; max-width:540px; margin:0 auto 28px; }
.how-it-works { display:flex; gap:24px; justify-content:center; flex-wrap:wrap; margin-top:32px; }
.how-step {
  background:rgba(255,255,255,.1); border-radius:12px; padding:20px 24px;
  text-align:center; width:190px; flex-shrink:0;
}
.how-step-num { font-size:1.8rem; font-weight:900; opacity:.5; }
.how-step-title { font-size:.9rem; font-weight:700; margin-top:6px; }
.how-step-desc { font-size:.78rem; opacity:.7; margin-top:4px; line-height:1.5; }

/* Listing Form Steps */
.listing-form-wrap { max-width:760px; margin:0 auto; }
.listing-step-header { margin-bottom:28px; }
.listing-step-num { font-size:.78rem; font-weight:700; color:var(--primary); text-transform:uppercase; letter-spacing:.08em; }
.listing-step-title { font-size:1.3rem; font-weight:800; margin-top:4px; }
.listing-step-desc { font-size:.88rem; color:var(--muted); margin-top:4px; }
.listing-progress { display:flex; gap:6px; margin-bottom:32px; }
.listing-progress-step {
  height:4px; flex:1; border-radius:99px; background:var(--border);
  transition:background .3s;
}
.listing-progress-step.done { background:var(--primary); }
.listing-progress-step.active { background:var(--primary); opacity:.5; }
.listing-section { background:var(--surface); border-radius:var(--radius); padding:24px; box-shadow:var(--shadow); margin-bottom:16px; }
.listing-section-title { font-size:.82rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); margin-bottom:16px; }

/* Viability Result Card */
.viability-result {
  background:var(--surface); border-radius:var(--radius);
  box-shadow:var(--shadow-lg); overflow:hidden; margin-bottom:24px;
}
.viability-result-banner {
  padding:28px 32px; color:#fff; text-align:center;
}
.viability-result-banner h2 { font-size:1.5rem; font-weight:800; margin-bottom:8px; }
.viability-result-banner p { font-size:.9rem; opacity:.85; max-width:480px; margin:0 auto; }
.viability-score-big {
  font-size:4rem; font-weight:900; line-height:1; margin-bottom:4px;
}
.viability-score-label { font-size:.8rem; opacity:.7; text-transform:uppercase; letter-spacing:.08em; }
.viability-breakdown {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
  gap:16px; padding:24px 32px;
}
.viability-breakdown-item {
  background:var(--bg); border-radius:10px; padding:16px; text-align:center;
}
.vb-val { font-size:1.4rem; font-weight:800; }
.vb-lbl { font-size:.72rem; color:var(--muted); margin-top:3px; }
.risk-flags-section { padding:0 32px 24px; }
.risk-flag-item {
  display:flex; align-items:flex-start; gap:10px; padding:10px 14px;
  background:#fef2f2; border-radius:8px; margin-bottom:8px; font-size:.85rem; color:#991b1b;
}
.recommendation-item {
  display:flex; align-items:flex-start; gap:10px; padding:10px 14px;
  background:#f0fdf4; border-radius:8px; margin-bottom:8px; font-size:.85rem; color:#166534;
}
.submission-status-bar {
  display:flex; align-items:center; gap:16px; padding:20px 32px;
  border-top:1px solid var(--border); flex-wrap:wrap;
}
.status-published  { background:#dcfce7; color:#16a34a; }
.status-under_review { background:#fef9c3; color:#a16207; }
.status-needs_improvement { background:#fef2f2; color:#dc2626; }

/* My Listings */
.listing-card {
  background:var(--surface); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:20px 24px; margin-bottom:12px;
  display:flex; align-items:center; gap:16px; transition:all .2s;
}
.listing-card:hover { box-shadow:var(--shadow-lg); }
.listing-card-logo {
  width:52px; height:52px; border-radius:10px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:1.1rem; color:#fff;
}

/* ── Plan Badges ──────────────────────────────────────────────────────────── */
.plan-badge {
  display:inline-flex; align-items:center; gap:4px;
  font-size:.65rem; font-weight:700; letter-spacing:.05em;
  padding:2px 8px; border-radius:99px; text-transform:uppercase;
}
.plan-badge.plan-featured {
  background:linear-gradient(135deg,#f59e0b,#ef4444);
  color:#fff;
}
.plan-badge.plan-premium {
  background:linear-gradient(135deg,#1e3a5f,#2563eb);
  color:#fff;
}

/* ── Plan Selector Cards (listing form step 1) ────────────────────────────── */
.plan-cards-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:20px 0;
}
@media(max-width:700px){ .plan-cards-grid { grid-template-columns:1fr; } }

.plan-card {
  border:2px solid var(--border); border-radius:var(--radius);
  padding:20px; cursor:pointer; transition:all .2s; position:relative;
  background:var(--surface);
}
.plan-card:hover { border-color:var(--primary); box-shadow:var(--shadow-md); }
.plan-card.selected {
  border-color:var(--primary);
  background:var(--primary-light);
  box-shadow:0 0 0 3px rgba(99,102,241,.15);
}
.plan-card-name { font-weight:700; font-size:1rem; margin-bottom:4px; }
.plan-card-price { font-size:1.4rem; font-weight:800; color:var(--primary); margin-bottom:12px; }
.plan-card-price span { font-size:.85rem; font-weight:400; color:var(--muted); }
.plan-card-features { list-style:none; }
.plan-card-features li {
  font-size:.82rem; color:var(--muted); padding:3px 0;
  display:flex; align-items:flex-start; gap:6px;
}
.plan-card-features li::before { content:"✓"; color:var(--success); font-weight:700; flex-shrink:0; }
.plan-card .plan-popular {
  position:absolute; top:-10px; left:50%; transform:translateX(-50%);
  background:var(--primary); color:#fff;
  font-size:.65rem; font-weight:700; padding:2px 12px; border-radius:99px;
  white-space:nowrap;
}

/* ── Franchisor Dashboard ─────────────────────────────────────────────────── */
.dashboard-metrics {
  display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:24px;
}
@media(max-width:900px){ .dashboard-metrics { grid-template-columns:repeat(2,1fr); } }
@media(max-width:500px){ .dashboard-metrics { grid-template-columns:1fr; } }

.metric-card {
  background:var(--surface); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:20px; text-align:center;
}
.metric-value { font-size:2rem; font-weight:800; color:var(--primary); }
.metric-label { font-size:.8rem; color:var(--muted); margin-top:4px; text-transform:uppercase; letter-spacing:.05em; }

.dashboard-table { width:100%; border-collapse:collapse; margin-top:12px; }
.dashboard-table th {
  text-align:left; padding:10px 14px;
  background:var(--bg); font-size:.8rem; color:var(--muted); text-transform:uppercase; letter-spacing:.05em;
  border-bottom:1px solid var(--border);
}
.dashboard-table td { padding:12px 14px; border-bottom:1px solid var(--border); font-size:.9rem; }
.dashboard-table tr:last-child td { border-bottom:none; }

.lead-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius); padding:16px 20px; margin-bottom:12px;
}
.lead-card-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.lead-amount { font-weight:700; color:var(--primary); }
.locked-overlay {
  background:#f8fafc; border:2px dashed var(--border);
  border-radius:var(--radius); padding:40px 24px; text-align:center; color:var(--muted);
}
.locked-overlay h3 { font-size:1.1rem; margin-bottom:8px; }

/* Pricing Page ─────────────────────────────────────────────────────────────── */
.pricing-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin:32px 0;
}
@media(max-width:900px){ .pricing-grid { grid-template-columns:1fr; max-width:400px; } }

.pricing-card {
  background:var(--surface); border:2px solid var(--border);
  border-radius:var(--radius); padding:28px; position:relative;
  transition:all .2s;
}
.pricing-card:hover { box-shadow:var(--shadow-lg); }
.pricing-card.featured-plan {
  border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(99,102,241,.12);
}
.pricing-popular-badge {
  position:absolute; top:-14px; left:50%; transform:translateX(-50%);
  background:var(--primary); color:#fff;
  font-size:.7rem; font-weight:700; padding:4px 16px; border-radius:99px;
  white-space:nowrap;
}
.pricing-plan-name { font-size:1.1rem; font-weight:700; margin-bottom:4px; }
.pricing-price { font-size:2.5rem; font-weight:800; color:var(--primary); line-height:1; }
.pricing-price small { font-size:.9rem; font-weight:400; color:var(--muted); }
.pricing-period { font-size:.8rem; color:var(--muted); margin-bottom:20px; }
.pricing-features { list-style:none; margin:16px 0 24px; }
.pricing-features li {
  display:flex; align-items:flex-start; gap:8px;
  padding:6px 0; font-size:.9rem; border-bottom:1px solid var(--border);
}
.pricing-features li:last-child { border-bottom:none; }
.pricing-features li::before { content:"✓"; color:var(--success); font-weight:700; flex-shrink:0; }

/* ── Owner Assessment ─────────────────────────────────────────────────────── */
.assess-hero {
  background:linear-gradient(135deg,#1e1b4b,#312e81);
  padding:48px 20px 40px; text-align:center; color:#fff;
}
.assess-hero-inner { max-width:600px; margin:0 auto; }
.assess-hero-label { font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; opacity:.7; margin-bottom:10px; }
.assess-hero-title { font-size:2rem; font-weight:900; margin-bottom:10px; }
.assess-hero-sub { font-size:.95rem; opacity:.8; line-height:1.6; }

.assess-card {
  background:var(--surface); border-radius:var(--radius);
  box-shadow:var(--shadow-lg); overflow:hidden; margin-top:28px;
}
.assess-progress-bar { height:4px; background:var(--border); }
.assess-progress-fill { height:100%; background:var(--primary); transition:width .4s ease; }
.assess-body { padding:28px 32px; }
.assess-step-title { font-size:1.1rem; font-weight:800; margin-bottom:6px; }
.assess-step-sub { font-size:.88rem; color:var(--muted); }
.assess-nav { display:flex; justify-content:space-between; align-items:center; margin-top:28px; padding-top:20px; border-top:1px solid var(--border); }

/* Industry checkboxes */
.industry-checks { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.check-chip {
  display:inline-flex; align-items:center; gap:6px;
  padding:7px 14px; border:2px solid var(--border); border-radius:99px;
  font-size:.82rem; cursor:pointer; transition:all .15s; user-select:none;
}
.check-chip input { display:none; }
.check-chip:hover { border-color:var(--primary); }
.check-chip.selected { background:var(--primary-light); border-color:var(--primary); color:var(--primary); font-weight:600; }

/* Radio option */
.radio-option {
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 20px; border:2px solid var(--border); border-radius:10px;
  font-size:.9rem; cursor:pointer; transition:all .15s; user-select:none;
}
.radio-option input { display:none; }
.radio-option.selected { background:var(--primary-light); border-color:var(--primary); color:var(--primary); font-weight:700; }
.radio-option:hover { border-color:var(--primary); }

/* ── Partner Cards ────────────────────────────────────────────────────────── */
[data-action="view-partner"]:hover {
  box-shadow: var(--shadow-md) !important;
  transform: translateY(-2px);
}

/* ── Hamburger button (hidden on desktop) ──────────────────────────────────── */
.nav-hamburger {
  display:none; flex-direction:column; justify-content:center; gap:5px;
  background:none; border:none; cursor:pointer; padding:8px; margin-left:8px;
  border-radius:6px; transition:background .15s;
}
.nav-hamburger:hover { background:rgba(255,255,255,.1); }
.nav-hamburger span {
  display:block; width:22px; height:2px; background:#fff;
  border-radius:2px; transition:transform .2s, opacity .2s;
}

/* ── Tablet (≤1024px) ─────────────────────────────────────────────────────── */
@media(max-width:1024px) {
  .cards-grid  { grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); }
  .lender-grid { grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); }
  .advisor-panel { width:320px; }
  .stat-grid   { grid-template-columns:repeat(2,1fr); }
  .features-inner { grid-template-columns:repeat(2,1fr); }
  .feature-item:nth-child(2) { border-right:none; }
  .feature-item:nth-child(3) { border-top:1px solid var(--border); }
  .feature-item:nth-child(4) { border-top:1px solid var(--border); border-right:none; }
}

/* ── Mobile (≤768px) ──────────────────────────────────────────────────────── */
@media(max-width:768px) {
  /* Hamburger visible, nav links become a dropdown drawer */
  .nav-hamburger { display:flex; }

  /* Tighten nav so hamburger stays on-screen */
  .nav-inner { gap:8px; padding:0 12px; }
  #nav-auth .btn-primary { display:none; }  /* hide Join Free, keep Sign In */
  #nav-auth { display:flex; align-items:center; gap:6px; margin-left:auto; }
  #nav-auth .btn { font-size:.78rem; padding:5px 10px; }
  .nav-links {
    display:none; flex-direction:column;
    position:absolute; top:63px; left:0; right:0; z-index:999;
    background:#1e3a5f;
    border-bottom:3px solid #f59e0b;
    padding:8px 20px 16px; gap:0;
    box-shadow:0 8px 24px rgba(0,0,0,.3);
  }
  .nav-links.nav-open { display:flex; }
  .nav-links a {
    padding:12px 4px; font-size:.95rem; font-weight:500;
    color:rgba(255,255,255,.8);
    border-bottom:1px solid rgba(255,255,255,.1);
    border-radius:0;
  }
  .nav-links a:hover { color:#fff; background:transparent; }
  .nav-links a.active { color:#f59e0b; font-weight:600; }
  .nav-links a:last-child { border-bottom:none; }

  /* Features strip */
  .features-inner { grid-template-columns:1fr 1fr; }
  .feature-item { padding:18px 16px; }
  .feature-item:nth-child(odd) { border-right:1px solid var(--border); }
  .feature-item:nth-child(even) { border-right:none; }
  .feature-item:nth-child(n+3) { border-top:1px solid var(--border); }
  .nav-tagline { display:none; }

  /* Layout */
  .hero          { padding:36px 16px 28px; }
  .lending-hero  { padding:36px 16px 28px; overflow:hidden; }
  .lending-hero h1 { font-size:clamp(1.4rem,6vw,2rem); word-break:break-word; }
  .lending-hero p  { font-size:.95rem; }
  .lending-hero .lending-stats { padding:0 8px; }
  .advisor-panel { right:12px; left:12px; width:auto;
                   bottom:calc(84px + env(safe-area-inset-bottom,0px)); }
  #advisor-fab   { bottom:calc(20px + env(safe-area-inset-bottom,0px)); right:20px; }
  .page          { padding-bottom:calc(80px + env(safe-area-inset-bottom,0px)); }
  .cards-grid    { grid-template-columns:1fr; }
  .lender-grid   { grid-template-columns:1fr; }
  .form-grid     { grid-template-columns:1fr; }

  /* ── Funding finder widget ── */
  .funding-finder {
    padding:20px 16px;
    margin:20px 16px 0;
    border-radius:12px;
  }
  .finder-grid {
    grid-template-columns:1fr;
  }
  .finder-grid .btn,
  .finder-btn {
    width:100%;
    margin-top:4px;
  }
  .lending-stats {
    gap:16px;
    flex-wrap:wrap;
    justify-content:space-around;
  }
  .lending-stat .num { font-size:1.3rem; }

  /* ── Lender tabs: horizontal scroll, no wrap ── */
  .lender-tabs {
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    gap:6px;
    padding-bottom:4px;
    /* hide scrollbar visually */
    scrollbar-width:none;
  }
  .lender-tabs::-webkit-scrollbar { display:none; }
  .lender-tab { font-size:.8rem; padding:5px 12px; white-space:nowrap; flex-shrink:0; }

  /* ── Lender card footer ── */
  .lender-card-footer { flex-wrap:wrap; gap:8px; }
  .lender-card-footer .btn { flex:1; min-width:100px; text-align:center; }

  /* Compare table scroll hint */
  .compare-table-wrap::after {
    content:"← Scroll to compare →";
    display:block; text-align:center;
    font-size:0.75rem; color:var(--muted); padding:6px 0;
  }

  /* Font minimums on mobile */
  .metric-lbl  { font-size:0.78rem; }
  .verdict-tag { font-size:0.78rem; }
  .vb-lbl      { font-size:0.78rem; }
}

/* ── Small phones (≤480px) ────────────────────────────────────────────────── */
@media(max-width:480px) {
  .page          { padding:20px 14px calc(80px + env(safe-area-inset-bottom,0px)); }
  .page-narrow   { padding:20px 14px calc(80px + env(safe-area-inset-bottom,0px)); }
  .hero          { padding:28px 14px 24px; }
  .hero-badge    { font-size:.68rem; padding:3px 10px; }
  .hero-stats    { gap:16px; }
  .features-inner { grid-template-columns:1fr; }
  .feature-item  { border-right:none !important; border-top:1px solid var(--border); padding:16px 14px; }
  .feature-item:first-child { border-top:none; }
  .score-bar-label { width:90px; font-size:0.75rem; }
  .modal-card    { padding:20px 16px; }
  .metric-lbl    { font-size:0.75rem; }
  .verdict-tag   { font-size:0.75rem; padding:2px 8px; }
  .vb-lbl        { font-size:0.75rem; }
  .saved-item    { padding:10px 12px; }
  .filters-bar   { flex-direction:column; align-items:stretch; }
  .filters-bar select, .filters-bar input { width:100%; box-sizing:border-box; }
  #results-meta  { margin-left:0; }
  .stat-grid     { grid-template-columns:repeat(2,1fr); }
  .stat-grid-3   { grid-template-columns:repeat(auto-fill,minmax(130px,1fr)); gap:14px; }
  .stat-grid-4   { grid-template-columns:repeat(2,1fr); gap:12px; }
  .stat-card-val { font-size:1.5rem; }
  .funding-finder { margin:16px 0 0; border-radius:10px; }
  .lending-stats  { gap:12px; }
  .lending-stat .num { font-size:1.2rem; }
  .lending-hero h1 { font-size:1.5rem; }
  .biz-card       { padding:18px 16px; }
  .biz-card-meta  { flex-wrap:wrap; gap:6px; }
  .consultant-card { padding:16px; }
  .con-stats       { flex-wrap:wrap; gap:8px; }
}

/* ── Business Marketplace ─────────────────────────────────────────────────── */
.biz-hero {
  background:linear-gradient(135deg,#0f2d52 0%,#1e3a5f 50%,#0e4d92 100%);
  color:#fff; padding:48px 24px 36px; text-align:center;
  border-radius:0 0 var(--radius) var(--radius); margin-bottom:28px;
}
.biz-hero h1 { font-size:clamp(1.6rem,4vw,2.4rem); font-weight:800; margin-bottom:10px; }
.biz-hero p  { font-size:1rem; color:rgba(255,255,255,.8); max-width:560px; margin:0 auto 24px; }
.biz-search-bar {
  display:flex; gap:10px; max-width:680px; margin:0 auto;
  background:rgba(255,255,255,.12); border-radius:10px; padding:8px 10px;
}
.biz-search-bar input {
  flex:1; background:transparent; border:none; outline:none;
  color:#fff; font-size:.95rem; padding:4px 8px;
}
.biz-search-bar input::placeholder { color:rgba(255,255,255,.55); }
.biz-filters {
  display:flex; gap:10px; flex-wrap:wrap; margin-bottom:20px; align-items:center;
}
.biz-filters select, .biz-filters input {
  padding:7px 12px; border:1.5px solid var(--border); border-radius:8px;
  font-size:.82rem; background:var(--surface); color:var(--text);
}
.biz-filters .filter-label { font-size:.8rem; font-weight:600; color:var(--muted); }
.biz-stats-bar {
  display:flex; gap:24px; justify-content:center; flex-wrap:wrap;
  background:var(--surface); border-radius:var(--radius); padding:16px 24px;
  box-shadow:var(--shadow); margin-bottom:28px;
}
.biz-stat { text-align:center; }
.biz-stat-val { font-size:1.4rem; font-weight:800; color:var(--primary); }
.biz-stat-lbl { font-size:.72rem; color:var(--muted); text-transform:uppercase; letter-spacing:.05em; }

/* Business listing card */
.biz-cards-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:20px; }
.biz-card {
  background:var(--surface); border-radius:var(--radius); padding:22px;
  box-shadow:var(--shadow); cursor:pointer;
  transition:box-shadow .18s, transform .18s;
  border:2px solid transparent; position:relative; overflow:hidden;
}
.biz-card:hover { box-shadow:var(--shadow-lg); transform:translateY(-2px); border-color:var(--primary-light); }
.biz-card-top { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:10px; }
.biz-card-icon {
  width:46px; height:46px; border-radius:10px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  font-size:1.3rem; font-weight:800; color:#fff;
}
.biz-card-title { font-size:1rem; font-weight:700; margin-bottom:3px; line-height:1.3; }
.biz-card-sub { font-size:.78rem; color:var(--muted); }
.biz-card-score {
  display:flex; flex-direction:column; align-items:center; flex-shrink:0;
  background:var(--bg); border-radius:8px; padding:6px 10px;
  min-width:52px;
}
.biz-card-score-num { font-size:1.2rem; font-weight:800; line-height:1; }
.biz-card-score-lbl { font-size:.6rem; color:var(--muted); text-transform:uppercase; margin-top:2px; }
.biz-card-desc { font-size:.83rem; color:var(--muted); margin-bottom:12px; line-height:1.5;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.biz-card-meta { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:14px; }
.biz-tag {
  font-size:.72rem; font-weight:600; padding:3px 9px; border-radius:99px;
  display:inline-flex; align-items:center; gap:3px;
}
.biz-tag-deal   { background:#e0f2fe; color:#0369a1; }
.biz-tag-ind    { background:#f3e8ff; color:#7e22ce; }
.biz-tag-status { background:#fef3c7; color:#b45309; }
.biz-tag-status.active { background:#dcfce7; color:#15803d; }
.biz-tag-status.under_offer { background:#fef9c3; color:#a16207; }
.biz-card-financials { display:flex; gap:12px; border-top:1px solid var(--border); padding-top:12px; }
.biz-fin { flex:1; }
.biz-fin-val { font-size:.95rem; font-weight:700; color:var(--text); }
.biz-fin-lbl { font-size:.68rem; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; }
.biz-card-footer { display:flex; justify-content:space-between; align-items:center; margin-top:12px; }
.biz-card-badge-new {
  position:absolute; top:14px; right:14px;
  background:var(--accent); color:#fff; font-size:.65rem; font-weight:700;
  padding:2px 8px; border-radius:99px; text-transform:uppercase;
}

/* Business detail page */
.biz-detail-hero {
  background:linear-gradient(135deg,#0f2d52,#1e3a5f);
  color:#fff; border-radius:var(--radius); padding:32px 28px; margin-bottom:24px;
}
.biz-detail-hero h1 { font-size:1.6rem; font-weight:800; margin-bottom:6px; }
.biz-detail-hero p  { color:rgba(255,255,255,.75); font-size:.9rem; }
.biz-detail-grid {
  display:grid; grid-template-columns:1fr 340px; gap:24px; align-items:start;
}
.biz-score-card {
  background:var(--surface); border-radius:var(--radius); padding:24px;
  box-shadow:var(--shadow-md); position:sticky; top:80px;
}
.score-ring-wrap { display:flex; flex-direction:column; align-items:center; gap:8px; margin-bottom:20px; }
.score-ring-wrap .score-ring {
  width:96px; height:96px; border-radius:50%; display:flex; align-items:center;
  justify-content:center; flex-direction:column;
  border:6px solid currentColor; position:relative;
  /* reset: override the franchise-page wrapper rules */
  flex-shrink:0;
}
.score-ring-wrap .score-ring-num { font-size:1.8rem; font-weight:800; line-height:1; }
.score-ring-wrap .score-ring-lbl { font-size:.62rem; text-transform:uppercase; letter-spacing:.05em; margin-top:1px; }
.score-verdict {
  font-size:.85rem; font-weight:700; padding:5px 14px; border-radius:99px;
  text-align:center; margin-bottom:16px;
}
.score-bars { display:flex; flex-direction:column; gap:8px; }
.score-bar-row { display:flex; flex-direction:column; gap:3px; }
.score-bar-row-label { display:flex; justify-content:space-between; font-size:.75rem; }
.score-bar-row-label span:last-child { font-weight:700; }
.score-bar-track { height:6px; background:var(--bg); border-radius:99px; overflow:hidden; }
.score-bar-fill  { height:100%; border-radius:99px; transition:width .6s ease; }
.biz-detail-section { background:var(--surface); border-radius:var(--radius); padding:22px; box-shadow:var(--shadow); margin-bottom:16px; }
.biz-detail-section h2 { font-size:1rem; font-weight:700; margin-bottom:14px; display:flex; align-items:center; gap:8px; }
.biz-kpi-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(130px,1fr)); gap:12px; }
.biz-kpi { background:var(--bg); border-radius:10px; padding:14px; }
.biz-kpi-val { font-size:1.1rem; font-weight:800; color:var(--primary); }
.biz-kpi-lbl { font-size:.72rem; color:var(--muted); margin-top:2px; }
.investor-fit-tags { display:flex; gap:8px; flex-wrap:wrap; }
.investor-fit-tag { background:var(--primary-light); color:var(--primary); padding:5px 12px; border-radius:99px; font-size:.8rem; font-weight:600; }
.red-flag-list { list-style:none; display:flex; flex-direction:column; gap:6px; }
.red-flag-list li { display:flex; align-items:flex-start; gap:8px; font-size:.85rem; }
.red-flag-list li::before { content:"⚠️"; flex-shrink:0; }
.catalyst-list { list-style:none; display:flex; flex-direction:column; gap:6px; }
.catalyst-list li { display:flex; align-items:flex-start; gap:8px; font-size:.85rem; }
.catalyst-list li::before { content:"🚀"; flex-shrink:0; }
.inquire-panel {
  background:var(--surface); border-radius:var(--radius); padding:22px;
  box-shadow:var(--shadow-md); border:2px solid var(--primary-light);
}
.inquire-panel h3 { font-size:.95rem; font-weight:700; margin-bottom:14px; }

/* Consultant Hub */
.consultant-hero {
  background:linear-gradient(135deg,#134e4a 0%,#0f766e 60%,#0d9488 100%);
  color:#fff; padding:48px 24px 36px; text-align:center;
  border-radius:0 0 var(--radius) var(--radius); margin-bottom:28px;
}
.consultant-hero h1 { font-size:clamp(1.5rem,4vw,2.2rem); font-weight:800; margin-bottom:10px; }
.consultant-hero p  { font-size:1rem; color:rgba(255,255,255,.8); max-width:520px; margin:0 auto; }
.consultant-cards-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:20px; }
.consultant-card {
  background:var(--surface); border-radius:var(--radius); padding:22px;
  box-shadow:var(--shadow); cursor:pointer;
  transition:box-shadow .18s, transform .18s;
}
.consultant-card:hover { box-shadow:var(--shadow-lg); transform:translateY(-2px); }
.con-avatar {
  width:52px; height:52px; border-radius:50%; display:flex; align-items:center;
  justify-content:center; font-weight:800; font-size:1rem; color:#fff; flex-shrink:0;
}
.con-header { display:flex; align-items:center; gap:14px; margin-bottom:12px; }
.con-name { font-size:1rem; font-weight:700; }
.con-firm { font-size:.78rem; color:var(--muted); }
.con-rating { display:flex; align-items:center; gap:4px; font-size:.8rem; font-weight:700; color:var(--accent); margin-top:3px; }
.con-bio { font-size:.82rem; color:var(--muted); line-height:1.5; margin-bottom:12px;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.con-stats { display:flex; gap:12px; border-top:1px solid var(--border); padding-top:12px; }
.con-stat { flex:1; text-align:center; }
.con-stat-val { font-size:.95rem; font-weight:800; color:var(--primary); }
.con-stat-lbl { font-size:.65rem; color:var(--muted); text-transform:uppercase; }
.con-specialties { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:12px; }
.con-spec-tag { background:var(--primary-light); color:var(--primary); font-size:.72rem; font-weight:600; padding:3px 9px; border-radius:99px; }
.con-credentials { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:14px; }
.con-cred { background:#f0fdf4; color:#166534; font-size:.72rem; font-weight:600; padding:3px 9px; border-radius:99px; }

/* List business form */
.list-biz-steps { display:flex; gap:0; margin-bottom:28px; overflow-x:auto; }
.list-biz-step {
  flex:1; min-width:80px; display:flex; flex-direction:column; align-items:center;
  gap:4px; padding:10px 6px; position:relative;
}
.list-biz-step::after {
  content:''; position:absolute; top:18px; right:-50%; width:100%;
  height:2px; background:var(--border); z-index:0;
}
.list-biz-step:last-child::after { display:none; }
.list-biz-step-num {
  width:32px; height:32px; border-radius:50%; display:flex; align-items:center;
  justify-content:center; font-size:.82rem; font-weight:700; z-index:1;
  background:var(--border); color:var(--muted); transition:all .2s;
}
.list-biz-step.active .list-biz-step-num { background:var(--primary); color:#fff; }
.list-biz-step.done   .list-biz-step-num { background:var(--success); color:#fff; }
.list-biz-step-lbl { font-size:.68rem; color:var(--muted); text-align:center; white-space:nowrap; }
.list-biz-step.active .list-biz-step-lbl { color:var(--primary); font-weight:600; }

/* ── Plan badges ──────────────────────────────────────────────────────────── */
.plan-badge {
  display: inline-flex; align-items: center; padding: 2px 8px;
  border-radius: 999px; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
}
.plan-free    { background: #f1f5f9; color: #64748b; }
.plan-pro     { background: #dbeafe; color: #1d4ed8; }
.plan-premium { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; }

/* ── Paywall gate card ────────────────────────────────────────────────────── */
.paywall-gate {
  background: var(--surface); border: 1.5px dashed var(--border);
  border-radius: var(--radius); padding: 28px 20px;
  text-align: center; box-shadow: var(--shadow);
}
.paywall-gate-icon  { font-size: 2rem; margin-bottom: 8px; }
.paywall-gate-title { font-weight: 800; font-size: 1rem; margin-bottom: 6px; }
.paywall-gate-desc  { font-size: .82rem; color: var(--muted); margin-bottom: 16px; line-height: 1.5; }
.paywall-gate-btn   { width: 100%; }
.paywall-gate-note  { font-size: .72rem; color: var(--muted); margin-top: 8px; }

/* ── Paywall blur section ─────────────────────────────────────────────────── */
.paywall-blur-section { position: relative; overflow: hidden; }
.paywall-blur-content { filter: blur(5px); user-select: none; pointer-events: none; }
.paywall-blur-overlay {
  position: absolute; inset: 0;
  background: rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  backdrop-filter: blur(2px);
}
.paywall-blur-cta { text-align: center; padding: 24px; }

/* ── Locked AI score on card ──────────────────────────────────────────────── */
.biz-card-score-locked {
  cursor: pointer; opacity: .7;
  transition: opacity .15s;
  background: var(--surface); border: 1.5px dashed #94a3b8;
  border-radius: 8px;
}
.biz-card-score-locked:hover { opacity: 1; }
.biz-card-score-lock { font-size: 1.1rem; }

/* ── Paywall notice banner ────────────────────────────────────────────────── */
.paywall-notice {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; background: #fef3c7; border: 1px solid #fde68a;
  border-radius: 8px; padding: 10px 14px;
  font-size: .85rem; color: #92400e; margin-bottom: 16px; flex-wrap: wrap;
}

/* ── Upgrade modal ────────────────────────────────────────────────────────── */
.upgrade-modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 9000; padding: 20px;
}
.upgrade-modal {
  background: #fff; border-radius: 16px; padding: 36px 32px;
  max-width: 620px; width: 100%; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.3); animation: slideUp .2s ease;
  max-height: 90vh; overflow-y: auto;
}
.upgrade-modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; font-size: 1.1rem; cursor: pointer; color: #64748b;
}
.upgrade-modal-icon  { font-size: 2.5rem; text-align: center; margin-bottom: 12px; }
.upgrade-modal-title { font-size: 1.4rem; font-weight: 800; text-align: center; margin-bottom: 8px; color: #1e293b; }
.upgrade-modal-sub   { font-size: .88rem; color: #64748b; text-align: center; margin-bottom: 24px; line-height: 1.5; }
.upgrade-plans       { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.upgrade-plan {
  flex: 1; min-width: 220px; border: 1.5px solid #e2e8f0;
  border-radius: 12px; padding: 20px; position: relative;
}
.upgrade-plan-featured { border-color: #1e3a5f; box-shadow: 0 4px 20px rgba(30,58,95,.15); }
.upgrade-plan-best {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #1e3a5f; color: #fff; font-size: .68rem; font-weight: 700;
  padding: 3px 12px; border-radius: 999px; letter-spacing: .05em;
}
.upgrade-plan-name  { font-weight: 800; font-size: 1.1rem; margin-bottom: 4px; }
.upgrade-plan-price { font-size: 1.8rem; font-weight: 800; color: #1e3a5f; margin-bottom: 12px; }
.upgrade-plan-price span { font-size: .9rem; font-weight: 400; color: #64748b; }
.upgrade-plan-features { list-style: none; margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.upgrade-plan-features li { font-size: .82rem; color: #334155; }
.upgrade-plan-btn { width: 100%; }
.upgrade-modal-note { font-size: .72rem; color: #94a3b8; text-align: center; }
@keyframes slideUp { from { transform: translateY(20px); opacity:0; } to { transform: translateY(0); opacity:1; } }

/* ── Match cards ──────────────────────────────────────────────────────────── */
.match-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border-radius: var(--radius); padding: 16px 20px;
  box-shadow: var(--shadow); cursor: pointer;
  border: 1.5px solid var(--border); transition: border-color .15s, box-shadow .15s;
}
.match-card:hover { border-color: #1e3a5f; box-shadow: 0 4px 16px rgba(30,58,95,.12); }
.match-card-left { flex-shrink: 0; }
.match-score-circle {
  width: 64px; height: 64px; border-radius: 50%;
  border: 3px solid; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.match-score-num { font-size: 1.3rem; font-weight: 800; line-height: 1; }
.match-score-lbl { font-size: .6rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.match-card-body { flex: 1; min-width: 0; }
.match-verdict-badge {
  display: inline-block; font-size: .72rem; font-weight: 700;
  padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}
.match-reasons { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.match-reason  { font-size: .72rem; color: #475569; background: #f1f5f9; padding: 2px 8px; border-radius: 999px; }
.match-card-fins { display: flex; gap: 12px; flex-wrap: wrap; font-size: .78rem; color: var(--muted); margin-top: 6px; }
.match-card-fins strong { color: var(--text); }
.match-card-arrow { font-size: 1.2rem; color: var(--muted); flex-shrink: 0; }

/* ── Investor match rows in detail panel ──────────────────────────────────── */
.inv-match-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; background: var(--bg); border-radius: 8px;
  border: 1px solid var(--border);
}
.inv-match-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: #1e3a5f;
  color: #fff; font-weight: 700; font-size: .78rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.inv-match-info { flex: 1; min-width: 0; }
.inv-match-score { font-weight: 800; font-size: 1rem; flex-shrink: 0; }

/* ── Business Owner Dashboard ───────────────────────────────────────────────── */
.owner-dash-loading {
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:80px 20px; gap:16px; color:var(--muted);
}
.owner-dash-spinner {
  width:36px; height:36px; border-radius:50%;
  border:3px solid var(--border); border-top-color:var(--primary);
  animation:spin .8s linear infinite;
}
@keyframes spin { to { transform:rotate(360deg); } }

/* Header */
.owner-dash-header {
  display:flex; justify-content:space-between; align-items:flex-start;
  flex-wrap:wrap; gap:12px; margin-bottom:24px;
}
.owner-dash-title { font-size:1.6rem; font-weight:800; letter-spacing:-.02em; }
.owner-dash-sub   { font-size:.88rem; color:var(--muted); margin-top:4px; }

/* Summary KPI strip */
.owner-summary-grid {
  display:grid; grid-template-columns:repeat(5,1fr); gap:14px; margin-bottom:24px;
}
.owner-summary-card {
  background:var(--surface); border-radius:12px; padding:18px 14px;
  box-shadow:var(--shadow); text-align:center;
}
.owner-summary-icon { font-size:1.4rem; margin-bottom:6px; }
.owner-summary-val  { font-size:1.5rem; font-weight:800; line-height:1; margin-bottom:4px; }
.owner-summary-lbl  { font-size:.72rem; color:var(--muted); text-transform:uppercase; letter-spacing:.05em; }

/* Upgrade banner */
.owner-upgrade-banner {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px;
  background:linear-gradient(135deg,#1e3a5f 0%,#0e4d92 100%);
  color:#fff; border-radius:12px; padding:16px 22px; margin-bottom:24px;
}
.owner-upgrade-banner-text { display:flex; flex-direction:column; gap:3px; }
.owner-upgrade-banner-text strong { font-size:.95rem; }
.owner-upgrade-banner-text span   { font-size:.82rem; opacity:.8; }

/* Empty state */
.owner-empty-state {
  background:var(--surface); border-radius:var(--radius); padding:60px 24px;
  text-align:center; box-shadow:var(--shadow);
}

/* Listing card */
.owner-listing-card {
  background:var(--surface); border-radius:var(--radius); box-shadow:var(--shadow-md);
  margin-bottom:28px; overflow:hidden; border:1px solid var(--border);
}
.owner-listing-header {
  display:flex; align-items:flex-start; gap:14px; padding:20px 24px;
  border-bottom:1px solid var(--border); flex-wrap:wrap;
}
.owner-listing-icon {
  width:52px; height:52px; border-radius:12px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:1.3rem; font-weight:800;
}
.owner-listing-title-block { flex:1; min-width:0; }
.owner-listing-name { font-size:1.15rem; font-weight:800; }
.owner-listing-meta { font-size:.83rem; color:var(--muted); margin-top:3px; }
.owner-listing-actions { margin-left:auto; }

/* KPI row */
.owner-kpi-row {
  display:flex; gap:0; border-bottom:1px solid var(--border); overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.owner-kpi {
  flex:1; min-width:100px; padding:14px 16px; text-align:center;
  border-right:1px solid var(--border);
}
.owner-kpi:last-child { border-right:none; }
.owner-kpi-icon { font-size:1.1rem; margin-bottom:4px; }
.owner-kpi-val  { font-size:1.05rem; font-weight:700; }
.owner-kpi-lbl  { font-size:.68rem; color:var(--muted); text-transform:uppercase; margin-top:2px; }

/* 3-column body */
.owner-listing-body {
  display:grid; grid-template-columns:240px 1fr 260px; gap:0;
  align-items:start;
}
.owner-score-panel,
.owner-recs-panel,
.owner-investors-panel {
  padding:20px; border-right:1px solid var(--border);
}
.owner-investors-panel { border-right:none; }
.owner-score-panel-title {
  font-size:.8rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em;
  color:var(--muted); margin-bottom:14px; display:flex; align-items:center; gap:6px;
}

/* Score ring inside dashboard */
.owner-score-ring-wrap {
  display:flex; align-items:center; gap:14px; margin-bottom:4px;
}
.owner-score-ring {
  width:80px; height:80px; border-radius:50%; flex-shrink:0;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  border:5px solid; position:relative;
}
.owner-score-ring-num { font-size:1.6rem; font-weight:800; line-height:1; }
.owner-score-ring-lbl { font-size:.6rem; text-transform:uppercase; letter-spacing:.05em; opacity:.7; }
.owner-score-verdict  { font-size:.78rem; font-weight:700; }

/* Score bars */
.owner-score-bars { display:flex; flex-direction:column; gap:7px; }
.owner-score-bar-row { display:flex; align-items:center; gap:8px; }
.owner-score-bar-label { font-size:.68rem; color:var(--muted); width:110px; flex-shrink:0; }
.owner-score-bar-track { flex:1; height:6px; background:var(--bg); border-radius:99px; overflow:hidden; }
.owner-score-bar-fill  { height:100%; border-radius:99px; transition:width .5s ease; }
.owner-score-bar-val   { font-size:.72rem; font-weight:700; width:24px; text-align:right; flex-shrink:0; }

/* Recommendation cards */
.owner-rec-card {
  background:var(--bg); border-radius:10px; padding:12px 14px;
  margin-bottom:10px; border-left:3px solid var(--border);
}
.owner-rec-header {
  display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:8px;
}
.owner-rec-area     { font-weight:700; font-size:.82rem; flex:1; }
.owner-rec-priority { font-size:.72rem; font-weight:600; }
.owner-rec-score    { font-size:.82rem; font-weight:800; margin-left:auto; }
.owner-rec-tips {
  margin:0; padding-left:16px; display:flex; flex-direction:column; gap:4px;
}
.owner-rec-tips li { font-size:.78rem; color:#475569; line-height:1.4; }

/* Match count badge */
.owner-match-count {
  background:var(--primary); color:#fff; border-radius:99px;
  font-size:.65rem; font-weight:700; padding:2px 7px; margin-left:4px;
}

/* Investor rows in dashboard */
.owner-investor-row {
  display:flex; align-items:flex-start; gap:10px;
  padding:10px 0; border-bottom:1px solid var(--border);
}
.owner-investor-row:last-child { border-bottom:none; }
.owner-investor-avatar {
  width:36px; height:36px; border-radius:50%; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:700; font-size:.78rem;
}
.owner-investor-info   { flex:1; min-width:0; }
.owner-investor-name   { font-size:.85rem; font-weight:700; }
.owner-investor-meta   { font-size:.72rem; color:var(--muted); margin-top:1px; }
.owner-investor-reasons { display:flex; flex-wrap:wrap; gap:4px; margin-top:5px; max-height:44px; overflow:hidden; }
.owner-investor-score  { flex-shrink:0; text-align:right; }
.owner-investor-score-num { font-size:1.1rem; font-weight:800; line-height:1; }
.owner-investor-score-lbl { font-size:.62rem; color:var(--muted); }

/* Premium gate in investors panel */
.owner-investors-gate {
  background:var(--bg); border-radius:10px; padding:20px 14px;
  text-align:center; display:flex; flex-direction:column; align-items:center; gap:10px;
}
.owner-investors-gate-icon { font-size:1.8rem; }
.owner-investors-gate-text { font-size:.82rem; color:var(--muted); line-height:1.4; }
.owner-investors-gate-text strong { color:var(--text); }

/* ── Owner Dashboard — Responsive ──────────────────────────────────────────── */
@media(max-width:1100px) {
  .owner-listing-body { grid-template-columns:1fr 1fr; }
  .owner-investors-panel {
    grid-column:1/-1; border-right:none; border-top:1px solid var(--border);
  }
  .owner-investors-panel .owner-investor-row { max-width:640px; }
  .owner-summary-grid { grid-template-columns:repeat(3,1fr); }
}
@media(max-width:768px) {
  .owner-summary-grid { grid-template-columns:repeat(2,1fr); }
  .owner-listing-body { grid-template-columns:1fr; }
  .owner-score-panel  { border-right:none; border-bottom:1px solid var(--border); }
  .owner-recs-panel   { border-right:none; border-bottom:1px solid var(--border); }
  .owner-listing-header { padding:16px; }
  .owner-listing-actions { width:100%; }
  .owner-listing-actions .btn { width:100%; }
  .owner-score-bar-label { width:90px; font-size:.65rem; }
}
@media(max-width:480px) {
  .owner-summary-grid { grid-template-columns:1fr 1fr; }
  .owner-dash-title   { font-size:1.3rem; }
  .owner-kpi          { min-width:80px; padding:10px 8px; }
  .owner-kpi-val      { font-size:.9rem; }
}

/* ── Checkbox grid for investor profile ────────────────────────────────────── */
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin-top: 8px; }
.checkbox-opt  { display: flex; align-items: center; gap: 6px; font-size: .85rem; cursor: pointer; }
.checkbox-opt input { cursor: pointer; }

/* ── Business Marketplace — responsive (must come AFTER base rules) ─────── */
/* Collapse two-column detail grid to single column on tablet/mobile */
@media(max-width:900px) {
  .biz-detail-grid { grid-template-columns:1fr !important; }
  .biz-score-card  { position:static; } /* un-stick when stacked */
}
@media(max-width:768px) {
  /* Score ring sits beside its label when in the stacked card */
  .score-ring-wrap { flex-direction:row; gap:16px; align-items:center; }
  /* Biz card tweaks */
  .biz-card { padding:18px 16px; }
  .biz-card-meta { flex-wrap:wrap; gap:6px; }
}
@media(max-width:480px) {
  /* Score ring reverts to column on very small screens */
  .score-ring-wrap { flex-direction:column; gap:8px; }
}

/* ── Landing Pages (Lender & Consultant) ─────────────────────────────────────── */
.lp-hero {
  color:#fff; padding:64px 24px 56px; text-align:center;
  border-radius:0 0 var(--radius) var(--radius); margin-bottom:0;
}
.lp-hero-lender {
  background:linear-gradient(135deg,#0f2d52 0%,#1e3a5f 50%,#0e4d92 100%);
}
.lp-hero-consultant {
  background:linear-gradient(135deg,#134e4a 0%,#0f766e 60%,#115e59 100%);
}
.lp-hero-inner { max-width:720px; margin:0 auto; }
.lp-hero-badge {
  display:inline-block; background:rgba(255,255,255,.15); color:#fff;
  font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em;
  padding:5px 14px; border-radius:999px; margin-bottom:18px;
}
.lp-hero-title { font-size:clamp(1.6rem,4vw,2.4rem); font-weight:900; letter-spacing:-.03em; margin-bottom:16px; line-height:1.15; }
.lp-hero-sub   { font-size:1rem; opacity:.85; line-height:1.6; max-width:600px; margin:0 auto 28px; }
.lp-hero-actions { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.lp-cta-btn    { font-size:1rem; padding:12px 28px; }
.lp-cta-ghost  { border-color:rgba(255,255,255,.5); color:#fff; font-size:.95rem; padding:11px 24px; }
.lp-cta-ghost:hover { border-color:#fff; background:rgba(255,255,255,.1); }

/* Stats bar */
.lp-stats-bar {
  display:flex; gap:0; background:var(--surface); border-radius:12px;
  box-shadow:var(--shadow-md); overflow:hidden; margin-bottom:32px;
  border:1px solid var(--border);
}
.lp-stat {
  flex:1; padding:20px 16px; text-align:center;
  border-right:1px solid var(--border);
}
.lp-stat:last-child { border-right:none; }
.lp-stat-val { font-size:1.4rem; font-weight:800; color:var(--primary); }
.lp-stat-lbl { font-size:.7rem; color:var(--muted); text-transform:uppercase; letter-spacing:.05em; margin-top:3px; }

/* Section title */
.lp-section-title {
  font-size:1.1rem; font-weight:800; margin:32px 0 18px; letter-spacing:-.01em;
}

/* Benefits grid */
.lp-benefits-grid {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:16px; margin-bottom:8px;
}
.lp-benefit-card {
  background:var(--surface); border-radius:12px; padding:20px;
  box-shadow:var(--shadow); border:1px solid var(--border);
}
.lp-benefit-icon  { font-size:1.8rem; margin-bottom:10px; }
.lp-benefit-title { font-size:.95rem; font-weight:700; margin-bottom:6px; }
.lp-benefit-desc  { font-size:.82rem; color:var(--muted); line-height:1.5; }

/* How-it-works steps */
.lp-steps {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
  gap:16px; margin-bottom:8px;
}
.lp-step {
  background:var(--surface); border-radius:12px; padding:20px;
  text-align:center; box-shadow:var(--shadow); border:1px solid var(--border);
}
.lp-step-num {
  width:32px; height:32px; border-radius:50%; background:var(--primary); color:#fff;
  font-weight:800; font-size:.85rem; display:flex; align-items:center; justify-content:center;
  margin:0 auto 10px;
}
.lp-step-icon  { font-size:1.6rem; margin-bottom:8px; }
.lp-step-title { font-size:.9rem; font-weight:700; margin-bottom:6px; }
.lp-step-desc  { font-size:.78rem; color:var(--muted); line-height:1.5; }

/* Tags strip */
.lp-tags-wrap { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:8px; }
.lp-tag {
  background:#e0f2fe; color:#0369a1; border-radius:999px;
  font-size:.75rem; font-weight:600; padding:4px 12px;
}

/* CTA Card */
.lp-cta-card {
  border-radius:var(--radius); padding:28px 32px; color:#fff;
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
}
.lp-cta-card-lender     { background:linear-gradient(135deg,#0f2d52,#1e3a5f); }
.lp-cta-card-consultant { background:linear-gradient(135deg,#134e4a,#0f766e); }
.lp-cta-card-text h2 { font-size:1.1rem; font-weight:800; margin-bottom:6px; }
.lp-cta-card-text p  { font-size:.85rem; opacity:.8; }
.lp-cta-card-actions { display:flex; gap:10px; flex-wrap:wrap; }

/* Apply form */
.lp-apply-form { margin-bottom:32px; }

/* ── Lender Dashboard ─────────────────────────────────────────────────────────── */
.ldr-logo {
  width:52px; height:52px; border-radius:12px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:1.1rem; font-weight:800;
}
.ldr-products-bar {
  display:flex; align-items:center; flex-wrap:wrap; gap:8px;
  background:var(--surface); border-radius:10px; padding:12px 16px;
  border:1px solid var(--border); margin-bottom:24px; font-size:.82rem;
}
.ldr-products-label { font-weight:700; color:var(--muted); margin-right:4px; }
.ldr-range { color:var(--muted); margin-left:auto; font-size:.75rem; }
.ldr-section-header {
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:8px; margin-bottom:14px;
}
.ldr-section-title { font-size:.95rem; font-weight:800; display:flex; align-items:center; gap:6px; }
.ldr-requests-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(340px,1fr)); gap:16px; margin-bottom:8px; }
.ldr-request-card {
  background:var(--surface); border-radius:12px; padding:16px 18px;
  box-shadow:var(--shadow); border:1px solid var(--border);
}
.ldr-lead { border-left:3px solid var(--accent); }
.ldr-request-top { display:flex; align-items:flex-start; gap:10px; margin-bottom:12px; }
.ldr-borrower-avatar {
  width:38px; height:38px; border-radius:50%; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:.8rem; font-weight:700;
}
.ldr-request-info  { flex:1; min-width:0; }
.ldr-request-name  { font-size:.92rem; font-weight:700; }
.ldr-request-meta  { font-size:.75rem; color:var(--muted); margin-top:1px; }
.ldr-request-amount { font-size:1.1rem; font-weight:800; color:var(--primary); flex-shrink:0; }
.ldr-request-stats {
  display:grid; grid-template-columns:repeat(5,1fr); gap:6px;
  background:var(--bg); border-radius:8px; padding:8px 10px; margin-bottom:10px;
}
.ldr-req-stat { text-align:center; }
.ldr-req-stat span  { display:block; font-size:.6rem; color:var(--muted); text-transform:uppercase; }
.ldr-req-stat strong { display:block; font-size:.78rem; font-weight:700; margin-top:2px; }
.ldr-request-msg {
  font-size:.78rem; color:#475569; font-style:italic;
  background:var(--bg); border-radius:6px; padding:8px 10px; margin-bottom:10px; line-height:1.4;
}
.ldr-request-footer {
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
}
.ldr-contact-btn { margin-left:auto; }
.ldr-empty {
  background:var(--surface); border-radius:12px; padding:28px; text-align:center;
  color:var(--muted); font-size:.88rem; border:1px dashed var(--border); margin-bottom:8px;
}
.ldr-profile-card {
  background:var(--surface); border-radius:var(--radius); padding:22px;
  box-shadow:var(--shadow); border:1px solid var(--border);
}
.ldr-profile-grid {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:14px;
}
.ldr-profile-label { font-size:.72rem; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; margin-bottom:3px; }
.ldr-profile-val   { font-size:.88rem; font-weight:600; }

/* ── Consultant Dashboard ─────────────────────────────────────────────────────── */
.con-inquiries-list { display:flex; flex-direction:column; gap:12px; margin-bottom:8px; }
.con-inquiry-card {
  background:var(--surface); border-radius:12px; padding:14px 18px;
  box-shadow:var(--shadow); border:1px solid var(--border);
}
.con-inquiry-top { display:flex; align-items:flex-start; gap:10px; margin-bottom:8px; flex-wrap:wrap; }
.con-inquiry-msg {
  font-size:.82rem; color:#475569; font-style:italic;
  background:var(--bg); border-radius:6px; padding:8px 10px; line-height:1.5;
}

/* ── Landing + Dashboard Responsive ──────────────────────────────────────────── */
@media(max-width:900px) {
  .lp-stats-bar { flex-wrap:wrap; }
  .lp-stat { flex:1 1 30%; border-bottom:1px solid var(--border); }
  .lp-stat:nth-child(3n) { border-right:none; }
  .owner-summary-grid[style*="repeat(6"] { grid-template-columns:repeat(3,1fr) !important; }
  .ldr-requests-grid { grid-template-columns:1fr; }
}
@media(max-width:600px) {
  .lp-hero { padding:44px 16px 40px; }
  .lp-hero-title { font-size:1.5rem; }
  .lp-stat { flex:1 1 45%; }
  .lp-stats-bar { flex-wrap:wrap; }
  .lp-steps { grid-template-columns:1fr 1fr; }
  .lp-benefits-grid { grid-template-columns:1fr; }
  .lp-cta-card { padding:20px; }
  .owner-summary-grid[style*="repeat(6"] { grid-template-columns:repeat(2,1fr) !important; }
  .ldr-request-stats { grid-template-columns:repeat(3,1fr); }
  .con-inquiry-top { flex-wrap:wrap; }
}
