:root {
  color-scheme: light;
  --green-950: #082e26;
  --green-900: #0b3d31;
  --green-800: #0c4a3a;
  --green-700: #0f5c47;
  --green-600: #167159;
  --green-500: #21876b;
  --green-100: #dff3eb;
  --green-50: #f0f8f4;
  --ink: #18231f;
  --muted: #68756f;
  --line: #dfe8e3;
  --canvas: #f4f7f5;
  --surface: #fff;
  --gold: #c39a52;
  --danger: #b64242;
  --warn: #9a6a1e;
  --shadow: 0 18px 52px rgba(14, 52, 40, .09);
  --shadow-sm: 0 8px 24px rgba(14, 52, 40, .07);
  --radius: 18px;
  font-family: "Inter", "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible { outline: 3px solid rgba(33,135,107,.32); outline-offset: 3px; }

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(430px, .8fr);
  background: #0d3f33;
}

.auth-visual {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(5, 36, 29, .93) 0%, rgba(6, 48, 38, .72) 44%, rgba(7, 49, 39, .25) 100%),
    url("/learning-cabin/assets/international-campus-hero-v1.png") center/cover no-repeat;
}

.auth-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(4, 31, 25, .58));
  pointer-events: none;
}

.auth-brand {
  position: absolute;
  z-index: 2;
  top: 42px;
  left: 54px;
  height: 58px;
  filter: brightness(0) invert(1);
}

