/* ── Reset & tokens ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:   #0D0F14;
  --mid:    #161920;
  --card:   #1C2030;
  --border: #2A2E3F;
  --text:   #E8EAF0;
  --muted:  #7A8099;
  --accent: #C8A45A;
  --green:  #4CAF82;
  --red:    #CF6679;

  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

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

  --shadow: 0 4px 24px rgba(0,0,0,.4);
}

html { font-size: 14px; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
input, select, textarea { font-family: var(--font-body); }

::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--mid); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ── Typography helpers ──────────────────────────────────────────────────────── */
.accent  { color: var(--accent); }
.muted   { color: var(--muted); }
.fw-600  { font-weight: 600; }
.fz-12   { font-size: 12px; }
.fz-13   { font-size: 13px; }
.fz-16   { font-size: 16px; }

/* ── App shell ───────────────────────────────────────────────────────────────── */
.shell {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar ─────────────────────────────────────────────────────────────────── */
.sidebar {
  width: 224px;
  flex-shrink: 0;
  background: var(--mid);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: sticky;
  top: 0;
}

.sidebar__logo {
  padding: 28px 24px 20px;
  border-bottom: 1px solid var(--border);
}
.logo-drive { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--accent); }
.logo-desk  { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--text); }
.logo-sub   { font-size: 10px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }

.sidebar__nav {
  flex: 1;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  border: 1px solid transparent;
  transition: all .18s;
}
.nav-item:hover  { color: var(--text); background: rgba(255,255,255,.04); }
.nav-item.active { color: var(--accent); background: rgba(200,164,90,.1); border-color: rgba(200,164,90,.2); font-weight: 600; }
.nav-icon { font-size: 15px; line-height: 1; width: 18px; text-align: center; }

.sidebar__user {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-name { font-size: 13px; font-weight: 600; }
.user-plan { font-size: 11px; color: var(--muted); text-transform: capitalize; }
.logout-btn { color: var(--muted); font-size: 16px; transition: color .18s; padding: 4px; }
.logout-btn:hover { color: var(--red); }

/* ── Main content ────────────────────────────────────────────────────────────── */
.main-content {
  flex: 1;
  overflow-y: auto;
  max-height: 100vh;
  padding: 36px 40px;
  max-width: 1100px;
}

/* ── Page header ─────────────────────────────────────────────────────────────── */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 16px;
}
.page-title {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
}
.page-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.page-header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.back-link { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; transition: color .18s; }
.back-link:hover { color: var(--accent); }

/* ── Card ────────────────────────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}
.card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
}
.card__title { font-family: var(--font-head); font-size: 18px; font-weight: 600; }

/* ── Metrics grid ────────────────────────────────────────────────────────────── */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.metric-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  transition: border-color .2s;
}
.metric-card:hover { border-color: rgba(200,164,90,.3); }
.metric-icon  { font-size: 20px; color: var(--accent); margin-bottom: 10px; }
.metric-value { font-family: var(--font-head); font-size: 26px; font-weight: 700; }
.metric-sub   { font-size: 12px; color: var(--muted); margin-top: 2px; }
.metric-label { font-size: 10px; color: var(--muted); letter-spacing: .07em; text-transform: uppercase; margin-top: 8px; }

/* ── Data table ──────────────────────────────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table thead tr {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.data-table th {
  padding: 10px 22px;
  text-align: left;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 13px 22px;
  border-bottom: 1px solid rgba(42,46,63,.5);
}
.data-table tbody tr { transition: background .15s; }
.data-table tbody tr:hover { background: rgba(200,164,90,.05); }

.client-cell { display: flex; align-items: center; gap: 10px; }
.client-cell__name  { font-weight: 500; font-size: 14px; }
.client-cell__email { font-size: 12px; color: var(--muted); }

/* ── Client list (clients page) ──────────────────────────────────────────────── */
.client-list { display: flex; flex-direction: column; gap: 8px; }
.client-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .18s;
}
.client-row:hover { border-color: rgba(200,164,90,.4); }
.client-row__info  { flex: 1; }
.client-row__name  { font-weight: 600; font-size: 14px; }
.client-row__contact { font-size: 12px; color: var(--muted); margin-top: 2px; }
.client-row__meta  { text-align: right; }
.client-row__arrow { color: var(--muted); font-size: 22px; }

