/* ── Augmene Clinic Portal — portal.css ──────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #1E88E5;
  --primary-dark:  #1565C0;
  --primary-light: #E3F2FD;
  --navy:          #0F172A;
  --navy-mid:      #1E293B;
  --navy-light:    #334155;
  --text:          #475569;
  --text-dark:     #1E293B;
  --text-muted:    #94A3B8;
  --bg:            #F8FAFC;
  --bg-card:       #FFFFFF;
  --border:        #E2E8F0;
  --success:       #10B981;
  --warning:       #F59E0B;
  --danger:        #EF4444;
  --info:          #3B82F6;
  --purple:        #8B5CF6;
  --radius:        8px;
  --shadow:        0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:     0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.05);
  --font:          'Inter', system-ui, -apple-system, sans-serif;
  --sidebar-w:     256px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Auth loading overlay ──────────────────────────────────────────────────── */
.auth-loading {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy);
  z-index: 9999;
}

/* ── Login page ────────────────────────────────────────────────────────────── */
.login-body {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy);
  padding: 24px;
}

.login-container { width: 100%; max-width: 420px; }

.login-card {
  background: white;
  border-radius: 14px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.login-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
}
.login-logo svg { flex-shrink: 0; }
.login-brand { font-size: 22px; font-weight: 700; color: var(--navy); letter-spacing: -0.4px; }

.login-title   { font-size: 22px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.login-subtitle { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }

.login-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 13px; font-weight: 500; color: var(--text-dark);
}

.label-with-link {
  display: flex; justify-content: space-between; align-items: center;
}

.forgot-link {
  font-size: 12px; font-weight: 400; color: var(--text-muted);
}
.forgot-link:hover { color: var(--primary); text-decoration: none; }

.form-group input {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px; font-family: var(--font);
  color: var(--text-dark);
  transition: border-color 0.15s;
  outline: none;
  width: 100%;
}
.form-group input:focus { border-color: var(--primary); }

.form-error {
  font-size: 13px; color: #B91C1C;
  background: #FEF2F2; border-radius: var(--radius);
  padding: 9px 13px;
}