.brand-lockup { display: inline-flex; align-items: center; gap: 12px; overflow: hidden; white-space: nowrap; }
.brand-core { width: 160px; height: 58px; display: block; overflow: hidden; flex: 0 0 auto; }
.brand-core img { width: 324px; height: 58px; max-width: none; object-fit: contain; object-position: left center; }
.brand-suffix { color: #111; font-size: 24px; line-height: 1; font-weight: 800; letter-spacing: .02em; }

.auth-message {
  position: absolute;
  z-index: 2;
  left: clamp(48px, 7vw, 104px);
  bottom: clamp(72px, 11vh, 132px);
  max-width: 680px;
  color: #fff;
}

.auth-kicker, .eyebrow {
  margin: 0 0 14px;
  color: #bfe4d5;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.auth-message h1 {
  max-width: 640px;
  margin: 0;
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(42px, 4.6vw, 72px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -.035em;
}

.auth-message p:last-child {
  max-width: 530px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 17px;
}

.auth-mini-program {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}

.auth-mini-program--hero {
  position: absolute;
  z-index: 2;
  top: 38px;
  right: 42px;
  padding: 9px 12px 9px 9px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 15px;
  color: #163a31;
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 36px rgba(4,30,24,.2);
  backdrop-filter: blur(12px);
}

.auth-mini-program img { width: 70px; height: 70px; border-radius: 9px; object-fit: contain; background: #fff; }
.auth-mini-program figcaption { display: grid; gap: 1px; line-height: 1.45; }
.auth-mini-program figcaption strong { font-size: 12px; white-space: nowrap; }
.auth-mini-program figcaption span { color: #60736b; font-size: 10px; }
.auth-mini-program--mobile { display: none; }

.auth-panel {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px clamp(34px, 5vw, 78px);
  background: #fff;
}

.auth-card { width: min(100%, 430px); }
.auth-card h2 { margin: 0; font-size: 32px; line-height: 1.25; letter-spacing: -.03em; }
.auth-subtitle { margin: 10px 0 32px; color: var(--muted); }
.auth-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.auth-tab {
  position: relative;
  border: 0;
  padding: 0 0 13px;
  background: transparent;
  color: var(--muted);
  font-weight: 650;
}
.auth-tab.active { color: var(--green-700); }
.auth-tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--green-600); }

.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { color: #34413c; font-size: 13px; font-weight: 700; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid #cedbd4;
  border-radius: 11px;
  outline: 0;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  transition: border-color .18s, box-shadow .18s;
}
.field input { height: 48px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(33,135,107,.12); }
.field-help { color: var(--muted); font-size: 12px; }
.password-row { position: relative; }
.password-row input { padding-right: 72px; }
.reveal-btn { position: absolute; right: 10px; top: 7px; height: 34px; border: 0; background: transparent; color: var(--green-700); font-size: 13px; }
.form-meta { display: flex; justify-content: flex-end; margin: -5px 0 20px; }
.text-btn { border: 0; padding: 0; background: transparent; color: var(--green-700); font-weight: 650; }
.primary-btn, .secondary-btn, .danger-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 10px 18px;
  font-weight: 700;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.primary-btn { color: #fff; background: var(--green-700); box-shadow: 0 9px 22px rgba(15,92,71,.2); }
.primary-btn:hover { background: var(--green-800); transform: translateY(-1px); }
.primary-btn.wide { width: 100%; min-height: 50px; }
.secondary-btn { color: var(--green-800); border-color: #bcd4ca; background: #fff; }
.secondary-btn:hover { background: var(--green-50); }
.danger-btn { color: var(--danger); border-color: #ebcaca; background: #fff; }
button:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }
.code-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.code-row .secondary-btn { min-width: 118px; }
.auth-note { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.auth-footer { margin-top: 40px; color: #8a9691; font-size: 12px; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 244px minmax(0, 1fr); }
.sidebar {
  position: fixed;
  z-index: 20;
  inset: 0 auto 0 0;
  width: 244px;
  display: flex;
  flex-direction: column;
  padding: 24px 18px 20px;
  color: #dceee6;
  background: linear-gradient(180deg, #0b4939, #0a382e 78%, #082e26);
  box-shadow: 8px 0 28px rgba(5,40,31,.1);
}
.sidebar-brand { height: 55px; display: flex; align-items: center; margin: 0 7px 28px; }
.sidebar-brand .brand-lockup { height: 42px; filter: brightness(0) invert(1); }
.sidebar-brand .brand-core { width: 116px; height: 42px; }
.sidebar-brand .brand-core img { width: 235px; height: 42px; }
.sidebar-brand .brand-suffix { font-size: 19px; }
.nav-section-label { padding: 0 13px 8px; color: rgba(225,242,234,.5); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.nav { display: grid; gap: 5px; }
.nav-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 10px;
  padding: 11px 13px;
  color: rgba(235,247,241,.77);
  background: transparent;
  text-align: left;
  font-weight: 600;
}
.nav-btn:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-btn.active { color: #fff; background: rgba(255,255,255,.14); box-shadow: inset 3px 0 #8ed0b6; }
.nav-icon { width: 21px; height: 21px; flex: 0 0 auto; }
.nav-badge { margin-left: auto; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 6px; border-radius: 10px; background: #cda764; color: #17362c; font-size: 11px; font-weight: 800; }
.sidebar-foot { margin-top: auto; padding: 17px 12px 0; border-top: 1px solid rgba(255,255,255,.11); }
.sidebar-foot strong { display: block; color: #fff; }
.sidebar-foot span { display: block; margin-top: 2px; color: rgba(255,255,255,.56); font-size: 12px; }

.workspace { grid-column: 2; min-width: 0; }
.topbar {
  position: sticky;
  z-index: 12;
  top: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 3.4vw, 52px);
  border-bottom: 1px solid rgba(215,227,221,.8);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
}
.topbar-title { display: flex; align-items: center; gap: 13px; }
.mobile-menu { display: none; border: 0; background: transparent; padding: 5px; color: var(--green-800); }
.topbar h1 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--green-800); background: #fff; }
.icon-btn .dot { position: absolute; right: 5px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: #d09345; box-shadow: 0 0 0 2px #fff; }
.user-chip { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 0; text-align: left; }
.avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #277e64, #0c4637); font-weight: 800; }
.user-copy strong, .user-copy span { display: block; line-height: 1.35; }
.user-copy span { color: var(--muted); font-size: 11px; }

.content { padding: 34px clamp(24px, 3.4vw, 52px) 64px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.page-head h2 { margin: 0; font-size: clamp(25px, 2.4vw, 34px); line-height: 1.25; letter-spacing: -.035em; }
.page-head p { margin: 7px 0 0; color: var(--muted); }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.welcome {
  position: relative;
  min-height: 230px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-radius: 24px;
  padding: 36px 40px;
  color: #fff;
  background:
    linear-gradient(95deg, rgba(6,55,43,.96), rgba(11,78,60,.79) 57%, rgba(13,83,63,.35)),
    url("/learning-cabin/assets/international-campus-hero-v1.png") 70% 48%/cover no-repeat;
  box-shadow: var(--shadow);
}
.welcome::after { content: ""; position: absolute; right: -80px; bottom: -135px; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.035), 0 0 0 90px rgba(255,255,255,.025); }
.welcome-copy { position: relative; z-index: 1; max-width: 650px; }
.welcome h2 { margin: 0; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(30px, 3vw, 43px); font-weight: 500; letter-spacing: -.03em; }
.welcome p { max-width: 500px; margin: 12px 0 25px; color: rgba(255,255,255,.78); }
.welcome .primary-btn { color: var(--green-900); background: #fff; box-shadow: none; }

.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 22px 0; }
.metric { min-height: 118px; display: flex; align-items: center; gap: 16px; border: 1px solid #e4ece8; border-radius: var(--radius); padding: 20px; background: var(--surface); box-shadow: var(--shadow-sm); }
.metric-icon { width: 45px; height: 45px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 13px; color: var(--green-700); background: var(--green-50); }
.metric strong { display: block; font-size: 25px; line-height: 1.1; }
.metric span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .75fr); gap: 22px; align-items: start; }
.stack { display: grid; gap: 22px; }
.panel { border: 1px solid #e2ebe6; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; }
.panel-head { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px 20px; border-bottom: 1px solid #e8eeeb; }
.panel-head h3 { margin: 0; font-size: 17px; }
.panel-body { padding: 20px; }

.list { display: grid; }
.list-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid #edf1ef; }
.list-row:first-child { padding-top: 0; }
.list-row:last-child { padding-bottom: 0; border-bottom: 0; }
.list-main { min-width: 0; }
.list-title { margin: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-meta { margin-top: 4px; color: var(--muted); font-size: 12px; }
.status { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 4px 9px; color: var(--green-700); background: var(--green-50); font-size: 11px; font-weight: 750; white-space: nowrap; }
.status.warn { color: #855712; background: #fff4dd; }
.status.danger { color: #9a3838; background: #fff0f0; }
.status.gray { color: #68736e; background: #eef2f0; }
.progress { height: 6px; margin-top: 10px; overflow: hidden; border-radius: 6px; background: #e8efeb; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green-500), #75bda1); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.course-card { display: grid; min-height: 245px; overflow: hidden; border: 1px solid #dfe9e4; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; }
.course-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.course-cover { position: relative; height: 92px; padding: 18px; color: #fff; background: linear-gradient(125deg, #0d5a45, #2b8a6c); overflow: hidden; }
.course-cover.alt { background: linear-gradient(125deg, #2d5f5a, #6a9b87); }
.course-cover.warm { background: linear-gradient(125deg, #705f45, #ae9364); }
.course-cover::after { content: ""; position: absolute; right: -35px; bottom: -70px; width: 160px; height: 160px; border: 25px solid rgba(255,255,255,.1); border-radius: 50%; }
.course-cover span { position: relative; z-index: 1; font-size: 11px; letter-spacing: .12em; }
.course-body { display: flex; flex-direction: column; padding: 18px; }
.course-body h3 { margin: 0; font-size: 17px; line-height: 1.45; }
.course-body p { margin: 6px 0 16px; color: var(--muted); font-size: 12px; }
.course-body .secondary-btn { align-self: flex-start; margin-top: auto; min-height: 36px; padding: 6px 12px; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.filter-btn { min-height: 37px; border: 1px solid #d8e4de; border-radius: 999px; padding: 7px 14px; color: var(--muted); background: #fff; }
.filter-btn.active { border-color: var(--green-700); color: #fff; background: var(--green-700); }
.search { min-width: 230px; height: 40px; border: 1px solid #d8e4de; border-radius: 10px; padding: 0 13px; outline: 0; background: #fff; }
.search:focus { border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(33,135,107,.1); }

.data-table-wrap { overflow: auto; border: 1px solid #e0e9e4; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.data-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.data-table th, .data-table td { padding: 14px 16px; border-bottom: 1px solid #edf1ef; text-align: left; vertical-align: middle; }
.data-table th { color: #68756f; background: #f8faf9; font-size: 11px; letter-spacing: .04em; font-weight: 750; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fbfdfc; }
.table-action { border: 0; padding: 3px 0; color: var(--green-700); background: transparent; font-weight: 700; }

.academic-hero { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; margin-bottom: 20px; border-radius: var(--radius); padding: 22px; color: #fff; background: linear-gradient(120deg, var(--green-800), #28755f); }
.academic-avatar { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 16px; background: rgba(255,255,255,.15); font-size: 25px; font-weight: 800; }
.academic-hero h3 { margin: 0; font-size: 22px; }
.academic-hero p { margin: 4px 0 0; color: rgba(255,255,255,.7); }
.academic-tabs { display: flex; gap: 3px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.academic-tab { flex: 0 0 auto; border: 0; border-bottom: 3px solid transparent; padding: 11px 16px; color: var(--muted); background: transparent; font-weight: 650; }
.academic-tab.active { color: var(--green-700); border-bottom-color: var(--green-600); }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.info-item { min-height: 88px; padding: 17px; background: #fff; }
.info-item span { display: block; color: var(--muted); font-size: 11px; }
.info-item strong { display: block; margin-top: 7px; font-size: 15px; }

.empty { min-height: 210px; display: grid; place-items: center; padding: 35px; text-align: center; color: var(--muted); }
.empty-icon { width: 60px; height: 60px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 18px; color: var(--green-600); background: var(--green-50); }
.empty h3 { margin: 0; color: var(--ink); font-size: 17px; }
.empty p { margin: 6px 0 0; font-size: 13px; }

.skeleton { overflow: hidden; position: relative; min-height: 120px; border-radius: var(--radius); background: #e7eeea; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent); animation: shimmer 1.25s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }

.modal-backdrop { position: fixed; z-index: 60; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(8,31,25,.58); backdrop-filter: blur(6px); }
.modal { width: min(680px, 100%); max-height: min(820px, calc(100vh - 48px)); overflow: auto; border-radius: 20px; background: #fff; box-shadow: 0 30px 90px rgba(4,25,20,.3); }
.modal-head { position: sticky; z-index: 2; top: 0; display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; padding: 22px 24px 18px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); }
.modal-head h3 { margin: 0; font-size: 21px; }
.modal-head p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.close-btn { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--muted); }
.modal-body { padding: 24px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 18px; }
.detail-copy { white-space: pre-wrap; color: #43504b; }
.file-drop { border: 1px dashed #9ebcaf; border-radius: 12px; padding: 18px; text-align: center; color: var(--muted); background: var(--green-50); }
.file-drop input { max-width: 100%; }

.toast-root { position: fixed; z-index: 100; right: 24px; top: 24px; display: grid; gap: 10px; }
.toast { min-width: 260px; max-width: 410px; border-left: 4px solid var(--green-500); border-radius: 10px; padding: 13px 16px; color: #fff; background: #183d32; box-shadow: 0 16px 48px rgba(5,30,24,.22); animation: toast-in .2s ease-out; }
.toast.error { border-left-color: #e48585; background: #542d2d; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } }

.error-banner { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; border: 1px solid #f0cccc; border-radius: 12px; padding: 13px 16px; color: #813b3b; background: #fff4f4; }
.error-banner button { border: 0; color: inherit; background: transparent; font-weight: 700; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

@media (max-width: 1180px) {
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .auth-page { grid-template-columns: 1fr; background: #fff; }
  .auth-visual { min-height: 340px; }
  .auth-brand { left: 28px; top: 28px; height: 52px; }
  .auth-mini-program--hero { top: 24px; right: 26px; }
  .auth-message { left: 30px; right: 28px; bottom: 42px; }
  .auth-message h1 { font-size: 38px; }
  .auth-message p:last-child { display: none; }
  .auth-panel { min-height: auto; padding: 42px 28px 60px; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { transform: translateX(-104%); transition: transform .22s ease; }
  .sidebar.open { transform: translateX(0); }
  .workspace { grid-column: 1; }
  .mobile-menu { display: grid; place-items: center; }
  .sidebar-scrim { position: fixed; z-index: 19; inset: 0; background: rgba(4,27,21,.42); }
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .auth-visual { min-height: 300px; }
  .auth-brand { left: 22px; top: 22px; transform: scale(.88); transform-origin: left top; }
  .auth-message { left: 23px; right: 22px; bottom: 30px; }
  .auth-message h1 { font-size: 32px; }
  .auth-mini-program--hero { display: none; }
  .auth-mini-program--mobile { display: flex; width: fit-content; margin: 22px 0 0; padding: 8px 12px 8px 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--green-50); }
  .auth-mini-program--mobile img { width: 62px; height: 62px; }
  .topbar { height: 64px; padding: 0 18px; }
  .topbar h1 { font-size: 17px; }
  .user-copy { display: none; }
  .content { padding: 24px 17px 48px; }
  .page-head { align-items: flex-start; flex-direction: column; }
  .welcome { min-height: 260px; padding: 28px 24px; }
  .metrics, .cards, .info-grid { grid-template-columns: 1fr; }
  .metric { min-height: 96px; }
  .academic-hero { grid-template-columns: auto 1fr; }
  .academic-hero > :last-child { grid-column: 1 / -1; }
  .code-row { grid-template-columns: 1fr; }
  .code-row .secondary-btn { width: 100%; }
  .toast-root { left: 16px; right: 16px; top: 16px; }
  .toast { min-width: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
