/* ═══════════════════════════════════════════════════════════
   Prospec.to — Stylesheet
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent:        #7C3AED;
  --accent-hover:  #6D28D9;
  --accent-light:  #F5F3FF;
  --accent-mid:    rgba(124,58,237,.15);
  --bg:            #F8F7FF;
  --surface:       #FFFFFF;
  --border:        #E5E7EB;
  --border-soft:   #F3F0FF;
  --text-1:        #0F172A;
  --text-2:        #64748B;
  --text-3:        #94A3B8;
  --sidebar-w:     244px;
  --radius:        12px;
  --shadow:        0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:     0 4px 20px rgba(0,0,0,.09);
  --shadow-accent: 0 4px 16px rgba(124,58,237,.25);

  --s-encontrado:    #7C3AED; --s-encontrado-bg:    #F5F3FF;
  --s-confirmado:    #059669; --s-confirmado-bg:    #ECFDF5;
  --s-pendente:      #D97706; --s-pendente-bg:      #FFFBEB;
  --s-erro:          #DC2626; --s-erro-bg:          #FEF2F2;
  --s-prospeccao:    #64748B; --s-prospeccao-bg:    #F8FAFC;
  --s-qualificacao:  #3B82F6; --s-qualificacao-bg:  #EFF6FF;
  --s-contato:       #D97706; --s-contato-bg:       #FFFBEB;
  --s-negociacao:    #7C3AED; --s-negociacao-bg:    #F5F3FF;
  --s-cliente:       #059669; --s-cliente-bg:       #ECFDF5;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text-1);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════════════════
   LOGIN
═══════════════════════════════════════════════════ */
#login-screen {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1E0B4B 0%, #2D1060 40%, #4C1D95 100%);
  position: fixed; inset: 0; z-index: 9999;
}
.login-bg-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none;
}
.login-bg-glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.3) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none;
}
.login-card {
  position: relative; z-index: 1;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px; padding: 2.5rem 2.25rem 2.25rem;
  width: 100%; max-width: 380px;
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
}
.login-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 2rem; }
.login-logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, #7C3AED, #A855F7);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-accent);
}
.login-logo-icon svg { width: 20px; height: 20px; color: white; }
.login-logo-name { font-size: 1.2rem; font-weight: 800; color: white; letter-spacing: -.03em; }
.login-logo-name span { color: #C4B5FD; }
.login-title { font-size: 1.1rem; font-weight: 700; color: white; margin-bottom: .3rem; }
.login-sub { font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: 1.75rem; line-height: 1.5; }
.login-field { margin-bottom: .85rem; }
.login-field label {
  display: block; font-size: .68rem; font-weight: 600;
  color: rgba(255,255,255,.5); margin-bottom: .3rem;
  text-transform: uppercase; letter-spacing: .07em;
}
.login-field input {
  width: 100%; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 9px; color: white;
  padding: .7rem .95rem; font-size: .875rem; font-family: inherit;
  outline: none; transition: border-color .2s, background .2s;
}
.login-field input::placeholder { color: rgba(255,255,255,.25); }
.login-field input:focus { border-color: rgba(196,181,253,.5); background: rgba(255,255,255,.1); }
.btn-login {
  width: 100%; margin-top: .5rem;
  background: linear-gradient(135deg, #7C3AED, #A855F7);
  border: none; border-radius: 9px; color: white;
  font-family: inherit; font-size: .875rem; font-weight: 700;
  padding: .8rem; cursor: pointer;
  box-shadow: var(--shadow-accent);
  transition: opacity .2s, transform .15s;
}
.btn-login:hover { opacity: .9; transform: translateY(-1px); }
.btn-login:active { transform: translateY(0); }
.login-footer { text-align: center; margin-top: 1.5rem; font-size: .72rem; color: rgba(255,255,255,.3); }

/* ═══════════════════════════════════════════════════
   APP SHELL
═══════════════════════════════════════════════════ */
#app { display: none; min-height: 100vh; }
#app.active { display: flex; }

/* ── SIDEBAR ──────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w); background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
}
.sidebar-brand { padding: 18px 16px 14px; border-bottom: 1px solid var(--border); }
.brand-logo { display: flex; align-items: center; gap: 10px; }
.brand-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #7C3AED, #A855F7);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: var(--shadow-accent);
}
.brand-icon svg { width: 18px; height: 18px; color: white; }
.brand-name { font-size: 15px; font-weight: 800; color: var(--text-1); letter-spacing: -.03em; }
.brand-name span { color: var(--accent); }
.brand-sub { font-size: 10.5px; color: var(--text-3); margin-top: 1px; }
.sidebar-nav { padding: 12px 8px; flex: 1; overflow-y: auto; }
.nav-label {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-3); padding: 10px 10px 5px;
}
.nav-item {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 10px; border-radius: 8px;
  cursor: pointer; color: var(--text-2);
  font-size: 13.5px; font-weight: 500;
  transition: background .15s, color .15s;
  user-select: none; margin-bottom: 1px;
}
.nav-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.nav-item:hover  { background: var(--bg); color: var(--text-1); }
.nav-item.active { background: var(--accent-light); color: var(--accent); font-weight: 600; }
.nav-badge {
  margin-left: auto; background: var(--accent); color: white;
  font-size: 10px; font-weight: 600;
  padding: 1px 7px; border-radius: 99px; min-width: 20px; text-align: center;
}
.sidebar-footer { padding: 14px 16px; border-top: 1px solid var(--border); }
.sidebar-user { display: flex; align-items: center; gap: 9px; }
.user-avatar {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--accent-light); color: var(--accent);
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.user-name { font-size: 12.5px; font-weight: 600; color: var(--text-1); }
.user-role { font-size: 10.5px; color: var(--text-3); }
.btn-logout {
  margin-left: auto; background: none; border: none;
  color: var(--text-3); cursor: pointer; padding: 4px;
  border-radius: 6px; transition: color .15s, background .15s;
  display: flex; align-items: center;
}
.btn-logout:hover { color: var(--s-erro); background: var(--s-erro-bg); }
.btn-logout svg { width: 15px; height: 15px; }

/* ── MAIN ─────────────────────────────────────────── */
.main { margin-left: var(--sidebar-w); flex: 1; min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 0 28px; height: 62px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
}
.topbar-left h1 { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.topbar-left p  { font-size: 12px; color: var(--text-3); margin-top: 1px; }
.topbar-actions { display: flex; gap: 8px; align-items: center; }
.topbar-divider { width: 1px; height: 20px; background: var(--border); }

/* ── BUTTONS ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 8px;
  font-size: 13px; font-weight: 500;
  cursor: pointer; border: none;
  transition: all .15s; font-family: inherit; white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--text-2); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--bg); color: var(--text-1); }
.btn-ghost:disabled { opacity: .5; cursor: not-allowed; }
.btn-danger { background: var(--s-erro-bg); color: var(--s-erro); border: 1px solid #FECACA; }
.btn-danger:hover { background: #FEE2E2; }
.btn-sm { padding: 6px 11px; font-size: 12px; }

/* ── CONTENT ──────────────────────────────────────── */
.content { padding: 28px; flex: 1; }
.view { display: none; }
.view.active { display: block; }

/* ── SECTION HEADER ───────────────────────────────── */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.section-title { font-size: 14px; font-weight: 600; }
.section-sub   { font-size: 12px; color: var(--text-3); margin-top: 1px; }

/* ── FILTERS + BULK BAR ───────────────────────────── */
.filters {
  display: flex; gap: 8px; margin-bottom: 14px;
  flex-wrap: wrap; align-items: center;
}
.search-wrap { position: relative; flex: 1; min-width: 200px; max-width: 320px; }
.search-wrap svg {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; color: var(--text-3); pointer-events: none;
}
.search-input {
  width: 100%; padding: 8px 10px 8px 32px;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 13px; font-family: inherit;
  background: var(--surface); color: var(--text-1);
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,58,237,.07); }
.filter-select {
  padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 13px; font-family: inherit;
  background: var(--surface); color: var(--text-1);
  outline: none; cursor: pointer;
}
.filter-select:focus { border-color: var(--accent); }

.bulk-bar {
  display: none; align-items: center; gap: 10px;
  background: var(--accent-light); border: 1px solid rgba(124,58,237,.2);
  border-radius: 8px; padding: 8px 14px; margin-bottom: 10px;
  font-size: 13px; color: var(--accent); font-weight: 500;
}
.bulk-bar.active { display: flex; }
.bulk-bar-count { font-weight: 700; }
.bulk-bar-sep { margin-left: auto; }

/* ── TABLE ────────────────────────────────────────── */
.table-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
table { width: 100%; border-collapse: collapse; }
thead th {
  padding: 10px 14px; text-align: left;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--text-3); background: #FAFBFC;
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
thead th.th-check { width: 36px; padding-left: 14px; }
tbody tr { border-bottom: 1px solid var(--border); transition: background .1s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: #FDFCFF; }
tbody tr.selected { background: var(--accent-light); }
tbody td { padding: 11px 14px; font-size: 13px; vertical-align: middle; }
tbody td.td-check { padding-left: 14px; width: 36px; }
.td-muted { color: var(--text-3); font-size: 12px; }
.td-mono  { font-family: 'SF Mono','Fira Code',monospace; font-size: 12px; color: var(--text-2); }
.td-click { cursor: pointer; }
.td-click:hover .td-nome { text-decoration: underline; text-decoration-color: var(--accent); }

/* ── CHECKBOX ─────────────────────────────────────── */
.cb {
  width: 15px; height: 15px; cursor: pointer; accent-color: var(--accent);
  border-radius: 3px;
}

/* ── BADGE ────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 99px;
  font-size: 11px; font-weight: 600; white-space: nowrap;
}
.badge-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.badge-encontrado  { background: var(--s-encontrado-bg);  color: var(--s-encontrado); }
.badge-confirmado  { background: var(--s-confirmado-bg);  color: var(--s-confirmado); }
.badge-pendente    { background: var(--s-pendente-bg);    color: var(--s-pendente); }
.badge-erro        { background: var(--s-erro-bg);        color: var(--s-erro); }
.badge-prospeccao  { background: var(--s-prospeccao-bg);  color: var(--s-prospeccao); }
.badge-qualificacao{ background: var(--s-qualificacao-bg);color: var(--s-qualificacao); }
.badge-contato     { background: var(--s-contato-bg);     color: var(--s-contato); }
.badge-negociacao  { background: var(--s-negociacao-bg);  color: var(--s-negociacao); }
.badge-cliente     { background: var(--s-cliente-bg);     color: var(--s-cliente); }

/* tipo de contato */
.badge-rh          { background: #EFF6FF; color: #3B82F6; }
.badge-dp          { background: #F0FDF4; color: #16A34A; }
.badge-financeiro  { background: #FFF7ED; color: #EA580C; }
.badge-socio       { background: #FDF4FF; color: #A21CAF; }
.badge-diretor     { background: #F5F3FF; color: #7C3AED; }
.badge-administrativo { background: #FFF1F2; color: #BE123C; }
.badge-outro          { background: #F8FAFC; color: #64748B; }

/* ── LINK ─────────────────────────────────────────── */
.link-accent { color: var(--accent); text-decoration: none; font-size: 12px; font-weight: 500; }
.link-accent:hover { text-decoration: underline; }

/* ── EMPTY STATE ──────────────────────────────────── */
.empty-state { text-align: center; padding: 3.5rem 2rem; color: var(--text-3); }
.empty-state svg { width: 40px; height: 40px; margin-bottom: 1rem; opacity: .4; }
.empty-state h3  { font-size: 14px; font-weight: 600; color: var(--text-2); margin-bottom: .4rem; }
.empty-state p   { font-size: 13px; line-height: 1.6; }

/* ── FORM ─────────────────────────────────────────── */
.search-form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); margin-bottom: 20px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 12px; font-weight: 600; color: var(--text-2); }
.form-input, .form-textarea, .form-select {
  padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 13px; font-family: inherit;
  background: var(--surface); color: var(--text-1);
  outline: none; transition: border-color .15s, box-shadow .15s; resize: vertical;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,58,237,.07);
}
.form-textarea { min-height: 90px; }
.form-hint { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.form-actions {
  display: flex; gap: 8px; align-items: center;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border);
}

/* ── RESULTADOS DA BUSCA ──────────────────────────── */
.resultados-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.resultado-group { margin-bottom: 20px; }
.resultado-group-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--text-3);
  padding: 0 0 8px; margin-bottom: 0;
  display: flex; align-items: center; gap: 6px;
}
.resultado-group-title span {
  background: var(--border); color: var(--text-2);
  font-size: 10px; padding: 1px 7px; border-radius: 99px;
}

/* ── CNPJ CARD ────────────────────────────────────── */
.cnpj-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow); margin-bottom: 14px;
}
.cnpj-card-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 16px;
}
.cnpj-company-name { font-size: 15px; font-weight: 700; color: var(--text-1); margin-bottom: 3px; }
.cnpj-fantasy { font-size: 12px; color: var(--text-2); }
.cnpj-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.cnpj-field label {
  font-size: 10.5px; font-weight: 600; color: var(--text-3);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; display: block;
}
.cnpj-field p { font-size: 13px; color: var(--text-1); }
.socios-title {
  font-size: 12px; font-weight: 600; color: var(--text-2);
  margin: 16px 0 10px; padding-top: 16px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.socio-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--border-soft);
}
.socio-row:last-child { border-bottom: none; }
.socio-avatar {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--accent-light); color: var(--accent);
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.socio-name { font-size: 13px; font-weight: 500; color: var(--text-1); }
.socio-qual { font-size: 11px; color: var(--text-3); }
.socio-actions { margin-left: auto; display: flex; gap: 6px; }

/* ── MODAL ────────────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 500;
  background: rgba(15,23,42,.45); backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--surface); border-radius: 16px;
  width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,.18);
  animation: modalIn .18s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(.97) translateY(8px); } to { opacity: 1; transform: none; } }
.modal-header {
  padding: 20px 24px 0;
  display: flex; align-items: center; justify-content: space-between;
}
.modal-title { font-size: 15px; font-weight: 700; }
.modal-close {
  background: none; border: none; cursor: pointer;
  color: var(--text-3); padding: 4px; border-radius: 6px;
  transition: color .15s, background .15s;
  display: flex; align-items: center;
}
.modal-close:hover { color: var(--text-1); background: var(--bg); }
.modal-close svg { width: 18px; height: 18px; }
.modal-body { padding: 20px 24px 24px; }
.modal-footer {
  padding: 0 24px 24px;
  display: flex; gap: 8px; justify-content: flex-end;
}

/* ── DETAIL PANEL ─────────────────────────────────── */
.detail-panel {
  display: none; position: fixed;
  top: 0; right: 0; bottom: 0; width: 380px;
  background: var(--surface); border-left: 1px solid var(--border);
  z-index: 200; overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0,0,0,.08);
  animation: panelIn .2s ease;
}
.detail-panel.open { display: block; }
@keyframes panelIn { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.panel-header {
  padding: 18px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; background: var(--surface); z-index: 1;
}
.panel-title { font-size: 14px; font-weight: 700; }
.panel-close {
  background: none; border: none; cursor: pointer;
  color: var(--text-3); padding: 4px; border-radius: 6px;
  display: flex; align-items: center;
  transition: color .15s, background .15s;
}
.panel-close:hover { color: var(--text-1); background: var(--bg); }
.panel-close svg { width: 18px; height: 18px; }
.panel-body { padding: 20px; }
.panel-section { margin-bottom: 20px; }
.panel-section-title {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--text-3); margin-bottom: 10px;
}
.panel-field { margin-bottom: 10px; }
.panel-field label { font-size: 11px; font-weight: 600; color: var(--text-3); display: block; margin-bottom: 2px; }
.panel-field p { font-size: 13px; color: var(--text-1); }
.panel-field a { color: var(--accent); font-size: 13px; text-decoration: none; }
.panel-field a:hover { text-decoration: underline; }