.form-info {
  font-size: 13px; padding: 9px 13px; border-radius: var(--radius);
}
.form-info.success { color: #047857; background: #ECFDF5; }
.form-info.error   { color: #B91C1C; background: #FEF2F2; }

.reset-section { margin-top: 4px; }
.reset-info    { font-size: 13px; color: var(--text); margin-bottom: 14px; }
.reset-actions { display: flex; gap: 8px; margin-top: 12px; }

.login-disclaimer {
  text-align: center;
  font-size: 12px; color: rgba(255,255,255,0.3);
  margin-top: 16px;
}
.login-back-link {
  display: block;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  margin-top: 10px;
  transition: color 0.15s;
}
.login-back-link:hover { color: rgba(255,255,255,0.5); }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 17px;
  border-radius: var(--radius);
  font-size: 13.5px; font-weight: 500; font-family: var(--font);
  cursor: pointer; border: none;
  transition: background 0.15s, opacity 0.15s, border-color 0.15s;
  white-space: nowrap; text-decoration: none;
}
.btn:disabled  { opacity: 0.55; cursor: not-allowed; }
.btn-primary   { background: var(--primary); color: white; }
.btn-primary:hover:not(:disabled) { background: var(--primary-dark); }
.btn-outline   { background: white; color: var(--text-dark); border: 1.5px solid var(--border); }
.btn-outline:hover:not(:disabled) { background: var(--bg); border-color: #CBD5E1; }
.btn-ghost     { background: transparent; color: var(--text); }
.btn-ghost:hover:not(:disabled) { background: rgba(0,0,0,0.05); }
.btn-danger    { background: var(--danger); color: white; }
.btn-danger:hover:not(:disabled) { background: #DC2626; }
.btn-full      { width: 100%; }
.btn-sm        { padding: 5px 12px; font-size: 12.5px; }

/* ── Spinner ───────────────────────────────────────────────────────────────── */
.spinner, .loading-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  flex-shrink: 0;
}
.loading-spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── App layout ────────────────────────────────────────────────────────────── */
.app-body { display: flex; min-height: 100vh; }

/* ── Sidebar ───────────────────────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  background: var(--navy);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0;
  z-index: 100;
  overflow-y: auto;
}

.sidebar-header {
  padding: 20px 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.sidebar-logo { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.sidebar-brand { font-size: 18px; font-weight: 700; color: white; letter-spacing: -0.3px; }

.sidebar-clinic-name {
  font-size: 12px; color: rgba(255,255,255,0.38);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 200px;
}

.sidebar-nav { flex: 1; padding: 14px 10px; }

.nav-section-label {
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.8px;
  color: rgba(255,255,255,0.28);
  padding: 0 9px; margin: 14px 0 5px;
  display: block;
}
.nav-section-label:first-child { margin-top: 0; }

.nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  text-decoration: none; margin-bottom: 1px;
}
.nav-link:hover { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.9); text-decoration: none; }
.nav-link.active { background: rgba(30,136,229,0.18); color: #5BAFE8; }
.nav-icon { font-size: 15px; opacity: 0.7; flex-shrink: 0; }

.sidebar-footer {
  padding: 14px 10px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.sidebar-user {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 7px;
}

.user-avatar {
  width: 30px; height: 30px;
  background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: white;
  flex-shrink: 0;
}

.user-info { flex: 1; min-width: 0; }
.user-email  { font-size: 12px; color: rgba(255,255,255,0.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-role   { font-size: 11px; color: rgba(255,255,255,0.3); text-transform: capitalize; }

.signout-btn {
  background: none; border: none;
  color: rgba(255,255,255,0.28); cursor: pointer;
  padding: 4px; border-radius: 4px; font-size: 15px;
  transition: color 0.12s; flex-shrink: 0;
}
.signout-btn:hover { color: rgba(255,255,255,0.65); }

/* ── Main content ──────────────────────────────────────────────────────────── */
.main-content {
  flex: 1; margin-left: var(--sidebar-w);
  display: flex; flex-direction: column; min-height: 100vh;
}

.top-bar {
  background: white; border-bottom: 1px solid var(--border);
  padding: 0 26px; height: 58px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
}

.page-title { font-size: 15px; font-weight: 600; color: var(--text-dark); }
.top-bar-actions { display: flex; gap: 10px; align-items: center; }

.content-area { flex: 1; padding: 26px 28px; }

/* ── Cards ─────────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}

.card-title { font-size: 13.5px; font-weight: 600; color: var(--text-dark); }
.card-body  { padding: 20px; }

/* ── Stats grid ────────────────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px; margin-bottom: 22px;
}

.stat-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}

.stat-icon {
  position: absolute; right: 16px; top: 16px;
  font-size: 22px; opacity: 0.12; color: var(--text-dark);
}

.stat-label {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--text-muted); margin-bottom: 8px;
}

.stat-value { font-size: 28px; font-weight: 700; color: var(--text-dark); line-height: 1; }
.stat-sub   { font-size: 12px; color: var(--text-muted); margin-top: 5px; }

/* ── Tables ────────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; font-size: 13.5px; }

th {
  text-align: left; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--text-muted); padding: 10px 16px;
  border-bottom: 1px solid var(--border); white-space: nowrap;
  background: var(--bg);
}

td {
  padding: 11px 16px; border-bottom: 1px solid var(--border);
  color: var(--text); vertical-align: middle;
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: #FAFBFC; }

.td-primary { color: var(--text-dark); font-weight: 500; }
.td-mono    { font-family: monospace; font-size: 12px; color: var(--text-dark); }

.td-link {
  color: var(--primary); cursor: pointer; font-weight: 500;
}
.td-link:hover { text-decoration: underline; }

/* ── Badges ────────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 20px;
  font-size: 12px; font-weight: 500; white-space: nowrap;
}

.badge-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

.badge-complete     { background: #ECFDF5; color: #047857; }
.badge-complete     .badge-dot { background: #10B981; }
.badge-failed       { background: #FEF2F2; color: #B91C1C; }
.badge-failed       .badge-dot { background: var(--danger); }
.badge-running      { background: #EFF6FF; color: #1D4ED8; }
.badge-running      .badge-dot { background: var(--info); animation: pulse 1.5s infinite; }
.badge-queued       { background: #FFFBEB; color: #92400E; }
.badge-queued       .badge-dot { background: var(--warning); }
.badge-uploading    { background: #F0FDF4; color: #166534; }
.badge-uploading    .badge-dot { background: #22C55E; animation: pulse 1.5s infinite; }
.badge-provisioning { background: #F5F3FF; color: #5B21B6; }
.badge-provisioning .badge-dot { background: var(--purple); animation: pulse 1.5s infinite; }
.badge-default      { background: var(--bg); color: var(--text-muted); }
.badge-default      .badge-dot { background: var(--text-muted); }
.badge-owner        { background: #ECFDF5; color: #047857; }
.badge-manager      { background: #EFF6FF; color: #1D4ED8; }
.badge-staff        { background: var(--bg); color: var(--text-muted); }

@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ── Progress bar ──────────────────────────────────────────────────────────── */
.progress-bar-wrap {
  height: 5px; background: var(--border); border-radius: 3px; overflow: hidden;
}
.progress-bar {
  height: 100%; background: var(--primary); border-radius: 3px; transition: width 0.4s;
}

/* ── Search bar ────────────────────────────────────────────────────────────── */
.search-bar {
  display: flex; align-items: center; gap: 8px;
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 7px 13px; width: 280px;
}

.search-bar input {
  border: none; outline: none;
  font-size: 13.5px; font-family: var(--font);
  color: var(--text-dark); flex: 1; background: transparent;
}

.search-icon { color: var(--text-muted); font-size: 14px; flex-shrink: 0; }

/* ── Page header ───────────────────────────────────────────────────────────── */
.page-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 20px; gap: 16px; flex-wrap: wrap;
}

.page-heading { font-size: 20px; font-weight: 700; color: var(--text-dark); }
.page-sub     { font-size: 13px; color: var(--text-muted); margin-top: 3px; }

/* ── Back link ─────────────────────────────────────────────────────────────── */
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  cursor: pointer; margin-bottom: 14px; transition: color 0.12s;
  user-select: none;
}
.back-link:hover { color: var(--text-dark); text-decoration: none; }

