/* Excel student roster: progressive import with readable review on large and small screens. */
.roster-import-cover{position:fixed;inset:0;z-index:700;background:rgba(10,22,44,.66);display:grid;place-items:center;padding:22px;overflow:auto}
.roster-import-dialog{background:#fff;color:#1b2d4a;border-radius:17px;box-shadow:0 22px 85px #101e35aa;width:min(1180px,97vw);max-height:94vh;display:flex;flex-direction:column;overflow:hidden}
.roster-import-head{padding:22px 26px 17px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid #e6ebf2}
.roster-import-head h2{font-size:23px;letter-spacing:-.7px;margin:5px 0}.roster-import-head p{font-size:12px;color:#76869d;margin:4px 0 0}
.roster-import-controls{display:grid;grid-template-columns:145px minmax(210px,1fr) minmax(260px,1.2fr);gap:12px 16px;padding:18px 26px;background:#f8faff;align-items:end}
.roster-import-controls .form-field label{font-size:11px;color:#657995}.roster-import-file{display:flex;flex-direction:column;gap:6px}.roster-import-file label{font-size:11px;color:#657995;font-weight:800}.roster-import-file label small{font-size:10px;color:#99a4b4}.roster-import-file input{font-size:11px;background:#fff;border:1px solid #dce4ee;border-radius:8px;width:100%;padding:8px;min-height:39px}
.roster-import-help{grid-column:1/-1;display:flex;align-items:center;gap:15px;flex-wrap:wrap}.roster-import-help small{color:#7b8da6;font-size:11px}
.roster-import-summary{display:flex;gap:12px;align-items:center;padding:13px 26px;border-bottom:1px solid #e6ebf2;background:#fff}.roster-import-summary>div{margin-right:auto;display:flex;flex-direction:column;gap:3px;min-width:0}.roster-import-summary b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.roster-import-summary small,.roster-import-summary>span{font-size:11px;color:#718198}.roster-import-summary>span{background:#f5f6f9;border-radius:20px;padding:6px 11px}
.roster-import-table{overflow:auto;min-height:160px;max-height:49vh;flex:1}.roster-import-table table{border-collapse:collapse;width:100%;min-width:920px}.roster-import-table th{position:sticky;top:0;background:#edf2f8;z-index:1;font-size:11px;font-weight:800;color:#516480;padding:13px 10px;text-align:left}.roster-import-table td{font-size:12px;padding:11px 10px;border-top:1px solid #eef1f4;vertical-align:middle}.roster-import-table td select{max-width:150px;min-height:32px;padding:5px;border:1px solid #dce4ee;border-radius:7px;background:white;font-size:11px}.roster-import-table td input[type=checkbox]{accent-color:#21385e;width:17px;height:17px}.roster-import-table tr.roster-error{background:#fff1f2}.roster-import-table tr.roster-warning{background:#fffaf0}.roster-row-note{font-size:10px;color:#9a6970;line-height:1.4;margin-top:4px;max-width:220px}
.roster-import-empty{padding:46px 20px;display:flex;flex-direction:column;text-align:center;gap:10px}.roster-import-empty b{font-size:17px}.roster-import-empty span{font-size:12px;line-height:1.7;color:#8190a6}
.roster-import-footer{display:flex;justify-content:space-between;align-items:center;padding:15px 26px;border-top:1px solid #e6ebf2;gap:10px}.roster-import-footer>span{font-size:11px;color:#718198}.roster-import-footer>span strong{color:#172d4c}
@media(max-width:760px){.roster-import-cover{padding:4px}.roster-import-dialog{width:100%;height:99dvh;max-height:99dvh;border-radius:10px}.roster-import-head{padding:17px}.roster-import-controls{grid-template-columns:1fr;padding:12px 16px}.roster-import-summary{padding:10px 16px;flex-wrap:wrap}.roster-import-footer{padding:13px 16px;flex-direction:column;align-items:stretch}.roster-import-footer>.actions{display:flex}.roster-import-footer button{flex:1}}
