.turmas-filtros, .turmas-grade { display: grid; gap: .75rem; }
.turmas-filtros { grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); margin: 1rem 0; }
.turmas-filtros label { display: grid; gap: .3rem; min-width: 0; }
.turmas-filtros input, .turmas-filtros select {
  width: 100%; min-width: 0; min-height: 44px; padding: .45rem .6rem;
  color: #f3faf8; background: #103135; border: 1px solid #507575; border-radius: 8px;
}
.turmas-filtros input::placeholder { color: #c4d7d5; }
.turmas-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#turmasModernas .turma-card { display: flex; flex-direction: column; gap: .65rem; min-width: 0; background: #09272b; overflow-wrap: anywhere; }
#turmasModernas .hidden { display: none !important; }
.turma-card .org-card-top strong { font-size: 1.05rem; }
.turma-meta { display: grid; gap: .2rem; }
.turma-meta small { color: #c5d9d5; }
.turma-card .turma-capacidade { margin: 0; }
.turma-status-ok { background: #a6f5cc; color: #09251c; }
.turma-status-warn { background: #664706; color: #fff1b6; }
.turma-status-bad { background: #74252e; color: #fff1f2; }
.turma-acoes { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; }
#turmasModernas .turma-acoes .btn { width: auto; min-height: 44px; padding: .4rem .6rem; }
.turma-acoes summary, .turma-nova > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .65rem; border-radius: 8px; border: 1px solid #507575; }
.turma-nova > summary { background: #a6f5cc; color: #09251c; font-weight: 800; margin-bottom: .5rem; }
.turma-acoes summary::-webkit-details-marker, .turma-nova > summary::-webkit-details-marker { display: none; }
@media (max-width: 1180px) {
  .turmas-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .turmas-filtros { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .turmas-filtros label:first-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) { .turmas-grade { grid-template-columns: minmax(0, 1fr); } }
