:root {
  color-scheme: light;
  --navy: #0c2034;
  --navy-deep: #091a2b;
  --ink: #122337;
  --muted: #56677a;
  --border: #dbe4ed;
  --surface: #fff;
  --page: #f3f6fa;
  --teal: #0c7268;
  --teal-dark: #08594f;
  --teal-soft: #e4f5ef;
  --amber-soft: #fff2d9;
  --amber: #835710;
  --red: #a83839;
  --radius: 15px;
  --shadow: 0 7px 28px rgba(21, 47, 78, .06);
  font: 15px/1.55 "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .58; }
a { color: var(--teal-dark); }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #36ac9c; outline-offset: 2px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.17; }
h2 { font-size: 1.37rem; }
h3 { font-size: 1.03rem; }
svg { vertical-align: middle; }
button svg, .link svg, .nav-button svg { width: 18px; height: 18px; flex: none; }
.skip-link { position: fixed; top: .8rem; left: .8rem; z-index: 30; transform: translateY(-200%); padding: .6rem .9rem; background: white; border-radius: 8px; }
.skip-link:focus { transform: none; }
.boot { min-height: 80vh; display: grid; justify-items: center; align-content: center; gap: 1rem; color: var(--muted); }
.spinner { display: inline-block; width: 24px; height: 24px; border: 3px solid #cad8e6; border-top-color: var(--teal); border-radius: 50%; animation: spin .65s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.shell { display: grid; grid-template-columns: 246px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; padding: 27px 17px 18px; color: #d8e5ef; background: linear-gradient(164deg, #10273d 0, #0a1d31 59%, #102b3e 100%); }
.brand { display: flex; align-items: center; gap: 12px; margin: 0 6px; }
.brand-logos { display: inline-flex; align-items: center; gap: 9px; flex: none; padding: 6px 9px; background: #fff; border-radius: 9px; }
.brand-logos img { display: block; width: auto; height: 40px; object-fit: contain; }
.sidebar .brand { align-items: flex-start; flex-direction: column; gap: 8px; }
.brand strong { display: block; color: #fff; font-size: 1.08rem; letter-spacing: -.035em; }
.brand small { display: block; color: #a6b7c8; font-size: .72rem; }
.workspace-tag { margin: 31px 11px 10px; color: #a3b8cb; font-weight: 750; font-size: .66rem; letter-spacing: .12em; }
.sidebar-nav { display: grid; gap: 5px; }
.nav-button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 11px; border: 1px solid transparent; border-radius: 9px; color: #d7e3ed; background: transparent; font-weight: 600; }
.nav-button:hover { background: #20374c; }
.nav-button.active { color: #b3f4df; background: #17463f; border-color: #2a5a51; }
.sidebar-footer { margin-top: auto; padding: 14px 10px 4px; border-top: 1px solid #2b4357; font-size: .73rem; color: #a7bdce; }
.sidebar-footer strong { display: block; margin-bottom: 3px; color: #e2edf5; font-weight: 690; }
.workspace { min-width: 0; }
.topbar { min-height: 67px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 34px; background: #fff; border-bottom: 1px solid var(--border); }
.crumb { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--muted); font-size: .84rem; }
.crumb svg { width: 16px; height: 16px; color: var(--teal); flex: none; }
.crumb strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-weight: 670; }
.account { display: flex; align-items: center; gap: 9px; min-width: 0; }
.account-name { display: block; font-weight: 700; font-size: .83rem; line-height: 1.15; overflow-wrap: anywhere; }
.account-role { display: block; margin-top: 3px; color: var(--muted); font-size: .73rem; }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #dff3ee; color: #065a50; font-size: .76rem; font-weight: 800; flex: none; }
.demo-pill, .status, .cpl-chip { display: inline-flex; align-items: center; gap: .33rem; padding: .24rem .55rem; border-radius: 50px; white-space: nowrap; font-size: .71rem; font-weight: 740; }
.demo-pill { color: #76520b; background: #fff3d8; border: 1px solid #f3dfb1; }
.live-pill { color: #17645b; background: #e4f5ef; border-color: #b7e0d5; }
.status.draft, .status.awaiting { background: var(--amber-soft); color: var(--amber); }
.status.published, .status.enrolled { background: var(--teal-soft); color: #0a5b4f; }
.status.revision { background: #eceafb; color: #493e9d; }
.status-dot { width: .44rem; height: .44rem; background: currentColor; border-radius: 50%; }
.cpl-chip { color: #22556a; background: #e6f2f7; font-size: .67rem; }
.main-content { max-width: 1620px; margin: 0 auto; padding: 29px 34px 45px; }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.hero { position: relative; overflow: hidden; padding: 28px 30px; border-radius: 18px; background: radial-gradient(ellipse at 90% -15%, #226760 0, transparent 58%), linear-gradient(106deg, #102a40, #14474d); color: #fff; box-shadow: var(--shadow); }
.hero::after { position: absolute; content: ""; width: 310px; height: 310px; right: -35px; top: -114px; border: 1px solid rgba(167, 240, 220, .18); border-radius: 50%; box-shadow: 0 0 0 25px rgba(167, 240, 220, .06), 0 0 0 55px rgba(167, 240, 220, .04); pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.hero .eyebrow { color: #a8edda; }
.eyebrow { margin-bottom: 7px; color: #167267; font-weight: 800; letter-spacing: .14em; font-size: .68rem; text-transform: uppercase; }
.hero h1, .page-heading h1 { margin-bottom: 8px; font-size: clamp(1.7rem, 3.3vw, 2.38rem); font-weight: 790; letter-spacing: -.045em; }
.hero p { max-width: 63ch; color: #d1e4ec; }
.hero .staff-hero-description { max-width: none; }
.muted { color: var(--muted); }
.subtle { color: var(--muted); font-size: .8rem; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.stat { min-width: 0; display: grid; grid-template-columns: 43px minmax(0, 1fr); align-items: center; gap: 12px; padding: 15px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.stat-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: #e5f4f1; color: #166a61; }
.stat-icon svg { width: 21px; height: 21px; }
.stat:nth-child(2) .stat-icon { background: #e9f0fc; color: #245c9d; }
.stat:nth-child(3) .stat-icon { background: #eeeafb; color: #58449b; }
.stat:nth-child(4) .stat-icon { background: #fff0d7; color: #946512; }
.stat strong { display: block; font-size: 1.47rem; line-height: 1.12; letter-spacing: -.04em; }
.stat small { display: block; margin-top: 3px; color: var(--muted); font-size: .75rem; }
.panel, .card { min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel { padding: 20px; }
.panel h2 + p { margin-top: 5px; }
.section-head { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 12px; margin-bottom: 15px; }
.section-head > :first-child { flex: 1 1 18rem; min-width: 0; }
.section-head p { margin-top: 4px; }
.class-tools, .actions, .toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.toolbar { margin-bottom: 14px; }
.class-tools label { display: flex; align-items: center; gap: 6px; }
input:not([type=file]), select, textarea { min-width: 0; min-height: 38px; padding: 7px 9px; color: var(--ink); background: #fff; border: 1px solid #c9d5e0; border-radius: 8px; }
input::placeholder, textarea::placeholder { color: #647487; }
textarea { width: 100%; resize: vertical; }
.search-wrap { display: inline-flex; align-items: center; gap: .4rem; min-width: 0; max-width: 100%; }
.search-wrap input { width: min(100%, 235px); }
.search-wrap svg { width: 17px; height: 17px; color: var(--muted); }
.btn, .button, .link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 7px 12px; border: 1px solid #cdd9e3; border-radius: 8px; font-weight: 720; font-size: .81rem; text-decoration: none; color: var(--ink); background: #fff; white-space: nowrap; }
.btn:hover, .button:hover { background: #f2f6fa; }
.btn.primary, .button.primary { color: #fff; background: var(--teal); border-color: var(--teal); }
.btn.primary:hover, .button.primary:hover { background: var(--teal-dark); }
.btn.danger { color: var(--red); border-color: #edc6c6; }
.btn.ghost, .link { min-height: 32px; padding: 3px 5px; border-color: transparent; color: var(--teal-dark); background: transparent; }
.btn.icon { min-width: 36px; min-height: 36px; padding: 6px; }
.btn.small { min-height: 31px; padding: 4px 8px; font-size: .74rem; }
.class-list { display: grid; gap: 11px; margin-top: 14px; }
.class-card { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(145px, .7fr) auto; align-items: center; gap: 17px; padding: 13px 14px; border: 1px solid var(--border); border-radius: 11px; background: #fff; }
.class-card:hover { border-color: #8abeb5; }
.course-identity { display: flex; gap: 11px; align-items: center; min-width: 0; overflow-wrap: anywhere; }
.course-symbol { display: grid; place-items: center; flex: none; width: 40px; height: 40px; color: #1a625b; background: #e7f4f1; border-radius: 9px; }
.course-symbol svg { width: 21px; height: 21px; }
.course-code { color: var(--teal-dark); font-size: .69rem; font-weight: 790; }
.class-card .meta { margin-top: 3px; color: var(--muted); font-size: .76rem; }
.class-card .card-end { display: flex; align-items: center; justify-content: end; gap: 10px; }
.progress-label { display: flex; align-items: center; justify-content: space-between; gap: 6px; color: var(--muted); font-size: .71rem; }
.progress-line { height: 6px; margin-top: 5px; overflow: hidden; border-radius: 6px; background: #e8eff4; }
.progress-line span { display: block; height: 100%; background: #208775; border-radius: 6px; }
.empty { padding: 25px 15px; color: var(--muted); text-align: center; border: 1px dashed #c6d7e3; border-radius: 10px; background: #f8fbfd; }

.page-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 13px; }
.account-page { max-width: 620px; }
.profile-form { display: grid; gap: 12px; }
.profile-form input[readonly] { background: var(--page); color: var(--muted); }
.heading-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: var(--muted); font-size: .84rem; }
.tabs { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; padding: 5px; border: 1px solid var(--border); border-radius: 10px; background: #eaf0f6; }
.tab { padding: 7px 11px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--muted); font-size: .79rem; font-weight: 730; }
.tab.active { background: white; border-color: #d6e4eb; color: var(--teal-dark); }
.table-scroll, .table-wrap { min-width: 0; max-width: 100%; overflow: auto; overscroll-behavior-x: contain; border: 1px solid var(--border); border-radius: 9px; }
.table-scroll:focus-visible { outline: 3px solid #36ac9c; outline-offset: 2px; }
.archive-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin-bottom: 14px; }
.archive-filter .field { flex: 1 1 8rem; min-width: 0; }
.archive-filter .archive-query { flex-basis: 14rem; }
.archive-filter .archive-class-picker { flex-basis: 22rem; }
.archive-context { margin: 2px 0 10px; }
.archive-table th, .archive-table td { vertical-align: top; }
.archive-table small, .archive-score-matrix th[scope=row] small { color: var(--muted); }
.archive-reasons { min-width: 155px; margin: 0; padding-inline-start: 15px; }
.archive-pagination { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-top: 10px; }
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .83rem; }
th, td { padding: 9px 11px; border-bottom: 1px solid #e7edf3; text-align: left; vertical-align: middle; }
thead th { color: #2a445a; background: #edf3f7; white-space: nowrap; }
tbody tr:nth-child(even) > td { background: #f8fbfd; }
tbody tr:last-child > td { border-bottom: 0; }
.mapping-table td:first-child { white-space: nowrap; }
.mapping-table th:nth-child(n+3), .mapping-table td:nth-child(n+3) { text-align: center; white-space: nowrap; }
.mapping-table .mapping-weight { color: var(--teal-dark); font-variant-numeric: tabular-nums; }
.grade-table th:nth-child(n+3), .grade-table td:nth-child(n+3) { text-align: center; min-width: 104px; }
.grade-table th:nth-child(2), .grade-table td:nth-child(2) { min-width: 158px; }
.grade-table th:nth-child(1), .grade-table td:nth-child(1) { min-width: 100px; white-space: nowrap; }
.grade-table th:nth-child(1), .grade-table td:nth-child(1) { position: sticky; left: 0; z-index: 1; background: #fff; }
.grade-table th:nth-child(1) { background: #edf3f7; }
.grade-table tbody tr:nth-child(even) > td:nth-child(1) { background: #f8fbfd; }
.grade-table td:nth-child(1), .grade-table th:nth-child(1) { box-shadow: 1px 0 #dbe4ed; }
.grade-table th .cpl-chip { display: block; width: fit-content; margin: 4px auto 0; }
.grade-weight-label { display: block; margin-top: 3px; color: var(--teal-dark); font-size: .72rem; }
.grade-table .final-grade { background: #e5f4f0; }
.grade-table tbody tr:nth-child(even) > td.final-grade { background: #edf8f5; }
.final-grade-score { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.final-grade .final-grade-score { color: #10594f; }
.grade-letter { padding: 1px 4px; border: 1px solid currentColor; border-radius: 4px; font-size: .72rem; font-weight: 760; line-height: 1.25; }
.grade-table .template-preview { background: #f9efdb; color: #674700; }
.grade-table tbody tr:nth-child(even) > td.template-preview { background: #fdf5e7; }
.grade-table .grade-cell { display: flex; align-items: center; justify-content: center; gap: 3px; }
.grade-table input { width: 65px; min-height: 33px; padding: 4px 5px; text-align: center; font-variant-numeric: tabular-nums; scroll-margin-inline-start: 104px; }
.grade-table .absent { min-width: 25px; height: 27px; padding: 2px; border: 1px solid #dce5eb; background: #f8fafc; color: #576779; border-radius: 5px; font-size: .58rem; font-weight: 790; }
.grade-table .absent[aria-pressed=true] { color: var(--amber); background: var(--amber-soft); border-color: #e9d6ab; }
.grade-table .grade-value { color: #10594f; font-weight: 760; font-variant-numeric: tabular-nums; }
.grade-table td.below-threshold,
.grade-table tbody tr:nth-child(even) > td.below-threshold { background: #fff0f1; color: #812a32; box-shadow: inset 3px 0 #bc545b; }
.grade-table .below-threshold .grade-value, .grade-table .below-threshold .final-grade-score { color: inherit; }
.grade-table .below-threshold input { color: #812a32; border-color: #bc545b; }
.threshold-flag { display: block; margin-top: 3px; font-size: .68rem; font-weight: 720; }
.inline-hint { margin: 0 0 12px; padding: 8px 11px; border-radius: 7px; background: #ebf6f4; color: #225c54; font-size: .8rem; }
.final-grade-hint { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 12px; justify-content: space-between; }
.weight-template-note { margin-top: 5px; }
.inline-hint.warn { background: var(--amber-soft); color: #674700; }
.changed-tag { color: #0c6a60; font-size: .8rem; font-weight: 700; }
.detail-intro { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.settings-grid { display: grid; gap: 12px; }
.final-weight-panel { min-width: 0; margin: 0; padding: 12px; border: 1px solid var(--border); border-radius: 10px; background: #f6fbfa; }
.final-weight-panel legend { padding: 0 4px; font-weight: 760; }
.final-weight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); gap: 8px; margin: 9px 0; }
.final-weight-grid input { width: 100%; }
.final-weight-total { color: var(--muted); font-size: .82rem; font-weight: 720; }
.final-weight-total[data-ready=true] { color: var(--teal-dark); }
.settings-item { padding: 12px; border: 1px solid var(--border); border-radius: 10px; }
.settings-item summary { cursor: pointer; font-weight: 730; }
.settings-fields { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; margin: 9px 0; }
.field, .field-stack { display: grid; gap: 4px; color: var(--muted); font-size: .78rem; }
.field > input, .field > select { min-height: 36px; }
.audit-list { margin: 0; padding: 0; list-style: none; }
.audit-list li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.audit-list li:last-child { border-bottom: 0; }

.welcome { min-height: 100vh; background: radial-gradient(circle at 90% 4%, #194c4d, transparent 46%), var(--navy-deep); }
.welcome .brand { margin: 0; }
.welcome-frame { width: min(1030px, calc(100% - 48px)); margin: 0 auto; padding: 36px 0 48px; }
.welcome-content { padding: clamp(32px, 9vw, 108px) 0 0; color: #fff; }
.welcome-content .eyebrow { color: #a7ead9; }
.welcome-content h1 { max-width: 16ch; margin: 12px 0; color: white; font-size: clamp(2.3rem, 6vw, 4rem); letter-spacing: -.055em; }
.welcome-content > p { max-width: 62ch; color: #bcd0dc; }
.welcome-card { padding: 22px; margin-top: 25px; border: 1px solid #2b4c5c; border-radius: 14px; background: #122b3d; }
.welcome-card p { color: #bed1db; margin-top: 6px; }
.welcome-external { display: inline-block; margin-top: 14px; color: #b3e9dd; text-decoration: underline; }
.login-content { padding-top: clamp(35px, 7vw, 78px); }
.login-content h1 { max-width: none; }
.login-card { max-width: 37rem; }
.login-form { display: grid; gap: 12px; margin-top: 16px; }
.login-form label { display: grid; gap: 5px; color: #eaf3f7; font-size: .86rem; font-weight: 650; }
.login-form input { width: 100%; min-height: 44px; font-size: 1rem; }
.login-form small { color: #bed1db; font-weight: 400; }
.login-form .btn { justify-self: start; min-height: 44px; padding-inline: 18px; }
.login-form .login-status { margin: 0; font-size: .86rem; }
.login-status:empty { margin-top: -12px; }
.login-status[data-error] { color: #ffd0cf; }
.login-activation { margin-top: 16px; padding-top: 16px; border-top: 1px solid #345265; }
.login-activation summary, .login-owner-setup a { color: #b3e9dd; font-weight: 650; text-underline-offset: 3px; }
.login-activation summary { cursor: pointer; }
.login-activation summary:focus-visible { outline: 3px solid #36ac9c; outline-offset: 2px; }
.login-owner-setup { margin-top: 14px; font-size: .86rem; }
.login-owner-setup span { display: block; margin-top: 4px; }
.login-roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 16px 24px; max-width: 48rem; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid #2b4c5c; }
.login-roles dt { color: #eaf3f7; font-weight: 720; }
.login-roles dd { margin: 4px 0 0; color: #bed1db; font-size: .86rem; }
.role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin-top: 16px; }
.role-card { min-width: 0; padding: 14px; display: grid; gap: 6px; justify-items: start; text-align: left; color: #ebf6fa; background: #1b3b4a; border: 1px solid #386071; border-radius: 10px; }
.role-card:hover { background: #244e57; border-color: #74b9a8; }
.role-card svg { color: #a7ead9; }
.role-card strong { font-size: 1rem; }
.role-card small { color: #c1d4de; }
.notice-stack { position: fixed; z-index: 50; right: 18px; bottom: 18px; display: grid; gap: 7px; width: min(405px, calc(100% - 36px)); }
.notice { padding: 11px 13px; border: 1px solid #a5c9c0; background: #e9f8f3; color: #104f45; border-radius: 9px; box-shadow: var(--shadow); font-size: .84rem; }
.notice, .dialog-body .dialog-error { white-space: pre-line; }
.notice.error { color: #7d2a30; border-color: #edbcbc; background: #fff0f1; }
dialog { width: min(640px, calc(100vw - 28px)); max-height: min(86vh, 840px); overflow: auto; padding: 0; border: 1px solid var(--border); border-radius: 14px; color: var(--ink); box-shadow: 0 18px 80px #081b3a45; }
dialog::backdrop { background: #081a31a5; }
.dialog-body { display: grid; gap: 12px; padding: 20px; }
.dialog-body .actions { justify-content: end; }
.dialog-body .table-scroll { max-height: 315px; }
.dialog-body .dialog-error { color: var(--red); font-size: .8rem; }

.admin-grid { display: grid; gap: 14px; }
.admin-grid .toolbar { align-items: end; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.form-grid label { display: grid; gap: 4px; }
.form-grid label > input, .form-grid label > select { width: 100%; }
@media (max-width: 1120px) {
  .shell { grid-template-columns: 208px minmax(0, 1fr); }
  .topbar { padding: 10px 23px; }
  .main-content { padding: 22px 23px 36px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 825px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; height: auto; padding: 10px 14px; }
  .sidebar .brand { margin: 0; align-items: center; flex-direction: row; }
  .brand-logos img { height: 33px; }
  .workspace-tag, .sidebar-footer { display: none; }
  .sidebar-nav { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 7px; }
  .nav-button { width: auto; padding: 5px 8px; font-size: .75rem; }
  .nav-button svg { width: 15px; height: 15px; }
  .topbar { min-height: 54px; padding: 7px 14px; }
  .main-content { padding: 15px 14px 27px; }
  .hero { padding: 19px; }
  .panel { padding: 14px; }
  .class-card { grid-template-columns: minmax(0,1fr) auto; gap: 9px; }
  .class-card .completion { grid-row: 2; }
  .class-card .card-end { grid-column: 2; grid-row: 1 / 3; flex-direction: column; align-items: end; }
}
@media (max-width: 460px) {
  .account-info, .crumb .crumb-text { display: none; }
  .stat { grid-template-columns: 31px minmax(0, 1fr); gap: 8px; padding: 10px; }
  .stat-icon { width: 30px; height: 30px; }
  .stat-icon svg { width: 17px; height: 17px; }
  .stat strong { font-size: 1.17rem; }
  .stat small { font-size: .69rem; }
  .class-card { grid-template-columns: minmax(0, 1fr); padding: 9px; }
  .class-card .card-end { grid-area: auto; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .course-symbol { display: none; }
  .role-grid, .form-grid { grid-template-columns: 1fr; }
  .welcome-frame { width: calc(100% - 32px); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; } }
