/* DANXIS — Sistema tipográfico padronizado do Dossiê Digital */
#view-profile{
  --dx-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --dx-text: 12px;
  --dx-small: 10px;
  --dx-caption: 9px;
  --dx-section: 12px;
  --dx-title: 16px;
  --dx-number: 20px;
  --dx-line: 1.45;
}

/* Uma única família tipográfica em todo o módulo */
#view-profile,
#view-profile *:not(svg):not(path):not(circle):not(rect):not(line):not(polyline):not(polygon):not(ellipse){
  font-family:var(--dx-font)!important;
}

/* Base: textos, valores e conteúdos */
#view-profile p,
#view-profile div,
#view-profile span,
#view-profile td,
#view-profile dd,
#view-profile li,
#view-profile a,
#view-profile label,
#view-profile input,
#view-profile select,
#view-profile textarea,
#view-profile button{
  font-size:var(--dx-text)!important;
  font-weight:400!important;
  line-height:var(--dx-line)!important;
}

/* Negrito padrão — sem exageros */
#view-profile strong,
#view-profile b{
  font-weight:600!important;
}

/* Título principal e nome do fornecedor */
#view-profile .section-title h2,
#view-profile .dossier-company h3,
#view-profile #dossierName{
  font-size:var(--dx-title)!important;
  font-weight:700!important;
  line-height:1.25!important;
}

/* Subtítulos principais */
#view-profile .section-title p,
#view-profile .dossier-company p,
#view-profile .dossier-restricted-copy p{
  font-size:var(--dx-small)!important;
  font-weight:400!important;
  line-height:1.45!important;
}

/* Títulos das barrinhas */
#view-profile .section-head-text strong,
#view-profile .dossier-section-head .section-head-text strong{
  font-size:var(--dx-section)!important;
  font-weight:700!important;
  line-height:1.3!important;
}

/* Descrição das barrinhas */
#view-profile .section-head-text span,
#view-profile .dossier-section-head .section-head-text span{
  font-size:var(--dx-caption)!important;
  font-weight:400!important;
  line-height:1.35!important;
}

/* Contadores, badges, pills e status */
#view-profile .section-counter,
#view-profile .pill,
#view-profile [class*="badge"],
#view-profile [class*="status"],
#view-profile [class*="tag"]{
  font-size:var(--dx-caption)!important;
  font-weight:600!important;
  line-height:1.2!important;
}

/* Labels e rótulos */
#view-profile .basic-item > span,
#view-profile .summary-item > span,
#view-profile .risk-mini > span,
#view-profile dt,
#view-profile .summary-title,
#view-profile .decision-box > span,
#view-profile .credit-score > span,
#view-profile .court-card > span{
  font-size:var(--dx-small)!important;
  font-weight:600!important;
  line-height:1.35!important;
}

/* Valores cadastrais e resumo lateral */
#view-profile .basic-item > strong,
#view-profile .summary-item > strong,
#view-profile .risk-mini > strong,
#view-profile .decision-box > strong,
#view-profile .credit-score small,
#view-profile dd{
  font-size:var(--dx-text)!important;
  font-weight:500!important;
  line-height:1.4!important;
}

/* Cabeçalhos de tabelas */
#view-profile table thead th,
#view-profile .data-table thead th,
#view-profile .stage19-table thead th{
  font-size:var(--dx-small)!important;
  font-weight:700!important;
  line-height:1.3!important;
  letter-spacing:.025em!important;
}

/* Conteúdo das tabelas */
#view-profile table tbody td,
#view-profile .data-table tbody td,
#view-profile .stage19-table tbody td{
  font-size:var(--dx-text)!important;
  font-weight:400!important;
  line-height:1.4!important;
}
#view-profile table tbody td strong,
#view-profile .stage19-row-toggle-copy strong{
  font-size:var(--dx-text)!important;
  font-weight:600!important;
}

/* Botões */
#view-profile button,
#view-profile .btn,
#view-profile .stage15-primary,
#view-profile .stage15-secondary,
#view-profile .stage19-primary,
#view-profile .stage19-secondary{
  font-size:11px!important;
  font-weight:600!important;
  line-height:1.25!important;
}

