/* Praxis Dialyse · indicadores (dialise-indicadores.js). Prefixo hi-. */
.hi { min-width: 0; }
.hi-barra { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 16px; margin: 6px 0 10px; }
.hi-barra label { display: flex; flex-direction: column; gap: 2px; font-size: .82rem; font-weight: 600; color: var(--aco); }
.hi-barra select { min-width: 200px; }
.hi-barra p { margin: 0 0 6px; font-size: .86rem; }
.hi-intro { margin: 10px 0; font-size: .88rem; }
.hi-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; margin-top: 10px; }
.hi-card { padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; border-left: 4px solid var(--linha); }
.hi-card.hi-ok { border-left-color: var(--ok); } .hi-card.hi-mal { border-left-color: var(--mal); }
.hi-card.hi-na { opacity: .75; background: transparent; }
.hi-card.hi-sem { border-left-style: dashed; }
.hi-ct { display: flex; gap: 8px; align-items: flex-start; line-height: 1.25; }
.hi-num { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--px-suave); color: var(--px); font-size: .74rem; font-weight: 700; }
.hi-res { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 4px 0 0; }
.hi-res strong { font-family: var(--f-tit); font-size: 1.7rem; font-variant-numeric: tabular-nums; line-height: 1.1; }
.hi-card small { font-size: .78rem; line-height: 1.3; }
.hi-meta { font-weight: 600; color: var(--tinta); }
.hi-ref { color: var(--aco); font-style: italic; }
.hi-semtxt { margin: 4px 0; color: var(--aco); font-size: .86rem; }
.hi-kpis { margin: 10px 0; }
.hi-2col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 10px; margin-top: 10px; }
.hi-2col h3, .hi .cx-p h3 { margin: 0 0 6px; font-size: 1rem; }
.hi .cx-p { margin-top: 10px; }
.hi-lista { list-style: none; margin: 6px 0; padding: 0; }
.hi-lista li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--linha); font-size: .9rem; }
.hi-lista li:last-child { border-bottom: 0; }
.hi-barras { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
.hi-bl { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(60px, 1fr) 28px; gap: 8px; align-items: center; font-size: .86rem; }
.hi-bt { height: 10px; background: var(--bg); border-radius: 4px; overflow: hidden; }
.hi-bt i { display: block; height: 100%; background: var(--px); border-radius: 0 4px 4px 0; min-width: 2px; }
.hi-bl b { text-align: right; font-variant-numeric: tabular-nums; }
.hi-tabwrap { max-width: 100%; }
.hi-tab { width: 100%; border-collapse: collapse; font-size: .88rem; }
.hi-tab th, .hi-tab td { padding: 6px 8px; border-bottom: 1px solid var(--linha); text-align: center; }
.hi-tab th[scope="row"], .hi-tab thead th:first-child { text-align: left; }
.hi-fora td { text-align: left; }
.hi-fora .hd-al { display: inline-block; margin: 2px 2px 2px 0; }
.hi-lk { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--px); text-decoration: underline; cursor: pointer; text-align: left; }
.hi-grafs { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.hi-graf { padding: 10px 12px; }
.hi-graf svg { display: block; width: 100%; height: auto; margin-top: 4px; overflow: visible; }
.hi-gg { stroke: var(--linha); stroke-width: 1; }
.hi-gt { font-size: 9px; fill: var(--aco); }
.hi-gv { font-size: 11px; font-weight: 700; fill: var(--tinta); }
.hi-gmeta { stroke: var(--aco); stroke-width: 1; stroke-dasharray: 4 3; }
.hi-gl { fill: none; stroke: var(--px); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.hi-gp { fill: var(--px); stroke: var(--sup); stroke-width: 2; }
.hi-gp-mal { fill: var(--mal); }
.hi-naosao ul { list-style: none; margin: 6px 0 0; padding: 0; font-size: .86rem; }
.hi-naosao li { padding: 3px 0; }
.hi-naosao .hi-num { width: 20px; height: 20px; margin-right: 4px; }
.hi-tab thead th { font-size: .74rem; color: var(--aco); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.hi-tab tbody th[scope="row"] { font-weight: 600; }
.hi-mob { display: none; }
.hi-mobc { border-top: 1px solid var(--linha); padding: 8px 0; }
.hi-fora thead th { text-align: left; }
@media (max-width: 760px) {
  .hi-barra select { min-width: 0; width: 100%; }
  .hi-barra label { flex: 1 1 100%; }
  .hi-grade, .hi-grafs, .hi-2col { grid-template-columns: 1fr; }
  .hi-desk { display: none; }
  .hi-mob { display: block; }
  .hi-fora thead { display: none; }
  .hi-fora tr { display: block; border-bottom: 1px solid var(--linha); padding: 6px 0; }
  .hi-fora th, .hi-fora td { display: block; border: 0; padding: 2px 0; text-align: left; }
}
