.chamada-visual [hidden] { display: none !important; }
.chamada-visual [aria-pressed="true"] { background: #a6f5cc; color: #09251c; }
.chamada-filtros, .chamada-contadores { display: grid; gap: .6rem; margin-bottom: .75rem; }
.chamada-filtros { grid-template-columns: 2fr 1fr 1fr; }
.chamada-filtros .field { min-width: 0; }
.chamada-contadores { grid-template-columns: repeat(4,minmax(0,1fr)); }
.chamada-contadores > div, .chamada-aluno { background: #0c3034; border: 1px solid #456969; border-radius: 9px; padding: .65rem; }
.chamada-contadores strong { display: block; margin-top: .2rem; font-size: 1.35rem; }
.chamada-contadores [data-contador-chamada="presente"] { border-color: #69c99e; }
.chamada-contadores [data-contador-chamada="falta"] { border-color: #ff9ca3; }
.chamada-contadores [data-contador-chamada="justificada"] { border-color: #f3ce76; }
.chamada-rolagem, #freqPainelHistorico .table-wrap { max-height: min(34rem, 57vh); overflow: auto; }
.chamada-aluno { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .55rem; align-items: center; margin-bottom: .4rem; overflow-wrap: anywhere; }
.chamada-opcoes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .3rem; }
.chamada-opcoes button { min-height: 44px; border: 1px solid #507575; border-radius: 7px; background: #103135; color: #f1faf8; padding: .35rem; font: inherit; font-size: .87rem; cursor: pointer; }
.chamada-opcoes [data-chamada-status="falta"][aria-pressed="true"] { background: #ff9ca3; color: #35101a; }
.chamada-opcoes [data-chamada-status="justificada"][aria-pressed="true"] { background: #f3ce76; color: #392804; }
.chamada-detalhes { grid-column: 1/-1; }
.chamada-detalhes summary { cursor: pointer; color: #c7e0dc; }
.chamada-visual .chamada-salvar { margin-top: .7rem; background: #a6f5cc; color: #09251c; }
@media (max-width: 760px) {
  .chamada-filtros, .chamada-aluno { grid-template-columns: minmax(0,1fr); }
  .chamada-contadores { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
