/* School side — on top of practice.css and admin/admin.css (same shell: left menu, drawer on small screens). */
.banner-warn { margin: 0; padding: 12px 16px; border-radius: 12px; background: #FBE5E5; color: #8f2424; }
label.inline { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
label.inline select, #schoolPick { padding: 7px 10px; border: 1.5px solid #cfd5e3; border-radius: 8px; font: inherit; background: #fff; }
.signin-box { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #F3F5FB; }
.signin-box div { display: grid; gap: 2px; }
.signin-box .note { margin: 0; }
.signin-box b { font-family: Consolas, monospace; font-size: 26px; letter-spacing: .12em; color: var(--navy); }
.signin-box a { word-break: break-all; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 14px; }
.checks label { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 4px 0; }
.checks input { width: 18px; height: 18px; flex: none; }
.pics { display: inline-flex; gap: 4px; vertical-align: middle; }
.pics img { width: 34px; height: 34px; }
.pill.ok { background: #E3F4EA; color: #17603d; }
.pill.wait { background: #FFF1D6; color: #7a4a00; }
#roster td { vertical-align: middle; }
#roster .link { white-space: nowrap; }
.preview { margin-top: 10px; }
.preview table { margin-bottom: 10px; }
.st-new, .st-returning { color: #17603d; }
.st-invalid, .st-duplicate, .st-no_seat { color: var(--red); }
.st-enrolled, .st-exists { color: var(--muted); }
input[type=file] { font: inherit; max-width: 100%; }

/* printing the picture-code cards: only the cards */
#printArea { display: none; }
@media print {
  body.admin > *:not(#printArea) { display: none !important; }
  #printArea { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .code-card { border: 1px dashed #888; border-radius: 10px; padding: 10px; text-align: center; break-inside: avoid; }
  .code-card b { display: block; font-size: 15px; }
  .code-card small { color: #555; }
  .code-card img { width: 64px; height: 64px; margin: 6px 3px 0; }
}
#roster { min-width: 720px; }

/* reports (school/reports.js) */
.rep-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 10px; }
.rep-head h3 { margin: 0; }
.th-sort { all: unset; cursor: pointer; font-weight: 700; white-space: nowrap; }
.th-sort i { font-style: normal; margin-left: 4px; color: var(--muted); font-size: 12px; }
.th-sort.on i { color: var(--navy); }
.th-sort:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: 4px; }
.rtable th .unfold { display: block; font-size: 12px; font-weight: 600; margin-top: 2px; }
.rtable td, .rtable th { vertical-align: middle; white-space: nowrap; }
.gcell { display: inline-block; min-width: 46px; text-align: center; border-radius: 8px; padding: 2px 8px; font-weight: 700; font-size: 14px; background: #EEF0F7; color: var(--muted); white-space: nowrap; }
.gcell.lv5, .gdot.lv5 { background: #DDF3E0; color: #1c6b27; }
.gcell.lv4, .gdot.lv4 { background: #EDF6D2; color: #4d6410; }
.gcell.lv3, .gdot.lv3 { background: #FDF2C4; color: #7a5d00; }
.gcell.lv2, .gdot.lv2 { background: #FDE3C8; color: #8a4a05; }
.gcell.lv1, .gdot.lv1 { background: #FAD5D2; color: #92201a; }
.gdot { display: inline-block; width: 14px; height: 14px; border-radius: 4px; background: #EEF0F7; border: 1px solid #d9dceb; }
.hrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.hrow:first-of-type { border-top: none; }
.hrow .note { margin: 2px 0 0; font-size: 14px; }
.mrow2 { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line); }
.mrow2 .note { margin: 2px 0 0; }
.mrow2 details summary { cursor: pointer; }
@media (max-width: 640px) { .mrow2 { grid-template-columns: 1fr; } .hrow { grid-template-columns: auto minmax(0, 1fr); } .hrow > .link { grid-column: 2; } }
.clip-box { position: fixed; inset: 0; background: rgba(20, 24, 40, .6); display: grid; place-items: center; z-index: 50; padding: 16px; }
.clip-box[hidden] { display: none; }
.clip-card { background: #fff; border-radius: 16px; padding: 12px; width: min(960px, 100%); }
.clip-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.clip-card video { width: 100%; border-radius: 10px; background: #000; }
#roster td:nth-child(2) { white-space: nowrap; }