/* ── Avatar ──────────────────────────────────────────────────────────────────── */
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(200,164,90,.15);
  border: 1px solid rgba(200,164,90,.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 15px; font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.avatar--sm { width: 32px; height: 32px; font-size: 11px; }

/* ── Status tags ─────────────────────────────────────────────────────────────── */
.status-tag {
  display: inline-flex; align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
}
.status--green { background: rgba(76,207,130,.12); color: var(--green); border: 1px solid rgba(76,207,130,.25); }
.status--gold  { background: rgba(200,164,90,.15);  color: var(--accent); border: 1px solid rgba(200,164,90,.3); }
.status--red   { background: rgba(207,102,121,.12); color: var(--red);   border: 1px solid rgba(207,102,121,.25); }
.status--muted { background: rgba(122,128,153,.1);  color: var(--muted); border: 1px solid rgba(122,128,153,.2); }

/* ── Badges ──────────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 11px; font-weight: 600;
}
.badge--gold    { background: rgba(200,164,90,.2);  color: var(--accent); border: 1px solid rgba(200,164,90,.35); }
.badge--outline { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.badge--plan    { background: rgba(200,164,90,.15); color: var(--accent); }

.budget-badge {
  font-family: var(--font-head);
  font-size: 18px; font-weight: 700;
  color: var(--accent);
}

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600;
  transition: all .18s;
  white-space: nowrap;
  cursor: pointer;
}
.btn--accent { background: var(--accent); color: #0D0F14; }
.btn--accent:hover { filter: brightness(1.1); }
.btn--ghost  { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--gold-outline { background: rgba(200,164,90,.1); color: var(--accent); border: 1px solid rgba(200,164,90,.4); }
.btn--gold-outline:hover { background: rgba(200,164,90,.2); }
.btn--sm   { padding: 5px 12px; font-size: 12px; }
.btn--full { width: 100%; }
.btn--danger { color: var(--red) !important; }
.btn--danger:hover { border-color: var(--red) !important; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ── Forms ───────────────────────────────────────────────────────────────────── */
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 760px;
}
.form-section { margin-bottom: 28px; }
.form-section__title {
  font-family: var(--font-head);
  font-size: 16px; font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.form-grid        { display: grid; gap: 14px; }
.form-grid--2     { grid-template-columns: 1fr 1fr; }
.form-group       { display: flex; flex-direction: column; gap: 6px; }
.form-group--full { grid-column: 1 / -1; }
.form-label       { font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: .03em; }
.form-label__hint { font-weight: 400; color: var(--muted); opacity: .7; }

.form-input, .form-select, .form-textarea {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  color: var(--text);
  font-size: 13px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .18s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: rgba(200,164,90,.5);
}
.form-input--sm { padding: 7px 10px; font-size: 12px; }
.form-textarea  { resize: vertical; line-height: 1.6; }
.form-select    { cursor: pointer; }

.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

/* ── Exclusivity notice ──────────────────────────────────────────────────────── */
.exclusivity-notice, .exclusivity-banner {
  background: rgba(200,164,90,.07);
  border: 1px solid rgba(200,164,90,.2);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 12px;
  color: var(--accent);
  line-height: 1.6;
}
.exclusivity-notice { margin: 20px 0; }
.exclusivity-banner { margin-bottom: 22px; }

/* ── Tabs ────────────────────────────────────────────────────────────────────── */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
  gap: 0;
}
.tab {
  padding: 10px 20px;
  font-size: 13px; font-weight: 400;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  background: transparent;
  transition: all .18s;
  margin-bottom: -1px;
}
.tab:hover { color: var(--text); }
.tab--active { color: var(--accent); font-weight: 600; border-bottom-color: var(--accent); }
.tab__count {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(200,164,90,.15);
  color: var(--accent);
  font-size: 11px; font-weight: 700;
  margin-left: 6px;
}

.tab-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

