.semester-access-message{text-align:center;color:var(--blue-dark);padding:30px;font-weight:800}.semester-page{gap:20px;margin-top:-72px;display:grid}.semester-card{border:1px solid var(--border);box-shadow:var(--shadow-small);background:#fff;border-radius:24px;padding:24px}.active-semester-card{justify-content:space-between;align-items:center;gap:20px;display:flex}.semester-card h2{color:var(--blue-dark);margin:0 0 6px}.eyebrow{color:var(--blue);text-transform:uppercase;letter-spacing:.1em;margin:0 0 6px;font-size:.78rem;font-weight:900}.muted{color:var(--text-muted);margin:0}.semester-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.semester-form{gap:14px;margin-top:18px;display:grid}.semester-form label{gap:7px;display:grid}.semester-form label>span{color:var(--blue-dark);font-weight:800}.semester-form input,.semester-form select{border:1px solid var(--border);background:#fff;border-radius:12px;min-height:46px;padding:9px 12px}.primary-button,.secondary-button,.danger-button{cursor:pointer;border:0;border-radius:12px;min-height:44px;padding:10px 16px;font-weight:850}.primary-button{background:var(--blue);color:#fff}.secondary-button{color:var(--blue-dark);background:#eef3ff;border:1px solid #d7e1fb}.danger-button{color:#fff;background:#c92a36}.section-heading{justify-content:space-between;align-items:center;gap:14px;display:flex}.school-years-list{gap:14px;margin-top:18px;display:grid}.school-year-card{border:1px solid var(--border);background:#fbfcff;border-radius:18px;padding:18px}.school-year-card h3{color:var(--blue-dark);margin:0}.school-year-meta{color:var(--text-muted);margin:3px 0 12px;font-size:.9rem}.semester-records{gap:8px;display:grid}.semester-record{background:#fff;border:1px solid #e8edf6;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;display:flex}.semester-record strong{color:var(--blue-dark)}.status-pill{text-transform:capitalize;border-radius:999px;padding:5px 9px;font-size:.76rem;font-weight:850;display:inline-flex}.status-pill.active{color:#16713c;background:#e7f7ed}.status-pill.ended{color:#566074;background:#eef1f6}.status-pill.planned{color:#815e00;background:#fff3d8}.semester-message{min-height:24px;color:var(--blue-dark);margin:0;font-weight:750}.semester-message.error{color:#b42318}@media (width<=760px){.semester-page{margin-top:-52px}.semester-grid{grid-template-columns:1fr}.active-semester-card,.section-heading,.semester-record{flex-direction:column;align-items:stretch}}.semester-record-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.view-roster-button{min-height:34px;color:var(--blue-dark);cursor:pointer;background:#f2f6ff;border:1px solid #d7e1fb;border-radius:10px;padding:6px 10px;font-weight:800}.semester-modal{z-index:2100;background:#0f1e3a9e;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.semester-modal[hidden]{display:none}.semester-modal-card{background:#fff;border-radius:22px;grid-template-rows:auto minmax(0,1fr);gap:14px;width:min(760px,96vw);max-height:88vh;padding:20px;display:grid;overflow:hidden;box-shadow:0 24px 70px #0c193247}.semester-modal-header{justify-content:space-between;align-items:center;gap:14px;display:flex}.semester-modal-header h2{color:var(--blue-dark);margin:0}.semester-roster-table-wrap{border:1px solid var(--border);border-radius:14px;overflow:auto}.semester-roster-table{border-collapse:collapse;width:100%;min-width:520px}.semester-roster-table th,.semester-roster-table td{border-bottom:1px solid var(--border);text-align:left;padding:11px 13px}.semester-roster-table th{color:var(--blue-dark);background:#f7f9fe;position:sticky;top:0}