/* Score e números de destaque — únicos elementos realmente grandes */
#view-profile .score-ring strong,
#view-profile .stage19-summary strong,
#view-profile .stage15-metrics strong,
#view-profile .credit-score > strong,
#view-profile .court-card > strong,
#view-profile .media-score strong{
  font-size:var(--dx-number)!important;
  font-weight:700!important;
  line-height:1.1!important;
}
#view-profile .score-ring span,
#view-profile .stage19-summary span,
#view-profile .stage15-metrics span,
#view-profile .media-score span{
  font-size:var(--dx-caption)!important;
  font-weight:500!important;
}

/* Exposição na mídia */
#view-profile .stage15-intro strong,
#view-profile .stage15-toolbar strong,
#view-profile .stage15-config-copy strong,
#view-profile .stage15-loading strong,
#view-profile .stage15-result h4,
#view-profile .media-result-title{
  font-size:var(--dx-section)!important;
  font-weight:600!important;
  line-height:1.4!important;
}
#view-profile .stage15-intro span,
#view-profile .stage15-toolbar span,
#view-profile .stage15-config-copy span,
#view-profile .stage15-loading span,
#view-profile .stage15-result p,
#view-profile .media-result-snippet{
  font-size:var(--dx-small)!important;
  font-weight:400!important;
  line-height:1.5!important;
}
#view-profile .stage15-filters button,
#view-profile .media-tab,
#view-profile .stage15-type,
#view-profile .stage15-relevance,
#view-profile .stage15-match span,
#view-profile .media-match-badge,
#view-profile .media-topic-tag{
  font-size:var(--dx-caption)!important;
  font-weight:600!important;
}

/* Sócios e administradores */
#view-profile #stage19ShareholdersContent,
#view-profile #stage19ShareholdersContent *:not(svg):not(path){
  font-family:var(--dx-font)!important;
}
#view-profile .stage19-start strong,
#view-profile .stage19-loading strong,
#view-profile .stage19-error strong,
#view-profile .stage19-toolbar strong,
#view-profile .stage19-name-line > strong,
#view-profile .stage19-pep-record-top strong,
#view-profile .stage19-representative-main > div strong,
#view-profile .stage19-row-toggle-copy strong,
#view-profile .stage19-inline-detail-head strong{
  font-size:var(--dx-section)!important;
  font-weight:600!important;
  line-height:1.4!important;
}
#view-profile .stage19-start span,
#view-profile .stage19-loading span,
#view-profile .stage19-error span,
#view-profile .stage19-toolbar span,
#view-profile .stage19-member-data dd,
#view-profile .stage19-pep-record dd,
#view-profile .stage19-representative-main > div span,
#view-profile .stage19-row-toggle-copy small,
#view-profile .stage19-inline-detail-head span{
  font-size:var(--dx-text)!important;
  font-weight:400!important;
  line-height:1.45!important;
}
#view-profile .stage19-member-data dt,
#view-profile .stage19-pep-record dt,
#view-profile .stage19-representative-title strong,
#view-profile .stage19-source-note strong,
#view-profile .stage19-inline-subtitle{
  font-size:var(--dx-small)!important;
  font-weight:600!important;
  line-height:1.35!important;
}
#view-profile .stage19-tags span,
#view-profile .stage19-pep-badge,
#view-profile .stage19-status,
#view-profile .stage19-pep-record-top > span{
  font-size:var(--dx-caption)!important;
  font-weight:600!important;
  line-height:1.2!important;
}

/* Evita pesos extremos herdados de versões anteriores */
#view-profile [style*="font-weight:800"],
#view-profile [style*="font-weight:900"]{
  font-weight:600!important;
}


/* DANXIS — textos cinza convertidos para preto, sem alterar a hierarquia */
#view-profile{
  color:#000000!important;
}

