:root {
  color-scheme: light;
  --ink: #182722;
  --muted: #53645f;
  --line: #e0e8e3;
  --page: #f5f7f5;
  --white: #fff;
  --green: #20493a;
  --dark: #142e25;
  --lime: #d4ed9c;
  --side: 252px;
  font-family: "Inter", "Aptos", "Segoe UI", sans-serif;
  font-size: 16px;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--page); color:var(--ink); }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor:pointer; }
button:disabled { opacity:.55; cursor:wait; }
:focus-visible { outline: 3px solid #508876; outline-offset: 4px; }
::selection { background:#d4ed9c; color:#132b23; }
h1,h2,h3,p { margin:0; }
h1,h2,h3 { letter-spacing:-.035em; }
svg { flex: 0 0 auto; vertical-align: middle; }
.skip { position: fixed; left: 12px; top: -75px; z-index: 10; padding: 10px 16px; border-radius:8px; background:white; color:black; }
.skip:focus { top: 12px; }
.sidebar {
  width:var(--side); position:fixed; top:0; left:0; bottom:0; z-index:4;
  display:flex; flex-direction:column; padding:26px 16px 19px;
  background:#132d24; color:#e4eee8; overflow-y:auto;
  background-image:linear-gradient(173deg,#17352a 0%,#142e25 65%,#10281f 100%);
}
.brand { display:flex; align-items:center; gap:11px; padding:0 8px; width:max-content; max-width:100%; }
.brand img { flex:none; box-shadow:0 3px 18px #0c221a5f; border-radius:11px; }
.brand>span { font-size:1.12rem; font-weight:720; line-height:1.11; letter-spacing:-.028em; }
.brand small { display:block; margin-top:7px; color:#a9c9ba; font-size:.625rem; font-weight:650; letter-spacing:.11em; }
.nav-caption { color:#a0bcb0; font-size:.72rem; font-weight:700; letter-spacing:.10em; text-transform:uppercase; padding:0 12px; margin:38px 0 11px; }
.instructor-caption { margin-top:26px; }
.sidebar nav { display:grid; gap:4px; }
.nav-link { background:transparent; color:#d2e1d9; width:100%; padding:10px 12px; min-height:43px; display:flex; align-items:center;
  gap:11px; font-size:.9rem; font-weight:550; text-align:left; border-radius:8px; border:1px solid transparent; }
.nav-link svg { color:#b1cabe; }
.nav-link:hover { background:#ffffff10; color:#fff; }
.nav-link.active { background:#315344; color:#effbd8; border-color:#4b685b; }
.nav-link.active svg { color:#d4ed9c; }
.sidebar-bottom { margin-top:auto; padding-top:24px; }
.sidebar-user { border-top:1px solid #ffffff22; display:flex; gap:10px; align-items:center; padding:16px 2px 0; margin:14px 4px 0; }
.avatar { width:35px; height:35px; border-radius:50%; display:inline-grid; place-items:center; background:#e2eee7; color:#255542;
  font-weight:750; font-size:.76rem; flex:none; }
.avatar.dark { background:#476958; color:#f3faed; }
.sidebar-user-text { display:grid; gap:3px; overflow:hidden; }
.sidebar-user-text strong { font-size:.84rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sidebar-user-text small { color:#aac5b7; text-transform:capitalize; font-size:.72rem; white-space:nowrap; }
.logout-icon { margin-left:auto; color:#b7cbbf !important; }
.sidebar .icon-button:hover { background:#ffffff14; }
.workspace { min-height:100vh; margin-left:var(--side); }
.topbar { min-height:68px; padding:0 35px; display:flex; align-items:center; justify-content:space-between; gap:18px;
  background:#fff; border-bottom:1px solid var(--line); }
.breadcrumbs { display:flex; align-items:center; gap:11px; color:var(--muted); font-size:.88rem; }
.breadcrumbs strong { color:#263a33; font-weight:650; }
.top-actions { display:flex; align-items:center; gap:15px; }
.course-switcher { appearance:none; padding:8px 32px 8px 11px; max-width:226px; width:100%;
  border:1px solid #dbe6de; border-radius:8px; color:#2c493b; background-color:#fff;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='%23354f43' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 8px center; font-size:.83rem; font-weight:650; text-overflow:ellipsis; }
.search-button { display:flex; align-items:center; gap:9px; color:#4c5e56; background:#f5f7f5; border:1px solid #e3e9e5;
  border-radius:8px; padding:8px 12px; min-width:135px; text-align:left; font-size:.86rem; }
.search-button:hover { background:#eaf1ec; }
.icon-button { border:0; background:transparent; width:36px; height:36px; padding:0; color:#3b544a; border-radius:8px;
  display:inline-grid; place-items:center; flex:none; }
.icon-button:hover { background:#edf3ee; }
.header-avatar { border:1px solid #d5e5db; }
.header-avatar:hover { background:#d4e8db; }
.menu-toggle { display:none; }
.content { max-width:1480px; margin:0 auto; padding:32px 35px 54px; }
.page-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:19px; margin:0 0 24px; }
.page-heading h1 { font-size:clamp(1.95rem,3.15vw,2.6rem); line-height:1.1; font-weight:735; letter-spacing:-.052em; }
.page-heading p { margin-top:9px; color:var(--muted); font-size:1rem; line-height:1.5; }
.today { display:flex; gap:8px; align-items:center; padding:8px 11px; color:#4a5b54; border:1px solid #dfe7e1; background:#fff;
  border-radius:8px; font-size:.84rem; white-space:nowrap; }
.today:empty { display:none; }
.hero { display:flex; align-items:center; min-height:278px; position:relative; isolation:isolate; overflow:hidden; border-radius:16px;
  background:#0c2a1e url('/assets/cradle.webp?v=2') right 50% / cover no-repeat; color:white; }
.hero.cover-math, .cover-math .card-art { background-image:url('/assets/math.webp'); }
.hero.cover-calculus, .cover-calculus .card-art { background-color:#081b35; background-image:url('/assets/calculus.webp?v=2'); }
.hero.cover-functions, .cover-functions .card-art { background-color:#220e34; background-image:url('/assets/functions.webp?v=2'); }
.hero.cover-chemistry, .cover-chemistry .card-art { background-color:#2c170e; background-image:url('/assets/chemistry.webp?v=2'); }
.hero.cover-calculus { --hero-shadow:8 23 47; --hero-accent:#cae8ff; }
.hero.cover-functions { --hero-shadow:34 14 50; --hero-accent:#edd9ff; }
.hero.cover-chemistry { --hero-shadow:43 23 14; --hero-accent:#ffe7bd; }
.hero::before { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,rgb(var(--hero-shadow,11 40 29)) 0%,rgb(var(--hero-shadow,11 40 29) / .93) 26%,rgb(var(--hero-shadow,11 40 29) / .6) 49%,transparent 78%); }
.hero-content { padding:31px 34px 35px; max-width:580px; }
.course-meta { display:flex; flex-wrap:wrap; gap:10px; align-items:center; color:var(--hero-accent,#c9e4d6); font-size:.83rem; }
.hero-code { border:1px solid #fff6; background:#fff2; color:var(--hero-accent,#e2f5bf); padding:4px 8px; border-radius:5px;
  font-size:.73rem; font-weight:750; letter-spacing:.075em; }
.hero-content h2 { font-size:clamp(2.15rem,4.1vw,3.65rem); line-height:1.08; font-weight:720; letter-spacing:-.06em; margin:11px 0 10px; }
.hero-content p { line-height:1.5; color:#d9e8e0; font-size:1rem; max-width:420px; }
.hero-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:23px; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:8px; border-radius:8px; padding:10px 14px;
  border:1px solid transparent; min-height:42px; font-weight:680; font-size:.875rem; line-height:1.3; white-space:normal; text-align:center; }
.button.primary { color:white; background:#214e3e; border-color:#214e3e; }
.button.primary:hover { background:#15392d; }
.button.lime { background:var(--lime); color:#163226; border-color:#d4ed9c; }
.button.lime:hover { background:#e7f8c3; }
.button.outline { color:#f3faf5; border-color:#d3e7da68; background:#15312655; }
.button.outline:hover { background:#345749bb; }
.button.secondary { color:#274c3d; border-color:#d6e3db; background:#fff; }
.button.secondary:hover { background:#edf6ef; }
.text-link { display:inline-flex; align-items:center; gap:6px; color:#2a5b45; background:none; border:0; padding:0;
  font-weight:690; font-size:.88rem; text-align:left; }
.text-link:hover { text-decoration:underline; text-underline-offset:4px; }
.stats-grid { margin:19px 0 25px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.stat-card { background:#fff; border:1px solid var(--line); border-radius:12px; padding:14px 16px 15px; min-width:0; }
.stat-top { display:flex; gap:9px; align-items:center; font-size:.875rem; font-weight:640; color:#456056; }
.stat-top .icon-tile { width:32px; height:32px; border-radius:8px; }
.stat-top .icon-tile svg { width:17px; height:17px; }
.stat-value { font-size:1.75rem; line-height:1.2; font-weight:750; letter-spacing:-.054em; margin:8px 0 4px; }
.stat-detail { color:#53655d; font-size:.78rem; line-height:1.42; }
.progress-bar { height:5px; background:#e8efe9; border-radius:999px; overflow:hidden; margin:6px 0; }
.progress-bar span { height:100%; display:block; background:#5e9272; border-radius:inherit; }
.dashboard-grid { display:grid; grid-template-columns:minmax(0,1.68fr) minmax(265px,1fr); align-items:start; gap:17px; }
.detail-grid { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(270px,1fr); gap:18px; align-items:start; }
.stack { display:grid; gap:16px; min-width:0; }
.panel { margin:0 0 16px; background:#fff; border:1px solid var(--line); border-radius:12px; min-width:0; }
.stack>.panel, .dashboard-grid>.panel { margin:0; }
.panel-heading { padding:16px 17px 13px; display:flex; justify-content:space-between; align-items:center; gap:12px; }
.panel-heading h2 { font-size:1.19rem; line-height:1.23; font-weight:735; }
.panel-heading p { margin-top:5px; color:var(--muted); font-size:.84rem; line-height:1.4; }
.panel-heading>.text-link { white-space:nowrap; }
.icon-tile { display:inline-grid; place-items:center; width:39px; height:39px; border-radius:9px; flex:none; }
.tone-mint { background:#e5f1e7; color:#296344; }
.tone-blue { background:#e5eef8; color:#305b91; }
.tone-amber { background:#f7edd8; color:#8b601e; }
.tone-lilac { background:#efe8f8; color:#6d4e97; }
.tone-rose { background:#f8e8eb; color:#9b4a5f; }
.tone-gray { background:#eff3f1; color:#485c53; }
.line-row { display:flex; align-items:center; gap:11px; min-height:65px; padding:10px 16px; border-top:1px solid #edf1ee; }
.line-row:hover { background:#f5faf6; }
.line-row:last-child { border-radius:0 0 11px 11px; }
.line-label { display:grid; gap:5px; min-width:0; overflow-wrap:anywhere; flex:1; }
.line-label strong { color:#24372d; font-size:.935rem; line-height:1.2; font-weight:690; }
.line-label small { display:block; color:#596c61; font-size:.79rem; line-height:1.25; }
.row-chevron { color:#71857b; flex:none; }
.module-count { color:#587065; font-size:.75rem; white-space:nowrap; }
.pill { display:inline-block; padding:5px 8px; border-radius:6px; font-size:.76rem; font-weight:720; width:max-content; white-space:nowrap; }
.announcement-small { display:flex; gap:10px; padding:1px 17px 18px; }
.announcement-icon { color:#4b7b62; padding-top:1px; }
.announcement-small strong { font-size:.91rem; }
.announcement-small p { color:#53645f; font-size:.8125rem; line-height:1.48; margin-top:4px; overflow-wrap:anywhere; }
.empty { padding:25px 20px 33px; text-align:center; color:#5a6e64; }
.empty h3 { color:#263c30; font-size:1.06rem; margin:11px 0 5px; }
.empty p { font-size:.9rem; line-height:1.5; }
.quiet { padding:8px 17px 17px; color:#5b6b63; font-size:.91rem; line-height:1.55; }
.course-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:19px; margin-bottom:18px; }
.course-card { border:1px solid var(--line); border-radius:13px; overflow:hidden; background:#fff; display:flex; flex-direction:column; }
.course-card:only-child { max-width:540px; }
.card-art { height:146px; background:#143828 url('/assets/cradle.webp?v=2') center 48% / cover; }
.course-card-body { padding:18px; display:flex; align-items:start; flex-direction:column; flex:1; }
.course-card-body>.button { margin-top:auto; }
.course-card-body .pill + .pill { margin-left:6px; }
.course-card h2 { margin:9px 0 6px; font-weight:730; }
.course-card p { margin-bottom:15px; color:var(--muted); line-height:1.55; }
.course-strip { display:flex; flex-wrap:wrap; align-items:center; gap:11px 20px; margin:-6px 0 20px; color:#52645b; font-size:.85rem; }
.back-link { margin-bottom:12px; }
.back-link .text-link { font-size:.83rem; }
.sequence-part .line-row:not(:first-child) { padding-left:41px; background:#fbfcfb; }
.sequence-part .line-row:not(:first-child):hover { background:#edf5ef; }
.sequence-part .line-row:last-child { border-radius:0; }
.prose { padding:0 18px 17px; font-size:.99rem; line-height:1.62; overflow-wrap:anywhere; }
.prose p { white-space:pre-wrap; }
.prose p + p { margin-top:12px; }
.prose h3 { font-size:1.02rem; margin:16px 0 4px; }
.prose ol { padding-left:22px; }
.prose li + li { margin-top:5px; }
.callout { padding:13px 15px; border-radius:8px; border:1px solid #d5e7db; background:#edf6ee; color:#254f3c; margin:0 0 16px; }
.callout p { line-height:1.5; margin-top:3px; }
.result-banner { display:flex; justify-content:space-between; gap:10px; align-items:center; }
.video-placeholder { display:flex; align-items:center; gap:10px; color:#4d6056; font-size:.9rem; }
.video-placeholder strong { color:#294235; }
.video-placeholder p { margin-top:2px; line-height:1.45; }
.video-player { width:100%; aspect-ratio:16 / 9; background:#122e24; border:0; border-radius:9px; }
.resource-row { display:flex; align-items:center; gap:11px; padding:10px 16px; border-top:1px solid #edf1ee; min-height:60px; }
.resource-row>div:nth-child(2) { flex:1; min-width:0; overflow-wrap:anywhere; }
.resource-row strong { display:block; color:#24392f; font-size:.92rem; }
.resource-row small { display:block; margin-top:4px; color:#5e7166; font-size:.79rem; line-height:1.38; }
.resource-action { flex:none; }
.end-actions { display:flex; justify-content:flex-end; margin-top:0; }
.tabs,.login-tabs { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:17px; }
.tab { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:40px; border:1px solid #dde7df; color:#496155;
  border-radius:8px; background:#fff; padding:8px 13px; font-weight:650; font-size:.88rem; }
.tab:hover { background:#edf4ee; }
.tab.active { background:#e2eee4; border-color:#bdd4c3; color:#24543b; }
.stack-form { display:grid; gap:13px; align-items:start; padding:0 17px 17px; }
.stack-form>.button { justify-self:start; }
.field { display:grid; gap:6px; min-width:0; }
.field>span { color:#263d32; font-size:.865rem; font-weight:650; }
.field input,.field textarea,.field select,.search-input { border:1px solid #cbdad0; background:#fff; border-radius:7px; width:100%;
  color:#1f3329; padding:9px 10px; min-height:41px; font-size:.94rem; }
.field input::placeholder,.field textarea::placeholder,.search-input::placeholder { color:#65756d; }
.field textarea { min-height:100px; resize:vertical; }
.field select { appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23354f43' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 10px center; padding-right:36px; }
.field-help { font-size:.79rem; color:var(--muted); line-height:1.5; }
.form-error { color:#9f3933; font-size:.88rem; line-height:1.4; }
.form-disclosure { background:#fff; border:1px solid var(--line); border-radius:9px; margin-bottom:16px; max-width:680px; }
.panel>.form-disclosure { margin:0 16px 16px; }
.form-disclosure summary { padding:11px 16px; font-weight:680; font-size:.9rem; cursor:pointer; color:#315c46; }
.form-disclosure[open] summary { padding-bottom:15px; }
.question { min-width:0; margin:0; padding:10px 0 20px; border:0; border-bottom:1px solid var(--line); }
.question legend { width:100%; padding:0; font-weight:690; color:#18382a; }
.question legend span { display:inline-grid; place-items:center; min-width:28px; height:28px; border-radius:7px; margin-right:8px; background:#e6f2e7; color:#295d43; }
.option { display:flex; align-items:flex-start; gap:9px; color:#2c4337; font-size:.94rem; line-height:1.45; padding:6px 0; }
.option input { accent-color:#397257; min-width:16px; min-height:16px; margin:2px 0 0; }
.quiz-panel { padding:21px 20px 1px; max-width:900px; }
.quiz-panel .stack-form { padding:0 0 17px; }
.quiz-feedback { padding:9px 11px; border-radius:7px; margin:6px 0; background:#fbf0df; color:#7b4d14; font-size:.88rem; line-height:1.5; }
.quiz-feedback.correct { background:#e6f2e7; color:#306145; }
.quiz-feedback p { margin-top:4px; }
.reference-links,.author-links,.link-list { display:flex; flex-wrap:wrap; gap:9px; padding:0 17px 17px; }
.link-list { flex-direction:column; }
.announcement-entry { padding:13px 17px 16px; border-top:1px solid #edf1ee; overflow-wrap:anywhere; }
.announcement-entry h3 { font-size:1rem; }
.announcement-entry small { color:var(--muted); font-size:.79rem; }
.announcement-entry p { margin-top:8px; color:#415b4e; font-size:.95rem; line-height:1.6; white-space:pre-wrap; }
.table-wrap { overflow-x:auto; }
table { border-collapse:collapse; width:100%; font-size:.875rem; text-align:left; }
th,td { padding:10px 15px; border-top:1px solid #e8eee9; }
th { color:#39584a; background:#f4f8f5; }
td { overflow-wrap:anywhere; }
.review-entry { border-top:1px solid var(--line); }
.review-entry>summary { list-style:none; display:flex; gap:14px; justify-content:space-between; align-items:center; font-weight:680;
  padding:12px 17px; cursor:pointer; }
.review-entry>summary:focus-visible { outline-offset:-4px; }
.review-entry small { display:block; margin-top:4px; font-size:.78rem; color:var(--muted); font-weight:500; }
.review-body { display:grid; gap:10px; background:#f8faf8; padding:9px 17px 0; }
.review-body p { white-space:pre-wrap; overflow-wrap:anywhere; }
.review-body .stack-form { padding-left:0; padding-right:0; max-width:700px; }
.login-layout { display:grid; grid-template-columns:minmax(350px,1fr) minmax(420px,.83fr); min-height:100vh; background:white; }
.login-visual { padding:33px; color:white; min-height:100%; display:flex; flex-direction:column; justify-content:space-between; isolation:isolate;
  position:relative; background:#112c22 url('/assets/cradle.webp') 65% center / cover no-repeat; }
.login-visual::before { position:absolute; inset:0; z-index:-1; content:""; background:linear-gradient(180deg,#0f2d20a3,#0d28184d 49%,#0b251bef 100%); }
.login-visual-copy { padding:10px 0 36px; max-width:460px; }
.login-visual-copy h1 { font-size:clamp(2.65rem,5vw,5rem); font-weight:740; line-height:1; margin:13px 0; letter-spacing:-.065em; }
.login-visual-copy p { font-size:1rem; color:#d2e4da; line-height:1.5; }
.login-main { display:grid; place-items:center; padding:32px 24px; }
.login-inner { width:min(420px,100%); }
.login-inner h1 { font-size:2.5rem; letter-spacing:-.057em; }
.login-inner>p { color:var(--muted); line-height:1.5; margin:8px 0 21px; }
.login-inner .stack-form { padding:0; }
.login-inner .stack-form>.button { width:100%; margin-top:4px; }
.login-tabs .tab { flex:1; }
.login-demo { border-top:1px solid var(--line); margin-top:23px; padding-top:16px; display:flex; flex-wrap:wrap; gap:8px; }
.login-demo p { font-weight:660; width:100%; color:var(--muted); font-size:.86rem; }
.login-demo .button { font-size:.8rem; }
.login-inner>.text-link { margin-top:12px; }
.splash { min-height:95vh; display:grid; place-content:center; justify-items:center; gap:10px; padding:20px; text-align:center; background:var(--page); }
.splash span { font-weight:730; }
.splash p { color:var(--muted); }
.toast { position:fixed; z-index:20; bottom:22px; right:22px; max-width:calc(100vw - 44px); background:#173e2e; color:#fff; padding:12px 17px;
  font-size:.9rem; border:1px solid #6b9582; border-radius:9px; box-shadow:0 8px 35px #0d2f2233; }
dialog { border:1px solid var(--line); border-radius:13px; padding:0; width:min(560px,calc(100vw - 30px)); max-height:83vh; color:var(--ink); }
dialog::backdrop { background:#0b2318ad; }
.dialog-heading { display:flex; justify-content:space-between; align-items:center; gap:8px; padding:11px 15px 11px 17px; border-bottom:1px solid #e9eeea; }
.dialog-heading h2 { font-size:1.25rem; }
.dialog-content { padding:12px 0; }
.dialog-content .search-input { margin:0 16px 10px; width:calc(100% - 32px); }
.mobile-backdrop { display:none; }
@media (min-width:1450px) {
  .topbar { padding-inline:45px; }
  .content { padding-inline:45px; }
  .hero { min-height:305px; }
}
@media (max-width:1100px) {
  :root { --side:218px; }
  .content,.topbar { padding-inline:24px; }
  .module-count { display:none; }
  .top-actions { gap:8px; }
  .course-switcher { max-width:185px; }
}
@media (max-width:860px) {
  .sidebar { transform:translateX(-100%); transition:transform .2s ease; }
  .sidebar.open { transform:translateX(0); }
  .workspace { margin-left:0; }
  .menu-toggle { display:grid; }
  .topbar { justify-content:flex-start; gap:8px; }
  .top-actions { margin-left:auto; }
  .mobile-backdrop { display:block; position:fixed; inset:0; z-index:3; border:0; background:#0c261a88; }
}
@media (max-width:630px) {
  .topbar,.content { padding-inline:14px; }
  .topbar { min-height:59px; }
  .content { padding-top:22px; }
  .breadcrumbs>span,.breadcrumbs>svg,.header-bell { display:none; }
  .top-actions { gap:8px; }
  .course-switcher { width:clamp(95px,39vw,175px); font-size:.78rem; padding-left:7px; }
  .breadcrumbs strong { white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
  .breadcrumbs { min-width:0; }
  .course-cards { grid-template-columns:1fr; }
  .search-button { min-width:0; padding:8px; font-size:0; gap:0; }
  .page-heading { align-items:flex-start; flex-direction:column; gap:10px; margin-bottom:17px; }
  .page-heading .today { font-size:.78rem; }
  .hero { min-height:254px; background-size:auto 100%; background-position:68% center; }
  .hero::before { background:linear-gradient(90deg,#0c291eea 5%,#0d2b1fdc 38%,#0b261a4a 76%); }
  .hero-content { padding:22px 16px; }
  .hero-content h2 { font-size:2.05rem; }
  .hero-content p { font-size:.92rem; }
  .hero-actions { margin-top:15px; }
  .stats-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:11px 0 17px; }
  .stat-card { padding:10px; }
  .stat-card:first-child { grid-column:1/-1; }
  .stat-top { font-size:.8rem; gap:6px; }
  .stat-value { font-size:1.4rem; }
  .stat-detail { font-size:.75rem; }
  .dashboard-grid,.detail-grid { grid-template-columns:1fr; gap:13px; }
  .resource-row { flex-wrap:wrap; }
  .resource-action { margin-left:50px; }
  .login-layout { display:flex; flex-direction:column; }
  .login-visual { min-height:245px; padding:18px; gap:35px; }
  .login-visual-copy { padding-bottom:0; }
  .login-visual-copy h1 { font-size:2.3rem; }
  .login-main { padding:26px 16px; }
  .login-inner h1 { font-size:1.9rem; }
  .login-demo .button { flex:1; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; transition:none !important; }
}
.page-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.mla-entry { margin:.45em 0; padding-left:.5in; text-indent:-.5in; overflow-wrap:anywhere; }
.mla-entry cite { font-style:italic; }
.mla-entry a { color:inherit; text-decoration:underline; }
.source-details { margin-top:5px; font-size:.82rem; color:var(--muted); }
.source-details summary { cursor:pointer; text-decoration:underline; text-underline-offset:2px; }
.source-details .mla-entry { margin:.35rem 0 .1rem; font-size:.85rem; }
.textbook-record .reference-links { padding:8px 0 0; }
.reading-block h3 { font-size:1rem; }
.print-heading { display:none; }

@media print {
  @page {
    size:letter;
    margin:1in;
    @top-right { content:counter(page); font:12pt "Times New Roman", serif; }
  }
  body { color:#000; background:#fff; }
  .sidebar,.topbar,.mobile-backdrop,.toast,.skip { display:none !important; }
  .workspace { margin:0; min-height:0; }
  .mla-print { padding:0; max-width:none; font:12pt/2 "Times New Roman", serif; color:#000; }
  .mla-print .back-link,.mla-print .no-print,.mla-print .button,.mla-print .page-actions,
  .mla-print .text-link,.mla-print .source-details summary,.mla-print .resource-action,
  .mla-print .end-actions,.mla-print .form-error,.mla-print .pill { display:none !important; }
  .mla-print .print-heading { display:block; }
  .mla-print .page-heading { display:block; margin:0 0 .2in; text-align:center; }
  .mla-print h1,.mla-print h2,.mla-print h3 { font-size:12pt; line-height:2; letter-spacing:normal; }
  .mla-print .page-heading h1 { font-weight:normal; }
  .mla-print .page-heading p,.mla-print .panel-heading p { color:#000; font-size:12pt; }
  .mla-print .detail-grid,.mla-print .stack,.mla-print .panel-heading,.mla-print .resource-row { display:block; }
  .mla-print .panel { border:0; box-shadow:none; background:none; margin:0 0 .17in; }
  .mla-print .panel-heading,.mla-print .prose,.mla-print .resource-row,.mla-print .stack-form,
  .mla-print .quiz-panel,.mla-print .callout,.mla-print .question { padding:0; }
  .mla-print .callout,.mla-print .quiz-feedback { background:none; color:#000; border:0; }
  .mla-print .prose,.mla-print .prose p,.mla-print li,.mla-print .option,
  .mla-print .field-help,.mla-print .resource-row small,.mla-print .source-details .mla-entry { font:12pt/2 "Times New Roman", serif; }
  .mla-print .prose p:not(.mla-entry) { text-indent:.5in; }
  .mla-print .resource-row,.mla-print .question,.mla-print .mla-entry { break-inside:avoid; }
  .mla-print h2,.mla-print h3 { break-after:avoid; }
  .mla-print .icon-tile,.mla-print .quiz-panel legend span { background:none; }
  .mla-print .resource-row .icon-tile { display:none; }
}