/* ── Info grid ─────────────────────────────────────────────────────────────── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px 22px;
}

.info-label {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--text-muted); margin-bottom: 4px;
}

.info-value { font-size: 14px; color: var(--text-dark); font-weight: 500; }

/* ── Section ───────────────────────────────────────────────────────────────── */
.section-gap   { margin-bottom: 22px; }
.section-title {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.6px;
  color: var(--text-muted); margin-bottom: 12px;
}

/* ── Artifacts ─────────────────────────────────────────────────────────────── */
.artifact-list { display: flex; flex-direction: column; gap: 10px; }

.artifact-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); gap: 12px;
}

.artifact-name { font-size: 13.5px; font-weight: 500; color: var(--text-dark); }
.artifact-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.artifact-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ── Model viewer ──────────────────────────────────────────────────────────── */
.model-viewer-wrap {
  width: 100%; aspect-ratio: 16/9;
  background: var(--navy-mid);
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
}

model-viewer { width: 100%; height: 100%; }

/* ── Dimensions ────────────────────────────────────────────────────────────── */
.dims-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.dim-item {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px;
  text-align: center;
}

.dim-label {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.4px;
  color: var(--text-muted); margin-bottom: 7px;
}

.dim-value  { font-size: 22px; font-weight: 700; color: var(--text-dark); line-height: 1; }
.dim-unit   { font-size: 12px; font-weight: 400; color: var(--text-muted); }

/* ── Loading / empty / error ───────────────────────────────────────────────── */
.loading-state {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 64px 20px;
  color: var(--text-muted); gap: 14px;
  font-size: 14px;
}

.empty-state {
  text-align: center; padding: 52px 20px; color: var(--text-muted);
}
.empty-icon { font-size: 36px; margin-bottom: 12px; opacity: 0.35; }
.empty-text { font-size: 14px; }

.error-state {
  background: #FEF2F2; border: 1px solid #FECACA;
  color: #B91C1C; padding: 14px 16px;
  border-radius: var(--radius); font-size: 13.5px;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .sidebar      { transform: translateX(-100%); transition: transform 0.25s ease; }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .content-area { padding: 16px; }
  .stats-grid   { grid-template-columns: 1fr 1fr; }
  .dims-table   { grid-template-columns: 1fr 1fr; }
  .info-grid    { grid-template-columns: 1fr 1fr; }
  .search-bar   { width: 100%; }
  .page-header  { flex-direction: column; align-items: flex-start; }
  .model-viewer-wrap { aspect-ratio: 4/3; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .login-card { padding: 28px 22px; }
}

/* ── Mobile sidebar toggle ─────────────────────────────────────────────────── */
.sidebar-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: none; border: 1.5px solid var(--border);
  border-radius: var(--radius); cursor: pointer;
  font-size: 20px; color: var(--text-dark); line-height: 1;
  flex-shrink: 0;
}
.sidebar-toggle:hover { background: var(--bg); }

