[hidden]{display:none!important}
.auth-screen{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(400px,1fr);background:white}
.auth-intro{background:linear-gradient(145deg,#eaf1ff,#f2f7ff);padding:70px clamp(32px,6vw,110px);display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}
.auth-intro .brand{padding:0;position:absolute;top:45px}
.auth-intro h1{font-size:clamp(34px,4vw,58px);font-weight:650;line-height:1.5;color:#244675;margin-top:50px}
.auth-intro p{color:#7a8eab;font-size:16px;line-height:2.1}
.auth-features{display:flex;flex-direction:column;gap:20px;margin-top:40px;font-size:14px;letter-spacing:2px;color:#6889b9}
.auth-card{max-width:430px;width:100%;margin:auto;padding:42px 28px}
.auth-card h2{font-size:28px;margin:15px 0 12px}
.auth-card>.muted{font-size:14px;line-height:1.8}
.auth-tabs{margin:22px 0}.auth-tabs .tab{font-size:15px;padding:10px 0}
.auth-submit{width:100%;padding:13px}.auth-note{font-size:12px;color:#98a3b4;line-height:1.9;margin-top:24px}
.error-text{color:#bd3e4c;font-size:13px;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap;min-height:0}
.error-text:empty{display:none}.filter-select{border:1px solid #dfe6f0;color:#637795;background:white;padding:8px;border-radius:7px;font-size:13px;max-width:240px}
.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}.review-card{border:1px solid var(--line);border-radius:12px;padding:18px;margin:20px 0}.review-card .field{margin-top:16px}.review-card .detail-text{max-height:300px;overflow:auto}
.invite-code{background:#edf3ff;color:#2158ef;border-radius:12px;font-size:28px;font-weight:700;letter-spacing:4px;text-align:center;padding:24px;margin:20px 0;overflow-wrap:anywhere}
.course-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.feedback-box{background:#eaf8f1;padding:16px;border-radius:9px;margin-top:20px;font-size:14px;color:#30765e;line-height:1.8}
.checkbox-label{display:flex;gap:8px;align-items:flex-start;font-size:13px;color:#73849c;line-height:1.8}.checkbox-label input{margin-top:5px}
table{font-size:14px}.assignment-name strong{font-size:14px}.log-content p{font-size:14px}.log-header{font-size:14px}.log-header span{font-size:12px}.nav-link{font-size:14px}.course-card p{font-size:14px}.panel-foot{font-size:12px}.row-action{font-size:13px}.badge{font-size:12px}.panel-heading>.muted{font-size:12px}
@media(max-width:720px){.auth-screen{grid-template-columns:1fr}.auth-intro{padding:28px 25px}.auth-intro .brand{position:static}.auth-intro h1{font-size:27px;line-height:1.5;margin:26px 0 5px}.auth-intro h1 br{display:none}.auth-intro p{font-size:13px;margin:4px 0}.auth-features{display:none}.auth-card{padding:28px 24px}.filter-select{max-width:100%}.review-card{padding:13px}.auth-card h2{font-size:24px}}
.ai-home{display:flex;align-items:center;gap:24px;padding:24px;margin:24px 0;background:linear-gradient(120deg,#f0f5ff,#f9f6ff)}.ai-home h2{font-size:22px;margin:8px 0}.ai-home p{line-height:1.8;color:#526683;margin:8px 0}.ai-home small{color:#73849c}.ai-home .button{white-space:nowrap}.leave-photo{display:block;max-width:100%;max-height:520px;object-fit:contain;margin:16px auto}.auth-intro h1{font-size:38px;line-height:1.45;max-width:560px}
.sidebar .brand small{font-size:10px;letter-spacing:.3px;white-space:nowrap}
@media(max-width:720px){.ai-home{flex-direction:column;align-items:flex-start;padding:20px}.ai-home h2{font-size:20px}.auth-intro h1{font-size:30px}.auth-intro h1 br{display:block}}
.self-study-home{display:flex;align-items:center;gap:18px;padding:24px;margin:24px 0}.self-study-icon{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:12px;background:var(--blue-light);color:var(--blue)}.self-study-copy{min-width:0;flex:1}.self-study-copy h2{margin:0 0 8px;font-size:18px;font-weight:650;line-height:1.5}.self-study-copy p{margin:0;font-size:14px;color:#73849c;line-height:1.8}.self-study-home>.button{flex-shrink:0;white-space:nowrap;color:var(--blue)}
@media(max-width:720px){.self-study-home{padding:20px;gap:14px;flex-wrap:wrap;margin:18px 0}.self-study-copy{flex-basis:calc(100% - 58px)}.self-study-copy h2{font-size:17px}.self-study-copy p{font-size:12px}.self-study-home>.button{margin-left:58px}}
/* Keep the current identity visible on tablets and phones. */
@media(max-width:1050px){.topbar #role-label{display:inline-flex;align-items:center;white-space:nowrap;flex-shrink:0}}
@media(max-width:720px){.topbar{gap:8px;padding:0 12px}.topbar .breadcrumb{min-width:0;flex:1;gap:6px}.topbar #breadcrumb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar .mobile-menu{flex-shrink:0}.topbar .top-actions{flex-shrink:0;gap:6px}.topbar #role-label{padding:4px 6px}.topbar .role-switch{padding:4px 2px;white-space:nowrap}.topbar .profile{padding-left:6px}}
.server-resource-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.server-resource-card{padding:20px;border:1px solid var(--line);border-radius:12px;background:#fafbfe;min-width:0}.server-resource-card h3{font-size:15px;margin:0 0 16px}.server-resource-card>strong{font-size:28px;color:var(--ink)}.server-resource-card strong small{font-size:12px;font-weight:400;color:var(--muted)}.server-resource-card progress{display:block;width:100%;height:12px;margin:14px 0;accent-color:var(--blue)}.server-resource-card dl{margin:0;display:grid;gap:9px}.server-resource-card dl>div{display:flex;justify-content:space-between;gap:12px;font-size:13px}.server-resource-card dt{color:var(--muted)}.server-resource-card dd{margin:0;font-variant-numeric:tabular-nums}@media(max-width:600px){.server-resource-grid{grid-template-columns:1fr}}

/* Align the learning report action with the log card heading. */
.learning-log-heading{flex-wrap:wrap}.learning-log-heading>.button{flex-shrink:0;white-space:nowrap;color:var(--blue)}
