
/* HBSMCIR 1.0.20 — padronização tipográfica global
   Somente tipografia/espaçamento textual. Não altera regras, cores ou dados. */

:root{
  --hb-font:"DM Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  --hb-mono:"DM Mono","SFMono-Regular",Consolas,monospace;
  --hb-fs-xs:10px;
  --hb-fs-sm:11px;
  --hb-fs-md:12px;
  --hb-fs-base:13px;
  --hb-fs-lg:15px;
  --hb-fs-xl:18px;
  --hb-lh:1.42;
}

/* Base */
html,body{
  font-family:var(--font-body,var(--hb-font))!important;
  font-size:var(--hb-fs-base)!important;
  line-height:var(--hb-lh)!important;
  font-weight:400;
  letter-spacing:0;
}

/* Elementos nativos e controles */
button,input,select,textarea,option{
  font-family:inherit!important;
  font-size:var(--hb-fs-md)!important;
  line-height:1.35!important;
  font-weight:500;
}
input::placeholder,textarea::placeholder{
  font-family:inherit!important;
  font-size:var(--hb-fs-md)!important;
  font-weight:400!important;
}
label{
  font-family:inherit!important;
  font-size:var(--hb-fs-md)!important;
  line-height:1.4!important;
  font-weight:600!important;
}
a{font-family:inherit}

/* Títulos */
h1,.page-title{
  font-family:inherit!important;
  font-size:var(--hb-fs-xl)!important;
  line-height:1.25!important;
  font-weight:700!important;
  letter-spacing:-.01em;
}
h2,.card>h2,.dash-panel-head h2{
  font-family:inherit!important;
  font-size:var(--hb-fs-lg)!important;
  line-height:1.3!important;
  font-weight:700!important;
  letter-spacing:0;
}
h3,h4{
  font-family:inherit!important;
  font-size:var(--hb-fs-base)!important;
  line-height:1.35!important;
  font-weight:700!important;
}

/* Cabeçalho da página */
.topbar h1,.topbar strong,.page-header h1{
  font-family:inherit!important;
  font-size:var(--hb-fs-lg)!important;
  font-weight:700!important;
}
.topbar small,.page-header small,.page-subtitle{
  font-family:inherit!important;
  font-size:var(--hb-fs-sm)!important;
  font-weight:400!important;
}

/* Sidebar */
.sidebar,.sidebar button,.sidebar input,.sidebar a,.sidebar span,.sidebar small{
  font-family:inherit!important;
}
.sb-logo-title{font-size:var(--hb-fs-base)!important;font-weight:700!important}
.sb-logo-sub{font-size:var(--hb-fs-sm)!important;font-weight:400!important}
.sb-admin-tools-title,.sb-group summary{
  font-size:var(--hb-fs-sm)!important;
  font-weight:700!important;
  letter-spacing:.02em!important;
}
.nav-item{
  font-size:var(--hb-fs-md)!important;
  font-weight:500!important;
  line-height:1.35!important;
}
.sb-menu-search{font-size:var(--hb-fs-md)!important}
.sb-footer,.sb-badge{font-size:var(--hb-fs-sm)!important}

/* Cards e conteúdo */
.card,p,li,dd,dt{
  font-family:inherit!important;
}
.card p,.card li{
  font-size:var(--hb-fs-md)!important;
  line-height:1.45!important;
}
.card b,.card strong{
  font-weight:700;
}
.grid b,.grid label{
  font-size:var(--hb-fs-sm)!important;
  font-weight:700!important;
}
.grid p{
  font-size:var(--hb-fs-md)!important;
}

/* Botões */
.button,.btn,button{
  font-family:inherit!important;
  font-size:var(--hb-fs-md)!important;
  line-height:1.2!important;
  font-weight:600!important;
  letter-spacing:0!important;
}
.btn-sm,.button.small{
  font-size:var(--hb-fs-sm)!important;
}

/* Tabelas */
table,thead,tbody,tr,th,td{
  font-family:inherit!important;
}
thead th,table th{
  font-size:var(--hb-fs-sm)!important;
  line-height:1.25!important;
  font-weight:700!important;
  letter-spacing:.01em!important;
  text-transform:uppercase;
}
tbody td,table td{
  font-size:var(--hb-fs-md)!important;
  line-height:1.38!important;
  font-weight:400;
}
table td strong,table td b{
  font-size:inherit!important;
  font-weight:700!important;
}
table small{
  font-size:var(--hb-fs-xs)!important;
  line-height:1.3!important;
}

/* Badges / resultados */
.badge,.queue-result,.dash-pill,.check-stage,.check-summary b,
.insurer-ref-chip,.insurer-ref-pill{
  font-family:inherit!important;
  font-size:var(--hb-fs-sm)!important;
  line-height:1.15!important;
  font-weight:700!important;
  letter-spacing:0!important;
}

/* Filtros e ferramentas */
.filters,.hbc-tools,.hbsmcir-table-tools,.hbc-filterbar{
  font-family:inherit!important;
}
.hbc-search,.hbsmcir-table-search,.hbc-filter-btn,.hbsmcir-filter-title,
.hbc-pop,.hbc-option,.hbsmcir-filter-option{
  font-family:inherit!important;
  font-size:var(--hb-fs-md)!important;
}
.hbc-count,.hbsmcir-table-count{
  font-size:var(--hb-fs-sm)!important;
}

/* Dashboard */
.dash-head h2{font-size:var(--hb-fs-xl)!important}
.dash-head p{font-size:var(--hb-fs-md)!important}
.dash-kpi span,.dash-mini span,.dash-mini small,.dash-panel-head small{
  font-size:var(--hb-fs-sm)!important;
}
.dash-kpi strong{font-size:26px!important;font-weight:700!important}
.dash-mini strong{font-size:19px!important;font-weight:700!important}
.dash-bar-row,.aging-row,.dash-table,.dash-recent-row{
  font-family:inherit!important;
}
.dash-bar-row,.aging-row{font-size:var(--hb-fs-md)!important}
.dash-table th{font-size:var(--hb-fs-sm)!important}
.dash-table td{font-size:var(--hb-fs-md)!important}
.dash-recent-row strong,.dash-recent-row span{font-size:var(--hb-fs-md)!important}
.dash-recent-row small{font-size:var(--hb-fs-sm)!important}

/* Consulta do convênio */
.insurer-check-card,.insurer-check-table,.check-raw{
  font-family:inherit!important;
}
.insurer-check-card>summary{
  font-size:var(--hb-fs-md)!important;
  line-height:1.35!important;
}
.insurer-check-table th{font-size:var(--hb-fs-sm)!important}
.insurer-check-table td{font-size:var(--hb-fs-md)!important}
.check-raw>summary{font-size:var(--hb-fs-sm)!important}
.check-raw pre{
  font-family:var(--hb-mono)!important;
  font-size:var(--hb-fs-sm)!important;
  line-height:1.45!important;
}

/* Evita diferenças de fonte em arquivos/inputs do navegador */
input[type=file]::file-selector-button{
  font-family:inherit!important;
  font-size:var(--hb-fs-md)!important;
  font-weight:600!important;
}

/* Mantém números/códigos legíveis sem mudar o restante */
code,pre{
  font-family:var(--hb-mono);
}

/* Responsivo: evita texto minúsculo em telas estreitas */
@media(max-width:760px){
  html,body{font-size:13px!important}
  tbody td,table td,.nav-item,.button,.btn,button,input,select,textarea{
    font-size:12px!important;
  }
}
