#scoreboard-page .scoreboard-filters{display:flex;align-items:end;gap:20px;flex-wrap:wrap;margin:28px 0}
.scoreboard-filters label{min-width:200px}.scoreboard-filters label:last-child{flex:1;max-width:460px}
#scoreboard-range{margin:20px 0 8px}#scoreboard-scope{margin:0 0 24px;font-weight:650;color:var(--cherry)}
#scoreboard-summary{font-size:13px;color:var(--muted)}.scoreboard-leading{background:#fce9ef}.scoreboard-leading td:first-child{color:var(--cherry);font-weight:750}
#scoreboard-loading,#scoreboard-empty{padding:22px}#scoreboard-error{color:var(--danger);margin:16px 0}
.attendance-selfie{margin:26px 0 12px;padding-top:22px;border-top:1px solid var(--line)}.attendance-selfie h3{font-size:17px}.attendance-selfie button{margin:8px 0}
.attendance-selfie-image{display:block;width:100%;max-height:480px;object-fit:contain;border-radius:18px;background:#f3f1ee;margin-top:16px}
@media(max-width:650px){.scoreboard-filters label,.scoreboard-filters label:last-child{width:100%;max-width:none;min-width:0}.attendance-selfie-image{max-height:360px}}
#email-report-settings > p { margin: 16px 26px; }
#email-report-settings td label { display: flex; min-width: 48px; min-height: 48px; align-items: center; justify-content: center; }
#email-report-settings input[type="checkbox"] { width: 22px; height: 22px; min-height: 22px; margin: 0; accent-color: #a9163a; }
.email-report-preview-dialog { width: min(960px, 96vw); max-width: 96vw; }
.email-report-preview-dialog iframe { display: block; width: 100%; height: 65vh; min-height: 320px; border: 1px solid #ded9d7; border-radius: 12px; background: #fff; }
#email-recipient-rows td:last-child button { margin: 3px; }

#report-schedule-setup-message:not([hidden]) { padding: 18px 20px; border: 1px solid #e3c8d0; border-radius: 12px; background: #fcf0f3; color: #71213b; font-weight: 650; line-height: 1.65; overflow-wrap: anywhere; }