.sidebar-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.4); z-index: 99;
}
.sidebar-backdrop.visible { display: block; }

.sidebar-close-mobile {
  display: none; position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,0.1); border: none; border-radius: 6px;
  color: rgba(255,255,255,0.6); font-size: 18px; width: 32px; height: 32px;
  cursor: pointer; align-items: center; justify-content: center;
}
.sidebar-close-mobile:hover { background: rgba(255,255,255,0.2); color: white; }

@media (max-width: 768px) {
  .sidebar-toggle { display: flex; }
  .sidebar-close-mobile { display: flex; }
  .top-bar { padding: 0 14px; }
}

/* ── Admin Console additions ──────────────────────────────────────────────── */

/* Red-tinted sidebar for admin to clearly distinguish from clinic portal */
.admin-sidebar { border-right-color: rgba(229,57,53,0.25); }
.admin-sidebar .sidebar-header { border-bottom-color: rgba(229,57,53,0.2); }

.admin-badge-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #E53935;
  padding: 3px 8px;
  background: rgba(229,57,53,0.12);
  border-radius: 4px;
  margin-top: 6px;
  display: inline-block;
}

.admin-env-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #E53935;
  background: rgba(229,57,53,0.1);
  border: 1px solid rgba(229,57,53,0.3);
  border-radius: 4px;
  padding: 3px 8px;
  margin-right: 8px;
}

.admin-avatar { background: #E53935; }

/* Table helper classes */
.td-empty { text-align: center; padding: 32px; color: var(--text-muted); font-size: 14px; }

/* Role badges for members */
.badge-owner   { background: rgba(30,136,229,0.12); color: #1E88E5; }
.badge-manager { background: rgba(124,58,237,0.12); color: #7C3AED; }
.badge-staff   { background: rgba(100,116,139,0.12); color: #64748B; }

/* Jobs filter buttons in top bar */
.page-header { flex-wrap: wrap; gap: 12px; }

/* ── Invite Staff ──────────────────────────────────────────────────────────── */
.invite-success {
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 14px;
}
.invite-success__title { font-weight: 600; color: var(--success); margin-bottom: 6px; font-size: 14px; }
.invite-success__info  { font-size: 13px; color: var(--text); margin-bottom: 10px; line-height: 1.5; }
.invite-link-wrap      { display: flex; gap: 8px; align-items: center; }
.invite-link-input {
  flex: 1;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 10px;
  color: var(--text-muted);
  font-size: 11px;
  font-family: monospace;
  min-width: 0;
}

/* ── Generic form input (used in admin create-clinic form etc.) ────────────── */
.form-input {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}
.form-input:focus { border-color: var(--primary); }

/* ── Verification banner ───────────────────────────────────────────────────── */
.verification-banner {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 13.5px;
  color: #92400E;
  margin-bottom: 18px;
  line-height: 1.55;
}
.verification-banner a { color: #B45309; text-decoration: underline; }

/* ── Getting-started steps ─────────────────────────────────────────────────── */
.getting-started-steps {
  list-style: none;
  counter-reset: gs;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.getting-started-steps li {
  counter-increment: gs;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.55;
}
.getting-started-steps li::before {
  content: counter(gs);
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}

/* ── Support page two-column grid ──────────────────────────────────────────── */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 22px;
  align-items: start;
}
@media (max-width: 860px) {
  .support-grid { grid-template-columns: 1fr; }
}

/* ── FAQ list ──────────────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-q {
  font-size: 13.5px; font-weight: 600; color: var(--text-dark);
  margin-bottom: 5px;
}
.faq-a { font-size: 13px; color: var(--text); line-height: 1.6; }
.faq-a a { color: var(--primary); }

/* ── Active-scan polling banner ────────────────────────────────────────────── */
.scan-polling-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(30,136,229,0.08);
  border: 1px solid rgba(30,136,229,0.2);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--info);
  margin-bottom: 16px;
}