/* ── Vehicle cards ───────────────────────────────────────────────────────────── */
.vehicle-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 12px;
  transition: border-color .18s;
}
.vehicle-card:hover { border-color: rgba(200,164,90,.3); }
.vehicle-card--recommended {
  border-color: rgba(200,164,90,.4);
  background: rgba(200,164,90,.04);
}
.vehicle-card__body {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.vehicle-card__icon {
  width: 44px; height: 44px;
  background: rgba(200,164,90,.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.vehicle-card__title {
  font-weight: 600; font-size: 15px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.vehicle-card__trim   { color: var(--muted); font-weight: 400; }
.vehicle-card__meta   { font-size: 12px; color: var(--muted); margin-top: 3px; }
.vehicle-card__dealer { font-size: 12px; color: var(--muted); margin-top: 2px; }
.vehicle-card__dist   { opacity: .7; }
.vehicle-card__note   { font-size: 12px; color: var(--muted); margin-top: 6px; font-style: italic; }

.vehicle-card__pricing {
  display: flex;
  gap: 24px;
  align-items: baseline;
  padding: 10px 0 0;
  border-top: 1px solid rgba(42,46,63,.6);
  flex-wrap: wrap;
}
.vehicle-card__price    { font-weight: 700; font-size: 18px; color: var(--accent); }
.vehicle-card__shipping { font-size: 12px; color: var(--muted); }
.vehicle-card__shipping--local { color: var(--green); }
.vehicle-card__total    { font-size: 13px; font-weight: 600; color: var(--text); }

.vehicle-card__actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.note-form { margin-top: 10px; }
.note-textarea {
  width: 100%;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: var(--text);
  font-size: 13px;
  font-family: var(--font-body);
  resize: vertical;
  min-height: 80px;
  outline: none;
  margin-bottom: 8px;
}

/* ── Research panel (inline on client detail) ────────────────────────────────── */
.research-panel {
  background: var(--mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  overflow: hidden;
}
.research-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: 16px; font-weight: 600;
}
.research-panel__close {
  color: var(--muted); font-size: 22px; line-height: 1;
  transition: color .15s;
}
.research-panel__close:hover { color: var(--text); }
.research-panel__form {
  display: flex;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.searching-msg { padding: 20px; text-align: center; color: var(--muted); font-size: 13px; }

/* ── Search results (research page) ─────────────────────────────────────────── */
.research-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.research-filters .form-input { flex: 1; min-width: 120px; }

.search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(42,46,63,.4);
  transition: background .15s;
}
.search-result:last-child { border-bottom: none; }
.search-result:hover { background: rgba(200,164,90,.04); }
.search-result--page .search-result__icon {
  width: 44px; height: 44px;
  background: rgba(200,164,90,.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.search-result__info  { flex: 1; }
.search-result__title { font-weight: 600; font-size: 14px; }
.search-result__meta  { font-size: 12px; color: var(--muted); margin-top: 2px; }
.search-result__dealer{ font-size: 12px; color: var(--muted); }
.search-result__pricing { text-align: right; min-width: 160px; }
.search-result__actions { flex-shrink: 0; }

/* ── Dropdown ────────────────────────────────────────────────────────────────── */
.dropdown { position: relative; }
.dropdown__menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: var(--mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  min-width: 180px;
  z-index: 100;
  box-shadow: var(--shadow);
}
.dropdown__menu--open { display: block; }
.dropdown__item {
  display: block;
  width: 100%;
  padding: 7px 12px;
  text-align: left;
  font-size: 13px;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background .15s;
  cursor: pointer;
}
.dropdown__item:hover { background: rgba(200,164,90,.12); color: var(--accent); }
.dropdown__empty { display: block; padding: 10px 12px; font-size: 12px; color: var(--muted); }

/* ── Inquiry rows ────────────────────────────────────────────────────────────── */
.inquiry-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(42,46,63,.4);
  transition: background .15s;
}
.inquiry-row:last-child { border-bottom: none; }
.inquiry-row:hover { background: rgba(200,164,90,.03); }
.inquiry-row--new { border-left: 3px solid var(--accent); }
.inquiry-row__info { flex: 1; }
.inquiry-row__name { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.inquiry-row__contact { font-size: 12px; color: var(--muted); margin-top: 2px; }
.inquiry-row__message { font-size: 12px; color: var(--muted); margin-top: 6px; font-style: italic; line-height: 1.5; }
.inquiry-row__meta { text-align: right; flex-shrink: 0; }
.inquiry-row__actions { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }

/* ── Info rows (settings) ────────────────────────────────────────────────────── */
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(42,46,63,.4);
  font-size: 13px;
}
.info-row:last-child { border-bottom: none; }

/* ── Empty state ─────────────────────────────────────────────────────────────── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 24px;
  text-align: center;
}
.empty-state__icon { font-size: 36px; opacity: .4; }
.empty-state__text { color: var(--muted); font-size: 14px; }

/* ── Flash / alerts ──────────────────────────────────────────────────────────── */
.flash, .alert {
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 20px;
  line-height: 1.5;
}
.flash--success, .alert--success {
  background: rgba(76,207,130,.1);
  border: 1px solid rgba(76,207,130,.25);
  color: var(--green);
}
.flash--error, .alert--error {
  background: rgba(207,102,121,.1);
  border: 1px solid rgba(207,102,121,.25);
  color: var(--red);
}

/* ── Auth pages ──────────────────────────────────────────────────────────────── */
.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(ellipse at 30% 40%, rgba(200,164,90,.05) 0%, transparent 60%), var(--dark);
}
.auth-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  width: 100%;
  max-width: 400px;
}
.auth-logo { margin-bottom: 28px; }
.auth-title { font-family: var(--font-head); font-size: 24px; font-weight: 600; margin-bottom: 22px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-footer { font-size: 13px; color: var(--muted); text-align: center; margin-top: 20px; }

/* ── Public layout ───────────────────────────────────────────────────────────── */
.body--public { background: var(--dark); }

.pub-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 48px;
  border-bottom: 1px solid var(--border);
  background: var(--mid);
}
.pub-logo { font-size: 20px; }
.pub-header__actions { display: flex; gap: 10px; }

.pub-main { padding: 0 48px 60px; max-width: 1200px; margin: 0 auto; }

.pub-hero {
  text-align: center;
  padding: 64px 24px 48px;
}
.pub-hero__title {
  font-family: var(--font-head);
  font-size: 42px; font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}
.pub-hero__sub { font-size: 16px; color: var(--muted); max-width: 520px; margin: 0 auto; }

.pub-footer {
  text-align: center;
  padding: 24px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* ── Concierge grid (marketplace) ────────────────────────────────────────────── */
.concierge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.concierge-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s, transform .2s;
}
.concierge-card:hover { border-color: rgba(200,164,90,.4); transform: translateY(-2px); }
.concierge-card__avatar {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(200,164,90,.15);
  border: 2px solid rgba(200,164,90,.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 20px; font-weight: 700;
  color: var(--accent);
}
.concierge-card__name { font-family: var(--font-head); font-size: 20px; font-weight: 600; }
.concierge-card__plan { font-size: 11px; color: var(--accent); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.concierge-card__bio  { font-size: 13px; color: var(--muted); line-height: 1.6; flex: 1; }
.concierge-card__footer { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.concierge-card__clients { font-size: 12px; color: var(--muted); }
.concierge-card__cta { font-size: 12px; color: var(--accent); font-weight: 600; }

/* ── Public profile ──────────────────────────────────────────────────────────── */
.profile-hero {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 40px 0 28px;
}
.profile-hero__avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(200,164,90,.18);
  border: 2px solid rgba(200,164,90,.4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 26px; font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.profile-hero__name { font-family: var(--font-head); font-size: 32px; font-weight: 700; }
.profile-hero__plan { font-size: 13px; color: var(--accent); margin-top: 4px; font-weight: 600; }
.profile-hero__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }

.profile-bio {
  padding: 20px 24px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.inquiry-form {
  padding: 28px;
  margin-bottom: 40px;
}
.inquiry-form .card__title { margin-bottom: 8px; }

/* ── Geo banners & status ─────────────────────────────────────────────────────*/
.geo-banner {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  margin-bottom: 18px;
  gap: 4px;
}
.geo-banner--ok   { background: rgba(76,207,130,.08);  border: 1px solid rgba(76,207,130,.2);  color: var(--green); }
.geo-banner--warn { background: rgba(200,164,90,.08);  border: 1px solid rgba(200,164,90,.2);  color: var(--accent); }

.geo-status {
  margin-top: 10px;
  font-size: 12px;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
}
.geo-status--resolved { background: rgba(76,207,130,.08);  color: var(--green);  border: 1px solid rgba(76,207,130,.2); }
.geo-status--pending  { background: rgba(122,128,153,.08); color: var(--muted);  border: 1px solid var(--border); }

/* ── Research filter rows ─────────────────────────────────────────────────────*/
.research-filters         { display: flex; flex-direction: column; gap: 12px; }
.research-filters__row    { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.research-filters__row .form-input,
.research-filters__row .form-select { flex: 1; min-width: 120px; }
.research-filters__row--geo .form-group { display: flex; flex-direction: column; gap: 6px; }

/* ── Distance badge in results ────────────────────────────────────────────────*/
.dist-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(200,164,90,.12);
  color: var(--accent);
  border: 1px solid rgba(200,164,90,.25);
}
