.campus{max-width:990px}
.campus .card{margin-bottom:18px}
.campus [hidden]{display:none!important}
.school-qr-frame{width:100%;aspect-ratio:1200/760;max-height:68vh;background:#f4f7fc;border:1px solid #d7e0ee;border-radius:11px;overflow:hidden;position:relative}
.school-qr-image{width:100%;height:100%;object-fit:contain;cursor:crosshair;user-select:none;touch-action:pan-y}
.remote-tools{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}
.remote-tools input{min-width:220px;flex:1}
.remote-tools button{flex:0 0 auto}
#course-list .campus-entry,#lecture-list .campus-entry{padding:12px 8px;border-bottom:1px solid #e7ecf4;display:flex;align-items:center;gap:12px}
#course-list .campus-entry{cursor:pointer;text-align:left;width:100%;background:transparent;color:inherit;font:inherit;border-top:0;border-left:0;border-right:0}
#course-list .campus-entry:hover{background:#f5f7fd}
.campus-entry .small{display:block;line-height:1.6}
#lecture-list label{display:flex;align-items:center;gap:12px;cursor:pointer}
#lecture-list input[type=checkbox]{width:18px;height:18px;flex:none}
.campus-job{padding:10px 0;border-bottom:1px solid #e7ecf4}
.campus-job p{margin:3px 0}
.school-auth-message{margin-top:12px;min-height:22px;overflow-wrap:anywhere}

/* The remote school login is an on-demand step, never a permanent dashboard section. */
.campus-connection-bar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 14px;color:#405677}
.campus-connection-dot{flex:none;width:8px;height:8px;border-radius:50%;background:#1b9674}
.campus-connection-bar.needs-login .campus-connection-dot{background:#c58b32}
.campus-mini-action{margin-left:auto;border:0;background:transparent;color:#5065b9;text-decoration:underline;cursor:pointer;font:inherit;font-size:.86rem;padding:5px 7px}
.campus-mini-action:hover,.campus-mini-action:focus-visible{color:#35449a}
.campus-message:not([hidden]){margin:2px 0 14px;min-height:0;padding:0 2px;overflow-wrap:anywhere}

/* Course-specific view: keep navigation visible but never leak other courses. */
.campus-back{display:inline-block;margin:0 0 12px;color:#4664b7;text-decoration:none;font-weight:650}
.campus-back:hover{text-decoration:underline}
.campus-focus-action{margin:0 0 18px}
.campus-focus-action .btn{padding:9px 15px}

/* Authentication is an ephemeral step, not a second campus application. */
.school-qr-frame.campus-verifying .school-qr-image{visibility:hidden}
.campus-auth-progress{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#f4f7fc;color:#3c537d;font-weight:600}
.campus-auth-progress[hidden],#campus-keyboard[hidden]{display:none!important}
#campus-keyboard{margin-top:9px}
.campus-login-help{margin-top:8px;color:#687995;font-size:.86rem}
.campus-login-help summary{cursor:pointer;max-width:max-content}
.campus-login-help .row{margin:12px 0 2px}
.campus-login-actions{margin-top:12px;gap:8px}

/* IA v2 course-scoped lecture workspace, matching the ACME report header. */
.ci-course-workspace{margin:-14px 0 24px}
.ci-course-workspace .ci-breadcrumb{display:flex;gap:10px;align-items:center;font-size:12px;color:#868686;margin-bottom:25px}
.ci-course-workspace .ci-breadcrumb a{color:#555}
.ci-course-workspace h1{font-size:29px;letter-spacing:-.8px;margin:0;color:#181818;line-height:1.35}
.ci-course-workspace .ci-summary{margin:9px 0 20px;font-size:12px;color:#818181}
.ci-course-workspace .ci-local-tabs{display:flex;gap:28px;border-bottom:1px solid #e9e9e9;margin-bottom:24px}
.ci-local-tabs a{font-size:13px;color:#888;text-decoration:none;padding:12px 0 13px;border-bottom:2px solid transparent}
.ci-local-tabs a.current{color:#111;border-bottom-color:#111;font-weight:700}
.campus:has(.ci-course-workspace)>.section-head,.campus:has(.ci-course-workspace)>#campus-page-intro{display:none}
.campus:has(.ci-course-workspace)>.campus-focus-action{margin-bottom:15px}
@media(max-width:700px){.ci-course-workspace h1{font-size:23px}.ci-course-workspace .ci-local-tabs{gap:16px}}

/* The selected course already has a report tab: do not repeat a large report card above the lecture list. Jobs still expose their own completion action. */
.campus:has(.ci-course-workspace) #campus-report-shortcut{display:none!important}

/* Login is a temporary step within the same quiet ACME visual language. */
.campus{max-width:900px;margin:0 auto;padding:28px 20px 65px;color:#202124}
.campus .section-head{margin:0 0 12px}.campus .section-head h1{font-size:29px;letter-spacing:-.035em;line-height:1.28;margin:10px 0}
.campus .tag{display:none}.campus .sub{font-size:14px;color:#737373;line-height:1.65;margin:0 0 20px}
.campus .card{background:#fff;border:1px solid #e9e9e9;border-radius:10px;box-shadow:none;padding:24px;margin-bottom:16px}
.campus .card h2{font-size:17px;letter-spacing:-.015em;margin:0 0 12px;color:#222}
.campus .btn{border-radius:7px;box-shadow:none}.campus .btn:not(.ghost){background:#242424;color:#fff;border-color:#242424}
#campus-courses .campus-entry{border-color:#ececec}#course-list .campus-entry:hover{background:#fafafa}
.campus-connection-bar{border-bottom:1px solid #eaeaea;padding:10px 0 15px;margin-bottom:18px}
.school-qr-frame{background:#fafafa;border:1px solid #e5e5e5}
@media(max-width:650px){.campus{padding:20px 14px 48px}.campus .card{padding:18px}.campus .section-head h1{font-size:24px}}


/* School QR panel: only the cropped official element is sent to the UI. */
.school-qr-frame.qr-only{width:280px;max-width:100%;min-height:280px;aspect-ratio:1;margin:24px auto;position:relative;background:#fff;border-radius:18px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.school-qr-frame.qr-only .school-qr-image{width:248px;height:248px;max-width:calc(100% - 24px);object-fit:contain;cursor:default;background:#fff}
.campus-qr-loading{padding:24px;text-align:center;color:#6a7890;font-size:14px}
.school-qr-frame.qr-only [hidden]{display:none!important}
