.form-full-width { grid-column: 1 / -1; }
.attendance-roster { margin-top: 18px; max-height: 340px; overflow: auto; border-top: 1px solid var(--line); }
.attendance-roster-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 3px; border-bottom: 1px solid var(--line); }
.attendance-roster-row strong, .attendance-roster-row small { display: block; }
.attendance-roster-row small { color: var(--muted); margin-top: 3px; font-size: 11px; }
.attendance-roster-row select { width: 130px; border: 1px solid #dce2ec; border-radius: 7px; padding: 8px; font: 12px inherit; color: var(--ink); }
.announcements-list { display: grid; gap: 14px; }
.announcement-card { padding: 20px; }
.announcement-card header { min-height: 0; margin-bottom: 13px; }
.announcement-card h3 { font: 700 16px 'Plus Jakarta Sans'; }
.announcement-card p { color: var(--muted); line-height: 1.65; white-space: pre-wrap; }
.announcement-meta { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; margin-top: 15px; }
.library-card a { display: inline-block; margin-top: 14px; color: var(--blue); font: 700 12px inherit; text-decoration: none; }
.library-card a:hover { text-decoration: underline; }
.help-guides { display: grid; gap: 12px; margin: 2px 0 20px; }
.help-guides article { border: 1px solid var(--line); border-radius: 9px; padding: 13px; }
.help-guides strong { font-size: 13px; }
.help-guides p { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.5; }
#help-contact-link { display: inline-flex; text-decoration: none; margin-bottom: 4px; }
.live-classes-panel { margin-top: 20px; }
.inventory-status { display: inline-block; padding: 4px 8px; margin: 1px 0; border-radius: 12px; background: #eef3fb; color: #536a91; font-size: 10px; font-weight: 700; text-transform: capitalize; }
.inventory-status.active, .inventory-status.new, .inventory-status.good { background: #e7f7ef; color: #16845c; }
.inventory-status.maintenance, .inventory-status.needs_repair, .inventory-status.fair { background: #fff3df; color: #b76f14; }
.inventory-status.damaged, .inventory-status.disposed { background: #fff0f1; color: #b44051; }
.login-details { white-space: pre-wrap; border: 1px solid var(--line); background: #f8faff; border-radius: 8px; padding: 14px; font: 13px/1.65 'DM Sans', sans-serif; }
.live-room-modal { width: min(1220px, 96vw); max-height: min(820px, 92vh); background: #101d36; color: #f7faff; overflow: hidden; }
.live-room-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 24px 27px 20px; border-bottom: 1px solid #ffffff1c; }
.live-room-head .eyebrow { color: #9fcbff; margin-bottom: 6px; }
.live-room-head h2 { font: 700 24px 'Plus Jakarta Sans'; }
.live-room-head .close { background: #ffffff17; color: #fff; }
.live-room-body { display: grid; grid-template-columns: minmax(0, 1fr) 265px; min-height: 490px; }
.live-stage { position: relative; min-width: 0; padding: 20px; background: radial-gradient(circle at 40% 20%, #203c6d, #0b1528 68%); }
.remote-streams { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; min-height: 440px; }
.local-player { position: absolute; z-index: 2; right: 36px; bottom: 36px; width: min(28vw, 255px); }
.video-tile { position: relative; min-height: 210px; background: #15284a; border: 1px solid #ffffff1c; border-radius: 13px; overflow: hidden; box-shadow: 0 12px 30px #00000035; }
.local-player .video-tile { min-height: 145px; border: 2px solid #fff; }
.video-surface { position: absolute; inset: 0; overflow: hidden; background: #07101f; }
.video-surface video { width: 100%; height: 100%; object-fit: cover; }
.video-placeholder { position: absolute; inset: 0; display: grid; place-content: center; gap: 9px; text-align: center; color: #cad8ee; font-size: 12px; background: linear-gradient(145deg, #213c69, #142748); }
.video-avatar { width: 48px; height: 48px; margin: auto; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #3479f1; font: 700 15px 'Plus Jakarta Sans'; }
.video-meta { position: absolute; left: 9px; right: 9px; bottom: 9px; padding: 8px 10px; display: flex; align-items: center; justify-content: space-between; gap: 9px; color: #fff; border-radius: 8px; background: #07101fbf; font-size: 11px; }
.video-meta strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.video-meta span { padding: 3px 6px; border-radius: 10px; background: #2b76eccc; font-size: 10px; }
.live-participants { padding: 22px 17px; background: #14233e; border-left: 1px solid #ffffff1c; overflow: auto; }
.participant-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.participant-heading .eyebrow { color: #9fcbff; margin-bottom: 3px; }
.participant-heading h3 { font: 700 16px 'Plus Jakarta Sans'; }
.participant-heading > span { color: #b8c9e4; font-size: 11px; }
.participant-list { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.participant-row { display: grid; grid-template-columns: 31px minmax(0, 1fr) 9px; align-items: center; gap: 9px; padding: 8px; border-radius: 9px; }
.participant-row:hover { background: #ffffff0d; }
.participant-avatar { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; background: #2c67c6; color: #fff; font-size: 10px; font-weight: 700; }
.participant-row strong, .participant-row small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.participant-row strong { color: #f6f9ff; font-size: 11px; }
.participant-row small { margin-top: 2px; color: #a9bbd7; font-size: 10px; }
.presence-dot { width: 8px; height: 8px; border-radius: 50%; background: #42d88e; box-shadow: 0 0 0 3px #42d88e22; }
.live-room-footer { min-height: 78px; padding: 15px 27px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #ffffff1c; background: #0e1930; }
.live-room-footer > p { max-width: 330px; color: #aabbd8; font-size: 11px; line-height: 1.45; }
.live-controls { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.live-control, .live-leave-button { border: 1px solid #ffffff2e; border-radius: 8px; color: #e7efff; background: #ffffff12; padding: 10px 12px; cursor: pointer; font: 700 12px inherit; }
.live-control.is-active { background: #2064d6; border-color: #4786f0; color: #fff; }
.live-leave-button { color: #fff; border-color: #d7586b; background: #c63852; }
@media (max-width: 780px) { .live-room-modal { width: 100vw; max-height: 100vh; min-height: 100vh; border-radius: 0; } .live-room-body { grid-template-columns: 1fr; } .live-stage { min-height: 390px; } .remote-streams { min-height: 350px; } .live-participants { max-height: 175px; border-top: 1px solid #ffffff1c; border-left: 0; } .local-player { right: 30px; bottom: 30px; width: 190px; } .live-room-footer { align-items: stretch; flex-direction: column; } .live-room-footer > p { max-width: none; } .live-controls { justify-content: stretch; } .live-controls button { flex: 1; padding: 10px 6px; } }
@media (max-width: 520px) { .attendance-roster-row { align-items: flex-start; flex-direction: column; gap: 8px; } .attendance-roster-row select { width: 100%; } }

/* Digital Campus course and assessment surfaces */
.course-card { display: flex; flex-direction: column; }
.course-card-actions { margin-top: auto; padding-top: 12px; flex-wrap: wrap; }
.campus-room-dialog, .campus-attempt-dialog { width: min(1040px, calc(100vw - 32px)); max-width: none; max-height: min(90vh, 920px); padding: 0; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: var(--surface, #fff); box-shadow: 0 24px 80px #0d1c3033; }
.campus-attempt-dialog { width: min(880px, calc(100vw - 32px)); }
.campus-room-dialog::backdrop, .campus-attempt-dialog::backdrop { background: #0e1c32aa; backdrop-filter: blur(3px); }
.campus-room-content { display: grid; gap: 16px; padding: 24px; max-height: min(90vh, 920px); overflow: auto; }
.campus-room-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.campus-room-header h2 { margin: 4px 0 8px; font: 700 22px 'Plus Jakarta Sans', sans-serif; }
.campus-room-header p:last-child { color: var(--muted); line-height: 1.55; }
.campus-room-section { padding: 18px; }
.campus-room-section > .panel-head { margin-bottom: 12px; }
.campus-inline-form { display: grid; gap: 10px; margin: 12px 0 16px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; }
.campus-inline-form .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.campus-inline-form label { display: grid; gap: 6px; color: var(--muted); font-size: 11px; font-weight: 600; }
.campus-inline-form input, .campus-inline-form select, .campus-inline-form textarea { width: 100%; min-width: 0; }
.campus-inline-form input[type="file"] { padding: 8px; background: #fff; }
.campus-topic, .campus-announcement, .campus-session-row, .campus-review-card, .campus-suggestion-card, .campus-feedback-card { display: grid; gap: 9px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.campus-progress-row { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); line-height: 1.5; }
.campus-topic h4, .campus-session-row h4 { margin: 0; font-size: 14px; }
.campus-topic p, .campus-announcement, .campus-session-row p { margin: 0; color: var(--muted); line-height: 1.55; white-space: pre-wrap; }
.campus-topic a, .campus-room-section a { display: inline-block; color: var(--blue); overflow-wrap: anywhere; }
.campus-topic a[aria-disabled="true"] { color: var(--muted); pointer-events: none; text-decoration: none; }
.campus-topic .outline-button { justify-self: start; }
.campus-reply { padding-left: 12px; border-left: 2px solid var(--line); }
.campus-session-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.campus-session-row h4, .campus-session-row p { grid-column: 1; }
.campus-session-row button { grid-column: 2; grid-row: 1 / span 2; }
.campus-assessment-list, .campus-feedback-list, .campus-suggestion-list { display: grid; gap: 12px; }
.campus-assessment-card { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.campus-assessment-card > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.campus-assessment-card h4 { margin: 0; }
.campus-assessment-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.campus-subheading { margin: 22px 0 10px; font: 700 15px 'Plus Jakarta Sans', sans-serif; }
.campus-feedback-card { margin-bottom: 8px; }
.campus-feedback-card summary, .campus-suggestion-question summary { cursor: pointer; font-weight: 700; }
.campus-attempt-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 22px 12px; }
.campus-attempt-heading h2 { margin: 0; font: 700 20px 'Plus Jakarta Sans', sans-serif; }
.campus-countdown { min-width: 78px; padding: 8px 10px; border-radius: 8px; color: #8a3415; background: #fff2e8; font-variant-numeric: tabular-nums; text-align: center; }
#assessment-attempt-content > .form-note, #assessment-attempt-content > .campus-attempt-pages, #assessment-attempt-content > .button-row, #assessment-attempt-content > .primary-button { margin-right: 22px; margin-left: 22px; }
#assessment-attempt-content > .primary-button { margin-bottom: 22px; }
.campus-attempt-pages { display: grid; gap: 13px; }
.campus-attempt-question { display: grid; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.campus-attempt-question h3 { margin: 0; font-size: 16px; line-height: 1.5; }
.campus-answer-option, .campus-match-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.campus-match-row { justify-content: space-between; flex-wrap: wrap; }
.campus-match-row select { min-width: min(260px, 100%); }
.campus-student-answer, .campus-ai-rationale { padding: 12px; border-radius: 8px; background: #f4f7fb; white-space: pre-wrap; overflow-wrap: anywhere; }
.campus-review-card label { display: grid; gap: 6px; color: var(--muted); font-size: 11px; }
.campus-review-card input, .campus-review-card textarea { width: 100%; }
.campus-suggestion-question { padding: 10px 0; border-top: 1px solid var(--line); }
.campus-suggestion-question textarea { width: 100%; margin: 8px 0; }
.campus-check { display: flex; align-items: center; gap: 8px; }
.campus-check input { width: auto; }
@media (max-width: 720px) { .campus-room-dialog, .campus-attempt-dialog { width: calc(100vw - 18px); max-height: 94vh; border-radius: 12px; } .campus-room-content { padding: 14px; max-height: 94vh; } .campus-inline-form .form-grid { grid-template-columns: 1fr; } .campus-session-row { grid-template-columns: 1fr; } .campus-session-row h4, .campus-session-row p, .campus-session-row button { grid-column: 1; grid-row: auto; } .campus-attempt-heading { padding: 15px; } #assessment-attempt-content > .form-note, #assessment-attempt-content > .campus-attempt-pages, #assessment-attempt-content > .button-row, #assessment-attempt-content > .primary-button { margin-right: 14px; margin-left: 14px; } }
