/* Stark IntraTheater by Stark. Classroom: lessons, teacher roster, progress report, print layout. */
.lesson-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: .8rem; margin: .7rem 0 1.2rem; }
.lesson-card { min-height: 180px; }
.lesson-card.done { border-color: var(--good); }
.lesson-icon { font-size: 2rem; line-height: 1; }
.band { margin-right: .5rem; }
.band-K2 { border-left: 5px solid #7f9a5b; }
.band-35 { border-left: 5px solid #c08a3e; }
.band-68 { border-left: 5px solid #7a6aa8; }
.lesson-goal { font-size: 1.08rem; background: var(--panel-2); border-left: 4px solid var(--accent); border-radius: 10px; padding: .6rem .9rem; }
.lesson-steps { padding-left: 1.4rem; display: grid; gap: .3rem; }
.lesson-steps > li { padding: .2rem 0; border-bottom: 1px solid var(--line); }
.lesson-steps > li > label.check { display: inline-flex; margin: .3rem .6rem .3rem 0; }
.lesson-steps > li.done > label span { color: var(--muted); }
.lesson-steps .discuss { margin: .2rem 0 .5rem; }

.table-wrap { overflow-x: auto; margin: .5rem 0; }
table.roster, table.report { border-collapse: collapse; width: 100%; min-width: 520px; }
table.roster th, table.roster td, table.report th, table.report td { text-align: left; vertical-align: top; padding: .45rem .6rem; border-bottom: 1px solid var(--line); }
table.roster thead th, table.report thead th { color: var(--gold); font-size: .88rem; letter-spacing: .02em; }
table.roster input[type="text"] { width: 100%; min-width: 120px; }
.bulk { margin: .6rem 0; }
.bulk summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.band-group h3 { margin: .3rem .4rem .3rem 0; }
.assign-row { justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: .3rem; }
.assign-row label.check { flex: 1 1 260px; }

@media (max-width: 760px) {
  .mainnav { grid-template-columns: repeat(7, 1fr); }
}

/* Print only the progress report (Teacher mode > Print report). */
@media print {
  body.print-report { background: #fff; color: #000; padding: 0; }
  body.print-report .topbar, body.print-report .footer, body.print-report .toast, body.print-report .skip-link,
  body.print-report .view-head, body.print-report .tabs, body.print-report .no-print, body.print-report dialog { display: none !important; }
  body.print-report main { max-width: none; padding: 0; }
  body.print-report .class-report { border: 0; box-shadow: none; background: #fff; color: #000; padding: 0; }
  body.print-report .class-report .muted, body.print-report table.report thead th { color: #333; }
  body.print-report .table-wrap { overflow: visible; }
  body.print-report table.report { min-width: 0; font-size: 10.5pt; }
  body.print-report table.report th, body.print-report table.report td { border-bottom: 1px solid #999; color: #000; }
  body.print-report table.report tr { break-inside: avoid; }
}