/* overlay escurece o conteúdo quando panel está aberto */
.panel-backdrop {
  display: none; position: fixed; inset: 0; z-index: 199;
  background: rgba(15,23,42,.12);
}
.panel-backdrop.open { display: block; }

/* ── ADMIN PANEL ──────────────────────────────────── */
.admin-grid { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
.user-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 16px;
  box-shadow: var(--shadow); margin-bottom: 8px;
  display: flex; align-items: center; gap: 12px;
}
.user-card-avatar {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--accent-light); color: var(--accent);
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.user-card-info { flex: 1; min-width: 0; }
.user-card-name { font-size: 13px; font-weight: 600; color: var(--text-1); }
.user-card-email { font-size: 11.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-card-actions { display: flex; gap: 6px; flex-shrink: 0; }

/* ── PROGRESS BAR ─────────────────────────────────── */
.progress-wrap { margin: 6px 0 2px; }
.progress-bar { height: 4px; background: var(--border); border-radius: 99px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--accent); border-radius: 99px; transition: width .4s; }
.progress-label { font-size: 11px; color: var(--text-3); margin-top: 4px; }

/* ── NOTIF BTN ────────────────────────────────────── */
.notif-btn {
  position: relative; background: transparent; border: 1px solid var(--border);
  border-radius: 8px; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-2); transition: all .15s;
}
.notif-btn:hover { background: var(--bg); color: var(--text-1); }
.notif-btn svg { width: 16px; height: 16px; }

/* ── DIVIDER ──────────────────────────────────────── */
hr.divider { border: none; border-top: 1px solid var(--border); margin: 16px 0; }

/* ── NOVA VIDA TI ENRICHMENT ──────────────────────── */
.nv-loading {
  margin-top: 12px; padding: 8px 0;
  font-size: 11px; color: var(--text-3);
  display: flex; align-items: center; gap: 6px;
}
.nv-loading::before {
  content: '';
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  animation: spin .8s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

.nv-section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}
.nv-section-title {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--text-3);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 5px;
}
.nv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.nv-item label {
  display: block; font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--text-3); margin-bottom: 2px;
}
.nv-item p { font-size: 13px; color: var(--text-1); }
.nv-contacts { margin-bottom: 10px; }
.nv-contacts label {
  display: block; font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--text-3); margin-bottom: 6px;
}
.nv-contact-list { display: flex; flex-wrap: wrap; gap: 6px; }
.nv-contact-chip {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 99px;
  background: var(--accent-light); color: var(--accent);
  font-size: 12px; font-weight: 500;
  text-decoration: none; white-space: nowrap;
  border: 1px solid rgba(124,58,237,.15);
  transition: background .12s;
}
.nv-contact-chip:hover { background: var(--accent-mid); }