/* Títulos, subtítulos, labels, valores e textos auxiliares */
#view-profile .section-title h2,
#view-profile .section-title p,
#view-profile .dossier-company h3,
#view-profile .dossier-company p,
#view-profile .dossier-summary,
#view-profile .dossier-summary .summary-title,
#view-profile .dossier-summary .summary-item > span,
#view-profile .dossier-summary .summary-item > strong,
#view-profile .decision-box > span,
#view-profile .decision-box > strong,
#view-profile .risk-mini > span,
#view-profile .dossier-restricted-copy,
#view-profile .dossier-restricted-copy p,
#view-profile .dossier-section-body,
#view-profile .dossier-section-body p,
#view-profile .dossier-section-body small,
#view-profile .dossier-section-body label,
#view-profile .dossier-section-body dt,
#view-profile .dossier-section-body dd,
#view-profile .dossier-section-body li,
#view-profile .dossier-section-body th,
#view-profile .dossier-section-body td,
#view-profile .dossier-section-body h1,
#view-profile .dossier-section-body h2,
#view-profile .dossier-section-body h3,
#view-profile .dossier-section-body h4,
#view-profile .dossier-section-body h5,
#view-profile .dossier-section-body h6,
#view-profile .basic-item > span,
#view-profile .basic-item > strong,
#view-profile .credit-score > span,
#view-profile .credit-score > strong,
#view-profile .credit-score small,
#view-profile .court-card > span,
#view-profile .court-card > strong,
#view-profile .media-result-title,
#view-profile .media-result-meta,
#view-profile .media-result-snippet,
#view-profile .stage15-intro strong,
#view-profile .stage15-intro span,
#view-profile .stage15-toolbar strong,
#view-profile .stage15-toolbar span,
#view-profile .stage15-config-copy strong,
#view-profile .stage15-config-copy span,
#view-profile .stage15-loading strong,
#view-profile .stage15-loading span,
#view-profile .stage15-result h4,
#view-profile .stage15-result p,
#view-profile .stage19-start strong,
#view-profile .stage19-start span,
#view-profile .stage19-loading strong,
#view-profile .stage19-loading span,
#view-profile .stage19-error strong,
#view-profile .stage19-error span,
#view-profile .stage19-toolbar strong,
#view-profile .stage19-toolbar span,
#view-profile .stage19-name-line > strong,
#view-profile .stage19-member-data dt,
#view-profile .stage19-member-data dd,
#view-profile .stage19-pep-record dt,
#view-profile .stage19-pep-record dd,
#view-profile .stage19-representative-title strong,
#view-profile .stage19-representative-main > div strong,
#view-profile .stage19-representative-main > div span,
#view-profile .stage19-row-toggle-copy strong,
#view-profile .stage19-row-toggle-copy small,
#view-profile .stage19-inline-detail-head strong,
#view-profile .stage19-inline-detail-head span,
#view-profile .stage19-inline-subtitle,
#view-profile .stage19-source-note strong,
#view-profile .stage19-source-note span{
  color:#000000!important;
}

/* Conteúdo geral das seções: preto, preservando elementos semânticos coloridos */
#view-profile .dossier-section-body span:not(.pill):not([class*="badge"]):not([class*="status"]):not([class*="tag"]):not(.media-tab),
#view-profile .dossier-section-body div:not([class*="badge"]):not([class*="status"]):not([class*="tag"]),
#view-profile .dossier-section-body strong:not([class*="badge"]):not([class*="status"]):not([class*="tag"]){
  color:#000000!important;
}

/* Cabeçalhos azuis continuam com letras brancas */
#view-profile .dossier-section-head,
#view-profile .dossier-section-head .section-symbol,
#view-profile .dossier-section-head .section-head-text strong,
#view-profile .dossier-section-head .section-head-text span,
#view-profile .dossier-section-head .section-counter,
#view-profile .dossier-section-head .section-chevron{
  color:#ffffff!important;
}

/* Botões, links e indicadores coloridos preservam suas cores funcionais */
#view-profile button,
#view-profile .btn,
#view-profile a,
#view-profile .pill,
#view-profile [class*="badge"],
#view-profile [class*="status"],
#view-profile [class*="tag"],
#view-profile .media-tab,
#view-profile .media-match-badge,
#view-profile .media-topic-tag{
  color:revert;
}

/* Placeholders antes cinza agora pretos */
#view-profile input::placeholder,
#view-profile textarea::placeholder{
  color:#000000!important;
  opacity:1!important;
}
